TWI819385B - Abnormal alarm methods, devices, equipment and storage media - Google Patents
Abnormal alarm methods, devices, equipment and storage media Download PDFInfo
- Publication number
- TWI819385B TWI819385B TW110136347A TW110136347A TWI819385B TW I819385 B TWI819385 B TW I819385B TW 110136347 A TW110136347 A TW 110136347A TW 110136347 A TW110136347 A TW 110136347A TW I819385 B TWI819385 B TW I819385B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- abnormal
- detected
- preset
- normal
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3072—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Alarm Systems (AREA)
Abstract
本發明實施例提供一種異常告警方法、裝置、設備及存儲介質。該方法包括:檢測待檢測指標資料;在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料;為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊。根據本發明實施例,能夠減少無效告警數量,提高告警準確率。 Embodiments of the present invention provide an abnormality alarm method, device, equipment and storage medium. The method includes: detecting the index data to be detected; determining that the index data to be detected is abnormal data when the detection result satisfies the first preset abnormality condition; generating an abnormal identification for the abnormal data, and inserting the abnormal identification into the data identification queue, Generate abnormal alarm information based on data identification queue. According to the embodiments of the present invention, the number of invalid alarms can be reduced and the accuracy of alarms can be improved.
Description
本發明涉及運維技術領域,尤其涉及一種異常告警方法、裝置、設備及存儲介質。 The present invention relates to the field of operation and maintenance technology, and in particular to an abnormality alarm method, device, equipment and storage medium.
目前,異常告警是智慧運維中重要的環節,傳統異常告警方案主要是通過檢測目標系統的指標資料是否異常,來及時發現目標系統是否異常或故障。 At present, abnormality alarm is an important part of smart operation and maintenance. The traditional abnormality alarm solution mainly detects whether the target system's indicator data is abnormal to timely detect whether the target system is abnormal or faulty.
但是在指標資料暫態抖動的情況下,傳統異常告警方案會觸發多個短時的無效告警,導致告警準確率較低。 However, in the case of transient jitter in indicator data, traditional abnormal alarm solutions will trigger multiple short-term invalid alarms, resulting in low alarm accuracy.
本發明實施例提供了一種異常告警方法、裝置、設備及存儲介質,能夠減少無效告警數量,提高告警準確率。 Embodiments of the present invention provide an abnormality alarm method, device, equipment and storage medium, which can reduce the number of invalid alarms and improve alarm accuracy.
第一方面,本發明實施例提供一種異常告警方法,該方法包括: In a first aspect, embodiments of the present invention provide an abnormality alarm method, which method includes:
檢測待檢測指標資料; Detect indicator data to be tested;
在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料; When the detection result meets the first preset abnormality condition, determine that the index data to be detected is abnormal data;
為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊。 Generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, and generate abnormal alarm information based on the data identifier queue.
第二方面,本發明實施例提供一種異常告警裝置,該裝置包括: In a second aspect, an embodiment of the present invention provides an abnormality alarm device, which includes:
檢測模組,用於檢測待檢測指標資料; Detection module, used to detect indicator data to be detected;
確定模組,用於在檢測結果滿足第一預設異常條件的情 況下,確定待檢測指標資料為異常資料; Determine the module, used when the detection result meets the first preset abnormal condition In this case, it is determined that the indicator data to be detected is abnormal data;
生成模組,用於為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊。 The generation module is used to generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, and generate abnormal alarm information based on the data identifier queue.
第三方面,本發明實施例提供一種異常告警設備,該設備包括:處理器以及存儲有電腦程式指令的記憶體;處理器執行電腦程式指令時實現第一方面所述的異常告警方法。 In a third aspect, embodiments of the present invention provide an abnormality alarm device. The device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the abnormality alarm method described in the first aspect.
第四方面,本發明實施例提供一種電腦可讀存儲介質,電腦可讀存儲介質上存儲有電腦程式指令,電腦程式指令被處理器執行時實現第一方面所述的異常告警方法。 In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium. The computer-readable storage medium stores computer program instructions. When the computer program instructions are executed by a processor, the abnormality alarm method described in the first aspect is implemented.
本發明實施例提供的一種異常告警方法、裝置、設備及存儲介質,通過檢測待檢測指標資料,在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊,進入告警狀態,進而減少指標資料暫態抖動而引發的無效告警,提高告警準確率。 An abnormality alarm method, device, equipment and storage medium provided by embodiments of the present invention, by detecting the index data to be detected, determine that the index data to be detected is abnormal data when the detection result satisfies the first preset abnormal condition. Generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, generate abnormal alarm information based on the data identifier queue, and enter the alarm state, thereby reducing invalid alarms caused by transient jitter of indicator data and improving alarm accuracy.
110:電子設備 110: Electronic equipment
120:伺服器 120:Server
600:異常告警裝置 600: Abnormal alarm device
610:檢測模組 610:Detection module
620:確定模組 620: Confirm module
630:生成模組 630: Generate module
700:異常告警設備 700: Abnormal alarm equipment
701:輸入裝置 701:Input device
702:輸入介面 702: Input interface
703:中央處理器 703:CPU
704:記憶體 704:Memory
705:輸出介面 705:Output interface
706:輸出設備 706:Output device
710:匯流排 710:Bus
A,B,C:異常檢測模型 A,B,C: Anomaly detection model
D(X,Y):平均曼哈頓距離 D(X,Y): average Manhattan distance
S210,S220,S230,S301,S302,S03,S304,S305,S306,S307,S308,S309,S310,S311,S312,S313,S314,S315:步驟 S210,S220,S230,S301,S302,S03,S304,S305,S306,S307,S308,S309,S310,S311,S312,S313,S314,S315: Steps
T:待檢測指標資料中的資料個數 T: The number of data in the indicator data to be detected
xt:表示待檢測指標資料中第t個資料 x t : represents the t-th data in the indicator data to be detected
yt:參考指標資料中第t個資料 y t : The tth data in the reference indicator data
為了更清楚地說明本發明實施例的技術方案,下面將對本發明實施例中所需要使用的圖式作簡單地介紹,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些圖式獲得其他的圖式。 In order to explain the technical solutions of the embodiments of the present invention more clearly, the drawings needed to be used in the embodiments of the present invention will be briefly introduced below. For those of ordinary skill in the art, without exerting creative efforts, they can also Other schemas can be derived from these schemas.
圖1是本發明實施例提供的一種異常告警系統的架構示意圖; Figure 1 is a schematic architectural diagram of an abnormality alarm system provided by an embodiment of the present invention;
圖2是本發明實施例提供的一種異常告警方法的流程示意圖; Figure 2 is a schematic flowchart of an abnormality alarm method provided by an embodiment of the present invention;
圖3是本發明實施例提供的另一種異常告警方法的流程示意圖; Figure 3 is a schematic flow chart of another abnormality alarm method provided by an embodiment of the present invention;
圖4是傳統異常告警方案的告警效果示意圖; Figure 4 is a schematic diagram of the alarm effect of the traditional abnormality alarm solution;
圖5是本發明實施例提供的一種告警效果示意圖; Figure 5 is a schematic diagram of an alarm effect provided by an embodiment of the present invention;
圖6是本發明實施例提供的一種異常告警裝置的結構示意圖; Figure 6 is a schematic structural diagram of an abnormality alarm device provided by an embodiment of the present invention;
圖7是本發明實施例提供的一種異常告警設備的結構示意圖。 Figure 7 is a schematic structural diagram of an abnormality alarm device provided by an embodiment of the present invention.
下面將詳細描述本發明的各個方面的特徵和示例性實施例,為了使本發明的目的、技術方案及優點更加清楚明白,以下結合圖式及實施例,對本發明進行進一步詳細描述。應理解,此處所描述的具體實施例僅解釋本發明,而不是限定本發明。對於本領域技術人員來說,本發明可以在不需要這些具體細節中的一些細節的情況下實施。下面對實施例的描述僅僅是為了通過示出本發明的示例來提供對本發明更好的理解。 Features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here only explain the invention, rather than limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by illustrating examples of the invention.
需要說明的是,在本文中,諸如第一和第二等之類的關係術語僅僅用來將一個實體或者操作與另一個實體或操作區分開來,而不一定要求或者暗示這些實體或操作之間存在任何這種實際的關係或者順序。而且,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、物品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、物品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括……”限定的要素,並不排除在包括所述要素的過程、方法、物品或者設備中還存在另外的相同要素。 It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations are mutually exclusive. any such actual relationship or sequence exists between them. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprising..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes the stated element.
目前,傳統異常告警方案通常在指標資料確定為異常資料之後立即生成異常告警資訊。但是在實際應用場景中發現,在例如網路暫態抖動引發的指標資料暫態抖動的情況下,會觸發多個短時的無效告警,導致告警準確率較低。 At present, traditional abnormality alarm solutions usually generate abnormality alarm information immediately after the indicator data is determined to be abnormal data. However, in actual application scenarios, it is found that in the case of temporary jitter in indicator data caused by transient network jitter, multiple short-term invalid alarms will be triggered, resulting in low alarm accuracy.
因此,為了解決上述告警準確率較低的問題,本發明實施例提供了一種異常告警方法、裝置、設備及存儲介質。通過檢測待檢測指標資料,在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊,進入告警狀態,進而減少指標資料暫態抖動而引發的無效告警,提高告警準確率。 Therefore, in order to solve the above problem of low alarm accuracy, embodiments of the present invention provide an abnormality alarm method, device, equipment and storage medium. By detecting the index data to be detected, when the detection result satisfies the first preset abnormality condition, the index data to be detected is determined to be abnormal data. Generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, generate abnormal alarm information based on the data identifier queue, and enter the alarm state, thereby reducing invalid alarms caused by transient jitter of indicator data and improving alarm accuracy.
下面結合圖式,通過具體的實施例及其應用場景對本發 明實施例提供的異常告警方法、裝置、設備和存儲介質進行詳細地說明。 In the following, the present invention will be explained through specific embodiments and application scenarios in combination with the drawings. The abnormality alarm method, device, equipment and storage medium provided by the embodiments will be described in detail.
圖1是本發明實施例提供的一種異常告警系統的架構示意圖,如圖1所示,該異常告警系統可以包括電子設備110和伺服器120,其中,電子設備110可以為移動電子設備,也可以為非移動電子設備。例如,移動電子設備可以為手機、平板電腦、筆記型電腦、掌上型電腦或者超級移動個人電腦(Ultra-Mobile Personal Computer,UMPC)等等,非移動電子設備可以為伺服器、網路附接儲存器(Network Attached Storage,NAS)或者個人電腦(Personal Computer,PC)等等。伺服器120表示被監控的目標系統,可以為金融、社交或者娛樂等系統。電子設備110與伺服器120之間通過網路進行通信,其中,網路可以是有線通信網路或無線通訊網路。 Figure 1 is a schematic architectural diagram of an abnormality alarm system provided by an embodiment of the present invention. As shown in Figure 1, the abnormality alarm system may include an electronic device 110 and a server 120. The electronic device 110 may be a mobile electronic device or a server. For non-mobile electronic devices. For example, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer or an Ultra-Mobile Personal Computer (UMPC), etc. The non-mobile electronic device can be a server, network attached storage (Network Attached Storage, NAS) or Personal Computer (Personal Computer, PC), etc. The server 120 represents the target system to be monitored, which may be a financial, social, or entertainment system. The electronic device 110 and the server 120 communicate through a network, where the network may be a wired communication network or a wireless communication network.
作為一個示例,該異常告警系統可以應用於監控金融、社交或者娛樂等系統的場景。參見圖1,電子設備110可以即時接收伺服器120發送的待檢測指標資料。其中,待檢測指標資料可以是目標檢測系統即時的監控時序指標資料。接著檢測待檢測指標資料,在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。然後為異常資料生成異常標識,並將所述異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊,進入告警狀態,進而減少指標資料暫態抖動而引發的無效告警,提高告警準確率。 As an example, the anomaly alarm system can be applied to scenarios such as monitoring financial, social, or entertainment systems. Referring to FIG. 1 , the electronic device 110 can receive the indicator data to be detected sent by the server 120 in real time. Among them, the indicator data to be detected can be real-time monitoring time series indicator data of the target detection system. Then, the index data to be detected is detected, and when the detection result satisfies the first preset abnormality condition, the index data to be detected is determined to be abnormal data. Then generate an exception identifier for the abnormal data, insert the abnormal identifier into the data identifier queue, generate abnormal alarm information according to the data identifier queue, and enter the alarm state, thereby reducing invalid alarms caused by transient jitter of indicator data and improving alarm accuracy. Accuracy.
下面將介紹本發明實施例提供的異常告警方法。其中,該異常告警方法的執行主體可以是圖1所示的異常告警系統中的電子設備110,或者電子設備110中的模組。 The abnormal alarm method provided by the embodiment of the present invention will be introduced below. The execution subject of the abnormality alarm method may be the electronic device 110 in the abnormality alarm system shown in FIG. 1 , or a module in the electronic device 110 .
圖2是本發明實施例提供的一種異常告警方法的流程示意圖,如圖2所示,該異常告警方法可以包括以下步驟: Figure 2 is a schematic flow chart of an abnormality alarm method provided by an embodiment of the present invention. As shown in Figure 2, the abnormality alarm method may include the following steps:
S210,檢測待檢測指標資料。 S210, detect the index data to be detected.
具體地,獲取待檢測指標資料並進行檢測。其中,待檢測指標資料是當前時刻的指標資料,即時間序列的指標資料,可以包括業 務指標資料和/或硬體指標資料。示例性地,業務指標資料可以為交易筆數、交易成功率等等,硬體指標資料可以為中央處理器(Central Processing Unit,CPU)使用率、記憶體使用率、網路時延等等。作為一個示例,可以獲取原始的待檢測指標資料,對原始的待檢測指標資料進行資料預處理例如插值補零,得到待檢測指標資料。 Specifically, the indicator data to be detected is obtained and tested. Among them, the indicator data to be detected is the indicator data at the current moment, that is, the indicator data of the time series, which can include industry service indicator data and/or hardware indicator data. For example, the business indicator data can be the number of transactions, transaction success rate, etc., and the hardware indicator data can be central processing unit (Central Processing Unit, CPU) usage, memory usage, network delay, etc. As an example, you can obtain the original index data to be detected, perform data preprocessing on the original index data to be detected, such as interpolation and zero padding, and obtain the index data to be detected.
在一個實施例中,可以利用至少兩個異常檢測模型對待檢測指標資料的不同資料特徵進行檢測。其中,每個異常檢測模型是通過對歷史指標資料的不同資料特徵進行學習而生成的,也就是說,每個異常檢測模型可以與一種資料特徵類型對應。示例性地,待檢測指標資料的資料特徵可以包括統計特徵、趨勢特徵和回歸特徵中至少兩種。 In one embodiment, at least two anomaly detection models can be used to detect different data characteristics of the index data to be detected. Among them, each anomaly detection model is generated by learning different data features of historical indicator data. That is to say, each anomaly detection model can correspond to one data feature type. For example, the data characteristics of the index data to be detected may include at least two of statistical characteristics, trend characteristics and regression characteristics.
例如,待檢測指標資料的資料特徵可以包括統計特徵、趨勢特徵和回歸特徵,對應地,異常檢測模型可以包括3-Sigma原則模型、指數加權移動平均控制圖模型和多項式回歸模型。 For example, the data characteristics of the indicator data to be detected can include statistical characteristics, trend characteristics and regression characteristics. Correspondingly, the anomaly detection model can include the 3-Sigma principle model, the exponentially weighted moving average control chart model and the polynomial regression model.
S220,在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。 S220: When the detection result satisfies the first preset abnormality condition, determine that the index data to be detected is abnormal data.
參見S210,檢測結果可以包括至少兩個異常檢測模型的檢測結果。示例性地,可以利用投票演算法例如硬投票演算法或軟投票演算法,對至少兩個異常檢測模型的檢測結果進行分析。在分析結果滿足第二預設異常條件的情況下,確定待檢測指標資料為異常資料,反之為正常資料,提高異常資料檢測準確率。 Referring to S210, the detection results may include detection results of at least two anomaly detection models. For example, a voting algorithm, such as a hard voting algorithm or a soft voting algorithm, may be used to analyze the detection results of at least two anomaly detection models. When the analysis result meets the second preset abnormality condition, the index data to be detected is determined to be abnormal data, otherwise it is normal data, thereby improving the accuracy of abnormal data detection.
例如,存在A、B、C三個異常檢測模型,異常檢測模型A的檢測結果為異常,異常檢測模型B的檢測結果為異常,異常檢測模型C的檢測結果為正常。利用硬投票演算法進行分析,得到分析結果為正常票數為2,異常票數為1,確定異常票數是否大於等於預設票數閾值例如2,若是,則確定待檢測指標資料為異常資料,反之為正常資料。可知,此時的待檢測指標資料為異常。 For example, there are three anomaly detection models A, B, and C. The detection result of anomaly detection model A is abnormal, the detection result of anomaly detection model B is abnormal, and the detection result of anomaly detection model C is normal. Use the hard voting algorithm for analysis, and the analysis result is that the number of normal votes is 2 and the number of abnormal votes is 1. Determine whether the number of abnormal votes is greater than or equal to the preset vote threshold, such as 2. If so, determine that the indicator data to be detected is abnormal data. , otherwise it is normal data. It can be seen that the index data to be detected at this time is abnormal.
值得注意的是,待檢測指標資料的資料類型可以影響檢 測結果。因此在一個示例中,可以在分析結果滿足第二預設異常條件的情況下,判斷待檢測指標資料的資料類型,根據待檢測指標資料的資料類型,計算待檢測指標資料與參考指標資料之間的相似度。其中,參考指標資料是預設的歷史指標資料,例如前一天同一時刻的資料、前一周同一時刻的資料或者前1個小時的時刻的資料等等。參見S210,參考指標資料可以是資料預處理後的資料。 It is worth noting that the data type of the indicator data to be detected can affect the detection test results. Therefore, in one example, when the analysis result satisfies the second preset abnormal condition, the data type of the indicator data to be detected can be determined, and the relationship between the indicator data to be detected and the reference indicator data can be calculated based on the data type of the indicator data to be detected. similarity. Among them, the reference indicator data is preset historical indicator data, such as the data at the same time on the previous day, the data at the same time on the previous week, or the data on the previous hour, etc. Refer to S210. The reference indicator data may be data after data preprocessing.
在一個示例中,可以利用資料類型對應的相似度演算法,計算待檢測指標資料與參考指標資料之間的相似度。在相似度滿足預設相似度條件的情況下,確定待檢測指標資料為異常資料,反之為正常資料,從而避免資料類型對檢測的影響,減少誤判,提高異常資料檢測準確率。 In one example, the similarity algorithm corresponding to the data type can be used to calculate the similarity between the index data to be detected and the reference index data. When the similarity meets the preset similarity conditions, the index data to be detected is determined to be abnormal data, and otherwise it is normal data, thereby avoiding the impact of data type on detection, reducing misjudgments, and improving the accuracy of abnormal data detection.
示例性地,資料類型可以包括量數值型別或者率數值型別。針對待檢測指標資料是量數值型別的情況,例如待檢測指標資料是交易筆數,參考該類型的指標資料在休息日和工作日上不同,但趨勢一致的特點,可以選擇皮爾遜相似度演算法計算待檢測指標資料與參考指標資料之間的相似度,以判斷量數值型別的待檢測指標資料的異常情況。在相似度小於或等於第一預設相似度閾值的情況下,確定待檢測指標資料為異常資料,反之為正常資料,避免因休息日期間量值變化引發的誤判。 For example, the data type may include a quantity type or a rate type. For the situation where the indicator data to be detected is a quantitative type, for example, the indicator data to be detected is the number of transactions, refer to the characteristics of this type of indicator data that are different on rest days and working days, but have the same trend, you can choose Pearson similarity. The algorithm calculates the similarity between the index data to be detected and the reference index data to determine anomalies in the numerical type of the index data to be detected. When the similarity is less than or equal to the first preset similarity threshold, the index data to be detected is determined to be abnormal data, and otherwise it is normal data to avoid misjudgments caused by changes in magnitude during rest days.
針對待檢測指標資料是率數值型別的情況,例如待檢測指標資料是交易成功率,參考該類型的指標資料的週期性短時局部波動容易帶來誤判的特點,可以選擇平均曼哈頓距離演算法計算待檢測指標資料與參考指標資料之間的相似度,以判斷率數值型別的待檢測指標資料的異常情況。在相似度大於或等於第二預設相似度閾值的情況下,確定待檢測指標資料為異常資料,反之為正常資料,避免待檢測指標資料週期性短時局部波動帶來的誤判。 For the situation where the indicator data to be detected is a rate numerical type, for example, the indicator data to be detected is the transaction success rate. Considering that the periodic short-term local fluctuations of this type of indicator data can easily lead to misjudgments, the average Manhattan distance algorithm can be selected. Calculate the similarity between the index data to be detected and the reference index data to determine the abnormality of the numerical type of the index data to be detected. When the similarity is greater than or equal to the second preset similarity threshold, the index data to be detected is determined to be abnormal data, and otherwise it is normal data to avoid misjudgments caused by periodic short-term local fluctuations in the index data to be detected.
在一個具體的示例中,平均曼哈頓距離演算法的公式可以如下所示: In a specific example, the formula for the average Manhattan distance algorithm can be as follows:
其中,D(X,Y)表示平均曼哈頓距離,即待檢測指標資料與參考指標資料之間的相似度,T表示待檢測指標資料中的資料個數,xt表示待檢測指標資料中第t個資料,yt表示參考指標資料中第t個資料,例如昨日同一時刻的歷史指標資料中第t個資料。 Among them, D(X,Y) represents the average Manhattan distance, that is, the similarity between the index data to be detected and the reference index data, T represents the number of data in the index data to be detected, x t represents the tth index data in the index data to be detected data, y t represents the t-th data in the reference indicator data, such as the t-th data in the historical indicator data at the same time yesterday.
S230,為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊。 S230: Generate an exception identifier for the abnormal data, insert the exception identifier into the data identifier queue, and generate abnormal alarm information according to the data identifier queue.
在一個實施例中,可以為異常資料生成異常標識,將異常標識插入資料標識佇列,不斷進行新的待檢測資料的檢測,即時更新資料標識佇列。在資料標識佇列中的異常標識數量大於或等於預設異常標識閾值的情況下,生成異常告警資訊,即進入告警狀態。 In one embodiment, an abnormality identifier can be generated for abnormal data, the abnormality identifier can be inserted into the data identification queue, new data to be detected can be continuously detected, and the data identification queue can be updated in real time. When the number of abnormal identifiers in the data identifier queue is greater than or equal to the preset abnormal identifier threshold, abnormal alarm information is generated, that is, the alarm state is entered.
其中,資料標識佇列的長度可以根據實際需要靈活設置。預設異常標識閾值可以根據監控物件即待檢測指標資料對應的業務和待檢測指標資料的時效性或重要程度來設置。 Among them, the length of the data identification queue can be flexibly set according to actual needs. The preset abnormality identification threshold can be set according to the business corresponding to the monitored object, that is, the indicator data to be detected, and the timeliness or importance of the indicator data to be detected.
在本發明實施例中,通過檢測待檢測指標資料,在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊,進入告警狀態,進而減少指標資料暫態抖動而引發的無效告警,提高告警準確率。 In the embodiment of the present invention, by detecting the index data to be detected, when the detection result satisfies the first preset abnormality condition, the index data to be detected is determined to be abnormal data. Generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, generate abnormal alarm information based on the data identifier queue, and enter the alarm state, thereby reducing invalid alarms caused by transient jitter of indicator data and improving alarm accuracy.
需要知道的是,在異常持續期間,待檢測指標資料可能會出現暫態波動,導致一種假性恢復現象。因此在一個實施例中,在生成異常告警資訊之後,即進入告警狀態後,該方法還可以包括: What needs to be known is that during the period of abnormality, the indicator data to be detected may experience transient fluctuations, leading to a false recovery phenomenon. Therefore, in one embodiment, after generating the abnormal alarm information, that is, after entering the alarm state, the method may also include:
在檢測結果不滿足第一預設異常條件的情況下,確定待檢測指標資料為正常資料。接著為正常資料生成正常標識,並將正常標識插入資料標識佇列,不斷進行新的待檢測資料的檢測,即時更新資料標識佇列。在資料標識佇列中的正常標識數量大於或等於預設正常標識閾值的情況下,生成異常恢復資訊,即結束告警狀態。如此能夠準確感知告警恢復的時間,解決告警恢復不準確的問題,避免出現多條重複告警。 When the detection result does not meet the first preset abnormality condition, the index data to be detected is determined to be normal data. Then generate normal identifiers for normal data, insert the normal identifiers into the data identifier queue, continuously detect new data to be detected, and update the data identifier queue in real time. When the number of normal identifiers in the data identifier queue is greater than or equal to the preset normal identifier threshold, abnormal recovery information is generated, that is, the alarm state is terminated. In this way, the alarm recovery time can be accurately perceived, the problem of inaccurate alarm recovery can be solved, and multiple duplicate alarms can be avoided.
其中,預設異常標識閾值與預設正常標識閾值可以相同,進而確認告警生成花費的時間與確認告警消失花費的時間相抵消,可以在告警恢復環節彌補確認告警發生所用的耗時,確定告警的真實持續時間。 Among them, the preset abnormal identification threshold and the preset normal identification threshold can be the same, so that the time it takes to confirm the alarm generation and the time it takes to confirm the alarm disappears can be offset in the alarm recovery process to make up for the time it takes to confirm the alarm occurrence and determine the alarm. True duration.
考慮到進入告警狀態後,判斷為異常的歷史指標資料可能對待檢測指標資料造成影響。在一個實施例中,在生成異常告警資訊之後,該方法還可以包括: Considering that after entering the alarm state, the historical indicator data judged to be abnormal may affect the indicator data to be detected. In one embodiment, after generating the abnormal alarm information, the method may further include:
回應於異常告警資訊,調整第一預設異常條件,即適當放寬對異常的檢測,更加容易判別待檢測指標資料為異常,更加嚴格判別待檢測指標資料為正常。在檢測結果不滿足調整後的第一預設異常條件的情況下,確定待檢測指標資料為正常資料。為正常資料生成正常標識,並將正常標識插入資料標識佇列,不斷進行新的待檢測資料的檢測,即時更新資料標識佇列。在資料標識佇列中的正常標識數量大於或等於預設正常標識閾值的情況下,生成異常恢復資訊,避免判斷為異常的歷史指標資料對待檢測指標資料的影響,更加準確地感知告警恢復的時間。 In response to the abnormal alarm information, the first preset abnormal condition is adjusted, that is, the detection of abnormalities is appropriately relaxed, making it easier to determine that the indicator data to be detected is abnormal, and it is more strict to determine that the indicator data to be detected is normal. When the detection result does not meet the adjusted first preset abnormal condition, the index data to be detected is determined to be normal data. Generate normal identifiers for normal data, insert the normal identifiers into the data identifier queue, continuously detect new data to be detected, and update the data identifier queue in real time. When the number of normal identifiers in the data identifier queue is greater than or equal to the preset normal identifier threshold, abnormal recovery information is generated to avoid the impact of historical indicator data judged to be abnormal to the detected indicator data, and to more accurately perceive the alarm recovery time. .
可以理解,在本次告警結束後,即異常恢復後,調整的條件會還原為未調整時的狀態。 It can be understood that after this alarm ends, that is, after the abnormality is restored, the adjusted conditions will be restored to the state before adjustment.
下面以異常告警方法應用於金融系統監控場景為例,對本發明實施例提供的異常告警方法進行詳細說明,如圖3所示,該方法可以包括以下步驟: Taking the abnormal alarm method applied to the financial system monitoring scenario as an example, the abnormal alarm method provided by the embodiment of the present invention will be described in detail below. As shown in Figure 3, the method may include the following steps:
S301,獲取當前的待檢測指標資料。 S301: Obtain the current indicator data to be detected.
S302,利用至少兩個異常檢測模型對待檢測指標資料的不同資料特徵進行檢測。 S302: Use at least two anomaly detection models to detect different data characteristics of the index data to be detected.
利用3-Sigma原則模型、指數加權移動平均控制圖模型和多項式回歸模型分別對待檢測指標資料的統計特徵、趨勢特徵和回歸特徵進行檢測。 The 3-Sigma principle model, exponentially weighted moving average control chart model and polynomial regression model are used to detect the statistical characteristics, trend characteristics and regression characteristics of the indicator data to be detected respectively.
S303,在至少兩個異常檢測模型的檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。 S303: When the detection results of at least two anomaly detection models meet the first preset abnormal condition, determine that the index data to be detected is abnormal data.
具體地,利用投票演算法對至少兩個異常檢測模型的檢測結果進行分析。在分析結果滿足第二預設異常條件的情況下,判斷異常資料的資料類型。接著根據異常資料的資料類型對應的相似度演算法,計算待檢測指標資料與參考指標資料之間的相似度。在相似度滿足預設相似度條件的情況下,確定待檢測指標資料為異常資料。 Specifically, a voting algorithm is used to analyze the detection results of at least two anomaly detection models. When the analysis result meets the second preset abnormality condition, the data type of the abnormal data is determined. Then, based on the similarity algorithm corresponding to the data type of the abnormal data, the similarity between the index data to be detected and the reference index data is calculated. When the similarity meets the preset similarity conditions, the index data to be detected is determined to be abnormal data.
S304,為異常資料生成異常標識。 S304: Generate an exception identifier for the abnormal data.
S305,將異常標識插入資料標識佇列。 S305: Insert the exception identifier into the data identifier queue.
S306,判斷異常標識數量是否大於等於預設異常標識閾值。 S306: Determine whether the number of abnormal flags is greater than or equal to the preset abnormal flag threshold.
若是,則執行S307,否則,返回S301。 If yes, execute S307; otherwise, return to S301.
S307,生成異常告警資訊。 S307, generate abnormal alarm information.
S308,回應於異常告警資訊,適應性調整第一預設異常條件。 S308: Respond to the abnormal alarm information and adaptively adjust the first preset abnormal condition.
即適當放寬對異常的檢測,更加容易判別待檢測指標資料為異常,更加嚴格判別待檢測指標資料為正常。 That is to say, the detection of abnormalities is appropriately relaxed, making it easier to judge that the index data to be detected is abnormal, and it is more strict to judge the index data to be detected to be normal.
S309,獲取當前的待檢測指標資料。 S309: Obtain the current indicator data to be detected.
S310,利用至少兩個異常檢測模型對待檢測指標資料的不同資料特徵進行檢測。 S310: Use at least two anomaly detection models to detect different data characteristics of the index data to be detected.
S311,在至少兩個異常檢測模型的檢測結果不滿足調整後的第一預設異常條件的情況下,確定待檢測指標資料為正常資料。 S311: When the detection results of at least two anomaly detection models do not meet the adjusted first preset abnormal condition, determine that the index data to be detected is normal data.
具體細節與S303類似,為了簡潔,在此不做贅述。 The specific details are similar to S303 and will not be described here for the sake of simplicity.
S312,為正常資料生成正常標識。 S312, generate a normal identifier for normal data.
S313,將正常標識插入資料標識佇列。 S313: Insert the normal identifier into the data identifier queue.
S314,判斷正常標識數量是否大於等於預設正常標識閾值。 S314: Determine whether the number of normal identifications is greater than or equal to the preset normal identification threshold.
若是,則執行S315,否則,返回S309。其中,預設異常標識閾值與預設正常標識閾值相同。 If yes, execute S315; otherwise, return to S309. The preset abnormal identification threshold is the same as the preset normal identification threshold.
S315,生成異常恢復資訊。 S315, generate abnormal recovery information.
至此,完成一次告警與恢復的流程。 At this point, the alarm and recovery process is completed.
示例性地,傳統異常告警方案與本發明實施例提供的異常告警方法的效果比對,可以參見圖4和圖5。圖4示出了傳統異常告警方案的告警效果,圖5示出了本發明實施例提供的一種告警效果。在圖4、圖5中,橫坐標為檢測時刻,縱坐標為交易筆數,1為正常,0為異常告警,相比於圖4的多次告警,圖5在三次異常期間均僅產生一條告警資訊。此外,隨機選取不同種類的待檢測指標資料做驗證,並在表1對比展示了傳統異常告警方案與本發明實施例提供的異常告警方法在3天內的告警資料。 For example, a comparison of the effects of the traditional abnormality alarm solution and the abnormality alarm method provided by the embodiment of the present invention can be seen in Figures 4 and 5. Figure 4 shows the alarm effect of a traditional abnormality alarm solution, and Figure 5 shows an alarm effect provided by an embodiment of the present invention. In Figures 4 and 5, the abscissa is the detection time, the ordinate is the number of transactions, 1 is normal, and 0 is an abnormal alarm. Compared with the multiple alarms in Figure 4, Figure 5 only generates one during the three abnormal periods. Alarm information. In addition, different types of index data to be detected were randomly selected for verification, and Table 1 shows the alarm data within 3 days between the traditional abnormality alarm scheme and the abnormality alarm method provided by the embodiment of the present invention.
由上可得,本發明實施例能夠依靠資料標識佇列與告警嚴進嚴出的機制,在保證對真實異常及時告警的前提下,能夠有效過濾資料暫態抖動引起的假性異常,同時避免異常持續期間的假性恢復現象而導致的頻繁告警,大幅減少告警數量。 It can be seen from the above that the embodiment of the present invention can rely on the mechanism of data identification queuing and strict alarm entry and exit, and can effectively filter false anomalies caused by transient jitter of data while ensuring timely alarms for real anomalies, while avoiding Frequent alarms caused by false recovery during the abnormality period can significantly reduce the number of alarms.
基於本發明實施例提供的異常告警方法,本發明實施例還提供了一種異常告警裝置,如圖6所示,異常告警裝置600可以包括:檢測模組610、確定模組620、生成模組630。 Based on the abnormality alarm method provided by the embodiment of the present invention, the embodiment of the present invention also provides an abnormality alarm device. As shown in Figure 6, the abnormality alarm device 600 may include: a detection module 610, a determination module 620, and a generation module 630. .
其中,檢測模組610,用於檢測待檢測指標資料。 Among them, the detection module 610 is used to detect the index data to be detected.
確定模組620,用於在檢測結果滿足第一預設異常條件的情況下,確定待檢測指標資料為異常資料。 The determination module 620 is used to determine that the index data to be detected is abnormal data when the detection result satisfies the first preset abnormality condition.
生成模組630,用於為異常資料生成異常標識,並將異常標識插入資料標識佇列,根據資料標識佇列生成異常告警資訊。 The generation module 630 is used to generate exception identifiers for abnormal data, insert the exception identifiers into the data identifier queue, and generate abnormal alarm information based on the data identifier queue.
在一個實施例中,生成模組630包括:生成單元,用於 在資料標識佇列中的異常標識數量大於或等於預設異常標識閾值的情況下,生成異常告警資訊。 In one embodiment, the generation module 630 includes: a generation unit for When the number of exception identifiers in the data identifier queue is greater than or equal to the preset exception identifier threshold, abnormal alarm information is generated.
在一個實施例中,檢測模組610包括:檢測單元,用於利用至少兩個異常檢測模型對待檢測指標資料的不同資料特徵進行檢測。其中,待檢測指標資料的資料特徵包括如下項中的至少兩種:統計特徵、趨勢特徵和回歸特徵。 In one embodiment, the detection module 610 includes: a detection unit configured to use at least two anomaly detection models to detect different data characteristics of the index data to be detected. Among them, the data characteristics of the index data to be detected include at least two of the following items: statistical characteristics, trend characteristics and regression characteristics.
在一個實施例中,檢測結果包括至少兩個異常檢測模型的檢測結果。 In one embodiment, the detection results include detection results of at least two anomaly detection models.
確定模組620包括:分析單元,用於利用投票演算法對至少兩個異常檢測模型的檢測結果進行分析。 The determination module 620 includes an analysis unit configured to analyze the detection results of at least two anomaly detection models using a voting algorithm.
確定單元,用於在分析結果滿足第二預設異常條件的情況下,確定待檢測指標資料為異常資料。 The determination unit is used to determine that the index data to be detected is abnormal data when the analysis result satisfies the second preset abnormality condition.
在一個實施例中,確定單元具體用於:在分析結果滿足第二預設異常條件的情況下,判斷待檢測指標資料的資料類型。 In one embodiment, the determining unit is specifically configured to determine the data type of the index data to be detected when the analysis result satisfies the second preset abnormal condition.
根據待檢測指標資料的資料類型,計算待檢測指標資料與參考指標資料之間的相似度。 According to the data type of the index data to be detected, the similarity between the index data to be detected and the reference index data is calculated.
在相似度滿足預設相似度條件的情況下,確定待檢測指標資料為異常資料。 When the similarity meets the preset similarity conditions, the index data to be detected is determined to be abnormal data.
在一個實施例中,資料類型包括量數值型別或者率數值型別。 In one embodiment, the data type includes a quantity type or a rate type.
在一個實施例中,在資料標識佇列中的異常標識數量大於或等於預設異常標識閾值的情況下,生成異常告警資訊之後,確定模組620,還用於在檢測結果不滿足第一預設異常條件的情況下,確定待檢測指標資料為正常資料。 In one embodiment, when the number of abnormal identifiers in the data identifier queue is greater than or equal to the preset abnormal identifier threshold, after generating the abnormal alarm information, the determination module 620 is also used to determine if the detection result does not meet the first predetermined value. In the case of abnormal conditions, determine that the index data to be detected is normal data.
生成單元,還用於為正常資料生成正常標識,並將正常標識插入資料標識佇列,在資料標識佇列中的正常標識數量大於或等於預設正常標識閾值的情況下,生成異常恢復資訊。 The generation unit is also used to generate normal identifiers for normal data, insert the normal identifiers into the data identifier queue, and generate abnormal recovery information when the number of normal identifiers in the data identifier queue is greater than or equal to the preset normal identifier threshold.
在一個實施例中,在資料標識佇列中的異常標識數量大於或等於預設異常標識閾值的情況下,生成異常告警資訊之後,異常告警裝置600還包括: In one embodiment, when the number of abnormal identifiers in the data identifier queue is greater than or equal to the preset abnormal identifier threshold, after generating the abnormal alarm information, the abnormal alarm device 600 further includes:
調整模組,用於回應於異常告警資訊,調整第一預設異常條件。 The adjustment module is used to respond to abnormal alarm information and adjust the first preset abnormal condition.
確定模組620,還用於在檢測結果不滿足調整後的第一預設異常條件的情況下,確定待檢測指標資料為正常資料。 The determination module 620 is also used to determine that the index data to be detected is normal data when the detection result does not meet the adjusted first preset abnormal condition.
生成單元,還用於為正常資料生成正常標識,並將正常標識插入資料標識佇列,在資料標識佇列中的正常標識數量大於或等於預設正常標識閾值的情況下,生成異常恢復資訊。 The generation unit is also used to generate normal identifiers for normal data, insert the normal identifiers into the data identifier queue, and generate abnormal recovery information when the number of normal identifiers in the data identifier queue is greater than or equal to the preset normal identifier threshold.
在一個實施例中,預設異常標識閾值與預設正常標識閾值相同。 In one embodiment, the preset abnormal identification threshold is the same as the preset normal identification threshold.
可以理解的是,圖6所示異常告警裝置600中的各個模組/單元具有實現本發明實施例提供的異常告警方法中的各個步驟的功能,並能達到其相應的技術效果,為了簡潔,在此不再贅述。 It can be understood that each module/unit in the abnormality alarm device 600 shown in Figure 6 has the function of realizing each step in the abnormality alarm method provided by the embodiment of the present invention, and can achieve its corresponding technical effect. For the sake of simplicity, I won’t go into details here.
圖7是本發明實施例提供的一種異常告警設備的結構示意圖。 Figure 7 is a schematic structural diagram of an abnormality alarm device provided by an embodiment of the present invention.
如圖7所示,本實施例中的異常告警設備700包括輸入裝置701、輸入介面702、中央處理器703、記憶體704、輸出介面705、以及輸出設備706。其中,輸入介面702、中央處理器703、記憶體704、以及輸出介面705通過匯流排710相互連接,輸入裝置701和輸出設備706分別通過輸入介面702和輸出介面705與匯流排710連接,進而與異常告警設備700的其他元件連接。 As shown in Figure 7, the abnormality alarm device 700 in this embodiment includes an input device 701, an input interface 702, a central processing unit 703, a memory 704, an output interface 705, and an output device 706. Among them, the input interface 702, the central processing unit 703, the memory 704, and the output interface 705 are connected to each other through the bus 710. The input device 701 and the output device 706 are connected to the bus 710 through the input interface 702 and the output interface 705 respectively, and then are connected to the bus 710. Other components of the abnormality alarm device 700 are connected.
具體地,輸入裝置701接收來自外部的輸入資訊,並通過輸入介面702將輸入資訊傳送到中央處理器703;中央處理器703基於記憶體704中存儲的電腦可執行指令對輸入資訊進行處理以生成輸出資訊,將輸出資訊臨時或者永久地存儲在記憶體704中,然後通過輸出介面705 將輸出資訊傳送到輸出設備706;輸出設備706將輸出資訊輸出到異常告警設備700的外部供使用者使用。 Specifically, the input device 701 receives input information from the outside and transmits the input information to the central processor 703 through the input interface 702; the central processor 703 processes the input information based on computer executable instructions stored in the memory 704 to generate Output information, temporarily or permanently store the output information in the memory 704, and then use the output interface 705 The output information is sent to the output device 706; the output device 706 outputs the output information to the outside of the abnormality alarm device 700 for use by the user.
在一個實施例中,圖7所示的異常告警設備700包括:記憶體704,用於存儲程式;處理器703,用於運行記憶體中存儲的程式,以實現本發明實施例提供的異常告警方法。 In one embodiment, the abnormality alarm device 700 shown in Figure 7 includes: a memory 704 for storing programs; a processor 703 for running the programs stored in the memory to implement the abnormality alarm provided by the embodiment of the present invention. method.
本發明實施例還提供一種電腦可讀存儲介質,該電腦可讀存儲介質上存儲有電腦程式指令;該電腦程式指令被處理器執行時實現本發明實施例提供的異常告警方法。 Embodiments of the present invention also provide a computer-readable storage medium. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by a processor, the abnormality alarm method provided by the embodiment of the present invention is implemented.
需要明確的是,本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同或相似的部分互相參見即可,為了簡潔,不再贅述。本發明並不局限於上文所描述並在圖中示出的特定配置和處理。為了簡明起見,這裡省略了對已知方法的詳細描述。在上述實施例中,描述和示出了若干具體的步驟作為示例。但是,本發明的方法過程並不限於所描述和示出的具體步驟,本領域的技術人員可以在領會本發明的精神後,做出各種改變、修改和添加,或者改變步驟之間的順序。 It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. For the sake of brevity, they will not be described again. The present invention is not limited to the specific arrangements and processes described above and illustrated in the drawings. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications and additions, or change the order between steps after understanding the spirit of the present invention.
以上所述的結構框圖中所示的功能塊可以實現為硬體、軟體、固件或者它們的組合。當以硬體方式實現時,其可以例如是電子電路、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、適當的固件、外掛程式、功能卡等等。當以軟體方式實現時,本發明的元素是被用於執行所需任務的程式或者程式碼片段。程式或者程式碼片段可以存儲在機器可讀介質中,或者通過載波中攜帶的資料信號在傳輸介質或者通信鏈路上傳送。“機器可讀介質”可以包括能夠存儲或傳輸資訊的任何介質。機器可讀介質的例子包括電子電路、半導體記憶體設備、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體、可擦除ROM(Erasable Read Only Memory,EROM)、軟碟、光碟唯讀記憶體(Compact Disc Read-Only Memory,CD-ROM)、光碟、硬碟、光纖介質、射頻(Radio Frequency,RF)鏈路,等等。程式碼片段可以經由諸如網際網路、內聯 網等的電腦網路被下載。 The functional blocks shown in the above structural block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), appropriate firmware, a plug-in program, a function card, or the like. When implemented in software, elements of the invention are programs or program code fragments that are used to perform the required tasks. The program or program code fragments may be stored in a machine-readable medium, or transmitted over a transmission medium or communications link via a data signal carried in a carrier wave. "Machine-readable medium" can include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable ROM (Erasable Read Only Memory, EROM), floppy disks, and optical disks Read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical disc, hard disk, optical fiber media, radio frequency (Radio Frequency, RF) link, etc. Code snippets can be sent via e.g. the Internet, inline The computer network such as the Internet is downloaded.
還需要說明的是,本發明中提及的示例性實施例,基於一系列的步驟或者裝置描述一些方法或系統。但是,本發明不局限於上述步驟的順序,也就是說,可以按照實施例中提及的循序執行步驟,也可以不同於實施例中的順序,或者若干步驟同時執行。 It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps. That is to say, the steps may be performed in the order mentioned in the embodiments, or may be different from the order in the embodiments, or several steps may be performed simultaneously.
上面參考根據本公開的實施例的方法、裝置(系統)和電腦程式產品的流程圖和/或框圖描述了本公開的各方面。應當理解,流程圖和/或框圖中的每個方框以及流程圖和/或框圖中各方框的組合可以由電腦程式指令實現。這些電腦程式指令可被提供給通用電腦、專用電腦、或其它可程式設計資料處理裝置的處理器,以產生一種機器,使得經由電腦或其它可程式設計資料處理裝置的處理器執行的這些指令使能對流程圖和/或框圖的一個或多個方框中指定的功能/動作的實現。這種處理器可以是但不限於是通用處理器、專用處理器、特殊應用處理器或者現場可程式設計邏輯電路。還可理解,框圖和/或流程圖中的每個方框以及框圖和/或流程圖中的方框的組合,也可以由執行指定的功能或動作的專用硬體來實現,或可由專用硬體和電腦指令的組合來實現。 Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device cause Ability to implement the functions/actions specified in one or more blocks of flowcharts and/or block diagrams. Such a processor may be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It will also be understood that each block in the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can also be implemented by special purpose hardware that performs the specified functions or actions, or can be implemented by Achieved by a combination of specialized hardware and computer instructions.
以上所述,僅為本發明的具體實施方式,所屬領域的技術人員可以清楚地瞭解到,為了描述的方便和簡潔,上述描述的系統、模組和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。應理解,本發明的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本發明揭露的技術範圍內,可輕易想到各種等效的修改或替換,這些修改或替換都應涵蓋在本發明的保護範圍之內。 The above are only specific implementation modes of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can be implemented with reference to the aforementioned methods. The corresponding process in the example will not be described again here. It should be understood that the protection scope of the present invention is not limited thereto. Any person familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present invention. These modifications or substitutions should be covered by within the protection scope of the present invention.
S210,S220,S230:步驟 S210, S220, S230: steps
Claims (18)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011054394.0A CN112231174B (en) | 2020-09-30 | 2020-09-30 | Abnormality warning method, device, equipment and storage medium |
| CN202011054394.0 | 2020-09-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202215243A TW202215243A (en) | 2022-04-16 |
| TWI819385B true TWI819385B (en) | 2023-10-21 |
Family
ID=74119627
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110136347A TWI819385B (en) | 2020-09-30 | 2021-09-29 | Abnormal alarm methods, devices, equipment and storage media |
Country Status (3)
| Country | Link |
|---|---|
| CN (1) | CN112231174B (en) |
| TW (1) | TWI819385B (en) |
| WO (1) | WO2022068549A1 (en) |
Families Citing this family (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112231174B (en) * | 2020-09-30 | 2024-02-23 | 中国银联股份有限公司 | Abnormality warning method, device, equipment and storage medium |
| CN115087000B (en) * | 2021-03-03 | 2025-08-19 | 阿里巴巴创新公司 | Fault determination method and device, nonvolatile storage medium and computer terminal |
| CN115587717A (en) * | 2021-07-06 | 2023-01-10 | 网银在线(北京)科技有限公司 | Data quality detection method, device, storage medium and equipment |
| CN113570000A (en) * | 2021-09-08 | 2021-10-29 | 南开大学 | Ocean single-factor observation quality control method based on multi-model fusion |
| CN114024831B (en) * | 2021-11-08 | 2024-01-26 | 中国工商银行股份有限公司 | Abnormal event early warning method, device and system |
| CN114298563B (en) * | 2021-12-29 | 2025-09-23 | 建信金融科技有限责任公司 | Method, device and computer equipment for analyzing alarm information |
| CN114595086B (en) * | 2022-02-08 | 2025-03-28 | 联想(北京)有限公司 | Anomaly detection method, device, equipment and storage medium |
| CN114706893A (en) * | 2022-04-15 | 2022-07-05 | 北京百度网讯科技有限公司 | Fault detection method, device, equipment and storage medium |
| CN115277491B (en) * | 2022-06-15 | 2023-06-06 | 中国联合网络通信集团有限公司 | Method, device, and computer-readable storage medium for determining abnormal data |
| CN115203918A (en) * | 2022-07-01 | 2022-10-18 | 浪潮通信信息系统有限公司 | Short message success rate warning method based on anomaly detection |
| CN115412326B (en) * | 2022-08-23 | 2025-04-25 | 天翼安全科技有限公司 | Abnormal flow detection method, device, electronic device and storage medium |
| CN115436834B (en) * | 2022-08-29 | 2024-09-24 | 中科国微科技(深圳)有限公司 | Embedded power supply abnormality detection method and system |
| CN115426287B (en) * | 2022-09-06 | 2024-03-26 | 中国农业银行股份有限公司 | System monitoring and optimizing method and device, electronic equipment and medium |
| CN115484179B (en) * | 2022-09-16 | 2024-04-16 | 杭州极能科技有限公司 | Equipment alarm data anti-shake method |
| CN115687008A (en) * | 2022-10-19 | 2023-02-03 | 北京奇艺世纪科技有限公司 | Service abnormity detection method, system, device, electronic equipment and medium |
| CN115932557B (en) * | 2022-11-30 | 2025-08-22 | 飞腾信息技术有限公司 | Chip testing method, related equipment and computer-readable storage medium |
| CN115942155B (en) * | 2023-01-30 | 2023-07-11 | 通号通信信息集团有限公司 | Equipment monitoring method, device and system |
| CN115878496A (en) * | 2023-02-16 | 2023-03-31 | 中国铁塔股份有限公司 | Algorithm capability testing method and device |
| CN116486577A (en) * | 2023-03-13 | 2023-07-25 | 南方电网数字平台科技(广东)有限公司 | An intelligent supervision method and device for a cable well |
| CN116599861A (en) * | 2023-07-18 | 2023-08-15 | 海马云(天津)信息技术有限公司 | Method for detecting cloud service abnormality, server device and storage medium |
| CN116778688B (en) * | 2023-08-18 | 2023-11-10 | 深圳市宝腾互联科技有限公司 | Machine room alarm event processing method, device, equipment and storage medium |
| CN116881097B (en) * | 2023-09-08 | 2023-11-24 | 国网思极网安科技(北京)有限公司 | User terminal alarm method, device, electronic equipment and computer readable medium |
| CN117612106B (en) * | 2023-12-06 | 2025-03-14 | 中航信移动科技有限公司 | Target object detection system |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI467366B (en) * | 2012-03-27 | 2015-01-01 | Hope Bay Technologies Inc | Method for monitoring and handling abnormal state of physical machine in cloud system |
| TWI621013B (en) * | 2017-03-22 | 2018-04-11 | 廣達電腦股份有限公司 | Systems for monitoring application servers |
| CN110083508A (en) * | 2019-04-30 | 2019-08-02 | 中国银联股份有限公司 | A kind of data monitoring method and device |
| CN110134385A (en) * | 2019-05-17 | 2019-08-16 | 中国农业银行股份有限公司 | Record the method and C language general journal frame of C language function call chain |
| CN110727533A (en) * | 2019-09-26 | 2020-01-24 | 华青融天(北京)软件股份有限公司 | A method, apparatus, device and medium for alerting |
| CN111400294A (en) * | 2020-03-12 | 2020-07-10 | 时时同云科技(成都)有限责任公司 | Data anomaly monitoring method, device and system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10241847B2 (en) * | 2016-07-19 | 2019-03-26 | 2236008 Ontario Inc. | Anomaly detection using sequences of system calls |
| JP6824121B2 (en) * | 2017-07-14 | 2021-02-03 | 株式会社東芝 | State detection device, state detection method and program |
| CN112231174B (en) * | 2020-09-30 | 2024-02-23 | 中国银联股份有限公司 | Abnormality warning method, device, equipment and storage medium |
-
2020
- 2020-09-30 CN CN202011054394.0A patent/CN112231174B/en active Active
-
2021
- 2021-09-09 WO PCT/CN2021/117388 patent/WO2022068549A1/en not_active Ceased
- 2021-09-29 TW TW110136347A patent/TWI819385B/en active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI467366B (en) * | 2012-03-27 | 2015-01-01 | Hope Bay Technologies Inc | Method for monitoring and handling abnormal state of physical machine in cloud system |
| TWI621013B (en) * | 2017-03-22 | 2018-04-11 | 廣達電腦股份有限公司 | Systems for monitoring application servers |
| CN110083508A (en) * | 2019-04-30 | 2019-08-02 | 中国银联股份有限公司 | A kind of data monitoring method and device |
| CN110134385A (en) * | 2019-05-17 | 2019-08-16 | 中国农业银行股份有限公司 | Record the method and C language general journal frame of C language function call chain |
| CN110727533A (en) * | 2019-09-26 | 2020-01-24 | 华青融天(北京)软件股份有限公司 | A method, apparatus, device and medium for alerting |
| CN111400294A (en) * | 2020-03-12 | 2020-07-10 | 时时同云科技(成都)有限责任公司 | Data anomaly monitoring method, device and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112231174A (en) | 2021-01-15 |
| CN112231174B (en) | 2024-02-23 |
| WO2022068549A1 (en) | 2022-04-07 |
| TW202215243A (en) | 2022-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI819385B (en) | Abnormal alarm methods, devices, equipment and storage media | |
| CN109062809B (en) | Online test case generation method and device and electronic equipment | |
| CN109992473B (en) | Application system monitoring method, device, equipment and storage medium | |
| CN115328733B (en) | Alarm method, device, electronic device and storage medium applied to business system | |
| US10942765B2 (en) | Automated monitoring and auditing failed and recovered batch data tasks | |
| CN114595765B (en) | Data processing method, device, electronic device and storage medium | |
| CN111340062A (en) | Mapping relation determining method and device | |
| CN112764957A (en) | Application fault delimiting method and device | |
| CN111371633A (en) | Detection method, device, equipment and medium for abnormal usage of IoT card | |
| CN116560882A (en) | Fault root cause location method, device, equipment and computer storage medium | |
| CN116431505A (en) | Regression testing method and device, electronic equipment, storage medium and product | |
| CN111401959A (en) | Risk group prediction method and device, computer equipment and storage medium | |
| CN114844762A (en) | Alarm authenticity detection method and device | |
| CN111815442B (en) | Link prediction method and device and electronic equipment | |
| CN114050941A (en) | Defect account detection method and system based on kernel density estimation | |
| US20250036971A1 (en) | Managing data processing system failures using hidden knowledge from predictive models | |
| CN115378589B (en) | Method, apparatus, device and medium for testing randomness of binary key | |
| CN111506455A (en) | Method and device for checking service release result | |
| CN113298345B (en) | Abnormal behavior detection method, abnormal behavior detection device, electronic device and medium | |
| CN117811796A (en) | Industrial control network access control method, device, equipment and storage medium | |
| CN111292094A (en) | Complaint early warning method, device, equipment and medium based on big data technology | |
| CN115237736A (en) | Data mart anomaly detection method and device, computer equipment and storage medium | |
| CN112860539B (en) | Model evaluation detection method and device | |
| CN110008098B (en) | Method and device for evaluating operation condition of nodes in business process | |
| CN111176931A (en) | Operation monitoring method, operation monitoring device, server and storage medium |