[go: up one dir, main page]

CN112291752B - A kind of network registration method and device - Google Patents

A kind of network registration method and device Download PDF

Info

Publication number
CN112291752B
CN112291752B CN202011281060.7A CN202011281060A CN112291752B CN 112291752 B CN112291752 B CN 112291752B CN 202011281060 A CN202011281060 A CN 202011281060A CN 112291752 B CN112291752 B CN 112291752B
Authority
CN
China
Prior art keywords
terminal
entity
network
information
registration
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
Application number
CN202011281060.7A
Other languages
Chinese (zh)
Other versions
CN112291752A (en
Inventor
陈婉珺
马瑞涛
马泽芳
任驰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011281060.7A priority Critical patent/CN112291752B/en
Publication of CN112291752A publication Critical patent/CN112291752A/en
Application granted granted Critical
Publication of CN112291752B publication Critical patent/CN112291752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/06Registration at serving network Location Register, VLR or user mobility server
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

本申请实施例提供一种通信方法及装置,涉及通信技术领域,解决了终端在其他区域进行通信仍需要连接到锚点设备造成网络资源浪费的技术问题。该通信方法包括:AMF实体确定终端在AMF实体的服务区域内的驻留时长大于或等于预设时长;终端的锚点设备无法为服务区域内的其他终端提供服务;在确定终端未传输数据的情况下,AMF实体向策略控制功能PCF实体发送请求,请求用于请求确定是否指示终端重新发起网络注册;在接收到来自PCF实体发送的重新注册策略后,AMF实体根据重新注册策略与终端通信,以实现终端的重新注册。

Figure 202011281060

Embodiments of the present application provide a communication method and apparatus, which relate to the field of communication technologies, and solve the technical problem that a terminal still needs to be connected to an anchor device for communication in other areas, causing waste of network resources. The communication method includes: the AMF entity determines that the terminal duration in the service area of the AMF entity is greater than or equal to a preset duration; the anchor device of the terminal cannot provide services for other terminals in the service area; when it is determined that the terminal does not transmit data In this case, the AMF entity sends a request to the policy control function PCF entity, and the request is used to request to determine whether to instruct the terminal to re-initiate the network registration; after receiving the re-registration policy sent from the PCF entity, the AMF entity communicates with the terminal according to the re-registration policy, In order to realize the re-registration of the terminal.

Figure 202011281060

Description

一种网络注册方法及装置A kind of network registration method and device

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种网路注册方法及装置。The present invention relates to the field of communication technologies, and in particular, to a network registration method and device.

背景技术Background technique

在第五代移动通信技术(5th-Generation,5G)网络中,用户在当前区域注册网络建立PDU会话后,该PDU会话的锚点设备会保持不变,与终端是否还处于当前区域无关。In a fifth-generation (5th-Generation, 5G) network, after a user registers a network in the current area to establish a PDU session, the anchor device of the PDU session will remain unchanged, regardless of whether the terminal is still in the current area.

当终端离开当前区域进入其他区域时,由于锚点设备保持不变,终端还需要连接到该锚点设备,因此,其他区域的网络会启动中间会话管理功能(intermediate SMF,I-SMF)实体和中间用户面功能(intermediate UPF,I-UPF)实体,以保证终端可以连接到该锚点设备。When the terminal leaves the current area and enters another area, since the anchor device remains unchanged, the terminal still needs to connect to the anchor device. Therefore, the network in the other area will start the intermediate session management function (intermediate SMF, I-SMF) entity and An intermediate user plane function (intermediate UPF, I-UPF) entity to ensure that the terminal can connect to the anchor device.

终端处于其他区域使用业务时,基于上述通信方式流量会再次迂回到该锚点设备,造成网络资源浪费;同时,终端与锚点设备距离远,会增大网络时延,影响用户体验。When the terminal uses services in other areas, the traffic will be detoured to the anchor device again based on the above communication method, resulting in a waste of network resources; at the same time, the distance between the terminal and the anchor device will increase the network delay and affect the user experience.

发明内容SUMMARY OF THE INVENTION

本申请提供一种通信方法及装置,解决了终端在其他区域进行通信仍需要连接到锚点设备造成网络资源浪费的技术问题。The present application provides a communication method and apparatus, which solves the technical problem that a terminal still needs to be connected to an anchor device for communication in other areas, causing waste of network resources.

为达到上述目的,本申请采用如下技术方案:To achieve the above object, the application adopts the following technical solutions:

第一方面,提供一种通信方法,应用于AMF实体。该通信方法包括:AMF实体确定终端在AMF实体的服务区域(终端的锚点设备无法为服务区域内的其他终端提供服务)内的驻留时长大于或等于预设时长;在确定终端未传输数据的情况下,AMF实体向策略控制功能PCF实体发送用于请求确定是否指示终端重新发起网络注册的请求;在接收到来自PCF实体发送的重新注册策略后,AMF实体根据重新注册策略与终端通信,以实现终端的重新注册。In a first aspect, a communication method is provided, which is applied to an AMF entity. The communication method includes: the AMF entity determines that the terminal resides in a service area of the AMF entity (an anchor device of the terminal cannot provide services for other terminals in the service area) that is greater than or equal to a preset time; after determining that the terminal does not transmit data Under the circumstance, the AMF entity sends to the policy control function PCF entity a request for requesting to determine whether to instruct the terminal to re-initiate the network registration; after receiving the re-registration policy sent from the PCF entity, the AMF entity communicates with the terminal according to the re-registration policy, In order to realize the re-registration of the terminal.

由上可知,AMF实体根据确定终端在服务区域内驻留的时长,确定该终端是否需要在该服务区域内重新进行网络注册建立新的锚点设备。AMF实体在确定终端未使用业务时,向PCF实体发送请求;在接收到来自所述PCF实体发送的重新注册策略后,指示终端进行重新注册,以使终端在当前区域重新注册,使用新锚点设备。这样,终端在使用业务时,流量将不会再迂回到终端未重新注册网络前的锚点设备,节省了网络资源。As can be seen from the above, the AMF entity determines whether the terminal needs to re-register with the network in the service area to establish a new anchor point device according to the time period that the terminal resides in the service area. When the AMF entity determines that the terminal does not use the service, it sends a request to the PCF entity; after receiving the re-registration policy sent from the PCF entity, it instructs the terminal to re-register, so that the terminal re-registers in the current area and uses the new anchor point equipment. In this way, when the terminal uses the service, the traffic will no longer be detoured to the anchor device before the terminal has not re-registered with the network, saving network resources.

第二方面,提供一种通信方法,应用于PCF实体。该通信方法包括:在接收到来自AMF实体的包括终端的标识和终端所属网络的信息的请求(该请求用于请求确定是否指示终端重新发起网络注册)后,PCF实体根据终端的标识和终端所属网络的信息,确定第一信息,第一信息用于指示是否指示终端重新发起网络注册;PCF实体向AMF实体发送第一信息。In a second aspect, a communication method is provided, which is applied to a PCF entity. The communication method includes: after receiving a request from the AMF entity including the identification of the terminal and the information of the network to which the terminal belongs (the request is used to request to determine whether to instruct the terminal to re-initiate the network registration), the PCF entity according to the identification of the terminal and the information of the network to which the terminal belongs, the PCF entity The information of the network determines the first information, and the first information is used to indicate whether to instruct the terminal to re-initiate the network registration; the PCF entity sends the first information to the AMF entity.

由上可知,PCF实体在接收到请求后,会根据终端的标识和终端所属网络的信息确定第一信息。这样,PCF实体会判断该终端是否可以重新进行网络注册,基于终端的实际情况确定第一信息,可以提高用户体验。It can be seen from the above that after receiving the request, the PCF entity will determine the first information according to the identification of the terminal and the information of the network to which the terminal belongs. In this way, the PCF entity will determine whether the terminal can perform network registration again, and determine the first information based on the actual situation of the terminal, which can improve user experience.

第三方面,提供一种通信装置,应用于AMF实体,通信装置包括:处理单元和通信单元。处理单元,用于确定终端在AMF实体的服务区域内的驻留时长大于或等于预设时长;终端的锚点设备无法为服务区域内的其他终端提供服务。通信单元,用于在确定终端未传输数据的情况下,向策略控制功能PCF实体发送请求,请求用于请求确定是否指示终端重新发起网络注册。通信单元,还用于在接收到来自PCF实体发送的重新注册策略后,根据重新注册策略与终端通信,以实现终端的重新注册。In a third aspect, a communication apparatus is provided, which is applied to an AMF entity, and the communication apparatus includes: a processing unit and a communication unit. The processing unit is configured to determine that the terminal duration in the service area of the AMF entity is greater than or equal to the preset duration; the anchor device of the terminal cannot provide services for other terminals in the service area. The communication unit is configured to send a request to the policy control function PCF entity when it is determined that the terminal does not transmit data, and the request is used to request to determine whether to instruct the terminal to re-initiate network registration. The communication unit is further configured to communicate with the terminal according to the re-registration policy after receiving the re-registration policy sent from the PCF entity, so as to realize the re-registration of the terminal.

第四方面,提供一种通信装置,应用于PCF实体。该通信装置包括:通信单元和处理单元。通信单元,用于接收来自AMF实体的请求,请求用于请求确定是否指示终端重新发起网络注册;该请求包括终端的标识和终端所属网络的信息。处理单元,用于根据终端的标识和终端所属网络的信息,确定第一信息,该第一信息用于指示是否指示终端重新发起网络注册。通信单元,还用于向AMF实体发送第一信息。In a fourth aspect, a communication apparatus is provided, which is applied to a PCF entity. The communication device includes: a communication unit and a processing unit. The communication unit is used for receiving a request from the AMF entity, and the request is used for requesting to determine whether to instruct the terminal to re-initiate network registration; the request includes the identification of the terminal and the information of the network to which the terminal belongs. The processing unit is configured to determine the first information according to the identification of the terminal and the information of the network to which the terminal belongs, where the first information is used to indicate whether to instruct the terminal to re-initiate network registration. The communication unit is further configured to send the first information to the AMF entity.

第五方面,提供一种通信装置,包括存储器和处理器。存储器用于存储计算机执行指令,处理器与存储器通过总线连接。当通信装置运行时,处理器执行存储器存储的计算机执行指令,以使通信装置执行第一方面或第二方面所述的通信方法。In a fifth aspect, a communication device is provided, including a memory and a processor. The memory is used to store the instructions to be executed by the computer, and the processor and the memory are connected through a bus. When the communication apparatus is running, the processor executes the computer-executable instructions stored in the memory, so that the communication apparatus executes the communication method described in the first aspect or the second aspect.

该通信装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,接收、确定、分流上述通信方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The communication device may be a network device, or may be a part of the device in the network device, for example, 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 manners thereof, for example, receiving, determining, and offloading the data and/or information involved in the above communication method. The chip system includes chips, and may also include other discrete devices or circuit structures.

第六方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面或第二方面所述的通信方法。In a sixth aspect, a computer-readable storage medium is provided, where the computer-readable storage medium includes computer-executable instructions, which, when the computer-executable instructions are run on a computer, cause the computer to perform the communication method described in the first aspect or the second aspect.

第七方面,提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在计算机上运行时,使得计算机执行如上述第一方面及其各种可能的实现方式或第二方面及其各种可能的实现方式所述的通信方法。In a seventh aspect, a computer program product is provided, the computer program product comprising computer instructions, when the computer instructions are run on a computer, causing the computer to execute the above-mentioned first aspect and various possible implementations thereof or the second aspect and its Various possible implementations of the described communication methods.

需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与通信装置的处理器封装在一起的,也可以与通信装置的处理器单独封装,本申请对此不作限定。It should be noted that the above computer instructions may be stored in whole or in part on the first computer-readable storage medium. The first computer-readable storage medium may be packaged with the processor of the communication device, or may be packaged separately with the processor of the communication device, which is not limited in this application.

本发明中第三方面、第五方面、第六方面以及第七方面的描述,可以参考第一方面的详细描述;并且,第三方面、第五方面、第六方面以及第七方面的描述的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。本发明中第四方面、第五方面、第六方面以及第七方面的描述,可以参考第二方面的详细描述;并且,第四方面、第五方面、第六方面以及第七方面的描述的有益效果,可以参考第二方面的有益效果分析,此处不再赘述。For the description of the third, fifth, sixth and seventh aspects of the present invention, reference may be made to the detailed description of the first aspect; and, for the description of the third, fifth, sixth and seventh aspects For the beneficial effects, reference may be made to the analysis of the beneficial effects of the first aspect, which will not be repeated here. For the description of the fourth, fifth, sixth and seventh aspects of the present invention, reference may be made to the detailed description of the second aspect; and, for the description of the fourth, fifth, sixth and seventh aspects For the beneficial effects, reference may be made to the analysis of the beneficial effects of the second aspect, which will not be repeated here.

在本申请中,上述通信装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本发明类似,属于本发明权利要求及其等同技术的范围之内。In this application, the names of the above communication apparatuses do not limit the devices or functional modules themselves, and in actual implementation, these devices or functional modules may appear in other names. As long as the functions of various devices or functional modules are similar to the present invention, they fall within the scope of the claims of the present invention and their equivalents.

本发明的这些方面或其他方面在以下的描述中会更加简明易懂。These and other aspects of the present invention will become apparent from the following description.

附图说明Description of drawings

图1为本申请实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;

图2为本申请实施例提供的又一种通信系统的结构示意图;FIG. 2 is a schematic structural diagram of another communication system provided by an embodiment of the present application;

图3为本申请实施例提供的又一种通信装置的硬件结构示意图;3 is a schematic diagram of a hardware structure of another communication device provided by an embodiment of the present application;

图4为本申请实施例提供的又一种通信装置的硬件结构示意图;FIG. 4 is a schematic diagram of a hardware structure of another communication device provided by an embodiment of the present application;

图5为本申请实施例提供的一种通信方法的流程示意图;FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application;

图6为本申请实施例提供的又一种通信方法的流程示意图;FIG. 6 is a schematic flowchart of another communication method provided by an embodiment of the present application;

图7为本申请实施例提供的又一种通信方法的流程示意图;FIG. 7 is a schematic flowchart of another communication method provided by an embodiment of the present application;

图8为本申请实施例提供的一种通信装置的结构示意图;FIG. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;

图9为本申请实施例提供的又一种通信装置的结构示意图;FIG. 9 is a schematic structural diagram of another communication device provided by an embodiment of the present application;

图10为本申请实施例提供的又一种通信装置的结构示意图。FIG. 10 is a schematic structural diagram of still another communication apparatus provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within 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 to represent examples, illustrations, or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific 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 items or similar items with basically the same functions and functions. Persons can understand that words such as "first" and "second" are not intended to limit the quantity and execution order.

如背景技术所描述,用户在当前区域注册网络建立PDU会话后,该PDU会话的锚点设备会保持不变,与终端是否还处于当前区域无关。As described in the background art, after a user registers a network in a current area to establish a PDU session, the anchor device of the PDU session will remain unchanged, regardless of whether the terminal is still in the current area.

示例性的,参照图1所示,终端在区域1进行网络注册,建立PDU会话,则终端未重新注册网络时,终端的锚点设备UPF一直保持不变。当终端重区域1离开进入区域2,此时终端仍需要连接锚点UPF(区域1中的UPF),此时区域2网络开启第一设备I-SMF和I-UPF,以使终端连接到锚点UPF。可见,终端处于区域2时,终端使用业务,流量需要迂回到区域1的UPF,造成网络资源网络。Exemplarily, as shown in FIG. 1 , the terminal performs network registration in area 1 and establishes a PDU session. When the terminal does not re-register with the network, the UPF of the terminal's anchor device remains unchanged. When the terminal leaves area 1 and enters area 2, the terminal still needs to connect to the anchor point UPF (UPF in area 1), at this time, the area 2 network enables the first device I-SMF and I-UPF to connect the terminal to the anchor point Click on UPF. It can be seen that when the terminal is in area 2, the terminal uses services, and the traffic needs to be detoured to the UPF of area 1, resulting in a network of network resources.

需要说明的是,上述开启第一设备I-SMF和I-UPF,指在区域2与区域1之间的网络架构中插入第一设备I-SMF和I-UPF。It should be noted that, enabling the first devices I-SMF and I-UPF above refers to inserting the first devices I-SMF and I-UPF in the network architecture between the area 2 and the area 1.

现有技术中,在解决该技术问题时,通常是运营商在夜间网络处于空闲时,人为的将当天进入区域2的所有终端全部删除,强制触发终端重新进行网络注册。或者,借助标准上定义的网络侧去注册流程,手工在UDM上操作,强制触发用户去注册,并在当前所在地(区域2)重新进行网络注册。In the prior art, to solve this technical problem, the operator usually deletes all terminals that enter area 2 on the day when the network is idle at night, forcibly triggering the terminals to re-register with the network. Alternatively, with the help of the network-side de-registration process defined in the standard, manually operate on the UDM, forcibly trigger the user to de-register, and re-register the network at the current location (area 2).

然而,现有的技术方案存在如下缺点:However, the existing technical solutions have the following disadvantages:

1、需要人工参与,效率低。1. Manual participation is required and the efficiency is low.

2、在面对特殊场景时,适用性较差。2. In the face of special scenarios, the applicability is poor.

例如,终端只是在路过当前区域,强制触发终端重新进行网络注册没有意义;或者终端使用的业务为特殊的业务,必须要使用(区域1中的)锚点设备才能提供服务,此时终端(在区域2)重新进行网络注册,无法连接到锚点设备,终端将无法使用业务。For example, the terminal is just passing through the current area, and it is meaningless to force the terminal to re-register the network; or the service used by the terminal is a special service, and the anchor device (in area 1) must be used to provide the service. At this time, the terminal (in the Area 2) Re-register the network, cannot connect to the anchor device, and the terminal will not be able to use the service.

可见,现有的技术方案并不能很好的解决终端在其他区域使用锚点设备,造成网络资源浪费的技术问题。It can be seen that the existing technical solutions cannot well solve the technical problem that the terminal uses the anchor device in other areas, which causes waste of network resources.

针对上述问题,本申请实施例提供了一种通信方法,AMF实体首先确定终端需要重新进行网络注册,然后向PCF发送请求;通过接收PCF实体下发的重新注册策略后,指示终端重新进行网络注册,建立新锚点设备,使得终端在使用业务时,流量不再需要迂回,节省了网络资源。In view of the above problems, the embodiment of the present application provides a communication method. The AMF entity first determines that the terminal needs to perform network registration again, and then sends a request to the PCF; after receiving the re-registration policy issued by the PCF entity, it instructs the terminal to perform network registration again. , establish a new anchor device, so that when the terminal uses the service, the traffic no longer needs to be detoured, saving network resources.

本申请实施例提供的通信方法适用于通信系统。图1示出了该通信系统的一种5G网络结构。如图1所示,该5G网络10可以包括:鉴权服务器功能(authentication serverfunction,AUSF)实体、核心接入和移动管理功能(core access and mobility managementfunction,AMF)实体、数据网络(data network,DN)、统一数据管理(unified datamanagement,UDM)实体、策略控制功能(policy control function,PCF)实体、(无线)接入网((radio)access network,(R)AN)设备、用户面功能(user plane function,UPF)实体、UE、应用功能(application function,AF)实体、会话管理功能(session managementfunction,SMF)实体、网络切片选择功能(network slice selection function,NSSF)实体。The communication method provided by the embodiment of the present application is applicable to a communication system. Figure 1 shows a 5G network structure of the communication system. As shown in FIG. 1 , the 5G network 10 may include: an authentication server function (authentication server function, AUSF) entity, a core access and mobility management function (core access and mobility management function, AMF) entity, a data network (data network, DN) entity ), unified data management (UDM) entity, policy control function (PCF) entity, (radio) access network ((radio) access network, (R)AN) equipment, user plane function (user plane function (UPF) entity, UE, application function (application function, AF) entity, session management function (session management function, SMF) entity, network slice selection function (network slice selection function, NSSF) entity.

其中,UE通过下一代网络(next generation)接口1(简称N1)与AMF实体通信,(R)AN设备通过下一代网络接口2(简称N2)与AMF实体通信,(R)AN设备通过下一代网络接口3(简称N3)与UPF实体通信。The UE communicates with the AMF entity through the next generation network interface 1 (N1 for short), the (R)AN device communicates with the AMF entity through the next generation network interface 2 (N2 for short), and the (R)AN device communicates with the AMF entity through the next generation network interface 2 (N2 for short). The network interface 3 (N3 for short) communicates with the UPF entity.

需要说明的是,图2示出的5G网络10仅仅是本申请实施例提供的一种实现方式,在实际应用中,5G网络10还可以包括其它功能实体,本申请对此不作限定。It should be noted that the 5G network 10 shown in FIG. 2 is only an implementation provided by the embodiments of the present application. In practical applications, the 5G network 10 may also include other functional entities, which are not limited in the present application.

图2中的功能实体包括图3所示通信装置所包括的元件。下面以图3所示的通信装置为例,介绍图2中的功能实体的硬件结构。The functional entities in FIG. 2 include elements included in the communication device shown in FIG. 3 . Taking the communication device shown in FIG. 3 as an example, the hardware structure of the functional entity in FIG. 2 is described below.

图3示出了本申请实施例提供的通信装置的一种硬件结构示意图。如图3所示,该通信装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。FIG. 3 shows a schematic diagram of a hardware structure of a communication apparatus provided by an embodiment of the present application. As shown in FIG. 3 , the communication device includes a processor 21 , a memory 22 , a communication interface 23 , and a bus 24 . The processor 21 , the memory 22 and the communication interface 23 can be connected through a bus 24 .

处理器21是通信装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The processor 21 is the control center of the communication device, and may be a processor or a general term for multiple processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or other general-purpose processors or the like. Wherein, the general-purpose processor may be a microprocessor or any conventional processor or the like.

作为一种实施例,处理器21可以包括一个或多个CPU,例如图2中所示的CPU 0和CPU 1。As an example, the processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 2 .

存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 22 may be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of static storage device that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store data in the form of instructions or data structures. desired program code and any other medium that can be accessed by a computer, but is not limited thereto.

一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本发明实施例提供的通信方法。In a possible implementation manner, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 through a bus 24 for storing instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the communication method provided by the embodiment of the present invention can be implemented.

另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation manner, the memory 22 may also be integrated with the processor 21 .

通信接口23,用于与其他设备通过通信网络连接。所述通信网络可以是以太网,无线接入网,无线局域网(wireless local areanetworks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The communication interface 23 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area networks (wireless local area networks, WLAN) and the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.

总线24,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.

需要指出的是,图3示出的结构并不构成对该通信装置的限定。除图3所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure shown in FIG. 3 does not constitute a limitation on the communication device. In addition to the components shown in FIG. 3, the communication device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.

图4示出了本申请实施例中通信装置的另一种硬件结构。如图4所示,通信装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。FIG. 4 shows another hardware structure of the communication apparatus in the embodiment of the present application. As shown in FIG. 4 , the communication apparatus may include a processor 31 and a communication interface 32 . The processor 31 is coupled with the communication interface 32 .

处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以参考上述存储器22的功能。For the function of the processor 31, reference may be made to the description of the processor 21 above. In addition, the processor 31 also has a storage function, and reference may be made to the function of the memory 22 described above.

通信接口32用于为处理器31提供数据。该通信接口32可以是通信装置的内部接口,也可以是通信装置对外的接口(相当于通信接口23)。The communication interface 32 is used to provide data to the processor 31 . The communication interface 32 may be an internal interface of the communication device, or may be an external interface of the communication device (equivalent to the communication interface 23).

需要指出的是,图3(或图4)中示出的结构并不构成对通信装置的限定,除图3(或图4)所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 3 (or FIG. 4 ) does not constitute a limitation on the communication device, and in addition to the components shown in FIG. 3 (or FIG. 4 ), the communication device may include more than shown in the figure or fewer components, or a combination of certain components, or a different arrangement of components.

下面结合上述图2示出的5G网络和上述图3(或图4)示出的通信装置,对本申请实施例提供的通信方法进行详细介绍。The communication method provided by the embodiment of the present application will be described in detail below with reference to the 5G network shown in FIG. 2 and the communication device shown in FIG. 3 (or FIG. 4 ).

图5为本申请实施例提供的一种通信方法的流程示意图。如图5所示,该通信方法包括下述S501-S510。FIG. 5 is a schematic flowchart of a communication method provided by an embodiment of the present application. As shown in FIG. 5 , the communication method includes the following S501-S510.

S501、AMF实体判断终端在AMF实体的服务区域内的驻留时长是否大于或等于预设时长。S501. The AMF entity determines whether the terminal residency duration in the service area of the AMF entity is greater than or equal to a preset duration.

当AMF实体确定驻留时长是小于预设时长时,执行S502。当AMF实体确定驻留时长是大于或等于预设时长时,执行S503。When the AMF entity determines that the dwell duration is less than the preset duration, S502 is performed. When the AMF entity determines that the dwell duration is greater than or equal to the preset duration, S503 is performed.

其中,终端的锚点设备无法为服务区域内的其他终端提供服务。The anchor device of the terminal cannot provide services for other terminals in the service area.

可选的,预设时长为运营商预先在AMF实体上设置的。不同的区域可以根据实际情况设置不同的预设时长。Optionally, the preset duration is pre-set by the operator on the AMF entity. Different regions can set different preset durations according to the actual situation.

示例性的,参照图1所示,终端离开区域1进入区域2,此时区域2的AMF实体启动I-SMF和I-UPF,实现终端与区域1的锚点UPF的通信。本步骤中的驻留时长从终端在区域2中实现与区域1的锚点UPF通信开始计时。Exemplarily, as shown in FIG. 1 , the terminal leaves area 1 and enters area 2. At this time, the AMF entity of area 2 starts I-SMF and I-UPF to realize the communication between the terminal and the anchor UPF of area 1. The dwell time in this step starts counting when the terminal realizes the communication with the anchor UPF of the area 1 in the area 2.

S502、AMF实体不做处理。S502, the AMF entity does not perform processing.

S503、AMF实体判断终端是否正在传输数据。S503, the AMF entity determines whether the terminal is transmitting data.

当确定终端未传输数据,则执行步骤S504。当确定终端正在传输数据,则执行步骤S505。When it is determined that the terminal does not transmit data, step S504 is executed. When it is determined that the terminal is transmitting data, step S505 is performed.

示例性的,若AMF实体接收到终端发送的接口释放消息,且该消息中携带的原因值为终端为非激活,则确定终端未传输数据。Exemplarily, if the AMF entity receives the interface release message sent by the terminal, and the cause value carried in the message is that the terminal is inactive, it is determined that the terminal does not transmit data.

S504、AMF实体向策略控制功能PCF实体发送请求。S504, the AMF entity sends a request to the policy control function PCF entity.

其中,该请求用于请求确定是否指示终端重新发起网络注册。Wherein, the request is used to request to determine whether to instruct the terminal to re-initiate network registration.

需要说明的是,AMF实体在确定终端在AMF实体的服务区域内的驻留时长大于或等于预设时长(即确定该终端需要重新进行网络注册)之后,才进一步判断当前终端是否正在使用业务。It should be noted that the AMF entity further determines whether the current terminal is using a service only after it is determined that the terminal duration in the service area of the AMF entity is greater than or equal to the preset duration (that is, it is determined that the terminal needs to re-register with the network).

S505、AMF实体等待用户使用业务结束之后向PCF实体发送请求。S505, the AMF entity sends a request to the PCF entity after waiting for the user to use the service.

S506、PCF实体接收来自AMF实体的请求。S506, the PCF entity receives the request from the AMF entity.

其中,该请求可以包括终端的标识和终端所属网络的信息。Wherein, the request may include the identification of the terminal and the information of the network to which the terminal belongs.

可选的,终端的标识可以为终端的IMSI号码信息,也可以为其他能够用于唯一标识终端的标识,本申请实施例对此不作具体限定。Optionally, the identifier of the terminal may be the IMSI number information of the terminal, or may be other identifiers that can be used to uniquely identify the terminal, which is not specifically limited in this embodiment of the present application.

终端所属网络的信息可以为数据网络名称(data network name,DNN)信息。The information of the network to which the terminal belongs may be data network name (data network name, DNN) information.

S507、PCF实体根据终端的标识和终端所属网络的信息,确定第一信息。S507. The PCF entity determines the first information according to the identifier of the terminal and the information of the network to which the terminal belongs.

其中,第一信息用于指示是否指示终端重新发起网络注册。The first information is used to indicate whether to instruct the terminal to re-initiate network registration.

可选的,PCF实体根据终端的标识区分不同的终端,并通过终端所属网络的信息确定终端的网络信息是否为特殊网络信息。Optionally, the PCF entity distinguishes different terminals according to the identifiers of the terminals, and determines whether the network information of the terminal is special network information according to the information of the network to which the terminal belongs.

其中,特殊网络信息可以为企业网络信息。通常,企业网络信息对应的业务必须使用企业服务器所在区域的网络。The special network information may be enterprise network information. Usually, the business corresponding to the enterprise network information must use the network in the area where the enterprise server is located.

具体的,若PCF实体确定终端所属网络的信息为特殊网络信息,则向AMF实体发送的第一信息为一般响应信息,AMF实体不对终端做处理。Specifically, if the PCF entity determines that the information of the network to which the terminal belongs is special network information, the first information sent to the AMF entity is general response information, and the AMF entity does not process the terminal.

若PCF实体确定终端所属网络的信息为非特殊网络信息,则向AMF实体发送的第一信息包括重新注册策略,此第一信息具体用于指示根据所述重新注册策略指示所述终端重新发起网络注册。If the PCF entity determines that the information of the network to which the terminal belongs is non-special network information, the first information sent to the AMF entity includes a re-registration policy, and the first information is specifically used to instruct the terminal to re-initiate the network according to the re-registration policy register.

S508、PCF实体向AMF实体发送第一信息。S508, the PCF entity sends the first information to the AMF entity.

S509、AMF实体接收PCF实体发送的第一信息。S509. The AMF entity receives the first information sent by the PCF entity.

当确定第一信息中包括重新注册策略后,执行步骤S510;当确定第一信息中未包括重新注册策略后,执行步骤S502。When it is determined that the re-registration policy is included in the first information, step S510 is performed; when it is determined that the re-registration policy is not included in the first information, step S502 is performed.

S510、AMF实体根据重新注册策略与终端通信,以实现终端的重新注册。S510. The AMF entity communicates with the terminal according to the re-registration policy, so as to realize the re-registration of the terminal.

可选的,AMF实体向终端发送重新注册策略,指示终端去注册后在当前区域重新注册网络。同时,AMF实体关闭针对该终端启动的第一设备I-SMF实体和I-UPF实体。其中,关闭第一设备指将区域1和区域2共同构建的网络架构中的I-SMF和I-UPF删除,以使得终端不再通过第一设备连接到锚点设备UPF。Optionally, the AMF entity sends a re-registration policy to the terminal, instructing the terminal to re-register the network in the current area after de-registration. At the same time, the AMF entity closes the first device I-SMF entity and I-UPF entity activated for the terminal. Wherein, shutting down the first device refers to deleting the I-SMF and I-UPF in the network architecture jointly constructed by the area 1 and the area 2, so that the terminal is no longer connected to the anchor device UPF through the first device.

示例性的,终端去注册后在当前区域重新注册网络,使用当前网络的UPF接入网络,而不会路由到锚点UPF。Exemplarily, after deregistering, the terminal re-registers with the network in the current area, and uses the UPF of the current network to access the network without routing to the anchor UPF.

由上可知,AMF实体会确定终端在服务区域内驻留的时长,从而确定该终端是否需要在该服务区域内重新进行网络注册建立新的锚点设备。AMF实体在确定终端未使用业务时,向PCF实体发送请求;在接收到来自所述PCF实体发送的重新注册策略后,指示终端进行重新注册,以使终端在当前区域重新注册,使用新锚点设备。这样,终端在使用业务时,流量将不会再迂回到终端未重新注册网络前的锚点设备,节省了网络资源。It can be seen from the above that the AMF entity will determine the length of time that the terminal resides in the service area, so as to determine whether the terminal needs to re-register with the network in the service area to establish a new anchor device. When the AMF entity determines that the terminal does not use the service, it sends a request to the PCF entity; after receiving the re-registration policy sent from the PCF entity, it instructs the terminal to re-register, so that the terminal re-registers in the current area and uses the new anchor point equipment. In this way, when the terminal uses the service, the traffic will no longer be detoured to the anchor device before the terminal has not re-registered with the network, saving network resources.

可选的,结合上述图5,如图6所示,上述S501可以包括S601-S602。Optionally, with reference to the foregoing FIG. 5 , as shown in FIG. 6 , the foregoing S501 may include S601-S602.

S601、AMF实体在确定终端进入服务区域时,启动第一设备和定时器。S601. When determining that the terminal enters the service area, the AMF entity starts the first device and the timer.

其中,在服务区域内,终端通过第一设备与终端的锚点设备通信,定时器用于表征第一设备运行的时长。Wherein, within the service area, the terminal communicates with the anchor device of the terminal through the first device, and the timer is used to represent the running time of the first device.

S602、在定时器的时长等于预设时长时,AMF实体确定终端在服务区域内的驻留时长大于或等于预设时长。S602. When the duration of the timer is equal to the preset duration, the AMF entity determines that the terminal duration in the service area is greater than or equal to the preset duration.

其中,AMF实体在确定定时器的时长等于预设时长时关闭定时器。The AMF entity turns off the timer when it is determined that the duration of the timer is equal to the preset duration.

可选的,结合上述图5,如图7所示,上述S503可以包括S701-S702。Optionally, with reference to the foregoing FIG. 5 , as shown in FIG. 7 , the foregoing S503 may include S701-S702.

S701、AMF实体获取空口接口的状态信息。S701. The AMF entity obtains the state information of the air interface interface.

其中,空口接口为终端与接入网设备之间的接口、接入网设备与AMF实体之间的接口、接入网设备与用户面功能UPF实体之间的接口中的至少一个。结合图2所示,空口接口指N1、N2和N3。The air interface is at least one of the interface between the terminal and the access network device, the interface between the access network device and the AMF entity, and the interface between the access network device and the user plane function UPF entity. With reference to Figure 2, the air interface interfaces refer to N1, N2 and N3.

S702、AMF实体判断空口接口是否处于断开状态。S702. The AMF entity determines whether the air interface is in a disconnected state.

当确定空口接口处于断开状态时,执行S504。当确定空口接口处于断开状态时,执行S505。When it is determined that the air interface is in a disconnected state, perform S504. When it is determined that the air interface is in a disconnected state, perform S505.

可选的,结合上述图5,如图7所示,在执行上述S508之前,还可以包括:S801。Optionally, with reference to the foregoing FIG. 5 , as shown in FIG. 7 , before performing the foregoing S508 , the method may further include: S801 .

S801、PCF实体确定当前网络处于空闲状态。S801. The PCF entity determines that the current network is in an idle state.

上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The solutions provided by the embodiments of the present application have been introduced above mainly from the perspective of methods. In order to realize the above-mentioned functions, it includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that, in conjunction with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.

本申请实施例可以根据上述方法示例对通信装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the communication device may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. Optionally, the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and another division manner may be used in actual implementation.

如图8所示,为本申请实施例提供的一种通信装置90的结构示意图。该通信装置90用于解决终端在其他区域进行通信仍需要连接到锚点设备造成网络资源浪费的技术问题。该通信装置90应用于AMF实体,包括:处理单元901和通信单元902。As shown in FIG. 8 , it is a schematic structural diagram of a communication apparatus 90 according to an embodiment of the present application. The communication device 90 is used to solve the technical problem that the terminal still needs to be connected to the anchor point device for communication in other areas, resulting in waste of network resources. The communication device 90 is applied to an AMF entity, including: a processing unit 901 and a communication unit 902 .

处理单元901,用于确定终端在AMF实体的服务区域内的驻留时长大于或等于预设时长。终端的锚点设备无法为服务区域内的其他终端提供服务。例如,结合图5,处理单元901用于S501。The processing unit 901 is configured to determine that the terminal duration in the service area of the AMF entity is greater than or equal to a preset duration. The terminal's anchor device cannot serve other terminals in the service area. For example, in conjunction with FIG. 5, the processing unit 901 is used for S501.

通信单元902,用于在确定终端未传输数据的情况下,向策略控制功能PCF实体发送请求。该请求用于请求确定是否指示终端重新发起网络注册。例如,结合图5,通信单元902用于执行S504。The communication unit 902 is configured to send a request to the policy control function PCF entity when it is determined that the terminal does not transmit data. This request is used to request to determine whether to instruct the terminal to re-initiate network registration. For example, in conjunction with FIG. 5, the communication unit 902 is configured to perform S504.

通信单元902,还用于在接收到来自PCF实体发送的重新注册策略后,根据重新注册策略与终端通信,以实现终端的重新注册。结合图5,通信单元902用于执行S509。The communication unit 902 is further configured to communicate with the terminal according to the re-registration policy after receiving the re-registration policy sent from the PCF entity, so as to realize the re-registration of the terminal. With reference to FIG. 5 , the communication unit 902 is configured to execute S509.

可选的,请求包括终端的标识和终端所属网络的信息。Optionally, the request includes the identifier of the terminal and information of the network to which the terminal belongs.

可选的,处理单元901具体用于:在确定终端进入服务区域时,启动第一设备和定时器;在服务区域内,终端通过第一设备与终端的锚点设备通信,定时器用于表征第一设备运行的时长;在定时器的时长等于预设时长时,确定终端在服务区域内的驻留时长大于或等于预设时长。结合图6所示,处理单元901用于执行S601和S602。Optionally, the processing unit 901 is specifically configured to: start the first device and the timer when it is determined that the terminal enters the service area; within the service area, the terminal communicates with the anchor device of the terminal through the first device, and the timer is used to represent the first device. A running duration of the device; when the duration of the timer is equal to the preset duration, it is determined that the dwell duration of the terminal in the service area is greater than or equal to the preset duration. As shown in FIG. 6 , the processing unit 901 is configured to execute S601 and S602.

可选的,处理单元901还用于:在定时器的时长等于预设时长时,关闭定时器。Optionally, the processing unit 901 is further configured to: when the duration of the timer is equal to the preset duration, turn off the timer.

可选的,处理单元901具体用于:获取空口接口的状态信息,空口接口为终端与接入网设备之间的接口、接入网设备与AMF实体之间的接口、接入网设备与用户面功能UPF实体之间的接口中的至少一个若空中接口处于断开状态,则确定终端未传输数据。结合图7所示,处理单元901用于执行S701和S702。Optionally, the processing unit 901 is specifically configured to: obtain state information of an air interface interface, where the air interface interface is an interface between a terminal and an access network device, an interface between an access network device and an AMF entity, and an access network device and a user. If at least one of the interfaces between the plane function UPF entities is in a disconnected state, it is determined that the terminal does not transmit data. As shown in FIG. 7 , the processing unit 901 is configured to execute S701 and S702.

可选的,处理单元901还用于:在确定终端不再驻留于服务区域的情况下,关闭第一设备。其中,关闭第一设备指将区域1和区域2共同构建的网络架构中的I-SMF和I-UPF删除,以使得终端不再通过第一设备连接到锚点设备UPF。Optionally, the processing unit 901 is further configured to: in the case that it is determined that the terminal no longer resides in the service area, shut down the first device. Wherein, shutting down the first device refers to deleting the I-SMF and I-UPF in the network architecture jointly constructed by the area 1 and the area 2, so that the terminal is no longer connected to the anchor device UPF through the first device.

作为一个示例,结合图8,通信装置90中的处理单元901实现的功能与图3中的处理器21的功能相同。As an example, in conjunction with FIG. 8 , the functions implemented by the processing unit 901 in the communication device 90 are the same as those of the processor 21 in FIG. 3 .

如图9所示,为本申请实施例提供的一种通信装置100的结构示意图。该通信装置100用于解决终端在其他区域进行通信仍需要连接到锚点设备造成网络资源浪费的技术问题。该通信装置100应用于AMF实体,包括:As shown in FIG. 9 , it is a schematic structural diagram of a communication apparatus 100 according to an embodiment of the present application. The communication apparatus 100 is used to solve the technical problem that the terminal still needs to be connected to the anchor point device for communication in other areas, resulting in waste of network resources. The communication device 100 is applied to an AMF entity, including:

I-SMF管理模块1001:负责I-SMF实体的启动和关闭。I-SMF management module 1001: responsible for the startup and shutdown of the I-SMF entity.

门限设定模块1002:预先根据终端的实际情况配置时间门限。Threshold setting module 1002: configure a time threshold in advance according to the actual situation of the terminal.

事件采集模块1003:采集三类事件:1、终端移入该AMF实体的覆盖区,AMF实体为其启动I-SMF实体;2、针对该终端,AMF实体与RAN实体之间的N2接口连接断开,且原因值为终端非激活;3、终端移出了当前AMF实体或I-SMF实体的覆盖区。Event collection module 1003: collect three types of events: 1. The terminal moves into the coverage area of the AMF entity, and the AMF entity starts the I-SMF entity for it; 2. For the terminal, the N2 interface connection between the AMF entity and the RAN entity is disconnected , and the cause value is terminal inactivation; 3. The terminal moves out of the coverage area of the current AMF entity or I-SMF entity.

计时器1004:根据事件采集模块1003的通知启动计时,达到门限设定模块中的门限值,通知事件上报模块1005进行事件上报,并关闭计时器1004。Timer 1004: Start timing according to the notification from the event collection module 1003, reach the threshold value in the threshold setting module, notify the event reporting module 1005 to report the event, and close the timer 1004.

事件上报模块1005:向PCF实体上报两类事件:a、接入当前AMF实体的覆盖区的终端驻留,b、终端移出(AMF实体或I-SMF实体的)覆盖区。Event reporting module 1005: report two types of events to the PCF entity: a, the terminal accessing the coverage area of the current AMF entity stays, b, the terminal moves out of the coverage area (of the AMF entity or the I-SMF entity).

策略接收模块1006:接收PCF实体下发的策略,并通知相应的去注册触发模块1007执行。结合图5所示,策略包含于S509的第一信息中。Policy receiving module 1006: Receive the policy issued by the PCF entity, and notify the corresponding de-registration triggering module 1007 to execute the policy. With reference to Fig. 5, the strategy is included in the first information of S509.

去注册触发模块1007:根据PCF实体下发的策略,主动发起终端的去注册流程。Deregistration triggering module 1007 : according to the policy issued by the PCF entity, actively initiate the deregistration process of the terminal.

结合图8与图9,处理单元901中包括:I-SMF管理模块1001、门限设定模块1002、事件采集模块1003和计时器1004;通信模块902包括:事件上报模块1005、策略接收模块1006和去注册触发模块1007。8 and 9, the processing unit 901 includes: an I-SMF management module 1001, a threshold setting module 1002, an event collection module 1003 and a timer 1004; the communication module 902 includes: an event reporting module 1005, a policy receiving module 1006 and Deregister trigger module 1007.

如图10所示,为本申请实施例提供的另一种通信装置200的结构示意图。该通信装置200应用于PCF实体,包括:处理单元2001和通信单元2002。As shown in FIG. 10 , it is a schematic structural diagram of another communication apparatus 200 according to an embodiment of the present application. The communication apparatus 200 is applied to a PCF entity, and includes: a processing unit 2001 and a communication unit 2002 .

通信单元2001,用于接收来自AMF实体的请求,请求用于请求确定是否指示终端重新发起网络注册;请求包括终端的标识和终端所属网络的信息。结合图5所示,通信单元2001用于执行S506。The communication unit 2001 is configured to receive a request from an AMF entity, and the request is used to request to determine whether to instruct the terminal to re-initiate network registration; the request includes an identifier of the terminal and information of the network to which the terminal belongs. As shown in FIG. 5 , the communication unit 2001 is configured to execute S506.

处理单元2002,用于根据终端的标识和终端所属网络的信息,确定第一信息,第一信息用于指示是否指示终端重新发起网络注册。结合图5所示,处理单元2002用于执行S507。The processing unit 2002 is configured to determine the first information according to the identification of the terminal and the information of the network to which the terminal belongs, where the first information is used to indicate whether to instruct the terminal to re-initiate network registration. As shown in FIG. 5 , the processing unit 2002 is configured to execute S507.

通信单元2001,还用于向AMF实体发送第一信息。结合图5所示,通信单元2001用于执行S508。The communication unit 2001 is further configured to send the first information to the AMF entity. As shown in FIG. 5 , the communication unit 2001 is configured to execute S508.

可选的,第一信息包括重新注册策略,第一信息具体用于指示根据重新注册策略指示终端重新发起网络注册。Optionally, the first information includes a re-registration policy, and the first information is specifically used to instruct the terminal to re-initiate network registration according to the re-registration policy.

可选的,处理单元2002还用于:确定PCF实体当前网络处于空闲状态。结合图7所示,用于执行S801。Optionally, the processing unit 2002 is further configured to: determine that the current network of the PCF entity is in an idle state. With reference to Fig. 7, it is used to execute S801.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令。当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的通信方法中,通信装置执行的各个步骤。Embodiments of the present application further provide 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 each step performed by the communication apparatus in the communication method provided by the above embodiments.

本申请实施例还提供一种计算机程序产品,该计算机程序产品可直接加载到存储器中,并含有软件代码,该计算机程序产品经由计算机载入并执行后能够实现上述实施例提供的通信方法中,通信装置执行的各个步骤。The embodiments of the present application also provide a computer program product, which can be directly loaded into a memory and contains software codes, and after the computer program product is loaded and executed by a computer, can implement the communication methods provided by the above embodiments, The various steps performed by the communication device.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机执行指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digitalsubscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can 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 the computer-executed instructions are loaded and executed on the computer, the flow or function according to the embodiments of the present application is generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a 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, for example, the computer instructions may be transmitted from a website site, computer, server, or data center over a wire (e.g. coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) means to another website site, computer, server or data center. Computer-readable storage media can be any available media that can be accessed by a computer or data storage devices including one or more servers, data centers, etc., that can be integrated with the media. Useful media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。From 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 functional modules is used as an example for illustration. In practical applications, the above functions can be allocated as required. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules, so as 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 apparatus and method may be implemented in other manners. For example, the apparatus 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 manners in actual implementation. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms. Units described as separate components may or may not be physically separated, and components shown as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in 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, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium Among them, several instructions are included to cause a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical scope disclosed by the present invention can easily think of changes or substitutions. All should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (11)

1. A communication method applied to an access and mobility management function (AMF) entity is characterized by comprising the following steps:
the AMF entity determines that the residence time of the terminal in the service area of the AMF entity is greater than or equal to a preset time; the anchor point equipment of the terminal can not provide service for other terminals in the service area;
under the condition that the terminal is determined not to transmit data, the AMF entity sends a request to a Policy Control Function (PCF) entity, wherein the request is used for requesting to determine whether to instruct the terminal to initiate network registration again;
after receiving the re-registration strategy sent by the PCF entity, the AMF entity communicates with the terminal according to the re-registration strategy so as to realize the re-registration of the terminal.
2. The communication method according to claim 1, wherein the request includes an identification of the terminal and information of a network to which the terminal belongs.
3. The communication method according to claim 1,
the determining, by the AMF entity, that a residence time of the terminal in a service area of the AMF entity is greater than or equal to a preset time includes:
starting first equipment and a timer when the terminal is determined to enter the service area; in the service area, the terminal communicates with an anchor point device of the terminal through the first device, and the timer is used for representing the running time of the first device;
and when the duration of the timer is equal to the preset duration, determining that the residence duration of the terminal in the service area is greater than or equal to the preset duration.
4. The communication method according to claim 3, further comprising:
and when the time length of the timer is equal to the preset time length, closing the timer.
5. The communication method according to claim 1,
the determining that the terminal does not transmit data includes:
acquiring state information of an air interface, wherein the air interface is at least one of an interface between the terminal and access network equipment, an interface between the access network equipment and the AMF entity, and an interface between the access network equipment and a User Plane Function (UPF) entity;
and if the air interface is in a disconnected state, determining that the terminal does not transmit data.
6. The communication method according to any one of claims 3 to 5, further comprising:
and turning off the first equipment under the condition that the terminal is determined to no longer reside in the service area.
7. A communication method applied to a Policy Control Function (PCF) entity is characterized by comprising the following steps:
the PCF entity receives a request from the AMF entity, wherein the request is used for requesting to determine whether to instruct the terminal to initiate network registration again; the request comprises the identification of the terminal and the information of the network to which the terminal belongs;
the PCF entity determines first information according to the identification of the terminal and the information of the network to which the terminal belongs, wherein the first information is used for indicating whether to instruct the terminal to reinitiate network registration;
and the PCF entity sends the first information to the AMF entity.
8. The communication method according to claim 7, wherein the first information includes a re-registration policy, and the first information is specifically used to indicate that the terminal is instructed to re-initiate network registration according to the re-registration policy.
9. The method of communicating of claim 7, wherein prior to the PCF entity sending the first information to the AMF entity, the method of communicating further comprises:
the PCF entity determines that the current network is in an idle state.
10. A communication device, adapted to an access and mobility management function, AMF, entity, the communication device comprising: a processing unit and a communication unit;
the processing unit is used for determining that the residence time of the terminal in the service area of the AMF entity is greater than or equal to a preset time; the anchor point equipment of the terminal can not provide service for other terminals in the service area;
the communication unit is used for sending a request to a Policy Control Function (PCF) entity under the condition that the terminal is determined not to transmit data, wherein the request is used for requesting whether to instruct the terminal to initiate network registration again;
the communication unit is further configured to communicate with the terminal according to the re-registration policy after receiving the re-registration policy sent by the PCF entity, so as to implement re-registration of the terminal.
11. A communication apparatus, applied to a policy control function, PCF, entity, the communication apparatus comprising: a communication unit and a processing unit;
the communication unit is used for receiving a request from the AMF entity, wherein the request is used for requesting to determine whether to instruct the terminal to reinitiate network registration; the request comprises the identification of the terminal and the information of the network to which the terminal belongs;
the processing unit is configured to determine first information according to the identifier of the terminal and information of a network to which the terminal belongs, where the first information is used to indicate whether to instruct the terminal to re-initiate network registration;
the communication unit is further configured to send the first information to the AMF entity.
CN202011281060.7A 2020-11-16 2020-11-16 A kind of network registration method and device Active CN112291752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011281060.7A CN112291752B (en) 2020-11-16 2020-11-16 A kind of network registration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011281060.7A CN112291752B (en) 2020-11-16 2020-11-16 A kind of network registration method and device

Publications (2)

Publication Number Publication Date
CN112291752A CN112291752A (en) 2021-01-29
CN112291752B true CN112291752B (en) 2022-08-12

Family

ID=74399237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011281060.7A Active CN112291752B (en) 2020-11-16 2020-11-16 A kind of network registration method and device

Country Status (1)

Country Link
CN (1) CN112291752B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473417B (en) * 2021-06-01 2022-08-19 中国电信股份有限公司 Processing method and device for access service, storage medium and electronic equipment
CN115734170A (en) * 2021-08-31 2023-03-03 华为技术有限公司 A multicast/broadcast session management method and communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094509A (en) * 2006-06-20 2007-12-26 华为技术有限公司 Evolution network, and method for moving anchor point of user device
CN110290471A (en) * 2017-03-17 2019-09-27 华为技术有限公司 A kind of method, apparatus and communication system initiating user plane path and rebuilding
CN110324152A (en) * 2018-03-30 2019-10-11 华为技术有限公司 Strategy and charging control rule acquisition methods, apparatus and system
CN111200857A (en) * 2018-11-19 2020-05-26 电信科学技术研究院有限公司 User route updating method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0111290D0 (en) * 2001-05-09 2001-06-27 Nokia Corp Registration in a communication system
US10332037B2 (en) * 2012-12-17 2019-06-25 Events Online Inc. Methods and systems for automatic registration using previously used credentials

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094509A (en) * 2006-06-20 2007-12-26 华为技术有限公司 Evolution network, and method for moving anchor point of user device
CN110290471A (en) * 2017-03-17 2019-09-27 华为技术有限公司 A kind of method, apparatus and communication system initiating user plane path and rebuilding
CN110324152A (en) * 2018-03-30 2019-10-11 华为技术有限公司 Strategy and charging control rule acquisition methods, apparatus and system
CN111200857A (en) * 2018-11-19 2020-05-26 电信科学技术研究院有限公司 User route updating method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
S2-179151 "TS:23.502: UE Policy delivery";Ericsson;《3GPP tsg_sa\WG2_Arch》;20171204;第1-22页 *

Also Published As

Publication number Publication date
CN112291752A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
US10743279B2 (en) Network registration and network slice selection system and method
US20220408395A1 (en) Method and apparatus for supporting access control and mobility management
CN107770815B (en) A location-based MEC method and device
WO2020147837A1 (en) Information transmission method and communication device
WO2019174115A1 (en) Method and apparatus for updating ue policy, and computer storage medium
WO2019033796A1 (en) Session processing method and related device
WO2017125025A1 (en) Call method, device, system, and storage medium
US11051268B2 (en) Service activation and deactivation method, device and computer storage medium
CN112788085A (en) Data caching method and device
CN112291752B (en) A kind of network registration method and device
WO2021134167A1 (en) Roaming method, apparatus and system
WO2023035925A1 (en) Service processing method, apparatus and system
CN118921648A (en) Enhancement for user equipment network slice management
WO2022068771A1 (en) Communication method and communication apparatus
WO2024055815A1 (en) Edge psa management method, and electronic device and computer-readable medium
CN114885009B (en) Information updating method, system, electronic equipment and storage medium
WO2019136582A1 (en) Data transmission method and apparatus, and computer storage medium
CN117500011A (en) A method and device for accessing 5G network
WO2019127002A1 (en) Data transmission method and device, and computer storage medium
CN110971572A (en) Authentication method, server and client

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