HK1247692B - Index abnormality detection method and device and electronic equipment - Google Patents
Index abnormality detection method and device and electronic equipment Download PDFInfo
- Publication number
- HK1247692B HK1247692B HK18107145.9A HK18107145A HK1247692B HK 1247692 B HK1247692 B HK 1247692B HK 18107145 A HK18107145 A HK 18107145A HK 1247692 B HK1247692 B HK 1247692B
- Authority
- HK
- Hong Kong
- Prior art keywords
- data
- window
- joint probability
- probability
- monitoring point
- Prior art date
Links
Description
技术领域Technical Field
本说明书涉及计算机软件技术领域,尤其涉及一种指标异常检测方法、装置以及电子设备。This specification relates to the field of computer software technology, and in particular to an indicator anomaly detection method, device, and electronic device.
背景技术Background Art
随着计算机和互联网技术的迅速发展,很多业务都可以在网上进行,这给用户带来了便利,也对相应的各种业务系统的可靠性提出了较高的要求。With the rapid development of computer and Internet technologies, many businesses can be conducted online, which brings convenience to users but also places higher demands on the reliability of various corresponding business systems.
一般地,可以对业务系统中的一些比较重要的指标进行监控。以第三方支付系统为例,被监控指标比如可以是:每分钟触发的支付账户盗用事件数量、每分钟的支付请求时延等。进而,可以基于监控数据,对被监控指标进行异常检测,若检测出异常,则可以由运营人员或者研发人员及时处理,以保证业务系统的可靠性。Generally, it's possible to monitor some key metrics within a business system. For example, in a third-party payment system, these metrics might include the number of payment account theft events triggered per minute and the payment request latency per minute. Furthermore, based on this monitoring data, these metrics can be detected for anomalies. If anomalies are detected, operations or R&D personnel can promptly address them to ensure the reliability of the business system.
在现有技术中,通常针对单个监控点,使用被监控指标的历史均值和方差,以及抖动来检测异常。In the existing technology, anomalies are usually detected for a single monitoring point using the historical mean, variance, and jitter of the monitored indicator.
基于现有技术,需要更准确的指标异常检测方案。Based on existing technologies, a more accurate indicator anomaly detection solution is needed.
发明内容Summary of the Invention
本说明书实施例提供一种指标异常检测方法、装置以及电子设备,用以解决如下技术问题:需要更准确的指标异常检测方案。The embodiments of this specification provide an indicator anomaly detection method, device, and electronic device to solve the following technical problem: a more accurate indicator anomaly detection solution is needed.
为解决上述技术问题,本说明书实施例是这样实现的:To solve the above technical problems, the embodiments of this specification are implemented as follows:
本说明书实施例提供的一种指标异常检测方法,包括:The embodiments of this specification provide a method for detecting anomalies in indicators, including:
获取被监控指标在一段时间包含的各监控点的数据;Obtain data on each monitoring point of the monitored indicator over a period of time;
使用高斯模型提取所述监控点的数据的均值和方差;Using a Gaussian model to extract the mean and variance of the data of the monitoring point;
根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;Calculating the probability of occurrence of the data at each monitoring point based on the mean and variance of the data at the monitoring point;
根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;Calculating, based on the respectively calculated probabilities, a joint probability of occurrence of data of each of the monitoring points included in a window divided by the time period;
根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。Whether the monitored indicator is abnormal is detected according to the joint probability corresponding to each of the windows.
本说明书实施例提供的一种指标异常检测装置,包括:An embodiment of this specification provides an indicator anomaly detection device, comprising:
获取模块,获取被监控指标在一段时间包含的各监控点的数据;The acquisition module obtains the data of each monitoring point included in the monitored indicator within a period of time;
提取模块,使用高斯模型提取所述监控点的数据的均值和方差;An extraction module, which uses a Gaussian model to extract the mean and variance of the data of the monitoring point;
第一计算模块,根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;A first calculation module calculates the probability of occurrence of the data of each monitoring point according to the mean and variance of the data of the monitoring point;
第二计算模块,根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;A second calculation module calculates, based on the respectively calculated probabilities, a joint probability of occurrence of data of each of the monitoring points included in the window divided by the time period;
检测模块,根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。The detection module detects whether the monitored indicator is abnormal according to the joint probability corresponding to each of the windows.
本说明书实施例提供的一种电子设备,包括:An electronic device provided in an embodiment of this specification includes:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
获取被监控指标在一段时间包含的各监控点的数据;Obtain data on each monitoring point of the monitored indicator over a period of time;
使用高斯模型提取所述监控点的数据的均值和方差;Using a Gaussian model to extract the mean and variance of the data of the monitoring point;
根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;Calculating the probability of occurrence of the data at each monitoring point based on the mean and variance of the data at the monitoring point;
根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;Calculating, based on the respectively calculated probabilities, a joint probability of occurrence of data of each of the monitoring points included in a window divided by the time period;
根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。Whether the monitored indicator is abnormal is detected according to the joint probability corresponding to each of the windows.
本说明书实施例采用的上述至少一个技术方案能够达到以下有益效果:由于基于高斯模型和包含指标的多个监控点的窗口,对该指标进行异常检测,因此,有利于防止单个监控点的抖动误导异常检测,进而有利于更准确地进行指标异常检测。At least one of the above-mentioned technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: since anomaly detection is performed on the indicator based on a Gaussian model and a window of multiple monitoring points containing the indicator, it is beneficial to prevent the jitter of a single monitoring point from misleading anomaly detection, and thus facilitate more accurate indicator anomaly detection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
图1为本说明书的方案在一种实际应用场景下涉及的一种整体架构示意图;FIG1 is a schematic diagram of an overall architecture of the solution of this specification in a practical application scenario;
图2为本说明书实施例提供的一种指标异常检测方法的流程示意图;FIG2 is a flow chart of an indicator anomaly detection method provided in an embodiment of this specification;
图3为本说明书实施例提供的一种实际应用场景下,上述指标异常检测方法的一种具体实施方案的原理示意图;FIG3 is a schematic diagram showing a specific implementation scheme of the above-mentioned indicator anomaly detection method in an actual application scenario provided in an embodiment of this specification;
图4本说明书实施例提供的一种实际应用场景下,上述指标异常检测方法的一种具体实施方案的流程示意图;FIG4 is a flowchart of a specific implementation scheme of the above-mentioned indicator anomaly detection method in an actual application scenario provided in the examples of this specification;
图5为本说明书实施例提供的对应于图1的一种指标异常检测装置的结构示意图。FIG5 is a schematic structural diagram of an indicator abnormality detection device corresponding to FIG1 provided in an embodiment of this specification.
具体实施方式DETAILED DESCRIPTION
本说明书实施例提供一种指标异常检测方法、装置以及电子设备。The embodiments of this specification provide a method, device, and electronic device for detecting anomalies in indicators.
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本说明书实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to help those skilled in the art better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
图1为本说明书的方案在一种实际应用场景下涉及的整体架构示意图。在整体架构(a)中,主要涉及两部分:监控数据所在设备、高斯模型所在设备。监控数据所在设备通过网络,将被监控指标的监控数据发送给高斯模型所在设备,高斯模型所在设备可以基于窗口和高斯模型对监控数据进行处理,进而可以根据处理结果进行指标异常检测。需要说明的是,在实际应用中,监控数据和高斯模型可能处于同一设备上,在这种情况下,可以采用整体架构(b)。Figure 1 is a schematic diagram of the overall architecture involved in the solution of this specification in an actual application scenario. In the overall architecture (a), there are mainly two parts: the device where the monitoring data is located and the device where the Gaussian model is located. The device where the monitoring data is located sends the monitoring data of the monitored indicators to the device where the Gaussian model is located through the network. The device where the Gaussian model is located can process the monitoring data based on the window and the Gaussian model, and then perform indicator anomaly detection based on the processing results. It should be noted that in actual applications, the monitoring data and the Gaussian model may be on the same device. In this case, the overall architecture (b) can be adopted.
基于以上整体架构,下面对本说明书的方案进行详细说明。Based on the above overall architecture, the solution of this specification is described in detail below.
图2为本说明书实施例提供的一种指标异常检测方法的流程示意图,可以针对一个或多个被监控指标中的每个被监控指标分别执行该流程。该流程可能的执行主体包括但不限于可作为服务器或者终端的以下设备:手机、平板电脑、智能可穿戴设备、车机、个人计算机、中型计算机、计算机集群等。Figure 2 is a flow chart of a method for detecting anomalies in an indicator provided in an embodiment of this specification. This process can be executed separately for each of one or more monitored indicators. Possible execution entities of this process include, but are not limited to, the following devices that can function as servers or terminals: mobile phones, tablets, smart wearable devices, vehicle computers, personal computers, mid-range computers, computer clusters, etc.
图2中的流程可以包括以下步骤:The process in Figure 2 may include the following steps:
S202:获取被监控指标在一段时间包含的各监控点的数据。S202: Obtain data of each monitoring point included in the monitored indicator within a period of time.
在本说明书实施例中,一段时间可以包含多个监控点。In the embodiment of this specification, a period of time may include multiple monitoring points.
以被监控指标是每分钟触发的支付账户盗用事件数量为例。假定所述一段时间具体为最近的一天,且每个整点的第一分钟分别为一个监控点,则该一段时间可以包含24个监控点;假定所述一段时间具体为最近的一小时,每分钟分别为一个监控点,则该一段时间可以包含60个监控点。For example, if the monitored indicator is the number of payment account theft events triggered per minute, assuming the time period is the most recent day and the first minute of every hour is a monitoring point, then the time period can include 24 monitoring points. If the time period is the most recent hour and each minute is a monitoring point, then the time period can include 60 monitoring points.
另外,在实际应用中,监控点未必要均匀分布,比如,可能白天相对密集,半夜相对稀疏。In addition, in actual applications, monitoring points may not be evenly distributed. For example, they may be relatively dense during the day and relatively sparse at night.
在本说明书实施例中,被监控指标在监控点的数据可以指针对被监控指标的原始监控数据,也即,在监控点获取的被监控指标的取值,比如,假定支付账户盗用事件数量这个被监控指标在一段时间包含的其中三个监控点获取的取值分别为2件、8件、1件,则可以将2件、8件、1件作为对应的所述监控点的数据;被监控指标在监控点的数据也可以指对原始监控数据进行特定处理得到的数据,所述特定处理可以是为了更有效地实施本说明书的方案。In the embodiments of the present specification, the data of the monitored indicator at the monitoring point may refer to the original monitoring data of the monitored indicator, that is, the value of the monitored indicator obtained at the monitoring point. For example, assuming that the values of the monitored indicator of the number of payment account theft incidents in a period of time are 2, 8, and 1 respectively at three monitoring points, then 2, 8, and 1 may be used as the data of the corresponding monitoring points; the data of the monitored indicator at the monitoring point may also refer to the data obtained by performing specific processing on the original monitoring data, and the specific processing may be for more effectively implementing the solution of the present specification.
例如,所述特定处理可以是取对数处理,通过取对数处理,可以将原始监控数据转化到一个更小的变化中,有利于降低单个监控点抖动给指标异常检测带来的不利影响;比如,可以将上述的2件、8件、1件取对数后作为对应的所述监控点的数据。For example, the specific processing may be logarithmic processing, through which the original monitoring data can be converted into a smaller change, which is beneficial to reducing the adverse effects of jitter of a single monitoring point on indicator abnormality detection; for example, the logarithms of the above-mentioned 2 items, 8 items, and 1 item can be taken as the data of the corresponding monitoring points.
又例如,所述特定处理可以是均匀化处理,可以通过在原始监控数据中删除或增加一部分数据,以使处理得到的数据比处理前的原始监控数据更加均匀。For another example, the specific processing may be a homogenization processing, which may be performed by deleting or adding a portion of data from the original monitoring data so that the processed data is more homogenous than the original monitoring data before processing.
S204:使用高斯模型提取所述监控点的数据的均值和方差。S204: Using a Gaussian model to extract the mean and variance of the data of the monitoring point.
在本说明书实施例中,可以假定各监控点对应数据服从高斯分布,并基于这样的假定,使用高斯模型提取监控点的数据的均值和方差,具体可以高斯模型对监控点的数据进行估计,再根据估计后的高斯模型得到监控点的数据的均值和方差。所述高斯模型具体可以包括高斯混合模型。In the embodiments of this specification, it can be assumed that the data corresponding to each monitoring point follows a Gaussian distribution. Based on this assumption, a Gaussian model is used to extract the mean and variance of the data at the monitoring point. Specifically, the Gaussian model can be used to estimate the data at the monitoring point, and then the mean and variance of the data at the monitoring point are obtained based on the estimated Gaussian model. The Gaussian model can specifically include a Gaussian mixture model.
S206:根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率。S206: Calculate the probability of occurrence of the data at each monitoring point according to the mean and variance of the data at the monitoring point.
在本说明书实施例中,利用监控点的数据的均值和方差,以及提取监控点的数据的均值和方差所使用的高斯模型,可以分别计算各监控点对应数据出现的概率。In the embodiment of this specification, the probability of occurrence of data corresponding to each monitoring point can be calculated respectively using the mean and variance of the data of the monitoring points and the Gaussian model used to extract the mean and variance of the data of the monitoring points.
S208:根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率。S208: Calculate, based on the respectively calculated probabilities, the joint probability of occurrence of the data of each of the monitoring points included in the window divided by the time period.
在本说明书实施例中,可以不针对单个监控点进行指标异常检测,而是可以针对包含多个监控点的窗口进行指标异常检测。具体地,可以针对步骤S202中的一段时间划分出多个窗口,对于划分出的窗口,将该窗口包含的各监控点视为一个整体,进而以所述整体为单位,检测被监控指标是否异常。In the embodiments of this specification, instead of performing indicator anomaly detection on a single monitoring point, indicator anomaly detection can be performed on a window containing multiple monitoring points. Specifically, the period of time in step S202 can be divided into multiple windows. For each divided window, the monitoring points contained in the window are treated as a whole, and the monitored indicator is then detected for anomalies based on the whole.
在本说明书实施例中,基于已分别计算出的各监控点对应数据出现的概率,可以进一步地计算划分出的窗口内的各监控点对应数据出现的联合概率,该联合概率可以反映其对应的窗口内被监控指标相对于其他窗口的水平。In an embodiment of the present specification, based on the probability of occurrence of data corresponding to each monitoring point that has been calculated separately, the joint probability of occurrence of data corresponding to each monitoring point in the divided window can be further calculated. The joint probability can reflect the level of the monitored indicator in the corresponding window relative to other windows.
S210:根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。S210: Detecting whether the monitored indicator is abnormal based on the joint probability corresponding to each of the windows.
在本发明实施例中,根据各所述窗口对应的联合概率,可以进一步地计算各窗口对应的联合概率出现的概率,以作为被监控指标的异常检测依据。In the embodiment of the present invention, based on the joint probability corresponding to each window, the probability of occurrence of the joint probability corresponding to each window can be further calculated to serve as a basis for abnormality detection of the monitored indicator.
通过图2的方法,由于基于高斯模型和包含指标的多个监控点的窗口,对该指标进行异常检测,因此,有利于防止单个监控点的抖动误导异常检测,进而有利于更准确地进行指标异常检测。According to the method of FIG2 , since anomaly detection is performed on the indicator based on a Gaussian model and a window of multiple monitoring points containing the indicator, it is helpful to prevent the jitter of a single monitoring point from misleading anomaly detection, thereby facilitating more accurate indicator anomaly detection.
基于图2的方法,本说明书实施例还提供了该方法的一些具体实施方案,以及扩展方案,下面进行说明。Based on the method of FIG2 , the examples of this specification also provide some specific implementation plans and extension plans of the method, which are described below.
在本说明书实施例中,假定预先对原始监控数据进行了取对数处理后,得到被监控指标在相应的监控点的数据,则对于步骤S202,所述获取被监控指标一段时间内的监控数据前,可以执行:获取所述被监控指标在一段时间包含的各监控点的原始监控数据;对所述原始监控数据进行取对数处理后,作为所述被监控指标在所述一段时间包含的各监控点的数据,以用于所述指标异常检测。In the embodiment of the present specification, it is assumed that the original monitoring data is logarithmically processed in advance to obtain the data of the monitored indicator at the corresponding monitoring point. Then, for step S202, before obtaining the monitoring data of the monitored indicator within a period of time, the following can be performed: obtaining the original monitoring data of each monitoring point included in the monitored indicator within a period of time; performing logarithm processing on the original monitoring data, and using it as the data of each monitoring point included in the monitored indicator within the period of time, for the indicator anomaly detection.
在本说明书实施例中,可以先划分好各窗口,再分别计算对应的联合概率,也可以一边划分窗口,一边计算当前划分出的窗口对应的联合概率。In the embodiments of this specification, each window may be divided first and then the corresponding joint probabilities may be calculated respectively. Alternatively, the windows may be divided while the joint probabilities corresponding to the currently divided windows are calculated.
以上一段中的前一种方式为例,对于步骤S208,所述根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率,具体可以包括:确定由所述一段时间划分出的多个不同的窗口;分别针对每个窗口,根据所述分别计算的概率中对应于该窗口包含的各所述监控点的数据的概率,计算该窗口包含的各所述监控点的数据出现的联合概率。Taking the first method in the above paragraph as an example, for step S208, the joint probability of occurrence of the data of each monitoring point contained in the window divided by the period of time is calculated based on the respectively calculated probabilities, which can specifically include: determining multiple different windows divided by the period of time; for each window, respectively, according to the probability of the data of each monitoring point contained in the window in the respectively calculated probabilities, calculating the joint probability of occurrence of the data of each monitoring point contained in the window.
其中,所述多个不同的窗口优选地可以完整覆盖所述一段时间。The multiple different windows may preferably completely cover the period of time.
在本说明书实施例中,窗口划分的具体方式可以有多种。比如,可以按照设定的时间间隔划分窗口,也可以按照业务特性(比如,账户等级、地域等)划分窗口。In the embodiments of this specification, there are many specific ways to divide windows. For example, windows can be divided according to set time intervals, or according to business characteristics (such as account level, region, etc.).
以按照设定的时间间隔划分窗口为例。由所述一段时间划分出多个不同的窗口比如可以包括:根据设定的时间间隔和窗口长度,由所述一段时间划分出多个不同的窗口,其中,相邻窗口的起始时刻相差所述时间间隔。Taking dividing the windows according to a set time interval as an example, dividing the time interval into multiple different windows may include dividing the time interval into multiple different windows according to a set time interval and window length, wherein the start times of adjacent windows differ by the time interval.
更具体地,例如,假定所述一段时间为1000分钟,设定的时间间隔为5分钟,窗口长度为10分钟。则将第1~10分钟划分为一个窗口,将第5~15分钟划分为一个窗口,将第10~20分钟划分为一个窗口,将第15~25分钟划分为一个窗口,等等,以此类推,可以划分出199个窗口。在该例中,相邻的窗口有重叠,在实际应用中,这并不是必须的,而且,时间间隔和窗口长度也可以不固定。More specifically, for example, assuming the time period is 1000 minutes, the time interval is set to 5 minutes, and the window length is 10 minutes, then the first 10 minutes are divided into a window, the fifth 15th minute into a window, the tenth 20th minute into a window, the fifteenth 25th minute into a window, and so on, resulting in 199 windows. In this example, adjacent windows overlap, but in practice, this is not necessary. Furthermore, the time interval and window length can also be flexible.
在本说明书实施例中,对于步骤S210,所述根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常,具体可以包括:对所述各所述窗口对应的所述联合概率使用高斯模型提取所述联合概率的均值和方差;根据所述联合概率的均值和方差,分别计算各所述窗口对应的所述联合概率出现的概率;根据所述窗口对应的所述联合概率出现的概率,检测所述被监控指标是否异常。In an embodiment of the present specification, for step S210, detecting whether the monitored indicator is abnormal based on the joint probability corresponding to each of the windows may specifically include: extracting the mean and variance of the joint probability corresponding to each of the windows using a Gaussian model; calculating the probability of occurrence of the joint probability corresponding to each of the windows based on the mean and variance of the joint probability; and detecting whether the monitored indicator is abnormal based on the probability of occurrence of the joint probability corresponding to the window.
可以看到,这里可以又一次使用高斯模型,两次使用主要的不同之处在于:这里使用的高斯模型是针对窗口的,而步骤S204中使用的高斯模型是针对监控点的。It can be seen that the Gaussian model can be used again here. The main difference between the two uses is that the Gaussian model used here is for the window, while the Gaussian model used in step S204 is for the monitoring point.
在本说明书实施例中,根据联合概率出现的概率的高低程度,可以检测被监控指标在该联合概率对应的窗口内是否异常。In the embodiment of the present specification, based on the probability of occurrence of the joint probability, it can be detected whether the monitored indicator is abnormal within the window corresponding to the joint probability.
例如,所述根据所述窗口对应的所述联合概率出现的概率,检测所述被监控指标是否异常,具体可以包括:根据所述联合概率的均值和方差,以及所述根据所述窗口对应的所述联合概率出现的概率,利用3σ准则检测所述被监控指标在所述窗口内是否异常。For example, detecting whether the monitored indicator is abnormal based on the probability of occurrence of the joint probability corresponding to the window may specifically include: detecting whether the monitored indicator is abnormal within the window using the 3σ criterion based on the mean and variance of the joint probability and the probability of occurrence of the joint probability corresponding to the window.
更具体地,根据3σ准则,若联合概率出现的概率偏离上面计算出的联合概率的均值上下3个标准差(该标准差为上面计算出的联合概率的方差的算数平方根),则可以认为对应的被监控指标在对应窗口内存在异常。More specifically, according to the 3σ criterion, if the probability of the joint probability deviating from the mean of the joint probability calculated above by 3 standard deviations above and below (the standard deviation is the arithmetic square root of the variance of the joint probability calculated above), then it can be considered that the corresponding monitored indicator is abnormal within the corresponding window.
需要说明的是,在实际应用中,也可以人为设定联合概率的阈值和/或联合概率出现的概率的阈值,用以检测异常的窗口,而未必要利用3σ准则。It should be noted that, in practical applications, the threshold of the joint probability and/or the threshold of the probability of occurrence of the joint probability may be set manually to detect abnormal windows, without necessarily using the 3σ criterion.
在检测出异常的窗口后,还可以采取特定措施,进一步地分析该窗口中的主要由哪些监控点导致该异常,如此,有利于后续更精准和有效地解决相关的业务系统问题。After detecting an abnormal window, specific measures can be taken to further analyze which monitoring points in the window mainly cause the abnormality. This will help to solve related business system problems more accurately and effectively in the future.
基于上面的说明,本说明书实施例还提供了一种实际应用场景下,上述指标异常检测方法的一种具体实施方案,结合图3、图4进行说明。Based on the above description, the embodiment of this specification further provides a specific implementation plan of the above-mentioned indicator anomaly detection method in an actual application scenario, which is described in conjunction with Figures 3 and 4.
图3为该具体实施方案的原理示意图。图4为对照图3的该具体实施方案的流程示意图。Figure 3 is a schematic diagram of the principle of this embodiment. Figure 4 is a schematic diagram of the process of this embodiment compared with Figure 3.
图3中的方框表示当前窗口,方框中的圆圈表示监控点,对照图3,图4中的流程可以包括以下步骤:The box in FIG3 represents the current window, and the circle in the box represents the monitoring point. Referring to FIG3 , the process in FIG4 may include the following steps:
S402:获取某被监控指标的原始监控数据,并进行取对数处理,得到监控数据;S402: Obtaining original monitoring data of a monitored indicator and performing logarithmic processing to obtain monitoring data;
S404:对监控数据使用高斯模型提取各监控点的数据的均值μ1和方差Δ1;S404: Using the Gaussian model to extract the mean μ 1 and variance Δ 1 of the data at each monitoring point;
S406:根据μ1和Δ1,分别计算各监控点的数据出现的概率;S406: Calculate the probability of occurrence of data at each monitoring point based on μ 1 and Δ 1 ;
S408:根据分别计算的各监控点的数据出现的概率,计算窗口包含的各监控点的数据出现的联合概率;S408: Calculate the joint probability of occurrence of data of each monitoring point included in the window based on the respectively calculated probability of occurrence of data of each monitoring point;
S410:计算联合概率的均值μ2和方差Δ2;S410: Calculate the mean μ 2 and variance Δ 2 of the joint probability;
S412:根据μ2和Δ2,计算窗口对应的联合概率出现的概率;S412: Calculate the probability of occurrence of the joint probability corresponding to the window based on μ 2 and Δ 2 ;
S414:利用3σ准则计算窗口对应的联合概率出现的概率是否偏离μ2上下三个若是,则检测出该被监控指标在该窗口内存在异常。S414: Use the 3σ criterion to calculate whether the probability of occurrence of the joint probability corresponding to the window deviates from μ 2 above and below. If so, it is detected that the monitored indicator is abnormal in the window.
为了便于理解,可以用以下公式计算当前窗口对应的联合概率出现的概率p(X):For ease of understanding, the following formula can be used to calculate the probability p(X) of the joint probability corresponding to the current window:
其中,σ1表示Δ1的算数平方根,σ2表示Δ2的算数平方根,k表示当前窗口包含的监控点数量,p(xi|μ1,σ1)表示当前窗口包含的第i个监控点的数据出现的概率,表示当前窗口包含的k个监控点的数据出现的联合概率。Wherein, σ 1 represents the arithmetic square root of Δ 1 , σ 2 represents the arithmetic square root of Δ 2 , k represents the number of monitoring points contained in the current window, p( xi | μ1 , σ1 ) represents the probability of occurrence of the data of the i-th monitoring point contained in the current window, and represents the joint probability of occurrence of the data of the k monitoring points contained in the current window.
若p(X)偏离μ2上下三个σ2,则可以认为该被监控指标在当前窗口内存在异常。If p(X) deviates from μ 2 by three σ 2 above and below, it can be considered that the monitored indicator is abnormal in the current window.
仍以被监控指标是每分钟触发的支付账户盗用事件数量为例。将一段时间内的每6分钟划分为一个窗口,每个窗口里包含6个监控点,正如图3所示。For example, if the monitored metric is the number of payment account theft events triggered per minute, each 6-minute window is divided into a window, and each window contains 6 monitoring points, as shown in Figure 3.
假定当前窗口的对应于各监控点的原始监控数据分别为:2件、8件、1件、20件、1件、1件;对当前窗口的原始监控数据进行取对数(假定采用自然对数)处理,得到被监控指标在当前窗口包含的各监控点的数据,分别为:In2、In8、0、In20、0、0。Assume that the original monitoring data corresponding to each monitoring point in the current window are: 2 items, 8 items, 1 item, 20 items, 1 item, and 1 item respectively; take the logarithm (assuming natural logarithm is used) of the original monitoring data of the current window to obtain the data of each monitoring point included in the monitored indicator in the current window, which are: In2, In8, 0, In20, 0, 0 respectively.
类似地,可以通过取对数处理,得到被监控指标在该段时间包含的各监控点的数据;进而,可以使用高斯模型提取监控点的数据的均值和方差,以及利用上述的公式一计算当前窗口对应的联合概率出现的概率,并利用3σ准则检测被监控指标在当前窗口是否存在异常。按照这种方案可以分别检查出被监控指标在由该段时间划分出的任一窗口是否存在异常。Similarly, by taking logarithmic data, we can obtain the data for each monitoring point within the time period of the monitored indicator. Furthermore, we can use a Gaussian model to extract the mean and variance of the monitoring point data, calculate the probability of occurrence of the joint probability corresponding to the current window using Formula 1 above, and use the 3σ criterion to detect whether the monitored indicator has an anomaly in the current window. This approach allows us to check whether the monitored indicator has an anomaly in any window divided by the time period.
通过基于窗口和高斯模型的指标异常检测方案,有利于减少误报,提高检测结果的准确性。The indicator anomaly detection scheme based on window and Gaussian model is helpful to reduce false positives and improve the accuracy of detection results.
基于同样的思路,本说明书实施例还提供了对应的装置,如图5所示。Based on the same idea, the embodiments of this specification also provide a corresponding device, as shown in FIG5 .
图5为本说明书实施例提供的对应于图2的一种指标异常检测装置的结构示意图,虚线方框表示可选的模块,该装置可以位于图2中流程的执行主体上,包括:FIG5 is a schematic diagram of the structure of an indicator anomaly detection device corresponding to FIG2 provided in an embodiment of this specification. The dashed boxes represent optional modules. The device can be located on the execution body of the process in FIG2 and includes:
获取模块501,获取被监控指标在一段时间包含的各监控点的数据,所述一段时间内包含多个监控点;An acquisition module 501 acquires data of each monitoring point of a monitored indicator within a period of time, wherein the period of time includes multiple monitoring points;
提取模块502,使用高斯模型提取所述监控点的数据的均值和方差;Extraction module 502, extracting the mean and variance of the data of the monitoring point using a Gaussian model;
第一计算模块503,根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;A first calculation module 503 calculates the probability of occurrence of the data of each monitoring point according to the mean and variance of the data of the monitoring point;
第二计算模块504,根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;A second calculation module 504 calculates a joint probability of occurrence of data of each of the monitoring points included in the window divided by the time period based on the respectively calculated probabilities;
检测模块505,根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。The detection module 505 detects whether the monitored indicator is abnormal according to the joint probability corresponding to each of the windows.
可选地,所述装置还包括:Optionally, the device further comprises:
取对数模块506,在所述获取模块501获取被监控指标在一段时间包含的各监控点的数据前,获取所述被监控指标在一段时间包含的各监控点的原始监控数据,对所述原始监控数据进行取对数处理后,作为所述被监控指标在所述一段时间包含的各监控点的数据,以用于所述指标异常检测。The logarithm module 506 obtains the original monitoring data of each monitoring point included in a period of time before the acquisition module 501 obtains the data of each monitoring point included in the monitored indicator in a period of time, and after performing logarithm processing on the original monitoring data, uses it as the data of each monitoring point included in the monitored indicator in the period of time for the indicator anomaly detection.
可选地,所述第二计算模块504根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率,具体包括:Optionally, the second calculation module 504 calculates the joint probability of occurrence of the data of each monitoring point included in the window divided by the time period according to the respectively calculated probabilities, specifically including:
所述第二计算模块504确定由所述一段时间划分出的多个不同的窗口;The second calculation module 504 determines a plurality of different windows divided by the period of time;
分别针对每个窗口,根据所述分别计算的概率中对应于该窗口包含的各所述监控点的数据的概率,计算该窗口包含的各所述监控点的数据出现的联合概率。For each window, the joint probability of occurrence of the data of each monitoring point included in the window is calculated according to the probabilities of the data corresponding to each monitoring point included in the window in the respectively calculated probabilities.
可选地,由所述一段时间划分出多个不同的窗口包括:Optionally, dividing the period of time into a plurality of different windows includes:
根据设定的时间间隔和窗口长度,由所述一段时间划分出多个不同的窗口,其中,相邻窗口的起始时刻相差所述时间间隔。According to the set time interval and window length, the period of time is divided into a plurality of different windows, wherein the start times of adjacent windows differ by the time interval.
可选地,所述检测模块505根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常,具体包括:Optionally, the detection module 505 detects whether the monitored indicator is abnormal based on the joint probability corresponding to each window, specifically including:
所述检测模块505对所述各所述窗口对应的所述联合概率使用高斯模型提取所述联合概率的均值和方差;The detection module 505 uses a Gaussian model to extract the mean and variance of the joint probability corresponding to each of the windows;
根据所述联合概率的均值和方差,分别计算各所述窗口对应的所述联合概率出现的概率;Calculating the probability of occurrence of the joint probability corresponding to each of the windows according to the mean and variance of the joint probability;
根据所述窗口对应的所述联合概率出现的概率,检测所述被监控指标是否异常。Whether the monitored indicator is abnormal is detected according to the probability of occurrence of the joint probability corresponding to the window.
可选地,所述检测模块505根据所述窗口对应的所述联合概率出现的概率,检测所述被监控指标是否异常,具体包括:Optionally, the detection module 505 detects whether the monitored indicator is abnormal based on the probability of occurrence of the joint probability corresponding to the window, specifically including:
所述检测模块505根据所述联合概率的均值和方差,以及所述根据所述窗口对应的所述联合概率出现的概率,利用3σ准则检测所述被监控指标在所述窗口内是否异常。The detection module 505 detects whether the monitored indicator is abnormal within the window using the 3σ criterion based on the mean and variance of the joint probability and the probability of occurrence of the joint probability corresponding to the window.
可选地,所述高斯模型包括高斯混合模型。Optionally, the Gaussian model includes a Gaussian mixture model.
基于同样的思路,本说明书实施例还提供了对应的一种电子设备,包括:Based on the same idea, the embodiments of this specification also provide a corresponding electronic device, including:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
获取被监控指标在一段时间包含的各监控点的数据;Obtain data on each monitoring point of the monitored indicator over a period of time;
使用高斯模型提取所述监控点的数据的均值和方差;Using a Gaussian model to extract the mean and variance of the data of the monitoring point;
根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;Calculating the probability of occurrence of the data at each monitoring point based on the mean and variance of the data at the monitoring point;
根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;Calculating, based on the respectively calculated probabilities, a joint probability of occurrence of data of each of the monitoring points included in a window divided by the time period;
根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。Whether the monitored indicator is abnormal is detected according to the joint probability corresponding to each of the windows.
基于同样的思路,本说明书实施例还提供了对应的一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:Based on the same idea, the embodiments of this specification also provide a corresponding non-volatile computer storage medium, which stores computer-executable instructions, and the computer-executable instructions are configured as follows:
获取被监控指标在一段时间包含的各监控点的数据;Obtain data on each monitoring point of the monitored indicator over a period of time;
使用高斯模型提取所述监控点的数据的均值和方差;Using a Gaussian model to extract the mean and variance of the data of the monitoring point;
根据所述监控点的数据的均值和方差,分别计算各所述监控点的数据出现的概率;Calculating the probability of occurrence of the data at each monitoring point based on the mean and variance of the data at the monitoring point;
根据所述分别计算的概率,计算由所述一段时间划分出的窗口包含的各所述监控点的数据出现的联合概率;Calculating, based on the respectively calculated probabilities, a joint probability of occurrence of data of each of the monitoring points included in a window divided by the time period;
根据各所述窗口对应的所述联合概率,检测所述被监控指标是否异常。Whether the monitored indicator is abnormal is detected according to the joint probability corresponding to each of the windows.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、电子设备、非易失性计算机存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other, and each embodiment focuses on the differences between the other embodiments. In particular, the device, electronic device, and non-volatile computer storage medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simplified. For relevant details, refer to the descriptions of the method embodiments.
本说明书实施例提供的装置、电子设备、非易失性计算机存储介质与方法是对应的,因此,装置、电子设备、非易失性计算机存储介质也具有与对应方法类似的有益技术效果,由于上面已经对方法的有益技术效果进行了详细说明,因此,这里不再赘述对应装置、电子设备、非易失性计算机存储介质的有益技术效果。The apparatus, electronic device, and non-volatile computer storage medium provided in the embodiments of this specification correspond to the method. Therefore, the apparatus, electronic device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, electronic device, and non-volatile computer storage medium will not be repeated here.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can now be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD through their own programming, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly done using "logic compiler" software. This is similar to the software compiler used when developing programs. Before compilation, the original code must also be written in a specific programming language, called a hardware description language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that by simply programming the method flow in one of these hardware description languages and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that in addition to implementing the controller in a purely computer-readable program code format, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules that implement the method and structures within the hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and/or hardware.
本领域内的技术人员应明白,本说明书实施例可提供为方法、系统、或计算机程序产品。因此,本说明书实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This specification is described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This specification may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
以上所述仅为本说明书实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The foregoing is merely an embodiment of the present invention and is not intended to limit the present application. For those skilled in the art, various modifications and variations may be made to the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK18107145.9A HK1247692B (en) | 2018-05-31 | Index abnormality detection method and device and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK18107145.9A HK1247692B (en) | 2018-05-31 | Index abnormality detection method and device and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1247692A1 HK1247692A1 (en) | 2018-09-28 |
| HK1247692B true HK1247692B (en) | 2021-03-05 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI709931B (en) | Method, device and electronic equipment for detecting indicator abnormality | |
| CN109063886B (en) | Anomaly detection method, device and equipment | |
| CN110008080B (en) | Business index anomaly detection method and device based on time sequence and electronic equipment | |
| CN110245047B (en) | Time series anomaly detection methods, devices and equipment | |
| EP3780541B1 (en) | Identity information identification method and device | |
| CN108363657B (en) | Method, device and medium for monitoring the integrity of APP client buried point data collection | |
| WO2019047795A1 (en) | Method and apparatus for detecting model security and electronic device | |
| CN110008991B (en) | Risk event identification method, risk identification model generation method, risk event identification device, risk identification equipment and risk identification medium | |
| CN110119860B (en) | Rubbish account detection method, device and equipment | |
| WO2019242357A1 (en) | Credit-guarantee-based service processing method, apparatus and device | |
| CN111639011B (en) | Data monitoring method, device and equipment | |
| CN106033574B (en) | Method and device for identifying cheating behavior | |
| WO2020019892A1 (en) | Bookkeeping method and device, and integrated transaction and finance system | |
| CN116822606A (en) | Training method, device, equipment and storage medium of anomaly detection model | |
| CN111753328B (en) | Private data leakage risk detection method and system | |
| CN115567371B (en) | Anomaly detection method, device, equipment and readable storage medium | |
| CN118038089A (en) | Behavior analysis based on graph comparison | |
| CN110245136B (en) | Data retrieval method, device, equipment and storage equipment | |
| HK1247692B (en) | Index abnormality detection method and device and electronic equipment | |
| CN105989501B (en) | Method and device for inquiring consultation account | |
| US20160328246A1 (en) | Real-time device settings using knowledge base | |
| CN108628615B (en) | A method, device and device for detecting discarded code | |
| CN111914130B (en) | A method and device for detecting sensitive data | |
| CN112182510B (en) | Product coverage measurement method, device and equipment | |
| CN117575603A (en) | A risk control method, device, storage medium and electronic equipment |