{"pub_number":"US12373466B2","doc_number":"12373466","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Anomaly detection through clustering of time-series data subsequences and determination of adaptive thresholding","abstract_text":"Computerized methodologies are disclosed that are directed to detecting anomalies within a time-series data set. An aspect of the anomaly detection process includes determining one or more seasonality patterns that correspond to a specific time-series data set by evaluating a set of candidate seasonality patterns (e.g., hourly, daily, weekly, day-start off-sets, etc.). The evaluation of a candidate seasonality pattern may include dividing the time-series data set into a collection of subsequences based on the particular candidate seasonality pattern. Further, the collection of subsequences may be divided into clusters and a silhouette score may be computed to measure the clustering quality of the candidate seasonality pattern. In some instances, the candidate seasonality pattern having the highest silhouette score is selected and utilized in anomaly detection process. In other instances, a plurality of seasonality patterns may be combined forming a time policy, where the time policy is utilized in anomaly detection process.","claims":[{"number":1,"text":"A computer-implemented method, comprising: obtaining a time-series data set; performing a data regularity check on the time-series data set; responsive to the data regularity check not satisfying a data regularity threshold, performing a data aggregation process to regularize the time-series data set; dividing the time-series data set into a set of subsequences based on a first candidate seasonality pattern; clustering the set of subsequences in accordance with the first candidate seasonality pattern; determining a silhouette score measuring a quality of the clustering, wherein the silhouette score indicates how well the first candidate seasonality pattern fits the time-series data set; establishing an anomaly band for the time-series data set based on the first candidate seasonality pattern when the silhouette score satisfies a threshold comparison; and detecting one or more anomalies within the time-series data set that are outside of the anomaly band.","independent":true},{"number":2,"text":"The method of claim 1, wherein the first candidate seasonality pattern is a set of parameters corresponding to values of data points comprising the time-series data set indicating an expected pattern of the values of the data points.","independent":false,"depends_on":[1]},{"number":3,"text":"The method of claim 1, wherein the first candidate seasonality pattern defines a methodology for dividing the time-series data set based on one or more of time of day or day of week.","independent":false,"depends_on":[1]},{"number":4,"text":"The method of claim 1, wherein computing the silhouette score for the first candidate seasonality pattern includes (i) computing a silhouette score for data points of the time-series data set, and (ii) determining a mean or a medium of the silhouette scores for the data points.","independent":false,"depends_on":[1]},{"number":5,"text":"The method of claim 4, wherein computing the silhouette score for the first data point of the data points comprising the time-series data set includes: determining, for each cluster, an average distance between the first data point and data points belonging to clusters to which the first data point does not belong, dividing (a) a difference between (i) a minimum of the average distances between the first data point and the data points belonging to the clusters to which the first data point does not belong, and (ii) an average distance between the first data point and the other data points belonging to a cluster to which the first data point does belong, by (b) a maximum of (i) the minimum of the average distances between the first data point and the data points belonging to the clusters to which the first data point does not belong, and (ii) the average distance between the first data point and the other data points belonging to the cluster to which the first data point does belong.","independent":false,"depends_on":[4]},{"number":6,"text":"The method of claim 1, wherein the anomaly band includes an upper threshold and a lower threshold relative to the time-series data set.","independent":false,"depends_on":[1]},{"number":7,"text":"The method of claim 1, wherein the time-series data set includes machine generated data from within a networked environment and comprises a set of data points each associated with a timestamp.","independent":false,"depends_on":[1]},{"number":8,"text":"A computing device, comprising: a processor; and a non-transitory computer-readable medium having stored thereon instructions that, when executed by the processor, cause the processor to perform operations including: obtaining a time-series data set; performing a data regularity check on the time-series data set; responsive to the data regularity check not satisfying a data regularity threshold, performing a data aggregation process to regularize the time-series data set; dividing the time-series data set into a set of subsequences based on a first candidate seasonality pattern; clustering the set of subsequences in accordance with the first candidate seasonality pattern; determining a silhouette score measuring a quality of the clustering, wherein the silhouette score indicates how well the first candidate seasonality pattern fits the time-series data set; establishing an anomaly band for the time-series data set based on the first candidate seasonality pattern when the silhouette sco","independent":true}],"description":"RELATED APPLICATIONS\nAny and all applications for which a foreign or domestic priority claim is identified in the Application Data Sheet as filed with the present application are incorporated by reference under 37 CFR 1.57 and made a part of this specification.\nBACKGROUND\nInformation technology (IT) environments can include diverse types of data systems that store large amounts of diverse data types generated by numerous devices. For example, a big data ecosystem may include databases such as MySQL and Oracle databases, cloud computing services such as Amazon web services (AWS), and other data systems that store passively or actively generated data, including machine-generated data (\n“\nmachine data\n”\n). The machine data can include log data, performance data, diagnostic data, metrics, tracing data, or any other data that can be analyzed to diagnose equipment performance problems, monitor user interactions, and to derive other insights.\nThe large amount and diversity of data systems containing large amounts of structured, semi-structured, and unstructured data relevant to any search query can be massive, and continues to grow rapidly. This technological evolution can give rise to various challenges in relation to managing, understanding and effectively utilizing the data. To reduce the potentially vast amount of data that may be generated, some data systems pre-process data based on anticipated data analysis needs. In particular, specified data items may be extracted from the generated data and stored in a data system to facilitate efficient retrieval and analysis of those data items at a later time. At least some of the remainder of the generated data is typically discarded during pre-processing.\nHowever, storing massive quantities of minimally processed or unprocessed data (collectively and individually referred to as\n“\nraw data\n”\n) for later retrieval and analysis is becoming increasingly more feasible as storage capacity becomes more inexpensive and plentiful. In","inventors":[{"name":"Houwu Bai","slug":"houwu-bai","city":"San Jose","country":"US"},{"name":"Kristal Curtis","slug":"kristal-curtis","city":"San Francisco","country":"US"},{"name":"William Deaderick","slug":"william-deaderick","city":"Austin","country":"US"},{"name":"Tanner Gilligan","slug":"tanner-gilligan","city":"San Bruno","country":"US"},{"name":"Poonam Yadav","slug":"poonam-yadav","city":"San Francisco","country":"US"},{"name":"Om Rajyaguru","slug":"om-rajyaguru","city":"San Diego","country":"US"}],"assignees":[{"name":"Cisco Technology, Inc.","slug":"cisco-technology-inc","country":"US"}],"examiners":[],"cpc_codes":["G06F 16/2462","G06F 16/2477","G06F 16/285"],"ipc_codes":["G06F 16/2458","G06F 16/28"],"filing_date":"2023-07-17","pub_date":"2025-07-29","grant_date":"2025-07-29","expiration_date":"2043-07-17","family_members":[],"citations_made":[{"pub_number":"US7937344B2","category":"applicant"},{"pub_number":"US8112425B2","category":"applicant"},{"pub_number":"US8751529B2","category":"applicant"},{"pub_number":"US8788525B2","category":"applicant"},{"pub_number":"US9215240B2","category":"applicant"},{"pub_number":"US9286413B1","category":"applicant"},{"pub_number":"US10127258B2","category":"applicant"},{"pub_number":"US20130179381A1","category":"examiner"},{"pub_number":"US20160219067A1","category":"examiner"},{"pub_number":"US20190098106A1","category":"applicant"},{"pub_number":"US20210294818A1","category":"applicant"},{"pub_number":"US20220218261A1","category":"examiner"},{"pub_number":"US20230367665A1","category":"examiner"},{"pub_number":"US20230368069A1","category":"examiner"},{"pub_number":"US20240265273A1","category":"examiner"}],"non_patent_literature":["Alam et al,","“","Adaptable Anomaly Detection in Traffic Flow Time Series","”",", IEEE, pp. 1-9 (Year: 2019).","Bai, K. et al.","“","Anomaly Detection System and Method for Implementing a Data Regularity Check and Adaptive Thresholding,","”","filed Jul. 17, 2023, U.S. Appl. No. 18/222,870 including its prosecution history."],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":2,"indexed_forward_citations":2,"backward_citations":15,"npl_citations":10,"citations_per_year":2.0,"pagerank":0.27465307216702745,"citation_rank":2170526,"pagerank_rank":2170526,"velocity_rank":2170526,"family_citations":2}}