# Patent

## Title
Monitoring multiple channels of data from real time process to detect recent abnormal behavior

## Abstract

Provides methods, systems and apparatus for generating alerts for a system process that obtains raw channel data over time from one or more monitored channel of the system process. An example method includes processing the raw channel data to form time dependent signals based one or more user specified processing rules. The method produces alerts based on the deviation in behavior in one or more channels, where the deviation is quantified by a numeric level computed by comparing signals for varying time intervals with historically normal baseline signals. The method may include filtering the alerts to selectively form reportable alerts that are presented to the user based on user specified filtering rules.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation application of U.S. Ser. No. 11/159,445, filed on Jun. 23, 2005, now U.S. Pat. 7,295,950, the disclosure of which is incorporated by reference herein in its entirety.


FIELD OF INVENTION
The current invention relates to monitoring multiple channels of data from real time processes, and more particularly to detecting recent abnormal behavior using the data monitored.
BACKGROUND OF THE INVENTION
The monitoring of multiple channels of real-time data plays a key role in business processes in various domains. For example, in the production context (say, in the Oil and Gas Industry) sensors monitor various parameters and produce information at various temporal granularities. An important reason for this monitoring is to detect abnormal situations in a timely fashion to take corrective action. This monitoring can be done by domain experts but that can be an expensive and inconvenient process especially when this has to be done round-the-clock. For each situation, one can envision building a new system from scratch that mimics the monitoring done by the human expert as a possible solution to this problem. This can be an expensive proposition if there are multiple situations to be considered in each domain. Also, one has to find a way to incorporate domain knowledge related to the channels being monitored and the notion of abnormality in the detection process.
In U.S. Pat. No. 6,131,076 a method and system is disclosed for automatically establishing operational parameters of a statistical surveillance system. This is done using transformations of the time dependent data into the frequency domain and using sequential probability ratio test (SPRT).
In U.S. Pat. No. 6,859,739 a model-based surveillance system is disclosed for monitoring or controlling a process or machine. This system uses model-based estimates of operational parameters to indicate whether the process or machine is operating in a stable state or is in a transition from one state to another.
In some domains, the partial domain knowledge may be available on the relationships between various sensor values. It is important to be able to perform monitoring even in this scenario in a robust fashion detecting recent abnormal behavior in a timely fashion without too many false alarms. Also, training data containing examples of abnormal behavior may not exist. Therefore a need exists for a system to detect recent abnormal behavior using data from multiple channels in a domain with these characteristics.
SUMMARY
Therefore, the present invention provides methods systems and apparatus for monitoring multiple channels of data from real time processes, and more particularly for detecting recent abnormal behavior using the monitored data.
It is therefore an aspect of the present invention to present a method and apparatus to generate alerts indicating abnormal behavior by monitoring multiple channels of raw data from a monitored entity. In an example embodiment alerts are generated by processing raw channel data to form time dependent signals based on user customization in the form of processing rules. The time dependent signals from a set of channels are used to compute deviations in behavior by considering varying time intervals and comparing the signals with historically normal baseline signals. The computed deviations are used to produce alerts indicating abnormal behavior in one or more channels.



BRIEF DESCRIPTION OF THE DRAWINGS
Features and advantages of the present invention will become more apparent by describing in detail the embodiment of the present invention hereinafter in conjunction with the drawings, in which:
FIG. 1 is an illustration of the system according to an embodiment of the present disclosure;
FIG. 2 is an illustration showing various intervals of time used in the deviation detection module
FIG. 3 is a flow chart of a method according to an embodiment of the present disclosure



DEFINITIONS
Linkage: Forming a linkage between a channel A and a channel B is a way to specify dependence of A on B. Channel B is said to be a linked to channel A.
Steady: A channel is said to be steady over a period of time if its values vary less than a user defined amount in that period.
Stable: A channel is said to be stable at a point in time T if its linked channels have been steady for at least a user specified time prior to time T.
DETAILED DESCRIPTION OF THE INVENTION
The present invention provides systems, methods and apparatus for monitoring multiple channels of data from real time processes, and more particularly for detecting recent abnormal behavior using the monitored data. The invention detects recent abnormal behavior using data from multiple channels in a domain with these characteristics. Entities with real time processes can generate multiple channels data over time that represents various aspects of the behavior of the entity. Detecting abnormality in the recent behavior of the entity in a timely fashion without excessive false alarms is important in many domains. The present invention is a system that monitors multiple channels of real time data to detect recent abnormal behavior.
In some domains, the partial domain knowledge may be available on the relationships between various sensor values. It is important to be able to perform monitoring even in this scenario in a robust fashion detecting recent abnormal behavior in a timely fashion without too many false alarms. Also, training data containing examples of abnormal behavior may not exist. Therefore a need exists for a system to detect recent abnormal behavior using data from multiple channels in a domain with these characteristics.
The present invention provides methods and apparatus to generate alerts indicating abnormal behavior by monitoring multiple channels of raw data from a monitored entity. In an example embodiment alerts are generated by processing raw channel data to form time dependent signals based on user customization in the form of processing rules. The time dependent signals from a set of channels are used to compute deviations in behavior by considering varying time intervals and comparing the signals with historically normal baseline signals. The computed deviations are used to produce alerts indicating abnormal behavior in one or more channels.
Referring to FIG. 1, a system is depicted for generating alerts detecting recent abnormal behavior in a monitored entity. The input data to the system is received by all interface module 120, and is indicated by multiple raw channels 101 of which two instances are shown. The interface module obtains raw channel data over a time duration for each monitored channel. The data from each raw channel, refereed to as raw channel data, consists of a numerical value V and a time t indicating when that value was observed. A raw channel can be associated with either control information or sensor information from the monitored entity. For example, a control channel C1 could represent the setting of a valve controlling fluid flow in a tube. The measurement of the pressure downstream of the control valve is an example of raw channel C2 containing sensor information. The data from the raw channels is input 110 to the channel processor 102. The channel processor 102 processes the data from the raw channels also called raw channel data to form time dependent signals. This processing is done using user specified rules that will be referred to as processing rules. The user is allowed to specify for each channel a set of linked channels indicating relationship in their values. The user defined rule for processing a raw channel data value into a signal is specified in terms of the data of the channel in question and the linked channels. For example, the signal for the control channel C2 introduced earlier indicates the control channel signal is considered to be steady when its values vary less than a user-specified amount over a defined past time interval.
The sensor channel C2 introduced earlier can be used to illustrate the use of linked channels in the channel processor. The user can specify that the channel C2 (downstream pressure) is linked to channel C1 (valve setting). The operating region of interest for the monitoring might be when the valve setting is steady. This can be handled in the channel processor by processing the data at a point in time from C2 into a signal that flags it as being stable when the linked channel C1 has been steady for a user defined minimum period of time. Another example of the use of the linked channel in the channel processor is to have the signal produced contain the deviation between the actual channel value and the expected value, where the expected value is expressed in terms of the values of the channel in question and the linked channels. As an illustration, the expected value of a channel C3 could be based on a linear relationship to the most recent value on channel C4. The signal generated by the channel processor could contain the deviation by first computing the expected value using the linear relationship inferred from the recent set of values on C3 and C4. The flexibility of the channel processor in our invention can be used to handle key aspects of the domain knowledge especially when that knowledge only covers certain regions of operation. This implies that complete knowledge of the relationships is not required for robust monitoring of the entity. It also allows incremental evolution of the system as more channels of data become available or gaps in domain knowledge are filled.
Referring to FIG. 1, the time dependent signals generated by the channel processor are input 111 to the multi-channel deviation detector module 103. The deviation detector module produces alerts based on the deviation in the behavior of one or more channels. This is done by considering the behavior represented in the time dependent signals in varying time intervals on each channel and comparing them with historically normal baseline signals. This allows for different reaction times and effect times in different channels due to the same phenomenon that is causing the abnormal behavior. A key component in the alert is a numeric level also called a numeric alert level that quantifies the deviation over all the considered channels and represents the degree of abnormality. The initial baseline is provided by the user in the form of an initial data set for each channel that is designated as normal. The deviation detection module can update the baseline over time. One method of updating the baseline is to add to it stable channel values that did not result in alert level above some user specified threshold. In addition, whenever a new value is added to the baseline the oldest value can be removed from it.
One approach to computing the alert level is by using an additive model in which the quantified deviations of each monitored channel are summed up. For each channel considered, the quantified deviation at a point in time can be computed by considering various current intervals in time (i.e., intervals in time ending at the current point in time) and taking the maximum deviation over all these intervals. The approach to consider various time intervals has been used in scan statistics as described in the book Scan Statistics and Applications, by J. Glaz and N. Balakrishnan, Birkhauser, 1999. The deviation can be quantified for a specific current time interval in a channel by the log likelihood ratio of (a) the alternate hypothesis that the recent set of signal values has a distribution different from the previous values in the baseline and (b) the null hypothesis that all the signal values come from one distribution. The log likelihood ratio can be computed using the Gaussian distribution for the signal values. Other models can also be applied. Therefore in an additive model the numeric alert level is computed by summing up deviations over monitored channels. The deviations for each monitored channel are computed using the value distributions for the signals processed presently and the signals processed previously. Specifically, the deviation for a monitored channel is a log likelihood ratio of a first hypothesis that signals processed presently have a different value distribution from signals processed previously over a second hypothesis that all signals have a same value distribution.
The intervals of time used in this quantification are illustrated in FIG. 2. Let Va, Vb, and Vc represent the signal values in intervals A, B and C. The interval C contains the baseline B and the recent interval A. Let the mean and standard deviations of the values in the various intervals be Ma and Sa for interval A, Mb and Sb for interval B and Mc and Sc for interval C. The log likelihood ratio for the choice A for the recent interval is computed using the Gaussian model as LLR(A,B,C)=Log-likelihood(Va, Ma, Sc)+Log-likelihood (Vb, Mb, Sc)-Log-likelihood(Vc, Mc, Sc)
Where log-likelihood(V, M, S) is given by—vi .di-electcons. V .times. log .function.(S)+log .function. (2.times. .pi.)/2+(vi−M)22.times. S 2
The quantified deviation for a channel can be calibrated in various ways. One method used in the scan statistic formulation is to compute the likelihood of getting the computed deviation by chance even under the probability distribution model that would fit the entire time interval C. This is done by performing Monte Carlo experiments with random synthetic data generated using the probability distribution model for interval C (e.g., Gaussian distribution with mean Mc and standard deviation Sc). The maximum LLR for each of these experiments is computed and compared with the LLR for the real data to determine the p-value. For example, if the LLR for the actual data is ranked 8 amongst 999 random datasets then the corresponding p-value=0.008. Another method is to perform Monte Carlo experiments with random permutations of the data in interval C.
The alert level generated by the deviation detector module call be generated by combining the quantified deviations from the channels in other ways. For example, the alert level can be computed as the sum of the quantified deviations of only those channels whose p-value is below some user specified threshold of significance. The alert level can also be computed as the negation of the sum of the logs of the p-values for the individual channels.
The numeric alert level can also be computed using a multiplicative model taking a product of deviations over monitored channels, wherein signals processed presently and signals processed previously each have a value distribution, and wherein the deviation for each monitored channel is a likelihood of obtaining the value distribution of the signals processed presently under a hypothesis of a single value distribution. Further, the likelihood in the numeric alert level computation can be computed by performing Monte Carlo experiments by permuting in each experiment an order of data in the baseline.
The alerts generated by the deviation detector module 103 are inputted 112 and filtered by the report module 104 also using the signals from the channel processors to form reportable alerts that are a subset of the alerts and are presented to the user 105. This is done in part by determining an abstraction of the current state of the monitored entity also called an abstract state using signals inputted 113 from the channel processor 102. For example, the abstracted state of the entity with the earlier mentioned control channel C1 might simply be the time from which the channel has been designated as steady. This abstracted state information can be used by the report module to classify alerts as “new” or “repeat”. This can be done as follows. Alerts generated when the abstracted state is the same are grouped together. In our example, the grouped alerts would all have the same time from which channel C1 has been steady. The earliest alert in each of these groups is categorized as “new” and the rest are categorized as “repeat”. Therefore, in an embodiment the report module also determines an abstract state of the monitored entity at points in time and categorizes alerts as new if the abstract state has changed since a last alert, and categorizes alerts as repeat if the abstract state has not changed since a last alert. The report module has a rule-based reporting system. For example, a filtering rule for presenting alerts might be that the numeric alert level of a most recent alert be higher than that of a just previously reported alert by some user specified threshold. Another example filtering rule for alerts might be that an alert is presented to the user if the time difference between a most recent alert and a just previously reported alert exceeds some user specified threshold. Another example filtering rule is that all alerts (new and/or repeat) are presented to the user only if the alert level exceeds some user specified threshold. These rules can be combined to flexibly determine which alerts are presented to the user.
Referring to FIG. 3, a method according to an embodiment of the present disclosure receives customization from the user in the form of channels to be monitored, rules for reporting alerts to the user and for each channel (i) initial data which is specified as normal (ii) a set of other channels that are designated as linked channels and (iii) rules for processing the raw data 301. The monitoring is done continuously by performing the sequence of tasks 302-305 until it is stopped 306. Each iteration starts with getting currently available raw data from one or more of the user specified channels as input 302. The new raw data that was input is processed into signals based on the user specified rules involving it and the linked channels 303. Alerts are then produced based on the deviation in the recent behavior of one or more channels considering varying time intervals on each channel and comparing them with historically normal baselines 304. The baselines representing normal behavior are also updated 304. The alerts produced are filtered based on user specified rules for reporting to the user 305.
In another example embodiment, the present invention provides a monitoring method for generating alerts indicating abnormal behavior using multiple channels of current raw real time data from a monitored entity by the following steps. The step of customizing is used to customize monitored channels to be monitored, rules for reporting alerts, initial data of each monitored channel that is specified as normal, any linked channels designated for each monitored channel, and processing rules for processing raw channel data. The step of receiving takes as input currently available raw data from at least one monitored channel. The step of processing uses the currently available raw data from each monitored channel and processes them into signals based on processing rules. The step of producing produces potential alerts, each potential alert having an alert level based on a deviation in recent behavior of at least one channel by considering varying time intervals on each monitored channel and comparing said signals within said varying time intervals with historically normal baselines. The step of filtering fillers out reportable alerts from the potential alerts based on specified filtering rules. Lastly, the step of reporting presents the reportable alerts to the user. Further, this method can be applied repeatedly by replacing the current raw data with each next set of raw data received from the entity, and by repeating the steps of receiving, processing, producing, filtering, and reporting for each next set of raw data.
The present invention can be realized in hardware, software, or a combination of hardware and software. A visualization tool according to the present invention can be realized in a centralized fashion in one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system—or other apparatus adapted for carrying out the methods and/or functions described herein—is suitable. A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. The present invention can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which—when loaded in a computer system—is able to carry out these methods.
Computer program means or computer program in the present context include any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after conversion to another language, code or notation, and/or after reproduction in a different material form.
Thus the invention includes an article of manufacture which comprises a computer usable medium having computer readable program code means embodied therein for causing a function described above. The computer readable program code means in the article of manufacture comprises computer readable program code means for causing a computer to effect the steps of a method of this invention. Similarly, the present invention may be implemented as a computer program product comprising a computer usable medium having computer readable program code means embodied therein for causing a function described above. The computer readable program code means in the computer program product comprising computer readable program code means for causing a computer to effect one or more functions of this invention. Furthermore, the present invention may be implemented as a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform method steps for causing one or more functions of this invention.
It is noted that the foregoing has outlined some of the more pertinent objects and embodiments of the present invention. This invention may be used for many applications. Thus, although the description is made for particular arrangements and methods, the intent and concept of the invention is suitable and applicable to other arrangements and applications. It will be clear to those skilled in the art that modifications to the disclosed embodiments can be effected without departing from the spirit and scope of the invention. The described embodiments ought to be construed to be merely illustrative of some of the more prominent features and applications of the invention. Other beneficial results can be realized by applying the disclosed invention in a different manner or modifying the invention in ways known to those familiar with the art.

## Claims

1. A method for generating at least one alert for a system process, said method comprising:
obtaining raw channel data over a time duration of information of at least one monitored channel of said system process;
processing said raw channel data to form time dependent signals based on at least one user specified processing rule; and
producing said at least one alert based on a deviation in behavior in at least one channel of said at least one channel, said deviation being based upon said time dependent signals for varying time intervals and comparing the signals with historically normal baseline signals.

2. A computer program product that includes a computer readable medium useable by a processor, the medium having stored thereon a sequence of instructions which, when executed by the processor, causes the processor generate at least one alert for a system process, wherein the computer program product executes the steps of:
obtaining raw channel data over a time duration of information of at least one monitored channel of said system process;
processing said raw channel data in a channel processor to form time dependent signals based on at least one user specified processing rule; and
producing said at least one alert based on a deviation in behavior in at least one channel of said at least one channel, said deviation being based upon said time dependent signals for varying time intervals and comparing the signals with historically normal baseline signals.

3. A computer program product that includes a computer readable medium useable by a processor, the medium having stored thereon a sequence of instructions which, when executed by the processor, causes the processor generate alerts, said alerts indicating abnormal behavior, said system monitoring multiple channels of raw real time data from a monitored entity, wherein the computer program product executes the steps of:
processing raw data in a channel processor from each channel into signals based on user specified rules involving characteristics of said each channel, and user specified rules involving any other channels specified by the user as being linked to the said each channel; and
obtaining signals in a multi-channel deviation detector module from the channel processor and producing alerts, said alerts having a level based on a deviation in recent behavior of at least one channel, said multi-channel deviation detector module considering varying time intervals on said each channel, and comparing said signals within said time intervals with a historically normal baseline using initial normal data for each said channel.