Method and apparatus for allocating bare-metal resources in microservice-based core networks
The method dynamically calculates and updates microservice instance-server mappings using MOF to optimize resource utilization in 5G networks, addressing inefficiencies and improving performance by minimizing network traffic and idle resources, thus enhancing the computational footprint and latency in 5G and beyond networks.
Patent Information
- Application Number
- PCT/KR2024/003893
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-12
- Filing Date
- 2024-03-28
- Publication Date
- 2024-10-17
AI Technical Summary
Current 5G mobile communication systems face challenges in efficiently managing bare-metal resources and optimizing microservice instance-server mappings, leading to processing delays and bin-packing inefficiencies, which hinder the realization of key performance indicators and increase network complexity.
A method and apparatus for dynamically calculating and updating microservice instance-server mappings using a Microservice Orchestration Function (MOF) that monitors load and capacity across servers and network links, storing mappings in databases like the Procedure Execution Graph (PEG) and Bare-metal Resource Pool (BRP), to optimize resource utilization and minimize network traffic.
This approach enables efficient communication by autonomously optimizing computational footprints, reducing idle resources, and enhancing bin-packing efficiency, thereby improving latency and overall network performance in 5G and beyond networks.
Smart Images

Figure KR2024003893_17102024_PF_FP_ABST
Abstract
Description
METHOD AND APPARATUS FOR ALLOCATING BARE-METAL RESOURCES IN MICROSERVICE-BASED CORE NETWORKS
[0001] The disclosure relates to improved Control Plane (CP) / Use Plane (UP) procedures for a Microservice-based Core Network (Fifth Generation, 5G, and beyond). It also impacts Unified Data Management (UDM), Network Repository Function (NRF) and bare-metal resources.
[0002] 5G mobile communication technologies define broad frequency bands such that high transmission rates and new services are possible, and can be implemented not only in "Sub 6GHz" bands such as 3.5GHz, but also in "Above 6GHz" bands referred to as mmWave including 28GHz and 39GHz. In addition, it has been considered to implement 6G mobile communication technologies (referred to as Beyond 5G systems) in terahertz (THz) bands (for example, 95GHz to 3THz bands) in order to accomplish transmission rates fifty times faster than 5G mobile communication technologies and ultra-low latencies one-tenth of 5G mobile communication technologies.
[0003] At the beginning of the development of 5G mobile communication technologies, in order to support services and to satisfy performance requirements in connection with enhanced Mobile BroadBand (eMBB), Ultra Reliable Low Latency Communications (URLLC), and massive Machine-Type Communications (mMTC), there has been ongoing standardization regarding beamforming and massive MIMO for mitigating radio-wave path loss and increasing radio-wave transmission distances in mmWave, supporting numerologies (for example, operating multiple subcarrier spacings) for efficiently utilizing mmWave resources and dynamic operation of slot formats, initial access technologies for supporting multi-beam transmission and broadbands, definition and operation of BWP (BandWidth Part), new channel coding methods such as a LDPC (Low Density Parity Check) code for large amount of data transmission and a polar code for highly reliable transmission of control information, L2 pre-processing, and network slicing for providing a dedicated network specialized to a specific service.
[0004] Currently, there are ongoing discussions regarding improvement and performance enhancement of initial 5G mobile communication technologies in view of services to be supported by 5G mobile communication technologies, and there has been physical layer standardization regarding technologies such as V2X (Vehicle-to-everything) for aiding driving determination by autonomous vehicles based on information regarding positions and states of vehicles transmitted by the vehicles and for enhancing user convenience, NR-U (New Radio Unlicensed) aimed at system operations conforming to various regulation-related requirements in unlicensed bands, NR UE Power Saving, Non-Terrestrial Network (NTN) which is UE-satellite direct communication for providing coverage in an area in which communication with terrestrial networks is unavailable, and positioning.
[0005] Moreover, there has been ongoing standardization in air interface architecture / protocol regarding technologies such as Industrial Internet of Things (IIoT) for supporting new services through interworking and convergence with other industries, IAB (Integrated Access and Backhaul) for providing a node for network service area expansion by supporting a wireless backhaul link and an access link in an integrated manner, mobility enhancement including conditional handover and DAPS (Dual Active Protocol Stack) handover, and two-step random access for simplifying random access procedures (2-step RACH for NR). There also has been ongoing standardization in system architecture / service regarding a 5G baseline architecture (for example, service based architecture or service based interface) for combining Network Functions Virtualization (NFV) and Software-Defined Networking (SDN) technologies, and Mobile Edge Computing (MEC) for receiving services based on UE positions.
[0006] As 5G mobile communication systems are commercialized, connected devices that have been exponentially increasing will be connected to communication networks, and it is accordingly expected that enhanced functions and performances of 5G mobile communication systems and integrated operations of connected devices will be necessary. To this end, new research is scheduled in connection with eXtended Reality (XR) for efficiently supporting AR (Augmented Reality), VR (Virtual Reality), MR (Mixed Reality) and the like, 5G performance improvement and complexity reduction by utilizing Artificial Intelligence (AI) and Machine Learning (ML), AI service support, metaverse service support, and drone communication.
[0007] Furthermore, such development of 5G mobile communication systems will serve as a basis for developing not only new waveforms for providing coverage in terahertz bands of 6G mobile communication technologies, multi-antenna transmission technologies such as Full Dimensional MIMO (FD-MIMO), array antennas and large-scale antennas, metamaterial-based lenses and antennas for improving coverage of terahertz band signals, high-dimensional space multiplexing technology using OAM (Orbital Angular Momentum), and RIS (Reconfigurable Intelligent Surface), but also full-duplex technology for increasing frequency efficiency of 6G mobile communication technologies and improving system networks, AI-based communication technology for implementing system optimization by utilizing satellites and AI (Artificial Intelligence) from the design stage and internalizing end-to-end AI support functions, and next-generation distributed computing technology for implementing services at levels of complexity exceeding the limit of UE operation capability by utilizing ultra-high-performance communication and computing resources.
[0008] According to the disclosure there is provided an apparatus and method as set forth in the appended claims. Other features of the invention will be apparent from the dependent claims, and the description which follows.
[0009] According to a first aspect of the disclosure, there is provided a method of operating a telecommunication network to calculate a microservice instance-server mapping, the method comprises the steps of: gathering information relating to a current load and capacity of a plurality of servers and network links in the telecommunication network; using the information to calculate a microservice instance-server mapping when triggered to do so by a predefined trigger condition; and enacting the mapping in the telecommunication network, while live, and storing the mapping into a first database.
[0010] In an embodiment, gathering information relating to a current load and capacity of a plurality of servers and network links comprises gathering information relating to a current load and capacity of all servers and network links in the telecommunication network.
[0011] In an embodiment, the step of gathering may be performed periodically or on-demand.
[0012] In an embodiment, there is further provided the step of selection of a microservice instance partition and selection of a server.
[0013] In an embodiment, the first database is a Procedure Execution Graph, PEG, database.
[0014] In an embodiment, there is further provided the step of updating second and third databases with the gathered load and capacity information.
[0015] In an embodiment, the second and third databases are a Bare-metal Resource Pool, BRP, database and a Server Connectivity Map, SCM, database respectively.
[0016] In an embodiment, the step of using the information to calculate a microservice instance-server mapping is performed by a Microservice Orchestration Function, MOF.
[0017] In an embodiment, the telecommunication network is a 5G or 6G network.
[0018] According to a second aspect of the disclosure, there is provided an apparatus arranged to perform the method of the first aspect.
[0019] Aspects of the disclosure are to address at least the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide efficient communication methods in a wireless communication system.
[0020] For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:
[0021] Figure 1 illustrates a High-level model of the 5GC.
[0022] Figure 2 illustrates a microservice-based implementation of the execution graph associated with the UE.
[0023] Figure 3 illustrates a microservice-based implementation of the execution graph associated with the UE Registration procedure.
[0024] Figure 4 illustrates an example of mapping NF or microservice instances onto two bare-metal server.
[0025] Figure 5 illustrates a call graph for updating BRP and SCM databases according to an embodiment of the disclosure;
[0026] Figure 6 illustrates a general procedure for carrying out a Microservice Instance-Server Mapping task according to an embodiment of the disclosure;
[0027] Figure 7 illustrates a general flowchart for carrying out the Microservice Instance-Server Mapping task of Figure 6;
[0028] Figure 8 illustrates a simplified procedure for carrying out the Microservice Instance-Server Mapping task according to an embodiment of the disclosure;
[0029] Figure 9 illustrates a general flowchart for carrying out the simplified Microservice Instance-Server Mapping task of Figure 8;
[0030] Figure 10 illustrates an execution graph according to an embodiment of the disclosure; and
[0031] Figure 11 shows a microservice instance-server mapping solution according to an embodiment of the disclosure.
[0032] Figure 12 illustrates a structure of a network entity according to an embodiment of the disclosure.
[0033] Aspects of the disclosure are to address at least the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide a terminal and a communication method thereof in a wireless communication system.
[0034] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.
[0035] The terms and words used in the following description and claims are not limited to their bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the disclosure is provided for illustration purpose only and not for the purpose of limiting the disclosure as defined by the appended claims and their equivalents.
[0036] It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
[0037] Before undertaking the descriptions below, it can be advantageous to set forth definitions of certain words and phrases used throughout this patent document. The term “couple” and its derivatives refer to any direct or indirect communication between two or more elements, whether or not those elements are in physical contact with one another. The terms “transmit,” “receive,” and “communicate,” as well as derivatives thereof, encompass both direct and indirect communication. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and / or. The phrase “associated with,” as well as derivatives thereof, means to include, be included within, connect to, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, have a relationship to or with, or the like. The term “controller” means any device, system or part thereof that controls at least one operation. Such a controller can be implemented in hardware or a combination of hardware and software and / or firmware. The functionality associated with any particular controller can be centralized or distributed, whether locally or remotely. The phrase “at least one of,” when used with a list of items, means that different combinations of one or more of the listed items can be used, and only one item in the list can be needed. For example, “at least one of: A, B, and C” includes any of the following combinations: A, B, C, A and B, A and C, B and C, and A and B and C. For example, “at least one of: A, B, or C” includes any of the following combinations: A, B, C, A and B, A and C, B and C, and A, B and C.
[0038] Moreover, various functions described below can be implemented or supported by one or more computer programs, each of which is formed from computer-readable program code and embodied in a computer-readable medium. The terms “application” and “program” refer to one or more computer programs, software components, sets of instructions, procedures, functions, objects, classes, instances, related data, or a portion thereof adapted for implementation in a suitable computer-readable program code. The phrase “computer-readable program code” includes any type of computer code, including source code, object code, and executable code. The phrase “computer-readable medium” includes any type of medium capable of being accessed by a computer, such as Read-Only Memory (ROM), Random Access Memory (RAM), a hard disk drive, a Compact Disc (CD), a Digital Video Disc (DVD), or any other type of memory. A “non-transitory” computer-readable medium excludes wired, wireless, optical, or other communication links that transport transitory electrical or other signals. A non-transitory computer-readable medium includes media where data can be permanently stored and media where data can be stored and later overwritten, such as a rewritable optical disc or an erasable memory device.
[0039] Terms used herein to describe the embodiments of the disclosure are not intended to limit and / or define the scope of the disclosure. For example, unless otherwise defined, the technical terms or scientific terms used in the disclosure shall have the ordinary meaning understood by those with ordinary skills in the art to which the disclosure belongs.
[0040] It should be understood that “first”, “second” and similar words used in the disclosure do not express any order, quantity or importance, but are only used to distinguish different components.
[0041] As used herein, any reference to “an example” or “example”, “an implementation” or “implementation”, “an embodiment” or “embodiment” means that particular elements, features, structures or characteristics described in connection with the embodiment is included in at least one embodiment. The phrases “in one embodiment” or “in one example” appearing in different places in the specification do not necessarily refer to the same embodiment.
[0042] As used herein, “a portion of” something means “at least some of” the thing, and as such may mean less than all of, or all of, the thing. As such, “a portion of” a thing includes the entire thing as a special case, i.e., the entire thing is an example of a portion of the thing.
[0043] As used herein, the term “set” means one or more. Accordingly, a set of items can be a single item or a collection of two or more items.
[0044] In this disclosure, to determine whether a specific condition is satisfied or fulfilled, expressions, such as “greater than” or “less than” are used by way of example and expressions, such as “greater than or equal to” or “less than or equal to” are also applicable and not excluded. For example, a condition defined with “greater than or equal to” may be replaced by “greater than” (or vice-versa), a condition defined with “less than or equal to” may be replaced by “less than” (or vice-versa), etc.
[0045] It will be further understood that similar words such as the term “include” or “comprise” mean that elements or objects appearing before the word encompass the listed elements or objects appearing after the word and their equivalents, but other elements or objects are not excluded. Similar words such as “connect” or “connected” are not limited to physical or mechanical connection, but can include electrical connection, whether direct or indirect. “Upper”, “lower”, “left” and “right” are only used to express a relative positional relationship, and when an absolute position of the described object changes, the relative positional relationship may change accordingly.
[0046] Those skilled in the art will understand that the principles of the disclosure can be implemented in any suitably arranged wireless communication system. For example, although the following detailed description of the embodiments of the disclosure will be directed to LTE and / or 5G communication systems, those skilled in the art will understand that the main points of the disclosure can also be applied to other communication systems with similar technical backgrounds and channel formats with slight modifications without departing from the scope of the disclosure. The technical schemes of the embodiments of the application can be applied to various communication systems, and for example, the communication systems may include global systems for mobile communications (GSM), code division multiple access (CDMA) systems, wideband code division multiple access (WCDMA) systems, general packet radio service (GPRS) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD) systems, universal mobile telecommunications system (UMTS), worldwide interoperability for microwave access (WiMAX) communication systems, 5th generation (5G) systems or new radio (NR) systems, etc. In addition, the technical schemes of the embodiments of the application can be applied to future-oriented communication technologies. In addition, the technical schemes of the embodiments of the application can be applied to future-oriented communication technologies.
[0047] In order to meet the increasing demand for wireless data communication services since the deployment of 4G communication systems, efforts have been made to develop improved 5G or pre-5G communication systems. Therefore, 5G or pre-5G communication systems are also called “Beyond 4G networks” or “Post-LTE systems”.
[0048] Driven by the necessity for an agile and flexible network, the 3rd Generation Partnership Project (3GPP) has redesigned the mobile core network for the 5th Generation (5G) of mobile communications systems in Rel. 15 of the applicable standard. The current design of the 5GC introduces a Service Based Architecture (SBA) with Cloud-Native thinking, where Network Functions (NFs) are loosely coupled, fine-grained services interconnected through a service bus and communicating through RESTful API interfaces. The resulting SBA of the 5GC is shown in Figure 1.
[0049] While strict separation of the functions in 5GC enables innovation and brings elasticity to the network, the overhead induced by the inter-function communications of CP procedures limits the advantages to a great extent, as the majority of CP procedures involve services from multiple functions in the 5GC. Besides, the inter-communication overhead significantly contributes to the overall processing delay taking place in the CP, which may hinder the realization of the promised 5G Key Performance Indicators (KPIs). In this regard, an increasing effort has been devoted to proposing a new architecture for beyond 5G and 6G networks. This invention therefore relates to a microservice-based architecture for the core network in future releases of one or more 3GPP standard. The mobile core network architecture consists of a set of fine-grained microservices, cleanly separated in functionality, which interact in order to deliver 3GPP's CP and UP procedures.
[0050] Throughout this application, various terms are used consistently and ensure clarity of definition, the following terms are defined:
[0051] [Definition 1] A microservice is a self-contained logical entity processing one input request at a time. Each processed input generates one output request intended for another microservice. The output of a microservice is entirely determined by its inputs (stateless assumption). Microservices may communicate with other microservices in a plurality of communication patterns that shall entirely rely upon network interactions.
[0052] [Definition 2] A microservice instance as a copy of a currently running microservice.
[0053] [Definition 3] From the logic standpoint, an execution path is defined as a sequence of microservices implementing a procedure. From the point of view of a deployed system, an execution path instance is defined as the sequence of microservice instances implementing a procedure in a live system.
[0054] [Definition 4] From the logic standpoint, an execution graph is defined as the union of the execution paths associated with all the procedures. From the point of view of a deployed system, an execution graph is defined the union of all the execution path instances across all the procedures.
[0055] [Definition 5] A network link is akin to an edge in a directed graph. As such, if servers i and j are connected by a network link, separated load / capacity information is given for the i to j and j to i links.
[0056] [Definition 6] Given an execution graph G, G consists of one weakly connected component if all the microservice instances are connected to each other by some path, ignoring the direction of edges. Graph G consists of multiple weakly connected components if it is possible to identify multiple subgraphs of G where all the microservice instances are connected to each other by some path, ignoring the direction of edges. An example of an execution graph consisting of two weakly connected components is given in Figure 2.
[0057] [Definition 7] A bare-metal server both a physical or virtual machine that is capable of running one or more microservice instances.
[0058] In addition, there are certain pre-requisites, which are assumed to be true:
[0059] [Pre-Requisite 1] The functionalities associated with a service pertaining to an NF are mapped onto one or more microservices.
[0060] [Pre-Requisite 2] The network interconnecting the available servers may be partitioned into a number of sub-networks, where a server may communicate with other servers pertaining to the same or a different sub-network. Servers do not take place in any intra- / extra-sub-network network traffic forwarding tasks, which are delegated to network switches and routers. We say that a direct network link exists between servers i and j (or equivalently, there is a direct link between i and j) if any of the following facts hold:
[0061] ● If i and j belong to the same sub-network, and i communicates with j via a number of switches (or none);
[0062] ● If i and j belong to two different sub-networks, and i communicates with j via a number of switches (or none) and one or more routers without their traffic having to go through a third sub-network;
[0063] ● If i is equal to j.
[0064] As exemplified in Figure 3, in a microservice-based core network, from a logical standpoint, 3GPP's procedures are such that:
[0065] ● They may involve a large number of microservices;
[0066] ● The execution path may involve multiple "back and forth" interactions among the same microservices - thus, preventing the execution path from being modelled as a Directed Acyclic Graph (DAG).
[0067] That is, in a typical core network deployment, it is reasonable to expect that:
[0068] ● Multiple instances of the same microservice are needed to fulfil the demand (to carry out each procedure);
[0069] ● Within the context of the same procedure, the number of instances associated with a microservice may differ from another. This is due to the nature of the task a microservice carries out or how it has been implemented.
[0070] Note that the precise detail of what is disclosed in Figure 3 is unimportant; rather, note the complexity and interconnectedness.
[0071] It is an aim of embodiments of the invention, to provide a method to prompt a function to dynamically partition the nodes (namely, microservice instances) of an execution graph into disjoined sets, and execute instances pertaining to each set onto a bare-metal server.
[0072] In the greater context of 6G core networks, embodiments of the invention aim to enable the core to autonomously optimize its computational footprint by tracking the available bare-metal resources. This is particularly compelling when the bare-metal resource pool involves several mid- to low-end servers located at the edge to support low latency procedures - this is the case of the UE Registration procedure in massive access-type communication networks where hundreds of UEs may request to register to the network with tight latency constraints.
[0073] Embodiments of the disclosure provide apparatus and methods to map microservice instances onto bare-metal servers in a network (e.g. 5GC) relying upon a microservice-based architecture.
[0074] Advantageously, embodiments of the disclosure provide a definition of MOF responsible for calculating the microservice instance-server mapping and enacting the aforementioned mapping in a live system. Embodiments also define a PEG database (part of UDM), which contains the execution graph of every User Plane (UP) / Control Plane (CP) procedure. In addition, PEG records the microservice execution graph currently enacted in the system.
[0075] Embodiments further define a BRP database (part of UDM), which contains the current load and maximum capacity of each bare-metal server and an SCM database (part of UDM), which contains a graph-based representation of the network links among servers, their current loads, and capacities.
[0076] Embodiments described herein are particularly beneficial in heterogeneous bare-metal deployments that may include both high-performance servers in centralized locations along with edge-based servers with reduced computational resources. In this context, MOF is responsible for mapping multiple microservice instances onto a given set of servers without violating either the maximum server computational or network capacities. Furthermore, MOF may fulfil a plurality of optimization criteria, including but not limited to:
[0077] ● Minimization of network traffic among servers
[0078] ● Maximization of the bin-packing efficiency of computational resources.
[0079] In an NF-based core network and within the context of a procedure, the decision of which NF instance another NF instance should direct its output to is informed by the NRF, which enables each NF instance to discover suitable instances of the NF that comes next in the procedure. Similar considerations apply when SCP is used. Embodiments of this disclosure rely upon an extension of the NRF and SCP to microservice-based core network architectures. As such, note that, similarly to what happens in an NF-based 5GC, the NRF and SCP will need to keep track of / inform relevant subscribers / route requests among microservice instances wishing to register, de-register, and change their profile. Finally, note that embodiments of this disclosure are compatible with all the NRF communication models (Model A, B, C, and D) disclosed in "3GPP Technical Specification Group Services and System Aspects, "3GPP TS 23.501: System architecture for the 5G System (5GS) Stage 2 (Release 17) v.17.6.0," Technical Specification, October 2022."
[0080] Regardless of the fact that NF-based or microservice-based 5GCs are in use, prior art systems make it possible for an NF or a microservice to be packaged as a single software image (e.g., Docker image) and run as single or multiple instances (e.g., Kubernetes replica pods) depending on the requested load. This functionality is typically achieved by means of Kubernetes horizontal pod autoscaler. Since each instance shall run on the same bare-metal server, this makes it hard for current auto-scaling solutions to efficiently accommodate (potentially) resource-hungry instances onto bare-metal servers efficiently. As such, this may result to the situation shown in Figure 4 where monolithic instances A, B and C can be accommodated onto bare-metal server 1 and instance D is run in bare-metal server 2 - thus, leaving server 1 with a non-negligible amount of available resources that are not enough to accommodate any other monolithic instance (this phenomenon is also known as bin packing inefficiency).
[0081] Embodiments of the disclosure provide an extension of the Network Repository Function (NRF) to microservice-based core networks. It further provides an extension of the Unified Data Management (UDM) entity to include the following structured databases:
[0082] ● Procedure Execution Graph (PEG) database - Microservice-based execution graph of every User Plane (UP) / Control Plane (CP) procedure along with the flow generated by each microservice. In addition, PEG records the microservice execution graph currently enacted in the system.
[0083] ● Bare-metal Resource Pool (BRP) database - Current load (including but not limited to CPU usage, memory allocated, storage allocated) and maximum load (capacity) that can be allocated in any of the bare-metal servers (including but not limited to the maximum CPU, Memory footprints that can be allocated at any given time).
[0084] ● Server Connectivity Map (SCM) database - Graph-based description of the network links interconnecting the bare-metal servers. Each network link is associated with its current flow (intended as a measure of the amount of data that can be transferred over a link during a given time interval) and capacity (intended as the maximum flow that can be accommodated over a link at any given time).
[0085] ● Definition of the Microservice Orchestration Function (MOF), which is a novel network function responsible for the following:
[0086] o Carrying out a periodic / event-driven monitoring of the BRP and SCM databases to assess the load experienced by the bare-metal servers and the flow circulating over all the network links.
[0087] o Interrogating the PEG database to acquire the microservice execution graph currently enacted in the system.
[0088] o Potentially re-calculating the mapping microservice instance-server for some or all the microservice instances. That is, MOF is in charge of mapping / re-mapping microservice instances on bare-metal servers (that may be physical or virtual machines) to fulfill a plurality of optimization criteria, including but not limited to:
[0089] ■ Minimization of network traffic among servers
[0090] ■ Reduction of the overall amount of processing resources (CPU, Memory, storage, etc.) that is regarded as idle in servers where at least one microservice instance is running, i.e., maximization of the bin-packing efficiency.
[0091] Along with an extension to the UDM (under the form of the PEG, BRP, and SCM databases), embodiments provide a new control plane entity, the MOF, to carry out a period / event-driven monitoring of the BRP and SCM databases to assess the load experienced by the bare-metal servers and the flow currently circulating over all the network links. In addition, MOF is responsible for re-calculating the mapping microservice instance-server for some or all the microservice instances to fulfil a plurality of programmable optimization criteria and feasibility constraints (e.g., server / network capacity constraints).
[0092] Due to Pre-Requisite 1, above, 5GC procedures are enacted by a network of microservice instances. Embodiments do not concern themselves with how microservice instances are implemented in a live system. In particular, one or more microservices may be grouped into the same container or pod.
[0093] Despite the focus of embodiments beyond the current state-of-the-art and 5G standardization efforts, embodiments do have applicability to a state of the art 5GC. At the same time, as standardization efforts move beyond 5G, the current state-of-the-art on 6G clearly shows a focus on the self-optimisation of bare-metal and network resources. As such, adopting MOF according to an embodiment of this disclosure would unlock this capability in the core.
[0094] Although a few preferred embodiments of the disclosure have been shown and described, it will be appreciated by those skilled in the art that various changes and modifications might be made without departing from the scope of the disclosure, as defined in the appended claims.
[0095] Throughout this disclosure, the following notation is used:
[0096] ● Set S = {1, ..., |S|} consists of the available servers;
[0097] ● E is a |S| x |S| matrix where the (i,j)-th element ei,jis equal to 1 if a network link is present between servers i and j, and 0, otherwise; if i is equal to j, ei,jis assumed to be equal to 1 - thus, signifying the capability that each server has to communicate with itself;
[0098] ● The server capacities are listed in set R = {r1, ..., r|S|}, where vector riis associated with server i and consists of (but not limited to) the maximum CPU, Memory footprints that can be allocated at any given time on server i. In a similar fashion, we define R' as the server's current load;
[0099] ● Element ni,jof the |S| x |S| matrix N as the capacity associated with the link connecting server i to server j; ni,jis equal to 0 if ei,jis null. In a similar fashion, we define N' as the matrix defined by the current flow circulating on each link;
[0100] ● M is the set of microservice instances forming the nodes of an execution graph;
[0101] ● C is a |M| x |M| matrix where element V[i,j] is equal to 1 if microservice instance i generates outputs directed towards microservice instance j, 0 otherwise. V is calculated on the basis of the information contained in the PEG database.
[0102] Figure 5 illustrates the call graph followed by each server i (for i in the server list S) to update the BRP and SCM (both part of UDM) with:
[0103] ● The current load (including but not limited to CPU usage, memory allocated, storage allocated) experienced i, r'i(and averaged over a given time interval), and maximum load (server capacity) rithat can be allocated in server i (including but not limited to the maximum CPU, Memory, etc. footprints that can be allocated at any given time);
[0104] ● The list of servers that can be reached via a direct link by server i;
[0105] ● The current flow (averaged over a given time interval) that i receives from server j (nj,i), for j in the list of the servers that can directly communicate to i;
[0106] ● The estimated capacity (n'j,i) associated with the link connecting server j to i (being j capable of directly communicating to i).
[0107] The graph-based description <S,E,R,R',N, N'> of the network links interconnecting the bare-metal servers to be recorded into SCM is iteratively built on the basis of the information listed above (last three bullet points). In particular, this translates into the following procedure:
[0108] ● Steps 1-3 are repeated for each server i in S;
[0109] ● In Step 1, server i periodically refreshes the list of one-hop neighboring servers (discoverNeighbors()). The neighbor discovery phase may take place in a plurality of methods including but not limited to:
[0110] o Access a pre-configured list of neighbors stored in i;
[0111] o Instructing server i to query an internal routing agent;
[0112] o Instructing server i to record the URIs of all the servers that it might have send / received from traffic in a given time interval;
[0113] The data rate (averaged over a given period of time) associated with network traffic originating from server j (one-hop neighbor of server i) constitutes the current load of link j-i. The capacity of link j-i can be established in a plurality of methods including but not limited to:
[0114] o By setting the capacity of a link equal to the maximum receiving rate that can be supported by server i - this information can be obtained by instructructing server i to query its Operating System;
[0115] o By actively probing the capacity of each link during the commissioning phase of a server and / or a new section of the network.
[0116] ● In Step 2, server i calculates its load, averaged over a given time interval, (getLoad()) across a plurality of performance measurements (including but not limited to CPU, memory and storage footprints);
[0117] ● In Step 3, server i communicates to the UDM (updateLoad()):
[0118] o Its current load and capacity
[0119] o The list of discovered one-hop neighbors along where the current load and capacity associated with the links originating from any all the neighbors of server i and directed to server i.
[0120] UDM then proceeds to update the BRP database with the aforementioned information.
[0121] ● In Step 4, when all the servers in S or at least a preconfigured fraction of them have completed Step 3, the server and network link load / capacity information, along with the list of links discovered by each server are brought together in a graph-type structure (computeNetGraph()) that is then recorded in the SCM database (updatedNetGraph()).
[0122] We observe that the UDM-Server i communication may take place in a plurality of abstraction layers (including but not limited to):
[0123] ● network functions virtualization management and orchestration (NFV-MANO).
[0124] The microservice instance-server mapping task is carried out by the MOF. The mapping task may be triggered by any (but not limited to) of the following criteria:
[0125] ● Periodically;
[0126] ● Event-basis - This is the case where a third-party entity in the core, including but not limited to, a load-balancer (for microservice-based cores) calculates an execution graph to be mapped onto the available bare-metal servers.
[0127] Given an execution graph <M,C> that may be currently enacted in a live system or that may be the result of the calculations made by a load-balancing service, the microservice instance-server mapping task shall fulfill at least the following constraints:
[0128] ● C1 Microservice instances mapped onto a server cannot exceed its capacity;
[0129] ● C2 Microservice instances that are expected to communicate can only be mapped onto the same server or onto servers that can directly communicate with each other;
[0130] ● C3 The flow of each network link (connecting different servers) shall always be smaller than or equal to its capacity.
[0131] The microservice instance-server mapping procedure (msServerMapper) is summarized in Figure 6 and Figure 7 and consists of the following key steps:
[0132] ● The procedure is formulated in a recursive fashion. As such, it begins with an if-then statement (line 2) designed to halt the recursive step if the procedure's input is an execution graph made of a single node, i.e., a single microservice instance. If this happens, it means that during the previous recursion step, it was not possible to find a server suitable to accommodate the aforementioned microservice instance. As such, no valid solution to the microservice instance-server mapping task can be found, and an error is returned.
[0133] ● Otherwise, given the execution graph <M,C> provided as input to the procedure, set M is partitioned (line 4) into two disjoined sets (M1 and M2) via a plurality of criteria including but not limited to what follows:
[0134] o The partition takes place according to the min-K-cut principle aiming at establishing a cut in <M,C> associated with the minimum capacity (having the flow among microservices instances being recorded in the PEG database).
[0135] ● Then the procedure attempts to select a server with ID srvId (among those fulfilling constraints C1-C3) capable of running all the microservices instances in M1 (line 5) via a plurality of criteria including but not limited to any of the following ones:
[0136] o Best-Fit-First - The first server in a list of servers, sorted in ascending order (priority given to currently available CPU over other load measures);
[0137] o Current Load Equalization - The server selection is carried out in such a way that the overall load of each server is equalized.
[0138] If no server can be found (line 7), the proceduremsServerMapperis re-run with input <M1,C1>, where C1 is a |M1| x |M1| matrix where element M1[i,j] is equal to 1 if microservice instance i generates outputs directed towards microservice instance j, 0 otherwise (for i and j in M1). Otherwise, if a valid server is found, the procedure stores the pair (srvId, M1) for later use.
[0139] ● Similar considerations can be made for set M2 (lines 10-14).
[0140] Potentially, it is possible to simplify the microservice instance-server mapping as described in Figure 8 and the following.
[0141] In a first case, the execution graph <M,C> consists of a single microservice instance (i.e., |M| = 1), no recursion is needed and the msServerMapper procedure can be simplified as per Figure 8 and Figure 9.
[0142] In a second case, there is a bare-metal server capable of running the entire execution graph, the msServerMapper procedure will try and partition its nodes into two sets. However, a valid mapping will be returned for both subgraphs, which will coincide with the same server ID.
[0143] We observe that cases 1 and 2, above, account for purely theoretical scenarios, which are unlikely to arise in a practical system, and the remarks above are presented only for the sake of completeness.
[0144] In order to give a sense of how the aforementioned procedure operates, consider the following example:
[0145] ● One procedure is considered with ID 1;
[0146] ● The procedure involves two microservices with IDs 1 and 2;
[0147] ● Microservice 1 generates outputs for microservice 2;
[0148] ● There are two instances for each microservice.
[0149] ● Two servers with IDs 1 and 2 are present. Both servers are interconnected via a network link. For simplicity, assume that links have unlimited capacity;
[0150] ● Regardless of the microservice, in this example, each server can only run two microservice instances.
[0151] That is, the notation mentioned above takes on the following values:
[0152] ● P = {1};
[0153] ● M = {microservice-1-instance-1, microservice-1-instance-2, microservice-2-instance-1, microservice-2-instance-2};
[0154] ● C is an all-zero 4 x 4 matrices except for the (1,3)-th and (2,4)-th elements that are set equal to 1;
[0155] ● E is an all-one 2 x 2 matrix.
[0156] Assume that the microservice instance partition takes place according to the min-K-cut, and that the server selection follows the best-fit-first criteria. According to the logic summarized in the flowchart in Figure 9, set M is going to be partitioned, but since the execution graph <M,C> is made of two weakly connected components (see Figure 10 and Definition 6), the min-K-cut criterion returns the following:
[0157] ● M1 = {microservice-1-instance-1, microservice-2-instance-1}
[0158] ● M2 = {microservice-1-instance-2, microservice-2-instance-2}
[0159] As mentioned above, for the sake of this example, it is assumed that each server can run up to two microservice instances. Hence, the best-fit-first server selection decides that the microservice instances contained in M1 can be accommodated in server 1. Similarly, all the instances in M2 can be accommodated in the only remaining server, which is 2. This leads to the microservice instance-server mapping solution shown in Figure 11.
[0160] It is worth noting that MOF may decide to update the microservice instance-server mapping by enacting a newly calculated solution (obtained utilizing the procedure in Figure 8 and Figure 9) in a plurality of ways (including but not limited to): REST-based interaction with container / pod management entities (such as k8s).
[0161] In particular, if the microservice instance-server mapping currently running onto the system is identical or sufficiently similar to a newly calculated mapping, MOF may decide not to update the live system. Conversely, if a newly calculated mapping is enacted onto a live system, the new mapping is also stored in the PEG database.
[0162] Figure 12 illustrates a structure of a network entity according to an embodiment of the disclosure.
[0163] Referring to FIG. 12, the network entity (or network function) includes a transceiver (1210), a memory (1220), and a processor (1230). The transceiver (1210), the memory (1220), and the processor (1230) of the network entity may operate according to a communication method of the network entity described above. However, the components of the terminal are not limited thereto. For example, the network entity may include fewer or a greater number of components than those described above. However, the components of the network entity are not limited thereto. For example, the network entity may include more or fewer components than those described above. In addition, the processor (1230), the transceiver (1210), and the memory (1220) may be implemented as a single chip. Also, the processor (1230) may include at least one processor.
[0164] The network entity includes at least one entity of a core network. For example, the network entity includes an AMF, a session management function (SMF), a policy control function (PCF), a network repository function (NRF), a user plane function (UPF), a network slicing selection function (NSSF), an authentication server function (AUSF), a UDM and a network exposure function (NEF), but the network entity is not limited thereto. Further, the network entity corresponds to the MOF disclosed herein.
[0165] The transceiver (1210) collectively refers to a network entity receiver and a network entity transmitter, and may transmit / receive a signal to / from a base station or a UE. The signal transmitted or received to or from the base station or the UE may include control information and data. In this regard, the transceiver (1210) may include an RF transmitter for up-converting and amplifying a frequency of a transmitted signal, and an RF receiver for amplifying low-noise and down-converting a frequency of a received signal. However, this is only an example of the transceiver (1210) and components of the transceiver (1210) are not limited to the RF transmitter and the RF receiver.
[0166] The transceiver (1210) may receive and output, to the processor (1230), a signal through a wireless channel, and transmit a signal output from the processor (1230) through the wireless channel.
[0167] The memory (1220) may store a program and data required for operations of the network entity. Also, the memory (1220) may store control information or data included in a signal obtained by the network entity. The memory (1220) may be a storage medium, such as a ROM, a RAM, a hard disk, a CD-ROM, and a DVD, or a combination of storage media.
[0168] The processor (1230) may control a series of processes such that the network entity operates as described above. For example, the transceiver (1210) may receive a data signal including a control signal, and the processor (1230) may determine a result of receiving the data signal.
[0169] At least some of the example embodiments described herein may be constructed, partially or wholly, using dedicated special-purpose hardware. Terms such as 'component', 'module' or 'unit' used herein may include, but are not limited to, a hardware device, such as circuitry in the form of discrete or integrated components, a Field Programmable Gate Array (FPGA) or Application Specific Integrated Circuit (ASIC), which performs certain tasks or provides the associated functionality. In some embodiments, the described elements may be configured to reside on a tangible, persistent, addressable storage medium and may be configured to execute on one or more processors. These functional elements may in some embodiments include, by way of example, components, such as software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. Although the example embodiments have been described with reference to the components, modules and units discussed herein, such functional elements may be combined into fewer elements or separated into additional elements. Various combinations of optional features have been described herein, and it will be appreciated that described features may be combined in any suitable combination. In particular, the features of any one example embodiment may be combined with features of any other embodiment, as appropriate, except where such combinations are mutually exclusive. Throughout this specification, the term "comprising" or "comprises" means including the component(s) specified but not to the exclusion of the presence of others.
[0170] Attention is directed to all papers and documents which are filed concurrently with or previous to this specification in connection with this application and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference.
[0171] All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and / or all of the steps of any method or process so disclosed, may be combined in any combination, except combinations where at least some of such features and / or steps are mutually exclusive.
[0172] Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.
[0173] The disclosure is not restricted to the details of the foregoing embodiment(s). The disclosure extends to any novel one, or any novel combination, of the features disclosed in this specification (including any accompanying claims, abstract and drawings), or to any novel one, or any novel combination, of the steps of any method or process so disclosed.
Claims
1.A method performed by a network entity in a wireless communication system, the method comprising:gathering information relating to a current load and capacity of a plurality of servers and network links in a telecommunication network;using the information to calculate a microservice instance-server mapping when triggered to do so by a predefined trigger condition; andenacting the mapping in the telecommunication network, while live, and storing the mapping into a first database.2.The method of claim 1, wherein gathering information relating to a current load and capacity of a plurality of servers and network links comprises gathering information relating to a current load and capacity of all servers and network links in the telecommunication network.3.The method of claim 1, wherein the gathering of the information is performed periodically or on-demand.4.The method of claim 1, further comprising:selecting a microservice instance partition and a server.5.The method of claim 1, wherein the first database is a Procedure Execution Graph, PEG, database.6.The method of claim 1, further comprising:updating second and third databases with the gathered load and capacity information.7.The method of claim 6 wherein the second and third databases are a Bare-metal Resource Pool, BRP, database and a Server Connectivity Map, SCM, database respectively.8.The method of claim 1, wherein the using the information to calculate a microservice instance-server mapping is performed by a Microservice Orchestration Function, MOF.9.The method of claim 1, wherein the telecommunication network is a 5G or 6G network.10.A network entity, comprising:a transceiver; anda processor coupled with the transceiver and configured to:gather information relating to a current load and capacity of a plurality of servers and network links in a telecommunication network;use the information to calculate a microservice instance-server mapping when triggered to do so by a predefined trigger condition; andenact the mapping in the telecommunication network, while live, and storing the mapping into a first database.11.The network entity of claim 10, wherein the processor further configured to:gather information relating to a current load and capacity of all servers and network links in the telecommunication network.12.The network entity of claim 10, wherein the gathering of the information is performed periodically or on-demand.13.The network entity of claim 10, wherein the processor further configured to:select a microservice instance partition and a server.14.The network entity of claim 10,wherein the first database is a Procedure Execution Graph, PEG, database.15.The network entity of claim 10, wherein the processor further configured to:update second and third databases with the gathered load and capacity information, andwherein the second and third databases are a Bare-metal Resource Pool, BRP, database and a Server Connectivity Map, SCM, database respectively,wherein the using of the information to calculate a microservice instance-server mapping is performed by a Microservice Orchestration Function, MOF, andwherein the telecommunication network is a 5G or 6G network.
Citation Information
Patent Citations
Microservice system and method thereof
KR102027749B1
Deploying and managing containers to provide a highly available distributed file system
US20190349429A1
Systems and methods for real-time configurable load determination
US20190394214A1
Providing a set of application slices within an application environment
US20220046084A1
Microservice placement in hybrid multi-cloud using graph matching
US20220060431A1
Cited By
Method for slicing WAPI (Wireless Local Authentication and Privacy Infrastructure) power local wireless network based on
CN119946719A
