CN116261225A - A capacity adjustment method, device and storage medium - Google Patents
A capacity adjustment method, device and storage medium Download PDFInfo
- Publication number
- CN116261225A CN116261225A CN202211685887.3A CN202211685887A CN116261225A CN 116261225 A CN116261225 A CN 116261225A CN 202211685887 A CN202211685887 A CN 202211685887A CN 116261225 A CN116261225 A CN 116261225A
- Authority
- CN
- China
- Prior art keywords
- data processing
- processing unit
- service
- upf
- processing units
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0215—Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了一种容量调节方法、装置及存储介质,涉及通信技术领域,用于解决通用方法无法合理地进行UPF的容量调节的问题。该方法包括:获取在当前时刻,UPF待处理的多个业务的业务数量,然后,可以根据业务数量,确定数据处理单元的目标数量,并指示在UPF上部署目标数量的数据处理单元。其中,目标数量大于或者等于业务数量。本申请可以实现对UPF容量的动态调整。
The present application discloses a capacity adjustment method, device and storage medium, which relate to the field of communication technology and are used to solve the problem that common methods cannot reasonably adjust the capacity of UPF. The method includes: obtaining the business quantity of multiple services to be processed by the UPF at the current moment, and then determining the target number of data processing units according to the business quantity, and instructing to deploy the target number of data processing units on the UPF. Wherein, the target quantity is greater than or equal to the business quantity. This application can realize the dynamic adjustment of UPF capacity.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种容量调节方法、装置及存储介质。The present application relates to the technical field of communications, and in particular to a capacity adjustment method, device and storage medium.
背景技术Background technique
在第五代移动通信技术(5th generation mobile communication technology,5G)的系统架构中,用户面网元(user plane function,UPF)负责对专网中终端用户的数据流量进行分流,以及服务质量(quality of service)控制等服务。若UPF的容量可以随着专网中的业务数量进行调整,则可以在满足业务需求的前提下,有效提高资源利用率,避免资源闲置。In the system architecture of the 5th generation mobile communication technology (5G), the user plane function (UPF) is responsible for offloading the data traffic of end users in the private network, as well as quality of service (QoS). of service) control and other services. If the capacity of the UPF can be adjusted according to the number of services in the private network, it can effectively improve resource utilization and avoid idle resources while meeting service requirements.
目前,通用的UPF的容量调节方法需要停止服务,重新部署处理单元,甚至还需要更换设备硬件,影响用户体验,操作复杂,不适用于动态调整容量。At present, the general UPF capacity adjustment method needs to stop the service, redeploy the processing unit, and even replace the device hardware, which affects the user experience and complicated operation, and is not suitable for dynamic capacity adjustment.
发明内容Contents of the invention
本申请提供一种容量调节方法、装置及存储介质,用于解决通用方法无法合理地进行UPF的容量调节的问题。The present application provides a capacity adjustment method, device and storage medium, which are used to solve the problem that the common method cannot reasonably adjust the capacity of the UPF.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:
第一方面,提供一种容量调节方法,包括:获取在当前时刻,UPF待处理的多个业务的业务数量,然后,可以根据业务数量,确定数据处理单元的目标数量,并指示在UPF上部署目标数量的数据处理单元。其中,目标数量大于或者等于业务数量。In the first aspect, a capacity adjustment method is provided, including: obtaining the business quantity of multiple services to be processed by the UPF at the current moment, and then determining the target number of data processing units according to the business quantity, and instructing deployment on the UPF Target number of data processing units. Wherein, the target quantity is greater than or equal to the business quantity.
可选的,根据业务数量,确定数据处理单元的目标数量的方法,包括:根据业务数量,确定多个业务一一对应的多个主用数据处理单元的数量,以及至少一个备用数据处理单元的数量;将多个主用数据处理单元的数量,与至少一个备用数据处理单元的数量的和,确定为目标数量。Optionally, the method for determining the target number of data processing units according to the number of businesses includes: according to the number of businesses, determining the number of multiple active data processing units corresponding to multiple businesses one-to-one, and the number of at least one standby data processing unit Quantity: determine the sum of the quantity of multiple active data processing units and the quantity of at least one standby data processing unit as the target quantity.
可选的,容量调节方法,还包括:指示第一业务对应的主用数据处理单元,处理第一业务的业务数据;第一业务为多个业务中的任意一个业务。Optionally, the capacity adjustment method further includes: instructing a primary data processing unit corresponding to the first service to process service data of the first service; the first service is any one of multiple services.
可选的,容量调节方法,还包括:当主用数据处理单元处理失败时,指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第一业务的业务数据;当主用数据处理单元恢复后,指示主用数据处理单元处理第一业务的业务数据。Optionally, the capacity adjustment method further includes: when the main data processing unit fails to process, instruct any one of the at least one standby data processing unit to process the business data of the first service; when the main data processing unit recovers After that, instruct the master data processing unit to process the service data of the first service.
可选的,容量调节方法,还包括:当目标数量小于当前数量时,确定待关闭的至少一个数据处理单元;当前数量为当前时刻,UPF上运行的多个数据处理单元的数量;指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据;第二业务为至少一个数据处理单元在当前时刻处理的业务;指示UPF停止部署至少一个数据处理单元。Optionally, the capacity adjustment method further includes: when the target number is less than the current number, determining at least one data processing unit to be shut down; the current number is the number of multiple data processing units running on the UPF at the current moment; indicating at least one Any one of the standby data processing units processes the service data of the second service; the second service is the service processed by at least one data processing unit at the current moment; and instructs the UPF to stop deploying the at least one data processing unit.
第二方面,提供一种容量调节装置,包括:获取单元和处理单元;获取单元,用于获取在当前时刻,UPF待处理的多个业务的业务数量;处理单元,用于根据业务数量,确定数据处理单元的目标数量;目标数量大于或者等于业务数量;处理单元,还用于指示在UPF上部署目标数量的数据处理单元。In a second aspect, a capacity adjustment device is provided, including: an acquisition unit and a processing unit; the acquisition unit is used to acquire the number of services of multiple services to be processed by the UPF at the current moment; the processing unit is used to determine according to the number of services The target quantity of data processing units; the target quantity is greater than or equal to the business quantity; and the processing unit is also used to indicate the deployment of the target quantity of data processing units on the UPF.
可选的,处理单元,具体用于:根据业务数量,确定多个业务一一对应的多个主用数据处理单元的数量,以及至少一个备用数据处理单元的数量;将多个主用数据处理单元的数量,与至少一个备用数据处理单元的数量的和,确定为目标数量。Optionally, the processing unit is specifically used to: determine the number of multiple primary data processing units corresponding to multiple services one-to-one, and the number of at least one standby data processing unit according to the number of services; process multiple primary data The sum of the number of units and the number of at least one spare data processing unit is determined as the target number.
可选的,处理单元,还用于:指示第一业务对应的主用数据处理单元,处理第一业务的业务数据;第一业务为多个业务中的任意一个业务。Optionally, the processing unit is further configured to: instruct a primary data processing unit corresponding to the first service to process service data of the first service; the first service is any one of multiple services.
可选的,处理单元,还用于:当主用数据处理单元处理失败时,指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第一业务的业务数据;当主用数据处理单元恢复后,指示主用数据处理单元处理第一业务的业务数据。Optionally, the processing unit is also used to: when the main data processing unit fails to process, instruct any one of the at least one standby data processing unit to process the business data of the first service; when the main data processing unit recovers After that, instruct the master data processing unit to process the service data of the first service.
可选的,处理单元,还用于:当目标数量小于当前数量时,确定待关闭的至少一个数据处理单元;当前数量为当前时刻,UPF上运行的多个数据处理单元的数量;指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据;第二业务为至少一个数据处理单元在当前时刻处理的业务;指示UPF停止部署至少一个数据处理单元。Optionally, the processing unit is also used to: when the target number is less than the current number, determine at least one data processing unit to be closed; the current number is the number of multiple data processing units running on the UPF at the current moment; indicate at least one Any one of the standby data processing units processes the service data of the second service; the second service is the service processed by at least one data processing unit at the current moment; and instructs the UPF to stop deploying the at least one data processing unit.
第三方面,提供一种容量调节装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当容量调节装置运行时,处理器执行存储器存储的计算机执行指令,以使容量调节装置执行第一方面所述的容量调节方法。In a third aspect, a capacity adjustment device is provided, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor and the memory are connected through a bus; when the capacity adjustment device is running, the processor executes the computer-executable instructions stored in the memory, so that the capacity adjustment device executes the capacity adjustment method described in the first aspect.
该容量调节装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,获取、确定、发送上述容量调节方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The capacity adjustment device may be a network device, or a part of 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 thereof, for example, acquire, determine, and send the data and/or information involved in the capacity adjustment method above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面所述的容量调节方法。A fourth aspect provides a computer-readable storage medium, the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are run on a computer, the computer is made to execute the capacity adjustment method described in the first aspect.
第五方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在容量调节装置上运行时,使得容量调节装置执行如上述第一方面所述的容量调节方法。A fifth aspect further provides a computer program product, the computer program product includes computer instructions, and when the computer instructions run on the capacity adjustment device, the capacity adjustment device executes the capacity adjustment method as described in the first aspect above.
需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与容量调节装置的处理器封装在一起的,也可以与容量调节装置的处理器单独封装,本申请对此不作限定。It should be noted that all or part of the above computer instructions may be stored on the first computer-readable storage medium. Wherein, the first computer-readable storage medium may be packaged together with the processor of the capacity adjustment device, or may be separately packaged with the processor of the capacity adjustment device, which is not limited in the present application.
本申请中第二方面、第三方面、第四方面以及第五方面的描述,可以参考第一方面的详细描述;并且,第二方面、第三方面、第四方面以及第五方面的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect in this application, you can refer to the detailed description of the first aspect; and, the beneficial effects of the second aspect, the third aspect, the fourth aspect and the fifth aspect , you can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
在本申请中,上述容量调节装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In the present application, the names of the above-mentioned capacity adjustment devices do not limit the devices or functional modules themselves, and in actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.
本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These or other aspects of the present application will be more clearly understood in the following description.
本申请提供的技术方案至少带来以下有益效果:The technical solution provided by the application brings at least the following beneficial effects:
基于上述任一方面,本申请提供了一种容量调节方法,在获取到在当前时刻,UPF待处理的多个业务的业务数量之后,可以根据业务数量,确定数据处理单元的目标数量。然后,可以指示在UPF上部署目标数量的数据处理单元。由于本申请中的目标数量大于或者等于业务数量,因此可以实现UPF的容量的动态调整。同时,在UPF上部署目标数量的数据处理单元时,不需要关停正在进行的业务,可以由目标数量的数据处理单元继续处理,不影响用户使用。Based on any of the above aspects, the present application provides a capacity adjustment method. After obtaining the business quantities of multiple services to be processed by the UPF at the current moment, the target number of data processing units can be determined according to the business quantities. Then, a target number of data processing units may be instructed to be deployed on the UPF. Since the target quantity in this application is greater than or equal to the service quantity, dynamic adjustment of the capacity of the UPF can be realized. At the same time, when deploying a target number of data processing units on the UPF, there is no need to shut down ongoing services, and the target number of data processing units can continue processing without affecting user use.
附图说明Description of drawings
图1为本申请实施例提供的一种容量调节系统的结构示意图;FIG. 1 is a schematic structural diagram of a capacity adjustment system provided in an embodiment of the present application;
图2为本申请实施例提供的一种UPF的结构示意图;FIG. 2 is a schematic structural diagram of a UPF provided in an embodiment of the present application;
图3为本申请实施例提供的一种容量调节装置的硬件结构示意图一;FIG. 3 is a first schematic diagram of a hardware structure of a capacity adjustment device provided by an embodiment of the present application;
图4为本申请实施例提供的一种容量调节装置的硬件结构示意图二;FIG. 4 is a second schematic diagram of the hardware structure of a capacity adjustment device provided by an embodiment of the present application;
图5为本申请实施例提供的一种容量调节方法的流程示意图一;FIG. 5 is a first schematic flow diagram of a capacity adjustment method provided by an embodiment of the present application;
图6为本申请实施例提供的一种容量调节方法的流程示意图二;FIG. 6 is a schematic flow diagram II of a capacity adjustment method provided in an embodiment of the present application;
图7为本申请实施例提供的一种容量调节方法的流程示意图三;FIG. 7 is a schematic flow diagram III of a capacity adjustment method provided in an embodiment of the present application;
图8为本申请实施例提供的一种UPF中处理业务数据的示意图一;FIG. 8 is a schematic diagram 1 of processing business data in a UPF provided by an embodiment of the present application;
图9为本申请实施例提供的一种UPF中处理业务数据的示意图二;FIG. 9 is a schematic diagram 2 of processing service data in a UPF provided by an embodiment of the present application;
图10为本申请实施例提供的一种容量调节方法的流程示意图四;FIG. 10 is a schematic flow diagram IV of a capacity adjustment method provided in the embodiment of the present application;
图11为本申请实施例提供的一种UPF中处理业务数据的示意图二;FIG. 11 is a schematic diagram 2 of processing business data in a UPF provided by an embodiment of the present application;
图12为本申请实施例提供的一种UPF中处理业务数据的示意图三;FIG. 12 is a third schematic diagram of processing business data in a UPF provided by an embodiment of the present application;
图13为本申请实施例提供的一种容量调节方法的流程示意图五;Fig. 13 is a schematic flow diagram five of a capacity adjustment method provided in the embodiment of the present application;
图14为本申请实施例提供的一种容量调节装置的结构示意图。FIG. 14 is a schematic structural diagram of a capacity adjustment device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same functions and functions. Personnel can understand that words such as "first" and "second" are not limiting the quantity and execution order.
如背景技术所示,通用的用户面网元(user plane function,UPF)的容量调节方法需要停止服务,重新部署处理单元,甚至还需要更换设备硬件,影响用户体验,操作复杂,不适用于动态调整容量。As shown in the background technology, the general user plane function (UPF) capacity adjustment method needs to stop the service, redeploy the processing unit, and even need to replace the device hardware, which affects the user experience and complicated operation, and is not suitable for dynamic Adjust capacity.
本申请实施例提供了一种容量调节方法,在获取到在当前时刻,UPF待处理的多个业务的业务数量之后,可以根据业务数量,确定数据处理单元的目标数量。然后,可以指示在UPF上部署目标数量的数据处理单元。由于本申请中的目标数量大于或者等于业务数量,因此可以实现UPF的容量的动态调整。同时,在UPF上部署目标数量的数据处理单元时,不需要关停正在进行的业务,可以由目标数量的数据处理单元继续处理,不影响用户使用。The embodiment of the present application provides a capacity adjustment method. After obtaining the business quantities of multiple services to be processed by the UPF at the current moment, the target quantity of data processing units can be determined according to the service quantities. Then, a target number of data processing units may be instructed to be deployed on the UPF. Since the target quantity in this application is greater than or equal to the service quantity, dynamic adjustment of the capacity of the UPF can be realized. At the same time, when deploying a target number of data processing units on the UPF, there is no need to shut down ongoing services, and the target number of data processing units can continue processing without affecting user use.
该容量调节方法适用于容量调节系统。图1示出了一种容量调节系统的结构示意图。如图1所示,该容量调节系统包括:UPF1、终端设备2和网络端设备3。The capacity adjustment method is applicable to the capacity adjustment system. Fig. 1 shows a schematic structural diagram of a capacity adjustment system. As shown in FIG. 1 , the capacity adjustment system includes: UPF1 ,
其中,UPF1中部署有目标数量的数据处理单元(TM)4。目标数量大于或者等于UPF1待处理的多个业务的业务数量。Wherein, a target number of data processing units (TM) 4 are deployed in UPF1. The target number is greater than or equal to the number of services to be processed by UPF1.
可选的,每个数据处理单元4可以占用一个非统一内存访问处理器(non uniformmemory access,NUMA),以实现多处理器同时访问。NUMA上可以插至少一张网卡,对应的数据处理单元4上可以有至少一个业务端口。Optionally, each
目标数量的数据处理单元4中,每个数据处理单元4通过第一端口与终端设备2连接。Among the target number of
可选的,终端设备2可以是任何一种可与用户通过键盘、触摸板、触摸屏、遥控器、语音交互或手写设备等一种或多种方式进行人机交互的电子产品,例如手机、平板电脑、掌上电脑、个人计算机(personal computer,PC)、可穿戴设备、智能电视等。Optionally, the
每个数据处理单元4通过第二端口与网络端设备3连接。Each
可选的,网络端设备3可以是实体的物理设备,例如服务器集群(由多个服务器组成)中的一个服务器,也可以是该物理设备中的芯片,还可以是该物理设备中的片上系统,还可以通过部署在物理设备上的虚拟机(virtual machine,VM)实现云部署。Optionally, the
具体的,UPF1获取到在当前时刻,UPF1待处理的多个业务的业务数量之后,可以根据业务数量,确定数据处理单元4的目标数量。然后,可以指示在UPF1上部署目标数量的数据处理单元4。由于本申请中的目标数量大于或者等于业务数量,因此可以实现UPF1的容量的动态调整。同时,在UPF上部署目标数量的数据处理单元4时,不需要关停正在进行的业务,可以由目标数量的数据处理单元4继续处理,不影响用户使用。Specifically, after the UPF1 acquires the service quantities of the multiple services to be processed by the UPF1 at the current moment, it may determine the target quantity of the
可选的,结合图1,如图2所示,UPF1可以在接入交换机(top of rack,TOR)5上部署有多个端口,包括N3端口、N6端口、N9端口、N19端口、N4/N4u端口。Optionally, in combination with FIG. 1, as shown in FIG. 2, UPF1 can be deployed with multiple ports on the access switch (top of rack, TOR) 5, including N3 ports, N6 ports, N9 ports, N19 ports, N4/ N4u port.
每个数据处理单元4与TOR5可以通过至少一个绑定(bonding)端口连接。Each
图2以“每个NUMA上插一张4×10交换带宽(Gbps)的网卡,则每个数据处理单元4上有4个bonding端口”为例进行说明,此时单个数据处理单元4的处理性能达到双向50Gbps,每个数据处理单元4分配4个10Gbps的bonding端口较合理。Figure 2 takes "a network card with a 4×10 switching bandwidth (Gbps) is inserted into each NUMA, and each
可选的,目标数量的数据处理单元4可以包括:多个业务一一对应的多个主用数据处理单元,以及至少一个备用数据处理单元。为了便于理解,图2以“三个主用数据处理单元和一个备用数据处理单元,包括:主用数据处理单元41、主用数据处理单元42、主用数据处理单元43、备用数据处理单元44”为例进行说明。Optionally, the target number of
可选的,UPF1还可以通过在裸机(bare metal)容器上部署:信令负载均衡器(loadbalance,LB)6、信令处理单元(CM)7、管理面(operation and maintenance)子模块8,以及管理交换机9。Optionally, UPF1 can also be deployed on a bare metal container: signaling load balancer (loadbalance, LB) 6, signaling processing unit (CM) 7, management plane (operation and maintenance)
可选的,如图2所示,上述内部模块中,第一个bare metal容器上可以部署有主用数据处理单元41和主用数据处理单元42,第二个bare metal容器上可以部署有主用数据处理单元43和备用数据处理单元44,第三个bare metal容器上可以部署有信令LB6、信令处理单元7和管理面子模块8。Optionally, as shown in Figure 2, among the above internal modules, the first bare metal container can be deployed with a primary
其中,管理面子模块8用于配置路由。Among them, the
管理交换机9用于纵观全局地管理所有交换端口的工作状态和工作模式,可以连接各个bare metal容器。具体的,管理交换机可以与其他模块通过内部管理数据链路连接,另外,还可以与管理面子模块通过网管数据链路连接。The management switch 9 is used to manage the working states and working modes of all switching ports globally, and can connect each bare metal container. Specifically, the management switch can be connected to other modules through an internal management data link, and can also be connected to the management plane sub-module through a network management data link.
可选的,信令LB6,用于将UP F1通过N4/N4u端口接收到的信令数据分发到信令处理单元7进行处理。当信令数据的流量较小时,信令LB6可以只部署一个,当信令数据的流量较大时,也可以部署多个信令LB6同时进行分发信令数据。示例性的,图2以“UPF1中部署一个信令LB6”为例进行说明。Optionally, the signaling LB6 is configured to distribute the signaling data received by the UPF1 through the N4/N4u port to the
可选的,信令处理单元7,信令处理单元7与目标数量的数据处理单元4之间连接。信令处理单元7用于指示第一业务对应的主用数据处理单元41,处理第一业务的业务数据。第一业务为多个业务中的任意一个业务。Optionally, the
可选的,信令处理单元7对应一个中央处理单元(central processing unit,CPU)核,以使得信令处理单元7可以独立工作。当信令处理单元7的数量为多个时,UPF处理的所有的会话信息可以同步到所有的信令处理单元7。当其中一个信令处理单元7故障后,信令LB会将本来分发给它的信令数据分发给其他信令处理单元7进行处理。示例性的,图2以“UPF1中部署信令处理单元71和信令处理单元72”为例进行说明。Optionally, the
可选的,当主用数据处理单元41处理失败时,信令处理单元7用于指示至少一个备用数据处理单元42中的任意一个备用数据处理单元,处理第一业务的业务数据。Optionally, when the primary
可选的,当目标数量小于当前数量时,信令处理单元7还用于指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据。第二业务为至少一个数据处理单元在当前时刻处理的业务。至少一个数据处理单元为当前时刻,UPF1上运行的多个数据处理单元4中的至少一个。Optionally, when the target quantity is smaller than the current quantity, the
可选的,管理面子模块用于实现配置管理,服务注册,系统状态监控,信令和统计信息的界面显示功能。当管理面的业务量不大时,可以采用单一业务单元的部署模式。示例性的,图2以“部署一个管理面子模块”为例进行说明。Optionally, the management interface sub-module is used to realize interface display functions of configuration management, service registration, system status monitoring, signaling and statistical information. When the business volume of the management plane is not large, the deployment mode of a single business unit can be adopted. Exemplarily, Fig. 2 takes "deploying a management plane sub-module" as an example for illustration.
结合图1,容量调节系统中的UPF1、终端设备2和网络端设备3均包括图或图4所示通信装置所包括的元件。下面以图3和图4所示的通信装置为例,介绍UPF1、终端设备2和网络端设备3的硬件结构。Referring to FIG. 1 , UPF1 ,
如图3所示,为本申请实施例提供的通信装置的一种硬件结构示意图。该通信装置包括处理器21,存储器22、通信接口23、总线24。处理器21,存储器22以及通信接口23之间可以通过总线24连接。As shown in FIG. 3 , it is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application. The communication device includes a
处理器21是通信装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器21可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The
作为一种实施例,处理器21可以包括一个或多个CPU,例如图3中所示的CPU 0和CPU 1。As an embodiment, the
存储器22可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。
一种可能的实现方式中,存储器22可以独立于处理器21存在,存储器22可以通过总线24与处理器21相连接,用于存储指令或者程序代码。处理器21调用并执行存储器22中存储的指令或程序代码时,能够实现本发明下述实施例提供的路由规划方法。In a possible implementation manner, the
另一种可能的实现方式中,存储器22也可以和处理器21集成在一起。In another possible implementation manner, the
通信接口23,用于通信装置与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口23可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The
总线24,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, 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.
图4示出了本发明实施例中通信装置的另一种硬件结构。如图4所示,通信装置可以包括处理器31以及通信接口32。处理器31与通信接口32耦合。Fig. 4 shows another hardware structure of the communication device in the embodiment of the present invention. As shown in FIG. 4 , the communication device may include a
处理器31的功能可以参考上述处理器21的描述。此外,处理器31还具备存储功能,可以起上述存储器22的功能。For functions of the
通信接口32用于为处理器31提供数据。该通信接口32可以是通信装置的内部接口,也可以是通信装置对外的接口(相当于通信接口23)。The
需要指出的是,图3(或图4)中示出的结构并不构成对通信装置的限定,除图3(或图4)所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in Figure 3 (or Figure 4) does not constitute a limitation on the communication device, except for the components shown in Figure 3 (or Figure 4), the communication device may include more than shown in the figure or fewer components, or combining certain components, or a different arrangement of components.
下面结合附图对本申请实施例提供的容量调节方法进行详细介绍。如图5所示,该容量调节方法包括:The capacity adjustment method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings. As shown in Figure 5, the capacity adjustment method includes:
S501、UPF获取在当前时刻,UPF待处理的多个业务的业务数量。S501. The UPF obtains the number of services of multiple services to be processed by the UPF at the current moment.
可选的,UPF还可以获取多个业务的业务类型、安全等级、优先等级等。Optionally, the UPF may also acquire service types, security levels, priorities, etc. of multiple services.
S502、UPF根据业务数量,确定数据处理单元的目标数量。S502. The UPF determines the target number of data processing units according to the number of services.
其中,目标数量大于或者等于业务数量。Wherein, the target quantity is greater than or equal to the business quantity.
S503、UPF指示在UPF上部署目标数量的数据处理单元。S503. The UPF instructs to deploy a target number of data processing units on the UPF.
当UPF需要扩容时,只需要增加数据处理单元,并为新增的数据处理单元配置独立的端口即可。When the UPF needs to be expanded, it is only necessary to add a data processing unit and configure an independent port for the newly added data processing unit.
当UPF需要缩容时,UPF只需要关停数据处理单元即可。在被关停的数据处理单元上的业务,会由备用数据处理单元接管。信令处理单元不会将新的业务分配到备用数据处理单元上,随之原有用户的逐渐下线,备用数据处理单元的业务量逐渐降为0,实现无缝缩容。When the UPF needs to shrink, the UPF only needs to shut down the data processing unit. The business on the shut down data processing unit will be taken over by the standby data processing unit. The signaling processing unit will not allocate new services to the standby data processing unit, and as the original users gradually go offline, the business volume of the standby data processing unit will gradually drop to 0, realizing seamless capacity reduction.
上述实施例提供的技术方案至少带来以下有益效果:由S501-S503可知,在获取到在当前时刻,UPF待处理的多个业务的业务数量之后,可以根据业务数量,确定数据处理单元的目标数量。然后,可以指示在UPF上部署目标数量的数据处理单元。由于本申请中的目标数量大于或者等于业务数量,因此可以实现UPF的容量的动态调整。同时,在UPF上部署目标数量的数据处理单元时,不需要关停正在进行的业务,可以由目标数量的数据处理单元继续处理,不影响用户使用。The technical solutions provided by the above embodiments bring at least the following beneficial effects: It can be seen from S501-S503 that after obtaining the business quantities of multiple services to be processed by the UPF at the current moment, the target of the data processing unit can be determined according to the business quantities quantity. Then, a target number of data processing units may be instructed to be deployed on the UPF. Since the target quantity in this application is greater than or equal to the service quantity, dynamic adjustment of the capacity of the UPF can be realized. At the same time, when deploying a target number of data processing units on the UPF, there is no need to shut down ongoing services, and the target number of data processing units can continue processing without affecting user use.
在一种可选的实施例中,结合图5,如图6所示,S502中,UPF根据业务数量,确定数据处理单元的目标数量的方法包括:In an optional embodiment, with reference to FIG. 5, as shown in FIG. 6, in S502, the method for the UPF to determine the target number of data processing units according to the number of services includes:
S601、UPF根据业务数量,确定多个业务一一对应的多个主用数据处理单元的数量,以及至少一个备用数据处理单元的数量。S601. The UPF determines the number of multiple active data processing units and the number of at least one standby data processing unit corresponding to the number of services according to the number of services.
S602、UPF将多个主用数据处理单元的数量,与至少一个备用数据处理单元的数量的和,确定为目标数量。S602. The UPF determines the sum of the quantity of multiple active data processing units and the quantity of at least one standby data processing unit as the target quantity.
可选的,考虑到多个数据处理单元同时发生故障到概率很低,暂时不考虑多个数据处理单元同时发生故障的情况,故本架构采用N+1备份的设计。主用数据处理单元正常工作时,流量均经由主用数据处理单元进行转发,主用数据处理单元发生故障后,流量由备用数据处理单元接管。主用数据处理单元恢复后,流量再切回主用数据处理单元进行处理。主备数据处理单元切换时,不需要终端设备重新上线,因此用户无感知,不会影响用户使用体验。Optionally, considering that the probability of simultaneous failure of multiple data processing units is very low, the situation of simultaneous failure of multiple data processing units is not considered for the time being, so this architecture adopts the design of N+1 backup. When the main data processing unit is working normally, the traffic is forwarded by the main data processing unit, and when the main data processing unit fails, the traffic is taken over by the standby data processing unit. After the active data processing unit recovers, the traffic is switched back to the active data processing unit for processing. When the main and standby data processing units are switched, the terminal device does not need to go online again, so the user has no perception and will not affect the user experience.
因此,目标数量的数据处理单元可以包括:多个业务一一对应的多个主用数据处理单元,以及至少一个备用数据处理单元。Therefore, the target number of data processing units may include: multiple primary data processing units corresponding to multiple services one-to-one, and at least one standby data processing unit.
上述实施例提供的技术方案至少带来以下有益效果:由S601-S602可知,UPF可以根据业务数量,确定多个业务一一对应的多个主用数据处理单元的数量,以及至少一个备用数据处理单元的数量,然后,可以将多个主用数据处理单元的数量,与至少一个备用数据处理单元的数量的和,确定为目标数量。本申请提供了一种确定数据处理单元的目标数量的方法,使得调整后的UPF的容量可以满足网络中的业务需求。The technical solutions provided by the above embodiments bring at least the following beneficial effects: It can be seen from S601-S602 that UPF can determine the number of multiple primary data processing units corresponding to multiple services one-to-one and at least one standby data processing unit according to the number of services. The number of units, then, the sum of the number of multiple active data processing units and the number of at least one standby data processing unit may be determined as the target number. The present application provides a method for determining the target number of data processing units, so that the adjusted capacity of the UPF can meet the service requirements in the network.
在一种可选的实施例中,结合图6,如图7所示,该容量调节方法,还包括:In an optional embodiment, referring to FIG. 6, as shown in FIG. 7, the capacity adjustment method further includes:
S701、UPF指示第一业务对应的主用数据处理单元,处理第一业务的业务数据。S701. The UPF instructs the primary data processing unit corresponding to the first service to process service data of the first service.
其中,第一业务为多个业务中的任意一个业务。Wherein, the first service is any one of multiple services.
示例性的,结合图2,如图8所示,数据处理单元41配置两个N3端口为:环回接口(loopback)3.1、loopback3.2以及对应的绑定(bonding)端口为:BondEthernet1.1、BondEthernet1.2。Exemplarily, in conjunction with FIG. 2, as shown in FIG. 8, the
其中,BondEthernet1.1和BondEthernet1.2分别配置内网的互联网协议(internet protocol,IP)地址192.168.103.1和192.168.203.1,loopback3.1和loopback3.2分别配置公网IP地址10.3.103.1和10.3.203.1。TOR5上配置对应的bonding端口eth-trunk1.1和eth-trunk1.2,IP地址配置为192.168.103.239和192.168.203.239。Wherein, BondEthernet1.1 and BondEthernet1.2 respectively configure intranet Internet protocol (internet protocol, IP) addresses 192.168.103.1 and 192.168.203.1, loopback3.1 and loopback3.2 configure public network IP addresses 10.3.103.1 and 10.3 respectively. 203.1. Configure the corresponding bonding ports eth-trunk1.1 and eth-trunk1.2 on TOR5, and configure the IP addresses as 192.168.103.239 and 192.168.203.239.
数据处理单元41还配置两个N6端口loopback6.1、loopback6.2以及他们对应的bonding端口BondEthernet1.3、BondEthernet1.4。BondEthernet1.3和BondEthernet1.4分别配置内网IP地址192.168.106.1和192.168.206.1,loopback6.1和loopback6.2分别配置公网IP地址10.6.106.1和10.6.206.1。TOR5上配置对应的bonding端口eth-trunk1.3和eth-trunk1.4,IP地址配置为192.168.106.239和192.168.206.239。The
数据处理单元41和TOR5分别启动边界网关协议(border gateway protocol,BGP)。数据处理单元41发布指到N3端口10.3.103.1和10.3.203.1的高优先级主机路由。用户上线时,信令处理单元将会话信息下发到数据处理单元41,数据处理单元41建立会话后发布指向终端设备2的IP的高优先级的主机路由。TOR5发布去往数据网络和基站的路由到数据处理单元41。The
TOR5收到终端设备2的上行报文时,根据路由经eth-trunk3.1或eth-trunk3.2转发到数据处理单元41来处理;同理,下行报文到达TOR5后,TOR5根据指向终端设备2的主机路由将报文转发到数据处理单元41来处理。When TOR5 receives the uplink message from
另一示例性的,同时处理多个终端设备的业务数据时,结合图2,如图9所示,数据处理单元41、数据处理单元42、数据处理单元43分别配置不同的N3端口和N6端口,分别处理去往不同N3端口的流量和不同终端的流量。TOR5根据每个数据处理单元的业务节点发布的路由来转发流量。在管理员配置好各个接口的IP和启动BGP后,数据处理单元41、数据处理单元42、数据处理单元43对TOR5发布N3端口的高优先级主机路由,数据处理单元44(即备用数据处理单元)发布N3端口的低优先级主机路由。Another example, when processing business data of multiple terminal devices at the same time, in combination with FIG. 2, as shown in FIG. 9, the
第一终端设备上线时,数据处理单元41空闲,信令处理单元分配数据处理单元41来处理第一终端设备的流量。则信令处理单元将第一终端设备的会话信息发布到数据处理单元41和数据处理单元44,同时回复会话管理功能(session management function,SMF)N3 IP为数据处理单元41的N3端口的对应IP。数据处理单元41和数据处理单元44建立会话后,数据处理单元41发布第一终端设备的高优先级主机路由,数据处理单元44发布第一终端设备的低优先级主机路由。When the first terminal device goes online, the
第二终端设备上线时,数据处理单元42比较空闲,信令处理单元分配数据处理单元42来处理第二终端设备的流量。则信令处理单元将第二终端设备的会话信息发布到数据处理单元42和数据处理单元44,同时回复SMF N3 IP为数据处理单元42的N3端口的对应IP。数据处理单元42和数据处理单元44建立会话后,数据处理单元42发布第二终端设备的高优先级主机路由,数据处理单元44发布第二终端设备的低优先级主机路由。When the second terminal device goes online, the
在其他终端设备上线时,流程与上述相同,此处不再赘述。When other terminal devices go online, the process is the same as above, and will not be repeated here.
上述实施例提供的技术方案至少带来以下有益效果:由S701可知,UPF可以指示第一业务对应的主用数据处理单元,处理第一业务的业务数据,使得调整后的UPF的容量可以满足网络中的业务需求。The technical solutions provided by the above embodiments bring at least the following beneficial effects: It can be seen from S701 that the UPF can instruct the primary data processing unit corresponding to the first service to process the service data of the first service, so that the capacity of the adjusted UPF can meet the requirements of the network. business needs in .
在一种可选的实施例中,结合图7,如图10所示,该容量调节方法,还包括:In an optional embodiment, referring to FIG. 7, as shown in FIG. 10, the capacity adjustment method further includes:
S1001、当主用数据处理单元处理失败时,UPF指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第一业务的业务数据。S1001. When the primary data processing unit fails to process, the UPF instructs any one of the at least one standby data processing unit to process the service data of the first service.
示例性的,当主用数据处理单元处理失败时,结合图2,如图11所示,数据处理单元44(即备用数据处理单元)的四个端口配置成Bonding接口(BondEthernet2),对应的TOR5上的四个端口也配置成Bonding接口(eth-trunk2)。Exemplarily, when the processing of the main data processing unit fails, in conjunction with FIG. 2, as shown in FIG. The four ports of the port are also configured as Bonding interfaces (eth-trunk2).
数据处理单元44上面配置两个N3端口loopback3.1、loopback3.2以及他们对应的bonding端口BondEthernet16.1、BondEthernet16.2。BondEthernet16.1和BondEthernet16.2分别配置内网IP地址192.168.103.16和192.168.203.16,loopback3.1和loopback3.2分别配置公网IP地址10.3.103.1和10.3.203.1。TOR5上配置对应的bonding端口eth-trunk16.1和eth-trunk16.2,IP地址配置为192.168.103.254和192.168.203.254。The
数据处理单元44启动BGP。数据处理单元44发布指到N3端口10.3.103.1和10.3.203.1的低优先级主机路由。用户上线时,信令处理单元将会话信息下发到数据处理单元44,数据处理单元44建立会话建立后发布指向终端IP的低优先级的主机路由。The
TOR5收到终端的上行报文时,由于主用数据处理单元41故障,去往N3端口的高优先级路由失效,所以根据低优先级路由经eth-trunk.16.1或eth-trunk16.2转发到数据处理单元44来处理;同理,下行报文到达TOR5后,TOR5根据指向终端的低优先级主机路由将报文转发到数据处理单元44来处理。When TOR5 receives the uplink packet from the terminal, due to the failure of the main
S1002、当主用数据处理单元恢复后,UPF指示主用数据处理单元处理第一业务的业务数据。S1002. After the active data processing unit recovers, the UPF instructs the active data processing unit to process the service data of the first service.
结合上述示例,当主用数据处理单元恢复后,结合图2,如图12所示,主用数据处理单元41故障恢复后,数据处理单元41先从数据库恢复用户会话信息,并发布指向终端设备IP的高优先级的主机路由。恢复完成后发布指到N3端口10.3.103.1和10.3.203.1的高优先级主机路由。In combination with the above example, when the main data processing unit recovers, referring to Figure 2, as shown in Figure 12, after the failure of the main
此时终端设备的上下行报文会根据高优先级路由转发到数据处理单元41,由数据处理单元41进行处理,数据处理单元44恢复空闲。At this time, the uplink and downlink messages of the terminal device will be forwarded to the
上述实施例提供的技术方案至少带来以下有益效果:由S1001-S1002可知,当主用数据处理单元处理失败时,UPF可以指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第一业务的业务数据。后续,当主用数据处理单元恢复后,UPF可以指示主用数据处理单元处理第一业务的业务数据。本申请提供一种处理业务数据的方法,可以更换数据处理单元,避免用户感知,提高用户体验。The technical solutions provided by the above embodiments bring at least the following beneficial effects: It can be seen from S1001-S1002 that when the primary data processing unit fails to process, the UPF can instruct any one of the at least one standby data processing unit to process the first Business data for business. Subsequently, after the active data processing unit recovers, the UPF may instruct the active data processing unit to process the service data of the first service. The present application provides a method for processing service data, which can replace a data processing unit, avoid user perception, and improve user experience.
在一种可选的实施例中,结合图6,如图13所示,该容量调节方法,还包括:In an optional embodiment, referring to FIG. 6, as shown in FIG. 13, the capacity adjustment method further includes:
S1301、当目标数量小于当前数量时,UPF确定待关闭的至少一个数据处理单元。S1301. When the target quantity is less than the current quantity, the UPF determines at least one data processing unit to be shut down.
其中,当前数量为当前时刻,UPF上运行的多个数据处理单元的数量。Wherein, the current number is the number of multiple data processing units running on the UPF at the current moment.
S1302、UPF指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据。S1302. The UPF instructs any one of the at least one standby data processing unit to process the service data of the second service.
其中,第二业务为至少一个数据处理单元在当前时刻处理的业务。Wherein, the second service is a service processed by at least one data processing unit at the current moment.
S1303、UPF指示UPF停止部署至少一个数据处理单元。S1303. The UPF instructs the UPF to stop deploying at least one data processing unit.
上述实施例提供的技术方案至少带来以下有益效果:由S1301-S1303可知,当目标数量小于当前数量时,UPF可以确定待关闭的至少一个数据处理单元,然后,可以指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据。UPF指示UPF停止部署至少一个数据处理单元。本申请提供一种UPF缩容的方法,以使得减少数据处理单元时,业务数据不发生中断。使得用户无感知,可以提高用户体验。The technical solutions provided by the above embodiments bring at least the following beneficial effects: It can be known from S1301-S1303 that when the target quantity is less than the current quantity, the UPF can determine at least one data processing unit to be shut down, and then can instruct at least one standby data processing unit Any one of the standby data processing units in the second service processes the service data of the second service. The UPF instructs the UPF to stop deploying at least one data processing unit. This application provides a UPF scaling method, so that when data processing units are reduced, business data will not be interrupted. Make the user imperceptible and improve the user experience.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对容量调节装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the functional modules of the capacity adjustment device may be divided according to the above method example. 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 or in the form of software function modules. Optionally, the division of modules in this embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
如图14所示,为本申请实施例提供的一种容量调节装置的结构示意图。该容量调节装置可以用于执行图5至图13所示的容量调节方法。图14所示容量调节装置包括:获取单元1401和处理单元1402。As shown in FIG. 14 , it is a schematic structural diagram of a capacity adjustment device provided by an embodiment of the present application. The capacity adjustment device can be used to implement the capacity adjustment methods shown in FIGS. 5 to 13 . The capacity adjustment device shown in FIG. 14 includes: an
获取单元1401,用于获取在当前时刻,UPF待处理的多个业务的业务数量。The obtaining
处理单元1402,用于根据业务数量,确定数据处理单元的目标数量;目标数量大于或者等于业务数量。The
处理单元1402,还用于指示在UPF上部署目标数量的数据处理单元。The
可选的,处理单元1402,具体用于:根据业务数量,确定多个业务一一对应的多个主用数据处理单元的数量,以及至少一个备用数据处理单元的数量;将多个主用数据处理单元的数量,与至少一个备用数据处理单元的数量的和,确定为目标数量。Optionally, the
可选的,处理单元1402,还用于:指示第一业务对应的主用数据处理单元,处理第一业务的业务数据;第一业务为多个业务中的任意一个业务。Optionally, the
可选的,处理单元1402,还用于:当主用数据处理单元处理失败时,指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第一业务的业务数据;当主用数据处理单元恢复后,指示主用数据处理单元处理第一业务的业务数据。Optionally, the
可选的,处理单元1402,还用于:当目标数量小于当前数量时,确定待关闭的至少一个数据处理单元;当前数量为当前时刻,UPF上运行的多个数据处理单元的数量;指示至少一个备用数据处理单元中的任意一个备用数据处理单元,处理第二业务的业务数据;第二业务为至少一个数据处理单元在当前时刻处理的业务;指示UPF停止部署至少一个数据处理单元。Optionally, the
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的容量调节方法。The embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are run on the computer, the computer is made to execute the capacity adjustment method provided in the foregoing embodiments.
本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的容量调节方法。The embodiment of the present application also provides a computer program, which can be directly loaded into the memory and contains software codes. After the computer program is loaded and executed by the computer, it can implement the capacity adjustment method provided by the above embodiments.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机可读存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component shown as a unit may be one physical unit or multiple physical units, which may be located in one place or distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对通常技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If an integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the common technology or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211685887.3A CN116261225A (en) | 2022-12-27 | 2022-12-27 | A capacity adjustment method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211685887.3A CN116261225A (en) | 2022-12-27 | 2022-12-27 | A capacity adjustment method, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116261225A true CN116261225A (en) | 2023-06-13 |
Family
ID=86683484
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211685887.3A Pending CN116261225A (en) | 2022-12-27 | 2022-12-27 | A capacity adjustment method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116261225A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180262924A1 (en) * | 2017-03-10 | 2018-09-13 | Huawei Technologies Co., Ltd. | System and Method of Network Policy Optimization |
| CN112867050A (en) * | 2019-11-28 | 2021-05-28 | 大唐移动通信设备有限公司 | UPF network element management method and system |
| WO2021147402A1 (en) * | 2020-01-21 | 2021-07-29 | 华为技术有限公司 | Data transmission method and apparatus |
| CN113811013A (en) * | 2021-09-10 | 2021-12-17 | 阿里巴巴达摩院(杭州)科技有限公司 | Cluster capacity dynamic adjustment method, device, storage medium and communication system |
| CN115277571A (en) * | 2022-07-29 | 2022-11-01 | 联想(北京)有限公司 | Processing method and processing system |
-
2022
- 2022-12-27 CN CN202211685887.3A patent/CN116261225A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180262924A1 (en) * | 2017-03-10 | 2018-09-13 | Huawei Technologies Co., Ltd. | System and Method of Network Policy Optimization |
| CN112867050A (en) * | 2019-11-28 | 2021-05-28 | 大唐移动通信设备有限公司 | UPF network element management method and system |
| WO2021147402A1 (en) * | 2020-01-21 | 2021-07-29 | 华为技术有限公司 | Data transmission method and apparatus |
| CN113811013A (en) * | 2021-09-10 | 2021-12-17 | 阿里巴巴达摩院(杭州)科技有限公司 | Cluster capacity dynamic adjustment method, device, storage medium and communication system |
| CN115277571A (en) * | 2022-07-29 | 2022-11-01 | 联想(北京)有限公司 | Processing method and processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Qi et al. | Assessing container network interface plugins: Functionality, performance, and scalability | |
| CN107231221B (en) | Method, device and system for controlling service flow among data centers | |
| US10320683B2 (en) | Reliable load-balancer using segment routing and real-time application monitoring | |
| KR100680888B1 (en) | Virtual Multicast Routing for Clusters with State Synchronization | |
| CN110912780A (en) | High-availability cluster detection method, system and controlled terminal | |
| CN105009521B (en) | Message treatment method and gateway | |
| CN103596652B (en) | A kind of network control method and device | |
| JP5107339B2 (en) | System and method for active geographic redundancy | |
| JP2018523932A (en) | Load balancing computing devices, systems, and methods | |
| WO2015021829A1 (en) | Resource allocation method | |
| Yang et al. | Algorithms for fault-tolerant placement of stateful virtualized network functions | |
| WO2022017099A1 (en) | Communication method, cp device, and nat device | |
| CN113630265A (en) | Virtual network redundancy backup method and device based on intelligent network card | |
| CN106657330A (en) | User data migration method and user data backup method, device and system | |
| CN112954064A (en) | Method for realizing high-availability networking under cloud network | |
| CN113709220A (en) | High-availability realization method and system of virtual load balancer and electronic equipment | |
| CN104301417A (en) | A load balancing method and device | |
| CN115604172A (en) | Method, device and system for forwarding message | |
| CN106385330B (en) | Implementation method and device of a network function virtualization orchestrator | |
| CN102447703B (en) | A kind of heat backup method and system, CGN equipment | |
| CN110391987B (en) | Method, apparatus and computer readable medium for selecting a designated forwarder from a carrier edge device set | |
| CN106254095A (en) | The backup processing method of tunnel traffic and equipment | |
| CN114172753B (en) | Address reservation method, network device and system | |
| CN116414515A (en) | Information processing method, device, electronic equipment and storage medium | |
| CN116261225A (en) | A capacity adjustment method, device and storage medium |
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 |