# US 2025/0158894 A1 · Wide area network issue prediction based on detection of service provider connection swapping

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0158894 A1
- Document ID: US20250158894A1
- Status: Published application
- Kind: A1
- Application number: 18/943,614
- Filed: 2024-11-11
- Published: 2025-05-15
- Earliest claimed: 2023-11-13
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Xiaoying Wu; Amruta Subhash Nagarkar
- Web page: https://patentgrep.com/patent/US20250158894A1

## CPC

- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L 41/147: for predicting network behaviour
- H04L 41/064: {involving time analysis}
- H04L 41/0686: Additional information in the notification, e.g. enhancement of specific meta-data
- H04L 41/069: using logs of notifications; Post-processing of notifications
- H04L 41/16: using machine learning or artificial intelligence
- H04L 43/0811: by checking connectivity
- H04L 41/34: Signalling channels for network management communication
- H04L 43/16: Threshold monitoring
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are described for predicting a wide area network (WAN) issue based on detection of service provider connection swapping. A cloud-based network management system (NMS) obtains connection event data for one or more network access server (NAS) devices at a site, where each event included in the connection event data comprises a connection or disconnection event of a connection session provided by a service provider. The NMS detects a number of connection swaps in the connection event data over a time window, where a connection swap includes a change from a first connection session provided by a first service provider to a second connection session provided by a second service provider. Based on the detected number of connection swaps satisfying a threshold, the NMS predicts a root cause of the connection swaps as a WAN issue and generates a notification of the predicted root cause of the connection swaps.

## Claims

### Claim 1

A network management system (NMS) comprising:
memory; and
one or more processors in communication with the memory and configured to:
obtain connection event data for one or more network access servers (NAS) devices at a site, wherein each event included in the connection event data comprises a connection or disconnection event of a connection session provided by a service provider between a NAS device of the one or more NAS devices and the NMS;
detect a number of connection swaps in the connection event data over a time window, wherein a connection swap includes a change from a first connection session provided by a first service provider to a second connection session provided by a second service provider;
based on the detected number of connection swaps satisfying a threshold, predict a root cause of the connection swaps as a wide area network (WAN) issue; and
generate a notification of the predicted root cause of the connection swaps.

### Claim 2 (depends on 1)

The NMS of claim 1, wherein each event included in the connection event data includes an address of the service provider that provided the connection session experiencing the connection or disconnection event, and wherein the one or more processors are configured to, for each event included in the connection event data, perform a reverse lookup of the address of the service provider included in the event to determine a name and a location of the service provider that provided the connection session.

### Claim 3 (depends on 1)

The NMS of claim 1, wherein the first service provider provides a first connection type and the second service provider provides a second connection type that is different than the first connection type.

### Claim 4 (depends on 1)

The NMS of claim 1, wherein to obtain the connection event data, the one or more processors are configured to one of read the connection event data for the one or more NAS devices at the site from records created by the NMS or receive the connection event data reported by the one or more NAS devices at the site.

### Claim 5 (depends on 1)

The NMS of claim 1, wherein to detect the connection swap, the one or more processors are configured to:
detect a first event comprising a connection event of the first connection session provided by the first service provider between the NAS device and the NMS;
detect a second event comprising a disconnection event of the first connection session;
detect a third event comprising a connection event of the second connection session provided by the second service provider between the NAS device and the NMS; and
detect a fourth event identifying a disconnection event of the second connection session.

### Claim 6 (depends on 1)

The NMS of claim 1, wherein to detect the number of connection swaps in the connection event data over the time window, the one or more processors are configured to increment a counter for each connection swap of the NAS device between the first service provider and the second service provider that occurs during the time window.

### Claim 7 (depends on 6)

The NMS of claim 6, wherein the one or more processors are configured to, after each increment of the counter, determine whether a current number of connection swaps satisfies the threshold.

### Claim 8 (depends on 1)

The NMS of claim 1, wherein the one or more processors are configured to:
determine a severity associated with the detected number of connection swaps that satisfy the threshold in either a single time window or for each of two or more consecutive time windows; and
modify the threshold based on the severity of the detected number of connection swaps.

### Claim 9 (depends on 1)

The NMS of claim 1, wherein each of the first connection session and the second connection session comprises a transmission control protocol (TCP) connection session for a management path between the NAS device at the site and the NMS.

### Claim 10 (depends on 9)

The NMS of claim 9, wherein a data path between the NAS device at the site and one or more of cloud-based applications, application servers, or data centers comprises a same path as the management path.

### Claim 11 (depends on 1)

The NMS of claim 1, wherein the time window comprises a rolling time window.

### Claim 12 (depends on 1)

The NMS of claim 1, wherein the notification of the predicted root cause of the connection swaps includes a recommendation to determine at least one of WAN health metrics or health metrics of one or more gateway devices of the WAN.

### Claim 13 (depends on 1)

The NMS of claim 1, wherein the one or more processors are configured to:
determine a physical distance between the site and the NMS; and
filter out the connection event data for the one or more NAS devices at the site when the physical distance exceeds a preset distance.

### Claim 14

A method comprising:
obtaining, by a network management system (NMS), connection event data for one or more network access servers (NAS) devices at a site, wherein each event included in the connection event data comprises a connection or disconnection event of a connection session provided by a service provider between a NAS device of the one or more NAS devices and the NMS;
detecting, by the NMS, a number of connection swaps in the connection event data over a time window, wherein a connection swap includes a change from a first connection session provided by a first service provider to a second connection session provided by a second service provider;
based on the detected number of connection swaps satisfying a threshold, predicting, by the NMS, a root cause of the connection swaps as a wide area network (WAN) issue; and
generating, by the NMS, a notification of the predicted root cause of the connection swaps.

### Claim 15 (depends on 14)

The method of claim 14, wherein each event included in the connection event data includes an address of the service provider that provided the connection session experiencing the connection or disconnection event, and wherein the method further comprises, for each event included in the connection event data, performing a reverse lookup of the address of the service provider included in the event to determine a name and a location of the service provider that provided the connection session.

### Claim 16 (depends on 14)

The method of claim 14, wherein detecting the connection swap comprises:
detecting a first event comprising a connection event of the first connection session provided by the first service provider between the NAS device and the NMS;
detecting a second event comprising a disconnection event of the first connection session;
detecting a third event comprising a connection event of the second connection session provided by the second service provider between the NAS device and the NMS; and
detecting a fourth event identifying a disconnection event of the second connection session.

### Claim 17 (depends on 14)

The method of claim 14, wherein detecting the number of connection swaps in the connection event data over the time window comprises incrementing a counter for each connection swap of the NAS device between the first service provider and the second service provider that occurs during the time window.

### Claim 18 (depends on 14)

The method of claim 14, further comprising:
determining a severity associated with the detected number of connection swaps that satisfy the threshold in either a single time window or for each of two or more consecutive time windows; and
modifying the threshold based on the severity of the detected number of connection swaps.

### Claim 19 (depends on 14)

The method of claim 14, further comprising:
determining a physical distance between the site and the NMS; and
filtering out the connection event data for the one or more NAS devices at the site when the physical distance exceeds a preset distance.

### Claim 20

Non-transitory computer readable storage media comprising instructions that, when executed, cause one or more processors to:
obtain connection event data for one or more network access servers (NAS) devices at a site, wherein each event included in the connection event data comprises a connection or disconnection event of a connection session provided by a service provider between a NAS device of the one or more NAS devices and a network management system (NMS);
detect a number of connection swaps in the connection event data over a time window, wherein a connection swap includes a change from a first connection session provided by a first service provider to a second connection session provided by a second service provider;
based on the detected number of connection swaps satisfying a threshold, predict a root cause of the connection swaps as a wide area network (WAN) issue; and
generate a notification of the predicted root cause of the connection swaps.
