CN110167052B - A kind of AMF network element deployment system and operation method based on pool technology - Google Patents
A kind of AMF network element deployment system and operation method based on pool technology Download PDFInfo
- Publication number
- CN110167052B CN110167052B CN201910270944.3A CN201910270944A CN110167052B CN 110167052 B CN110167052 B CN 110167052B CN 201910270944 A CN201910270944 A CN 201910270944A CN 110167052 B CN110167052 B CN 110167052B
- Authority
- CN
- China
- Prior art keywords
- amf
- amf node
- service
- node
- pool
- 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 22
- 238000005516 engineering process Methods 0.000 title claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 24
- 238000012544 monitoring process Methods 0.000 claims description 10
- 101100240462 Homo sapiens RASAL2 gene Proteins 0.000 claims description 9
- 102100035410 Ras GTPase-activating protein nGAP Human genes 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 5
- 238000013508 migration Methods 0.000 claims description 4
- 230000005012 migration Effects 0.000 claims description 4
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000004806 packaging method and process Methods 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 6
- 230000003993 interaction Effects 0.000 abstract description 4
- 230000011664 signaling Effects 0.000 abstract description 4
- 238000013461 design Methods 0.000 abstract description 3
- 230000008602 contraction Effects 0.000 abstract 1
- 239000010410 layer Substances 0.000 description 43
- 238000012795 verification Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000002346 layers by function Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明属于网络通信技术领域,具体是一种基于池技术的AMF网元部署系统及运行方法。The invention belongs to the technical field of network communication, in particular to an AMF network element deployment system and operation method based on a pool technology.
背景技术Background technique
传统4G核心网网元如MME是与专用硬件相耦合,网络的更新升级必须涉及到设备的更换,网络功能与硬件之间高耦合不利于之后的维护工作。5G核心网借鉴了微服务的设计理念,对传统网元进行了重构。所谓微服务,是一种将单应用程序作为一套小型服务开发的方法,每种应用程序都在自己的进程中运行,并与轻量级机制(通常是HTTP资源的API)进行通信。传统网元划分为更轻量级的网络功能,网络功能又被定义为可被灵活调用相对独立的服务模块,例如,4G中MME网元具有接入控制功能、移动性管理功能以及会话管理功能,在5G中MME实体被划分为AMF和SMF两个独立模块,其中AMF被用于处理用户接入和移动性管理,负责处理用户的注册请求和身份认证;SMF通过与用户面建立N4接口连接来进行PDU会话的管理。AMF网络功能与SMF网络功能之间通过服务化接口实现相互交互,这种微服务的设计具有更好的独立扩展性,且提高了接口的效率。The traditional 4G core network elements such as MME are coupled with dedicated hardware. The update and upgrade of the network must involve the replacement of equipment. The high coupling between network functions and hardware is not conducive to subsequent maintenance work. The 5G core network draws on the design concept of microservices and reconstructs traditional network elements. Microservices are an approach to developing a single application as a set of small services, each running in its own process and communicating with a lightweight mechanism (usually an API for HTTP resources). Traditional network elements are divided into more lightweight network functions, and network functions are defined as relatively independent service modules that can be flexibly invoked. For example, in 4G, MME network elements have access control functions, mobility management functions, and session management functions. , In 5G, the MME entity is divided into two independent modules, AMF and SMF, in which AMF is used to handle user access and mobility management, and is responsible for processing user registration requests and identity authentication; SMF establishes an N4 interface connection with the user plane. to manage PDU sessions. The AMF network function and the SMF network function interact with each other through service-oriented interfaces. The design of this microservice has better independent scalability and improves the efficiency of the interface.
在4G网络中为了解决单点MME发生故障引起的无法工作的问题,引入了MME池这一概念,多个MME组成MME池,池内所有MME共同服务于池所服务的区域,当连接的用户在池所服务的区域内移动时,不需要进行重新的附着过程。In the 4G network, in order to solve the problem of inability to work due to the failure of a single-point MME, the concept of MME pool is introduced. Multiple MMEs form an MME pool. All MMEs in the pool jointly serve the area served by the pool. No re-attachment process is required when moving within the area served by the pool.
MME池技术目前已经在4G网络中得到广泛的应用。这里介绍一下该技术实现负载均衡的流程。MME pool technology has been widely used in 4G networks. Here is an introduction to the process of this technology to achieve load balancing.
Step1:MME POOL中的MME定时获取自身的相对权重参数,创建S1配置更新请求消息,并携带相对权重参数,将该消息发往eNodeB。Step 1: The MME in the MME POOL regularly obtains its own relative weight parameters, creates an S1 configuration update request message, carries the relative weight parameters, and sends the message to the eNodeB.
Step2:UE向eNodeB发送附着请求消息。Step 2: The UE sends an attach request message to the eNodeB.
Step3:eNodeB收到MME发来的MME配置更新请求消息后解析消息,更新对应MME相对权重参数,为UE选择权重最大的MME接入。Step 3: After receiving the MME configuration update request message sent by the MME, the eNodeB parses the message, updates the corresponding MME relative weight parameter, and selects the MME access with the largest weight for the UE.
该技术有效解决了MME单点故障问题,也保证了各个MME能够均匀的处理网络中的请求。This technology effectively solves the MME single point of failure problem, and also ensures that each MME can evenly process requests in the network.
池技术很好的解决了MME过载负载问题,但由于4G网络中MME与专用硬件的高耦合性,因此一个MME POOL内的MME数量是固定的,想要增加池内的MME数量难度较大,无法根据用户请求动态的调整池内MME节点数,而且维护起来也不方便,同时随着业务需求的不断扩大,硬件的升级也需要考虑,因此对运营商来说运维的成本太高。现有的核心网在对网络功能进行设计部署时,还未克服上述缺陷,亟需进一步改进。Pool technology solves the problem of MME overload, but due to the high coupling between MME and dedicated hardware in the 4G network, the number of MMEs in an MME POOL is fixed, and it is difficult to increase the number of MMEs in the pool. The number of MME nodes in the pool is dynamically adjusted according to user requests, and it is inconvenient to maintain. At the same time, with the continuous expansion of business requirements, hardware upgrades also need to be considered, so the operation and maintenance costs are too high for operators. When designing and deploying network functions in the existing core network, the above-mentioned defects have not yet been overcome, and further improvement is urgently needed.
发明内容SUMMARY OF THE INVENTION
本发明的目的是针对目前核心网单节点出故障时无法正常提供服务以及服务分摊的问题,提供一种基于池技术的AMF网元部署系统及运行方法,通过对AMF节点进行虚拟化设计,能够实现其在系统中根据实时性能自动伸缩,同时当某个AMF节点出故障时,新的AMF节点能够通过服务调用取代故障AMF节点继续为UE提供服务,而UE无需重新向网络侧进行注册和身份验证等操作,避免了因网络侧故障而出现频繁的信令交互过程。The purpose of the present invention is to provide an AMF network element deployment system and operation method based on the pool technology in view of the problem that services cannot be normally provided and service allocation when a single node of the core network fails. It can automatically scale in the system according to real-time performance. At the same time, when an AMF node fails, the new AMF node can replace the faulty AMF node and continue to provide services for the UE through service calls, and the UE does not need to re-register and identify with the network side. Verification and other operations avoid frequent signaling interactions due to network side failures.
为实现上述目的,本发明采用的技术方案是:For achieving the above object, the technical scheme adopted in the present invention is:
一种基于池技术的AMF网元部署系统,包括AMF节点池以及与所述AMF节点池连接的AMF节点控制模块;所述AMF节点池内设有若干AMF节点,所述若干AMF节点分别与AMF节点控制模块连接;所述AMF节点包括依次连接的网络接口层、协议解析层和应用功能层;所述网络接口层用于AMF节点与其他网络节点(其他网络节点指UE端网络节点和AMF节点控制模块)之间的通信;所述协议解析层用于解析和打包协议解析层与网络接口层、应用功能层之间传输的数据;所述应用功能层用于AMF的接入管理、服务调用以及定时监控;所述AMF节点控制模块包括服务注册发现模块和自动伸缩控制模块;所述服务注册发现模块用于提供服务注册功能和服务发现功能;所述自动伸缩控制模块用于根据向核心网侧发起请求的UE数量来调整AMF节点池中的AMF节点数量。An AMF network element deployment system based on pool technology, comprising an AMF node pool and an AMF node control module connected to the AMF node pool; the AMF node pool is provided with several AMF nodes, and the several AMF nodes are respectively connected with the AMF nodes The control module is connected; the AMF node includes a network interface layer, a protocol analysis layer and an application function layer that are connected in turn; the network interface layer is used for the AMF node and other network nodes (other network nodes refer to UE-side network nodes and AMF nodes control module); the protocol parsing layer is used to parse and package the data transmitted between the protocol parsing layer, the network interface layer and the application function layer; the application function layer is used for AMF access management, service invocation and timing monitoring; the AMF node control module includes a service registration discovery module and an automatic scaling control module; the service registration discovery module is used to provide a service registration function and a service discovery function; the automatic scaling control module is used to The number of UEs that initiate the request adjusts the number of AMF nodes in the AMF node pool.
具体地,所述网络接口层包括N2接口和Namf接口;所述N2接口用于AMF节点与RAN节点之间的连接;所述Namf接口用于AMF节点与NF节点之间的连接。Specifically, the network interface layer includes an N2 interface and a Namf interface; the N2 interface is used for the connection between the AMF node and the RAN node; the Namf interface is used for the connection between the AMF node and the NF node.
具体地,所述协议解析层包括NAS消息处理模块、NG-AP消息处理模块和HTTP/2消息处理模块;所述NAS消息处理模块与NG-AP消息处理模块连接;所述NG-AP消息处理模块与网络接口层的N2接口之间通过SCTP协议传输数据;所述HTTP/2消息处理模块与网络接口层的Namf接口之间通过UDP协议传输数据。Specifically, the protocol analysis layer includes a NAS message processing module, a NG-AP message processing module and an HTTP/2 message processing module; the NAS message processing module is connected with the NG-AP message processing module; the NG-AP message processing module Data is transmitted between the module and the N2 interface of the network interface layer through the SCTP protocol; data is transmitted between the HTTP/2 message processing module and the Namf interface of the network interface layer through the UDP protocol.
具体地,所述应用功能层包括接入管理模块、服务调用模块和伸缩监控模块;所述接入管理模块用于实现AMF的接入管理功能;所述服务调用模块用于实现一个AMF节点向另一个AMF节点调用服务的功能;所述伸缩监控模块用于定时监控当前AMF节点所在虚拟机的CPU占用率。Specifically, the application function layer includes an access management module, a service invocation module and a scaling monitoring module; the access management module is used to implement the access management function of AMF; the service invocation module is used to implement an AMF node to Another AMF node invokes a service function; the scaling monitoring module is used to regularly monitor the CPU occupancy rate of the virtual machine where the current AMF node is located.
具体地,所述服务注册发现模块通过在每个服务启动时,在该服务的配置文件中定义服务注册发现中心,然后将该服务的节点信息注册至服务注册中心,即提供服务注册功能;服务消费端再根据配置文件订阅所要调用的服务,所述服务注册发现模块再从本地缓存中获取待调用服务的地址信息,执行远程调用服务。Specifically, the service registration discovery module provides a service registration function by defining a service registration discovery center in the configuration file of the service when each service is started, and then registering the node information of the service to the service registration center; The consumer end subscribes to the service to be called according to the configuration file, and the service registration and discovery module obtains the address information of the service to be called from the local cache, and executes the remote calling of the service.
与上述AMF网元部署系统相对应地,本发明还提供了一种基于池技术的AMF网元部署系统的运行方法,具体包括如下步骤:Corresponding to the above-mentioned AMF network element deployment system, the present invention also provides an operation method of the AMF network element deployment system based on the pool technology, which specifically includes the following steps:
S1,UE向第一AMF节点发起注册请求,该请求经由第一AMF节点的网络接口层接收后,再经由协议解析层解析,最后由协议解析层发送给应用功能层;S1, the UE initiates a registration request to the first AMF node, the request is received by the network interface layer of the first AMF node, parsed by the protocol parsing layer, and finally sent to the application function layer by the protocol parsing layer;
S2,应用功能层向UE发起一系列的NGAP指令,UE成功响应应用功能层发来的NGAP指令后,向第一AMF节点的应用功能层发送注册完成消息,此时UE正常从网络侧获取服务;S2, the application function layer initiates a series of NGAP commands to the UE. After the UE successfully responds to the NGAP command sent by the application function layer, it sends a registration completion message to the application function layer of the first AMF node. At this time, the UE normally obtains services from the network side ;
S3,当应用功能层监测到第一AMF节点连接的UE数量过多时,第一AMF节点向AMF节点控制模块发送请求服务迁移消息;S3, when the application function layer monitors that the number of UEs connected to the first AMF node is too large, the first AMF node sends a request service migration message to the AMF node control module;
S4,AMF节点控制模块在AMF节点池中选择当前较为空闲的第二AMF节点,并通知第二AMF节点去代替第一AMF节点继续为UE提供服务;S4, the AMF node control module selects a currently relatively idle second AMF node in the AMF node pool, and notifies the second AMF node to replace the first AMF node and continue to provide services for the UE;
S5,第二AMF节点通过第一AMF节点获取UE的注册消息,并通知UE第一AMF节点此时不再提供服务,由第二AMF节点继续提供服务;S5, the second AMF node obtains the registration message of the UE through the first AMF node, and informs the UE that the first AMF node no longer provides services at this time, and the second AMF node continues to provide services;
S6,UE更新AMF节点标识,UE连接上第二AMF节点从网络侧继续获取服务。S6, the UE updates the AMF node identifier, and the UE is connected to the second AMF node and continues to obtain services from the network side.
进一步地,当AMF节点池中所有的AMF节点连接的UE数量均过多/过少时,AMF节点控制模块根据当前AMF节点池中连接的UE数量计算出AFM节点池中最合适的AMF节点数,并通过自动伸缩控制模块增加/减少AMF节点池中的AMF节点数。Further, when the number of UEs connected to all AMF nodes in the AMF node pool is too much/too little, the AMF node control module calculates the most suitable number of AMF nodes in the AFM node pool according to the number of UEs connected in the current AMF node pool, And increase/decrease the number of AMF nodes in the AMF node pool through the automatic scaling control module.
具体地,步骤S1中,所述协议解析层通过NG-AP消息处理模块对UE发起的注册请求进行解析。Specifically, in step S1, the protocol parsing layer parses the registration request initiated by the UE through the NG-AP message processing module.
具体地,步骤S2中,所述NGAP指令包括UE身份验证、UE上下文建立。Specifically, in step S2, the NGAP instruction includes UE identity verification and UE context establishment.
具体地,所述AMF节点控制模块根据AMF节点池中AMF节点所在虚拟机的CPU占用率的大小来选择当前较为空闲的AMF节点。Specifically, the AMF node control module selects a currently relatively idle AMF node according to the CPU occupancy rate of the virtual machine where the AMF node is located in the AMF node pool.
与现有技术相比,本发明的有益效果是:(1)本发明通过在一个AMF节点池内设置多个AMF节点,同时通过AMF节点控制模块对所有的AMF节点进行监控,通过检测各AMF节点所在虚拟机的CPU占用率来动态调控AMF节点池内的AMF节点数量,避免了因网络中的请求数过多导致AMF节点服务的拥塞以及网络中请求数过少导致AMF节点资源的浪费;(2)本发明的AMF节点池中,当某个AMF节点出现故障或连接数量过多时,新的AMF节点能够通过服务调用新的AMF节点取代故障AMF节点继续为UE提供服务,而UE无需重新向网络侧进行注册和身份验证等操作,避免了因网络侧故障而出现频繁的信令交互过程。Compared with the prior art, the beneficial effects of the present invention are: (1) the present invention sets up a plurality of AMF nodes in an AMF node pool, and simultaneously monitors all AMF nodes through the AMF node control module, and detects each AMF node by detecting The number of AMF nodes in the AMF node pool is dynamically adjusted by the CPU usage of the virtual machine where it is located, which avoids the congestion of AMF node services caused by too many requests in the network and the waste of AMF node resources caused by too few requests in the network; (2 ) In the AMF node pool of the present invention, when a certain AMF node fails or the number of connections is too large, the new AMF node can call the new AMF node through the service to replace the faulty AMF node and continue to provide services for the UE, and the UE does not need to re-enter the network Registration and authentication are performed on the side, avoiding frequent signaling interactions due to network side failures.
附图说明Description of drawings
图1为本发明AMF节点的整体结构示意框图;1 is a schematic block diagram of the overall structure of an AMF node of the present invention;
图2为本发明AMF节点控制模块的整体结构示意框图;2 is a schematic block diagram of the overall structure of the AMF node control module of the present invention;
图3为本发明AMF节点池的整体结构示意框图;3 is a schematic block diagram of the overall structure of the AMF node pool of the present invention;
图4为本发明实施例2中AMF节点池的服务迁徙方法的流程示意图。FIG. 4 is a schematic flowchart of a service migration method for an AMF node pool in Embodiment 2 of the present invention.
具体实施方式Detailed ways
下面将结合本发明中的附图,对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动条件下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例1Example 1
如图1至3所示,本实施例提供了一种基于池技术的AMF网元部署系统,包括AMF节点池以及与所述AMF节点池连接的AMF节点控制模块;所述AMF节点池内设有若干AMF节点,所述若干AMF节点分别与AMF节点控制模块连接;所述AMF节点包括依次连接的网络接口层、协议解析层和应用功能层;所述网络接口层用于AMF节点与其他网络节点(其他网络节点指UE端网络节点和AMF节点控制模块)之间的通信;所述协议解析层用于解析和打包协议解析层与网络接口层、应用功能层之间传输的数据;所述应用功能层用于AMF的接入管理、服务调用以及定时监控;所述AMF节点控制模块包括服务注册发现模块和自动伸缩控制模块;所述服务注册发现模块用于提供服务注册功能和服务发现功能;所述自动伸缩控制模块用于根据向核心网侧发起请求的UE数量来调整AMF节点池中的AMF节点数量。As shown in Figures 1 to 3, this embodiment provides an AMF network element deployment system based on pool technology, including an AMF node pool and an AMF node control module connected to the AMF node pool; the AMF node pool is provided with Several AMF nodes, the several AMF nodes are respectively connected with the AMF node control module; the AMF nodes include a network interface layer, a protocol analysis layer and an application function layer that are connected in turn; the network interface layer is used for the AMF node and other network nodes. (Other network nodes refer to the communication between the UE-side network node and the AMF node control module); the protocol parsing layer is used to parse and package the data transmitted between the protocol parsing layer, the network interface layer and the application function layer; the application The functional layer is used for AMF access management, service invocation and timing monitoring; the AMF node control module includes a service registration discovery module and an automatic scaling control module; the service registration discovery module is used to provide a service registration function and a service discovery function; The automatic scaling control module is configured to adjust the number of AMF nodes in the AMF node pool according to the number of UEs that initiate requests to the core network side.
具体地,所述AMF节点控制模块设在AMF节点控制中心的应用功能层,所述AMF节点控制中心包括网络接口层、协议解析层和应用功能层,所述服务注册发现模块和自动伸缩控制模块设在应用功能层;所述协议解析层用于解析和打包AMF节点控制模块与AMF节点之间的通信消息;所述网络接口层用于与AMF节点取得通信连接。Specifically, the AMF node control module is set at the application function layer of the AMF node control center, the AMF node control center includes a network interface layer, a protocol analysis layer and an application function layer, the service registration discovery module and the automatic scaling control module. It is located at the application function layer; the protocol analysis layer is used to parse and package the communication messages between the AMF node control module and the AMF node; the network interface layer is used to obtain a communication connection with the AMF node.
具体地,所述网络接口层包括N2接口和Namf接口;所述N2接口用于AMF节点与RAN节点之间的连接;所述Namf接口用于AMF节点与NF节点之间的连接。Specifically, the network interface layer includes an N2 interface and a Namf interface; the N2 interface is used for the connection between the AMF node and the RAN node; the Namf interface is used for the connection between the AMF node and the NF node.
具体地,所述协议解析层包括NAS消息处理模块、NG-AP消息处理模块和HTTP/2消息处理模块;所述NAS消息处理模块与NG-AP消息处理模块连接;所述NG-AP消息处理模块与网络接口层的N2接口之间通过SCTP协议传输数据;所述HTTP/2消息处理模块与网络接口层的Namf接口之间通过UDP协议传输数据。Specifically, the protocol analysis layer includes a NAS message processing module, a NG-AP message processing module and an HTTP/2 message processing module; the NAS message processing module is connected with the NG-AP message processing module; the NG-AP message processing module Data is transmitted between the module and the N2 interface of the network interface layer through the SCTP protocol; data is transmitted between the HTTP/2 message processing module and the Namf interface of the network interface layer through the UDP protocol.
具体地,所述应用功能层包括接入管理模块、服务调用模块和伸缩监控模块;Specifically, the application function layer includes an access management module, a service invocation module and a scaling monitoring module;
所述接入管理模块用于实现AMF的接入管理功能,具有接口管理功能、UE上下文管理功能、UE消息初始化功能、NAS传输功能、UE请求注册/注销功能及身份验证功能;UE向AMF节点发送第一个NAS消息注册请求消息时,RAN节点与AMF节点之间首先需要建立N2接口连接,RAN节点收到来自UE的第一个NAS消息时,会发起初始UE消息流程,该流程属于NGAP功能流程,同时将NAS消息封装在NGAP消息的NAS PDU信元中,由RAN节点进行透明转发,AMF节点收到初始UE消息后解析出RAN NGAP UE ID并检查该UE是否执行过初始UE消息,若没有,为该UE分配结构体存储UE的相关信息。然后AMF节点通过下行NAS传输向UE发起身份请求,UE接收到消息后响应身份消息。AMF节点接收到UE身份响应后向UE发起初始UE上下文请求消息,并发送注册接收消息,即将UE接入该AMF节点。The access management module is used to realize the access management function of AMF, and has interface management function, UE context management function, UE message initialization function, NAS transmission function, UE request registration/deregistration function and identity verification function; When sending the first NAS message registration request message, the N2 interface connection needs to be established between the RAN node and the AMF node. When the RAN node receives the first NAS message from the UE, it will initiate the initial UE message flow, which belongs to NGAP At the same time, the NAS message is encapsulated in the NAS PDU information element of the NGAP message, which is transparently forwarded by the RAN node. After receiving the initial UE message, the AMF node parses the RAN NGAP UE ID and checks whether the UE has executed the initial UE message. If not, allocate the structure for the UE to store the relevant information of the UE. Then the AMF node initiates an identity request to the UE through downlink NAS transmission, and the UE responds to the identity message after receiving the message. After receiving the UE identity response, the AMF node initiates an initial UE context request message to the UE, and sends a registration reception message, that is, the UE accesses the AMF node.
所述服务调用模块用于实现一个AMF节点向另一个AMF节点调用服务的功能,当AMF节点对外提供服务时,AMF节点是服务提供端,服务提供端负责为服务提供者提供服务信息(服务名、所在IP地址等)注册、服务端口等操作;当AMF消费服务时就作为服务消费端,服务消费端想调用服务需要有调用服务的相关信息,如服务方法的地址;The service invocation module is used to realize the function of one AMF node calling service to another AMF node. When the AMF node provides services to the outside world, the AMF node is the service provider, and the service provider is responsible for providing service information (service name) for the service provider. , IP address, etc.) registration, service port and other operations; when AMF consumes a service, it acts as a service consumer. If the service consumer wants to call a service, it needs to have relevant information about the calling service, such as the address of the service method;
所述伸缩监控模块用于定时监控当前AMF节点所在虚拟机的CPU占用率,然后将该值和AMF节点的信息一起打包成HTTP消息发送给AMF节点控制模块中的自动伸缩控制模块,自动伸缩控制模块接收到消息后更新当前AMF节点的信息,并根据当前AMF节点所在虚拟机的CPU占用率的最新值判断是否需要执行伸缩操作;当AMF节点池中所有的AMF节点连接的UE数量均过多/过少时,AMF节点控制模块根据当前AMF节点池中连接的UE数量计算出AFM节点池中最合适的AMF节点数,并通过自动伸缩控制模块增加/减少AMF节点池中的AMF节点数。The scaling monitoring module is used to regularly monitor the CPU occupancy rate of the virtual machine where the current AMF node is located, and then the value and the information of the AMF node are packaged into an HTTP message and sent to the automatic scaling control module in the AMF node control module, and the automatic scaling control The module updates the information of the current AMF node after receiving the message, and judges whether it needs to perform the scaling operation according to the latest value of the CPU usage of the virtual machine where the current AMF node is located; when all the AMF nodes in the AMF node pool are connected to too many UEs When / is too small, the AMF node control module calculates the most suitable number of AMF nodes in the AFM node pool according to the number of connected UEs in the current AMF node pool, and increases/decreases the number of AMF nodes in the AMF node pool through the automatic scaling control module.
具体地,所述服务注册发现模块通过在每个服务启动时,在该服务的配置文件中定义服务注册发现中心,然后将该服务的节点信息注册至服务注册中心,即提供服务注册功能;服务消费端再根据配置文件订阅所要调用的服务,所述服务注册发现模块再从本地缓存中获取待调用服务的地址信息,执行远程调用服务。Specifically, the service registration discovery module provides a service registration function by defining a service registration discovery center in the configuration file of the service when each service is started, and then registering the node information of the service to the service registration center; The consumer end subscribes to the service to be called according to the configuration file, and the service registration and discovery module obtains the address information of the service to be called from the local cache, and executes the remote calling of the service.
实施例2Example 2
如图4所示,本实施例提供了一种基于池技术的AMF网元部署系统的服务迁移方法,该方法具体包括以下步骤:As shown in FIG. 4 , this embodiment provides a service migration method of an AMF network element deployment system based on a pool technology, and the method specifically includes the following steps:
步骤1:正在为用户提供的AMF节点由于某些问题(连接过多造成拥塞或发生故障),无法继续提供服务,向控制中心发送问题信息表明此时需要进行服务迁移,信息中包括自身所在的地址信息;Step 1: The AMF node that is providing users cannot continue to provide services due to some problems (congestion or failure caused by too many connections). Address information;
步骤2:控制中心选取AMF节点池中此时CPU占用率较低的AMF节点;Step 2: The control center selects the AMF node with low CPU usage in the AMF node pool at this time;
步骤3:控制中心向选取的新的AMF节点发送通知,消息中包括旧的AMF节点所在的IP地址,通知新AMF节点去旧的AMF节点去获取用户的上下文信息。Step 3: The control center sends a notification to the selected new AMF node, the message includes the IP address where the old AMF node is located, and notifies the new AMF node to go to the old AMF node to obtain the user's context information.
步骤4:新的AMF节点的服务调用模块通过控制中心的服务注册发现模块获取到旧AMF节点所能提供的服务,通过API接口去从旧的AMF节点调用服务获取UE的上下文信息;Step 4: the service invocation module of the new AMF node obtains the services that the old AMF node can provide through the service registration discovery module of the control center, and calls the service from the old AMF node through the API interface to obtain the context information of the UE;
步骤5:旧的AMF节点响应新的AMF节点所请求的数据,此时用户UE的信息在新的AMF节点中已经存在;Step 5: the old AMF node responds to the data requested by the new AMF node, and the information of the user UE already exists in the new AMF node at this time;
步骤6:旧的AMF节点通知用户UE此时自身无法提供服务,给UE提供新的AMF节点地址,通知UE从新的AMF节点处继续获取服务;Step 6: The old AMF node informs the user that the UE itself cannot provide services at this time, provides the UE with a new AMF node address, and informs the UE to continue to obtain services from the new AMF node;
步骤7:用户UE向新的AMF发起服务请求以获取服务,由于新的AMF节点此时已经从旧的AMF节点获取到UE上下文,UE无需再进行初始UE消息、身份验证、建立UE上下文等流程,UE连接上新的AMF节点从网络侧继续获取服务。Step 7: The user UE initiates a service request to the new AMF to obtain the service. Since the new AMF node has obtained the UE context from the old AMF node at this time, the UE does not need to perform the initial UE message, identity verification, establishment of the UE context and other processes. , the UE is connected to a new AMF node and continues to obtain services from the network side.
本实施例中,本实施例的AMF节点池中,当某个AMF节点出现故障或连接数量过多时,新的AMF节点能够通过服务调用新的AMF节点取代故障AMF节点继续为UE提供服务,而UE无需重新向网络侧进行注册和身份验证等操作,避免了因网络侧故障而出现频繁的信令交互过程。In this embodiment, in the AMF node pool of this embodiment, when a certain AMF node fails or the number of connections is too large, the new AMF node can call the new AMF node through the service to replace the faulty AMF node and continue to provide services for the UE, while The UE does not need to perform operations such as registration and identity verification with the network side again, which avoids frequent signaling interactions due to network side failures.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the present invention is defined by the appended claims and their equivalents.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910270944.3A CN110167052B (en) | 2019-04-04 | 2019-04-04 | A kind of AMF network element deployment system and operation method based on pool technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910270944.3A CN110167052B (en) | 2019-04-04 | 2019-04-04 | A kind of AMF network element deployment system and operation method based on pool technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110167052A CN110167052A (en) | 2019-08-23 |
CN110167052B true CN110167052B (en) | 2022-05-10 |
Family
ID=67638846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910270944.3A Active CN110167052B (en) | 2019-04-04 | 2019-04-04 | A kind of AMF network element deployment system and operation method based on pool technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110167052B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111417151B (en) * | 2020-03-27 | 2021-10-08 | 广州爱浦路网络技术有限公司 | Method and system for backing up AMF in 5G core network |
WO2022151030A1 (en) * | 2021-01-13 | 2022-07-21 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and apparatus for automatic configuration of ng control plane interface |
CN112965698B (en) * | 2021-03-26 | 2023-07-18 | 东软睿驰汽车技术(沈阳)有限公司 | Automatic driving software architecture platform, construction method and construction device |
EP4075751B1 (en) * | 2021-04-13 | 2024-05-29 | Juniper Networks, Inc. | Network controller horizontal scaling for network device configuration sessions management |
CN115278739B (en) * | 2021-04-29 | 2025-06-03 | 中国移动通信集团浙江有限公司 | Fault warning method, device, equipment and computer readable storage medium |
CN113422694B (en) * | 2021-06-08 | 2024-07-12 | 腾讯科技(深圳)有限公司 | Communication method, device, medium and electronic equipment |
CN115913904A (en) * | 2022-11-10 | 2023-04-04 | 深圳艾灵网络有限公司 | Data communication method, device and equipment based on flow control transmission protocol |
CN117580089B (en) * | 2024-01-15 | 2024-04-05 | 东方通信股份有限公司 | AMF overload detection and control implementation method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104284359A (en) * | 2014-06-17 | 2015-01-14 | 南京邮电大学 | A cross-regional disaster recovery system and control method under EPC network |
CN108738077A (en) * | 2017-04-25 | 2018-11-02 | 华为技术有限公司 | A kind of methods, devices and systems of load migration |
CN109327849A (en) * | 2017-07-31 | 2019-02-12 | 华为技术有限公司 | Communication method, device and system |
EP3462770A1 (en) * | 2017-09-29 | 2019-04-03 | Intel IP Corporation | Methods and apparatus for multiple tnl associations between ran and amf for virtualized deployments |
-
2019
- 2019-04-04 CN CN201910270944.3A patent/CN110167052B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104284359A (en) * | 2014-06-17 | 2015-01-14 | 南京邮电大学 | A cross-regional disaster recovery system and control method under EPC network |
CN108738077A (en) * | 2017-04-25 | 2018-11-02 | 华为技术有限公司 | A kind of methods, devices and systems of load migration |
CN109327849A (en) * | 2017-07-31 | 2019-02-12 | 华为技术有限公司 | Communication method, device and system |
EP3462770A1 (en) * | 2017-09-29 | 2019-04-03 | Intel IP Corporation | Methods and apparatus for multiple tnl associations between ran and amf for virtualized deployments |
Non-Patent Citations (1)
Title |
---|
"5G独立组网与非独立组网部署方案分析";朱颖等;《移动通信》;20190115;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110167052A (en) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110167052B (en) | A kind of AMF network element deployment system and operation method based on pool technology | |
US9860787B2 (en) | Communication method and system, access network device, and application server | |
JP6491675B2 (en) | Method and apparatus for virtual base station migration in a BBU pool | |
US9467939B2 (en) | Gateway selection for mobile communications network architecture optimization | |
US11070997B2 (en) | Performance measurement job control for 5G networks and network slicing | |
CN113225782A (en) | System and method for session management | |
US20130286851A1 (en) | Common radio element application manager for wireless small cells | |
CN111247836A (en) | Session management method, terminal device and network device | |
CN112753250B (en) | Method for managing allocation of user equipment to network slices and telecommunication network | |
CN104012066A (en) | Cross-functional virtualization of telecom core network | |
CN108307490B9 (en) | Method for performing light connection control on user equipment and corresponding equipment | |
WO2011091696A1 (en) | Method, device and system for establishing connection between neighbouring base stations | |
WO2021170033A1 (en) | Network configuration method and apparatus | |
US20210352015A1 (en) | Method and device for hosting application by access node | |
US12213049B2 (en) | State pooling for stateful re-homing in a disaggregated radio access network | |
CN112771931B (en) | Method for managing network traffic in a telecommunications network and telecommunications network for managing network traffic | |
US20220338105A1 (en) | Method and system for controlling user equipment policy in wireless network | |
CN114830813A (en) | Early state handling assistance for efficient RRC state change | |
CN108696902B (en) | Method and device for balancing network equipment load | |
CN113473563B (en) | Distribution method, mobile network switching method, system, server and medium | |
KR102402355B1 (en) | Method of Service Recovery Upon Occurrence of a Failure on a Data Packet Processing Device | |
WO2014154072A1 (en) | Mobility management method, device, system and computer storage medium | |
US20230354107A1 (en) | Adjustment of network handover processing based on service time requirements | |
WO2012167446A1 (en) | Control method, communication apparatus, user device and processor for bearer establishment | |
WO2018113363A1 (en) | Data processing method and apparatus |
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 |