IP Library › Granted Patent US 12,645,525
Granted Patent B2
US 12,645,525 · App. 18/961,682 · Granted Jun 2, 2026

Detecting systemwide service issues by using anomaly localization

Inventors: Mohit Verma (Seattle, WA); Julien Hoachuck (San Francisco, CA); Qingwei Lin (Beijing, CN); Pooja Rani (Woodinville, WA); Namrata Jain (Sammamish, WA); Rakesh Namineni (Sammamish, WA); Jimmy Wong (Bellevue, WA); Si Qin (Beijing, CN); Yu Kang (Beijing, CN); Jeffrey Ding He (Bellevue, WA); Yingnong Dang (Sammamish, WA); Jian Zhang (Bellevue, WA); Bo Qiao (Beijing, CN); Kamaljit Bath (Redmond, WA)
Assignee: Microsoft Technology Licensing, LLC
G06F11/079G06F11/0709G06F11/0769
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,645,525
App. No.
18/961,682
Granted
Jun 2, 2026
Kind
B2
Abstract

Methods and systems for detecting systemwide service issues by using anomaly localization. In an example, a method includes receiving time-series monitoring data for multiple services, the time-series monitoring data including multiple dimensions and an error metric; for the monitoring data from each service, evaluating scopes within the monitoring data based on an objective function for a time-series of the error metric to identify at least one anomalous scope, each scope including at least one dimension and a value for the dimension; based on evaluating the scopes, generating a ranked list of scopes for each service based on objective function scores for the scopes; correlating the ranked lists of scopes across the multiple services to identify a cross-service anomaly; and generating an alert for the services based on the cross-service anomaly, the alert indicating at least one scope as a potential root cause for the cross-service anomaly.

Claims (54)

1 . A computing system comprising:

a processor; and

memory storing instructions that, when executed by the processor, cause the system to perform operations comprising:

receiving time-series monitoring data for multiple services, the time-series monitoring data including multiple dimensions and an error metric;

for the time-series monitoring data from each service, evaluating scopes within the time-series monitoring data comprising:

for a current scope, calculating an objective function score for a time series of the error metric limited by a current scope;

identifying a random scope that is a not a neighbor scope of the current scope;

calculating an objective function score for the random scope;

based on the objective function scores of the random sampling of the neighbor scopes and the objective function score of the random scope, selecting one of the neighbor scopes or the random scope to be a next current scope;

based on evaluating the scopes, generating a ranked list of scopes for each service based on objective function scores for the scopes;

correlating the ranked lists of scopes across the multiple services to identify a cross-service anomaly; and

generating an alert for the multiple services based on the cross-service anomaly, the alert indicating at least one scope as a potential root cause for the cross-service anomaly.

2 . The system of claim 1 , wherein at least one of the evaluated scopes includes a combination of at least two dimensions.

3 . The system of claim 2 , wherein one of the at least two dimensions is based on a physical component and another one of the at least two dimensions is based on a logical component.

4 . The system of claim 3 , wherein evaluating the scopes comprises:

for a current scope, calculating an objective function score for a time series of the error metric limited by the current scope;

determining a random sampling of neighbor scopes of the current scope, wherein the neighbor scopes include at least a peer scope, a subset scope, or a superset scope; and

calculating objective function scores for random sampling of neighbor scopes.

5 . The system of claim 1 , wherein the objective function represents a change in the error metric before and after a point in time.

6 . The system of claim 1 , wherein the services include at least one of an email service, a messaging service, or a document storage service.

7 . The system of claim 1 , wherein the multiple services rely on at least one common dependency.

8 . A computer-implemented method for localizing anomalies across multiple services, the method comprising:

receiving time-series monitoring data for multiple services, the time-series monitoring data including multiple dimensions and an error metric;

for the time-series monitoring data from each service, evaluating scopes within the time-series monitoring data comprising:

for a current scope, calculating an objective function score for a time series of the error metric limited by a current scope;

identifying a random scope that is a not a neighbor scope of the current scope;

calculating an objective function score for the random scope;

based on the objective function scores of the random sampling of the neighbor scopes and the objective function score of the random scope, selecting one of the neighbor scopes or the random scope to be a next current scope;

based on evaluating the scopes, generating a ranked list of scopes for each service based on objective function scores for the scopes;

correlating the ranked lists of scopes across the multiple services to identify a cross-service anomaly; and

generating an alert for the multiple services based on the cross-service anomaly, the alert indicating at least one scope as a potential root cause for the cross-service anomaly.

9 . The method of claim 8 , wherein at least one of the evaluated scopes includes a combination of at least two dimensions.

10 . The method of claim 8 , wherein the objective function represents a change in the error metric before and after a point in time.

11 . The method of claim 8 , wherein the services include at least one of an email service, a messaging service, or a document storage service.

12 . The method of claim 8 , wherein the multiple services rely on at least one common dependency.

13 . The method of claim 8 , wherein the multiple services include a first a service and a second service, wherein the first service is an email service, a messaging service, or a document storage service, and the second service is an email service, a messaging service, or a document storage service, the second service being different from the first service.

14 . The method of claim 13 , wherein the first service and the second service rely on a common dependency.

15 . The method of claim 14 , wherein the alert is generated for a third service that also relies on the common dependency.

16 . A computer-implemented method for localizing anomalies across multiple services, the method comprising:

receiving time-series monitoring data for multiple services, the time-series monitoring data including multiple dimensions and an error metric;

for the monitoring data from each service, evaluating scopes within the monitoring data based on an objective function for a time-series of the error metric to identify at least one anomalous scope, wherein evaluating the scopes comprises:

for a current scope, calculating an objective function score for a time series of the error metric limited by the current scope;

determining a random sampling of neighbor scopes of the current scope, wherein the neighbor scopes include at least a peer scope, a subset scope, or a superset scope;

calculating objective function scores for random sampling of neighbor scopes;

identifying a random scope that is a not a neighbor scope of the current scope;

calculating an objective function score for the random scope; and

based on the objective function scores of the random sampling of the neighbor scopes and the objective function score of the random scope, selecting one of the neighbor scopes or the random scope to be a next current scope; and

generating an alert for the services based on a cross-service anomaly, the alert indicating at least one scope as a potential root cause for the cross-service anomaly.

17 . The method of claim 16 , wherein at least one of the evaluated scopes includes a combination of at least two dimensions.

18 . The method of claim 17 , further comprising:

based on evaluating the scopes, generating a ranked list of scopes for each service based on objective function scores for the scopes; and

correlating the ranked lists of scopes across the multiple services to identify the cross-service anomaly.

19 . The method of claim 16 , wherein the objective function represents a change in the error metric before and after a point in time.

20 . The method of claim 16 , wherein the services include at least one of an email service, a messaging service, or a document storage service.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 1, 2026
From: VERMA, MOHIT; HOACHUCK, JULIEN; LIN, QINGWEI; RANI, POOJA; JAIN, NAMRATA; NAMINENI, RAKESH; WONG, JIMMY; QIN, SI; KANG, YU; HE, JEFFREY DING; DANG, YINGNONG; ZHANG, JIAN; QIAO, BO; BATH, KAMALJIT
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 075503/0680 →
Continuity (2)
Continuation 18050866 · Oct 28, 2022
Related Publication 20250086047A1 · Mar 13, 2025
References Cited (6)
US 10270788B2 · Faigon · 2019 [cited by examiner]
US 10983850B1 · Kwan · 2021 [cited by examiner]
US 10992560B2 · Leverich · 2021 [cited by examiner]
US 20170054610A1 · Vangala · 2017 [cited by examiner]
US 20210027205A1 · Sevakula · 2021 [cited by examiner]
US 20220382856A1 · Yang · 2022 [cited by examiner]