# US 10,958,585 B2 · Methods and apparatus for facilitating fault detection and/or predictive fault detection

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

- Number: US 10,958,585 B2
- Document ID: US10958585B2
- Status: Granted
- Kind: B2
- Application number: 16/237,677
- Filed: 2018-12-31
- Published: 2020-07-02
- Granted: 2021-03-23
- Earliest claimed: 2018-12-31
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Ebrahim Safavi
- Web page: https://patentgrep.com/patent/US10958585B2

## CPC

- H04L 41/0654: using network fault recovery (ring fault isolation or reconfiguration in loop networks without recovery actions by a network management system H04L12/437)
- H04L 47/2441: relying on flow classification, e.g. using integrated services [IntServ]
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/096: Transfer learning
- G06N 20/00: Machine learning
- H04L 41/0661: {by reconfiguring faulty entities}
- H04L 41/0677: Localisation of faults
- H04L 41/069: using logs of notifications; Post-processing of notifications
- H04L 45/28: using route fault recovery
- H04W 24/02: Arrangements for optimising operational condition
- 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
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Methods and apparatus for automatically identifying and correcting faults relating to poor communications service in a wireless system, e.g., in real time, are described. The methods are well suited for use in a system with a variety of access points, e.g., wireless and/or wired access points, which can be used to obtain access to the Internet or another network. Access points (APs), which have been configured to monitor in accordance with received monitoring configuration information, e.g. on a per access point interface basis, captures messages, store captured messages, and in collaboration with network monitoring apparatus which can be in an AP or external thereto, use message sequences to determine a remedial action to be automatically taken when poor service is likely as may be predicted based on the detected message sequence between a UE and one or more APs.

## Claims

### Claim 1

A method performed by hardware processing circuitry, comprising:
storing, in a storage device, a plurality of mappings, each mapping associating a unique message sequence vector to with one of a plurality of message sequence vector clusters, each of the message sequence vector clusters associated with poor communications service;
storing for each of the message sequence vector clusters in the plurality of message sequence clusters, a corresponding corrective action;
detecting a plurality of messages of a first message sequence involving a first user equipment (UE) device and at least one access point;
updating a first message sequence vector representing the first message sequence based on at least the detected plurality of messages of the first message sequence;
determining, based on the plurality of mappings, if the first message sequence vector is within a vector space volume of one of the plurality of message sequence vector clusters; and
selectively performing, based on the determining, the stored corrective action corresponding to the one of the plurality of message sequence vector clusters.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
in response to determining that the first message sequence does not occupy a vector space volume of any of the plurality of message sequence vector clusters, monitoring to detect another message of the first message sequence; and
in response to detecting another message of the first message sequence involving the first UE device:
determining if the first message sequence vector is within a vector space volume of one of the plurality of message sequence vector clusters, and
in response to determining that the first message sequence vector is within the vector space volume of the one of the plurality of message sequence vector clusters, performing the stored corrective action corresponding to the one of the plurality of message sequence vector clusters.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
second determining if the detected message of the first ongoing message sequence is a known message; and
in response to determining that the detected message is not a known message, training a model to generate a message vector for the detected message and updating the at least one of the plurality of mappings to indicate the second message is part of a message sequence.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the corrective action is performed while the first message sequence is not complete; and
wherein the corrective action is one of: restarting a component, changing operating parameters of an access point (AP), adding SSID to an AP, or powering on a radio transmitter or receiver.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
detecting a start of the first message sequence;
storing information associating the first UE with the first message sequence; and
initializing the first message sequence vector in response to the detecting.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
detecting an end of the first message sequence;
second determining, in response to the detecting of the end, an association between the first message sequence vector and a first message sequence vector cluster of the plurality of message sequence vector clusters; and
training a model to associate the first message sequence vector and the first message sequence vector cluster in response to the second determining.

### Claim 7 (depends on 6)

The method of claim 6, wherein detecting the end of the first message sequence comprises at least one of:
detecting a message indicating the first message sequence was successfully completed;
detecting a failure associated with the first message sequence; or
detecting a message indicating the first message sequence timed out.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating, based on the detected message, a message vector to indicate two or more of a type of the detected message, a frequency of an occurrence of the message type in training data of a machine learning model, a relative position of the detected message in a message sequence, and a length of the message sequence, wherein the updating of the first message sequence vector is based on the message vector and the machine learning model.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
further generating the message vector based on a first message positioned immediately prior to the detected message in the first message sequence; and
further generating the message vector based on a second message positioned immediately subsequent to the detected message in the first message sequence.

### Claim 10 (depends on 1)

The method of claim 1, wherein determining, based on the plurality of mappings, the first message sequence vector is within a vector space volume of the one message sequence vector cluster comprises evaluating a distance between the first message sequence vector and a centroid within the vector space of the one message sequence vector cluster.

### Claim 11

An apparatus, comprising:
a hardware processor;
one or more hardware memories storing instructions that when executed configure the hardware processor to perform operations comprising:
storing in a storage device, a plurality of mappings, each mapping associating a unique message sequence vector with one of a plurality of message sequence vector clusters, each of the message sequence vector clusters associated with poor communications service;
storing for each of the plurality of message sequence vector clusters, a corresponding corrective action;
detecting a plurality of messages of a first message sequence involving a first user equipment (UE) device and at least one access point;
updating a first message sequence vector based on at least the detected plurality of messages of the first message sequence;
determining if the updated first message sequence vector is within a vector space volume of one of the plurality of message sequence vector clusters; and
in response to the determining, selectively performing the stored corrective action corresponding to the one of the plurality of message sequence vector clusters.

### Claim 12 (depends on 11)

The apparatus of claim 11, the operations further comprising:
monitoring to detect another message of the first message sequence in response to determining that the first message sequence vector is not within a vector space volume of one of the plurality of message sequence vector clusters;
further updating the first message sequence vector based on at least the detected another message,
second determining if the further updated first message sequence vector is within a vector space volume of one of the plurality of message sequence vector clusters, and
in response to the second determining, selectively performing the stored corrective action corresponding to the one of the plurality of message sequence vector clusters.

### Claim 13 (depends on 12)

The apparatus of claim 12, the operations further comprising:
generating, based on the detected message, a message vector to indicate a type of the detected message, a frequency of an occurrence of the message type in training data of a machine learning model, a relative position of the detected message in a message sequence, and a length of the message sequence, wherein the updating of the first message sequence vector is based on the message vector and the machine learning model.

### Claim 14 (depends on 11)

The apparatus of claim 11, the operations further comprising:
identifying the detected message as a new message;
in response to the identifying, initiating a model training operation to generate a message vector for the new message; and
in response to the identifying, updating the at least one of the plurality of mappings to indicate the detected message is part of a message sequence.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the corrective action is one of: restarting a component of a wireless system, changing operating parameters of an access point (AP), adding a SSID to an AP, or powering on a transmitter or a receiver; and
the operations further comprising restarting a component, changing operating parameters of at least one of the APs, adding SSID to AP, or powering on an additional radio transmitter or receiver, as part of being configured to perform a corrective action.

### Claim 16 (depends on 11)

The apparatus of claim 11, the operations further comprising:
detecting a start of the first message sequence;
storing information indicating the first UE to which the first message sequence corresponds; and
initializing the first message sequence vector for representing the first message sequence, wherein the detecting, storing and initializing performed prior to detecting (1218) the message of a first message sequence.

### Claim 17 (depends on 16)

The apparatus of claim 16, the operations further comprising:
detecting an end of the first message sequence; and
training a model based on an association between the first message sequence and the one message sequence vector cluster.

### Claim 18 (depends on 16)

The apparatus of claim 16, the operations further comprising:
detecting a start of a second message sequence involving a second UE;
storing information indicating the second UE to which the second message sequence corresponds; and
initializing a second message sequence vector for the second message sequence.

### Claim 19 (depends on 16)

The apparatus of claim 16, the operations further comprising second detecting a message transmitted by the first UE to an AP to initiate a network access operation wherein the detecting of the start of the first message sequence is based on the second detecting.

### Claim 20

A non-transitory computer readable medium including a first set of computer executable instructions which when executed configure a hardware processor to perform operations comprising:
storing, in a storage device, a plurality of mappings, each mapping associating a unique message sequence vector with one of a plurality of message sequence vector clusters, each of the message sequence vector clusters associated with poor communications service;
storing for each of the message sequence vector clusters, in the plurality of message sequence clusters, a corresponding corrective action;
detecting a plurality of messages of a first message sequence involving a first user equipment (UE) device and at least one access point;
updating a first message sequence vector based on at least the detected plurality of messages of the first message sequence;
determining, based on the plurality of mappings, if the first message sequence is within a vector space volume of one of the plurality of message sequence vector clusters; and
selectively performing, based on the determining, a corrective action corresponding to the one of the plurality of message sequence vector clusters.
