Distribution method and distribution unit thereof

By introducing distribution units into network entity clusters, load balancing and failover are achieved, which solves the problems of long failover time and load imbalance in the N:M redundancy model, and improves the availability and load balancing capabilities of network entities.

CN118870548APending Publication Date: 2024-10-29WISTRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310563270.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-04-26
Filing Date
2023-05-18
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The user plane function deployed in the existing N:M redundancy model results in a long failover time and extended service interruption time, and the session management function cannot know the operating status of the user plane function and cannot effectively switch to the operational user plane function, resulting in Load imbalance.

Method used

By introducing a distribution unit into the network entity cluster, the appropriate network entity is selected after receiving the packet, the target media access control address is rewritten, and the packet is transmitted to the network entity to achieve load balancing and failover to avoid service interruption.

Benefits of technology

It realizes the migration of agreement data unit sessions from busy or failed user plane functions to idle user plane functions in a very short time, avoiding service interruptions and improving the availability and load balancing capabilities of network entities, similar to 1:1 redundancy. Model user experience but lower cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118870548A_ABST
    Figure CN118870548A_ABST
Patent Text Reader

Abstract

The invention provides a distribution method and a distribution unit thereof. The distribution method is used for being coupled to a distribution unit of a network entity cluster, and comprises the following steps: receiving a first packet, selecting a first network entity from a plurality of network entities of the network entity cluster, rewriting a target media access control address of the first packet to a media access control address of the first network entity, and transmitting the first packet to the first network entity. In this way, the agreement data unit session can be migrated from a busy or faulty user plane function to an idle user plane function in an extremely short time to avoid service interruption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a distribution method and a distribution unit thereof, and in particular to a distribution method and a distribution unit capable of rapidly switching network entities. Background Art

[0002] Based on cost-effectiveness and operational simplicity, mobile operators tend to deploy user plane functions in an N:M redundancy model. However, user plane functions deployed in an N:M redundancy model may result in a long failover time, resulting in a prolonged service interruption. Therefore, operators deploy user plane functions using different redundancy models based on the service level agreements (SLAs) required for different types of services, which cannot achieve the best cost-effectiveness and operational simplicity. In addition, the session management function has no knowledge of the operating status of the user plane function, nor can it switch to an operational user plane function when a user plane function fails. The existing criteria for the session management function to select user plane functions cannot ensure good load balancing. In practice, the traffic of each protocol data unit session varies greatly, but there is no mechanism to migrate the protocol data unit session from a busy or failed user plane function to an idle user plane function. Summary of the invention

[0003] Therefore, the present invention mainly provides a distribution method and a distribution unit thereof to quickly switch network entities, thereby avoiding service interruption and improving availability.

[0004] An embodiment of the present invention discloses a distribution method for a distribution unit coupled to a network entity cluster, comprising receiving a first packet; selecting a first network entity from a plurality of network entities in the network entity cluster; rewriting a target media access control address of the first packet into a media access control address of the first network entity; and transmitting the first packet to the first network entity.

[0005] An embodiment of the present invention discloses a user equipment, comprising a processing circuit and a storage circuit. The processing circuit is used to execute a program code. The storage circuit is coupled to the processing circuit and is used to store the program code. The program code instructs the processing circuit to receive a first packet; select a first network entity from a plurality of network entities in the network entity cluster; rewrite a target media access control address of the first packet into a media access control address of the first network entity; and transmit the first packet to the first network entity. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 is a schematic diagram of a cluster according to an embodiment of the present invention;

[0007] Figure 2A schematic diagram of a distribution system according to an embodiment of the present invention;

[0008] Figures 3 to 6 Schematic diagrams of a communication system and a communication method according to embodiments of the present invention;

[0009] Figure 7 FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention.

[0010] Explanation of symbols

[0011] 14: Cluster

[0012] 140M: Management network

[0013] 140N1,140N2:Node

[0014] 20: Distribution System

[0015] 241: Allocation Unit

[0016] 242,342,442,542,642: Network entity cluster

[0017] 242TT1~242TTn: Network entity

[0018] 30,40,50,60: Communication system

[0019] 310UE, 410UE, 510UE, 610UE: User equipment

[0020] 320CU1~420CU2,520CU1~620CUm: Central unit

[0021] 320DU1,320DU2,420DU1,420DU2,520DU1,620DU1:Distributed Unit

[0022] 320RU,420RU,520RU,620RU:Radio Unit

[0023] 330AR, 430AR, 530AR, 630AR: Routers

[0024] 340AMF, 440AMF: Access and mobility management functions

[0025] 340NRF, 440NRF: Network repository function

[0026] 340SMF, 440SMF: Session Management Function

[0027] 340UPF, 440UPF: Virtual User Plane Function

[0028] 341,441,541,641: Allocation cluster

[0029] 341LB1~441LBm,541LB1~641LBm: Load Balancer

[0030] 342UPF1~442UPFn,542UPF1~642UPFn: User plane function

[0031] 343,443,543,643: Memory

[0032] 350SVR,450SVR,550SVR,650SVR:Server

[0033] 520NIC1~520NICm: Network controller

[0034] 541mgmtnetL,542mgmtnetU,641mgmtnetL,642mgmtnetU: Management network

[0035] 560SW,660SW:Switch

[0036] 642NIC1~642NICm: calculation circuit

[0037] IP1,IP11,IP12,IP21,IP22: IP address

[0038] MAC1: Media Access Control Address

[0039] S301~S323, S401~S433, S501~S523, S601~S633: Steps DETAILED DESCRIPTION

[0040] Figure 1 FIG. 1 is a schematic diagram of a cluster 14 according to an embodiment of the present invention. The cluster 14 may include a plurality of nodes (eg, nodes 140N1 and 140N2) and a management network 140M.

[0041] The external interfaces (e.g., local area network (LAN) interfaces) of all nodes (e.g., 140N1 and 140N2) are combined to create a virtual cluster interface. All nodes can communicate, control, or exchange data with each other through the management network 140M. The cluster 14 can be an active-active cluster. All nodes have the ability to receive, send, or process data, and the management network 140M can arbitrate (e.g., according to the hash algorithm used by ClusterIP) and select one of the nodes to receive, send, or process data.

[0042] In one embodiment, cluster 14 may have a common Internet Protocol address (IP address), and the common IP address may be a private IP address or a public IP address. For example, the common IP address IP1 of cluster 14 may be 192.168.10.3, and the media access control address (MAC) MAC1 of cluster 14 may be 01:02:03:04:05:06. In one embodiment, the network segment of the management network 140M may be, for example, 192.168.20.0 / 24, the IP addresses IP11 and IP12 of the node 140N1 may be, for example, 192.168.10.1 and 192.168.20.1, respectively, the IP addresses IP21 and IP22 of the node 140N2 may be, for example, 192.168.10.2 and 192.168.20.2, respectively, and the network segment of the device connected to the node 140N1 or 140N2 may be, for example, 192.168.10.0 / 24. The nodes 140N1 and 140N2 may have different MAC addresses.

[0043] In one embodiment, cluster 14, a node (e.g., node 140N1 or 140N2), or management network 140M may be implemented using a combination of software, firmware, and / or hardware (e.g., circuits or processors). In one embodiment, cluster 14 may be implemented using ClusterIP, which may be part of the Netfilter code. In one embodiment, management network 140M may be, for example, a switch, such as a workgroup switch. In one embodiment, cluster 14 may be a distribution cluster (e.g., 341, 441, 541, or 641); a node (e.g., 140N1 or 140N2) may use a combination of software, firmware, and / or hardware to perform load distribution or load balancing, such as a load balancer. In one embodiment, cluster 14 may be a network entity cluster (e.g., 242, 342, 442, 542, or 642); a node (e.g., 140N1 or 140N2) may be a network entity, such as a user plane function (UPF), an access and mobility management function (AMF), a network repository function (NRF), a session management function (SMF), a radio unit (RU), a distributed unit (DU), or a central unit (CU).

[0044] Figure 2 Schematic diagram of a distribution system 20 according to an embodiment of the present invention. The distribution system 20 may include a distribution unit 241 and a network entity cluster 242. The network entity cluster 242 includes a plurality of network entities 242TT1-242TTn. The distribution unit 241 or the network entity (e.g., 242TT1 or 242TTn) may be implemented using a combination of software, firmware, and / or hardware. In one embodiment, the distribution unit 241 may include a plurality of nodes for the distribution cluster.

[0045] The allocation unit 241 may receive a packet and select a network entity (e.g., 242TT1) from the network entities 242TT1-242TTn. The allocation unit 241 may rewrite the destination MAC address of the packet into the MAC address of the selected network entity (e.g., 242TT1) and transmit the packet to the selected network entity (e.g., 242TT1). In other words, the allocation unit 241 may perform load distribution or load balancing according to the load or status of all network entities 242TT1-242TTn, and may allocate tasks to one of the network entities 242TT1-242TTn to avoid any of the network entities 242TT1-242TTn being overloaded while the other network entities are idle, and when one of the network entities 242TT1-242TTn is unresponsive or fails, another one may be selected to continue to provide services.

[0046] Figure 3 The figure is a schematic diagram of a communication system 30 and a communication method thereof according to an embodiment of the present invention. The communication system 30 may include a user equipment (UE) 310UE, a radio unit 320RU, distribution units 320DU1, 320DU2, central units 320CU1, 320CU2, a router 330AR, an access and mobility management function 340AMF, a session management function 340SMF, a network repository function 340NRF, a virtual user plane function 340UPF and a server 350SVR, which may be communicatively coupled or interconnected with each other.

[0047] exist Figure 3 , the virtual user plane function 340UPF may include a distribution cluster 341 and a network entity cluster 342. The distribution cluster 341 may include m load balancers 341LB1-341LBm. The load balancers 341LB1-341LBm may serve as nodes and may control each other or exchange data using the management network of the distribution cluster 341. The load balancers 341LB1-341LBm of the distribution cluster 341 have the same shared private IP address or connection port. When the distribution cluster 341 is started, it may register with the session management function 340SMF (using the private IP address and / or connection port) as a virtual user plane function 340UPF with a shared IP address.

[0048] The network entity cluster 342 may include n user plane functions 342UPF1-342UPFn. The user plane functions 342UPF1-342UPFn may serve as nodes and may control each other or exchange data using the management network of the network entity cluster 342. The user plane functions 342UPF1-342UPFn of the network entity cluster 342 have different private IP addresses, but have the same shared public IP address or connection port.

[0049] exist Figure 3 , the user equipment 310UE wants to transmit data to the server 350SVR. After the user equipment 310UE registers with the session management function 340SMF through the access and mobility management function 340AMF, the session management function 340SMF can use the local repository (local repository) or the network repository function 340NRF to select a user plane function (e.g., virtual user plane function 340UPF) to allocate to the protocol data unit (PDU) session of the user equipment 310UE. In one embodiment, the private IP address and / or connection port of the selected user plane function (e.g., virtual user plane function 340UPF) is the shared private IP address and / or connection port of the allocation cluster 341.

[0050] like Figure 3 As shown in steps S301 to S305, the packet sent from the user equipment 310UE to the server 350SVR is transmitted through the radio unit 320RU, the distribution unit 320DU1, the central unit 320CU1, and the router 330AR (e.g., an aggregation router) to the shared private IP address and / or connection port of the distribution cluster 341. In one embodiment, the source IP address may be the private IP address of the user equipment 310UE, and the target IP address may be the shared private IP address of the distribution cluster 341.

[0051] Since the private IP addresses of the load balancers 341LB1-341LBm are the same, the management network of the cluster 341 can select one of the load balancers (e.g., 341LB1) (e.g., according to the hashing algorithm used by ClusterIP) so that one of the load balancers 341LB1-341LBm (e.g., 341LB1) receives the packet. In addition, the selected load balancer (e.g., 341LB1) rewrites the target MAC address of the packet to the MAC address of a user plane function (e.g., 342UPF1) selected by the load balancer (e.g., 341LB1).

[0052] In one embodiment, the state information of all PDU sessions is stored in a memory 343 (e.g., a distributed cache memory system, memcached, Redis) so that the load balancer (e.g., 341LB1) can select a user plane function (e.g., 342UPF1) in the network entity cluster 342 according to the PDU session traffic of the backend user plane functions 342UPF1-342UPFn. In this way, the PDU session can be migrated from a busy or failed user plane function (e.g., 342UPFn) to an idle user plane function (e.g., 342UPF1) in a very short time (e.g., 3 seconds) to avoid service interruption of the user equipment 310UE.

[0053] like Figure 3 As shown in step S306, the selected load balancer (e.g., 341LB1) sends the packet to the selected user plane function (e.g., 342UPF1). In one embodiment, the source IP address may be the private IP address of the user equipment 310UE, and the target IP address may be the private IP address of the selected user plane function (e.g., 342UPF1).

[0054] After the packet is sent to the selected user plane function (e.g., 342UPF1), the selected user plane function (e.g., 342UPF1) converts the private IP address into a public IP address according to Source Network Address Translation (SNAT). In other words, when the packet is transmitted in the core network, it uses the private IP address assigned to the user equipment 310UE by the session management function 340SMF, and when the packet is transmitted in the Internet, it uses the public IP address converted from the private IP address of the user equipment 310UE. In one embodiment, the public IP address is a public IP address shared by the user plane functions 342UPF1~342UPFn, and the private IP address is a private IP address assigned to the user equipment 310UE by the session management function 340SMF. Figure 3 As shown in step S316, the selected user plane function (e.g., 342UPF1) sends the packet (with a public IP address and / or connection port and multicast MAC address) to the server 350SVR. In one embodiment, the source IP address may be the public IP address shared by the user plane functions 342UPF1-342UPFn, and the target IP address may be the public IP address of the server 350SVR.

[0055] Since the source IP address of the packet header is a public IP address shared by the network entity cluster 342, Figure 3In step S317, the server 350SVR sends the response packet back to the network entity cluster 342. In one embodiment, the source IP address may be the public IP address of the server 350SVR, and the target IP address may be the public IP address shared by the user plane functions 342UPF1-342UPFn. In other words, load distribution with direct server return (DSR) can be achieved.

[0056] After the network entity cluster 342 receives the packet responded by the server 350SVR, a user plane function of the network entity cluster 342 may process the packet. In one embodiment, (the management network of the network entity cluster 342 may enable) the previously selected user plane function (e.g., 342UPF1) to process the packet. In one embodiment, if the previously selected user plane function (e.g., 342UPF1) is unresponsive or fails, the management network of the network entity cluster 342 may arbitrate and select an (idle) user plane function (e.g., 342UPFn) from the network entity cluster 342, and the selected user plane function (e.g., 342UPFn) uses the relevant information stored in the memory 343 to process the packet. In this way, the protocol data unit session can be migrated from the busy or failed user plane function (e.g., 342UPF1) to the idle user plane function (e.g., 342UPFn) in a very short time to avoid service interruption of the user equipment 310UE.

[0057] Then, if Figure 3 As shown in steps S319-S323, the selected user plane function (such as 342UPF1) then routes the response packet to the user equipment 310UE. In one embodiment, the source IP address may be the private IP address of the selected user plane function (such as 342UPF1), and the target IP address may be the private IP address of the user equipment 310UE.

[0058] In one embodiment, the user equipment 310UE may be, for example, a mobile phone, and the server 450SVR may be, for example, an application (APP) server, a web server, or an IP Multimedia Subsystem (IMS) server. The user equipment 310UE may send a request to the server 450SVR, and the server 450SVR may return a response after execution according to the request. However, the present invention is not limited thereto.

[0059] Figure 4Schematic diagram of a communication system 40 and a communication method thereof according to an embodiment of the present invention. The communication system 40 may include a user equipment 410UE, a radio unit 420RU, distribution units 420DU1, 420DU2, central units 420CU1, 420CU2, a router 430AR, an access and mobility management function 440AMF, a session management function 440SMF, a network repository function 440NRF, a distribution cluster 441, a network entity cluster 442 and a server 450SVR.

[0060] In one embodiment, (such as Figure 7 The user equipment 410UE shown in FIG. 4 may be, for example, a camera, and the server 450SVR may be, for example, an artificial intelligence server or an IP multimedia subsystem server. The server 450SVR may be connected to the user equipment 410UE or send a request to the user equipment 410UE, and the user equipment 410UE may respond to the server 450SVR by transmitting image or audio and video data. The user equipment 410UE and the server 450SVR may support Real Time Streaming Protocol (RTSP) streaming. However, the present invention is not limited thereto.

[0061] exist Figure 4 , the distribution cluster 441 may include m load balancers 441LB1-441LBm. The load balancers 441LB1-441LBm may serve as nodes and may control or exchange data with each other using the management network of the distribution cluster 441. The load balancers 441LB1-441LBm of the distribution cluster 441 have the same shared public IP address or connection port.

[0062] The network entity cluster 442 may include n user plane functions 442UPF1-442UPFn. The user plane functions 442UPF1-442UPFn may serve as nodes and may control each other or exchange data using the management network of the network entity cluster 442. The user plane functions 442UPF1-442UPFn of the network entity cluster 442 may have different public IP addresses but the same shared private IP address or connection port. When the network entity cluster 442 is started, it may register with the session management function 440SMF (using the private IP address and / or connection port) as a virtual user plane function 440UPF with a shared IP address.

[0063] exist Figure 4, the server 450SVR intends to transmit data to the user equipment 410UE. After the user equipment 410UE registers with the session management function 440SMF through the access and mobility management function 440AMF, the session management function 440SMF may use the local repository or the network repository function 440NRF to select a user plane function (e.g., virtual user plane function 440UPF) to allocate to the protocol data unit session of the user equipment 410UE. In one embodiment, the private IP address and / or connection port of the selected user plane function (e.g., virtual user plane function 440UPF) is a shared private IP address and / or connection port of the network entity cluster 442.

[0064] like Figure 4 As shown in step S401, the packet sent from the server 450SVR to the user equipment 410UE is transmitted to the shared public IP address and / or connection port of the distribution cluster 441. In one embodiment, the packet can be sent from the public IP address of the server 450SVR to the shared public IP address of the distribution cluster 441.

[0065] Since the public IP addresses of the load balancers 441LB1-441LBm are the same, the management network of the allocated cluster 441 can select one of the load balancers (e.g., 441LB1) (e.g., according to the hashing algorithm used by ClusterIP) so that one of the load balancers 441LB1-441LBm (e.g., 441LB1) receives the packet. In addition, the selected load balancer (e.g., 441LB1) rewrites the destination MAC address of the packet to the MAC address of a user plane function (e.g., 442UPF1) selected by the load balancer (e.g., 441LB1).

[0066] In one embodiment, the state information of all PDU sessions is stored in the memory 443 so that the load balancer (e.g., 441LB1) can select a user plane function (e.g., 442UPF1) in the network entity cluster 442 according to the PDU session traffic of the backend user plane functions 442UPF1-442UPFn. In this way, the PDU session can be migrated from the busy or failed user plane function (e.g., 442UPFn) to the idle user plane function (e.g., 442UPF1) in a very short time (e.g., 3 seconds) to avoid service interruption of the user equipment 410UE.

[0067] like Figure 4As shown in step S405, after the selected load balancer (e.g., 441LB1) sends the packet to the public IP address of the selected user plane function (e.g., 442UPF1), the selected user plane function (e.g., 442UPF1) converts the public IP address into a private IP address according to the Destination Network Address Translation (DNAT). In one embodiment, the public IP address is a public IP address shared by the allocation cluster 441, and the private IP address is a private IP address allocated to the user equipment 410UE by the session management function 440SMF. Figure 4 As shown in steps S407 to S417, the selected user plane function (e.g., 442UPF1) transmits a packet (with a private IP address and / or a connection port and a multicast MAC address) to the user equipment 410UE. In one embodiment, the packet can be transmitted from the private IP address shared by the network entity cluster 442 through the router 440AR (e.g., an aggregation router), the central unit 420CU1, the distribution unit 420DU1, and the radio unit 420RU to the private IP address of the user equipment 410UE.

[0068] exist Figure 4 In steps S418-S430, the user equipment 410UE sends a response packet back to the network entity cluster 442. In one embodiment, the response packet may be sent from the private IP address of the user equipment 410UE to the shared private IP address of the network entity cluster 442.

[0069] After the network entity cluster 442 receives the packet responded by the user equipment 410UE, a user plane function of the network entity cluster 442 may process the packet. In one embodiment, (the management network of the network entity cluster 442 may enable) the previously selected user plane function (e.g., 442UPF1) to process the packet. In one embodiment, if the previously selected user plane function (e.g., 442UPF1) is unresponsive or fails, the management network of the network entity cluster 442 may arbitrate and select an (idle) user plane function (e.g., 442UPFn) from the network entity cluster 442, and the selected user plane function (e.g., 442UPFn) uses the relevant information stored in the memory 444 to process the packet. In this way, the PDU session can be migrated from the busy or failed user plane function (e.g., 442UPF1) to the idle user plane function (e.g., 442UPFn) in a very short time to avoid service interruption of the user equipment 410UE.

[0070] Then, if Figure 4As shown in step S433, the selected user plane function (e.g., 442UPFn) then routes the response packet to the original server 450SVR. In one embodiment, the packet can be sent from the public IP address of the selected user plane function (e.g., 442UPF1) to the public IP address of the server 450SVR. In other words, load distribution with direct server return can be achieved.

[0071] Figure 5 Schematic diagram of a communication system 50 and a communication method thereof according to an embodiment of the present invention. The communication system 50 may include a user equipment 510UE, a radio unit 520RU, a distribution unit 520DU1, central units 520CU1-520CUm, a router 530AR, a network entity cluster 542, a storage 543, a switch 560SW (e.g., a layer 3 switch (Layer 3Switch, L3Switch)) and a server 550SVR.

[0072] exist Figure 5 The central units 520CU1-520CUm may include network controllers 520NIC1-520NICm, respectively. The network controllers 520NIC1-520NICm may be implemented using a system on a chip (SoC). The network controllers 520NIC1-520NICm may include load balancers 541LB1-541LBm, respectively. The load balancers 541LB1-541LBm may constitute a distribution cluster 541 and serve as nodes of the distribution cluster 541, and may control or exchange data with each other using a management network 541mgmtnetL of the distribution cluster 541. The load balancers 541LB1-541LBm of the distribution cluster 541 have the same shared private IP address or connection port. In other words, the load balancers 541LB1-541LBm may be implemented using the computing resources of the central units 520CU1-520CUm.

[0073] exist Figure 5 The network entity cluster 542 may include n user plane functions 542UPF1-542UPFn. The user plane functions 542UPF1-542UPFn may serve as nodes and may control or exchange data with each other using the management network 542mgmtnetU of the network entity cluster 542. The user plane functions 542UPF1-542UPFn of the network entity cluster 542 may have different private IP addresses but the same shared public IP address or connection port.

[0074] like Figure 5As shown in steps S501 to S504 and S512, the packet sent by the user equipment 510UE to the server 550SVR is transmitted to the distribution cluster 541. Figure 5 As shown in step S512, since the load balancers 541LB1~541LBm share the same private IP address, the management network 541mgmtnetL of the allocation cluster 541 can select one of the load balancers (e.g., 541LB1) to receive the packet, and the selected load balancer (e.g., 541LB1) rewrites the destination MAC address of the packet to the MAC address of a user plane function (e.g., 542UPF1) selected by the load balancer (e.g., 541LB1). In one embodiment, the state information of all protocol data unit sessions is stored in the memory 543 so that the load balancer (e.g., 541LB1) can select a user plane function (e.g., 542UPF1) in the network entity cluster 542 according to the protocol data unit session traffic of the backend user plane functions 542UPF1~542UPFn.

[0075] like Figure 5 As shown in steps S513 to S514, after the selected load balancer (e.g., 541LB1) sends the packet to the private IP address of the selected user plane function (e.g., 542UPF1), the selected user plane function (e.g., 542UPF1) converts the private IP address into a public IP address according to source network address translation. In one embodiment, the public IP address is a public IP address shared by the user plane functions 542UPF1 to 542UPFn. Figure 5 As shown in steps S515-S516, the selected user plane function (eg 542UPF1) sends the packet (with the public IP address and / or connection port and multicast MAC address) to the server 550SVR.

[0076] Since the source IP address of the packet header is the public IP address shared by the network entity cluster 542, Figure 5 In steps S517-S518, the server 550SVR sends the response packet back to the network entity cluster 542. That is, load distribution with direct server return can be achieved. Figure 5 In step S518, (the management network 542mgmtnetU of the network entity cluster 542 may enable) the previously selected user plane function (e.g., 542UPF1) to process the packet. Figure 5In step S518, if the previously selected user plane function (e.g., 542UPF1) is unresponsive or fails, the management network 542mgmtnetU of the network entity cluster 542 can arbitrate and select an (idle) user plane function (e.g., 542UPFn) from the network entity cluster 542, and the selected user plane function (e.g., 542UPFn) uses the relevant information stored in the memory 543 to process the packet.

[0077] Then, if Figure 5 As shown in steps S519 to S523, the selected user plane function (eg 542UPFn) then routes the response packet to the user equipment 510UE.

[0078] Figure 6 Schematic diagram of a communication system 60 and a communication method thereof according to an embodiment of the present invention. The communication system 60 may include a user equipment 610UE, a radio unit 620RU, a distribution unit 620DU1, central units 620CU1-620CUm, a router 630AR, a distribution cluster 641, a network entity cluster 642, a storage 643, a switch 660SW (e.g., a layer 3 switch), and a server 650SVR.

[0079] The distribution cluster 641 may include m load balancers 641LB1-641LBm. The load balancers 641LB1-641LBm may serve as nodes and may control each other or exchange data using the management network 641mgmtnetL of the distribution cluster 641. The load balancers 641LB1-641LBm of the distribution cluster 641 have the same shared public IP address or connection port.

[0080] The network entity cluster 642 may include n user plane functions 642UPF1-642UPFn. The user plane functions 642UPF1-642UPFn may serve as nodes and may control or exchange data with each other using the management network 642mgmtnetU of the network entity cluster 642. The user plane functions 642UPF1-642UPFn of the network entity cluster 642 have different public IP addresses but the same shared private IP address or connection port.

[0081] In one embodiment, the user plane functions 642UPF1-642UPFn may include computing circuits 642NIC1-642NICm, respectively, and the computing circuits 642NIC1-642NICm may be implemented using a system on a chip. The computing circuits 642NIC1-642NICm may include load balancers 641LB1-641LBm, respectively. In other words, the computing resources of the user plane functions 642UPF1-642UPFn may be used to implement the load balancers 641LB1-641LBm. However, the load balancers 641LB1-641LBm may also be implemented as Figure 6 As shown, it is independently arranged outside the user plane functions 642UPF1~642UPFn.

[0082] like Figure 6 As shown in steps S601-S602, the packet sent by the server 650SVR to the user equipment 610UE is transmitted to the distribution cluster 641. Figure 6 As shown in step S603, since the public IP addresses shared by the load balancers 641LB1-641LBm are the same, the management network 641mgmtnetL of the allocation cluster 641 can select one of the load balancers (e.g., 641LB1) to receive the packet, and the selected load balancer (e.g., 641LB1) rewrites the destination MAC address of the packet to the MAC address of a user plane function (e.g., 642UPF1) selected by the load balancer (e.g., 641LB1). In one embodiment, the state information of all protocol data unit sessions is stored in the memory 643 so that the load balancer (e.g., 641LB1) can select a user plane function (e.g., 642UPF1) in the network entity cluster 642 according to the protocol data unit session traffic of the backend user plane functions 642UPF1-642UPFn.

[0083] like Figure 6 As shown in steps S604-S605, the selected load balancer (e.g., 641LB1) sends the packet to the public IP address of the selected user plane function (e.g., 642UPF1), and the selected user plane function (e.g., 642UPF1) converts the public IP address into a private IP address according to the target network address translation. Figure 6 As shown in steps S607-S617, the selected user plane function (eg 642UPF1) transmits the packet (with the private IP address and / or connection port and multicast MAC address) to the user equipment 610UE.

[0084] exist Figure 6 In steps S618-S630, the user equipment 610UE sends a response packet back to the network entity cluster 642. Figure 6In step S631, (the management network 642mgmtnetU of the network entity cluster 642 may enable) the previously selected user plane function (e.g., 642UPF1) to process the packet. Figure 6 In step S631, if the previously selected user plane function (e.g., 642UPF1) is unresponsive or fails, the management network 642mgmtnetU of the network entity cluster 642 can arbitrate and select an (idle) user plane function (e.g., 642UPFn) from the network entity cluster 642, and the selected user plane function (e.g., 642UPFn) uses the relevant information stored in the memory 643 to process the packet.

[0085] Then, if Figure 6 As shown in steps S632-S633, the selected user plane function (eg 642UPFn) then routes the response packet to the original server 650SVR. In other words, load distribution with direct server return can be achieved.

[0086] In one embodiment, steps S501-S504, S516, S517, S519-S523 roughly correspond to steps S301-S304, S316, S317, S319-S323, and steps S601, S605, S607, S608, S615-S620, S629-S630, S633 roughly correspond to steps S401, S405, S407, S408, S415-S420, S429-S430, S433.

[0087] In summary, when a PDU session is to be transmitted to a network entity (e.g., a user plane function), the present invention can utilize a distribution unit (or a management network of a network entity cluster) to quickly switch between a busy or failed network entity and an idle network entity, and can transmit the PDU to the idle network entity to avoid service interruption and improve availability. The present invention achieves the same user experience as a 1:1 redundancy model when a network entity fails, but with lower capital expenditure. Moreover, each network entity is basically not idle, and even in an N:M redundancy model, there are still M / (N+M) network entities that are idle. In addition, the present invention enhances the load balancing of the network entity, making it possible to scale-out the network entity and achieve high throughput of the core network. Furthermore, a packet is forwarded via a distribution unit, but another packet in response to this packet does not pass through the distribution unit, and can be directly returned to the server.

[0088] The above descriptions are only preferred embodiments of the present invention. All equivalent changes and modifications made according to the claims of the present invention should fall within the scope of the present invention.

Claims

1. A distribution method for a distribution unit coupled to a network entity cluster, comprising: Receive the first packet; Selecting a first network entity from a plurality of network entities in the network entity cluster; rewriting a target media access control address of the first packet into a media access control address of the first network entity; as well as The first packet is transmitted to the first network entity.

2. The distribution method according to claim 1, in, The allocation unit is used for selecting the first network entity according to the traffic of the plurality of network entities.

3. The distribution method according to claim 1, in, The allocation unit is a cluster and includes a plurality of nodes. A first node of the plurality of nodes is selected from the plurality of nodes according to a hash algorithm to rewrite the target media access control address. Each of the plurality of nodes is a load balancer.

4. The distribution method according to claim 1, in, The allocation unit or the network entity cluster is registered with a session management function as a virtual user plane function having a private Internet Protocol address shared by a plurality of nodes of the allocation unit or shared by the plurality of network entities of the network entity cluster.

5. The distribution method according to claim 1, in, The distribution unit selects the first network entity from the multiple network entities of the network entity cluster to transmit the first packet sent from the first entity to the distribution unit to the second entity via the first network entity. The management network of the network entity cluster selects the second network entity from the multiple network entities to receive the second packet from the second entity and transmit the second packet to the first entity. The first network entity and the second network entity are the same or different network entities.

6. The distribution method according to claim 1, in, The nodes of the allocation unit have a common private IP address and the network entities of the network entity cluster have a common public IP address, or the nodes have a common public IP address and the network entities have a common private IP address.

7. The distribution method according to claim 1, in, The distribution unit or the network entity cluster includes a management network for selecting a node from a plurality of nodes of the distribution unit according to a hash algorithm or for selecting a network entity from a plurality of network entities of the network entity cluster according to traffic or status of the plurality of network entities.

8. The distribution method according to claim 1, in, The first network entity is used for converting a private IP address into a public IP address shared by the network entity cluster or for converting a public IP address shared by the allocation unit into a private IP address.

9. The distribution method according to claim 1, in, Each of the plurality of network entities is a user plane function, a radio unit, a distribution unit or a central unit.

10. The distribution method according to claim 1, in, The multiple nodes of the distribution unit are respectively arranged in multiple user plane functions, multiple radio units, multiple distribution units or multiple central units, or the distribution unit is independently arranged outside the multiple user plane functions, the multiple radio units, the multiple distribution units or the multiple central units.

11. A distribution unit coupled to a network entity cluster, comprising: Processing circuits to execute program code ; as well as The storage circuit is coupled to the processing circuit and is used to store the program code, wherein the program code instructs the processing circuit to perform the following steps: Receive the first packet; Selecting a first network entity from a plurality of network entities in the network entity cluster; rewriting a target media access control address of the first packet into a media access control address of the first network entity; as well as The first packet is transmitted to the first network entity.

12. The dispensing unit according to claim 11, in, The allocation unit is used for selecting the first network entity according to the traffic of the plurality of network entities.

13. The dispensing unit according to claim 11, in, The allocation unit is a cluster and includes a plurality of nodes. A first node of the plurality of nodes is selected from the plurality of nodes according to a hash algorithm to rewrite the target media access control address. Each of the plurality of nodes is a load balancer.

14. The dispensing unit according to claim 11, in, The allocation unit or the network entity cluster is registered with a session management function as a virtual user plane function having a private Internet Protocol address shared by a plurality of nodes of the allocation unit or shared by the plurality of network entities of the network entity cluster.

15. The dispensing unit according to claim 11, in, The distribution unit selects the first network entity from the multiple network entities of the network entity cluster to transmit the first packet sent from the first entity to the distribution unit to the second entity via the first network entity. The management network of the network entity cluster selects the second network entity from the multiple network entities to receive the second packet from the second entity and transmit the second packet to the first entity. The first network entity and the second network entity are the same or different network entities.

16. The dispensing unit according to claim 11, in, The nodes of the allocation unit have a common private IP address and the network entities of the network entity cluster have a common public IP address, or the nodes have a common public IP address and the network entities have a common private IP address.

17. The dispensing unit according to claim 11, in, The distribution unit or the network entity cluster includes a management network for selecting a node from a plurality of nodes of the distribution unit according to a hash algorithm or for selecting a network entity from a plurality of network entities of the network entity cluster according to traffic or status of the plurality of network entities.

18. The dispensing unit according to claim 11, in, The first network entity is used for converting a private IP address into a public IP address shared by the network entity cluster or for converting a public IP address shared by the allocation unit into a private IP address.

19. The dispensing unit according to claim 11, in, Each of the plurality of network entities is a user plane function, a radio unit, a distribution unit or a central unit.

20. The dispensing unit according to claim 11, in, The multiple nodes of the distribution unit are respectively arranged in multiple user plane functions, multiple radio units, multiple distribution units or multiple central units, or the distribution unit is independently arranged outside the multiple user plane functions, the multiple radio units, the multiple distribution units or the multiple central units.