WO2022262725A1 - Event analysis method and apparatus thereof - Google Patents

Event analysis method and apparatus thereof Download PDF

Info

Publication number
WO2022262725A1
WO2022262725A1 PCT/CN2022/098692 CN2022098692W WO2022262725A1 WO 2022262725 A1 WO2022262725 A1 WO 2022262725A1 CN 2022098692 W CN2022098692 W CN 2022098692W WO 2022262725 A1 WO2022262725 A1 WO 2022262725A1
Authority
WO
WIPO (PCT)
Prior art keywords
event
historical data
time
probability
analysis
Prior art date
Application number
PCT/CN2022/098692
Other languages
French (fr)
Chinese (zh)
Inventor
郭峻逍
王宇辰
汪嘉诚
李英明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022262725A1 publication Critical patent/WO2022262725A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/16Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using machine learning or artificial intelligence

Abstract

The present application belongs to the technical field of correlation analysis. Disclosed are an event analysis method and an apparatus thereof. The method comprises: acquiring a query message of a first event, wherein the query message is used for querying target information of a second event, the second event is generated by the triggering of the first event, the first event is an event that has occurred at a first time, the second event is a predicted event that does not occur at the first time, and the first time is less than or equal to the time in which the query message is acquired; and obtaining the target information on the basis of the query message, wherein the target information comprises an event identifier, the probability of being triggered and/or a predicted occurrence time of the second event. By means of the present application, the diverse analysis of a correlation between events is realized, and analysis functions for events having a correlation are enriched.

Description

一种事件分析的方法及其装置A method and device for event analysis
本申请要求于2021年06月18日提交的申请号为202110680951.8、发明名称为“一种事件分析的方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This application claims the priority of the Chinese patent application with the application number 202110680951.8 and the title of the invention "A method and device for event analysis" submitted on June 18, 2021, the entire contents of which are incorporated in this disclosure by reference.
技术领域technical field
本申请涉及关联性分析技术领域,特别涉及一种事件分析的方法及其装置。The present application relates to the technical field of correlation analysis, in particular to an event analysis method and device thereof.
背景技术Background technique
随着运营商网络规模的快速扩张和增长,运营商网络的网络拓扑结构和拓扑逻辑日益复杂,网络故障也随之更加频繁,导致运维人员对网络中的故障进行定位和确定故障之间的关联性造成了巨大的压力。With the rapid expansion and growth of the operator's network scale, the network topology and topology logic of the operator's network are becoming more and more complex, and network faults are also more frequent, which requires the operation and maintenance personnel to locate faults in the network and determine the relationship between faults. Relevance creates enormous stress.
相关技术中,可以采用聚类的方法确定故障之间的关联性。例如,可以对已出现的多个故障进行特征提取,并针对提取的特征信息对多个故障进行聚类,被分为一类的故障视为具有关联性。In related technologies, a clustering method may be used to determine the correlation between faults. For example, feature extraction can be performed on multiple faults that have occurred, and multiple faults can be clustered according to the extracted feature information, and the faults classified into one category are considered to be related.
然而,该聚类方法仅能够确定故障之间是否具有关联性,其功能较单一。However, this clustering method can only determine whether there is correlation between faults, and its function is relatively single.
发明内容Contents of the invention
本申请提供了一种事件分析的方法及其装置,通过该方法获得的事件分析结果包括被触发事件的触发概率和/或预测发生时间,其分析结果直观的反映了关联性事件的分析结果,丰富了对具有关联性的事件的分析功能。本申请提供的技术方案如下:The present application provides an event analysis method and its device. The event analysis results obtained by the method include the trigger probability and/or predicted occurrence time of the triggered event, and the analysis results intuitively reflect the analysis results of related events. The analysis function for related events is enriched. The technical scheme that this application provides is as follows:
第一方面,本申请提供了一种事件分析的方法,该方法应用于通信设备,该方法包括:获取第一事件的查询消息,查询消息用于查询第二事件的目标信息,第二事件是第一事件触发生成的,第一事件为在第一时间已发生的事件,第二事件为在第一时间未发生的预测事件,第一时间小于或等于获取到查询消息的时间;基于查询消息,获得目标信息,目标信息包括第二事件的事件标识、触发概率和/或预测发生时间。In a first aspect, the present application provides an event analysis method, which is applied to a communication device, and the method includes: acquiring a query message of a first event, the query message is used to query target information of a second event, and the second event is Triggered by the first event, the first event is an event that has occurred at the first time, the second event is a predicted event that has not occurred at the first time, and the first time is less than or equal to the time when the query message is obtained; based on the query message , to obtain target information, where the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event.
在本申请提供的事件分析的方法中,由于该方法能够对由第一事件触发且未发生的第二事件进行预测,及对该第二事件的触发概率和预测发生时间中的至少一个进行预测,相对于相关技术,不仅能够对事件之间是否具有关联性进行分析,还能够分析具有关联性的事件中被触发事件的触发概率和预测发生时间中的至少一个,其分析结果直观的反映了关联性事件的分析结果,且可解释性强,实现了对事件之间关联性的多样性分析,丰富了对具有关联性的事件的分析功能。In the event analysis method provided by the present application, since the method can predict the second event that is triggered by the first event and has not occurred, and predict at least one of the trigger probability and the predicted occurrence time of the second event , compared with related technologies, it is not only able to analyze whether there is correlation between events, but also to analyze at least one of the trigger probability and predicted occurrence time of triggered events among correlated events. The analysis results intuitively reflect the The analysis results of related events are highly interpretable, which realizes the diversity analysis of the correlation between events and enriches the analysis function of related events.
可选地,查询消息包括筛选条件,包括筛选条件的查询消息用于查询满足筛选条件的目标信息,筛选条件包括以下一个或多个:时间条件、概率条件和设备条件。通过设置筛选条件,能够根据筛选条件进行更有针对性地进行查询。Optionally, the query message includes a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition, and the filter condition includes one or more of the following: time condition, probability condition, and device condition. By setting filter conditions, you can perform more targeted queries based on the filter conditions.
其中,设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者,设备条件用于指示与第二事件发生具有关联性的设备。Wherein, the device condition includes one or more of the following device attributes: device identifier, the area where the device is located, the device type, the network topology where the device is located, the manufacturer of the device, and the user of the device. A device with an association occurs.
作为一种可实现方式,查询消息基于用户在查询界面输入的查询参数得到,或者,基于 用户在查询界面选择的界面组件得到,或者,通过应用编程接口从第三方系统得到。As a possible implementation, the query message is obtained based on the query parameters input by the user on the query interface, or based on the interface components selected by the user on the query interface, or obtained from a third-party system through the application programming interface.
可选地,在基于查询消息,获得目标信息之前,该事件分析的方法还包括:获取通信设备管理的事件中在第一时间已发生事件的第一历史数据,第一历史数据包括:已发生事件的标识和已发生事件的发生时间,第一历史数据包括第一事件的历史数据和第三事件的历史数据,第三事件为在第一时间已发生事件中,与第二事件具有相同标识的事件。相应的,获得目标信息,包括:对第一历史数据进行分析,获得目标信息。Optionally, before obtaining the target information based on the query message, the event analysis method further includes: obtaining first historical data of events that have occurred at the first time in the events managed by the communication device, the first historical data includes: The identification of the event and the occurrence time of the event that has occurred. The first historical data includes the historical data of the first event and the historical data of the third event. The third event is an event that has occurred at the first time and has the same identification as the second event event. Correspondingly, obtaining the target information includes: analyzing the first historical data to obtain the target information.
由此可知,该方法实际是根据事件发生的历史数据,统计一个事件引起另一事件发生的规律,并根据该规律对事件之间的关联性进行分析,相对于根据专家经验得到的规则对事件进行关联性分析的相关技术,能够对更多种情况的事件之间的关联性进行分析,保证了该方法的适用范围,且无需注入专家经验。且由于该方法不是根据专家经验得到的规律进行分析,则不需要根据网络的扩展进行规则的同步,不会影响开发和运维的效率,也不会引起实现成本和误码率的增加。It can be seen that this method is actually based on the historical data of the event, counting the law of one event causing another event, and analyzing the correlation between events according to the law, compared with the rules obtained from expert experience. Related technologies for correlation analysis can analyze the correlation between events in more situations, ensuring the scope of application of the method without injecting expert experience. And because this method is not based on the rules obtained by expert experience, it does not need to synchronize the rules according to the expansion of the network, which will not affect the efficiency of development and operation and maintenance, and will not cause the increase of implementation cost and bit error rate.
并且,第一历史数据中的必需信息为已发生事件的标识和已发生事件的发生时间,相对于其他分析事件之间关联性的相关技术,降低了对分析所参考的数据的要求,能够提高分析的泛化能力。Moreover, the necessary information in the first historical data is the identification of the event that has occurred and the time of occurrence of the event that has occurred. Compared with other related technologies that analyze the correlation between events, the requirements for the data referred to in the analysis are reduced, and the data can be improved. The generalization ability of the analysis.
其中,对第一历史数据进行分析,获得目标信息,包括:基于第一历史数据和分析模型,获得目标信息。可选地,该分析模型可以属于人工智能模型。Wherein, analyzing the first historical data to obtain target information includes: obtaining target information based on the first historical data and an analysis model. Optionally, the analysis model may belong to an artificial intelligence model.
进一步的,对第一历史数据进行分析,获得目标信息,包括:基于第一历史数据、分析指示信息和分析模型,获得目标信息,分析指示信息用于指示将第一事件作为触发第二事件发生的前置事件。Further, analyzing the first historical data to obtain target information includes: obtaining target information based on the first historical data, analysis indication information, and analysis model, where the analysis indication information is used to indicate that the first event is used as a trigger for the second event to occur preceding events.
需要说明的是,在利用分析模型进行分析时,也可以不向分析模型输入分析指示信息,此时该分析指示信息指示的内容可以由分析模型对第一历史数据进行分析得到。It should be noted that when the analysis model is used for analysis, the analysis instruction information may not be input into the analysis model. At this time, the content indicated by the analysis instruction information can be obtained by analyzing the first historical data by the analysis model.
可选地,与第一事件具有关联性的第二事件包括一个或多个,基于第一历史数据、分析指示信息和分析模型,获得目标信息,包括:对第一历史数据进行预筛选,得到第一事件的历史数据和任一第三事件的历史数据,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;将分析指示信息、第一事件的历史数据和任一第三事件的历史数据输入分析模型,得到分析模型输出的任一第二事件的目标信息。Optionally, the second event associated with the first event includes one or more, and obtaining target information based on the first historical data, analysis indication information, and analysis model includes: pre-screening the first historical data to obtain The historical data of the first event and the historical data of any third event, any third event is an event that has the same identification as any second event among the events that have occurred at the first time; the indication information, the first event will be analyzed The historical data of the event and the historical data of any third event are input into the analysis model, and the target information of any second event output by the analysis model is obtained.
通过预先对第一历史数据进行预筛选,并向分析模型提供经过预筛选的数据,能够减小分析模型需要处理的数据量,保证分析模型进行分析的速度。By pre-screening the first historical data in advance and providing the pre-screened data to the analysis model, the amount of data to be processed by the analysis model can be reduced, and the analysis speed of the analysis model can be ensured.
进一步地,通信设备在对第一历史数据进行预筛选后,还可以对该第一历史数据进行统计,并向分析模型提供统计得到的数据,使得分析模型根据统计得到的数据进行分析,以减小分析模型进行分析需要处理的数据量。Further, after the communication device pre-screens the first historical data, it may also perform statistics on the first historical data, and provide the statistically obtained data to the analysis model, so that the analysis model performs analysis according to the statistically obtained data, so as to reduce The amount of data that needs to be processed for analysis by a small analytical model.
在一种可实现方式中,对第一历史数据进行统计的实现过程可以包括:根据第三事件的历史数据,记录该第三事件的发生时刻,并在第一事件的历史数据中,以第三事件每次的发生时刻为起点,沿着时间倒退的方向,统计每次在第三事件发生之前第一事件的发生时刻,得到对应的第三事件与第一事件的发生时刻的时间差,并分别统计不同时间差出现的总次数。并且,为保证数据的有效性,在进行统计时,还可以限定统计每次在第三事件发生之前的指定时间窗口内第一事件的发生时刻。例如,可以限定每次在第三事件发生之前的一分钟内第一事件的发生时刻。In a practicable manner, the implementation process of performing statistics on the first historical data may include: recording the occurrence moment of the third event according to the historical data of the third event, and using the historical data of the first event to The occurrence time of each of the three events is taken as the starting point, along the direction of time regression, count the occurrence time of the first event before the third event, and obtain the corresponding time difference between the third event and the first event, and The total number of occurrences of different time differences are counted separately. Moreover, in order to ensure the validity of the data, when performing statistics, the time of occurrence of the first event within a specified time window before the occurrence of the third event can also be limited and counted. For example, the occurrence time of the first event within one minute before the occurrence of the third event may be limited each time.
需要说明的是,分析模型可以为经过预训练的模型,该经过预训练的模型能够根据第一事件的历史数据和该第三事件的历史数据,得到第一事件触发该第三事件对应的任一第二事件的目标信息。因此,在使用分析模型获取目标信息之前,还需要对该分析模型进行训练。在一种可实现方式中,在基于第一历史数据、分析指示信息和分析模型,获得目标信息之前,该事件分析的方法还包括:基于第一事件的历史数据和任一第三事件的历史数据,获取第一事件触发任一第三事件的概率随时间变化的参考数据,与第一事件具有关联性的第二事件包括一个或多个,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;获取第一事件触发任一第三事件的概率随时间变化的初始化数据,初始化数据通过对第一事件和任一第三事件的发生概率进行初始化得到;基于参考数据和初始化数据,对分析模型进行训练。It should be noted that the analysis model may be a pre-trained model, and the pre-trained model can obtain any event corresponding to the first event triggering the third event based on the historical data of the first event and the historical data of the third event. Target information of a second event. Therefore, before using the analysis model to obtain target information, the analysis model needs to be trained. In a practicable manner, before obtaining the target information based on the first historical data, analyzing the indication information and the analysis model, the event analysis method further includes: based on the historical data of the first event and the history of any third event Data, to obtain the reference data of the probability of the first event triggering any third event over time, the second event associated with the first event includes one or more, and any third event has occurred at the first time Among the events, the event with the same identity as any second event; obtain the initialization data of the probability that the first event triggers any third event over time, and the initialization data is based on the occurrence probability of the first event and any third event It is obtained by initialization; based on the reference data and initialization data, the analysis model is trained.
可选地,获取第一事件触发任一第三事件的概率随时间变化的初始化数据,包括:基于第一事件的历史数据和任一第三事件的历史数据,统计任一第三事件在第一事件发生指定时长后发生的总次数;基于总次数获取时间特征点,第一历史数据指示第一事件在时间特征点触发任一第三事件的概率大于或等于参考概率阈值;在时间特征点对第一事件触发任一第三事件的概率进行第一初始化;分别对第一事件和任一第三事件在指定时间段中发生的概率进行第二初始化;基于第一初始化的结果和第二初始化的结果,得到第一事件触发任一第三事件发生的概率随时间变化的初始化数据。Optionally, obtaining the initialization data of the probability of the first event triggering any third event over time includes: based on the historical data of the first event and the historical data of any third event, counting any third event at The total number of occurrences of an event after a specified time period; based on the total number of time feature points, the first historical data indicates that the probability of the first event triggering any third event at the time feature point is greater than or equal to the reference probability threshold; at the time feature point The first initialization is performed on the probability that the first event triggers any third event; the second initialization is performed on the probability that the first event and any third event occur within a specified time period respectively; based on the result of the first initialization and the second As a result of the initialization, the initialization data of the probability that the first event triggers any third event occurring over time is obtained.
需要说明的是,当第一事件的历史数据和第三事件的历史数据反映第三事件具有延迟概率时,在获取初始化数据的过程中还需要对该延迟概率进行第三初始化,相应的,该初始化数据还需要体现该第三初始化的结果。在一种可实现方式中,可以随机化地对该延迟概率进行初始化。It should be noted that when the historical data of the first event and the historical data of the third event reflect that the third event has a delay probability, a third initialization of the delay probability is also required in the process of obtaining the initialization data. Correspondingly, the The initialization data also needs to reflect the result of the third initialization. In an implementable manner, the delay probability may be initialized randomly.
当根据历史数据确定第三事件具有延迟概率时,通过对该延迟概率进行第三初始化,可使根据初始化数据得到的第一事件触发第三事件的概率随时间变化的情况,能够更好地拟合根据历史数据得到的第一事件触发第三事件的概率随时间变化的情况,使得分析模型的训练结果更优,保证分析模型的性能。When the third event is determined to have a delay probability according to the historical data, by performing a third initialization on the delay probability, the probability of the first event triggering the third event obtained according to the initialization data can be better simulated when the probability of the third event is triggered by the initialization data. Combined with the fact that the probability of the first event triggering the third event obtained from historical data changes with time, the training result of the analysis model is better, and the performance of the analysis model is guaranteed.
获取时间特征点的实现方式有多种,本申请以以下三种实现方式为例,对其实现方式进行说明。There are many ways to realize the acquisition of time feature points. This application uses the following three ways of realization as examples to describe the way of realization.
在第一种可实现方式中,可以根据总次数和总次数的变化情况,获取时间特征点。例如,可以分别获取第三事件在第一事件发生指定时长t1、t1+1和t1-1后发生的总次数,并获取第三事件在第一事件发生指定时长t1-1后发生的总次数相对于在指定时长t1后发生的总次数的第一变化梯度,并获取第三事件在第一事件发生指定时长t1后发生的总次数相对于在指定时长t1+1后发生的总次数的第二变化梯度,并在该第三事件在第一事件发生指定时长t1后发生的总次数分别大于在第一事件发生指定时长t1-1和t1+1后发生的总次数,且第一变化梯度和第二变化梯度均大于指定梯度阈值时,将该指定时长t1确定为时间特征点。In the first practicable manner, time feature points may be obtained according to the total number of times and the change of the total number of times. For example, the total number of occurrences of the third event after the specified duration t1, t1+1, and t1-1 of the first event can be obtained respectively, and the total number of occurrences of the third event after the specified duration of t1-1 of the first event can be obtained Relative to the first change gradient of the total number of occurrences after the specified time length t1, and obtain the third event’s total number of occurrences after the first event occurs with the specified time length t1 relative to the total number of occurrences after the specified time length t1+1 Two change gradients, and the total number of occurrences of the third event after the specified time length t1 of the first event is greater than the total number of occurrences of the first event after the specified time length t1-1 and t1+1, and the first change gradient and the second change gradient are greater than the specified gradient threshold, the specified time length t1 is determined as the time feature point.
在第二种可实现方式中,可以在产生第一事件的历史数据和第三事件的历史数据的产生时间段中,采用滑窗的方式获取时间特征点。其实现过程包括:设置具有一定时长的时间窗口,及该时间窗口在该产生时间段中滑动的滑动步长,控制该时间窗口从该时间段的起点开始沿着该产生时间段的发展方向按照滑动步长进行滑动,当时间窗口每滑动至一个位置处时,在该时间窗口覆盖到的产生时间段的子时间段内,统计该子时间段内所有时间点处第三事件 在第一事件发生指定时长后发生的第一总次数,并统计该产生时间段中所有时间点处第三事件在第一事件发生指定时长后发生的第二总次数,当该第一总次数达到该第二总次数的百分比达到百分比阈值时,将该子时间段的时间中心点确定为时间特征点。In the second practicable manner, the time feature points may be acquired in a sliding window manner during the generation time period of the historical data of the first event and the historical data of the third event. The implementation process includes: setting a time window with a certain duration, and the sliding step of the time window sliding in the generation time period, controlling the time window from the starting point of the time period along the development direction of the generation time period according to The sliding step is used to slide. When the time window slides to a position, in the sub-time period of the generation time period covered by the time window, the third event at all time points in the sub-time period is counted in the first event The first total number of occurrences after the specified time period occurs, and the second total number of occurrences of the third event at all time points in the generation time period after the specified time period of the first event occurs, when the first total number reaches the second When the percentage of the total times reaches the percentage threshold, the time center point of the sub-time period is determined as the time feature point.
在第三种可实现方式中,可以先根据第一事件的历史数据和第三事件的历史数据,确定第三事件在第一事件发生指定时长后发生的总次数的最大值,并设置该最大值的抖动阈值,然后在产生第一事件的历史数据和第三事件的历史数据的产生时间段中,筛选第三事件在第一事件发生指定时长后发生的总次数达到该最大值的抖动阈值范围内的时间点,并将筛选出来的时间点确定为时间特征点。In the third practicable way, first, according to the historical data of the first event and the historical data of the third event, determine the maximum value of the total number of occurrences of the third event after the specified time period of the first event, and set the maximum value, and then in the generation time period when the historical data of the first event and the historical data of the third event are generated, filter the jitter threshold where the total number of occurrences of the third event reaches the maximum value after the first event occurs for a specified time period Time points within the range, and the filtered time points are determined as time feature points.
第二方面,本申请提供了一种事件分析的装置,该装置包括:交互模块,用于获取第一事件的查询消息,查询消息用于查询第二事件的目标信息,第二事件是第一事件触发生成的,第一事件为在第一时间已发生的事件,第二事件为在第一时间未发生的预测事件,第一时间小于或等于获取到查询消息的时间;获得模块,用于基于查询消息,获得目标信息,目标信息包括第二事件的事件标识、触发概率和/或预测发生时间。In a second aspect, the present application provides an event analysis device, which includes: an interaction module, used to obtain a query message of a first event, the query message is used to query target information of a second event, and the second event is the first Generated by event triggering, the first event is an event that has occurred at the first time, the second event is a predicted event that has not occurred at the first time, and the first time is less than or equal to the time when the query message is obtained; the obtaining module is used to Based on the query message, target information is obtained, where the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event.
可选地,查询消息包括筛选条件,包括筛选条件的查询消息用于查询满足筛选条件的目标信息,筛选条件包括以下一个或多个:时间条件、概率条件和设备条件。Optionally, the query message includes a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition, and the filter condition includes one or more of the following: time condition, probability condition, and device condition.
其中,设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者,设备条件用于指示与第二事件发生具有关联性的设备。Wherein, the device condition includes one or more of the following device attributes: device identifier, the area where the device is located, the device type, the network topology where the device is located, the manufacturer of the device, and the user of the device. A device with an association occurs.
可选地,查询消息基于用户在查询界面输入的查询参数得到,或者,基于用户在查询界面选择的界面组件得到,或者,通过应用编程接口API从第三方系统得到。Optionally, the query message is obtained based on query parameters input by the user on the query interface, or based on interface components selected by the user on the query interface, or obtained from a third-party system through an application programming interface API.
可选地,获得模块,还用于:获取该装置管理的事件中在第一时间已发生事件的第一历史数据,第一历史数据包括:已发生事件的标识和已发生事件的发生时间,第一历史数据包括第一事件的历史数据和第三事件的历史数据,第三事件为在第一时间已发生事件中,与第二事件具有相同标识的事件;相应的,获得模块,具体用于:对第一历史数据进行分析,获得目标信息。Optionally, the obtaining module is further configured to: obtain first historical data of events that have occurred at the first time in the events managed by the device, where the first historical data includes: the identifier of the occurred event and the occurrence time of the occurred event, The first historical data includes the historical data of the first event and the historical data of the third event, and the third event is an event that has the same identifier as the second event among the events that have occurred at the first time; correspondingly, the obtaining module specifically uses In: analyzing the first historical data to obtain target information.
可选地,获得模块,具体用于:基于第一历史数据和分析模型,获得目标信息。在一种可实现方式中,分析模型属于人工智能模型。Optionally, the obtaining module is specifically configured to: obtain target information based on the first historical data and the analysis model. In one possible implementation, the analysis model is an artificial intelligence model.
可选地,获得模块,具体用于:基于第一历史数据、分析指示信息和分析模型,获得目标信息,分析指示信息用于指示将第一事件作为触发第二事件发生的前置事件。Optionally, the obtaining module is specifically configured to: obtain target information based on the first historical data, analysis indication information, and analysis model, where the analysis indication information is used to indicate that the first event is used as a pre-event that triggers the occurrence of the second event.
可选地,与第一事件具有关联性的第二事件包括一个或多个,获得模块,具体用于:对第一历史数据进行预筛选,得到第一事件的历史数据和任一第三事件的历史数据,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;将分析指示信息、第一事件的历史数据和任一第三事件的历史数据输入分析模型,得到分析模型输出的任一第二事件的目标信息。Optionally, the second event associated with the first event includes one or more obtaining modules, specifically for: pre-screening the first historical data to obtain the historical data of the first event and any third event Any third event is an event that has the same identifier as any second event among the events that have occurred at the first time; the indication information, the historical data of the first event and the history of any third event will be analyzed The data is input into the analysis model, and the target information of any second event output by the analysis model is obtained.
可选地,该装置还包括:训练模块,训练模块用于:基于第一事件的历史数据和任一第三事件的历史数据,获取第一事件触发任一第三事件的概率随时间变化的参考数据,与第一事件具有关联性的第二事件包括一个或多个,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;获取第一事件触发任一第三事件的概率随时间变化的初始化数据,初始化数据通过对第一事件和任一第三事件的发生概率进行初始化得到;基于参 考数据和初始化数据,对分析模型进行训练。Optionally, the device further includes: a training module, the training module is used to: based on the historical data of the first event and the historical data of any third event, obtain the probability of the first event triggering any third event as a function of time. Reference data, the second event associated with the first event includes one or more, any third event is an event that has the same identity as any second event among the events that have occurred at the first time; obtain the first The initialization data of the probability that the event triggers any third event changes with time, and the initialization data is obtained by initializing the occurrence probability of the first event and any third event; based on the reference data and the initialization data, the analysis model is trained.
可选地,训练模块具体用于:基于第一事件的历史数据和任一第三事件的历史数据,统计任一第三事件在第一事件发生指定时长后发生的总次数;基于总次数获取时间特征点,第一历史数据指示第一事件在时间特征点触发任一第三事件的概率大于或等于参考概率阈值;在时间特征点对第一事件触发任一第三事件的概率进行第一初始化;分别对第一事件和任一第三事件在指定时间段中发生的概率进行第二初始化;基于第一初始化的结果和第二初始化的结果,得到第一事件触发任一第三事件发生的概率随时间变化的初始化数据。Optionally, the training module is specifically used to: based on the historical data of the first event and the historical data of any third event, count the total number of occurrences of any third event after the first event occurs for a specified time period; obtain Time feature point, the first historical data indicates that the probability of the first event triggering any third event at the time feature point is greater than or equal to the reference probability threshold; the probability of the first event triggering any third event at the time feature point is the first Initialization; respectively perform second initialization on the probability of occurrence of the first event and any third event in a specified time period; based on the result of the first initialization and the result of the second initialization, it is obtained that the first event triggers the occurrence of any third event The probability of the initialization data varies over time.
第三方面,本申请提供了一种分析设备,分析设备包括:处理器和存储器,存储器中存储有计算机程序;处理器执行计算机程序时,分析设备实现本申请第一方面及任一可选的实现方式提供的方法。可选地,该分析设备可以为计算机设备。In a third aspect, the present application provides an analysis device. The analysis device includes: a processor and a memory, and a computer program is stored in the memory; when the processor executes the computer program, the analysis device implements the first aspect of the application and any optional The method provided by the implementation. Optionally, the analysis device may be a computer device.
第四方面,本申请提供了一种非瞬态的计算机可读存储介质,当该计算机可读存储介质中的指令被处理器执行时,实现本申请第一方面及任一可选的实现方式提供的方法。In a fourth aspect, the present application provides a non-transitory computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor, the first aspect of the present application and any optional implementation manner are realized provided method.
第五方面,本申请提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请第一方面及任一可选的实现方式提供的方法。In a fifth aspect, the present application provides a computer program product including instructions, which, when the computer program product is run on a computer, cause the computer to execute the method provided in the first aspect of the present application and any optional implementation manner.
附图说明Description of drawings
图1是本申请实施例提供的一种事件分析的方法涉及的应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario involved in an event analysis method provided in an embodiment of the present application;
图2是本申请实施例提供的另一种事件分析的方法涉及的应用场景的示意图;FIG. 2 is a schematic diagram of an application scenario involved in another event analysis method provided by an embodiment of the present application;
图3是本申请实施例提供的再一种事件分析的方法涉及的应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario involved in another event analysis method provided by an embodiment of the present application;
图4是本申请实施例提供的一种事件分析的方法的流程图;FIG. 4 is a flow chart of a method for event analysis provided by an embodiment of the present application;
图5是本申请实施例提供的一种用于得到查询消息的图形用户界面的示意图;FIG. 5 is a schematic diagram of a graphical user interface for obtaining query messages provided by an embodiment of the present application;
图6是本申请实施例提供的另一种用于得到查询消息的图形用户界面的示意图;FIG. 6 is a schematic diagram of another graphical user interface for obtaining query messages provided by the embodiment of the present application;
图7为本申请实施例提供的一种在第一事件发生的情况下,第二事件在不同时间的触发频率的波形图;FIG. 7 is a waveform diagram of the trigger frequency of the second event at different times when the first event occurs according to the embodiment of the present application;
图8是本申请实施例提供的一种在第一事件发生的情况下,第二事件在不同时间发生的频率的实际波形图和分析模型分析得到的仿真波形图的对比示意图;Fig. 8 is a schematic diagram of the comparison between the actual waveform diagram of the frequency of the second event occurring at different times and the simulation waveform diagram analyzed by the analysis model provided by the embodiment of the present application;
图9是本申请实施例提供的一种分析模型的训练过程的流程图;FIG. 9 is a flow chart of a training process of an analysis model provided by an embodiment of the present application;
图10是本申请实施例提供的一种获取第一事件触发第三事件的概率随时间变化的初始化数据的流程图;Fig. 10 is a flow chart of obtaining initialization data of the probability that the first event triggers the third event varies with time provided by the embodiment of the present application;
图11是本申请实施例提供的一种事件分析装置的结构示意图;FIG. 11 is a schematic structural diagram of an event analysis device provided in an embodiment of the present application;
图12是本申请实施例提供的另一种事件分析装置的结构示意图;Fig. 12 is a schematic structural diagram of another event analysis device provided in the embodiment of the present application;
图13是本申请实施例提供的一种计算机设备的结构示意图。FIG. 13 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例提供了一种事件分析的方法,该方法能够获取第一事件的查询消息,并基于查询消息获得第二事件的目标信息。其中,第二事件为能够由第一事件触发且未发生的事件,该目标信息包括第二事件的事件标识、触发概率和/或预测发生时间。因此,该方法能够 对由第一事件触发且未发生的第二事件进行预测,并对该第二事件的触发概率和预测发生时间中的至少一个进行预测,相对于相关技术,不仅能够对事件之间是否具有关联性进行分析,还能够分析具有关联性的事件中被触发事件的触发概率和预测发生时间中的至少一个,其分析结果直观的反映了关联性事件的分析结果,且可解释性强,实现了对事件之间关联性的多样性分析,丰富了对具有关联性的事件的分析功能。其中,当该方法能够预测具有关联性的事件中被触发事件的触发概率和预测发生时间时,能够使用户更详细地了解被触发时间在何时会以多大的概率被触发,能够便于对被触发事件的发生情况有更详细的了解。An embodiment of the present application provides an event analysis method, which can obtain a query message of a first event, and obtain target information of a second event based on the query message. Wherein, the second event is an event that can be triggered by the first event but has not occurred, and the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event. Therefore, the method can predict the second event that is triggered by the first event and does not occur, and predict at least one of the trigger probability and the predicted occurrence time of the second event. Compared with related technologies, not only the event It can also analyze at least one of the trigger probability and predicted occurrence time of the triggered event among the related events. The analysis results intuitively reflect the analysis results of the related events and can be interpreted It is strong, realizes the diversity analysis of the correlation between events, and enriches the analysis function of related events. Among them, when the method can predict the trigger probability and the predicted occurrence time of the triggered event among the related events, it can enable the user to understand in more detail when and with what probability the triggered event will be triggered, and can facilitate the analysis of the triggered event. A more detailed understanding of the occurrence of triggering events.
图1是本申请实施例提供的一种事件分析的方法涉及的应用场景的示意图。如图1所示,该应用场景包括:第一设备01和第二设备02。其中,第一设备01和第二设备02之间通过有线或无线网络建立有通信连接。第二设备02用于向第一设备01提供事件的历史数据。第一设备01用于基于事件的历史数据,执行本申请实施例提供的事件分析的方法。FIG. 1 is a schematic diagram of an application scenario involved in an event analysis method provided by an embodiment of the present application. As shown in FIG. 1 , the application scenario includes: a first device 01 and a second device 02 . Wherein, a communication connection is established between the first device 01 and the second device 02 through a wired or wireless network. The second device 02 is used for providing historical data of events to the first device 01 . The first device 01 is configured to execute the event analysis method provided in the embodiment of the present application based on historical event data.
可选地,第一设备01可以是计算机或服务器等具有计算功能的通信设备。其中,服务器可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。第二设备02可以为计算机、服务器、网络设备(如网关设备或网元设备)、个人电脑、云主机、便携式移动终端、多媒体播放器、电子书阅读器或可穿戴式设备等。Optionally, the first device 01 may be a communication device with a computing function such as a computer or a server. Wherein, the server may be a server, or a server cluster composed of several servers, or a cloud computing service center. The second device 02 may be a computer, a server, a network device (such as a gateway device or a network element device), a personal computer, a cloud host, a portable mobile terminal, a multimedia player, an e-book reader or a wearable device, etc.
该应用场景可以包括一个或多个第二设备02。在第一种应用场景中,该应用场景包括一个第二设备02,该第二设备02可以收集第一设备01管理的所有事件的历史数据,并向第一设备01提供该历史数据。此时,如图1所示,该应用场景还可以包括多个第三设备03,每个第三设备02和第二设备02之间均通过有线或无线网络建立有通信连接。每个第三设备03用于向该第二设备02提供与该第三设备03关联的事件的历史数据。可选的,第三设备03可以为计算机、服务器、网络设备(如网关设备或网元设备)、个人电脑、云主机、便携式移动终端、多媒体播放器、电子书阅读器或可穿戴式设备等。The application scenario may include one or more second devices 02 . In the first application scenario, the application scenario includes a second device 02 that can collect historical data of all events managed by the first device 01 and provide the historical data to the first device 01 . At this time, as shown in FIG. 1 , the application scenario may further include multiple third devices 03 , and a communication connection is established between each third device 02 and the second device 02 through a wired or wireless network. Each third device 03 is configured to provide the second device 02 with historical data of events associated with the third device 03 . Optionally, the third device 03 may be a computer, a server, a network device (such as a gateway device or a network element device), a personal computer, a cloud host, a portable mobile terminal, a multimedia player, an e-book reader or a wearable device, etc. .
例如,假设需要分析关联性的事件为网络中的网络故障时,该第一种应用场景可以包括:一个第一设备01、一个第二设备02和多个第三设备03。第一设备01和第二设备02均可以为用于进行运维管理的服务器,第三设备03可以为网络设备,用于在网络中进行数据传输。第三设备03用于在进行数据传输的过程中,根据数据传输情况确定网络中是否存在网络故障,并在确定存在网络故障时,向第二设备02上报网络故障及相关数据,如通过告警的方式向第二设备02上报网络故障及相关数据。第二设备02用于接收第三设备03上报的网络故障及相关数据,得到网络故障的历史数据,并向第一设备01发送该历史数据。For example, assuming that the event requiring correlation analysis is a network fault in the network, the first application scenario may include: a first device 01 , a second device 02 and multiple third devices 03 . Both the first device 01 and the second device 02 may be servers for operation and maintenance management, and the third device 03 may be a network device for data transmission in the network. The third device 03 is used to determine whether there is a network fault in the network according to the data transmission situation during the data transmission process, and report the network fault and related data to the second device 02 when it is determined that there is a network fault, such as through an alarm The method reports network faults and related data to the second device 02. The second device 02 is configured to receive network faults and related data reported by the third device 03 , obtain historical data of network faults, and send the historical data to the first device 01 .
在第二种应用场景中,如图2所示,该应用场景可以包括多个第二设备02,每个第二设备02用于向第一设备01提供与该第二设备02具有关联性的事件的历史数据。也即是,在该第二种应用场景中,可以认为该第二设备02的功能包括前述第一种应用场景中第二设备02和第三设备03的功能。其中,与第二设备02具有关联性的事件包括由该第二设备02感知到的事件。In the second application scenario, as shown in FIG. 2 , the application scenario may include a plurality of second devices 02, and each second device 02 is used to provide the first device 01 with information associated with the second device 02. Historical data for events. That is, in the second application scenario, it can be considered that the functions of the second device 02 include the functions of the second device 02 and the third device 03 in the aforementioned first application scenario. Wherein, the events associated with the second device 02 include events sensed by the second device 02 .
例如,假设需要分析关联性的事件为网络中的网络故障时,该第二种应用场景可以包括:一个第一设备01和多个第二设备02。第一设备01可以为用于进行运维管理的服务器。第二设备02可以为网络设备,用于在网络中进行数据传输。且第二设备02在进行数据传输的过程中,可以根据数据传输情况确定网络中是否存在网络故障,并在确定存在故障时获取网络故障的相关数据,得到网络故障设备的历史数据,并向第一设备01上报该历史数据。其中, 第二设备02上报的历史数据为与该第二设备02具有关联性的网络故障的历史数据,且网络故障与第二设备02具有关联性是指该网络故障由第二设备02感知到。For example, assuming that the event requiring correlation analysis is a network fault in the network, the second application scenario may include: one first device 01 and multiple second devices 02 . The first device 01 may be a server for operation and maintenance management. The second device 02 may be a network device, configured to perform data transmission in the network. Moreover, during the process of data transmission, the second device 02 can determine whether there is a network fault in the network according to the data transmission situation, and obtain relevant data of the network fault when it is determined that there is a fault, obtain historical data of the network fault device, and send the data to the second device 02. A device 01 reports the historical data. Wherein, the historical data reported by the second device 02 is the historical data of network faults associated with the second device 02, and the correlation between the network fault and the second device 02 means that the network fault is sensed by the second device 02 .
本申请实施例提供的事件分析的方法的实现形式有多种,下面以两种可实现形式为例对其进行说明:There are many implementation forms of the event analysis method provided by the embodiment of the present application, and the following two implementation forms are taken as examples to illustrate them:
在第一种可实现方式中,第一设备01可以为用户拥有的设备。该第一设备01能够使用本申请实施例提供的事件分析的方法,分析该用户具有管理权限的事件之间的关联性。该第一设备01可以获取对具有关联性的事件进行分析所需的相关功能包(如程序安装包),并通过运行该功能包,向用户提供对具有关联性的事件进行分析的功能。其中,对具有关联性的事件进行分析所需的相关功能包,可以由对具有关联性的事件进行分析的服务商提供,用户从服务商处获取该功能包的使用权后,即可从该服务商处获取该功能包。In a first implementable manner, the first device 01 may be a device owned by a user. The first device 01 can use the event analysis method provided in the embodiment of the present application to analyze correlations between events for which the user has management authority. The first device 01 can obtain a related function package (such as a program installation package) required for analyzing related events, and provide the user with a function of analyzing related events by running the function package. Among them, the relevant function package required for analyzing related events can be provided by the service provider for analyzing related events, and after the user obtains the right to use the function package from the service provider, he can use the Obtain the function package from the service provider.
例如,用户可以在第一设备01上下载对具有关联性的事件进行分析所需的程序安装包,并在第一设备01中安装该程序安装包,第一设备01在接收到第一事件的查询消息后,即可运行该对具有关联性的事件进行分析的程序,并使用该程序获取由该第一事件触发的第二事件的事件标识、触发概率和/或预测发生时间等目标信息。For example, the user may download on the first device 01 a program installation package required for analyzing related events, and install the program installation package in the first device 01, and the first device 01 receives the first event After querying the message, the program for analyzing related events can be run, and the program can be used to obtain target information such as event identification, trigger probability and/or predicted occurrence time of the second event triggered by the first event.
在第二种可实现方式中,第一设备01可以为对具有关联性的事件进行分析的服务商拥有的设备。用户能够通过服务商提供的平台向第一设备01发送查询消息,第一设备01能够根据查询消息,向用户提供对具有关联性的事件进行分析的服务。In a second possible implementation manner, the first device 01 may be a device owned by a service provider that analyzes events with relevance. The user can send a query message to the first device 01 through the platform provided by the service provider, and the first device 01 can provide the user with a service of analyzing related events according to the query message.
在一种可实现方式中,第一设备01可以通过云平台中的资源实现。云平台中部署有云服务提供商拥有的基础资源。例如:云平台中部署有计算资源、存储资源和网络资源等,计算资源可以是大量的计算机设备(例如服务器),则第一设备01可以通过云平台中的计算资源实现。此时,如图3所示,本申请实施例提供的事件分析的方法,能够由云服务提供商在云平台抽象成一种分析云服务提供给用户。用户在云平台购买分析云服务后,云平台能够利用云平台中的计算资源,为用户提供该分析云服务。In an implementable manner, the first device 01 may be implemented through resources in a cloud platform. The basic resources owned by the cloud service provider are deployed in the cloud platform. For example: computing resources, storage resources, and network resources are deployed in the cloud platform, and the computing resources can be a large number of computer devices (such as servers), so the first device 01 can be realized by computing resources in the cloud platform. At this time, as shown in FIG. 3 , the event analysis method provided by the embodiment of the present application can be abstracted into an analysis cloud service by the cloud service provider on the cloud platform and provided to the user. After the user purchases the analysis cloud service on the cloud platform, the cloud platform can use the computing resources in the cloud platform to provide the user with the analysis cloud service.
可选地,在本申请实施例中,云平台可以是中心云的云平台,或边缘云的云平台。并且,当该第一设备01采用分布式部署方式进行部署时,该云平台还可以是包括中心云和边缘云的云平台,此时,该第一设备01可以部分部署在边缘云的云平台中,部分部署在中心云的云平台中,本申请实施例对其不做具体限定。另外,以上第一设备01、第二设备02和第三设备03可以为独立的设备,也可以为由独立的设备组成的设备集群,各个计算机设备的实现形式可以根据应用需求确定,本申请实施例对其不做具体限定。Optionally, in this embodiment of the application, the cloud platform may be a cloud platform of a central cloud or a cloud platform of an edge cloud. Moreover, when the first device 01 is deployed in a distributed deployment manner, the cloud platform may also be a cloud platform including a central cloud and an edge cloud. At this time, the first device 01 may be partially deployed on the cloud platform of the edge cloud Among them, some are deployed on the cloud platform of the central cloud, which is not specifically limited in this embodiment of the present application. In addition, the first device 01, the second device 02, and the third device 03 above may be independent devices, or a device cluster composed of independent devices, and the implementation form of each computer device may be determined according to application requirements. The example does not specifically limit it.
应当理解的是,以上内容是对本申请实施例提供的事件分析的方法的应用场景的示例性说明,并不构成对于该事件分析方法的应用场景的限定,本领域普通技术人员可知,随着业务需求的改变,其应用场景可以根据应用需求进行调整,本申请实施例对其不做一一列举。It should be understood that the above content is an exemplary description of the application scenario of the event analysis method provided by the embodiment of the present application, and does not constitute a limitation on the application scenario of the event analysis method. Those of ordinary skill in the art know that as business As requirements change, the application scenarios can be adjusted according to the application requirements, and the embodiments of this application do not list them one by one.
下面对本申请实施例提供的一种事件分析的方法的实现过程进行说明。如图4所示,其实现过程可以包括以下步骤:The implementation process of an event analysis method provided by the embodiment of the present application will be described below. As shown in Figure 4, the implementation process may include the following steps:
步骤401、第一设备获取第一事件的查询消息,查询消息用于查询第二事件的目标信息。In step 401, the first device obtains a query message of a first event, and the query message is used to query target information of a second event.
其中,第二事件是第一事件触发生成的。第一事件为在第一时间已发生的事件。第二事件为在第一时间未发生的预测事件。第一时间小于或等于获取到查询消息的时间,即该第一时间不晚于获取到查询消息的时间。由此可知,查询消息用于查询能够由第一事件触发且还 未发生的第二事件的目标信息。Wherein, the second event is triggered and generated by the first event. The first event is an event that has occurred at the first time. The second event is a predicted event that did not occur at the first time. The first time is less than or equal to the time when the query message is obtained, that is, the first time is no later than the time when the query message is obtained. It can be seen that the query message is used to query the target information of the second event that can be triggered by the first event and has not yet occurred.
目标信息包括第二事件的事件标识、触发概率(trigger probability)和/或预测发生时间(也称触发时间(tirrger time))。当目标信息包括第二事件的事件标识时,该目标信息用于指示能够由第一时间触发且还未发生的具体事件。且事件标识可以指示事件本身,例如指示事件的名称为ETH_APS_LOST_0_Opt的以太网丢失故障。或者,事件标识可以指示事件的类型等,例如指示事件为断网故障、丢包故障或时钟告警等。第二事件的触发概率指该第二事件由第一事件触发发生的概率。第二事件的预测发生时间指该第二事件由第一事件触发的预计发生时间。The target information includes an event identifier, a trigger probability (trigger probability) and/or a predicted occurrence time (also called a trigger time (tirrger time)) of the second event. When the target information includes the event identifier of the second event, the target information is used to indicate a specific event that can be triggered by the first time and has not yet occurred. In addition, the event identifier may indicate the event itself, for example, an Ethernet loss failure with the name ETH_APS_LOST_0_Opt indicating the event. Alternatively, the event identifier may indicate the type of the event, for example, indicating that the event is a network disconnection fault, a packet loss fault, or a clock alarm. The trigger probability of the second event refers to the probability that the second event is triggered by the first event. The predicted occurrence time of the second event refers to the expected occurrence time of the second event triggered by the first event.
另外,为便于对第一事件触发第二事件的情况有更全面的了解,该目标信息还可以包括以下一个或多个信息:第二事件由第一事件触发的总次数、第一事件和第二事件自然发生的概率随时间发生变化的概率分布、及第一事件触发第二事件后第二事件延迟发生的概率(即延迟概率)。其中,任一事件自然发生的概率是指该事件在不受其他事件影响时发生的概率。在本申请实施例中,事件自然发生的概率的概率分布可以为泊松分布或正态分布等。In addition, in order to have a more comprehensive understanding of the situation that the first event triggers the second event, the target information may also include one or more of the following information: the total number of times the second event is triggered by the first event, the first event and the second event The probability distribution of the probability of natural occurrence of the two events over time, and the probability of the delayed occurrence of the second event after the first event triggers the second event (ie, the delay probability). Among them, the probability of any event occurring naturally refers to the probability of the event occurring without being affected by other events. In this embodiment of the present application, the probability distribution of the probability of an event occurring naturally may be a Poisson distribution, a normal distribution, or the like.
其中,泊松分布的表达式为:
Figure PCTCN2022098692-appb-000001
则满足泊松分布的事件概率分布可以通过该表达式中的参数λ表示。正态分布的表达式为:
Figure PCTCN2022098692-appb-000002
则满足正态分布的事件概率分布可以通过该表达式中的参数σ和μ表示。
Among them, the expression of Poisson distribution is:
Figure PCTCN2022098692-appb-000001
Then the event probability distribution satisfying the Poisson distribution can be expressed by the parameter λ in this expression. The expression for the normal distribution is:
Figure PCTCN2022098692-appb-000002
Then the event probability distribution satisfying the normal distribution can be expressed by the parameters σ and μ in the expression.
可选的,查询消息还可以包括筛选条件,包括筛选条件的查询消息用于查询满足筛选条件的目标信息。在一些实现方式中,筛选条件包括以下一个或多个:时间条件、概率条件和设备条件。设备条件用于指示与第二事件发生具有关联性的设备。Optionally, the query message may also include a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition. In some implementations, the filter conditions include one or more of the following: time conditions, probability conditions, and equipment conditions. The equipment condition is used to indicate the equipment associated with the occurrence of the second event.
其中,包括有时间条件的查询消息用于查询发生时间满足时间条件的第二事件的目标信息。例如,包括有时间条件的查询消息用于查询由第一事件触发,且在第一事件发生后一小时内触发的第二事件的目标信息。Wherein, the query message including the time condition is used to query the target information of the second event whose occurrence time satisfies the time condition. For example, the query message including the time condition is used to query the target information of the second event triggered by the first event and triggered within one hour after the occurrence of the first event.
包括有概率条件的查询消息用于查询由第一事件触发的触发概率满足概率条件的第二事件的目标信息。例如,包括有概率条件的查询消息用于查询由第一事件触发,且触发概率大于或等于指定概率阈值(如50%)的第二事件的目标信息。The query message including the probability condition is used to query the target information of the second event whose trigger probability triggered by the first event satisfies the probability condition. For example, a query message including a probability condition is used to query target information of a second event that is triggered by a first event and whose trigger probability is greater than or equal to a specified probability threshold (eg, 50%).
包括有设备条件的查询消息用于查询由满足设备条件的设备引起的第二事件的目标信息。在一种可实现方式中,设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者。当设备条件用于指示设备标识时,查询消息用于查询由第一事件触发,且由设备标识指示的设备引起的第二事件的目标信息。当设备条件用于指示设备所处区域时,查询消息用于查询由第一事件触发,且由部署在该设备所处区域中的设备引起的第二事件的目标信息。当设备条件用于指示设备类型时,查询消息用于查询由第一事件触发,且由属于该设备类型的设备引起的第二事件的目标信息。当设备条件用于指示设备所在的网络拓扑结构时,查询消息用于查询由第一事件触发,且由部署在该网络拓扑结构中的设备引起的第二事件的目标信息。当设备条件用于指示设备的生产厂家时,查询消息用于查询由第一事件触发,且由该生产厂家生产的设备引起的第二事件的目标信息。当设备条件用于指示设备的使用者时,查询消息用于查询由第一事件触发,且由该使用者使用的设备引起的第二事件的目标信息。The query message including the device condition is used to query the target information of the second event caused by the device meeting the device condition. In a practicable manner, the device condition includes one or more of the following device attributes: a device identifier, a region where the device is located, a device type, a network topology where the device is located, a manufacturer of the device, and a user of the device. When the device condition is used to indicate the device identifier, the query message is used to query the target information of the second event triggered by the first event and caused by the device indicated by the device identifier. When the equipment condition is used to indicate the area where the equipment is located, the query message is used to query the target information of the second event triggered by the first event and caused by the equipment deployed in the area where the equipment is located. When the device condition is used to indicate the device type, the query message is used to query the target information of the second event triggered by the first event and caused by the device belonging to the device type. When the device condition is used to indicate the network topology where the device is located, the query message is used to query the target information of the second event triggered by the first event and caused by the device deployed in the network topology. When the device condition is used to indicate the manufacturer of the device, the query message is used to query the target information of the second event triggered by the first event and caused by the device produced by the manufacturer. When the device condition is used to indicate the user of the device, the query message is used to query the target information of the second event triggered by the first event and caused by the device used by the user.
作为查询消息的实现方式,查询消息可以基于用户在查询界面输入的查询参数得到,或者,基于用户在查询界面选择的界面组件得到,或者,通过应用编程接口(application program interface,API)从第三方系统得到。As an implementation of the query message, the query message can be obtained based on the query parameters input by the user on the query interface, or based on the interface components selected by the user on the query interface, or obtained from a third party through an application programming interface (application program interface, API) system gets.
其中,查询界面可以为向用户提供对具有关联性的事件进行分析的应用程序的图形用户界面(graphical user interface,GUI)。如图5所示,该图形用户界面中设置有查询对象的输入框,用户可以在输入框中输入需要查询的第一事件(如图5中前置事件)的名称,以指示需要查询的事件。且该图形用户界面中还设置有筛选条件的输入框,当用户需要查询满足筛选条件的目标信息时,可以在该筛选条件的输入框中输入筛选条件,如输入时间条件和概率条件等。并且,该图形用户界面中还设置有增加和删除筛选条件的按钮,以供用户根据查询需求增加或删除筛选条件。Wherein, the query interface may be a graphical user interface (graphical user interface, GUI) of an application program that provides a user with an analysis of related events. As shown in Figure 5, the GUI is provided with an input box for query objects, and the user can input the name of the first event to be queried (such as the preceding event in Figure 5) in the input box to indicate the event to be queried . In addition, the graphical user interface is also provided with an input box for filtering conditions. When the user needs to query target information satisfying the filtering conditions, he can input filtering conditions in the input box of the filtering conditions, such as inputting time conditions and probability conditions. In addition, buttons for adding and deleting filter conditions are provided in the graphical user interface for users to add or delete filter conditions according to query requirements.
或者,该图形用户界面中可以设置有可供选择查询对象的界面组件。例如,如图6所示,在查询对象的输入框处可以设置有可供选择查询对象的选择列表(如图6所示的下拉选择列表),通过点击输入框处的三角形能够展开输入框的下拉选择列表,该选择列表包括多个界面组件,用户在选择该多个界面组件中任一界面组件后,即可指示查询该界面组件指示的事件。且该图形用户界面中还可以设置有可供选择筛选条件的界面组件,例如在筛选条件的输入框处设置有可供选择筛选条件的选择列表,该选择列表包括多个界面组件,用户在选择该多个界面组件中任一界面组件后,即可指示查询满足该界面组件指示筛选条件的事件。并且,该图形用户界面中也设置有增加和删除筛选条件的按钮,以供用户根据查询需求增加或删除筛选条件。Alternatively, an interface component for selecting query objects may be set in the graphical user interface. For example, as shown in Figure 6, a selection list (a drop-down selection list as shown in Figure 6) for selecting the query object can be provided at the input box of the query object, and the input box can be expanded by clicking the triangle at the input box. A drop-down selection list, the selection list includes a plurality of interface components, after the user selects any interface component in the plurality of interface components, the user can instruct to query the event indicated by the interface component. And the graphical user interface can also be provided with an interface component for selecting a filter condition, for example, a selection list for selecting a filter condition is provided at the input box of the filter condition, and the selection list includes a plurality of interface components, and the user selects After any interface component in the plurality of interface components, it can instruct to query the events satisfying the indication filter condition of the interface component. In addition, buttons for adding and deleting filter conditions are also provided in the graphical user interface for users to add or delete filter conditions according to query requirements.
另外,查询消息指示的查询对象和筛选条件等信息也可以由第三方系统得到,此时第一设备可以通过应用编程接口,从第三方系统得到查询对象和筛选条件等信息。在一种可实现方式中,该第三方系统可以为用户提供用于设置查询对象和筛选条件等信息的查询界面,用户在该查询界面中设置查询对象和筛选条件等信息后,第三方系统即可得到该查询对象和筛选条件等信息。其中,该第三方系统中设置查询对象和筛选条件等信息的实现方式,可以参考在对具有关联性的事件进行分析的应用程序的图形用户界面中,设置查询对象和筛选条件等信息的实现方式,此处不再赘述。In addition, information such as query objects and filtering conditions indicated by the query message may also be obtained by a third-party system, and at this time, the first device may obtain information such as query objects and filtering conditions from the third-party system through an application programming interface. In one possible way, the third-party system can provide users with a query interface for setting information such as query objects and filter conditions. After the user sets information such as query objects and filter conditions in the query interface, the third-party system will immediately Information such as the query object and filter conditions can be obtained. Wherein, the implementation method of setting information such as query objects and filter conditions in the third-party system can refer to the implementation method of setting information such as query objects and filter conditions in the graphical user interface of an application program that analyzes related events , which will not be repeated here.
步骤402、第一设备获取第一设备管理的事件中在第一时间已发生事件的第一历史数据。In step 402, the first device obtains first historical data of events that have occurred at a first time among the events managed by the first device.
第一设备能够对已发生事件的历史数据进行分析,得到不同的已发生事件之间在时序上的联系,并根据该时序上的联系预测不同事件之间的关联性,实现对具有关联性的事件的分析。因此,第一设备在基于查询消息获取第二事件的目标信息之前,需要先获取第一设备管理的事件中在第一时间已发生事件的第一历史数据。The first device can analyze the historical data of the events that have occurred, obtain the time-series connection between different events that have occurred, and predict the correlation between different events according to the time-series connection, so as to realize the related Analysis of events. Therefore, before the first device obtains the target information of the second event based on the query message, it needs to first obtain the first historical data of events that have occurred at the first time among the events managed by the first device.
并且,由于第一时间小于或等于获取到查询消息的时间,该获取第一历史数据的步骤可以在获取查询消息之前执行,也可以在获取查询消息之后执行,其执行顺序可以根据应用需求确定。例如,当指定(如人为指定)无论何时获取到查询消息,均根据固定的第一时间已发生事件的第一历史数据获取目标信息时,该获取第一历史数据的步骤可以在接收查询消息之前或之后执行。又例如,当指定在获取到查询消息时,需要根据获取到查询消息前第一设备管理的事件中已发生事件的所有历史数据获取目标信息,则该第一时间可以等于获取到查询消息的时间,且获取第一历史数据的步骤需要在获取查询消息之后执行。Moreover, since the first time is less than or equal to the time when the query message is obtained, the step of obtaining the first historical data can be performed before or after the query message is obtained, and the execution sequence can be determined according to application requirements. For example, when it is specified (such as artificially specified) that whenever the query message is obtained, the target information is obtained according to the first historical data of events that have occurred at a fixed first time, the step of obtaining the first historical data can be performed when receiving the query message Execute before or after. For another example, when it is specified that when the query message is obtained, the target information needs to be obtained according to all historical data of events that have occurred in the events managed by the first device before the query message is obtained, then the first time may be equal to the time when the query message is obtained , and the step of obtaining the first historical data needs to be performed after obtaining the query message.
另外,当第一历史数据为第一设备管理的事件中在获取到查询消息之前已发生事件的所 有历史数据时,由于获取的已发生事件之间的联系的准确性与用于进行分析的历史数据的量正相关,历史数据越多时越能够更全面地反映不同的已发生事件之间的联系,能够有效保证第一设备获取的不同的已发生事件之间的联系的准确性,进而提高对时间的关联性进行分析的准确性。In addition, when the first historical data is all historical data of events that have occurred before the query message is acquired in the events managed by the first device, due to the accuracy of the relationship between the acquired events and the history used for analysis The amount of data is positively correlated. The more historical data, the more comprehensively it can reflect the connection between different events that have occurred, and it can effectively ensure the accuracy of the connection between different events that have occurred. The accuracy of the time correlation analysis.
其中,第一历史数据包括:已发生事件的标识和已发生事件的发生时间。并且,由于该查询消息用于查询由第一事件触发第二事件的目标信息,第一历史数据需要包括第一事件的历史数据和第三事件的历史数据,以便于得到第一事件和第二事件之间的联系。该第三事件在第一时间已发生事件中,与第二事件具有相同标识的事件。即该第三事件和第二事件实际为相同的事件,但是第三事件在第一时间已经发生,第二事件在第一时间还未发生。例如,第二事件和第三事件为同一网络位置处的断网故障,但第三事件在第一时间已经发生,第二事件在第一时间还未发生。Wherein, the first historical data includes: the identifier of the occurred event and the occurrence time of the occurred event. And, since the query message is used to query the target information of the second event triggered by the first event, the first historical data needs to include the historical data of the first event and the historical data of the third event, so as to obtain the first event and the second event. connection between events. The third event is an event that has the same identifier as the second event among the events that have occurred at the first time. That is, the third event and the second event are actually the same event, but the third event has occurred at the first time, and the second event has not occurred at the first time. For example, the second event and the third event are network disconnection faults at the same network location, but the third event has occurred at the first time, and the second event has not occurred at the first time.
可选的,该第一历史数据还可以包括:与已发生事件发生具有关联性的设备的设备所属区域、设备类型和设备所属的网络拓扑结构等可选信息。当第一历史数据还包括以上可选信息时,能够为分析已发生事件之间的联系提供更多的参考信息,能够进一步提高第一设备获取的事件之间的联系的准确性。Optionally, the first historical data may further include: optional information such as the area to which the device belongs, the type of the device, and the network topology to which the device belongs, which are related to the occurrence of the event. When the first historical data further includes the above optional information, more reference information can be provided for analyzing the connection between events that have occurred, and the accuracy of the connection between events acquired by the first device can be further improved.
由上可知,在本申请实施例提供的事件分析的方法中,第一历史数据中的必需信息为已发生事件的标识和已发生事件的发生时间,相对于其他分析事件之间关联性的相关技术,降低了对分析所参考的数据的要求,能够提高分析的泛化能力。It can be seen from the above that in the method of event analysis provided by the embodiment of the present application, the necessary information in the first historical data is the identification of the event that has occurred and the time of occurrence of the event that has occurred. Compared with the correlation between other analysis events Technology, which reduces the requirements for the data referenced by the analysis, can improve the generalization ability of the analysis.
另外,该步骤402的获取操作可以包括从其他设备(如从第二设备)上获取第一历史数据,并将第一历史数据读取到该第一设备的内存中的过程,或者,包括将第一历史数据从第一设备的持久性存储介质中读到内存中的过程,本申请实施例对其不做具体限定,只要该获取操作的结果能够使第一设备根据该第一历史数据进行分析即可。In addition, the obtaining operation in step 402 may include the process of obtaining the first historical data from other devices (such as from the second device), and reading the first historical data into the memory of the first device, or may include converting The process of reading the first historical data from the persistent storage medium of the first device into the internal memory is not specifically limited in the embodiment of the present application, as long as the result of the acquisition operation enables the first device to perform Just analyze.
步骤403、第一设备基于查询消息对第一历史数据进行分析,获得目标信息。 Step 403, the first device analyzes the first historical data based on the query message to obtain target information.
第一设备接收到查询消息后,即可基于查询消息,对第一历史数据进行分析,以获得目标信息。可选的,对第一历史数据进行分析的过程,可以通过分析模型实现。即该步骤403的实现过程包括:基于第一历史数据和分析模型,获得目标信息。并且,由于第二事件由第一事件触发发生,在利用分析模型获得目标信息时,还可以向分析模型输入分析指示信息,以指示第一事件与第二事件的关系,如指示将第一事件作为触发第二事件发生的前置事件。也即是,该实现过程包括:基于第一历史数据、分析指示信息和分析模型,获得目标信息。需要说明的是,在利用分析模型进行分析时,也可以不向分析模型输入分析指示信息,此时该分析指示信息指示的内容可以由分析模型对第一历史数据进行分析得到。After receiving the query message, the first device can analyze the first historical data based on the query message to obtain target information. Optionally, the process of analyzing the first historical data may be implemented through an analysis model. That is, the implementation process of step 403 includes: obtaining target information based on the first historical data and the analysis model. Moreover, since the second event is triggered by the first event, when using the analysis model to obtain the target information, analysis instruction information can also be input into the analysis model to indicate the relationship between the first event and the second event, such as indicating that the first event As a pre-event that triggers the occurrence of the second event. That is, the implementation process includes: obtaining target information based on the first historical data, the analysis instruction information and the analysis model. It should be noted that when the analysis model is used for analysis, the analysis instruction information may not be input into the analysis model. At this time, the content indicated by the analysis instruction information can be obtained by analyzing the first historical data by the analysis model.
并且,与第一事件具有关联性的第二事件可以包括一个或多个。此时,需要获取的目标信息包括该一个或多个第二事件中每个第二时间的目标信息。相应的,在进行分析时,可以分别针对第一事件和该一个或多个第二事件中任一第二事件进行分析,以得到该任一第二事件的目标信息。下面以一个第二事件为例,对该步骤403的实现过程进行说明。作为一种可实现方式,其实现过程包括:Also, the second event associated with the first event may include one or more. In this case, the target information to be acquired includes target information at each second time in the one or more second events. Correspondingly, when analyzing, the analysis may be performed on the first event and any second event among the one or more second events, so as to obtain the target information of any second event. The implementation process of step 403 is described below by taking a second event as an example. As an achievable way, its implementation process includes:
步骤4031、第一设备对第一历史数据进行预筛选,得到第一事件的历史数据和任一第三事件的历史数据,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件。Step 4031. The first device pre-screens the first historical data to obtain the historical data of the first event and any third event. Any third event is an event that has occurred at the first time, and any The second event has the same ID as the event.
由于在对与第一事件具有关联性的事件进行分析时,可以分别针对第一事件和任一第二事件进行分析,而第一历史数据为第一设备管理的事件中在第一时间已发生的所有事件的历史数据,因此在进行分析前,可以先对第一历史数据进行预筛选,得到第一事件的历史数据和任一第三事件的历史数据。然后再根据该第一事件的历史数据和任一第三事件的历史数据进行分析,以得到与该任一第三事件具有相同标识的第二事件的目标信息。为提高实施例的可读性,在下面步骤的描述中将该任一第三事件称为第三事件。When analyzing the events related to the first event, the first event and any second event can be analyzed separately, and the first historical data is that the events managed by the first device have occurred at the first time Therefore, before analysis, the first historical data can be pre-screened to obtain the historical data of the first event and the historical data of any third event. Then, analysis is performed according to the historical data of the first event and the historical data of any third event to obtain target information of a second event having the same identifier as any third event. To improve the readability of the embodiment, any third event is referred to as a third event in the description of the following steps.
需要说明的是,该预筛选过程可以在第一设备中执行,但不限于在第一设备中执行,该预筛选过程的执行主体可以根据应用需求进行调整,本申请实施例对其不做具体限定。例如,向第一设备提供历史数据的设备(如图1中第二设备),也可以先对历史数据进行筛选,然后向第一设备提供筛选后的历史数据,这样能够减小第一设备的负载。It should be noted that the pre-screening process can be executed in the first device, but is not limited to being executed in the first device. The execution subject of the pre-screening process can be adjusted according to the application requirements, and this embodiment of the present application does not specifically describe it. limited. For example, a device that provides historical data to the first device (such as the second device in Figure 1) can also filter the historical data first, and then provide the filtered historical data to the first device, which can reduce the cost of the first device. load.
另外,在实际对具有关联性的事件进行分析时,也可以不对第一历史数据进行预筛选,如可以直接将该第一历史数据输入分析模型。但预先对第一历史数据进行预筛选,并向分析模型提供经过预筛选的数据,能够减小分析模型需要处理的数据量,保证分析模型进行分析的速度。In addition, when actually analyzing related events, the first historical data may not be pre-screened, for example, the first historical data may be directly input into the analysis model. However, pre-screening the first historical data and providing the pre-screened data to the analysis model can reduce the amount of data that the analysis model needs to process and ensure the analysis speed of the analysis model.
进一步地,第一设备在对第一历史数据进行预筛选后,还可以对该第一历史数据进行统计,并向分析模型提供统计得到的数据,使得分析模型根据统计得到的数据进行分析,以减小分析模型进行分析需要处理的数据量。并且,当对第一历史数据进行预筛选的过程在其他设备上执行时,该统计过程可以在第一设备上执行,也可以在其他设备上执行,本申请实施例对其不做具体限定。在一种可实现方式中,对第一历史数据进行统计的实现过程可以包括:根据第三事件的历史数据,记录该第三事件的发生时刻,并在第一事件的历史数据中,以第三事件每次的发生时刻为起点,沿着时间倒退的方向,统计每次在第三事件发生之前第一事件的发生时刻,得到对应的第三事件与第一事件的发生时刻的时间差,并分别统计不同时间差出现的总次数。并且,为保证数据的有效性,在进行统计时,还可以限定统计每次在第三事件发生之前的指定时间窗口内第一事件的发生时刻。例如,可以限定每次在第三事件发生之前的一分钟内第一事件的发生时刻。Further, after pre-screening the first historical data, the first device may also perform statistics on the first historical data, and provide the statistically obtained data to the analysis model, so that the analysis model performs analysis according to the statistically obtained data, to Reduce the amount of data that needs to be processed by the analysis model for analysis. Moreover, when the process of pre-screening the first historical data is performed on other devices, the statistical process may be performed on the first device or other devices, which is not specifically limited in this embodiment of the present application. In a practicable manner, the implementation process of performing statistics on the first historical data may include: recording the occurrence moment of the third event according to the historical data of the third event, and using the historical data of the first event to The occurrence time of each of the three events is taken as the starting point, along the direction of time regression, count the occurrence time of the first event before the third event, and obtain the corresponding time difference between the third event and the first event, and The total number of occurrences of different time differences are counted separately. Moreover, in order to ensure the validity of the data, when performing statistics, the time of occurrence of the first event within a specified time window before the occurrence of the third event can also be limited and counted. For example, the occurrence time of the first event within one minute before the occurrence of the third event may be limited each time.
步骤4032、第一设备将第一事件的历史数据和任一第三事件的历史数据输入分析模型,得到分析模型输出的第一事件触发该任一第三事件对应的任一第二事件的目标信息。Step 4032, the first device inputs the historical data of the first event and the historical data of any third event into the analysis model, and obtains the target of any second event corresponding to any third event triggered by the first event output by the analysis model information.
分析模型可以根据第一事件的历史数据和该第三事件的历史数据,分析第一事件引起该第三事件发生的规律,然后根据该规律得到第一事件触发该任一第二事件的目标信息。可选地,当需要向分析模型指示第一事件与第二事件的关系时,还需要向该分析模型输入分析指示信息。The analysis model can analyze the rule that the first event causes the occurrence of the third event based on the historical data of the first event and the historical data of the third event, and then obtain the target information that the first event triggers any second event according to the rule . Optionally, when the relationship between the first event and the second event needs to be indicated to the analysis model, analysis indication information also needs to be input into the analysis model.
其中,目标信息中的触发概率、预测发生时间和第一事件和第二事件自然发生的概率随时间发生变化的概率分布,可以通过分析模型对历史数据进行分析得到。目标信息中的第二事件由第一事件触发的总次数可以根据分析模型的分析结果统计得到。例如,目标信息包括5个预测发生时间时,可以确定第二事件由第一事件触发的总次数为5。目标信息中的延迟概率可以根据历史数据体现的第一事件触发该第三事件后该第三事件延迟发生的延迟概率得到。例如,根据历史数据得到第三事件延迟1秒发生的延迟概率为0.8,延迟2秒发生的延迟概率为0.8×0.8=0.64,则可以得到第二事件延迟1秒发生的延迟概率为0.8,延迟2秒发生的延迟概率为0.8×0.8=0.64。当采用波形图表示在第一事件发生的情况下第三事件的触发概率时, 该延迟概率对该波形图的影响表现为:使得该波形图在局部波峰的附近位置处的下降坡度变缓,不再是上升坡度和下降坡度较大的波峰。Wherein, the probability distribution of the trigger probability, the predicted occurrence time, and the natural occurrence probability of the first event and the second event in the target information over time can be obtained by analyzing historical data through an analysis model. The total number of times that the second event in the target information is triggered by the first event can be obtained statistically according to the analysis result of the analysis model. For example, when the target information includes 5 predicted occurrence times, it may be determined that the total number of times the second event is triggered by the first event is 5. The delay probability in the target information can be obtained according to the delay probability of the third event after the first event triggers the third event reflected in the historical data. For example, according to historical data, the delay probability that the third event occurs with a delay of 1 second is 0.8, and the delay probability that occurs with a delay of 2 seconds is 0.8×0.8=0.64, then the delay probability that the second event occurs with a delay of 1 second is 0.8, and the delay The probability of a delay occurring at 2 seconds is 0.8 x 0.8 = 0.64. When the waveform diagram is used to represent the trigger probability of the third event when the first event occurs, the influence of the delay probability on the waveform diagram is as follows: the descending slope of the waveform diagram near the local peak is slowed down, It is no longer a peak with a steeper ascent and descent.
需要说明的是,分析模型可以包括人工智能(artificial intelligence,AI)模型或其他类型的模型。且该分析模型可以为经过预训练的模型,该经过预训练的模型能够根据第一事件的历史数据和该第三事件的历史数据,得到第一事件触发该第三事件对应的任一第二事件的目标信息。因此,在使用分析模型获取目标信息之前,还需要对该分析模型进行训练。为提高实施例的可读性,对该分析模型进行训练的过程在下文的步骤901至步骤903中进行说明。另外,根据第一事件的历史数据和第三事件的历史数据进行分析得到的目标信息,还能够用于对分析模型进行训练,以进一步提高分析模型的模型性能。It should be noted that the analysis model may include an artificial intelligence (artificial intelligence, AI) model or other types of models. And the analysis model can be a pre-trained model, and the pre-trained model can obtain any second event corresponding to the first event triggered by the third event based on the historical data of the first event and the historical data of the third event. The target information for the event. Therefore, before using the analysis model to obtain target information, the analysis model needs to be trained. In order to improve the readability of the embodiment, the process of training the analysis model is described in steps 901 to 903 below. In addition, the target information obtained by analyzing the historical data of the first event and the historical data of the third event can also be used to train the analysis model, so as to further improve the model performance of the analysis model.
步骤404、第一设备向用户展示目标信息。 Step 404, the first device presents target information to the user.
第一设备在基于查询消息获取目标信息后,可以向用户展示目标信息。根据前面的描述可知,目标信息包括一项或多项信息,则在展示时可以向用户展示该一项或多项信息中的部分或全部。其中,展示方式可以包括通过文字信息进行展示的方式,或者,可以包括向用户展示第二事件被第一事件触发的概率随时间变化的波形图的展示方式。并且,在展示目标信息时,还可以展示第二事件被第一事件触发的最大触发概率、最小触发概率、触发概率均值和第一事件的标识等信息,以便用户对第一事件触发第二事件的情况有更全面的了解。其中,第二事件被第一事件触发的最大触发概率、最小触发概率、触发概率均值,可以根据分析模型的分析结果进行统计得到,如根据分析模型输出的第二事件被第一事件触发的概率随时间变化的波形图统计得到。After the first device acquires the target information based on the query message, it may display the target information to the user. According to the foregoing description, it can be seen that the target information includes one or more pieces of information, and part or all of the one or more pieces of information may be displayed to the user during presentation. Wherein, the presentation manner may include a manner of displaying through text information, or may include a manner of presenting to the user a waveform graph showing the probability of the second event being triggered by the first event changing over time. Moreover, when displaying the target information, information such as the maximum trigger probability, minimum trigger probability, average value of the trigger probability, and the identification of the first event of the second event triggered by the first event can also be displayed, so that the user can trigger the second event for the first event have a more comprehensive understanding of the situation. Among them, the maximum trigger probability, the minimum trigger probability, and the average value of the trigger probability of the second event being triggered by the first event can be obtained through statistics based on the analysis results of the analysis model, such as the probability that the second event is triggered by the first event output by the analysis model Waveform diagrams over time are obtained statistically.
示例地,假设查询消息包括时间条件,该时间条件指示获取在获取到查询消息后四分钟内的第二事件的目标信息。图7为本申请实施例提供的一种在第一事件发生的情况下,第二事件在不同时间的触发频率的波形图。该波形图的横轴表示时间,单位为秒,该波形图的纵轴表示在第一事件发生的情况下第二事件的触发概率。如图7所示,在第一事件发生的情况下,第二事件的触发概率在时间条件限制的时间段内出现了四次较大值。该四次较大值分别出现在获取到查询消息后的第7秒(即007")、第48秒(即048")、第1分55秒(即155")和第2分45秒(即245")处,即第二事件的预测发生时间分别为获取到查询消息后的第7秒、第48秒、第1分55秒和第2分45秒。该四次较大值分别为49%、65%、86%和27%,即第二事件在上述四个预测发生时间的触发概率分别为49%、65%、86%和27%。Exemplarily, it is assumed that the query message includes a time condition, and the time condition indicates to obtain target information of a second event within four minutes after the query message is acquired. FIG. 7 is a waveform diagram of the trigger frequency of the second event at different times when the first event occurs according to an embodiment of the present application. The horizontal axis of the waveform diagram represents time in seconds, and the vertical axis of the waveform diagram represents the trigger probability of the second event when the first event occurs. As shown in FIG. 7 , when the first event occurs, the trigger probability of the second event has four larger values within the time period limited by the time condition. The four larger values appeared in the 7th second (ie 007"), 48th second (ie 048"), 1 minute 55 seconds (ie 155") and 2 minute 45 seconds ( That is, at 245"), that is, the predicted occurrence time of the second event is respectively the 7th second, the 48th second, the 1st minute 55th second and the 2nd minute 45th second after the query message is acquired. The four larger values are 49%, 65%, 86% and 27% respectively, that is, the trigger probabilities of the second event at the above four predicted occurrence times are 49%, 65%, 86% and 27% respectively.
表1为本申请实施例提供的一种通过文字信息的方式展示的目标信息,且在图7所示的波形图的基础上,该表1还展示了第二事件被第一事件触发的最大触发概率、最小触发概率、触发概率均值和第一事件的标识。根据该表1可知:第一事件的标识指示其名称为ETH_LOS_0_Opt,标识号(ID)为1,第二事件的标识指示其名称为ETH_APS_LOST_0_Opt,标识号(ID)为34,第二事件被第一事件触发的最大触发概率、最小触发概率和触发概率均值分别为86%、1%和28%,概率较大值的总数为4,该4个概率较大值的出现时间分别为007"、048"、155"和245",该4个概率较大值分别为49%、65%、86%和27%,第一事件和第二事件自然发生的概率随时间发生变化的概率分布均为泊松分布,且参数λ分别为0.1和0.005。Table 1 is a target information displayed in the form of text information provided by the embodiment of the present application, and on the basis of the waveform diagram shown in Figure 7, this Table 1 also shows the maximum value of the second event triggered by the first event Trigger probability, minimum trigger probability, mean trigger probability, and identification of the first event. According to this table 1, it can be known that: the first event's identification indicates that its name is ETH_LOS_0_Opt, and its identification number (ID) is 1, and the second event's identification indicates that its name is ETH_APS_LOST_0_Opt, and its identification number (ID) is 34, and the second event is identified by the first The maximum trigger probability, minimum trigger probability and average trigger probability of event triggering are 86%, 1% and 28% respectively, the total number of higher probability values is 4, and the occurrence times of these 4 higher probability values are 007", 048 respectively ", 155" and 245", the four larger probabilities are 49%, 65%, 86% and 27% respectively. Loose distribution, and the parameters λ are 0.1 and 0.005, respectively.
由上可知,在本申请实施例提供的事件分析的方法中,由于该方法能够对由第一事件触发且未发生的第二事件进行预测,及对该第二事件的触发概率和预测发生时间中的至少一个 进行预测,相对于相关技术,不仅能够对事件之间是否具有关联性进行分析,还能够分析具有关联性的事件中被触发事件的触发概率和预测发生时间中的至少一个,其分析结果直观的反映了关联性事件的分析结果,且可解释性强,实现了对事件之间关联性的多样性分析,丰富了对具有关联性的事件的分析功能。It can be seen from the above that, in the event analysis method provided by the embodiment of the present application, since the method can predict the second event that is triggered by the first event and has not occurred, and the trigger probability and predicted occurrence time of the second event Compared with related technologies, it is not only possible to analyze whether there is correlation between events, but also to analyze at least one of the trigger probability and predicted occurrence time of triggered events among correlated events. The analysis results intuitively reflect the analysis results of related events, and are highly interpretable. It realizes the diversity analysis of the correlation between events and enriches the analysis function of related events.
表1Table 1
Figure PCTCN2022098692-appb-000003
Figure PCTCN2022098692-appb-000003
并且,该方法实际是根据事件发生的历史数据,统计一个事件引起另一事件发生的规律,并根据该规律对事件之间的关联性进行分析,相对于根据专家经验得到的规则对事件进行关联性分析的相关技术,能够对更多种情况的事件之间的关联性进行分析,保证了该方法的适用范围,且无需注入专家经验。且由于该方法不是根据专家经验得到的规律进行分析,则不需要根据网络的扩展进行规则的同步,不会影响开发和运维的效率,也不会引起实现成本和误码率的增加。Moreover, this method is actually based on the historical data of event occurrences, counting the law of one event causing another event to occur, and analyzing the correlation between events according to this law, and correlating events with the rules obtained from expert experience. The related technology of sex analysis can analyze the correlation between events in more situations, which ensures the scope of application of the method and does not need to inject expert experience. And because this method is not based on the rules obtained by expert experience, it does not need to synchronize the rules according to the expansion of the network, which will not affect the efficiency of development and operation and maintenance, and will not cause the increase of implementation cost and bit error rate.
另外,由于该方法不需要根据历史数据进行特征提取,且历史数据中的必需信息为已发生事件的标识和已发生事件的发生时间,相对于其他分析事件之间关联性的相关技术,降低了对用于分析的数据的要求,能够提高分析的泛化能力,提高了分析结果稳定性。In addition, since this method does not require feature extraction based on historical data, and the necessary information in historical data is the identification of events that have occurred and the time of occurrence of events that have occurred, compared with other related technologies that analyze the correlation between events, it reduces the The requirements for the data used for analysis can improve the generalization ability of the analysis and improve the stability of the analysis results.
其中,为证明本申请实施例提供的事件分析的方法的有效性,本申请实施例还提供了在第一事件发生的情况下,第二事件在不同时间发生的频率的实际波形图和分析模型分析得到的仿真波形图的对比示意图。如图8所示,图8中曲线1为根据历史数据得到的实际波形图,图8中曲线2为根据历史数据分析得到的仿真波形图。根据该图8可以看出,图8中的仿真波形图的变化趋势能够较好地拟合实际波形图的变化趋势,因此,可以确定本申请实施例提供的方法能够有效地对具有关联性的事件进行分析。Among them, in order to prove the effectiveness of the event analysis method provided by the embodiment of the present application, the embodiment of the present application also provides the actual waveform diagram and analysis model of the frequency of the second event occurring at different times when the first event occurs Schematic diagram of the comparison of the simulated waveforms obtained from the analysis. As shown in FIG. 8 , curve 1 in FIG. 8 is an actual waveform diagram obtained based on historical data, and curve 2 in FIG. 8 is a simulated waveform diagram obtained based on historical data analysis. According to this figure 8, it can be seen that the variation trend of the simulation waveform diagram in Fig. 8 can better fit the variation tendency of the actual waveform diagram, therefore, it can be determined that the method provided by the embodiment of the present application can effectively control the relevant Events are analyzed.
需要说明的是,虽然在上述描述中以对网络故障之间的关联性进行预测为例,对本申请实施例提供的事件分析的方法进行说明,但并不限定该方法仅能用于对网络故障之间的关联性进行预测。并且,由于该方法是根据事件的历史数据对事件之间在时序上的联系进行分析,并根据该时序上的联系预测不同事件之间的关联性,因此,该方法能够应用于对所有在时序上具有关联性的事件之间的预测场景。It should be noted that although the above description takes the prediction of the correlation between network faults as an example to illustrate the event analysis method provided by the embodiment of the present application, it does not limit that this method can only be used to predict network faults. predict the relationship between them. Moreover, since this method analyzes the connection between events in time series according to the historical data of events, and predicts the correlation between different events according to the connection in time series, this method can be applied to all events in time series Prediction scenarios between correlated events.
下面对分析模型进行训练的过程进行说明。根据前面内容的描述,由于不同事件之间的关联性不同,用于分析某两个事件的关联性的分析模型,需要使用该两个事件的历史数据进行训练,下面对采用第一事件和某一第三事件(即下文中的第三事件)的历史数据对分析模型进行训练为例,对分析模型的训练过程进行说明。如图9所示,分析模型的训练过程包括:The process of training the analysis model is described below. According to the previous description, due to the different correlations between different events, the analysis model used to analyze the correlation of two events needs to use the historical data of the two events for training. The following uses the first event and The historical data of a third event (ie, the third event hereinafter) is used as an example to train the analysis model, and the training process of the analysis model will be described. As shown in Figure 9, the training process of the analysis model includes:
步骤901、基于第一事件的历史数据和第三事件的历史数据,获取第一事件触发第三事件的概率随时间变化的参考数据。 Step 901, based on the historical data of the first event and the historical data of the third event, obtain reference data of the probability that the first event triggers the third event over time.
该步骤901的实现过程实际是根据第一事件和该任一第三时间的历史数据,利用统计学的方法计算出在每次第一事件发生后,第二事件在不同时刻被第一事件触发的概率。计算得到的结果即为该第一事件触发该第三事件的概率随时间变化的参考数据。例如,可以根据历史数据,统计该第三事件在第一事件发生后的指定时长后发生的第一总次数和未发生的第二总次数,根据该第一总次数和第二总次数,得到该第三事件在第一事件发生后的指定时长后发生的条件概率,依次类推,得到第一事件触发该第三事件的概率随时间变化的参考数据。其中,该参考数据可以采用波形图表示,该波形图的横轴表示时间,单位为秒,该波形图的纵轴表示该第三事件在第一事件发生的情况下发生的概率。The implementation process of step 901 is actually based on the first event and the historical data of any third time, using a statistical method to calculate that after each first event occurs, the second event is triggered by the first event at different times The probability. The calculated result is the reference data of the probability of the first event triggering the third event over time. For example, based on historical data, the first total number of occurrences and the second total number of non-occurrences of the third event after a specified time period after the occurrence of the first event can be counted, and according to the first total number and the second total number of times, it is obtained The conditional probability that the third event occurs after a specified time period after the first event occurs, and so on, obtains the reference data of the probability that the first event triggers the third event over time. Wherein, the reference data may be represented by a waveform diagram, the horizontal axis of the waveform diagram represents time in seconds, and the vertical axis of the waveform diagram represents the probability of the third event occurring when the first event occurs.
步骤902、获取第一事件触发第三事件的概率随时间变化的初始化数据。 Step 902. Acquire initialization data of the probability that the first event triggers the third event over time.
该初始化数据可以通过对第一事件和第三事件的发生概率进行初始化得到。在一种可实现方式中,如图10所示,该步骤902的实现过程包括:The initialization data can be obtained by initializing the occurrence probabilities of the first event and the third event. In an implementable manner, as shown in FIG. 10, the implementation process of step 902 includes:
步骤9021、基于第一事件的历史数据和第三事件的历史数据,统计第三事件在第一事件发生指定时长后发生的总次数。Step 9021: Based on the historical data of the first event and the historical data of the third event, count the total number of occurrences of the third event after the specified time period of the first event.
在一种可实现方式中,可以根据第三事件的历史数据,记录该第三事件的发生时刻,并在第一事件的历史数据中,以第三事件每次的发生时刻为起点,沿着时间倒退的方向,统计每次在第三事件发生之前第一事件的发生时刻,得到对应的第三事件与第一事件的发生时刻的时间差,并分别统计不同时间差出现的总次数。在“第三事件在第一事件发生的指定时长后发生”的描述中,该指定时长等于该时间差,且当第一事件在第三事件之前发生的时刻差有多个时,可以分别得到第三事件在第一事件发生的多个指定时长后发生的总次数,该多个时间差与该多个指定时长一一对应。例如,假设统计结果表示第一事件在第三事件发生前10秒发生的总次数有100次,第一事件在第三事件发生前13秒发生的总次数有150次,则对应于10秒的时间差,可以得到第三事件在第一事件发生的10秒后发生的总次数为100次,对应于13秒的时间差,可以得到第三事件在第一事件发生的13秒后发生的总次数为150次。并且,为保证数据的有效性,在进行统计时,还可以限定统计每次在第三事件发生之前的指定时间窗口内第一事件的发生时刻。例如,可以限定每次在第三事件发生之前的一分钟内第一事件的发生时刻。In a practicable manner, the occurrence moment of the third event can be recorded according to the historical data of the third event, and in the historical data of the first event, starting from each occurrence moment of the third event, along the In the backward direction of time, count the occurrence time of the first event before the third event each time, obtain the time difference between the corresponding third event and the occurrence time of the first event, and count the total times of occurrences of different time differences. In the description of "the third event occurs after the specified duration of the first event", the specified duration is equal to the time difference, and when the first event occurs before the third event with multiple time differences, the first event can be respectively obtained The total number of occurrences of the three events after the occurrence of the first event for a plurality of specified time periods, and the multiple time differences correspond to the multiple specified time periods one by one. For example, assuming that the statistical results show that the total number of occurrences of the first event 10 seconds before the occurrence of the third event is 100, and the total number of occurrences of the first event 13 seconds before the occurrence of the third event is 150, then the corresponding 10 seconds Time difference, the total number of times the third event occurs 10 seconds after the first event occurs is 100 times, corresponding to a time difference of 13 seconds, the total number of times the third event occurs 13 seconds after the first event occurs is 150 times. Moreover, in order to ensure the validity of the data, when performing statistics, the time of occurrence of the first event within a specified time window before the occurrence of the third event can also be limited and counted. For example, the occurrence time of the first event within one minute before the occurrence of the third event may be limited each time.
步骤9022、基于总次数获取时间特征点,第一历史数据指示第一事件在时间特征点触发第三事件的概率大于或等于参考概率阈值。 Step 9022. Acquire time feature points based on the total number of times. The first historical data indicates that the probability of the first event triggering the third event at the time feature point is greater than or equal to the reference probability threshold.
在统计得到总次数后,可以根据该总次数获取反映第一事件和该第三事件在发生时间上的具有较大联系的时间特征点。且为了保证获取的第一事件和该第三事件在发生时间上的联系的准确性,可以为时间特征点设定一些获取原则。例如,该获取原则需要保证第一事件在时间特征点触发第三事件的概率大于或等于参考概率阈值。当第一事件在时间特征点触发第三事件的概率大于或等于参考概率阈值时,第一事件的发生能够对该第三事件进行有效的触 发。其中,该参考概率阈值可以根据应用需求确定,例如可以设置参考概率阈值为50%,本申请实施例对其不做具体限定。After the total number of times is counted, the time feature points that reflect the occurrence time of the first event and the third event with greater connection can be obtained according to the total number of times. And in order to ensure the accuracy of the connection between the acquired first event and the third event in terms of occurrence time, some acquisition principles may be set for time feature points. For example, the acquisition principle needs to ensure that the probability that the first event triggers the third event at the time feature point is greater than or equal to the reference probability threshold. When the probability of the first event triggering the third event at the time feature point is greater than or equal to the reference probability threshold, the occurrence of the first event can effectively trigger the third event. The reference probability threshold may be determined according to application requirements. For example, the reference probability threshold may be set to 50%, which is not specifically limited in this embodiment of the present application.
获取时间特征点的实现方式有多种,本申请实施例以以下三种实现方式为例,对其实现方式进行说明。There are multiple implementations for acquiring time feature points, and the embodiment of the present application uses the following three implementations as examples to describe the implementations.
在第一种可实现方式中,可以根据总次数和总次数的变化情况,获取时间特征点。例如,可以分别获取第三事件在第一事件发生指定时长t1、t1+1和t1-1后发生的总次数,并获取第三事件在第一事件发生指定时长t1-1后发生的总次数相对于在指定时长t1后发生的总次数的第一变化梯度,并获取第三事件在第一事件发生指定时长t1后发生的总次数相对于在指定时长t1+1后发生的总次数的第二变化梯度,并在该第三事件在第一事件发生指定时长t1后发生的总次数分别大于在第一事件发生指定时长t1-1和t1+1后发生的总次数,且第一变化梯度和第二变化梯度均大于指定梯度阈值时,将该指定时长t1确定为时间特征点。其中,在按照该方式获取的时间特征点时,在第一事件发生的情况下,该第三事件在不同时间发生的概率的波形图中,该第三事件在时间特征点处发生的概率表现为局部峰值,即在该时间特征点处,该第三事件的发生于第一事件的发生具有较大联系。In the first practicable manner, time feature points may be obtained according to the total number of times and the change of the total number of times. For example, the total number of occurrences of the third event after the specified duration t1, t1+1, and t1-1 of the first event can be obtained respectively, and the total number of occurrences of the third event after the specified duration of t1-1 of the first event can be obtained Relative to the first change gradient of the total number of occurrences after the specified time length t1, and obtain the third event’s total number of occurrences after the first event occurs with the specified time length t1 relative to the total number of occurrences after the specified time length t1+1 Two change gradients, and the total number of occurrences of the third event after the specified time length t1 of the first event is greater than the total number of occurrences of the first event after the specified time length t1-1 and t1+1, and the first change gradient and the second change gradient are greater than the specified gradient threshold, the specified time length t1 is determined as the time feature point. Wherein, when the time feature points are obtained in this way, when the first event occurs, in the waveform diagram of the probability of the third event occurring at different times, the probability of the third event occurring at the time feature point shows is a local peak, that is, at this time feature point, the occurrence of the third event has a greater relationship with the occurrence of the first event.
在第二种可实现方式中,可以在产生第一事件的历史数据和第三事件的历史数据的产生时间段中,采用滑窗的方式获取时间特征点。其实现过程包括:设置具有一定时长的时间窗口,及该时间窗口在该产生时间段中滑动的滑动步长,控制该时间窗口从该时间段的起点开始沿着该产生时间段的发展方向按照滑动步长进行滑动,当时间窗口每滑动至一个位置处时,在该时间窗口覆盖到的产生时间段的子时间段内,统计该子时间段内所有时间点处第三事件在第一事件发生指定时长后发生的第一总次数,并统计该产生时间段中所有时间点处第三事件在第一事件发生指定时长后发生的第二总次数,当该第一总次数达到该第二总次数的百分比达到百分比阈值时,将该子时间段的时间中心点确定为时间特征点。In the second practicable manner, the time feature points may be acquired in a sliding window manner during the generation time period of the historical data of the first event and the historical data of the third event. The implementation process includes: setting a time window with a certain duration, and the sliding step of the time window sliding in the generation time period, controlling the time window from the starting point of the time period along the development direction of the generation time period according to The sliding step is used to slide. When the time window slides to a position, in the sub-time period of the generation time period covered by the time window, the third event at all time points in the sub-time period is counted in the first event The first total number of occurrences after the specified time period occurs, and the second total number of occurrences of the third event at all time points in the generation time period after the specified time period of the first event occurs, when the first total number reaches the second When the percentage of the total times reaches the percentage threshold, the time center point of the sub-time period is determined as the time feature point.
在第三种可实现方式中,可以先根据第一事件的历史数据和第三事件的历史数据,确定第三事件在第一事件发生指定时长后发生的总次数的最大值,并设置该最大值的抖动阈值,然后在产生第一事件的历史数据和第三事件的历史数据的产生时间段中,筛选第三事件在第一事件发生指定时长后发生的总次数达到该最大值的抖动阈值范围内的时间点,并将筛选出来的时间点确定为时间特征点。In the third practicable way, first, according to the historical data of the first event and the historical data of the third event, determine the maximum value of the total number of occurrences of the third event after the specified time period of the first event, and set the maximum value, and then in the generation time period when the historical data of the first event and the historical data of the third event are generated, filter the jitter threshold where the total number of occurrences of the third event reaches the maximum value after the first event occurs for a specified time period Time points within the range, and the filtered time points are determined as time feature points.
步骤9023、在时间特征点对第一事件触发第三事件的概率进行第一初始化。Step 9023: Perform first initialization on the probability that the first event triggers the third event at the time feature point.
该第一初始化的过程实质是:对在第一事件发生的情况下,第三事件在时间特征点指示的时长后发生的条件概率进行初始化。并且,可以随机化地对该条件概率进行初始化,例如,可以将该条件概率初始化为0或0.5等。The essence of the first initialization process is to initialize the conditional probability that the third event occurs after the duration indicated by the time feature point when the first event occurs. In addition, the conditional probability may be initialized randomly, for example, the conditional probability may be initialized as 0 or 0.5.
步骤9024、分别对第一事件和第三事件在指定时间段中发生的概率进行第二初始化。Step 9024: Carry out second initialization on the probabilities of the first event and the third event occurring within a specified time period respectively.
该第二初始化的过程实质是:分别对第一事件和第三事件自然发生的概率随时间发生变化的概率分布进行初始化。例如,可以假设第一事件和第三事件的概率分布均为泊松分布,且第一事件的泊松分布的参数λ为λ1,第三事件的泊松分布的参数λ为λ2。并且,也可以随机化地对第一事件和第三事件的概率分布进行第二初始化,且该第一事件和该第三事件的概率分布可以初始化为任意一种分布方式。The essence of the second initialization process is to initialize the probability distributions of the natural occurrence probabilities of the first event and the third event over time. For example, it may be assumed that the probability distributions of the first event and the third event are both Poisson distributions, and the parameter λ of the Poisson distribution of the first event is λ1, and the parameter λ of the Poisson distribution of the third event is λ2. Moreover, the second initialization may also be performed on the probability distributions of the first event and the third event randomly, and the probability distributions of the first event and the third event may be initialized in any distribution manner.
步骤9025、基于第一初始化的结果和第二初始化的结果,得到第一事件触发第三事件的概率随时间变化的初始化数据。Step 9025: Based on the results of the first initialization and the results of the second initialization, the initialization data of the probability that the first event triggers the third event changes with time is obtained.
在经过第一初始化和第二初始化后,可以根据该第一初始化的结果和第二初始化的结果,确定第一事件触发该第三事件的概率随时间变化的数据。其中,在任一时间特征点处,第一事件触发该第三事件的概率,可以根据该第三事件自然发生的概率,及该第三事件在第一事件发生后该时间特征点指示的时长后发生的条件概率得到。在不是时间特征点的任一时间点处,该第三事件在该时间点处发生的概率,可以根据该第三事件自然发生的概率得到。并且,该第三事件自然发生的概率可以根据第三事件的概率分布得到,该第三事件在第一事件发生后该时间特征点指示的时长后发生的条件概率,可以根据该第三事件的概率分布和第一事件的概率分布得到。After the first initialization and the second initialization, the time-varying data of the probability that the first event triggers the third event may be determined according to the result of the first initialization and the result of the second initialization. Wherein, at any time feature point, the probability that the first event triggers the third event may be based on the probability that the third event occurs naturally, and the third event occurs after the time period indicated by the time feature point after the first event occurs. The conditional probability of occurrence is obtained. At any time point that is not a time feature point, the probability that the third event occurs at the time point can be obtained according to the probability that the third event occurs naturally. Moreover, the probability of the third event occurring naturally can be obtained according to the probability distribution of the third event, and the conditional probability of the third event occurring after the duration indicated by the time feature point after the occurrence of the first event can be obtained according to the probability distribution of the third event The probability distribution and the probability distribution of the first event are obtained.
需要说明的是,当第一事件的历史数据和第三事件的历史数据反映第三事件具有延迟概率时,在该步骤902中还需要对该延迟概率进行第三初始化,相应的,该初始化数据还需要体现该第三初始化的结果。在一种可实现方式中,可以随机化地对该延迟概率进行初始化。例如,可以将该延迟概率初始化为0.7或0.8等。当根据历史数据确定第三事件具有延迟概率时,通过对该延迟概率进行第三初始化,可使根据初始化数据得到的第一事件触发第三事件的概率随时间变化的情况,能够更好地拟合根据历史数据得到的第一事件触发第三事件的概率随时间变化的情况,使得分析模型的训练结果更优,保证分析模型的性能。It should be noted that, when the historical data of the first event and the historical data of the third event reflect that the third event has a delay probability, a third initialization of the delay probability is also required in step 902, and correspondingly, the initialization data It is also necessary to reflect the results of this third initialization. In an implementable manner, the delay probability may be initialized randomly. For example, the delay probability may be initialized to 0.7 or 0.8 and so on. When the third event is determined to have a delay probability according to the historical data, by performing a third initialization on the delay probability, the probability of the first event triggering the third event obtained according to the initialization data can be better simulated when the probability of the third event is triggered by the initialization data. Combined with the fact that the probability of the first event triggering the third event obtained from historical data changes with time, the training result of the analysis model is better, and the performance of the analysis model is guaranteed.
步骤903、基于参考数据和初始化数据,对分析模型进行训练。Step 903: Train the analysis model based on the reference data and initialization data.
对分析模型进行训练的过程,是根据参考数据和不同的初始化数据对分析模型的参数进行迭代调整,直至达到训练截止条件的过程。其中,在不同次的初始化过程中,当本次第一初始化的结果和第二初始化的结果中的至少一个,相对于上次初始化过程中的第一初始化的结果和第二初始化的结果发生变化时,即可认为本次得到的初始化数据相对于上次得到的初始化数据发生了变化。并且,使得训练过程达到训练截止条件的第一初始化结果可视为第一事件触发该第三事件的最优条件概率,达到的第二初始化结果可视为第一事件和第三事件自然发生的概率的最优概率分布。当初始化数据还根据第三初始化得到时,使得训练过程达到训练截止条件的第三初始化结果可视为第三事件的最优延迟概率。The process of training the analysis model is to iteratively adjust the parameters of the analysis model according to the reference data and different initialization data until the training cut-off condition is reached. Wherein, in different initialization processes, when at least one of the result of the first initialization and the result of the second initialization this time changes compared to the result of the first initialization and the result of the second initialization in the previous initialization process , it can be considered that the initialization data obtained this time has changed compared with the initialization data obtained last time. Moreover, the first initialization result that makes the training process reach the training cut-off condition can be regarded as the optimal conditional probability that the first event triggers the third event, and the achieved second initialization result can be regarded as the natural occurrence of the first event and the third event The optimal probability distribution for probabilities. When the initialization data is also obtained according to the third initialization, the third initialization result that makes the training process reach the training cut-off condition can be regarded as the optimal delay probability of the third event.
下面以根据参考数据和一组初始化数据对分析模型进行训练的过程为例进行说明,该一组初始化数据为执行一次第一初始化和执行一次第二初始化得到的初始化数据。由于参考数据和初始化数据均为第一事件触发该第三事件的概率随时间变化的数据,则可以获取该参考数据和初始化数据的相似度,然后根据该相似度得到对分析模型的参数进行调整所参考的损失函数,然后根据损失函数得到对分析模型的参数进行调整的梯度,然后根据该梯度对分析模型的参数进行调整,并根据是否达到训练截止条件判断是否完成训练过程。The process of training the analysis model according to the reference data and a set of initialization data is described below as an example. The set of initialization data is the initialization data obtained by performing the first initialization once and the second initialization once. Since both the reference data and the initialization data are data that the probability of the first event triggering the third event changes with time, the similarity between the reference data and the initialization data can be obtained, and then the parameters of the analysis model can be adjusted according to the similarity The referenced loss function, and then obtain the gradient for adjusting the parameters of the analysis model according to the loss function, then adjust the parameters of the analysis model according to the gradient, and judge whether to complete the training process according to whether the training cut-off condition is reached.
其中,参考数据和初始化数据均可使用波形表示。则获取参考数据和初始化数据的相似度的实现过程可以包括:根据用于表示参考数据的第一波形和用于表示初始化数据的第二波形,分别确定该第一波形和第二波形在每个时间点处的幅值之差,然后根据第一波性和第二波形在不同时间点处的幅值之差,确定该第一波形和第二波形的波形相似度,该波形相似度即为参考数据和初始化数据的相似度。可选地,根据幅值之差获取该第一波形和第二波形的波形相似度的实现原理,可以相应参考均方误差(mean square error,MSE)、余弦相似度、动态时间归整(dynamic time warping,DTW)距离和绝对均值百分比误差(mean absolute percentage error,MAPE)等技术的原理,此处不再赘述。Wherein, both reference data and initialization data can be represented by waveforms. The implementation process of obtaining the similarity between the reference data and the initialization data may include: according to the first waveform used to represent the reference data and the second waveform used to represent the initialization data, respectively determine the first waveform and the second waveform in each The amplitude difference at the time point, and then according to the amplitude difference between the first waveform and the second waveform at different time points, determine the waveform similarity between the first waveform and the second waveform, and the waveform similarity is Similarity between reference data and initialization data. Optionally, according to the implementation principle of obtaining the waveform similarity of the first waveform and the second waveform according to the difference in amplitude, reference may be made to mean square error (mean square error, MSE), cosine similarity, dynamic time normalization (dynamic Time warping, DTW) distance and absolute mean percentage error (mean absolute percentage error, MAPE) and other technical principles, will not be repeated here.
对分析模型的参数进行调整所参考的损失函数可以为关于相似度的函数,在获取相似度 后,可以将该相似度带入损失函数的函数表达式,以得到该损失函数的取值,然后根据该损失函数的取值确定对分析模型的参数进行调整的梯度。The loss function referenced for adjusting the parameters of the analysis model can be a function of similarity. After obtaining the similarity, the similarity can be brought into the function expression of the loss function to obtain the value of the loss function, and then The gradient for adjusting the parameters of the analysis model is determined according to the value of the loss function.
在本申请实施例中,分析模型可以为人工智能模型或其他类型的模型,本申请实施例对其不做具体限定。且当分析模型为AI模型时,具体可以为神经网络模型,此时分析模型的参数可以为神经网络中神经元的权重等参数。In the embodiment of the present application, the analysis model may be an artificial intelligence model or other types of models, which are not specifically limited in the embodiment of the present application. Moreover, when the analysis model is an AI model, it may specifically be a neural network model, and at this time, parameters of the analysis model may be parameters such as weights of neurons in the neural network.
需要说明的是,本申请实施例提供的事件分析的方法的步骤先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。It should be noted that the sequence of steps in the event analysis method provided in the embodiment of the present application can be adjusted appropriately, and the steps can also be increased or decreased according to the situation. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes, which should be covered within the scope of protection of this application, and thus will not be repeated here.
本申请实施例还提供了一种程序调试装置。该程序调试装置的结构示意图请参考图11,如图11所示,该事件分析的装置110包括:The embodiment of the present application also provides a program debugging device. Please refer to FIG. 11 for a structural diagram of the program debugging device. As shown in FIG. 11 , the event analysis device 110 includes:
交互模块1101,用于获取第一事件的查询消息,查询消息用于查询第二事件的目标信息,第二事件是第一事件触发生成的,第一事件为在第一时间已发生的事件,第二事件为在第一时间未发生的预测事件,第一时间小于或等于获取到查询消息的时间。The interaction module 1101 is used to obtain the query message of the first event, the query message is used to query the target information of the second event, the second event is triggered by the first event, and the first event is an event that has occurred at the first time, The second event is a predicted event that does not occur at the first time, and the first time is less than or equal to the time when the query message is obtained.
获得模块1102,用于基于查询消息,获得目标信息,目标信息包括第二事件的事件标识、触发概率和/或预测发生时间。The obtaining module 1102 is configured to obtain target information based on the query message, where the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event.
可选地,查询消息包括筛选条件,包括筛选条件的查询消息用于查询满足筛选条件的目标信息,筛选条件包括以下一个或多个:时间条件、概率条件和设备条件。Optionally, the query message includes a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition, and the filter condition includes one or more of the following: time condition, probability condition, and device condition.
其中,设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者,设备条件用于指示与第二事件发生具有关联性的设备。Wherein, the device condition includes one or more of the following device attributes: device identifier, the area where the device is located, the device type, the network topology where the device is located, the manufacturer of the device, and the user of the device. A device with an association occurs.
可选地,查询消息基于用户在查询界面输入的查询参数得到,或者,基于用户在查询界面选择的界面组件得到,或者,通过应用编程接口从第三方系统得到。Optionally, the query message is obtained based on query parameters input by the user on the query interface, or based on interface components selected by the user on the query interface, or obtained from a third-party system through an application programming interface.
可选地,获得模块1102,还用于:获取事件分析的装置110管理的事件中在第一时间已发生事件的第一历史数据,第一历史数据包括:已发生事件的标识和已发生事件的发生时间,第一历史数据包括第一事件的历史数据和第三事件的历史数据,第三事件为在第一时间已发生事件中,与第二事件具有相同标识的事件。Optionally, the obtaining module 1102 is further configured to: obtain the first historical data of events that have occurred at the first time in the events managed by the event analysis device 110, the first historical data includes: the identifier of the event that has occurred and the event that has occurred The first historical data includes historical data of the first event and historical data of the third event, and the third event is an event that has the same identifier as the second event among the events that have occurred at the first time.
相应的,获得模块1102,具体用于:对第一历史数据进行分析,获得目标信息。Correspondingly, the obtaining module 1102 is specifically configured to: analyze the first historical data to obtain target information.
可选地,获得模块1102,具体用于:基于第一历史数据和分析模型,获得目标信息,分析模型属于人工智能模型。Optionally, the obtaining module 1102 is specifically configured to: obtain target information based on the first historical data and an analysis model, where the analysis model belongs to an artificial intelligence model.
可选地,获得模块1102,具体用于:基于第一历史数据、分析指示信息和分析模型,获得目标信息,分析指示信息用于指示将第一事件作为触发第二事件发生的前置事件。Optionally, the obtaining module 1102 is specifically configured to: obtain target information based on the first historical data, analysis indication information, and analysis model, where the analysis indication information is used to indicate that the first event is used as a pre-event that triggers the occurrence of the second event.
可选地,与第一事件具有关联性的第二事件包括一个或多个,获得模块1102,具体用于:对第一历史数据进行预筛选,得到第一事件的历史数据和任一第三事件的历史数据,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;将分析指示信息、第一事件的历史数据和任一第三事件的历史数据输入分析模型,得到分析模型输出的任一第二事件的目标信息。Optionally, the second event associated with the first event includes one or more, and the obtaining module 1102 is specifically configured to: pre-screen the first historical data, obtain the historical data of the first event and any third The historical data of the event, any third event is an event that has the same identifier as any second event among the events that have occurred at the first time; the indicator information, the historical data of the first event and the data of any third event will be analyzed The historical data is input into the analysis model, and the target information of any second event output by the analysis model is obtained.
可选地,如图12所示,该装置110还包括:训练模块1103,训练模块1103用于:基于第一事件的历史数据和任一第三事件的历史数据,获取第一事件触发任一第三事件的概率随 时间变化的参考数据,与第一事件具有关联性的第二事件包括一个或多个,任一第三事件为在第一时间已发生事件中,与任一第二事件具有相同标识的事件;获取第一事件触发任一第三事件的概率随时间变化的初始化数据,初始化数据通过对第一事件和任一第三事件的发生概率进行初始化得到;基于参考数据和初始化数据,对分析模型进行训练。Optionally, as shown in FIG. 12 , the device 110 further includes: a training module 1103, and the training module 1103 is configured to: based on the historical data of the first event and the historical data of any third event, acquire any The reference data of the probability of the third event changing over time, the second event associated with the first event includes one or more, any third event is an event that has occurred at the first time, and any second event Events with the same identifier; obtain the initialization data of the probability that the first event triggers any third event over time, and the initialization data is obtained by initializing the occurrence probability of the first event and any third event; based on the reference data and the initialization data to train the analysis model.
可选地,训练模块1103具体用于:基于第一事件的历史数据和任一第三事件的历史数据,统计任一第三事件在第一事件发生指定时长后发生的总次数;基于总次数获取时间特征点,第一历史数据指示第一事件在时间特征点触发任一第三事件的概率大于或等于参考概率阈值;在时间特征点对第一事件触发任一第三事件的概率进行第一初始化;分别对第一事件和任一第三事件在指定时间段中发生的概率进行第二初始化;基于第一初始化的结果和第二初始化的结果,得到第一事件触发任一第三事件发生的概率随时间变化的初始化数据。Optionally, the training module 1103 is specifically configured to: based on the historical data of the first event and the historical data of any third event, count the total number of occurrences of any third event after the first event occurs for a specified period of time; Acquiring time feature points, the first historical data indicates that the probability of the first event triggering any third event at the time feature point is greater than or equal to the reference probability threshold; at the time feature point, the probability of the first event triggering any third event is calculated One initialization; the second initialization is performed on the probability of occurrence of the first event and any third event in a specified time period respectively; based on the result of the first initialization and the result of the second initialization, the first event triggers any third event The probability of occurrence varies with time to initialize the data.
综上所述,在本申请实施例提供的事件分析的装置中,由于获得模块能够对由第一事件触发且未发生的第二事件进行预测,及对该第二事件的触发概率和预测发生时间中的至少一个进行预测,相对于相关技术,不仅能够对事件之间是否具有关联性进行分析,还能够分析具有关联性的事件中被触发事件的触发概率和预测发生时间中的至少一个,其分析结果直观的反映了关联性事件的分析结果,且可解释性强,实现了对事件之间关联性的多样性分析,丰富了对具有关联性的事件的分析功能。To sum up, in the event analysis device provided by the embodiment of the present application, since the acquisition module can predict the second event that is triggered by the first event and has not occurred, and the trigger probability and predicted occurrence of the second event At least one of the times is predicted. Compared with related technologies, it is not only possible to analyze whether there is correlation between events, but also to analyze at least one of the trigger probability of the triggered event and the predicted occurrence time of the correlated events. The analysis results intuitively reflect the analysis results of related events, and are highly interpretable. It realizes the diversity analysis of the correlation between events and enriches the analysis function of related events.
并且,该装置实际是根据事件发生的历史数据,统计一个事件引起另一事件发生的规律,并根据该规律对事件之间的关联性进行分析,相对于根据专家经验得到的规则对事件进行关联性分析的相关技术,能够对更多种情况的事件之间的关联性进行分析,保证了该装置的适用范围,且无需注入专家经验。且由于该装置不是根据专家经验得到的规律进行分析,则不需要根据网络的扩展进行规则的同步,不会影响开发和运维的效率,也不会引起实现成本和误码率的增加。Moreover, the device actually counts the law of one event causing another event based on the historical data of the event, and analyzes the correlation between the events according to the law, and correlates the events with respect to the rules obtained from expert experience. The relevant technology of sex analysis can analyze the correlation between events in more situations, which ensures the scope of application of the device, and does not need to inject expert experience. And because the device does not analyze according to the rules obtained by expert experience, it does not need to synchronize the rules according to the expansion of the network, which will not affect the efficiency of development and operation and maintenance, and will not cause the increase of implementation cost and bit error rate.
另外,由于该装置不需要根据历史数据进行特征提取,且历史数据中的必需信息为已发生事件的标识和已发生事件的发生时间,相对于其他确定事件之间关联性的相关技术,降低了对用于分析的数据的要求,能够提高分析的泛化能力,提高了分析结果稳定性。In addition, since the device does not need to perform feature extraction based on historical data, and the necessary information in historical data is the identification of events that have occurred and the time of occurrence of events that have occurred, compared with other related technologies that determine the correlation between events, it reduces the The requirements for the data used for analysis can improve the generalization ability of the analysis and improve the stability of the analysis results.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和模块的具体工作过程,可以参考前述方法实施例中的对应内容,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described devices and modules can refer to the corresponding content in the foregoing method embodiments, and details are not repeated here.
图13是本申请实施例提供的一种分析设备的结构示意图。该分析设备可以为前述图1和图2描述的第一设备01,且该分析设备具体可以为计算机设备。当该分析设备为计算机设备时,如图13所示,该计算机设备130包括存储器1301、处理器1302、通信接口1303以及总线1304。其中,存储器1301、处理器1302、通信接口1303通过总线1304实现彼此之间的通信连接。并且,该计算机设备130可以包括多个处理器1302,以便于通过不同的处理器实现上述不同功能模块的功能。Fig. 13 is a schematic structural diagram of an analysis device provided by an embodiment of the present application. The analysis device may be the first device 01 described above in FIG. 1 and FIG. 2 , and specifically, the analysis device may be a computer device. When the analysis device is a computer device, as shown in FIG. 13 , the computer device 130 includes a memory 1301 , a processor 1302 , a communication interface 1303 and a bus 1304 . Wherein, the memory 1301 , the processor 1302 , and the communication interface 1303 are connected to each other through a bus 1304 . Moreover, the computer device 130 may include multiple processors 1302, so that different processors may be used to realize the functions of the above-mentioned different functional modules.
存储器1301可以是只读存储器(read only memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(random access memory,RAM)。存储器1301可以存储可执行代码序,当存储器1301中存储的可执行代码被处理器1302执行时,处理器1302和通信接口1303用于执行本申请实施例提供的事件分析的方法。存储器1301中还可以包括操作系统等其他运行进程所需的软件模块和数据等。且操作系统可以为LINUX TM,UNIX TM,WINDOWS TM 等。 The memory 1301 may be a read only memory (read only memory, ROM), a static storage device, a dynamic storage device or a random access memory (random access memory, RAM). The memory 1301 may store an executable code sequence. When the executable code stored in the memory 1301 is executed by the processor 1302, the processor 1302 and the communication interface 1303 are used to execute the event analysis method provided by the embodiment of the present application. The memory 1301 may also include software modules and data required by other running processes such as an operating system. And the operating system can be LINUX TM , UNIX TM , WINDOWS TM and so on.
处理器1302可以采用通用的中央处理器(central processing unit,CPU),微处理器,应用专用集成电路(application specific integrated circuit,ASIC),图形处理器(graphics processing unit,GPU)或者一个或多个集成电路。The processor 1302 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application specific integrated circuit (application specific integrated circuit, ASIC), a graphics processing unit (graphics processing unit, GPU) or one or more integrated circuit.
处理器1302还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的事件分析的方法的部分或全部功能可以通过处理器1302中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1302还可以是通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1301,处理器1302读取存储器1301中的信息,结合其硬件完成本申请实施例的事件分析的方法。The processor 1302 may also be an integrated circuit chip with signal processing capabilities. During implementation, part or all of the functions of the event analysis method of the present application may be implemented by an integrated logic circuit of hardware in the processor 1302 or instructions in the form of software. The above-mentioned processor 1302 can also be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an application-specific integrated circuit (ASIC), a ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1301, and the processor 1302 reads the information in the memory 1301, and combines its hardware to complete the event analysis method of the embodiment of the present application.
通信接口1303使用例如但不限于收发器一类的收发模块,来实现计算机设备130与其他设备或通信网络之间的通信。例如,通信接口1303可以是以下器件的任一种或任一种组合:网络接口(如以太网接口)、无线网卡等具有网络接入功能的器件。The communication interface 1303 uses a transceiver module such as but not limited to a transceiver to implement communication between the computer device 130 and other devices or communication networks. For example, the communication interface 1303 may be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card and other devices with network access functions.
总线1304可包括在计算机设备130各个部件(例如,存储器1301、处理器1302、通信接口1303)之间传送信息的通路。Bus 1304 may include pathways for transferring information between various components of computer device 130 (eg, memory 1301 , processor 1302 , communication interface 1303 ).
需要说明的是,当该计算机设备为终端时,该计算机设备还包括显示屏,该显示屏用于显示程序开发平台的图形用户界面。It should be noted that, when the computer device is a terminal, the computer device further includes a display screen for displaying a graphical user interface of the program development platform.
上述每个计算机设备130间通过通信网络建立通信通路。每个计算机设备130用于实现本申请实施例提供的事件分析的方法的部分功能。任一计算机设备130可以为云数据中心中的计算机设备(例如:服务器),或边缘数据中心中的计算机设备等。A communication path is established between each of the above-mentioned computer devices 130 through a communication network. Each computer device 130 is configured to realize some functions of the event analysis method provided by the embodiment of the present application. Any computer device 130 may be a computer device (for example: a server) in a cloud data center, or a computer device in an edge data center, or the like.
上述各个附图对应的流程的描述各有侧重,某个流程中没有详述的部分,可以参见其他流程的相关描述。The descriptions of the processes corresponding to the above-mentioned figures have their own emphasis. For the parts not described in detail in a certain process, you can refer to the relevant descriptions of other processes.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。提供程序开发平台的计算机程序产品包括一个或多个计算机指令,在计算机设备上加载和执行这些计算机程序指令时,全部或部分地实现本申请实施例提供的事件分析的方法的流程或功能。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product that provides the program development platform includes one or more computer instructions. When these computer program instructions are loaded and executed on the computer device, the process or function of the event analysis method provided by the embodiment of the present application is fully or partially realized.
计算机设备可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质存储有提供程序开发平台的计算机程序指令。The computer equipment can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center.Computer-readable storage medium stores a computer program that provides a program development platform instruction.
本申请实施例还提供了一种存储介质,该存储介质为非易失性计算机可读存储介质,当 存储介质中的指令被处理器执行时,实现如本申请实施例提供的事件分析的方法。The embodiment of the present application also provides a storage medium, which is a non-volatile computer-readable storage medium. When the instructions in the storage medium are executed by the processor, the event analysis method provided by the embodiment of the present application is implemented. .
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请实施例提供的事件分析的方法。The embodiment of the present application also provides a computer program product containing instructions, and when the computer program product is run on the computer, the computer is made to execute the event analysis method provided in the embodiment of the present application.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本申请实施例中,术语“第一”、“第二”和“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”是指一个或多个,术语“多个”指两个或两个以上,除非另有明确的限定。In the embodiments of the present application, the terms "first", "second" and "third" are used for description purposes only, and cannot be understood as indicating or implying relative importance. The term "at least one" means one or more, and the term "plurality" means two or more, unless otherwise clearly defined.
本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The term "and/or" in this application is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist simultaneously, and A and B exist alone. There are three cases of B. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the concept and principles of the application shall be included in the protection of the application. within range.

Claims (21)

  1. 一种事件分析的方法,其特征在于,所述方法应用于通信设备,所述方法包括:A method for event analysis, characterized in that the method is applied to a communication device, and the method includes:
    获取第一事件的查询消息,所述查询消息用于查询第二事件的目标信息,所述第二事件是所述第一事件触发生成的,所述第一事件为在第一时间已发生的事件,所述第二事件为在所述第一时间未发生的预测事件,所述第一时间小于或等于获取到所述查询消息的时间;Obtain a query message of the first event, the query message is used to query the target information of the second event, the second event is triggered by the first event, and the first event has occurred at the first time event, the second event is a predicted event that did not occur at the first time, and the first time is less than or equal to the time when the query message is obtained;
    基于所述查询消息,获得所述目标信息,所述目标信息包括所述第二事件的事件标识、触发概率和/或预测发生时间。Based on the query message, the target information is obtained, where the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event.
  2. 根据权利要求1所述的方法,其特征在于,所述查询消息包括筛选条件,包括所述筛选条件的查询消息用于查询满足所述筛选条件的目标信息,所述筛选条件包括以下一个或多个:时间条件、概率条件和设备条件;The method according to claim 1, wherein the query message includes a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition, and the filter condition includes one or more of the following One: time condition, probability condition and equipment condition;
    所述设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者,所述设备条件用于指示与所述第二事件发生具有关联性的设备。The device condition includes one or more of the following device attributes: device identifier, the area where the device is located, the device type, the network topology where the device is located, the manufacturer of the device, and the user of the device. The above-mentioned second event occurrence is associated with the device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述查询消息基于用户在查询界面输入的查询参数得到,或者,基于所述用户在所述查询界面选择的界面组件得到,或者,通过应用编程接口API从第三方系统得到。The method according to claim 1 or 2, wherein the query message is obtained based on query parameters input by the user on the query interface, or obtained based on an interface component selected by the user on the query interface, or obtained by The application programming interface API is obtained from the third-party system.
  4. 根据权利要求1至3任一所述的方法,其特征在于,在所述基于所述查询消息,获得所述目标信息之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein, before obtaining the target information based on the query message, the method further comprises:
    获取所述通信设备管理的事件中在所述第一时间已发生事件的第一历史数据,所述第一历史数据包括:所述已发生事件的标识和所述已发生事件的发生时间,所述第一历史数据包括所述第一事件的历史数据和第三事件的历史数据,所述第三事件为在所述第一时间已发生事件中,与所述第二事件具有相同标识的事件;Acquiring first historical data of events that have occurred at the first time in the events managed by the communication device, where the first historical data includes: the identifier of the event that has occurred and the time of occurrence of the event that has occurred, the The first historical data includes historical data of the first event and historical data of a third event, the third event is an event that has the same identifier as the second event among the events that have occurred at the first time ;
    所述获得所述目标信息,包括:The obtaining of the target information includes:
    对所述第一历史数据进行分析,获得所述目标信息。Analyzing the first historical data to obtain the target information.
  5. 根据权利要求4所述的方法,其特征在于,所述对所述第一历史数据进行分析,获得所述目标信息,包括:The method according to claim 4, wherein the analyzing the first historical data to obtain the target information comprises:
    基于所述第一历史数据和分析模型,获得所述目标信息,所述分析模型属于人工智能模型。The target information is obtained based on the first historical data and an analysis model, where the analysis model belongs to an artificial intelligence model.
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述第一历史数据和分析模型,获得所述目标信息,包括:The method according to claim 5, wherein said obtaining said target information based on said first historical data and an analysis model comprises:
    基于所述第一历史数据、分析指示信息和分析模型,获得所述目标信息,所述分析指示信息用于指示将所述第一事件作为触发所述第二事件发生的前置事件。The target information is obtained based on the first historical data, analysis indication information, and analysis model, where the analysis indication information is used to indicate that the first event is used as a pre-event that triggers the occurrence of the second event.
  7. 根据权利要求6所述的方法,其特征在于,与所述第一事件具有关联性的第二事件包括一个或多个,所述基于所述第一历史数据、分析指示信息和分析模型,获得所述目标信息,包括:The method according to claim 6, wherein the second event associated with the first event includes one or more, and the obtained The target information includes:
    对所述第一历史数据进行预筛选,得到所述第一事件的历史数据和任一第三事件的历史数据,所述任一第三事件为在所述第一时间已发生事件中,与任一第二事件具有相同标识的事件;Pre-screening the first historical data to obtain historical data of the first event and historical data of any third event, where any third event is an event that has occurred at the first time, and any second event has the same identity as the event;
    将所述分析指示信息、所述第一事件的历史数据和所述任一第三事件的历史数据输入所 述分析模型,得到所述分析模型输出的所述任一第二事件的所述目标信息。inputting the analysis indication information, the historical data of the first event and the historical data of any third event into the analysis model, and obtaining the target of the any second event output by the analysis model information.
  8. 根据权利要求6或7所述的方法,其特征在于,在所述基于所述第一历史数据、分析指示信息和分析模型,获得所述目标信息之前,所述方法还包括:The method according to claim 6 or 7, wherein, before obtaining the target information based on the first historical data, analysis indication information and analysis model, the method further comprises:
    基于所述第一事件的历史数据和任一第三事件的历史数据,获取所述第一事件触发所述任一第三事件的概率随时间变化的参考数据,与所述第一事件具有关联性的第二事件包括一个或多个,所述任一第三事件为在所述第一时间已发生事件中,与任一第二事件具有相同标识的事件;Based on the historical data of the first event and the historical data of any third event, obtain the reference data of the probability that the first event triggers any third event over time, which is associated with the first event The specific second event includes one or more, and any third event is an event that has the same identifier as any second event among the events that have occurred at the first time;
    获取所述第一事件触发所述任一第三事件的概率随时间变化的初始化数据,所述初始化数据通过对所述第一事件和所述任一第三事件的发生概率进行初始化得到;Acquiring initialization data of the probability of the first event triggering the any third event changing over time, the initialization data is obtained by initializing the occurrence probabilities of the first event and the any third event;
    基于所述参考数据和所述初始化数据,对所述分析模型进行训练。The analysis model is trained based on the reference data and the initialization data.
  9. 根据权利要求8所述的方法,其特征在于,所述获取所述第一事件触发所述任一第三事件的概率随时间变化的初始化数据,包括:The method according to claim 8, wherein the acquiring the initialization data of the probability that the first event triggers any third event changes over time comprises:
    基于所述第一事件的历史数据和所述任一第三事件的历史数据,统计所述任一第三事件在所述第一事件发生指定时长后发生的总次数;Based on the historical data of the first event and the historical data of any third event, counting the total number of occurrences of any third event after the first event occurs for a specified period of time;
    基于所述总次数获取时间特征点,所述第一历史数据指示所述第一事件在所述时间特征点触发所述任一第三事件的概率大于或等于参考概率阈值;Acquiring time feature points based on the total number of times, the first historical data indicates that the probability of the first event triggering any third event at the time feature point is greater than or equal to a reference probability threshold;
    在所述时间特征点对所述第一事件触发所述任一第三事件的概率进行第一初始化;Performing a first initialization on the probability that the first event triggers any third event at the time feature point;
    分别对所述第一事件和所述任一第三事件在指定时间段中发生的概率进行第二初始化;performing a second initialization on the probabilities of occurrence of the first event and any third event within a specified time period, respectively;
    基于所述第一初始化的结果和所述第二初始化的结果,得到所述第一事件触发所述任一第三事件发生的概率随时间变化的初始化数据。Based on the result of the first initialization and the result of the second initialization, the initialization data of the probability that the first event triggers the occurrence of any third event changing over time is obtained.
  10. 一种事件分析的装置,其特征在于,所述装置包括:A device for event analysis, characterized in that the device comprises:
    交互模块,用于获取第一事件的查询消息,所述查询消息用于查询第二事件的目标信息,所述第二事件是所述第一事件触发生成的,所述第一事件为在第一时间已发生的事件,所述第二事件为在所述第一时间未发生的预测事件,所述第一时间小于或等于获取到所述查询消息的时间;An interaction module, configured to acquire a query message of a first event, the query message is used to query target information of a second event, the second event is triggered by the first event, and the first event is An event that has occurred at a time, the second event is a predicted event that has not occurred at the first time, and the first time is less than or equal to the time when the query message is obtained;
    获得模块,用于基于所述查询消息,获得所述目标信息,所述目标信息包括所述第二事件的事件标识、触发概率和/或预测发生时间。An obtaining module, configured to obtain the target information based on the query message, where the target information includes the event identifier, trigger probability and/or predicted occurrence time of the second event.
  11. 根据权利要求10所述的装置,其特征在于,所述查询消息包括筛选条件,包括所述筛选条件的查询消息用于查询满足所述筛选条件的目标信息,所述筛选条件包括以下一个或多个:时间条件、概率条件和设备条件;The device according to claim 10, wherein the query message includes a filter condition, and the query message including the filter condition is used to query target information satisfying the filter condition, and the filter condition includes one or more of the following One: time condition, probability condition and equipment condition;
    所述设备条件包括以下一个或多个设备属性:设备标识、设备所处区域、设备类型、设备所在的网络拓扑结构、设备的生产厂家和设备的使用者,所述设备条件用于指示与所述第二事件发生具有关联性的设备。The device condition includes one or more of the following device attributes: device identifier, the area where the device is located, the device type, the network topology where the device is located, the manufacturer of the device, and the user of the device. The above-mentioned second event occurrence is associated with the device.
  12. 根据权利要求10或11所述的装置,其特征在于,所述查询消息基于用户在查询界面输入的查询参数得到,或者,基于所述用户在所述查询界面选择的界面组件得到,或者,通过应用编程接口API从第三方系统得到。The device according to claim 10 or 11, wherein the query message is obtained based on query parameters input by the user on the query interface, or obtained based on an interface component selected by the user on the query interface, or obtained by The application programming interface API is obtained from the third-party system.
  13. 根据权利要求10至12任一所述的装置,其特征在于,所述获得模块,还用于:获取所述装置管理的事件中在所述第一时间已发生事件的第一历史数据,所述第一历史数据包括:所述已发生事件的标识和所述已发生事件的发生时间,所述第一历史数据包括所述第一事件 的历史数据和第三事件的历史数据,所述第三事件为在所述第一时间已发生事件中,与所述第二事件具有相同标识的事件;The device according to any one of claims 10 to 12, wherein the obtaining module is further configured to: obtain the first historical data of events that have occurred at the first time in the events managed by the device, the The first historical data includes: the identification of the occurred event and the occurrence time of the occurred event, the first historical data includes the historical data of the first event and the historical data of the third event, and the first The third event is an event that has the same identifier as the second event among the events that have occurred at the first time;
    所述获得模块,具体用于:对所述第一历史数据进行分析,获得所述目标信息。The obtaining module is specifically configured to: analyze the first historical data to obtain the target information.
  14. 根据权利要求13所述的装置,其特征在于,所述获得模块,具体用于:The device according to claim 13, wherein the obtaining module is specifically used for:
    基于所述第一历史数据和分析模型,获得所述目标信息,所述分析模型属于人工智能模型。The target information is obtained based on the first historical data and an analysis model, where the analysis model belongs to an artificial intelligence model.
  15. 根据权利要求14所述的装置,其特征在于,所述获得模块,具体用于:The device according to claim 14, wherein the obtaining module is specifically used for:
    基于所述第一历史数据、分析指示信息和分析模型,获得所述目标信息,所述分析指示信息用于指示将所述第一事件作为触发所述第二事件发生的前置事件。The target information is obtained based on the first historical data, analysis indication information, and analysis model, where the analysis indication information is used to indicate that the first event is used as a pre-event that triggers the occurrence of the second event.
  16. 根据权利要求15所述的装置,其特征在于,与所述第一事件具有关联性的第二事件包括一个或多个,所述获得模块,具体用于:The device according to claim 15, wherein the second event associated with the first event includes one or more, and the obtaining module is specifically configured to:
    对所述第一历史数据进行预筛选,得到所述第一事件的历史数据和任一第三事件的历史数据,所述任一第三事件为在所述第一时间已发生事件中,与任一第二事件具有相同标识的事件;Pre-screening the first historical data to obtain historical data of the first event and historical data of any third event, where any third event is an event that has occurred at the first time, and any second event has the same identity as the event;
    将所述分析指示信息、所述第一事件的历史数据和所述任一第三事件的历史数据输入所述分析模型,得到所述分析模型输出的所述任一第二事件的所述目标信息。inputting the analysis indication information, the historical data of the first event and the historical data of any third event into the analysis model, and obtaining the target of the any second event output by the analysis model information.
  17. 根据权利要求15或16所述的装置,其特征在于,所述装置还包括:训练模块,所述训练模块用于:The device according to claim 15 or 16, wherein the device further comprises: a training module, the training module is used for:
    基于所述第一事件的历史数据和任一第三事件的历史数据,获取所述第一事件触发所述任一第三事件的概率随时间变化的参考数据,与所述第一事件具有关联性的第二事件包括一个或多个,所述任一第三事件为在所述第一时间已发生事件中,与任一第二事件具有相同标识的事件;Based on the historical data of the first event and the historical data of any third event, obtain the reference data of the probability that the first event triggers any third event over time, which is associated with the first event The specific second event includes one or more, and any third event is an event that has the same identifier as any second event among the events that have occurred at the first time;
    获取所述第一事件触发所述任一第三事件的概率随时间变化的初始化数据,所述初始化数据通过对所述第一事件和所述任一第三事件的发生概率进行初始化得到;Acquiring initialization data of the probability of the first event triggering the any third event changing over time, the initialization data is obtained by initializing the occurrence probabilities of the first event and the any third event;
    基于所述参考数据和所述初始化数据,对所述分析模型进行训练。The analysis model is trained based on the reference data and the initialization data.
  18. 根据权利要求17所述的装置,其特征在于,所述训练模块具体用于:The device according to claim 17, wherein the training module is specifically used for:
    基于所述第一事件的历史数据和所述任一第三事件的历史数据,统计所述任一第三事件在所述第一事件发生指定时长后发生的总次数;Based on the historical data of the first event and the historical data of any third event, counting the total number of occurrences of any third event after the first event occurs for a specified period of time;
    基于所述总次数获取时间特征点,所述第一历史数据指示所述第一事件在所述时间特征点触发所述任一第三事件的概率大于或等于参考概率阈值;Acquiring time feature points based on the total number of times, the first historical data indicates that the probability of the first event triggering any third event at the time feature point is greater than or equal to a reference probability threshold;
    在所述时间特征点对所述第一事件触发所述任一第三事件的概率进行第一初始化;Performing a first initialization on the probability that the first event triggers any third event at the time feature point;
    分别对所述第一事件和所述任一第三事件在指定时间段中发生的概率进行第二初始化;performing a second initialization on the probabilities of occurrence of the first event and any third event within a specified time period, respectively;
    基于所述第一初始化的结果和所述第二初始化的结果,得到所述第一事件触发所述任一第三事件发生的概率随时间变化的初始化数据。Based on the result of the first initialization and the result of the second initialization, the initialization data of the probability that the first event triggers the occurrence of any third event changing over time is obtained.
  19. 一种分析设备,其特征在于,所述分析设备包括:处理器和存储器,所述存储器中存储有计算机程序;所述处理器执行计算机程序时,所述分析设备实现权利要求1至9任一所述的方法。An analysis device, characterized in that the analysis device comprises: a processor and a memory, and a computer program is stored in the memory; when the processor executes the computer program, the analysis device realizes any one of claims 1 to 9 the method described.
  20. 一种非瞬态的计算机可读存储介质,其特征在于,当所述计算机可读存储介质中的指令被处理器执行时,所述处理器执行权利要求1至9任一所述的方法。A non-transitory computer-readable storage medium, characterized in that when the instructions in the computer-readable storage medium are executed by a processor, the processor executes the method according to any one of claims 1 to 9.
  21. 一种包含指令的计算机程序产品,其特征在于,当计算机程序产品中的指令在计算机上运行时,所述计算机执行权利要求1至9任一所述的方法。A computer program product containing instructions, characterized in that, when the instructions in the computer program product are run on a computer, the computer executes the method according to any one of claims 1 to 9.
PCT/CN2022/098692 2021-06-18 2022-06-14 Event analysis method and apparatus thereof WO2022262725A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110680951.8 2021-06-18
CN202110680951.8A CN115499287A (en) 2021-06-18 2021-06-18 Event analysis method and device

Publications (1)

Publication Number Publication Date
WO2022262725A1 true WO2022262725A1 (en) 2022-12-22

Family

ID=84464849

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098692 WO2022262725A1 (en) 2021-06-18 2022-06-14 Event analysis method and apparatus thereof

Country Status (2)

Country Link
CN (1) CN115499287A (en)
WO (1) WO2022262725A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639368A (en) * 2015-01-13 2015-05-20 中国联合网络通信集团有限公司 Method and device for processing faults of communications network equipment
US20150333973A1 (en) * 2014-05-16 2015-11-19 Vodafone Ip Licensing Limited Controlling a server
US20170116091A1 (en) * 2015-10-23 2017-04-27 International Business Machines Corporation Creation of a Provisioning Environment Based on Probability of Events
CN107992530A (en) * 2017-11-14 2018-05-04 北京三快在线科技有限公司 Information recommendation method and electronic equipment
CN108733825A (en) * 2018-05-23 2018-11-02 阿里巴巴集团控股有限公司 A kind of objects trigger event prediction method and device
CN110233843A (en) * 2019-06-13 2019-09-13 优信拍(北京)信息科技有限公司 A kind of processing method and processing device of user's request

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150333973A1 (en) * 2014-05-16 2015-11-19 Vodafone Ip Licensing Limited Controlling a server
CN104639368A (en) * 2015-01-13 2015-05-20 中国联合网络通信集团有限公司 Method and device for processing faults of communications network equipment
US20170116091A1 (en) * 2015-10-23 2017-04-27 International Business Machines Corporation Creation of a Provisioning Environment Based on Probability of Events
CN107992530A (en) * 2017-11-14 2018-05-04 北京三快在线科技有限公司 Information recommendation method and electronic equipment
CN108733825A (en) * 2018-05-23 2018-11-02 阿里巴巴集团控股有限公司 A kind of objects trigger event prediction method and device
CN110233843A (en) * 2019-06-13 2019-09-13 优信拍(北京)信息科技有限公司 A kind of processing method and processing device of user's request

Also Published As

Publication number Publication date
CN115499287A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US11934417B2 (en) Dynamically monitoring an information technology networked entity
US11586972B2 (en) Tool-specific alerting rules based on abnormal and normal patterns obtained from history logs
JP2022003566A (en) Correlation between thread strength and heep use amount for specifying stack trace in which heaps are stored up
US9348687B2 (en) Determining a number of unique incidents in a plurality of incidents for incident processing in a distributed processing system
US20160156732A1 (en) Web Page Pre-loading Optimization
US20180113578A1 (en) Systems and methods for identifying process flows from log files and visualizing the flow
US20200342337A1 (en) Machine learning classifier for identifying internet service providers from website tracking
US11805005B2 (en) Systems and methods for predictive assurance
CN112154420A (en) Automatic intelligent cloud service testing tool
CN113792341B (en) Automatic detection method, device, equipment and medium for privacy compliance of application program
CA2916896C (en) Method and apparatus for automating network data analysis of user's activities
US20180032880A1 (en) Using Learned Application Flow to Predict Outcomes and Identify Trouble Spots in Network Business Transactions
CN111209181A (en) Regression testing method, system, device and computer storage medium
US11157267B1 (en) Evaluation of dynamic relationships between application components
WO2022262725A1 (en) Event analysis method and apparatus thereof
CN111581518A (en) Information pushing method and device
CN104937613A (en) Heuristics to quantify data quality
US11030673B2 (en) Using learned application flow to assist users in network business transaction based apps
CN111597461B (en) Target object aggregation prediction method and device and electronic equipment
CN110020166A (en) A kind of data analysing method and relevant device
CN114461909A (en) Information processing method, information processing apparatus, electronic device, and storage medium
CN114021642A (en) Data processing method and device, electronic equipment and storage medium
CN112508518A (en) RPA flow generation method combining RPA and AI, corresponding device and readable storage medium
CN114063879B (en) Method for processing operation command, electronic device and storage medium
JP7302668B2 (en) Level estimation device, level estimation method, and level estimation program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22824204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE