METHOD AND APPARATUS FOR USER PLANE GEO REDUNDANCY WITH SESSION CONTINUITY
A User Plane Function UPF Geographic Redundancy (GR) and Routers on Packet Forwarding Control Protocol Router (PFCP) N4 and General Packet Radio Service Tunneling Protocol (GTPv1) interfaces for a RAN network. A UPF and UPF-GR are connected via a dedicated connection for session and state replication. The UPF-GR is kept in a hot-standby mode, and all the sessions that are created, modified, or deleted at a UPF are also created, modified, and deleted at UPF-GR. The UPF and UPF-GR are also configured with a same N4 IP Address. A Session Management Function (SMF) is connected via a PFCP Router (PFCP-SMF) with PFCP routers of UPF and UPF-GR. A RAN node is connected via a Router (GTPv1-Radio) with GTPv1 routers of UPF and UPF-GR. The UPF and UPF-GR are configured to handle the same GTPv1 Interface IP Address and the same IP Pool from which the User Equipment IPs are allocated.
1 . A method comprising:
connecting a User Plane Function (UPF) to a Session Management Function (SMF) via a PFCP-UPF router (PFCP-UPF) N4 interface;
connecting a UPF Geographic Redundancy (GR) module (UPF-GR) to a Session Management Function (SMF) via a Packet Forwarding Control Protocol (PFCP) PFCP-UPF-GR router (PFCP-UPF-GR) N4 interface;
connecting the UPF to a Radio via a General Packet Radio Service Tunneling Protocol (GTPv1) router (GTPv1-UPF) GTPv1 interface;
connecting the UPF-GB to the Radio via a GTPv1 router-UPF-GR (GTPv1-UPF-GR) GTPv1 interface;
connecting the Radio to the GTPv1-UPF router and the GTPv1-UPF-GB router via a GTPv1-Radio Router (GTPv1-Radio);
connecting the SMF to the PFCP-UPF-GR router and the PFCP-UPF router via a PFCP-SMF router (PFCP-SMF);
connecting the UPF and the UPF GR via a dedicated connection for session and state replication; and
maintaining the UPF-GR in a hot-standby mode so that sessions at the UPF are also replicated at the UPF-GR.
2 . The method of claim 1 , comprising:
configuring the UPF and the UPF-GR to handle a same GTPv1 Interface IP Address.
3 . The method of claim 1 , comprising:
configuring the UPF and the UPF-GR to handle the same IP Pool from which a UE IP is allocated.
4 . The method of claim 1 , further comprising:
configuring the UPF so that the BGP MED values that are installed on the UPF have higher priority than the BGP MED values at the UPF-GR so that that packets routed via the GTPv1 interface and N4 interface are routed to the UPF when both the UPF and the UPF-GR are up.
5 . The method of claim 1 , wherein UPF is configured to use anycast.
6 . The method of claim 4 , further comprising:
routing, via the PFCP router, a message to the available UPF configured with the higher BGP MED values; and
replicating the session information at the UPF-GR at hot standby for the UPF, the SMF having an association setup with an N4 IP Address of UPF.
7 . The method of claim 4 , further comprising:
routing, via the GTPV1 router, a GTPv1 message to the available UPF configured with the higher BGP MED values;
routing user plane packets from Radio to the available UPF configured with the higher BGP MED values;
forwarding, by the UPF the user plane packets towards a router for an N6 interface; and
replicating the session information at the UPF-GR at hot standby for the UPF.
8 . The method of claim 1 , further comprising:
writing data to Unstructured Data Storage Function (USDF) UDSF-A on the active UPF;
synching the data between UDSF-A and a UDSF-B on the UPF-GR;
running a Poll Application module at the UPF-GR in the hot standby mode to recreate the sessions via a configurable timer;
after an expiry of the timer expiry, recreate the available sessions available at UPF-GR via the UDSF-B; and
for newly created sessions on the UPF-GR, updating the BGP configured the lower BGP MED values at an N6 interface.
9 . The method of claim 8 , further comprising:
for the GTPv1 and N4 interfaces, advertising a lower BGP MED at a UPF-GR bring up.
10 . The method of claim 8 , further comprising:
periodically updating the last local timestamp every time period at the UDSF-B of the active hot standby UPF-GR;
converting to a local time zone and reading, by the UPF-GB, the last local timestamp;
declaring the UPF-GR as active when the Poll Application in UP-GR determines that the timestamp is not updated for a preconfigured value;
advertising a higher BGP MED than the one configured at UPF using a BGP update message to the PFCP router, the GTPv1 router, and the N6 interface, so that the packets are routed to UPF-GR; and
routing, by the PFCP router, the GTPv1 router, and the N6 router, the packets to the UPF GR.
11 . The method of claim 10 , further comprising:
the UPF, before marking itself active, recreating the sessions in the UDSF-A;
sending a BGP Update to via PFCP-UPF router and the GTPv1_UPF router, and
updating a timestamp in the UDSF-A;
synchronizing the UDSF-A and the UDSF-B;
reading, by the UPF-GR the timestamp after converting the timestamp to a local time zone;
identifying, by the UPF-GR, the UPF is up again;
updating a usage and usage context back to UDSF-B by the UPF GR;
synchronizing the UDSF-B and the UDSF-A;
reading the information from the UDSF-A by the UPF;
advertising, by the UPF, a higher BGP MED than and BGP MED published by UPF-GR using a BGP update message to the PFCP router, the GTPv1 router, and the N6 interface so that the packets are routed to this UPF;
routing packets from the PFCP router, the GTPv1 router, and the N6 interface to the UPF;
handling the packets by the UPF by reading the updated usage context;
running, by the UPF-GR, the Poll Application to recreate the sessions; and
resuming a hot standby state, wherein the UPF GR stops the monitoring of the PDRs.
12 . A RAN System comprising:
a User Plane Function (UPF) module;
a Session Management Function (SMF) module;
a PFCP-UPF router (PFCP-UPF) connecting the UPF to the SMF via an N4 interface;
a UPF Geographic Redundancy (GR) module (UPF-GR) and a Packet Forwarding Control Protocol (PFCP) PFCP-UPF-GR router (PFCP-UPF-GR) connecting the UPF-GR) module (UPF-GR) to the SMF via the N4 interface;
a RAN Radio node and General Packet Radio Service Tunneling Protocol (GTPv1) Radio Router (GTPv1-Radio);
a UPF GTPv1 router (GTPv1-UPF) connecting the UPF to the RAN Radio node GTPv1-Radio Router via an GTPv1 interface;
a UPF-GR GTPv1 router-(GTPv1-UPF-GR) connecting the UPF-GR to the RAN Radio node GTPv1-Radio Router via the GTPv1 interface;
a PFCP-SMF router (PFCP-SMF) connecting the SMF to the PFCP-UPF-GR router and the PFCP-UPF router via the N4 interface; and
a dedicated connection connecting the UPF module and the UPF GR module for session and state replication, wherein the UPF-GR module is configured to be in a hot-standby mode so that sessions at the UPF module are also replicated at the UPF-GR module.
13 . The system of claim 12 , wherein:
the UPF module and the UPF-GR module are each configured to handle a same GTPv1 Interface IP Address and each is configured to handle a same IP Pool.
14 . The system of claim 12 , further comprising:
configuring the UPF module so that the BGP MED values that are installed on the UPF module have higher priority than the BGP MED values at the UPF-GR module so that that packets routed via the GTPv1 interface and the N4 interface are routed to the UPF module when both the UPF module and the UPF-GR module are up.
15 . The system of claim 12 , wherein UPF module is configured to use anycast.
16 . The system of claim 14 , wherein:
the PFCP router is configured to route a message to the available UPF module configured with the higher BGP MED values; and
the system is configured to replicate session information at the UPF-GR module at hot standby for the UPF module, the SMF module having an association setup with an N4 IP Address of UPF module.
17 . The system of claim 14 , wherein:
the GTPV1 router is configured to route a GTPv1 message to the available UPF module configured with the higher BGP MED values;
the RAN Radio node is configured to route user plane packets to the available UPF module configured with the higher BGP MED values;
the UPF module is configured to forward the user plane packets towards a router for an N6 interface; and
the UPF-GR module is configured to replicate the session information at the at hot standby for the UPF module.
18 . The system of claim 12 , wherein:
the UPF module is configured to write session data to an Unstructured Data Storage Function (USDF) UDSF-A on the UPF module;
a USDF is on the UPF-GR (USDF-B), the system is configured to synch data between UDSF-A and the UDSF-B;
the UPF-GR comprises a Poll Application module and configured to:
run at the UPF-GR in the hot standby mode to recreate the sessions via a configurable timer;
after an expiry of the timer expiry, recreate the available sessions available at UPF-GR via the UDSF-B; and
for newly created sessions on the UPF-GR, update the BGP configured the lower BGP MED values at an N6 interface.
19 . The system of claim 18 , wherein:
the UPF-GR module is configured to advertise a lower BGP MED for the GTPv1 and N4 interfaces at UPF-GR bring up.
20 . The system of claim 18 , wherein:
the UPF-GR module is configured to at least:
periodically update the last local timestamp every time period at the UDSF-B of the active hot standby UPF-GR module;
convert to a local time zone and read the last local timestamp;
declare the UPF-GR module as active when the Poll Application module determines that the timestamp is not updated for a preconfigured value; and
advertise a higher BGP MED than the one configured at the UPF module using a BGP update message to the PFCP router, the GTPv1 router, and the N6 interface, so that the packets are routed to UPF-GR module;
whereby the PFCP router, the GTPv1 router, and the N6 router are each configured to route packets to the UPF GR until the UPF resumes an active state.