Virtual router in communication system

WO2024239203A1PCT designated stage expired Publication Date: 2024-11-28ALCATEL LUCENT SHANGHAI BELL CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/095547
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-22
Publication Date
2024-11-28

Smart Images

  • Figure CN2023095547_28112024_PF_FP_ABST
    Figure CN2023095547_28112024_PF_FP_ABST
Patent Text Reader

Abstract

Example embodiments of the present disclosure relate to operating a virtual router in a communication system. In an example method, a terminal device determines whether a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router. Based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, a terminal device sets the router status of the terminal device to master device for the virtual router. In this way, an appropriate external observable behavior of the network to support the VRRP mechanism in cellular networks is provided.
Need to check novelty before this filing date? Find Prior Art

Description

VIRTUAL ROUTER IN COMMUNICATION SYSTEMFIELD

[0001] Example embodiments of the present disclosure generally relate to the field of communication systems, and in particular, to devices, methods, apparatuses and a computer readable storage medium for operating a group of terminals of a communication system as a virtual router.BACKGROUND

[0002] The virtual router redundancy protocol (VRRP) is a computer networking protocol that provides redundancy for internet protocol (IP) networks by allowing multiple routers to share a virtual IP address. VRRP assigns one router of the multiple routers to be the master router to increase the availability and reliability of routing paths via automatic default gateway selections on an IP subnetwork. VRRP is defined by IETF in RFC 5798 and solves a single point failure phenomenon of configuring static gateway in LAN.

[0003] VRRP is widely used in edge networks. VRRP supports IP data flow failover, allows hosts to use a single router, and maintain connectivity between routers even if the actual first-hop router fails.SUMMARY

[0004] In general, example embodiments of the present disclosure provide methods, apparatuses, and computer programs for operating a group of terminal devices of a communication system of a cellular network as a virtual router. Each terminal device of the group of terminal devices of the communication system of a cellular network may be referred to a VRRP router. VRRP is a route redundancy protocol which may provide fast switchover from a master node (e.g., master router) to a backup node (e.g., backup router) in the event of link or node failure (e.g., failure of the master router) . VRRP switchover may occur based on some scenarios. In some scenarios, when the master node (e.g., master router) fails, any backup node (e.g., backup router) with a higher VRRP priority than the rest of the backup nodes (e.g., backup routers) may switch to the role of master node. In some scenarios, when a node (e.g., router) is dynamically configured to increase  its VRRP router priority, this node (e.g., router) will preempt the role of master node (e.g., master router) if another node (e.g., router) was acting as the master node (e.g., router) .

[0005] In a first aspect, there is provided a terminal device. The terminal device comprises at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to: determine whether a router priority of the terminal device is higher than the router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for virtual router; based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, set router status of the terminal device to master device for the virtual router.

[0006] In a second aspect, there is provided a network device. The network device comprises at least one processor and at least one memory storing instructions that, when executed by the at least one processor, cause the network device at least to: detect a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; and based on detecting the condition, trigger the switchover of the master device for the virtual router.

[0007] In a third aspect, there is provided a method. The method comprises determining whether a router priority of the terminal device is higher than the router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router; based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, setting router status of the terminal device to master device for the virtual router.

[0008] In a fourth aspect, there is provided a method. The method comprises detect a condition for a switchover of a master device among a group of terminal devices configured  to function as a virtual router; and based on detecting the condition, triggering the switchover of the master device for the virtual router.

[0009] In a fifth aspect, there is provided an apparatus. The apparatus comprises means for determining, at a terminal device, that a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router; means for based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, setting router status of the terminal device to master device for the virtual router.

[0010] In a sixth aspect, there is provided an apparatus. The apparatus comprises means for detecting, at a network device, a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; and means for based on detecting the condition, triggering the switchover of the master device for the virtual router.

[0011] In a seventh aspect, there is provided a non-transitory computer readable medium comprising program instructions for causing an apparatus to perform at least the method according to any one of the above third to fourth aspect.

[0012] In an eighth aspect, there is provided a computer program comprising instructions, which, when executed by an apparatus, cause the apparatus at least to perform at least the method according to any one of the above third to fourth aspect.

[0013] In a ninth aspect, there is provided a terminal device. The terminal device comprises determining circuitry configured to determine whether a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices in another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router; setting circuitry configured to base on determining that the router priority of the terminal device is higher than the router priorities of other terminal  devices of the group of terminal devices, setting router status of the terminal device to master device for the virtual router.

[0014] In a tenth aspect, there is provided a network device. The network device comprises detecting circuitry configured to detect a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; and triggering circuitry configured to base on detecting the condition, trigger the switchover of the master device for the virtual router.

[0015] It is to be understood that the summary section is not intended to identify key or essential features of embodiments of the present disclosure, nor is it intended to be used to limit the scope of the present disclosure. Other features of the present disclosure will become easily comprehensible through the following description.BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Some example embodiments will now be described with reference to the accompanying drawings, in which:

[0017] FIG. 1A illustrates an example of a network environment in which devices of a local area network are connected to terminals of a communication system of a cellular network according to some example embodiments of the present disclosure;

[0018] FIG. 1B illustrates a process of VRRP switchover in accordance with some example embodiments of the present disclosure;

[0019] FIG. 1C illustrates a process of VRRP switchover and state change in accordance with some example embodiments of the present disclosure;

[0020] FIG. 1D illustrates an association between VRRP and route statues in accordance with some example embodiments of the present disclosure;

[0021] FIG. 2 illustrates a process flow of method according to some embodiments of the present disclosure;

[0022] FIG. 3A illustrates a detailed example of a process flow in accordance with some example embodiments of the present disclosure;

[0023] FIG. 3B illustrates a detailed example of a process flow in accordance with some example embodiments of the present disclosure;

[0024] FIG. 4A illustrates a detailed example of a process flow in accordance with some example embodiments of the present disclosure;

[0025] FIG. 4B illustrates a detailed example of a process flow in accordance with some example embodiments of the present disclosure;

[0026] FIG. 5 illustrates a process 500 of how the 5GC network learns the VRRP information;

[0027] FIG. 6A illustrates a process of VRRP information provisioning;

[0028] FIG. 6B illustrates a process of VRRP information provisioning;

[0029] FIG. 7 illustrates a flowchart of a method implemented at a terminal device in accordance with some example embodiments of the present disclosure;

[0030] FIG. 8 illustrates a flowchart of a method implemented at a network device in accordance with some example embodiments of the present disclosure;

[0031] FIG. 9 illustrates a simplified block diagram of a device that is suitable for implementing some example embodiments of the present disclosure; and

[0032] FIG. 10 illustrates a block diagram of an example of a computer readable medium in accordance with some example embodiments of the present disclosure.

[0033] Throughout the drawings, the same or similar reference numerals represent the same or similar elements.DETAILED DESCRIPTION

[0034] Principles of the present disclosure will now be described with reference to some example embodiments. It is to be understood that these embodiments are described only for the purpose of illustration and help those skilled in the art to understand and implement the present disclosure, without suggesting any limitation as to the scope of the disclosure. The disclosure described herein can be implemented in various manners other than the ones described below.

[0035] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skills in the art to which this disclosure belongs.

[0036] References in the present disclosure to “one embodiment, ” “an embodiment, ” “an example embodiment, ” and the like indicate that the embodiment described may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.

[0037] It shall be understood that although the terms “first” and “second” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term “and / or” includes any and all combinations of one or more of the listed terms.

[0038] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms “a” , “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” , “comprising” , “has” , “having” , “includes” and / or “including” , when used herein, specify the presence of stated features, elements, and / or components etc., but do not preclude the presence or addition of one or more other features, elements, components and / or combinations thereof. As used herein, “at least one of the following: <a list of two or more elements>” and “at least one of <a list of two or more elements>” and similar wording, where the list of two or more elements are joined by “and” or “or” , mean at least any one of the elements, or at least any two or more of the elements, or at least all the elements.

[0039] As used in this application, the term “circuitry” may refer to one or more or all of the following:

[0040] (a) hardware-only circuits (such as i analog and / or digital circuits) and

[0041] (b) combinations of hardware circuits and software, such as (as applicable) :

[0042] (i) a combination of analog and / or digital hardware circuit (s) with software (e. g, firmware) ; and

[0043] (ii) any portions of hardware processor (s) with software (including digital signal processor (s) ) , software, and memory (ies) that work together to cause an apparatus, such as a mobile phone or server, to perform various functions) and

[0044] (c) hardware circuit (s) and or processor (s) , such as a microprocessor (s) or a portion of a microprocessor (s) , that requires software (for example, firmware) for operation, but the software may not be present when it is not needed for operation.

[0045] This definition of circuitry applies to all uses of this term in this application, including in any claims. As a further example, as used in this application, the term circuitry also covers an implementation of merely a hardware circuit or processor (or multiple processors) or portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. The term circuitry also covers, for example and if applicable to the particular claim element, a baseband integrated circuit or processor integrated circuit for a mobile device or a similar integrated circuit in server, a cellular network device, or other computing or network device.

[0046] As used herein, the term “cellular network” refers to a network operating in accordance with any suitable radio access technology defined by standards, such as Long Term Evolution (LTE) , LTE-Advanced (LTE-A) , new radio Wideband Code Division Multiple Access (WCDMA) , High-Speed Packet Access (HSPA) , Narrow Band Internet of Things (NB-IoT) and so on. Furthermore, the communications between a terminal device and a network device of a cellular network may be performed according to any suitable communication protocols, including, but not limited to, the fourth generation (4G) , 4.5G, the future fifth generation (5G) communication protocols, and / or any other protocols either currently known or to be developed in the future. Embodiments of the present disclosure may be applied in various cellular networks. Given the rapid development in communications, there will of course also be future type communication technologies and systems with which the present disclosure may be embodied. It should not be seen as limiting the scope of the present disclosure to only the aforementioned system.

[0047] As used herein, the term “network device” refers to any device in a cellular network via which a terminal device accesses a data network and receives services exposed by other network devices of the cellular network. In some examples, a network device  may comprise or implement a network function of a 5th generation communication system (5GS) (e.g., a core network) of a cellular network. In some examples, the network devices may be located at the RAN of the 5GS. The network device may be part of a base station (BS) or an access point (AP) , for example, a node B (NodeB or NB) , an evolved NodeB (eNodeB or eNB) , a NR NB (also referred to as a gNB) , a Remote Radio Unit (RRU) , a radio header (RH) , a remote radio head (RRH) , a relay, a low power node such as a femto, a pico node, and so forth, depending on the applied terminology and technology. A gNB may include a centralized unit CU and one or more distributed DUs. Relay is a kind of device which relays wireless signals of another RRU, RRH, or low power node (basically amplifies wireless signals) . Femto and Pico nodes are small base stations with a small coverage area.

[0048] The term “terminal device” refers to a device of a communication system of a cellular network, such as a 5th generation communication system (5GS) that may be capable of wireless (e.g., radio) communication with a NR-RAN of the 5GS) . By way of example rather than limitation, a terminal device may also be referred to as a wireless communication device, user equipment (UE) , a Subscriber Station (SS) , a Portable Subscriber Station, a Mobile Station (MS) , or an Access Terminal (AT) . Examples of a terminal device include, but not limited to, a mobile phone, a cellular phone, a smart phone, voice over IP (VoIP) phones, wireless local loop phones, a tablet, a wearable terminal device, a personal digital assistant (PDA) , portable computers, desktop computer, image capture terminal devices such as digital cameras, gaming terminal devices, music storage and playback appliances, vehicle-mounted wireless terminal devices, wireless endpoints, mobile stations, laptop-embedded equipment (LEE) , laptop-mounted equipment (LME) , USB dongles, smart devices, wireless customer-premises equipment (CPE) , an Internet of Things (loT) device, a watch or other wearable, a head-mounted display (HMD) , a vehicle, a drone, a medical device and applications (for example, remote surgery) , an industrial device and applications (for example, a robot and / or other wireless devices operating in an industrial and / or an automated processing chain contexts) , a consumer electronics device, a device operating on commercial and / or industrial wireless networks, and the like. In the following description, the terms “terminal device” , “communication device” , “terminal” , “user equipment” and “UE” may be used interchangeably.

[0049] VRRP supports IP data flow failover without causing confusion under specific circumstances, allows hosts in a LAN to use a single router, and maintain connectivity  between routers even if the actual first-hop router fails. VRRP can be implemented on a common segment of a LAN to provide describes a method of implementing a redundant IP interface shared between two or more routers on connected to the a common LAN segment, allowing a group of the two or more routers to function as one virtual router. The one virtual router may be referred to as group of routers running the VRRP are called may refer to a VRRP routers in the rest of the invention. They may participate as one or more virtual routers. The one virtual router may use a master election process to support IP data flow failover. If the master virtual router, such as fails, the backup router configured with the highest priority becomes the master router. The new master router performs assumes the normal packet forwarding for packet received from the LAN device (s) or host (s) . When LAN connected to 5GS, 5GS UE may form a group which may be considered as a virtual router. Some non-5G capable devices (LAN segment) may connect to 5G UE via wired LAN or wireless LAN.

[0050] In some network environments, a LAN may be connected to a data network via a cellular network comprising a communication system, such as a 5th generation comThere is no mechanism that allows the cellular networks the communication system (e.g., a 5G system) to support the master election process as defined in VRRP. It is open about how the 5GS can elect terminal devices (e.g., UEs) of a cellular network as the master router for a virtual router, also called as the master device for a virtual router in a cellular network supporting VRRP, during the process of master election as defined in VRRP. Specifically, when multiple terminal devices (e.g. UEs) devices of a cellular network are serving the same subnet of a LAN, there is no mechanism exists to select a master device (i.e., a terminal device (e.g., UE) ) configured to the function of VRRP router associated withfor a virtual router to which actually serves the subnet of the LAN. Besides Furthermore, there is no mechanism exists to trigger and perform a master device or a backup device switchover to avoid single point failure in the cellular network and guarantee resilient performance in cellular networks.

[0051] In view of the above, example embodiments of the present disclosure provide a solution for using VRRP mechanism in cellular networks. terminal devices (e.g., UEs) of a cellular network UE and VRRP sterminal of multiple terminal devices (e.g., UEs) serving a subnet of a LAN. In particular, the example embodiments of the present disclosure may provide appropriate external observable behaviors of the 5GS network to support the VRRP mechanism in cellular networks. The present disclosure may provide a  method to support the VRRP mechanism in cellular networks, which allows multiple terminal devices (e.g., UEs) of a communication system of a cellular network in a certain VRRP group to operate as a virtual router where each terminal device of the multiple terminal devices operating as a virtual router to serve the same subnet of a LAN behind the terminal devices (e.g., the subnet of the LAN is connected to the multiple terminal devices of the communication system of the cellular network) . To avoid single point failure and performance degradation impact, methods are designed to example embodiments of the present disclosure enable a terminal device to select and / or reselect the terminal device taking a role of VRRP master device for a virtual router, which refers to the master election process as defined in VRRP. Those new capabilities of a communication system of a cellular network may configure provide VRRP information to the terminal devices (e.g., UEs) of a communication system of a cellular network serving a subnet which is used to determine which terminal devices serve the subnet and which terminal devices take the role of one or more virtual routers or learn the VRRP information for one or more virtual routers.

[0052] FIG. 1A illustrates an example of a network environment 100A in which devices of a local area network are connected to terminals of a communication system of a cellular network according to some example embodiments of the present disclosure. In the descriptions of the example embodiments of the present disclosure, the network environment 100A includes local area network 101 connected to a communication system 100 of a cellular network. For illustrative purposes only, various aspects of example embodiments will be described in the context of network devices and terminal devices of the communication system 100 that communicate with one another. It should be appreciated, however, that the description herein may be applicable to other types of apparatus or other similar apparatuses that are referenced using other terminology.

[0053] As illustrated in Fig. 1A, the communication system 100A may comprise a LAN comprising one or more device (s) 101, a terminal device 110 (hereinafter may also be referred to as UE 110, first UE 110, or first terminal device 110) , a terminal device 120 (hereinafter may also be referred to as UE 120, second UE 120, or a second terminal device 120) , Radio Access Network 102 (hereinafter may also be referred to as RAN 102, or first RAN 102) , Radio Access Network 103 (hereinafter may also be referred to as RAN 103, or second RAN 103) , a core network comprising a network device 104 (hereinafter may also be referred to as Access and Mobility Management Function device 104) , a network device  130 (hereinafter may also be referred to as Session Management Function device 130) , a network device 140 (hereinafter may also be referred to as User Plane Function device 140, or first UPF 140) , a network device 150 (hereinafter may also be referred to as User Plane Function device 150, or second UPF 150) , a network device 160 (hereinafter may also be referred to as data network router 160, or DN router 160) .

[0054] In some embodiments, AMF device 104 is a network device of the communication system 100 that includes a hardware (e.g., at least one processor and at least one memory) and a software (e.g., a software program or software code) of an AMF. An AMF may be a network function of a communication system that is configured to perform registration management, connection management, reachability management, and mobility management. The AMF device 104 may include instructions of a software program or software code stored in the at least one memory of the AMF device. These instructions may be executed by the at least one processor of the AMF device to perform operations of the AMF described herein.

[0055] In some embodiments, SMF device 130 is a network device of the communication system 100 that includes hardware (e.g., at least one processor and at least one memory) and software (e.g., a software program or software code) of a SMF. A SMF may be a network function of a communication system that is configured to manage the user sessions including establishment, modification and release of sessions and allocate IP addresses for IP PDU sessions. The SMF device 130 may store instructions of the software program or software code in the at least one memory of the SMF device 130. These instructions may be executed by the at least one processor of the network device 130 to perform the operations of the SMF described herein.

[0056] In some embodiments, UPF device 140 is a network device of the communication system 100 that includes hardware (e.g., at least one processor and at least one memory) and software (e.g., a software program or software code) of an UPF. An UPF may be a network function of a communication system that is configured to perform Radio Access Network (RAN)  / Data Network (DN) interconnect, packet inspection and application detection, packet routing and data forwarding, and QoS management and usage reporting. The UPF device 140 may store of the software program or software code in the at least one memory of the SMF device 130. These instructions may be executable by the at least one processor of the UPF device 140 to perform the operations of the SMF described herein.

[0057] Although FIG. 1A describes network devices, in other embodiments, the communication system may include one device that includes the network functions (e.g., AMF, SMF, etc. ) of the communication system. The one device may be a standalone computer, a distributed computing system, or a cloud computing system.

[0058] In the network environment 100A, such as an industrial environment, many devices and industrial systems, such as device (s) of a LAN (generally referred to as LAN device (s) or host (s) 101) , may not have 5G access capability and connectivity options as these devices are more often limited to being capable of connecting to a wireline LAN or a wireless LAN. 5G access capability may refer to the UE supporting NR band and 5G NAS layer support. Connectivity options may refer to single connectivity refers to a device being capable of connecting to a NR-connectivity refers to a UE bean access network, simultaneous 3GPP and non-3GPP connectivity etc. However, LAN device (s) or host (s) 101 may connect to 5G capable devices, such as a terminal device 110 and a terminal device 120 of a 5G communication system, to transmit their traffic. A 5G capable device may refer to device that is capable of operating as a UE supporting NAS signaling with the 5G CN over a 5G NR access network. The traffic flows from the LAN device (s) or hosts 101 towards the data network (e.g., internet) or may be from data network (e.g., internet) towards device (s) or hosts 101 within the LAN or a different LAN. In other words, the terminal device 110 and the terminal device 120 may act as VRRP (Virtual Router Redundancy Protocol) routers to route the traffic.

[0059] For example, LAN device (s) or host (s) 101 may transmit their traffic via the terminal device 110 and / or the terminal device 120 to Radio Access Network 102 or Radio Access Network 103. The Radio Access Network 102 or Radio Access Network 103 may then forward the traffic to the network device 140 or the network device 150. The network device 104 may support the terminal device 110 and the terminal device 120 with different mobility management needs. The network device 130 may control and manage t the network device 150 by sending signaling via the N4 interface. The network device 150 then may forward (or route) he traffic received from the RAN 102 or RAN 103 to the network device 160 and / or forward or route traffic received from the network device 160 to the RAN 102 or the RAN 103. The network device 160 may then route the traffic to data network.

[0060] When a LAN device (s) or host (s) 101 is only connected to the terminal device 110 (or the terminal device 120) and the terminal device 110 (or terminal device 120) is acting as a router, this creates a single point of failure, for example the terminal device 110 (or the terminal device 120) may suffer connection loss to the RAN 102 (or RAN 103) or loss of coverage due to interference or any other factors.

[0061] According to the example embodiments of the disclosure, the single point of failure in the scenario described above may be removed having terminal devices 102 and 103 act as a single virtual router for routing traffic of the LAN device (s) or hosts 101 to the data network via the 5GG and for routing traffic received from the data network to the LAN device (s) or hosts 101. The current VRRP mechanisms may be used to select 5G UE device acting as a master router in 5GS environment. With applying VRRP in the terminal device 110 and / or the terminal device 120, any change of master router will be transparent to the LAN devices or hosts in the subnet behind the UE devices. As such, a seamless changeover and uninterrupted traffic flow may be implemented.

[0062] It is to be understood that the number of network devices and terminal devices is only for the purpose of illustration without suggesting any limitations. The communication system 100 may include any suitable number of network devices and terminal devices adapted for implementing embodiments of the present disclosure. Although not shown, it would be appreciated that one or more network devices and terminal devices may be located in the communication system 100.

[0063] Communications in the communication system 100 may be implemented according to any proper communication protocol (s) , comprising, but not limited to, communication protocols of the fourth generation (4G) and the fifth generation (5G) radio access technologies and on the like, wireless local area network communication protocols such as Institute for Electrical and Electronics Engineers (IEEE) 802.11 and the like, and / or any other protocols currently known or to be developed in the future. Moreover, wireless communications between terminal devices 110, 120 and the RANs 102, 103 of the communication system 100 may utilize any suitable multiple-access technology, comprising but not limited to: Code Division Multiple Access (CDMA) , Frequency Division Multiple Access (FDMA) , Time Division Multiple Access (TDMA) , Frequency Division Duplex (FDD) , Time Division Duplex (TDD) , Multiple-Input Multiple-Output (MIMO) , Orthogonal Frequency Division Multiple (OFDM) , Discrete Fourier Transform  spread OFDM (DFT-s-OFDM) and / or any other multiple-access technologies currently known or to be developed in the future.

[0064] FIG. 1B illustrates a process of VRRP switchover 100B in accordance with some example embodiments of the present disclosure. As shown in Figure 1B, a virtual router 140B may be composed by router 110B, router 120B, and router 130B through VRRP configurations. The router 110B may be the terminal device 110 and router 120B may be the terminal device 120 of the communication system of the cellular network illustrated in Fig. 1A. The client devices 101B-103B may be LAN devices or hosts 101 of a subnet of the LAN illustrated in Fig. 1A.

[0065] The router 110B may be elected as the master router for a virtual router since it has the highest priority among those VRRP routers associated with a virtual router, while router 120B and router 130B are backup routers. The IP addresses of router 110B, router 120B, and router 130B are 10.10.1, 10.10.2, and 10.10.3 respectively in this example embodiment. The virtual router 140B may use one IP address that is the same as the actual IP address of one router of the three routers (as an example, the router may be designated as the master router) for the virtual router or another IP address on the same network segment as that of the three routers. As an example, the IP addresses of virtual router may be 10.10.0.1. The client devices 101B-103B may then transmit their traffic to the master router 110B for the virtual router and the IP address of their default gateway may be 10.10.0.1.

[0066] When the master router 110B fails for any reasons, router 120B and router 130B may elect a new master router. For example, router 120B may be elected as the new master router for the virtual router because router 120B may have a higher priority than router 130B, while the IP address of virtual router 140B may still be 10.10.01. The new master router 120B may then start to respond to Address Resolution Protocol (ARP) packets transmitted to the virtual IP address and periodically transmit VRRP Advertisement packets. The client devices 101B-103B may then transmit their traffic to the master router 120B and their default gateway may be 10.10.0.1. In some embodiments, in the group of VRRP routers associated with a virtual router140B, only one router is in active mode and the rest are in backup mode.

[0067] FIG. 1C illustrates a process of VRRP switchover and state change 100C in a communication system of a cellular network in accordance with some example  embodiments of the present disclosure. In this process, the master router for a virtual router is elected or re-elected among a group of terminal devices for the virtual router following the master election process of VRRP. The state of each terminal device within the group of terminal devices is determined and / or updated accordingly. As shown in Figure 1C, at 101C, when master election process of VRRP is initialized, a network device and / or network function of a cellular network may select a terminal device as a master router (or master device) based on priorities of terminal devices taking the role of VRRP routers associated with the virtual router. In VRRP, the priorities of a router may range from 0 to 255, where 255 is the highest priority. The VRRP routers associated with a virtual router may be include router 110B, router 120B, and router 130B illustrated in Fig. 1B. At 102C, the master router may be selected by deciding whether the priority of a router is 255. At 103C, the router whose priority is 255 may then be elected as the master router immediately. The master device may then transmit gratuitous ARP packets to notify LAN devices or hosts that are connected to it of the virtual MAC address and may then start forwarding packets.

[0068] At 104C, the UE devices may switch to the master device after the timer expires and may periodically transmit VRRP Advertisement packets to all backup devices in the group of VRRP routers associated with a virtual router to advertise its configurations (such as the priority) and operating status. In some embodiments, when the master device fails or its priority drops, re-election may be performed to select a new master device for the virtual router.

[0069] At 105C, all the priorities of UE devices may be compared. At 107C, if the priority of the current master device is higher than the priorities of other backup devices, the current master device may still remain as the master device. Otherwise, at 106C, the current master device may be switch to a backup device. In some embodiments, the priorities between the current master device and other devices may be the same. At 108C, the primary IP addresses of interfaces between the current master device and other devices may be compared. At 110C, if the primary IP addresses of interfaces of the current master device is greater or same as the virtual IP addresses in the group of VRRP routers associated with a virtual router, the current master device may still remain as the master device. Otherwise, at 109C, the current master device may be switch to a backup device. If the master device fails, the backup device with the highest priority may be elected as the new master device for the virtual router.

[0070] In some embodiments, after a master device or backup device switchover, the new master device may immediately transmit gratuitous ARP packets carrying the virtual MAC and IP addresses to allow LAN devices or hosts that are connected to it to update corresponding MAC entries.

[0071] In some embodiments, if the original master device may recover and it is the IP address owner (its priority is 255) , it immediately may switch to the Master state. In some embodiments, if the original master device recovers and its priority is lower than 255, it may switch to the Backup state, and its original priority is restored.

[0072] FIG. 1D illustrates an association 400 between VRRP and route statuses in accordance with some example embodiments of the present disclosure. As shown in Figure 1D, in a normal situation, client devices 101D-104D, such as LAN devices or hosts 101 as illustrated in Fig. 1A, may transmit their traffic to data network 110D through user network 105D and 106D via a master device 108D for a virtual router. The master device 108D for the virtual router may be the router 110B as in Fig. 1B. The master device 108D for the virtual router may receive uplink traffic from client devices 101D-104D and forward the uplink traffic to network 110D. The master device 108D for the virtual router may also receive downlink traffic from the network 110D and forward the downlink traffic to the client devices 101D-104D.

[0073] However, when a fault may occur on the uplink interface for forwarding traffic on the master device 108D for the virtual router, the priority of the master device 108D for the virtual router may decrease. When the priority of the master device 108D for the virtual router is lower than the priority of the backup device 109D, the backup device 109D may take over the master device for the virtual router and become a new master device for the virtual router. The new master device 109D for the virtual router may receive uplink traffic from client devices 101D-104D and forward the uplink traffic to network 110D. The new master device 109D for the virtual router may also receive downlink traffic from the network 110D and forward the downlink traffic to the client devices 101D-104D. This process may minimize the impact of the uplink interface fault on service forwarding.

[0074] FIG. 2 illustrates a process flow of method according to some embodiments of the present disclosure. For the purpose of discussion, the process flow 200 will be described with reference to FIGS. 1A-1D. It would be appreciated that although the process flow  200 has been described referring to FIGS. 1A-1D, this process flow 200 may be likewise applied to other similar communication scenarios.

[0075] In the process flow 200, the terminal device 110 may determine (205) whether a router priority of the terminal device is higher than router priorities of other terminal devices. The terminal device and the other devices are part of a group of terminal devices of a communication system of a cellular network, and group of terminal devices may be configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system. The router priority value may be used in master election for the virtual router.

[0076] The terminal device 110 then may set (210) router status of itself to master device for the virtual router based on the determining that the router priority of the terminal device 110 is higher than the router priorities of other terminal devices of the group of terminal devices. The terminal device 110 then may begin to respond to ARP messages transmitted from devices, such as LAN devices or hosts 101, connected to the terminal device 110, to the virtual router. In some embodiments, the terminal device 110 may send out ARP announcement messages (Gratuitous ARP) towards the LAN devices or hosts 101 before responding to ARP messages transmitted by LAN devices or hosts 101.

[0077] In some embodiments, when the terminal device 110 detects a condition for a switchover of the master device for the virtual router, the terminal device 110 may trigger (235) the switchover of the master device for the virtual router. The terminal device 110 may update the priority of the router the terminal device functions as and then send the updated priority to other terminal devices of the group of terminal devices. For ease of understanding, the priority may also refer to a router priority of the terminal device in the present disclosure.

[0078] In some embodiments, the conditions for a switchover of the master device for the virtual router may include at least one of the following: performance degradation of the terminal device 110 is above a threshold; a change in a status of hardware of the terminal device 110; an uplink (UL) scheduling issue of the terminal device 110; a change in a load of the at least one processor of the terminal device 110; a queue exhaustion in processing packets of the terminal device 110; a battery power level of the terminal device 110 is  depleted; a failure of a radio link of the terminal device 110; and / or an out of coverage issue for the terminal device 110.

[0079] In some embodiments, the terminal device 110 may obtain configuration information for the virtual router before determining (205) whether a router priority of the terminal device is higher than router priorities of other terminal devices among the group of terminal devices for the virtual router. The configuration information may comprise the router priority of the terminal device 110.

[0080] In some embodiments, the terminal device 110 may receive the configuration information from the SMF of the communication system during a PDU session related procedure for the terminal device 110. The PDU session related procedure may be PDU session establishment or modification procedure. The configuration information may be provided by a unified data management (UDM) of the communication system of the cellular network, a policy control function (PCF) of the communication system of the cellular network, or a local policy configuration.

[0081] In some embodiments, the terminal device 110 may obtain the configuration information offline or pre-configured. In some embodiments, the terminal device 110 may send the configuration information determined by the terminal device 110 to the network device130, such as SMF of the communication system. The PDU session related procedure may be PDU session establishment or modification procedure.

[0082] In some embodiments, the terminal device 110 may send the configuration information to the SMF of the communication system during PDU session related procedure for the terminal device 110. The PDU session related procedure may be PDU session establishment or modification procedure.

[0083] In some embodiments, the configuration information may comprise at least one of the followings: an identifier of the group of the terminal devices functioning or operating as a virtual router; a set of IP addresses associated with the group of the terminal devices functioning or operating as a virtual router, and the router priority of the terminal device.

[0084] In some embodiments, the terminal device 110 may send an indication of the router status of the terminal device 110 to a AMF or network device 130 of the communication system. The indication of the router status may be included in a non-access-stratum (NAS) session management (SM) signalling. In some embodiments, the NAS SM signalling may contain a protocol data unit (PDU) session establishment or  modification request. In some embodiments, the network device 130 may be a session management function (SMF) of the communication system, and the indication of the router status sent by the terminal device 110 to the SMF of the communication system may at least include an identifier of the virtual router and / or the router status of the terminal device for the virtual router. In some embodiments, the network device 130 may be a user plane function (UPF) of the communication system, and the indication of the router status sent by the terminal device 110 to the UPF of the communication system may include at least virtual router redundancy protocol (VRRP) packets.

[0085] In some embodiments, the terminal device 110 may receive, an indication of the router status from the SMF (or SMF device 130) of the communication system to change the router status of the terminal device from the master device to the backup device for the virtual router. Alternatively, or additionally, the terminal device 110 may send an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router to the SMF of the communication system.

[0086] In some embodiments, the terminal device 110 may receive a change of the router priority of the terminal device in a session management (SM) data subscription from the network device 130, such as a unified data management (UDM) of the communication system.

[0087] On the network device 130 side, the network device 130 may detect (220) a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router. The network device 130 may then trigger (225) the switchover of the master device for the virtual router based on detecting the condition.

[0088] In some embodiments, the network device 130 is a session management function (SMF) (or SMF device 130) of the communication system of the cellular network and the condition for a switchover of a master device may at least include mobility of the terminal device; performance degradation; an operator local policy change; a tracking area (TA) change; a quality of service (QoS) monitoring result; a performance measurement function (PMF) result; or a request for the switchover from another network device. Those conditions are associated with the group of terminal devices acting as the virtual router. Alternatively, or additionally, the SMF (or SMF device 130) of the communication system of the cellular network may further send an indication of the router status to change router  status of the terminal device from one of the master device and a backup device for the virtual router to the other one of the master device and the backup device to a terminal device among the group of terminal devices 110 to trigger the switchover.

[0089] In some embodiments, when the SMF of the communication system receives an indication of the router status to change router status of the terminal device from one of the master device and the backup device for the virtual router to the other one of the master device and the backup device from the terminal device among the group of terminal devices, the SMF of the communication system may trigger the switchover.

[0090] In some embodiments, the network device 130 may be a unified data management (UDM) of the communication system, and the condition for UDM of the communication system may be based on a UDM subscription change associated with a terminal device acting as the master device. Alternatively, or additionally, the UDM of the communication system may send a change of a router priority of the terminal device in a session management (SM) data subscription to SMF to trigger the switchover.

[0091] In some embodiments, the network device 130 may be a policy control function (PCF) of the communication system, and the conditions for PCF of the communication system may at least include: a PCF policy change; a TA change; a QoS monitoring result; a Performance Management Function (PMF) result; or an application function (AF) Policy change. Those conditions are associated with a group of terminal devices acting as the virtual router. Alternatively, or additionally, the PCF of the communication system may send a notification of updating a SM policy associated with a terminal device to an SMF of the communication system to trigger the switchover.

[0092] In some embodiments, the network device 130 may be an application function (AF) device of the communication system or a network exposure function (NEF) device of the communication system, and the condition for the AF device of the communication system or the NEF device of the communication system may be based on an application request depending on at least one traffic characteristic associated with a group of terminal devices acting as the virtual router. Alternatively, or additionally, the network device may comprise an AF of the communication system and / or a NEF of the communication system and the AF and / or NEF may send a request for the triggering the switchover to an SMF of the communication system of the cellular network to trigger the switchover.

[0093] In some embodiments, the network device 130 may be a network data analytics function (NWDAF) of the communication system of the cellular network, and the condition for NWDAF of the communication system of the cellular may be based on NWDAF analytics associated with a group of terminal devices acting as the virtual router. The NWDAF analytics is based on the terminal device’s historical performance per application support. Alternatively, or additionally, the AF of the communication system or the NEF of the communication system may send NWDAF analytics to an SMF of the communication system to trigger the switchover.

[0094] In some embodiments, the network device 130 may be an operation, administration and maintenance (OAM) of the cellular network, the condition for OAM of the communication system is based on an OAM operation on the at least one terminal devices among the group of terminal devices acting as the master device for the virtual router. In some embodiments, the OAM of the communication system may send an indication of the router status to trigger the switchover to an SMF of the communication system of the cellular network.

[0095] In some embodiments, the network device 130 may receive an indication of the router status that the terminal device is the master router for the virtual router from a terminal device 110 among the group of terminal devices. In some embodiments, the network device 130 may receive the indication of the router status from the terminal device via NAS SM signalling during a packet data unit (PDU) session establishment or modification procedure. In some embodiments, the network device 130 may receive the indication of the router status that include at least one VRRP packet from a user plane function (UPF) of the communication system.

[0096] In some embodiments, the network device 130 may receive configuration information for the virtual router determined by the terminal device 110 from a terminal device 110 among the group of terminal devices. In some embodiments, the network device 130 may obtain configuration information for a terminal device 110 among the group of terminal devices from a UDM (or a network device comprising the UDM) of the communication system of the cellular network or a PCF of the communication system of the cellular network. The network device 130 may then send the configuration information to the terminal device 110.

[0097] In some embodiments, the configuration information may comprise at least one of the following: an identifier of the group of the terminal devices and a virtual internet protocol (IP) address associated with the group of the terminal devices, an identifier of the virtual router, a set of internet protocol (IP) addresses associated with the virtual router, and the router priority of the terminal device.

[0098] In some embodiments, the network device 130 may determine that the master device for the virtual router is to switch over from a first terminal device to a second terminal device 120 among the group of terminal devices based on router priorities of the group of terminal devices. The network device 130 may then send an indication of the router status to change router status of the first terminal device from the master device to a backup device for the virtual router to the first terminal device 110. The network device 130 may then send an indication of the router status to change router status of the second terminal device from the backup device to the master device for the virtual router to the second terminal device 120.

[0099] FIG. 3A illustrates a detailed example of a process flow 300A in accordance with some example embodiments of the present disclosure. It is noted that the process flow 300A can be deemed as a further example of the process flow 200. In FIG. 3A, the SMF is the network device 130 and UE1 is the terminal device 110.

[0100] The UE-initiated master election procedure or master re-election procedure may be based on detected triggers. In some embodiments, the terminal device 110 (UE1) may proactively decide to initiate master election process of VRRP based on local detected triggers, for example, performance degradation or HW status. At 301, VRRP configuration information may be synced between terminal devices 110, 120 (UE1, UE2) and the 5GC of the communication system of the cellular network. The VRRP configuration information may include at least one of an identifier of the group of terminal device functioned as a virtual router (VRRP-ID) , a set of IP address (es) associated with the group of terminal device functioned as a virtual router, and the router priority of the terminal device. In some embodiments, the set of IP address (es) associated with the virtual router is either a set of virtual IPv4 addresses or a set of virtual IPv6. In some embodiments, the SMF 130 may be aware of IP address (es) behind the UE devices by dynamic routing protocol, such as OSPF, Intermediate System to Intermediate System (IS-IS) protocol, Routing Information Protocol (RIP) , BGP, etc. In some embodiments, when the dynamic routing is not supported by UE routers, the SMF 130 may be aware of IP  address (es) behind the UE devices 110-120 based on framed routes. As defined in 3GPP TS 23.501, framed routes are IP routes behind the terminal device (e.g., UEs) , each of which refers to a range of IPv4 addresses or a range of IPv6 Prefixes that is reachable over a single PDU Session. The terminal devices 110, 120 (UE1, UE2) may compose virtual routers 320 to receive and forward traffic received from the LAN device (s) or host (s) 101.

[0101] In some embodiments, a virtual router ID (VRRP-ID) may be preconfigured in UE devices 110-120 which will act as VRRP routers associated with the virtual router for the same subnet. Alternatively, or additionally, the UE device 110 or UE device 120 may participate as a VRRP router for multiple subnets associated with different virtual router ID. Alternatively, or additionally, the virtual router ID may be a part of subscription information stored in UDM of the communication system or UDR of the communication system.

[0102] In some embodiments, all devices, such as LAN devices or host 101, behind UE devices 110-120 may be configured with default gateway address. For example, the default gateway address may be 192.168.0.1. In some embodiments, the network 310 may provide the IP address (es) of UE devices 110-120. The default gateway IP in the UE devices 110-120 (VRRP routers 320) may either be pre-configured or provided by the network 310 (UDM subscription) . The UE devices 110-120 may create virtual MAC address based on VRRP router ID (VRRP-ID) .

[0103] In some embodiments, the SMF 130 may allow only one UE to have UL / DL PDRs to be installed in UPF 140 or UPF 150. For example, terminal device 110 (UE1) may be allowed based on its router priority. The router priority may be provided to SMF 130 via NAS SM signalling from the UE device 110 or provided via U-plane indication from UE device 110 via UPF 140 to SMF 130 (not shown in the FIG. 3A for ease of illustration) . VRRP redundancy is achieved by assigning each VRRP router a router priority. The router priority may express how efficiently a VRRP router would perform as a backup to a virtual router defined in the VRRP router. The LAN devices or hosts 101 behind terminal device 110 (UE1) and terminal device 120 (UE2) may use terminal device 110 (UE1) as the gateway to transmit UL packets based on the master election mechanism. As an example, the terminal device 110 (UE1) is acting as a master device for the virtual router according to its highest router priority.

[0104] At 302, the terminal device 110 (UE1) may periodically multicast its VRRP Advertisement packets to all other devices in the group of terminal devices (UEs) for a virtual router to advertise its configurations (such as the priority) and operating status. In some embodiments, UE 120 may also periodically multicast its VRRP Advertisement packets to all other devices in the group of UE device for a virtual router to advertise its configurations and operating status. The SMF (or network device 130) may configure the UPF (or network device 140) and / or UPF (or network device 150) to forward the received VRRP packets to from one UE device to other UE device (s) within the group of terminal devices for a virtual router. A master election may be initialized by terminal devices. As an example, compared with the terminal 120 (UE2) whose base priority is 100, the base priority of terminal device 110 (UE1) is 200. Accordingly, at 303, the terminal device 110 (UE1) may be set as a master device for the virtual router.

[0105] In some embodiment, when the terminal 120 (UE2) is a master device for a virtual router, the terminal device 110 (UE1) and the terminal device 120 (UE2) may switch their roles and terminal device 110 (UE1) may be elected as a master device for the virtual router based on conditions or triggers of switchover. The conditions or triggers of switchover includes at least one of the following example conditions (or triggers) . An example condition (or trigger) can be that the terminal device 120 (UE2) is facing an UL scheduling issue. For example, the terminal device 120 (UE2) can be able to detect congestion in UL grants from the RAN. Another example condition (or trigger) may be that the terminal device 120 (UE2) is facing CPU load or queue exhaustion while processing packets from devices behind the terminal device 120 (UE2) . A further example condition (or trigger) can be that the terminal device 120 (UE2) reaches a depleted battery power level. A still further example condition (or trigger) may be that UE 120 faces radio link failure or out of coverage issue.

[0106] Those triggers may be classified as proactive triggers which may be initialized by the terminal device 110 (UE1) . At 304, upon the terminal device 110 (UE1) is elected as the master device for the virtual router, it may inform its indication of the router status to SMF (or the network device 130) of the communication system. This process can be completed via SM Non-Access-Stratum (NAS) signalling (e.g., PDU session modification request) or via user plane (U-plane) indication using multicast VRRP message via UPF (or network device 150) to SMF (or network device 130) . The indication of the router status  contained in the NAS SM signalling may include at least one of VRRP-ID, and master state.

[0107] Upon receiving NAS SM signalling (e.g., NAS message) from terminal device 110, SMF (or network device 130) may transmit an interface between the Control Plane and the User Plane message (N4 message) to the UPF (or network device 140) associated with terminal device 110 (UE1) . At 305, upon receiving N4 message, UPF (or network device 140) may create Packet Detection Rule (PDR) and Forwarding Action Rule (FAR) for the terminal device 110 (UE1) to facilitate the IP routing of LAN device (s) or host (s) via the terminal device 110 (UE1) . As such, the traffic steering rules associated to the new elected the terminal device 110 (UE1) , such as PDR / FAR rules, may be configured based on master election process result of VRRP. At 306, UPF (or network device 140) may then advertise IP routes destined to IP address of LAN device 101 to the data network 310.

[0108] At 307, UE 110 then may act as the master device for the virtual router to respond to ARP request from LAN device (s) or host (s) . In some embodiments, the terminal device 110 (UE1) may send out ARP announcement messages (Gratuitous ARP) towards the LAN devices 101 before responding to ARP messages transmitted from devices. At 308, all LAN devices or hosts will then start transmitting their UL traffic to the master device UE 110, and UE 110 may forward the UL traffic to UPF 140 and then to the data network 310.

[0109] FIG. 3B illustrates a detailed example of a process flow 300B in accordance with some example embodiments of the present disclosure. Figure 3B is a continuation of Figure 3A. In some embodiments, at 308, terminal device 110 (UE1) may decide to update its priority, or terminal device 110 (UE1) may be informed to update its priority for conditions or triggers of switchover described above. A master re-election process of VRRP may be initialized by terminal devices.

[0110] At 309, the priority of terminal device 110 (UE1) may decrease. For example, the priority of terminal device 110 (UE1) may decrease to 50 because terminal device 110 (UE1) reaches a depleted battery power level, while the priority of the terminal device 120 (UE2) may remain the same. In some embodiments, terminal device 110 (UE1) may be informed to update its priority by SMF 130. For example, if SMF (or network device 130) detects the priority of the terminal device 110 (UE1) has decreased, it may inform the terminal device 110 (UE1) to update its priority. The terminal device 110 (UE1) may then update its configurations (such as the priority) and operating status. The terminal device  110 (UE1) may then multicast its VRRP Advertisement packets to all other devices in the group of terminal devices for a virtual router to advertise its updated configurations (such as the priority) and operating status. Compared with the priority of the terminal device 110 (UE1) , the priority of the terminal device 120 (UE2) is 100 and higher. At 311, the terminal device 120 (UE2) may be set as a new master device for the virtual router.

[0111] At 312, the terminal device 120 (UE2) may inform the SMF (or network device 130) of its the router status by sending a NAS SM signalling (e.g., PDU session establishment or modification request) that includes its router status to SMF (or network device 130) . The indication of the router status of the terminal device 120 (UE2) may include at least one of VRRP-ID, and master state.

[0112] At 313, upon receiving NAS SM signalling transmitted by the terminal device 120 (UE2) , SMF (or network device 130) may transmit a N4 message to UPF2 (or network device 150) to enable the terminal device’s 120 (UE2) PDR. Upon receiving the N4 message, UPF2 (or network device 150) may create PDR or FAR rules for the terminal device 120 (UE2) to facilitate the IP routing of LAN device (s) or host (s) 101 via the terminal device 120 (UE2) . At 314, SMF 130 may also disable terminal device’s 110 (UE1) PDR and FAR rules related to LAN devices or hosts it is handling behind. At 315, UPF2 (or network device 150) may then advertise IP routes destined to IP address of a LAN device or host 101 to the data network 310.

[0113] At 317, the terminal device 120 (UE2) then may act as the master device for a virtual router to respond to ARP request from the LAN device or host 101. In some embodiments, the terminal device (UE2) may send out ARP announcement messages (Gratuitous ARP) towards the LAN devices or hosts 101 before responding to ARP messages transmitted from LAN devices or hosts 101. At 318, all LAN devices or hosts 101 will then start transmitting their UL traffic to the new master device (e.g.., terminal device 120 (UE2) ) for the virtual router, and the terminal device 120 (UE2) may forward the UL traffic to UPF2 (or network device 150 and the data network 310. In some embodiments, if terminal device 110 (UE1) , which is the virtual router master, fails, a master (re-) election process takes place to determine if terminal device 120 (which is a backup device or backup router) or another terminal device or must take over as the master router for the virtual router. If terminal device 120 (UE2) and another terminal device from among the group of terminal devices are configured with the priorities of 101 and 100, respectively, terminal device 120 (UE2) may be elected to become master router for the  virtual router because it has the higher priority. If both have the same priority, the one with the higher IP address value is selected to become the master router for the virtual router.

[0114] FIG. 4A illustrates a detailed example of a process flow 400A in accordance with some example embodiments of the present disclosure. It is noted that the process flow 400A can be deemed as a further example of the process flow 200. In some embodiments, the master election process of the VRRP may be initiated by the network devices (or network functions) of the communication system of the cellular network. The network-initiated master election or re-election process of the VRRP may be based on detected triggers.

[0115] For example, a 5GC-CP function, such as SMF (or network device 130) , may decide to initiate master (re-) election process of VRRP on behalf of a terminal device (e.g., UE) (taking the role of VRRP router of a virtual router) based on local detected triggers or latest received request from any other NF. In such as context, a single terminal device taking the role of a virtual router or VRRP router is assumed. The local detected triggers detected by the SMF 130 may include at least one of UE mobility, performance degradation, local policy change. The received request from any other NF may include at least one of AF and / or NEF request for traffic characteristics, UDM subscription change, PCF policy change due to application function (AF) initiated triggers (AFSessionWithQoS update) , NWDAF prediction or analytics for performance or UE status and OAM request. NWDAF analytics is based on the terminal device’s historical performance per application support. For example, there can be terminal device which are more suitable for Low Latency, Low Loss, and Scalable Throughput (L4S) application than other devices. NWDAF of the communication system may keep historical records of all devices in the group of terminal devices for the virtual router to come up with most suitable device to be selected as master router.

[0116] At 401, SMF (or the network device 130) may monitor the status or performance of all the terminal devices of a group of terminal devices, such as terminal device 110 (UE1) and terminal device 120 (UE2) , within the same group and decide to trigger switchover. In response to the conditions or triggers of switchover, a network function or network device, such as SMF (or network device 130) , may decide to initiate a master election. At 402, the terminal device’s 120 (UE2) configuration and operating status priority may be provided to SMF (or network device 130) via NAS SM signalling (not shown in the FIG. 4A for simplicity) from the terminal device 110 (UE1) or provided via user-plane  indication from terminal device 110 (UE1) via UPF1 (or network device 140) to SMF (or network device 130) . The terminal device 110 (UE1) may transmit its VRRP Advertisement packets to SMF (or the network device 130_to advertise its configurations (such as information including at least one of the VRRP-ID, priority, IP address) and operating status. The SMF (or the network device 130) may configure UPF1 (or the network device 140) to forward the received VRRP Advertisement packets to itself. For example, the priority of terminal device 110 (UE1) may be 200. The conditions or triggers of switchover includes at least one of the following conditions (or triggers) .

[0117] An example condition (or trigger 1) can be that terminal device 120 (UE2) is facing an UL scheduling issue. For example, the terminal device 120 (UE) can detect congestion in UL grants from the RAN. Another example condition (or trigger 2) can be that the terminal device 120 (UE2) is facing CPU load or queue exhaustion while processing packets from devices behind the terminal device 120 (UE2) . A further example condition (or trigger 3) can be that the terminal device 120 (UE2) reaches a battery power level indicating that the battery power of the terminal device 120 (UE2) is depleted. A further example condition (or trigger 4) can be that the terminal device 120 (UE2) faces radio link failure or out of coverage issue.

[0118] Another example condition (or trigger 5) can be that SMF configurable switchover. SMF (or the network device 130) may instruct the terminal device 120 (UE2) to change its state from master device to backup device or vice-versa. This is depending on operator local policy change. For example, during night-time the terminal device 120 (UE2) may be in low power mode to save power for traffic routing when traffic load is low. A further example condition (or trigger 6) can be that UDM subscription change based re-election. UDM of the communication system may transmit change of router priority in sm-data subscription, and it will cause SMF to do PDU session modification to re-provision the UE with new router priority.

[0119] Another example condition (or trigger 7) can be that a Policy Control Function (PCF) policy may be changed in the runtime to change the router priority of the terminal device 120 (UE2) . PCF of the communication system may send SMPolicyUpdate notification to SMF. This may cause SMF to transmit a PDU Session modification towards the terminal device 120 (UE2) to change the router priority. A further example condition (or trigger 8) can be that of an Application (AF) or a Network Exposure Function (NEF) triggered switchover. AF may request for switchover based on applications request  depending on traffic characteristics. For example, a Low Latency, Low Loss, and Scalable Throughput (L4S) traffic may require L4S capable UE to act as a router. A low latency service would require a low latency capable UE to act as router. An application may be aware of a terminal device’s router application handling capability during PDU session establishment procedure.

[0120] Another example condition (or trigger 9) can be that Network Data Analytics Function (NWDAF) based prediction to change UE’s operating status. NWDAF analytics may be used by PCF or SMF (or the network device 130) of the communication system to switch UE’s operating status, for example, based on UE’s historical failures and traffic handling performance. A further example condition (or trigger 10) can be that Operation and Management (OAM) triggered request. For example, if a RAN is taken out for maintenance, the SMF (or the network device 130) may be instructed to change the UE 120 router operating status temporarily. Another example condition (or trigger 11) can be that VRRP switchover by SMF (or the network device 130) or PCF of the communication system may be triggered based on TA change, QoSMon results, and PMF results.

[0121] Among those triggers, triggers 1-4 may be classified as proactive triggers, and triggers 5-11 may be classified as reactive triggers which may be initialized by 5GC-CP, such as SMF (or the network device 130) . At 403, terminal device 120 (UE2) may transmit its VRRP Advertisement packets to SMF (or the network device 130) to advertise its configurations (such as information including at least one of the VRRP-ID, the priority, IP address) and operating status. For example, the priority of terminal device 120 (UE2) may be 100. The SMF (or the network device 130) may configure the UPF (or the network device 150) to forward the received VRRP Advertisement packets to itself.

[0122] At 404, upon receiving configurations and operating status of the terminal device 110 (UE1) and the terminal device 120 (UE2) , SMF (or the network device 130) may compare configurations and operating status of both. SMF (or the network device 130) may then decide that one of the terminal devices 110, 120 (UE1, UE2) is a master device for the virtual router. For example, since the priority of terminal device 110 (UE1) is higher, the SMF (or the network device 130) may decide terminal device 110 (UE1) is to be the master device for the virtual router.

[0123] At 405, SMF (or the network device 130) may transmit a NAS SM signalling to terminal device 110 (UE1) to inform terminal device 110 (UE1) about the indication of the  router status. The indication of the router status may include at least one of VRRP-ID, and master state. In this example, the SMF (or the network device 130) indicates the terminal device 110 (UE1) it is the master device for a virtual router.

[0124] At 406, upon terminal device 110 (UE1) receiving NAS SM signalling from SMF (or the network device 130) , SMF (or the network device 130) may transmit a N4 message to the UPF1 (or the network device 140) associated with the terminal device 110 UE1) . Upon receiving N4 message, UPF1 (or the network device 140) may create PDR and FAR for the terminal device 110 (UE1) to facilitate the IP routing of a LAN device or host 101 via the terminal device 110 (UE1) . At 407, UPF1 (or the network device 140) may then advertise IP routes destined to IP address of a LAN device or host 101 to the data network 310. At 408, the terminal device 110 (UE1) then may act as the master device to respond to ARP request from LAN device (s) or host (s) 101. In some embodiments, the terminal device 110 (UE1) may send out ARP announcement messages (Gratuitous ARP) towards the LAN devices 101 before responding to ARP messages transmitted from devices. At 409, all LAN devices or hosts 101 will then start transmitting their UL traffic to the terminal device 110 (UE1) , which is the master device, and terminal device 110 (UE1) may forward the UL traffic to UPF1 (or the network device 140) and the data network 310.

[0125] FIG. 4B illustrates a detailed example of a process flow 400B in accordance with some example embodiments of the present disclosure. Figure 4B is a continuation of Figure 4A. At 410, SMF (or the network device 130) may monitor the status or performance of all the terminal devices (e.g., UEs) of a virtual router, such as the terminal device 110 (UE1) and terminal device 120 (UE2) , within the same group of terminal devices (e.g., UEs) of the virtual router and decide to trigger switchover. In response to the conditions or triggers of switchover described above, the network side may initialize a master re-election process of the VRRP.

[0126] At 411, in some embodiments, the terminal device 110 (UE1) may decide to update its priority or terminal device 110 (UE1) may be informed by the network side to update it priority. For example, the priority of terminal device 110 (UE1) may decrease to 50 because of the conditions or triggers of switchover, and then terminal device 110 (UE1) may transmit its decreased priority to SMF (or the network device 130) to update its priority. In some embodiments, when a network function or network device (e.g., SMF or the network device 130) of the communication system of a cellular network detects the  priority of terminal device 110 (UE1) has decreased, it may inform terminal device 110 (UE1) to update its master or backup state for the virtual router.

[0127] At 412, the terminal device 110 (UE1) may transmit its VRRP Advertisement packets to SMF (or the network device 130) to update configurations (such as the priority) and operating status. For example, the priority of terminal device 110 (UE1) may be 50. At 413, the terminal device 120 (UE2) may also transmit its VRRP Advertisement packets to SMF (or the network device 130) . For example, the priority of the terminal device 120 (UE2) may be 100. At 414, SMF (or the network device 130) may then determine the terminal device 120 (UE2) is a new master device for the virtual router by comparing the priorities of those terminal devices and finding the priority of terminal device 120 (UE2) has the highest value. SMF (or the network device 130) may compare and measure the performances of all terminal devices 110, 120 for the virtual router, and then decide whether to trigger a switchover.

[0128] At 415, SMF (or the network device 130) may then transmit NAS SM signalling to the terminal device 120 (UE2) to inform the terminal device 120 (UE2) about the indication of the router status. The indication of the router status may include at least one of VRRP-ID and master state. At 416, SMF (or the network device 130) may further transmit a N4 message to UPF2 (or the network device 150) associated with the terminal device 120 (UE2) . Upon receiving N4 message, UPF2 (or the network device 150) may create Packet Detection Rule (PDR) and Forwarding Action Rule (FAR) for the terminal device 120 (UE2) to facilitate the IP routing of LAN device or host 101 via the terminal device 120 (UE2) . At 417, SMF (or the network device 130) may further transmit a N4 message to the UPF1 (or the network device 140) associated with the terminal device 110 (UE1) to delete PDR and FAR for the terminal device 110 (UE1) to release the IP routing of LAN device via the terminal device 110 (UE1) . At 418, UPF2 (or the network device 150) may then advertise IP routes destined to IP address of LAN device or host 101 to the data network 310.

[0129] At 419, the terminal device 120 (UE2) then may act as the master device for the virtual router to respond to ARP request from LAN device (s) or hosts 101. In some embodiments, the terminal device 120 (UE2) may send out ARP announcement messages (Gratuitous ARP) towards the LAN devices or hosts 101 before responding to ARP messages transmitted from LAN devices or hosts 101. At 420, all LAN devices or hosts 101 will then start transmitting their UL traffic to the terminal device 120 (UE2) , which is  the master device, and terminal device 120 (UE2) may forward the UL traffic to UPF2 (or network device 150) and the data network 310.

[0130] FIG. 5 illustrates a process 500 of how the 5GC network learns the VRRP information. It is noted that the process flow 500 can be deemed as a further example of the process flow 200. In some embodiments, the VRRP information may be reported from the terminal device 110 (UE1) to a network function or network device of a core network of a communication system of a cellular network. In some embodiments, the VRRP information is provided by a network function or network device to the terminal device 110 (UE1) . Both the terminal device 110 (UE1) and the 5G core network control plane (5GC-CP) network function or device may maintain the VRRP information (e.g., in terms of VRRP context) for further packet forwarding or traffic steering configuration.

[0131] At 501, the terminal device 110 (UE1) may firstly transmit a PDU session establishment request to AMF (or the network device 104) . At 502, upon receiving the PDU session establishment request, AMF (or the network device 104) may transmit a Nsmf_PDUSession_CreateSMContext message (containing PDU session establishment request) request to SMF (or the network device 130) . At 503, SMF (or the network device 130) may respond to the Nsmf_PDUSession_CreateSMContext message by transmitting a confirmation message.

[0132] At 504, SMF (or the network device 130) may then send Namf_Communication_N1N2MessageTransfer message to AMF (or the network device 104) to accept PDU session establishment request. At 505, AMF (or the network device 104) may transmit a confirmation message in response to Namf_Communication_N1N2MessageTransfer message. At 506, AMF (or the network device 104) may further transmit a PDU session establishment accept to terminal devices, such as terminal device 110 (UE1) . Then a PDU session may be established. After the PDU session establishment of PDU sessions for multiple terminal devices acting as VRRP routers for a virtual router is successful, the terminal devices may carry on with master election (e.g., election of one of the multiple terminal devices as a master device) and to determine the router status as master router or backup router for each of the multiple terminal devices of the virtual router.

[0133] Once the decision on the master device for a virtual router is made or during the decision making phase by terminal devices, the VRRP router status may be shared with 5G  core network via two methods. The first method is that a terminal device may share its VRRP router status of a virtual router (master state or backup state) via NAS SM signalling (during the PDU session establishment or modification procedure) . The second method is terminal device may share the VRRP multicast packets during the master election process of VRRP to SMF via UPF. For user-plane VRRP multicast message transmission, the UPF1 (or the network device 140) may be configured to forward the multicast VRRP packet to SMF (or the network device 130) . This may be done during the PDU session establishment or modification procedure via N4 session PDR installation. SMF (or the network device 130) may further use the VRRP multicast message to learn the VRRP router status during the master election or re-selection process of VRRP.

[0134] At 507, the terminal device 110 (UE1) may then transmit its VRRP router status information on report to UPF1 (or the network device 140) , and UPF1 (or the network device 140) may then transmit the VRRP router status information to SMF (or the network device 130) . At 508, external Packet data network (PDN) 510 may transmit a PDU session modification to UPF1 (or the network device 140) to add subnet PDR, so that data network 510 may be aware of forwarding routes of the LAN devices or hosts 101 via the terminal device 110 (UE1) . Then subnet routes may be shared with data network 510. At 509, SMF (or the network device 130) may transmit DL packets to terminal device 110 (UE1) via UPF1 140.

[0135] FIG. 6A illustrates the process 600A shows a process of VRRP information provisioning. It is noted that the process flow 600A can be deemed as a further example of the process flow 200.

[0136] Terminal device’s 110 and terminal device’s 120’s sm-data subscription in UDM 630 of the communication system will have VRRP router group ID to represent it’s VRRP participation. SMF (or the network device 130) may recognize the group of VRRP routers for a virtual router based on this provisioning information (VRRP-ID, a set of IP addresses associated with the virtual router may be same) . VRRP-ID may be unique within a DNN / Slice, so that each PDU session may be used only for one group of VRRP routers for the virtual router.

[0137] In some embodiments, UE 610, including UE 110 and UE 120, taking the role of virtual routers handling same subnet obtains the configuration of router priority information  can also be provisioned in UDM 630 of the communication system of the cellular network. In some embodiments, the router priority mays be obtained from SM-PCF policy.

[0138] During the PDU Session establishment procedure, SMF (or SMF device 130) may use the SM-Data and / or SM-PCF data to provision the UE 610 for its VRRP-ID, a set of IP addresses associated with the virtual router and router priority. At any time, when SMF (or the network device 130) wish to change any of these two parameters, it may initiate PDU Session modification to re-provision the UE 610 again.

[0139] The operator of the cellular network may also configure the VRRP-ID in the UE 610. During PDU session establishment procedure, the VRRP-ID is shared with SMF (or the network device 130) . In some embodiments, SMF (or the network device 130) may fetch the router priority from UDM 630 of the communication system and / or SM-Policy from PCF 620 of the communication system for that VRRP-ID received from UE 610 and provision the same towards UE 610. The router priority may be sent from UE 610 to SMF 130 and / or can be provisioned in UDM 630 of the communication system and / or can be provisioned from PCF 620 of the communication system during the PDU session establishment or modification procedure.

[0140] At 601, to establish a PDU Session, the UE 610 may transmit a NAS SM signalling containing PDU session establishment request to AMF (or the network device 104) . At 602, AMF 104 may select a SMF based on the request type. At 603, AMF (or the network device 104) may then transmit a Nsmf_PDUSession_CreateSMContext request to SMF (or the network device 130) . During the process of PDU session establishment procedure, the UE may share at least one of its VRRP-ID (if pre-configured in UE) , and router priority.

[0141] At 604, SMF (or the network device 130) may retrieve Session Management Subscription data from UDM 630 of the communication system. During PDU session establishment procedure, at least one of the UE’s VRRP-ID, router priority and associated subnet (framed routes) may be provided by UDM subscription. At 605, upon receiving Nsmf_PDUSession_CreateSMContext Request from AMF (or the network device 104) , the SMF (or the network device 130) may transmit a Nsmf_PDUSession_CreateSMContext Response to AMF (or the network device 104) .

[0142] At 606, SMF (or the network device 130) may perform secondary PDU Session authentication / authorization. At 607A, if dynamic PCC is to be used for the PDU Session,  the SMF (or the network device 130) may perform PCF 620 selection. Otherwise, the SMF (or the network device 130) may apply local policy. At 607B, The SMF 130 may perform an SM Policy Association Establishment procedure to establish an SM Policy Association with the PCF 620 of the communication system and get the default PCC Rules for the PDU Session. During PDU session establishment procedure, the router priority of the terminal device 110 (UE) may also be retrieved from PCF 620 of the communication system and may be set towards the UE 110. At 608, the SMF (or the network device 130) may select one or more UPF (or the network device 140) as needed.

[0143] At 609, SMF (or the network device 130) may perform an SMF initiated SM Policy Association Modification procedure to provide information on the Policy Control Request Trigger condition (s) that have been met. At 610A, The SMF (or the network device 130) may send an N4 Session Establishment / Modification Request to the UPF (or the network device 130) and provide Packet detection, enforcement and reporting rules to be installed on the UPF (or the network device 140) for this PDU Session. At 610B, the UPF (or the network device 140) may acknowledge by sending an N4 Session Establishment / Modification Response.

[0144] FIG. 6B illustrates a process 600B of VRRP information provisioning. Figure 6B is a continuation of Figure 6A. At 611A, SMF (or network device 130) may use Namf_Communication_N1N2MessageTransfer message to AMF (or the network device 104) to transmit the UE’s router priority. Namf_Communication_N1N2MessageTransfer message may contain the PDU Session ID allowing the AMF (or the network device 104) to know which access towards the terminal device (e.g., UE) to use. At 611B, the UPF (or the network device 140) may acknowledge by sending a Response.

[0145] At 612, upon receiving the UE’s router priority in NAS signalling, AMF (or AMF device (or the network device 104) ) may transmit a N2 PDU session request (containing NAS signalling) to the (Radio) access network (AN) 102 to transfer UE’s router priority. At 613, the (R) AN 102 may issue AN specific signalling exchange with the UE 610 that is related with the information received from SMF (or the network device 130) . UE 610 may accept PDU session establishment request and obtain AN-specific resource setup, such as the UE’s router priority.

[0146] At 614, (R) AN 102 may transmit a N2 PDU Session Response to AMF (or the network device 104) . At 622, UE 610 then may transmit first uplink data to UPF 140.  At 615, AMF (or the network device 104) may transmit Nsmf_PDUSession_UpdateSMContext Request (SM Context ID, N2 SM information, Request Type) to SMF (or the network device 130) . At 616A, the SMF (or the network device 130) may initiates an N4 Session Modification procedure with the UPF (or the network device 130) . At 616B, the UPF 140 provides an N4 Session Modification Response to the SMF (or the network device 130) . At 616C, the SMF (or the network device 130) registers with the UDM 630 of the communication system using Nudm_UECM_Registration. At 622, UPF (or the network device 140) then may transmit first downlink data to UE 610.

[0147] In some embodiment, at 618, SMF (or the network device 130) may transmit Nsmf_PDUSession_SMContextStatusNotify to AMF 104. At 617, SMF (or the network device 130) may transmit Nsmf_PDUSession_UpdateSMContext Response to AMF (or the network device 104) . At 619, in some embodiment PDU Session Type IPv6 or IPv4v6, the SMF (or the network device 130) generates an IPv6 Router Advertisement and send it to the UE 610. At 620, when the trigger for 5GS Bridge / Router information available is armed, then the SMF (or the network device 130) may initiate the SM Policy Association Modification. At 621, if the PDU Session establishment failed after at 604, the SMF (or the network device 130) . The SMF (or the network device 130) may unsubscribe to the modifications of Session Management Subscription data.

[0148] FIG. 7 illustrates a flowchart of a method 700 performed by a terminal device in accordance with some example embodiments of the present disclosure. For the purpose of discussion, the method 700 will be described from the perspective of the terminal device 110 with reference to FIG. 1. The method 700 includes operations 702 and 704.

[0149] At operation 702, the terminal device 110 determines whether a router priority of the terminal device 110 is higher than router priorities of other terminal devices, wherein the terminal device 110 and the other terminal devices are part of a group of terminal devices of a communication system of a cellular network configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router.

[0150] At operation 704, based on determining that the router priority of the terminal device 110 is higher than the router priorities of other terminal devices of the group of  terminal devices, the terminal device 110 sets router status of the terminal device 110 to master state of the virtual router.

[0151] In some example embodiments, the terminal device 110 may detect a condition for a switchover of the master device for the virtual router, and based on the condition, trigger the switchover of the master device for the virtual router. In some example embodiments, the terminal device 110 may update the router priority of the terminal device and send the updated router priority to other terminal devices of the group of terminal devices.

[0152] In some example embodiments, detecting a condition comprises at least one of the following: detecting performance degradation of the first terminal device is above a threshold level; detecting a change in the status of hardware of the first terminal device; detecting an uplink (UL) scheduling issue; detecting a change in a load of the at least one processor of the terminal device; detecting queue exhaustion in processing packets of the first terminal device; detecting that a battery power level of the first terminal device is depleted; detecting a failure of a radio link of the terminal device; or detecting an out of coverage issue for the terminal device.

[0153] In some example embodiments, the terminal device 110 may obtain configuration information for the virtual router, wherein the configuration information comprises the router priority of the terminal device prior to the determination.

[0154] In some example embodiments, the terminal device 110 may send to the SMF of the communication system, the configuration information determined by the terminal device. In some example embodiments, the terminal device 110 may obtain the configuration information by receiving the configuration information from the SMF of the communication system during PDU session related procedure for the terminal device, wherein the configuration information is provided by a unified data management (UDM) of the communication system, a policy control function (PCF) of the communication system, or local policy configuration.

[0155] In some example embodiments, the configuration information comprises at least one of an identifier of the group of the terminal devices functioned as a virtual router; a set of IP addresses associated with the group of the terminal devices functioned as a virtual router, and the router priority of the terminal device 110.

[0156] In some embodiments, the terminal device 110 may send an indication of the router status to a network device 130 of the communication system. Alternatively, or  additionally, the network device 130 may be a session management function (SMF) of the communication system, and the indication of the router status sent by the terminal device 110 to the SMF of the communication system may at least include an identifier of the virtual router and / or the router status of the terminal device for the virtual router. Alternatively, or additionally, the network device 130 may be a user plane function (UPF) of the communication system, and the indication of the router status sent by the terminal device 110 to the UPF of the communication system may include virtual router redundancy protocol (VRRP) packets.

[0157] In some example embodiments, the terminal device 110 may receive from the SMF of the communication system, an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router. In some example embodiments, the terminal device 110 may send to the SMF of the communication system, an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router.

[0158] In some example embodiments, the terminal device 110 may receive from a unified data management (UDM) of the communication system, a change of the router priority of the terminal device in a session management (SM) data subscription. In some example embodiments, the terminal device 110 may send an indication of the router status of the terminal device to a network device of the communication system.

[0159] FIG. 8 illustrates a flowchart of a method 800 performed by a network device in accordance with some example embodiments of the present disclosure. For the purpose of discussion, the method 800 will be described from the perspective of being performed by a network device of FIG. 1. The method includes operations 802-804.

[0160] At operation 802, the network device may detect a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router. At operation 804, the network device may, trigger the switchover of the master device for the virtual router based on detecting the condition.

[0161] In some embodiments, the network device may be a session management function (SMF) of the communication system, and wherein the condition is based on at least one of the following associated with group of terminal devices acting as the virtual router: mobility of the terminal device; performance degradation; an operator local policy change; a tracking area (TA) change; a quality of service (QoS) monitoring result; a performance  measurement function (PMF) result; or a request for the switchover from another network device.

[0162] In some embodiments, the network device may be an SMF device of the communication system and wherein the instructions when executed by the at least one processor further cause the SMF device of the communication system to trigger the switchover by: sending, to a terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and a backup device for the virtual router to the other one of the master device and the backup device.

[0163] In some embodiments, the SMF of the communication system to trigger the switchover by receiving, from the terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and the backup device for the virtual router to the other one of the master device and the backup device.

[0164] In some embodiments, the network device may be a unified data management (UDM) of the communication system, and wherein the condition is based on a UDM subscription change associated with a terminal device acting as the master device. In some embodiments, the network device may a UDM of the communication system and wherein the instructions when executed by the at least one processor further cause the UDM of the communication system to trigger the switchover by: sending, to SMF, a change of a router priority of the terminal device in a session management (SM) data subscription.

[0165] In some embodiments, the network device may be a policy control function (PCF) of the communication system, and wherein the condition is based on at least one of the following associated with a group of terminal devices acting as the virtual router: a PCF policy change; a TA change; a QoS monitoring result; a PMF result; or an application function (AF) Policy change. In some embodiments, the network device is a PCF of the communication system and wherein the instructions when executed by the at least one processor further cause the PCF of the communication system to trigger the switchover by: sending, to an SMF of the communication system, a notification of updating a SM policy associated with a terminal device.

[0166] In some embodiments, the network device may be an application function (AF) of the communication system or a network exposure function (NEF) of the communication system, and wherein the condition is based on an application request depending on at least one traffic characteristic associated with a group of terminal devices acting as the virtual router. In some embodiments, the network device is an AF of the communication system or an NEF of the communication system and wherein the instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by: sending, to an SMF , a request for the triggering the switchover.

[0167] In some embodiments, the network device is a network data analytics function (NWDAF) of the communication system, and wherein the condition is based on NWDAF analytics associated with a group of terminal devices acting as the virtual router, wherein NWDAF analytics is based on the terminal device’s historical performance per application support.

[0168] In some embodiments, the network device may be an AF of the communication system or an NEF of the communication system and wherein the instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by: sending, to an SMF of the communication system, NWDAF analytics to trigger the switchover. In some embodiments, the network device may be an operation, administration and maintenance (OAM) of the communication system, and wherein the condition is based on an OAM operation on the at least one terminal device among the group of terminal devices acting as the master device.

[0169] In some embodiments, the network device is an OAM of the communication system and wherein the instructions when executed by the at least one processor further cause the OAM of the communication system to trigger the switchover by: sending, to an SMF of the communication system, an indication to trigger the switchover. In some embodiments, the network device may receive, from a terminal device among the group of terminal devices, an indication of the router status that the terminal device is the master router for the virtual router.

[0170] In some embodiments, the network device may receive the indication of the router status by receiving from a user plane function (UPF) of the communication system the  indication of the router status that include at least one VRRP packet. In some embodiments, the network device may receive, from a terminal device among the group of terminal devices, configuration information for the virtual router determined by the terminal device.

[0171] In some embodiments, the network device may obtain, for a terminal device among the group of terminal devices, configuration information from a UDM of the communication system or a PCF of the communication system; and send the configuration information to the terminal device.

[0172] In some embodiments, the configuration information comprises at least one of the followings: an identifier of the group of the terminal devices and a virtual internet protocol (IP) address associated with the group of the terminal devices; an identifier of the virtual router, a set of internet protocol (IP) addresses associated with the virtual router, and the router priority of the terminal device.

[0173] In some embodiments, the network device may determine, based on router priorities of the group of terminal devices, that the master device for the virtual router is to switch over from a first terminal device to a second terminal device among the group of terminal devices; send, to the first terminal device, an indication of the router status to change router status of the first terminal device from the master device to a backup device for the virtual router; and send, to the second terminal device, an indication of the router status to change router status of the second terminal device from the backup device to the master device.

[0174] In some embodiments, a terminal device (e.g., terminal device 110) may comprise an apparatus capable of performing the method 700. In some embodiments, the apparatus may comprise means for performing the respective operations of the method 700. The means may be implemented in any suitable form. For example, the means may be implemented as a circuitry or a software module.

[0175] In some embodiments, the apparatus comprises means for determining whether a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through  the group of terminal devices of the communication system, wherein router priority value is used in master election (e.g., election of a master router) for the virtual router.

[0176] In some embodiments, the apparatus comprises means for based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, the apparatus comprises means for setting router status of the terminal device to master device (e.g., master router) for the virtual router. In some embodiments, the apparatus comprises means for responding to ARP message from devices behind the terminal device.

[0177] In some embodiments, the apparatus comprises means for detecting a condition for a switchover of the master device for the virtual router, and based on the condition, triggering the switchover of the master device for the virtual router. In some embodiments, the apparatus comprises means for updating the router priority of the terminal device, and send the updated router priority to other terminal devices of the group of terminal devices.

[0178] In some embodiments, the apparatus comprises means for detecting a condition comprises at least one of the following: detecting performance degradation of the first terminal device is above a threshold level; detecting a change in a status of hardware of the first terminal device; detecting an uplink (UL) scheduling issue; detecting a change in a load of the at least one processor of the terminal device; detecting a queue exhaustion in processing packets of the first terminal device; detecting that a battery power level of the first terminal device is depleted; detecting failure of a radio link of the terminal device; or detecting an out of coverage issue for the terminal device.

[0179] In some embodiments, the apparatus comprises means for sending the indication of the router status by sending the indication of the router status to a user plane function (UPF) . In some embodiments, the apparatus comprises means for obtaining configuration information for the virtual router, wherein the configuration information comprises the router priority of the terminal device prior to the determination.

[0180] In some example embodiments, the apparatus comprises means for sending to the SMF of the communication system, the configuration information determined by the terminal device. In some example embodiments, the apparatus comprises means for obtaining the configuration information by receiving the configuration information from the SMF of the communication system during PDU session related procedure for the terminal  device, wherein the configuration information is provided by a unified data management (UDM) of the communication system, a policy control function (PCF) of the communication system, or local policy configuration.

[0181] In some example embodiments, the apparatus comprises means for the configuration information and configuration information comprises at least one of an identifier of the group of the terminal devices functioned as a virtual router; a set of IP addresses associated with the group of the terminal devices functioned as a virtual router, and the router priority of the terminal device.

[0182] In some embodiments, the apparatus comprises means for sending an indication of the router status to a network device of the communication system. Alternatively, or additionally, the network device may be a session management function (SMF) of the communication system, and the indication of the router status sent by the terminal device to the SMF of the communication system may at least include an identifier of the virtual router and / or the router status of the terminal device for the virtual router. Alternatively, or additionally, the network device may be a user plane function (UPF) of the communication system, and the indication of the router status sent by the terminal device to the UPF of the communication system may include virtual router redundancy protocol (VRRP) packets.

[0183] In some example embodiments, the apparatus comprises means for receiving, from the SMF of the communication system, an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router. In some example embodiments, the apparatus comprises means for sending, to the SMF of the communication system, an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router.

[0184] In some example embodiments, the apparatus comprises means for receiving, from a unified data management (UDM) of the communication system, a change of the router priority of the terminal device in a session management (SM) data subscription. In some example embodiments, the apparatus comprises means for sending an indication of the router status of the terminal device to a network device of the communication system.

[0185] In some embodiments, the apparatus further comprises means for performing other steps in some embodiments of the method 700. In some embodiments, the means  comprises at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the performance of the apparatus.

[0186] In some embodiments, an apparatus capable of performing any of the method 800 may be part of a network device 130 and may comprise means for performing the respective operations of the method 800. The means may be implemented in any suitable form. For example, the means may be implemented in a circuitry or software module.

[0187] the apparatus comprises means for detecting a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router. The apparatus comprises means for triggering the switchover of the master device for the virtual router based on detecting the condition.

[0188] In some embodiments, the apparatus comprises means for a session management function (SMF) of the communication system, and wherein the condition is based on at least one of the following associated with group of terminal devices acting as the virtual router: mobility of the terminal device; performance degradation; an operator local policy change; a tracking area (TA) change; a quality of service (QoS) monitoring result; a performance measurement function (PMF) result; or a request for the switchover from another network device.

[0189] In some embodiments, the apparatus comprises means for an SMF of the communication system and wherein the instructions when executed by the at least one processor further cause the SMF of the communication system to trigger the switchover by: sending, to a terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and a backup device for the virtual router to the other one of the master device and the backup device.

[0190] In some embodiments, the SMF of the communication system is caused to trigger the switchover by receiving, from the terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and the backup device for the virtual router to the other one of the master device and the backup device.

[0191] In some embodiments, the apparatus comprises means for a unified data management (UDM) of the communication system, and wherein the condition is based on a  UDM subscription change associated with a terminal device acting as the master device. In some embodiments, the apparatus comprises means for a UDM of the communication system and wherein the instructions when executed by the at least one processor further cause the UDM of the communication system to trigger the switchover by: sending, to SMF of the communication system, a change of a router priority of the terminal device in a session management (SM) data subscription.

[0192] In some embodiments, the apparatus comprises means for a policy control function (PCF) of the communication system, and wherein the condition is based on at least one of the following associated with a group of terminal devices acting as the virtual router: a PCF policy change; a TA change; a QoS monitoring result; a PMF result; or an application function (AF) Policy change. In some embodiments, the network device is a PCF of the communication system and wherein the instructions when executed by the at least one processor further cause the PCF of the communication system to trigger the switchover by: sending, to an SMF of the communication system, a notification of updating a SM policy associated with a terminal device.

[0193] In some embodiments, the apparatus comprises means for an application function (AF) of the communication system or a network exposure function (NEF) of the communication system, and wherein the condition is based on an application request depending on at least one traffic characteristic associated with a group of terminal devices acting as the virtual router. In some embodiments, the apparatus comprises means for an AF of the communication system or an NEF of the communication system and wherein the instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by:sending, to an SMF of the communication system, a request for the triggering the switchover.

[0194] In some embodiments, the apparatus comprises means for a network data analytics function (NWDAF) of the communication system, and wherein the condition is based on NWDAF analytics associated with a group of terminal devices acting as the virtual router, wherein NWDAF analytics is based on the terminal device’s historical performance per application support.

[0195] In some embodiments, the apparatus comprises means for an AF of the communication system or an NEF of the communication system and wherein the  instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by: sending, to an SMF of the communication system , NWDAF analytics to trigger the switchover. In some embodiments, the apparatus comprises means for be an operation, administration and maintenance (OAM) of the communication system, and wherein the condition is based on an OAM operation on the at least one terminal device among the group of terminal devices acting as the master device.

[0196] In some embodiments, the apparatus comprises means for an OAM of the communication system and wherein the instructions when executed by the at least one processor further cause the OAM of the communication system to trigger the switchover by: sending, to an SMF of the communication system, an indication to trigger the switchover. In some embodiments, the apparatus comprises means for receiving, from a terminal device among the group of terminal devices, an indication of the router status that the terminal device is the master router for the virtual router.

[0197] In some embodiments, the apparatus comprises means for receiving the indication of the router status by: receiving, from a user plane function (UPF) of the communication system, the indication of the router status that include at least one VRRP packet. In some embodiments, the apparatus comprises means for receiving, from a terminal device among the group of terminal devices, configuration information for the virtual router determined by the terminal device.

[0198] In some embodiments, the apparatus comprises means for obtaining, for a terminal device among the group of terminal devices, configuration information from a UDM of the communication system or a PCF of the communication system; and send the configuration information to the terminal device.

[0199] In some embodiments, the configuration information comprises at least one of the followings: an identifier of the group of the terminal devices and a virtual internet protocol (IP) address associated with the group of the terminal devices; an identifier of the virtual router, a set of internet protocol (IP) addresses associated with the virtual router, and the router priority of the terminal device.

[0200] In some embodiments, the apparatus comprises means for determining, based on router priorities of the group of terminal devices, that the master device for the virtual router is to switch over from a first terminal device to a second terminal device among the  group of terminal devices; send, to the first terminal device, an indication of the router status to change router status of the first terminal device from the master device to a backup device for the virtual router; and send, to the second terminal device, an indication of the router status to change router status of the second terminal device from the backup device to the master device.

[0201] In some embodiments, the apparatus further comprises means for performing other steps in some embodiments of the method 800. In some embodiments, the means comprises at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the performance of the apparatus.

[0202] FIG. 9 illustrates a simplified block diagram of a device 900 that is suitable for implementing some example embodiments of the present disclosure. The device 900 may be provided to implement a communication device, for example, the terminal devices 110 and network device 130 as shown in FIG. 1. As shown, the device 900 includes one or more processors 910, one or more memories 920 coupled to the processor 910, and one or more communication modules 940 coupled to the processor 910.

[0203] The communication module 940 is for bidirectional communications. The communication module 940 has at least one antenna to facilitate communication. The communication interface may represent any interface that is necessary for communication with other network elements.

[0204] The processor 910 may be of any type suitable to the local technical network and may include one or more of the following: general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs) and processors based on multicore processor architecture, as non-limiting examples. The device 900 may have multiple processors, such as an application specific integrated circuit chip that is slaved in time to a clock which synchronizes the main processor.

[0205] The memory 920 may include one or more non-volatile memories and one or more volatile memories. Examples of the non-volatile memories include, but are not limited to, a Read Only Memory (ROM) 924, an electrically programmable read only memory (EPROM) , a flash memory, a hard disk, a compact disc (CD) , a digital video disk (DVD) , and other magnetic storage and / or optical storage. Examples of the volatile memories  include, but are not limited to, a random access memory (RAM) 922 and other volatile memories that will not last in the power-down duration.

[0206] A computer program 930 includes computer executable instructions that are executed by the associated processor 910. The program 930 may be stored in the ROM 924. The processor 910 may perform any suitable actions and processing by loading the program 930 into the RAM 922.

[0207] The embodiments of the present disclosure may be implemented by means of the program 930 so that the device 900 may perform any process of the disclosure as discussed with reference to FIGS. 2 to 10. The embodiments of the present disclosure may also be implemented by hardware or by a combination of software and hardware.

[0208] In some example embodiments, the program 930 may be tangibly contained in a computer readable medium which may be included in the device 900 (such as in the memory 920) or other storage devices that are accessible by the device 900. The device 900 may load the program 930 from the computer readable medium to the RAM 922 for execution. The computer readable medium may include any types of tangible non-volatile storage, such as ROM, EPROM, a flash memory, a hard disk, CD, DVD, and the like.

[0209] FIG. 10 illustrates a block diagram of an example of a computer readable medium 1000 in accordance with some example embodiments of the present disclosure. The computer readable medium 1000 has the program 930 stored thereon. It is noted that although the computer readable medium 1000 is depicted in form of CD or DVD in FIG. 10, the computer readable medium 1000 may be in any other form suitable for carry or hold the program 1030.

[0210] Generally, various embodiments of the present disclosure may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device. While various aspects of embodiments of the present disclosure are illustrated and described as block diagrams, flowcharts, or using some other pictorial representations, it is to be understood that the block, apparatus, system, technique or method described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.

[0211] The present disclosure also provides at least one computer program product tangibly stored on a non-transitory computer readable storage medium. The computer program product includes computer-executable instructions, such as those included in program modules, being executed in a device on a target real or virtual processor, to carry out the method 400, 500 or 600 as described above with reference to FIG. 4, 5 or 6. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, or the like that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or split between program modules as desired in various embodiments. Machine-executable instructions for program modules may be executed within a local or distributed device. In a distributed device, program modules may be located in both local and remote storage media.

[0212] Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0213] In the context of the present disclosure, the computer program codes or related data may be carried by any suitable carrier to enable the device, apparatus or processor to perform various processes and operations as described above. Examples of the carrier include a signal, computer readable medium, and the like.

[0214] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include but not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium would include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM) , a read-only memory (ROM) , an erasable programmable read-only memory (EPROM or Flash memory) , an optical fiber, a portable compact disc read-only memory (CD-ROM) , an optical storage device, a magnetic storage device, or any suitable  combination of the foregoing. The term “non-transitory, ” as used herein, is a limitation of the medium itself (i.e., tangible, not a signal) as opposed to a limitation on data storage persistency (e.g., RAM vs. ROM) .

[0215] Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are contained in the above discussions, these should not be construed as limitations on the scope of the present disclosure, but rather as descriptions of features that may be specific to particular embodiments. Certain features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable sub-combination.

[0216] Although the present disclosure has been described in languages specific to structural features and / or methodological acts, it is to be understood that the present disclosure defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims

1.A terminal device comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the terminal device at least to:determine whether a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router; andbased on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, set router status of the terminal device to master device for the virtual router.2.The terminal device of claim 1, wherein the instructions when executed by the at least one processor further cause the terminal device to:detect a condition for a switchover of the master device for the virtual router; andbased on the condition, trigger the switchover of the master device for the virtual router.3.The terminal device of claim 2, wherein detecting a condition comprises at least one of the following:detecting performance degradation of the first terminal device is above a threshold; level;detecting a change in a status of hardware of the first terminal device;detecting an uplink (UL) scheduling issue;detecting a change in a load of the at least one processor of the terminal device;detecting a queue exhaustion in processing packets of the first terminal device;detecting that a battery power level of the first terminal device is depleted;detecting failure of a radio link of the terminal device; ordetecting an out of coverage issue for the terminal device.4.The terminal device of claim 2 or 3, wherein the instructions when executed by the at least one processor further cause the terminal device to trigger:update the router priority of the terminal device; andsend the updated router priority to other terminal devices of the group of terminal devices.5.The terminal device of any of claims 1-4, wherein the instructions when executed by the at least one processor further cause the terminal device to:prior to the determination, obtain configuration information for the virtual router, wherein the configuration information comprises the router priority of the terminal device.6.The terminal device of claim 5, wherein the instructions when executed by the at least one processor further cause the terminal device to:send, to the SMF of the communication system, the configuration information determined by the terminal device.7.The terminal device of claim 5, wherein the instructions when executed by the at least one processor further cause the terminal device to obtain the configuration information by:receiving the configuration information from the SMF of the communication system during PDU session related procedure for the terminal device, wherein the configuration information is provided by a unified data management (UDM) of the communication system, a policy control function (PCF) of the communication system, or local policy configuration.8.The terminal device of any of claims 5-7, wherein the configuration information comprises at least one of:an identifier of the group of the terminal devices functioned as a virtual router;a set of IP addresses associated with the group of the terminal devices functioned as a virtual router, andthe router priority of the terminal device.9.The terminal device of any of claims 1-8, wherein the instructions when executed by the at least one processor further cause the terminal device:send an indication of the router status to a network device of the communication system.10.The terminal device of claim 9, wherein the network device is a session management function (SMF) of the communication system; andthe indication of the router status sent by the terminal device to the SMF of the communication system includes at least one of an identifier of the virtual router and the router status of the terminal device for the virtual router.11.The terminal device of claim 9, wherein the network device is a user plane function (UPF) of the communication system;the indication of the router status sent by the terminal device to the UPF of the communication system includes virtual router redundancy protocol (VRRP) packet.12.The terminal device of any of claims 1-11, wherein the instructions when executed by the at least one processor further cause the terminal device to:receive, from the SMF of the communication system of the communication system, an indication of the router status of the terminal device for the virtual router to change the router status of the terminal device from the master device to the backup device for the virtual router.13.The terminal device of any of claims 1-12, wherein the instructions when executed by the at least one processor further cause the terminal device to:send, to the SMF of the communication system, an indication of the router status to change the router status of the terminal device from the master device to the backup device for the virtual router.14.The terminal device of any of claims 1-13, wherein the instructions when executed by the at least one processor further cause the terminal device to:receive, from a unified data management (UDM) of the communication system, a change at least one of the identifier of the group of the terminal devices, a virtual internet protocol (IP) address associated with the group of the terminal devices, an identifier of the virtual router, a set of IP addresses associated with the virtual router, and the router priority of the terminal device in a session management (SM) data subscription.15.A network device of a communication system, the network device comprising:at least one processor; andat least one memory storing instructions that, when executed by the at least one processor, cause the network device at least to:detect a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; andbased on detecting the condition, trigger the switchover of the master device for the virtual router.16.The network device of claim 15, wherein the network device is a session management function (SMF) of the communication system, and wherein the condition is based on at least one of the following associated with a group of terminal devices acting as the virtual router:mobility of the terminal device;performance degradation;an operator local policy change;a tracking area (TA) change;a quality of service (QoS) monitoring result;a performance measurement function (PMF) result; ora request for the switchover from another network device.17.The network device of claim 15 or 16, wherein the network device is an SMF of the communication system and wherein the instructions when executed by the at least one processor further cause the SMF of the communication system to trigger the switchover by:sending, to a terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and a backup device for the virtual router to the other one of the master device and the backup device.18.The network device of claim 15 or 16 wherein the instructions when executed by the at least one processor further cause the SMF of the communication system to trigger the switchover by:receiving, from the terminal device among the group of terminal devices, an indication of the router status to change router status of the terminal device from one of the master device and the backup device for the virtual router to the other one of the master device and the backup device.19.The network device of claim 15, wherein the network device is a unified data management (UDM) of the communication system, and wherein the condition is based on a UDM subscription change associated with a terminal device acting as the master device for a virtual router.20.The network device of claim 15 or 19, wherein the network device is a UDM of the communication system and wherein the instructions when executed by the at least one processor further cause the UDM of the communication system to trigger the switchover by:sending, to SMF of the communication system, a change of a router priority of the terminal device in a session management (SM) data subscription.21.The network device of claim 15, wherein the network device is a policy control function (PCF) of the communication system, and wherein the condition is based on at least one of the following associated with a group of terminal devices acting as the virtual router:a PCF policy change;a TA change;a QoS monitoring result;a PMF result; oran application function (AF) Policy change.22.The network device of claim 15 or 21, wherein the network device is a PCF of the communication system and wherein the instructions when executed by the at least one processor further cause the PCF of the communication system to trigger the switchover by:sending, to an SMF of the communication system, a notification of updating a SM policy associated with a terminal device.23.The network device of claim 15, wherein the network device is an application function (AF) of the communication system or a network exposure function (NEF) of the communication system, and wherein the condition is based on an application request depending on at least one traffic characteristic associated with a group of terminal devices acting as the virtual router.24.The network device of claim 13 or 23, wherein the network device is an AF of the communication system or an NEF of the communication system and wherein the instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by:sending, to an SMF of the communication system, a request for the triggering the switchover.25.The network device of claim 15, wherein the network device is a network data analytics function (NWDAF) of the communication system, and wherein the condition is based on NWDAF analytics associated with a group of terminal devices acting as the virtual router, wherein NWDAF analytics is based on the terminal device’s historical performance per application support.26.The network device of claim 15 or 25, wherein the network device is an AF of the communication system or an NEF of the communication system and wherein the instructions when executed by the at least one processor further cause the AF of the communication system or the NEF of the communication system to trigger the switchover by:sending, to an SMF of the communication system, NWDAF analytics to trigger the switchover.27.The network device of claim 15, wherein the network device is an operation, administration and maintenance (OAM) of the communication system, and wherein the condition is based on an OAM operation on the at least one terminal device among the group of terminal devices acting as the master device for a virtual router.28.The network device of claim 15 or 27, wherein the network device is an OAM of the communication system and wherein the instructions when executed by the at least one processor further cause the OAM of the communication system to trigger the switchover by:sending, to an SMF of the communication system, an indication of the router status to trigger the switchover.29.The network device of any of claims 15-17, wherein the instructions when executed by the at least one processor further cause the network device to:receive, from a terminal device among the group of terminal devices, an indication of the router status that the terminal device is the master router for the virtual router.30.The network device of claim 29, wherein the instructions when executed by the at least one processor further cause the network device to receive the indication of the router status by:receiving, from a user plane function (UPF) of the communication system the indication of the router status that include at least one VRRP packet.31.The network device of claims 15-17 and 29-30, wherein the instructions when executed by the at least one processor further cause the network device to:receive, from a terminal device among the group of terminal devices, configuration information for the virtual router determined by the terminal device.32.The network device of claims 15-17 and 29-30, wherein the instructions when executed by the at least one processor further cause the network device to:obtain, for a terminal device among the group of terminal devices, configuration information from a UDM of the communication system, a PCF of the communication system or local policy configuration; andsend the configuration information to the terminal device.33.The network device of claim 31 or 32, wherein the configuration information comprises at least one of:an identifier of the group of the terminal devices;a virtual internet protocol (IP) address associated with the group of the terminal devices;an identifier of the virtual router;a set of internet protocol (IP) addresses associated with the virtual router; andthe router priority of the terminal device.34.The network device of any of claims 15-17 and 28-29, wherein the instructions when executed by the at least one processor further cause the network device to:determine, based on router priorities of the group of terminal devices, that the master device for the virtual router is to switch over from a first terminal device to a second terminal device among the group of terminal devices;send, to the first terminal device, an indication of the router status to change router status of the first terminal device from the master device to a backup device for the virtual router; andsend, to the second terminal device, an indication of the router status to change router status of the second terminal device from the backup device to the master device.35.A method comprising:determining, at a terminal device, whether a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices in another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for virtual router;based on e determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, setting router status of the terminal device to master device for the virtual router.36.A method comprising:detecting, at a network device, a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; andbased on detecting the condition, triggering the switchover of the master device for the virtual router.37.An apparatus comprising:means for determining, at a terminal device, that a router priority of the terminal device is higher than router priorities of other terminal devices, wherein the terminal device and the other terminal devices are part of a group of terminal devices of a communication system configured to function as a virtual router for routing packets to or from a plurality of devices of another communication system through the group of terminal devices of the communication system, wherein the router priority value is used in master election for the virtual router; andmeans for based on determining that the router priority of the terminal device is higher than the router priorities of other terminal devices of the group of terminal devices, setting router status of the terminal device to master device for the virtual router.38.An apparatus comprising:means for detecting, at a network device, a condition for a switchover of a master device among a group of terminal devices configured to function as a virtual router; andmeans for based on detecting the condition, triggering the switchover of the master device for the virtual router.39.A non-transitory computer readable medium comprising program instructions that, when executed by an apparatus, cause the apparatus to perform at least the method of claim 35 or 36.

Citation Information

Patent Citations

  • Switching method and device of main / standby router in virtual route redundancy protocol

    CN101702681A

  • Inter-router adjustment method, router priority calculation device, and router device

    US20060149851A1

  • Method and system for balancing network load in a virtual environment

    US20190149464A1