CN112399523B - URSP checking method and device - Google Patents
URSP checking method and device Download PDFInfo
- Publication number
- CN112399523B CN112399523B CN202011384267.7A CN202011384267A CN112399523B CN 112399523 B CN112399523 B CN 112399523B CN 202011384267 A CN202011384267 A CN 202011384267A CN 112399523 B CN112399523 B CN 112399523B
- Authority
- CN
- China
- Prior art keywords
- ursp
- original
- target
- smf
- terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012795 verification Methods 0.000 claims description 70
- 230000006870 function Effects 0.000 claims description 39
- 230000004044 response Effects 0.000 claims description 30
- 238000005192 partition Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 24
- 238000012544 monitoring process Methods 0.000 abstract description 2
- 238000007726 management method Methods 0.000 description 16
- 230000008569 process Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/30—Routing of multiclass traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种URSP核查方法及装置。The invention relates to the field of communication technology, in particular to a URSP checking method and device.
背景技术Background technique
在第三代合作伙伴计划(the 3rd generation partnership project,3GPP)R15阶段,第五代(the 5th generation,5G)核心网已经具备针对部分终端及业务的策略配置方案,并定义了终端路由选择策略(user equipment routing selection policy,URSP)。核心网设备通过URSP策略,进一步细化了对终端业务会话的控制。In the 3rd generation partnership project (3GPP) R15 stage, the 5th generation (5G) core network already has policy configuration solutions for some terminals and services, and defines terminal routing selection strategies (user equipment routing selection policy, URSP). Core network equipment further refines the control of terminal service sessions through URSP policies.
但由于终端的种类很多,不同终端间的能力可能存在较大的差异,一部分终端可能无法正确执行网络下发的URSP。在这种情况下,如何监控终端是否正确的执行核心网设备下发的URSP,是目前亟需解决的技术问题。However, since there are many types of terminals, the capabilities of different terminals may vary greatly, and some terminals may not be able to correctly execute the URSP issued by the network. In this case, how to monitor whether the terminal correctly executes the URSP issued by the core network device is a technical problem that needs to be solved urgently.
发明内容Contents of the invention
本申请提供一种URSP核查方法及装置,解决了现有技术无法监控终端是否正确的执行核心网设备下发的URSP的技术问题。The present application provides a URSP verification method and device, which solves the technical problem in the prior art that it is impossible to monitor whether a terminal is correctly executing the URSP issued by the core network equipment.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种URSP核查方法,应用于PCF设备,包括:PCF设备接收来自SMF设备的URSP核查请求;由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备确定与PSI对应的目标URSP,并根据目标URSP,核查原始URSP。In the first aspect, a URSP verification method is provided, which is applied to a PCF device, including: the PCF device receives the URSP verification request from the SMF device; since the URSP verification request includes: the original PDU session establishment request carried by the terminal to the original SMF device The URSP and the PSI of the original URSP, therefore, the PCF device determines the target URSP corresponding to the PSI, and checks the original URSP according to the target URSP.
可以看出,终端向原始SMF设备发送PDU会话建立请求中携带有原始URSP和原始URSP的PSI,原始SMF设备与终端建立PDU会话前,先向PCF设备发送URSP核查请求。由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备确定与PSI对应的目标URSP,并根据目标URSP,核查原始URSP,解决了现有技术无法监控终端是否正确的执行核心网设备下发的URSP的技术问题,保证了终端业务的可靠性和可控性。It can be seen that the PDU session establishment request sent by the terminal to the original SMF device carries the original URSP and the PSI of the original URSP, and the original SMF device sends a URSP verification request to the PCF device before establishing a PDU session with the terminal. Since the URSP verification request includes: the original URSP and the PSI of the original URSP carried when the terminal sends the PDU session establishment request to the original SMF device, the PCF device determines the target URSP corresponding to the PSI, and checks the original URSP according to the target URSP to solve the problem. It solves the technical problem that the existing technology cannot monitor whether the terminal correctly executes the URSP issued by the core network equipment, and ensures the reliability and controllability of the terminal service.
第二方面,提供一种URSP核查装置,应用于PCF设备,包括:接收单元、确定单元和核查单元。接收单元,用于接收来自原始会话管理功能SMF设备的终端路由选择策略URSP核查请求。URSP核查请求包括:终端向原始SMF设备发送协议数据单元PDU会话建立请求时携带的原始URSP和原始URSP的策略分区标识PSI。确定单元,用于确定与接收单元接收的PSI对应的目标URSP。处理单元,用于根据确定单元确定的目标URSP,核查原始URSP。In a second aspect, a URSP checking device is provided, which is applied to PCF equipment, and includes: a receiving unit, a determining unit, and a checking unit. The receiving unit is configured to receive the terminal routing selection policy URSP verification request from the original session management function SMF device. The URSP verification request includes: the original URSP carried when the terminal sends the protocol data unit PDU session establishment request to the original SMF device and the policy partition identifier PSI of the original URSP. A determining unit, configured to determine a target URSP corresponding to the PSI received by the receiving unit. The processing unit is configured to check the original URSP according to the target URSP determined by the determining unit.
第三方面,提供一种URSP核查装置,包括存储器和处理器。存储器用于存储计算机执行指令,处理器与存储器通过总线连接。当URSP核查装置运行时,处理器执行存储器存储的计算机执行指令,以使URSP核查装置执行第一方面所述的URSP核查方法。In a third aspect, a URSP verification device is provided, including a memory and a processor. The memory is used to store instructions executed by the computer, and the processor and the memory are connected through a bus. When the URSP verification device is running, the processor executes the computer-executable instructions stored in the memory, so that the URSP verification device executes the URSP verification method described in the first aspect.
该URSP核查装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,接收、确定、分流上述URSP核查方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The URSP verification device may be a network device, or a part of the network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, receiving, determining, and distributing the data and/or information involved in the above-mentioned URSP verification method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面所述的URSP核查方法。In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are run on a computer, the computer is made to execute the URSP verification method described in the first aspect.
第五方面,提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在计算机上运行时,使得计算机执行如上述第一方面及其各种可能的实现方式所述的URSP核查方法。In the fifth aspect, a computer program product is provided, the computer program product includes computer instructions, and when the computer instructions are run on the computer, the computer is made to execute the URSP verification method as described in the above first aspect and its various possible implementations .
需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与URSP核查装置的处理器封装在一起的,也可以与URSP核查装置的处理器单独封装,本申请对此不作限定。It should be noted that all or part of the above computer instructions may be stored on the first computer-readable storage medium. Wherein, the first computer-readable storage medium may be packaged together with the processor of the URSP verification device, or may be separately packaged with the processor of the URSP verification device, which is not limited in this application.
本发明中第二方面、第三方面、第四方面以及第五方面的描述,可以参考第一方面的详细描述;并且,第二方面、第三方面、第四方面以及第五方面的描述的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect of the present invention, you can refer to the detailed description of the first aspect; and, the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect For the beneficial effect, reference may be made to the analysis of the beneficial effect in the first aspect, which will not be repeated here.
在本申请中,上述URSP核查装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本发明类似,属于本发明权利要求及其等同技术的范围之内。In this application, the names of the above-mentioned URSP verification devices do not limit the equipment or functional modules themselves. In actual implementation, these equipment or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present invention, they fall within the scope of the claims of the present invention and their equivalent technologies.
本发明的这些方面或其他方面在以下的描述中会更加简明易懂。These and other aspects of the invention will be more clearly understood in the following description.
附图说明Description of drawings
图1为本申请实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2为本申请实施例提供的一种URSP核查装置的硬件结构示意图;Fig. 2 is a schematic diagram of the hardware structure of a URSP verification device provided by the embodiment of the present application;
图3为本申请实施例提供的又一种URSP核查装置的硬件结构示意图;Fig. 3 is a schematic diagram of the hardware structure of another URSP verification device provided by the embodiment of the present application;
图4为本申请实施例提供的一种URSP核查方法的流程示意图;Fig. 4 is a schematic flow chart of a URSP checking method provided by the embodiment of the present application;
图5为本申请实施例提供的一种URSP核查装置的结构示意图。Fig. 5 is a schematic structural diagram of a URSP verification device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and functions. Personnel can understand that words such as "first" and "second" are not limiting the quantity and execution order.
为了便于理解本申请,现对本申请实施例涉及到的相关概念进行描述。In order to facilitate understanding of the present application, related concepts involved in the embodiments of the present application are now described.
接入和移动性管理功能(access and mobility management function,AMF)设备Access and mobility management function (AMF) equipment
AMF设备是第五代移动通信技术(5th generation mobile networks,5G)核心网中的设备,主要用于实现注册管理、连接管理、移动性管理、用户可及性管理、参与鉴权和授权相关的管理等控制面的管理功能。The AMF device is a device in the core network of the fifth generation mobile networks (5G), and is mainly used to implement registration management, connection management, mobility management, user accessibility management, participation in authentication and authorization. Management functions of the control plane such as management.
本申请实施例中,第一核心网设备可以是第一核心网中的第一AMF设备,第二核心网设备可以是第二核心网中的第二AMF设备。In this embodiment of the present application, the first core network device may be a first AMF device in the first core network, and the second core network device may be a second AMF device in the second core network.
为了便于描述,本申请实施例以第一核心网设备为第一AMF设备,第二核心网设备为第二AMF设备为例进行说明。For ease of description, the embodiment of the present application takes the first core network device as the first AMF device and the second core network device as the second AMF device as an example for description.
会话管理功能(session management function,SMF)设备Session management function (SMF) device
SMF设备是5G核心网中的设备,主要负责会话管理相关工作,包括建立、修改、释放等,具体功能包括会话建立过程中的网际互连协议(internet protocol,IP)地址分配、选择和控制用户面、配置业务路由和上行流量引导、确定会话和服务连续模式、配置用户端口功能设备的服务质量(quality of service,QOS)策略等。The SMF device is a device in the 5G core network. It is mainly responsible for session management related work, including establishment, modification, release, etc. The specific functions include Internet Protocol (IP) address allocation, selection and control of users during session establishment. face, configure service routing and uplink traffic guidance, determine session and service continuity modes, configure user port function equipment quality of service (quality of service, QOS) policies, etc.
策略控制功能(policy control function,PCF)设备Policy control function (PCF) device
PCF设备是5G核心网中的设备,主要用于获取用户终端签约的策略信息,并将该策略信息下发到AMF设备和SMF设备中。The PCF device is a device in the 5G core network. It is mainly used to obtain the policy information signed by the user terminal and deliver the policy information to the AMF device and the SMF device.
终端路由选择策略(user equipment routing selection policy,URSP)Terminal routing selection policy (user equipment routing selection policy, URSP)
3GPP在5G核心网的框架内定义了URSP机制,核心网设备通过URSP可以进一步细化对终端的业务会话的控制。一个标准的URSP通过流量描述符(Traffic Descriptor)标记一个特定业务类型,对应的策略规则定义如表1所示。3GPP defines the URSP mechanism within the framework of the 5G core network. Through URSP, core network devices can further refine the control of terminal service sessions. A standard URSP marks a specific service type through a traffic descriptor (Traffic Descriptor), and the corresponding policy rules are defined as shown in Table 1.
表1Table 1
URSP中的路由选择描述符列表的内容定义如表2所示。The content definition of the routing descriptor list in URSP is shown in Table 2.
表2Table 2
在实际的应用中,PCF设备以每个终端的粒度进行URSP的签约,并在终端注册到5G网络的过程中,通过UE策略控制流程将对应该终端的URSP下发给该终端。终端接收到对应的URSP后,在操作系统层面进行URSP的存储和激活,当终端使用URSP中匹配到对应流量描述符的业务时,终端将适配对应的URSP,并在后续的业务会话建立请求中携带对应的会话控制相关的标识。In practical applications, the PCF device signs the URSP at the granularity of each terminal, and sends the URSP corresponding to the terminal to the terminal through the UE policy control process when the terminal is registered to the 5G network. After receiving the corresponding URSP, the terminal stores and activates the URSP at the operating system level. When the terminal uses the service that matches the corresponding traffic descriptor in the URSP, the terminal will adapt the corresponding URSP and request for subsequent service session establishment. Carry the corresponding identifier related to session control.
示例性的,PCF设备为终端的第一业务签约了一条URSP,流量描述符匹配的标准为IP地址,假设第一业务对应的服务器的IP地址为1.1.1.1。当终端发起第一业务访问目的地址1.1.1.1时,终端判断需要匹配并执行IP描述符配置目的地址为1.1.1.1的URSP,则终端在后续业务会话建立请求中携带对应该URSP中配置的路由选择描述符列表中指定的参数取值(如S-NSSAI=00000001,DNN=5gnet等)。Exemplarily, the PCF device signs a URSP for the first service of the terminal, and the standard for matching the flow descriptor is an IP address. It is assumed that the IP address of the server corresponding to the first service is 1.1.1.1. When the terminal initiates the first service to access the destination address 1.1.1.1, the terminal judges that it needs to match and execute the IP descriptor to configure the URSP whose destination address is 1.1.1.1, then the terminal carries the route corresponding to the route configured in the URSP in the subsequent service session establishment request Select the parameter value specified in the descriptor list (such as S-NSSAI=00000001, DNN=5gnet, etc.).
如背景技术所描述,由于终端的种类很多,不同终端间的能力可能存在较大的差异,一部分终端可能无法正确执行网络下发的URSP。在这种情况下,如何监控终端是否正确的执行核心网设备下发的URSP,是目前亟需解决的技术问题。As described in the background, since there are many types of terminals, the capabilities of different terminals may vary greatly, and some terminals may not be able to correctly execute the URSP issued by the network. In this case, how to monitor whether the terminal correctly executes the URSP issued by the core network device is a technical problem that needs to be solved urgently.
在如何监控终端是否正确的执行核心网设备下发的URSP时,首先确定3GPP所定义的标准的PCF设备向终端下发URSP的流程包括S1-S4。When how to monitor whether the terminal correctly executes the URSP delivered by the core network equipment, it is first determined that the process of delivering the URSP to the terminal by the standard PCF equipment defined by 3GPP includes S1-S4.
S1、终端向AMF设备发送注册请求。S1. The terminal sends a registration request to the AMF device.
S2、AMF设备向PCF设备请求URSP。S2. The AMF device requests the URSP from the PCF device.
S3、PCF设备向AMF设备下发对应该终端的URSP。S3. The PCF device delivers the URSP corresponding to the terminal to the AMF device.
S4、AMF设备向终端转发PCF设备下发的URSP。S4. The AMF device forwards the URSP issued by the PCF device to the terminal.
在URSP下发流程结束后,终端与AMF设备建立PDI会话的流程包括S5-S7。After the URSP sending process ends, the process of establishing a PDI session between the terminal and the AMF device includes S5-S7.
S5、终端向AMF设备发送PDU会话建立请求,请求中包含URSP中路由选择描述符列表所指定的DNN和S-NSSAI,以及N1 SM信息(通过N1接口传送的会话管理相关),其中包含PDU会话建立请求,PDU会话建立请求中包含URSP中路由选择描述符所指定的所有参数取值(DNN/S-NSSAI/SSC Mode/etc)。S5. The terminal sends a PDU session establishment request to the AMF device. The request includes the DNN and S-NSSAI specified in the routing descriptor list in the URSP, and N1 SM information (related to session management transmitted through the N1 interface), which includes the PDU session Establishment request, the PDU session establishment request includes all parameter values (DNN/S-NSSAI/SSC Mode/etc) specified by the routing descriptor in URSP.
S6、AMF设备将N1 SM信息透传(即只转发,不解析)给SMF设备,同时将终端在注册请求中携带的DNN和S-NSSAI转发给SMF设备。S6. The AMF device transparently transmits (that is, only forwards but does not parse) the N1 SM information to the SMF device, and at the same time forwards the DNN and S-NSSAI carried in the registration request of the terminal to the SMF device.
S7、SMF设备根据N1 SM信息中PDU会话建立请求所携带的会话控制参数(PDU会话类型/SSC Mode)以及AMF设备转发的终端注册请求中携带的DNN/S-NSSAI完成后续PDU会话的建立,其中包括向PCF设备请求会话管理相关策略信息。需要说明的是,会话管理策略和终端路由选择策略属于不同的策略类型,彼此所实现的功能和包含的内容均不相同。S7. The SMF device completes the establishment of subsequent PDU sessions according to the session control parameter (PDU session type/SSC Mode) carried in the PDU session establishment request in the N1 SM information and the DNN/S-NSSAI carried in the terminal registration request forwarded by the AMF device, This includes requesting policy information related to session management from the PCF device. It should be noted that the session management policy and the terminal routing selection policy belong to different policy types, and the functions implemented and included contents are different from each other.
由上可知,URSP下发所涉及的节点主要包括终端、AMF设备、PCF设备,后续的PDU会话建立流程主要涉及的节点包括终端、AMF设备、SMF设备、PCF设备。因此,在如何监控终端是否正确的执行核心网设备下发的URSP时,URSP执行情况核查的能力存在几个潜在的执行点,即:AMF设备,或SMF设备,或PCF设备。It can be seen from the above that the nodes involved in URSP delivery mainly include terminals, AMF devices, and PCF devices, and the subsequent PDU session establishment process mainly involves nodes including terminals, AMF devices, SMF devices, and PCF devices. Therefore, when monitoring whether the terminal correctly executes the URSP delivered by the core network device, there are several potential execution points for the ability to check the URSP execution status, namely: AMF device, SMF device, or PCF device.
对于AMF设备而言,由于在PDU会话建立过程中AMF设备不会解析N1 SM信息中的内容,因此AMF设备无法获得完整的URSP参数内容,AMF设备无法作为核查的执行点。For the AMF device, because the AMF device will not parse the content of the N1 SM information during the establishment of the PDU session, the AMF device cannot obtain the complete URSP parameter content, and the AMF device cannot be used as the execution point for verification.
对于SMF设备而言,由于URSP下发过程不经过SMF,而单个终端所建立的多个PDU会话可能通过不同的SMF设备进行建立,无法事先知道应该在哪个SMF设备进行URSP的存储(用于后续的比对核查),因此SMF设备也无法作为核查的执行点。For SMF devices, since the URSP delivery process does not go through SMF, and multiple PDU sessions established by a single terminal may be established through different SMF devices, it is impossible to know in advance which SMF device should store the URSP (for subsequent comparison verification), so the SMF device cannot be used as the execution point of the verification.
对于PCF设备而言,PCF本身存储了终端全量的URSP规则信息,现有3GPP定义的标准机制可以确保终端在注册过程和PDU会话建立过程中AMF设备和SMF设备所选择的是同一个PCF设备,同时在存在PCF设备的情况下,PDU会话建立过程中SMF设备必定会和PCF设备交互以获取会话管理相关策略,可重用已有流程进行终端所请求参数向PCF设备的上报。For the PCF device, the PCF itself stores the full amount of URSP rule information of the terminal. The standard mechanism defined by the existing 3GPP can ensure that the AMF device and the SMF device select the same PCF device during the registration process and the PDU session establishment process of the terminal. At the same time, when there is a PCF device, the SMF device must interact with the PCF device to obtain session management related policies during the PDU session establishment process, and the existing process can be reused to report the parameters requested by the terminal to the PCF device.
因此,针对上述问题,本申请实施例提供了一种URSP核查方法,包括:终端向原始SMF设备发送PDU会话建立请求中携带有原始URSP和原始URSP的PSI,原始SMF设备与终端建立PDU会话前,先向PCF设备发送URSP核查请求。由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备确定与PSI对应的目标URSP,并根据目标URSP,核查原始URSP,解决了现有技术无法监控终端是否正确的执行核心网设备下发的URSP的技术问题,保证了终端业务的可靠性和可控性。Therefore, in response to the above problems, the embodiment of the present application provides a URSP verification method, including: the terminal sends a PDU session establishment request to the original SMF device to carry the original URSP and the PSI of the original URSP, and the original SMF device establishes a PDU session with the terminal before , first send a URSP verification request to the PCF device. Since the URSP verification request includes: the original URSP and the PSI of the original URSP carried when the terminal sends the PDU session establishment request to the original SMF device, the PCF device determines the target URSP corresponding to the PSI, and checks the original URSP according to the target URSP to solve the problem. It solves the technical problem that the existing technology cannot monitor whether the terminal correctly executes the URSP issued by the core network equipment, and ensures the reliability and controllability of the terminal service.
本申请实施例提供的URSP核查方法适用于通信系统10。图1示出了该通信系统10的一种结构。如图1所示,该通信系统10包括:终端11、AMF设备12、SMF设备13和PCF设备14。The URSP verification method provided in the embodiment of the present application is applicable to the
其中,终端11通过N1接口与AMF设备12连接;AMF设备12通过N11接口与SMF设备13连接;SMF设备13通过N7接口与PCF设备14连接;AMF设备12通过N15接口与PCF设备14连接。Wherein, terminal 11 is connected with AMF device 12 through N1 interface; AMF device 12 is connected with SMF device 13 through N11 interface; SMF device 13 is connected with PCF device 14 through N7 interface; AMF device 12 is connected with PCF device 14 through N15 interface.
上述N1接口、N11接口、N7接口和N15接口均为3GPP定义的标准接口。The above N1 interface, N11 interface, N7 interface and N15 interface are all standard interfaces defined by 3GPP.
本申请实施例中的终端11可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信。无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据,例如,手机、平板电脑、笔记本电脑、上网本、个人数字助理(Personal DigitalAssistant,PDA)。The terminal 11 in the embodiment of the present application may be a device that provides voice and/or data connectivity to users, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (Radio Access Network, RAN). Wireless terminals can be mobile terminals, such as mobile phones (or "cellular" phones) and computers with mobile terminals, and can also be portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which are connected to wireless terminals. Access to a network to exchange language and/or data, for example, mobile phones, tablet computers, notebook computers, netbooks, personal digital assistants (Personal Digital Assistant, PDA).
需要说明的是,本申请实施例还可以应用在其他移动通信技术的通信系统中,例如第四代移动通信技术(4th generation mobile networks,4G)。当本申请实施例应用在其他移动通信技术的通信系统时,上述5G核心网的设备可以是其他移动通信技术的通信系统中的具有相同功能的核心网设备。例如:PCF设备的功能与4G核心网中的策略与计费规则功能(policy and charging rules function,PCRF)设备的功能相同。因此,本申请实施例应用在4G通信系统时,本申请实施例中的PCF设备可以替换为PCRF设备。It should be noted that the embodiments of the present application may also be applied to communication systems of other mobile communication technologies, for example, fourth generation mobile networks (4th generation mobile networks, 4G). When the embodiment of the present application is applied to communication systems of other mobile communication technologies, the above-mentioned 5G core network equipment may be core network equipment with the same function in communication systems of other mobile communication technologies. For example, the function of the PCF device is the same as that of the policy and charging rules function (PCRF) device in the 4G core network. Therefore, when the embodiment of the present application is applied to a 4G communication system, the PCF device in the embodiment of the present application can be replaced with a PCRF device.
图1中的终端11、AMF设备12、SMF设备13和PCF设备14的基本硬件结构类似,都包括图2所示URSP核查装置所包括的元件。下面以图2所示的URSP核查装置为例,介绍图1中的终端11、AMF设备12、SMF设备13和PCF设备14的硬件结构。The basic hardware structures of the terminal 11, AMF device 12, SMF device 13 and PCF device 14 in FIG. 1 are similar, and all include the elements included in the URSP verification device shown in FIG. 2 . Taking the URSP verification device shown in FIG. 2 as an example, the hardware structures of terminal 11, AMF device 12, SMF device 13 and PCF device 14 in FIG. 1 are introduced below.
图2示出了本申请实施例提供的URSP核查装置的一种硬件结构示意图。如图2所示,该URSP核查装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。FIG. 2 shows a schematic diagram of a hardware structure of the URSP verification device provided by the embodiment of the present application. As shown in FIG. 2 , the URSP verification device includes a
处理器21是URSP核查装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The
作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU 0和CPU 1。As an embodiment, the
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本发明实施例提供的URSP核查方法。In a possible implementation manner, the
另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation manner, the
通信接口23,用于与其他设备通过通信网络连接。所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The
总线24,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
需要指出的是,图2示出的结构并不构成对该URSP核查装置的限定。除图2所示部件之外,该URSP核查装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 2 does not constitute a limitation to the URSP verification device. In addition to the components shown in Figure 2, the URSP verification device may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
图3示出了本申请实施例中URSP核查装置的另一种硬件结构。如图3所示,URSP核查装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。Fig. 3 shows another hardware structure of the URSP verification device in the embodiment of the present application. As shown in FIG. 3 , the URSP verification device may include a
处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以参考上述存储器22的功能。For functions of the
通信接口32用于为处理器31提供数据。该通信接口32可以是URSP核查装置的内部接口,也可以是URSP核查装置对外的接口(相当于通信接口23)。The
需要指出的是,图2(或图3)中示出的结构并不构成对URSP核查装置的限定,除图2(或图3)所示部件之外,该URSP核查装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in Figure 2 (or Figure 3) does not constitute a limitation to the URSP verification device, except for the components shown in Figure 2 (or Figure 3), the URSP verification device may include More or fewer components, or combinations of certain components, or different arrangements of components.
下面结合上述图1示出的通信系统和上述图2(或图3)示出的URSP核查装置,对本申请实施例提供的URSP核查方法进行详细介绍。The URSP verification method provided by the embodiment of the present application will be described in detail below in conjunction with the communication system shown in FIG. 1 and the URSP verification device shown in FIG. 2 (or FIG. 3 ).
图4为本申请实施例提供的一种URSP核查方法的流程示意图。如图4所示,该URSP核查方法包括下述S401-S413。Fig. 4 is a schematic flowchart of a URSP verification method provided by the embodiment of the present application. As shown in Figure 4, the URSP verification method includes the following S401-S413.
S401、终端向原始SMF设备发送PDU会话建立请求。S401. The terminal sends a PDU session establishment request to the original SMF device.
应理解,终端注册到5G网络的过程中,即终端向原始SMF设备发送PDU会话建立请求之前,PCF设备已经将为该终端签约的URSP下发给终端。具体步骤可以参考上述3GPP所定义的标准的PCF设备向终端下发URSP的流程S1-S4。It should be understood that during the process of terminal registration to the 5G network, that is, before the terminal sends a PDU session establishment request to the original SMF device, the PCF device has issued the URSP signed by the terminal to the terminal. For specific steps, reference may be made to the procedures S1-S4 in which the standard PCF device delivers the URSP to the terminal as defined by the above-mentioned 3GPP.
PCF设备向终端下发URSP后,终端向AMF设备发送PDU会话建立请求。PDU会话建立请求中携带有原始URSP以及N1 SM信息(可能包含PDU会话类型和SSC Mode)。除此之外,终端还在N1 SM信息中额外包含所执行的URSP对应的策略分区标识(policy section ID,PSI),用于后续PCF设备从存储的多个URSP中查找与PSI对应URSP。AMF设备将N1 SM信息透传给原始SMF设备,并将终端请求的DNN/S-NSSAI同时转发给原始SMF设备。After the PCF device delivers the URSP to the terminal, the terminal sends a PDU session establishment request to the AMF device. The PDU session establishment request carries the original URSP and N1 SM information (possibly including PDU session type and SSC Mode). In addition, the terminal additionally includes a policy section ID (PSI) corresponding to the executed URSP in the N1 SM information, which is used for the subsequent PCF device to search for the URSP corresponding to the PSI from multiple stored URSPs. The AMF device transparently transmits the N1 SM information to the original SMF device, and simultaneously forwards the DNN/S-NSSAI requested by the terminal to the original SMF device.
S402、PCF设备接收来自原始SMF设备的URSP核查请求。S402. The PCF device receives the URSP verification request from the original SMF device.
其中,URSP核查请求包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI。Wherein, the URSP verification request includes: the original URSP and the PSI of the original URSP carried when the terminal sends the PDU session establishment request to the original SMF device.
具体的,原始SMF设备在接收到终端发送的PDU会话建立请求后,向PCF设备发送URSP核查请求,请求消息中携带N1 SM信息中所携带的URSP相关的各项会话控制参数值(PDU会话类型/SSC Mode),以及终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI。其中,原始URSP中包括AMF设备转发的终端注册请求中所携带的DNN/S-NSSAI。Specifically, after receiving the PDU session establishment request sent by the terminal, the original SMF device sends a URSP verification request to the PCF device, and the request message carries the URSP-related session control parameter values (PDU session type) carried in the N1 SM information. /SSC Mode), and the original URSP and PSI of the original URSP carried when the terminal sends a PDU session establishment request to the original SMF device. Wherein, the original URSP includes the DNN/S-NSSAI carried in the terminal registration request forwarded by the AMF device.
S403、PCF设备确定与PSI对应的目标URSP。S403. The PCF device determines a target URSP corresponding to the PSI.
在接收来自原始SMF设备的URSP核查请求后,由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备从存储的多个URSP中查找与PSI对应URSP。After receiving the URSP verification request from the original SMF device, since the URSP verification request includes: the original URSP and the PSI of the original URSP carried when the terminal sends a PDU session establishment request to the original SMF device, the PCF device checks the original URSP from the stored multiple URSP Find the URSP corresponding to the PSI.
S404、PCF设备根据目标URSP,核查原始URSP。S404. The PCF device checks the original URSP according to the target URSP.
在确定与PSI对应的目标URSP后,PCF设备根据目标URSP,核查原始URSP。After determining the target URSP corresponding to the PSI, the PCF device checks the original URSP according to the target URSP.
具体的,PCF设备根据目标URSP,核查原始URSP时,若目标URSP中的参数与原始URSP中的参数一一对应,则执行S405-S406;若目标URSP中的数据网络名称DNN与原始URSP中的DNN一致、目标URSP中的网络切片选择辅助信息S-NSSAI与原始URSP中的S-NSSAI一致、且目标URSP中的其他参数与原始URSP中的其他参数不一致,则执行S406-S407;若目标URSP中的DNN与原始URSP中的DNN不一致、或者目标URSP中的S-NSSAI与原始URSP中的S-NSSAI不一致,则执行S408-S412。Specifically, when the PCF device checks the original URSP according to the target URSP, if the parameters in the target URSP correspond to the parameters in the original URSP, S405-S406 will be executed; if the data network name DNN in the target URSP is the same as that in the original URSP The DNN of the target URSP is consistent, the network slice selection auxiliary information S-NSSAI in the target URSP is consistent with the S-NSSAI in the original URSP, and other parameters in the target URSP are inconsistent with other parameters in the original URSP, then execute S406-S407; if the target If the DNN in the URSP is inconsistent with the DNN in the original URSP, or the S-NSSAI in the target URSP is inconsistent with the S-NSSAI in the original URSP, execute S408-S412.
S405、PCF设备向原始SMF设备发送第一响应消息。S405. The PCF device sends a first response message to the original SMF device.
具体的,若目标URSP中的参数与原始URSP中的参数一一对应,说明原始URSP与目标URSP一致,即终端正确的执行PCF设备下发的URSP。在这种情况下,PCF设备向原始SMF设备发送第一响应消息。其中,第一响应消息用于指示原始SMF设备根据原始URSP与终端建立PDU会话。Specifically, if the parameters in the target URSP correspond one-to-one with the parameters in the original URSP, it means that the original URSP is consistent with the target URSP, that is, the terminal correctly executes the URSP issued by the PCF device. In this case, the PCF device sends a first response message to the original SMF device. Wherein, the first response message is used to instruct the original SMF device to establish a PDU session with the terminal according to the original URSP.
S406、原始SMF设备根据原始URSP与终端建立PDU会话。S406. The original SMF device establishes a PDU session with the terminal according to the original URSP.
可选的,PDU会话可以是用户面功能UPF设备选择,用户面隧道建立等会话。Optionally, the PDU session may be a session such as user plane function UPF device selection, user plane tunnel establishment, and the like.
S407、PCF设备向原始SMF设备发送第二响应消息。S407. The PCF device sends a second response message to the original SMF device.
具体的,若目标URSP中的数据网络名称DNN与原始URSP中的DNN一致、目标URSP中的网络切片选择辅助信息S-NSSAI与原始URSP中的S-NSSAI一致、且目标URSP中的其他参数与原始URSP中的其他参数不一致,说明原始URSP中的DNN和S-NSSAI匹配,但是其他参数不匹配。在这种情况下,AMF设备无需重新选择SMF设备,只需将原始URSP中,与目标URSP不匹配的参数进行修改,并向原始SMF设备发送第二响应消息。其中,第二响应消息用于指示原始SMF设备根据目标URSP与终端建立PDU会话。Specifically, if the data network name DNN in the target URSP is consistent with the DNN in the original URSP, the network slice selection auxiliary information S-NSSAI in the target URSP is consistent with the S-NSSAI in the original URSP, and other parameters in the target URSP are the same as Other parameters in the original URSP are inconsistent, indicating that the DNN and S-NSSAI in the original URSP match, but other parameters do not match. In this case, the AMF device does not need to reselect the SMF device, but only needs to modify the parameters in the original URSP that do not match the target URSP, and send the second response message to the original SMF device. Wherein, the second response message is used to instruct the original SMF device to establish a PDU session with the terminal according to the target URSP.
S408、原始SMF设备根据目标URSP与终端建立PDU会话。S408. The original SMF device establishes a PDU session with the terminal according to the target URSP.
S409、PCF设备向原始SMF设备发送第三响应消息。S409. The PCF device sends a third response message to the original SMF device.
具体的,若目标URSP中的DNN与原始URSP中的DNN不一致、或者目标URSP中的S-NSSAI与原始URSP中的S-NSSAI不一致,说明AMF设备所选择的原始SMF设备可能无法满足目标URSP所要达到的业务保障效果。在这种情况下,PCF设备则向原始SMF设备发送第三响应消息。其中,第三响应消息用于指示原始SMF设备根据目标URSP向AMF设备发送重选信息;重选信息用于指示AMF设备根据目标URSP选择满足目标URSP的目标SMF设备。Specifically, if the DNN in the target URSP is inconsistent with the DNN in the original URSP, or the S-NSSAI in the target URSP is inconsistent with the S-NSSAI in the original URSP, it means that the original SMF device selected by the AMF device may not meet the requirements of the target URSP. Achieved business guarantee effect. In this case, the PCF device sends a third response message to the original SMF device. Wherein, the third response message is used to instruct the original SMF device to send reselection information to the AMF device according to the target URSP; the reselection information is used to instruct the AMF device to select a target SMF device satisfying the target URSP according to the target URSP.
S410、原始SMF设备根据目标URSP向AMF设备发送重选信息。S410. The original SMF device sends reselection information to the AMF device according to the target URSP.
具体的,PCF设备向原始SMF设备发送第三响应消息后,原始SMF设备向AMF设备发送SMF设备重选消息,消息中携带有终端所请求建立的PDU会话的正确的DNN和S-NSSAI,即PCF设备发送的目标URSP中的DNN和S-NSSAI,如需要同时修正原始URSP中的其他参数,原始SMF设备应将修正后的参数(即目标URSP)一同发送给AMF设备。Specifically, after the PCF device sends the third response message to the original SMF device, the original SMF device sends an SMF device reselection message to the AMF device, and the message carries the correct DNN and S-NSSAI of the PDU session requested by the terminal to be established, namely If the DNN and S-NSSAI in the target URSP sent by the PCF device need to modify other parameters in the original URSP at the same time, the original SMF device should send the corrected parameters (ie, the target URSP) to the AMF device.
S411、AMF设备根据目标URSP选择满足目标URSP的目标SMF设备。S411. The AMF device selects a target SMF device satisfying the target URSP according to the target URSP.
具体的,在接收到原始SMF设备根据目标URSP发送的重选信息后,AMF上报基于从原始SMF设备接收到的目标URSP中的DNN和S-NSSAI进行SMF设备重选,选择满足目标URSP的目标SMF设备。Specifically, after receiving the reselection information sent by the original SMF device according to the target URSP, the AMF reports the SMF device reselection based on the DNN and S-NSSAI in the target URSP received from the original SMF device, and selects the target that satisfies the target URSP. SMF devices.
S412、AMF设备向目标SMF设备转发终端发送的PDU会话建立请求。S412. The AMF device forwards the PDU session establishment request sent by the terminal to the target SMF device.
在确定目标SMF设备后,AMF设备向目标SMF设备发送PDU会话建立请求,并携带PCF设备纠错后的URSP(即目标URSP)中的会话控制参数(DNN、S-NSSAI、PDU会话类型、SSC Mode等)。After determining the target SMF device, the AMF device sends a PDU session establishment request to the target SMF device, and carries the session control parameters (DNN, S-NSSAI, PDU session type, SSC Mode, etc.).
S413、目标SMF设备根据目标URSP与终端建立PDU会话。S413. The target SMF device establishes a PDU session with the terminal according to the target URSP.
在接收AMF设备转发的终端发送的PDU会话建立请求后,目标SMF设备完成后续的PDU会话用户面资源的建立,会话管理策略的获取和执行等流程,并通过AMF设备向终端返回PDU会话建立响应,完成PDU会话建立。After receiving the PDU session establishment request sent by the terminal forwarded by the AMF device, the target SMF device completes the establishment of subsequent PDU session user plane resources, acquisition and execution of session management policies, and returns a PDU session establishment response to the terminal through the AMF device , to complete the establishment of the PDU session.
本申请实施例提供一种URSP核查方法,包括:PCF设备接收来自SMF设备的URSP核查请求;由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备确定与PSI对应的目标URSP,并根据目标URSP,核查原始URSP。The embodiment of the present application provides a URSP verification method, including: PCF device receives URSP verification request from SMF device; since URSP verification request includes: original URSP and original URSP information carried when terminal sends PDU session establishment request to original SMF device PSI, therefore, the PCF device determines the target URSP corresponding to the PSI, and checks the original URSP according to the target URSP.
可以看出,终端向原始SMF设备发送PDU会话建立请求中携带有原始URSP和原始URSP的PSI,原始SMF设备与终端建立PDU会话前,先向PCF设备发送URSP核查请求。由于URSP核查请求中包括:终端向原始SMF设备发送PDU会话建立请求时携带的原始URSP和原始URSP的PSI,因此,PCF设备确定与PSI对应的目标URSP,并根据目标URSP,核查原始URSP,解决了现有技术无法监控终端是否正确的执行核心网设备下发的URSP的技术问题,保证了终端业务的可靠性和可控性。It can be seen that the PDU session establishment request sent by the terminal to the original SMF device carries the original URSP and the PSI of the original URSP, and the original SMF device sends a URSP verification request to the PCF device before establishing a PDU session with the terminal. Since the URSP verification request includes: the original URSP and the PSI of the original URSP carried when the terminal sends the PDU session establishment request to the original SMF device, the PCF device determines the target URSP corresponding to the PSI, and checks the original URSP according to the target URSP to solve the problem. It solves the technical problem that the existing technology cannot monitor whether the terminal correctly executes the URSP issued by the core network equipment, and ensures the reliability and controllability of the terminal service.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the example units and algorithm steps described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
本申请实施例可以根据上述方法示例对URSP核查装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present application, the functional modules of the URSP verification device can be divided according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. Optionally, the division of modules in this embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
如图5所示,为本申请实施例提供的一种URSP核查装置50的结构示意图。该URSP核查装置50用于解决现有技术无法监控终端是否正确的执行核心网设备下发的URSP的技术问题,例如用于执行图4所示的URSP核查方法。该URSP核查装置50应用于PCF设备,包括:接收单元501、确定单元502和核查单元503。As shown in FIG. 5 , it is a schematic structural diagram of a
所述接收单元501,用于接收来自SMF设备的URSP核查请求;所述URSP核查请求包括:终端向所述原始SMF设备发送PDU会话建立请求时携带的原始URSP和所述原始URSP的PSI。例如,结合图4,接收单元501用于执行S402。The receiving
确定单元502,用于确定与接收单元501接收的PSI对应的目标URSP。例如,结合图4,确定单元502用于执行S403。The determining
处理单元,用于根据确定单元502确定的目标URSP,核查原始URSP。例如,结合图4,处理单元用于执行S404。A processing unit, configured to check the original URSP according to the target URSP determined by the determining
可选的,URSP核查装置还包括:发送单元504。Optionally, the URSP verification apparatus further includes: a sending
发送单元504,用于若核查单元503核查的目标URSP中的参数与原始URSP中的参数一一对应,则向原始SMF设备发送第一响应消息。第一响应消息用于指示原始SMF设备根据原始URSP与终端建立PDU会话。例如,结合图4,发送单元504用于执行S405。The sending
可选的,发送单元504,还用于若核查单元503核查的目标URSP中的数据网络名称DNN与原始URSP中的DNN一致、目标URSP中的网络切片选择辅助信息S-NSSAI与原始URSP中的S-NSSAI一致、且目标URSP中的其他参数与原始URSP中的其他参数不一致,则向原始SMF设备发送第二响应消息。第二响应消息用于指示原始SMF设备根据目标URSP与终端建立PDU会话。例如,结合图4,发送单元504用于执行S407。Optionally, the sending
可选的,发送单元504,还用于若核查单元503核查的目标URSP中的DNN与原始URSP中的DNN不一致、或者目标URSP中的S-NSSAI与原始URSP中的S-NSSAI不一致,则向原始SMF设备发送第三响应消息。第三响应消息用于指示原始SMF设备根据目标URSP向接入和移动性管理功能AMF设备发送重选信息。重选信息用于指示AMF设备根据目标URSP选择满足目标URSP的目标SMF设备。例如,结合图4,发送单元504用于执行S409。Optionally, the sending
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令。当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的URSP核查方法中,URSP核查装置执行的各个步骤。An embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions. When the computer executes the instructions and runs on the computer, the computer is made to execute the various steps performed by the URSP verification device in the URSP verification method provided in the above embodiments.
本申请实施例还提供一种计算机程序产品,该计算机程序产品可直接加载到存储器中,并含有软件代码,该计算机程序产品经由计算机载入并执行后能够实现上述实施例提供的URSP核查方法中,URSP核查装置执行的各个步骤。The embodiment of the present application also provides a computer program product, which can be directly loaded into the memory and contains software codes. After the computer program product is loaded and executed by a computer, it can implement the URSP verification method provided by the above embodiment. , the various steps performed by the URSP verification device.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机执行指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digitalsubscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When computer-executed instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk (solid state disk, SSD)) and the like.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取的存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011384267.7A CN112399523B (en) | 2020-12-01 | 2020-12-01 | URSP checking method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011384267.7A CN112399523B (en) | 2020-12-01 | 2020-12-01 | URSP checking method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112399523A CN112399523A (en) | 2021-02-23 |
| CN112399523B true CN112399523B (en) | 2022-11-18 |
Family
ID=74604059
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011384267.7A Active CN112399523B (en) | 2020-12-01 | 2020-12-01 | URSP checking method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112399523B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116471218A (en) * | 2022-01-11 | 2023-07-21 | 腾讯科技(深圳)有限公司 | Terminal routing selection policy URSP detection method and related equipment |
| WO2023207870A1 (en) * | 2022-04-26 | 2023-11-02 | 维沃移动通信有限公司 | Data processing method, terminal, and network side device |
| CN117692982A (en) * | 2022-09-02 | 2024-03-12 | 维沃移动通信有限公司 | Routing policy execution status processing method, device and equipment |
| CN115696491A (en) * | 2022-09-27 | 2023-02-03 | 中国联合网络通信集团有限公司 | Protocol data unit session establishment method, device and equipment |
| CN118785499A (en) * | 2023-04-10 | 2024-10-15 | 荣耀终端有限公司 | Communication method and device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019227313A1 (en) * | 2018-05-29 | 2019-12-05 | Nokia Shanghai Bell Co., Ltd. | Method, apparatus and computer readable media for policy distribution |
| CN110800330A (en) * | 2018-02-09 | 2020-02-14 | Oppo广东移动通信有限公司 | Wireless communication method, network equipment and terminal equipment |
-
2020
- 2020-12-01 CN CN202011384267.7A patent/CN112399523B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110800330A (en) * | 2018-02-09 | 2020-02-14 | Oppo广东移动通信有限公司 | Wireless communication method, network equipment and terminal equipment |
| WO2019227313A1 (en) * | 2018-05-29 | 2019-12-05 | Nokia Shanghai Bell Co., Ltd. | Method, apparatus and computer readable media for policy distribution |
Non-Patent Citations (1)
| Title |
|---|
| "23503-f10";3GPP;《3GPP Specs\23_series》;20180327;第22-23页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112399523A (en) | 2021-02-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112399523B (en) | URSP checking method and device | |
| US11812496B2 (en) | User group session management method and apparatus | |
| WO2020248828A1 (en) | Communication method, device, and system | |
| EP3739851A1 (en) | Address management method, device and system | |
| KR20230007473A (en) | Slice access method, device and system | |
| US20200344204A1 (en) | Session management method and apparatus | |
| CN109996346A (en) | Session establishing method, equipment and system | |
| US12035168B2 (en) | Method and device for configuring redundant protocol data unit session | |
| CN111901132B (en) | Group management method, device and system | |
| CN109819484B (en) | Session context processing method, network element and terminal equipment | |
| CN108401273B (en) | Routing method and device | |
| WO2020034697A1 (en) | Communication method and device | |
| CN111757315A (en) | A service connection method and device | |
| CN111757316B (en) | Service connection method and device | |
| CN114143832B (en) | A service processing method, device and storage medium | |
| CN114363918B (en) | Network slicing contract method, user equipment, core network equipment and system | |
| CN117939539A (en) | A conversation processing method, electronic device and storage medium | |
| WO2018049690A1 (en) | Packet transmission method, apparatus and system | |
| CN115226052B (en) | Data processing method, blockchain functional device and storage medium | |
| CN118804369A (en) | Communication method, device, electronic device and storage medium | |
| CN113727329B (en) | Communication method and device | |
| KR20200111737A (en) | Session management method, device and system | |
| CN114125038B (en) | A service scheduling method, device and storage medium | |
| WO2019233381A1 (en) | User plane data processing method and apparatus | |
| US20250056370A1 (en) | Method for wireless communication, user equipment, and network device |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |