CN110287241A - A method and device for generating an alarm data report - Google Patents
A method and device for generating an alarm data report Download PDFInfo
- Publication number
- CN110287241A CN110287241A CN201910569785.7A CN201910569785A CN110287241A CN 110287241 A CN110287241 A CN 110287241A CN 201910569785 A CN201910569785 A CN 201910569785A CN 110287241 A CN110287241 A CN 110287241A
- Authority
- CN
- China
- Prior art keywords
- data
- alarm
- analysis task
- result
- block
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2462—Approximate or statistical queries
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Fuzzy Systems (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Alarm Systems (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
本发明实施例提供了一种生成告警数据报表的方法及装置,涉及金融科技技术领域,该方法包括:采用告警数据构造数据帧,针对每个告警分析任务,从数据帧中抽取告警分析任务对应的局部数据块,然后对局部数据块进行统计分析,确定告警分析任务的结果数据块。将每个告警分析任务的结果数据块进行拼接确定告警数据报表,故所有待分析的告警数据仅生成一张告警数据报表,该告警数据报表包括所有告警分析任务的内容,便于报表管理以及用户查询报表。其次,以数据帧的形式处理告警数据,生成报表对应的类型数据,能提高生成告警数据报表的效率。通过对大数据帧进行行和列的运算,实现对告警数据报表的更新,使得告警数据报表的管理维护更方便。
Embodiments of the present invention provide a method and device for generating an alarm data report, which relate to the technical field of financial technology. The method includes: using alarm data to construct a data frame, and for each alarm analysis task, extracting the alarm analysis task corresponding to each alarm analysis task from the data frame. Then perform statistical analysis on the local data blocks to determine the result data blocks of the alarm analysis task. The result data blocks of each alarm analysis task are spliced to determine the alarm data report, so all the alarm data to be analyzed only generate one alarm data report, which includes the content of all alarm analysis tasks, which is convenient for report management and user query report. Secondly, the alarm data is processed in the form of a data frame, and the type data corresponding to the report is generated, which can improve the efficiency of generating the alarm data report. By performing row and column operations on the large data frame, the update of the alarm data report is realized, which makes the management and maintenance of the alarm data report more convenient.
Description
技术领域technical field
本发明实施例涉及金融科技(Fintech)技术领域,尤其涉及一种生成告警数据报表的方法及装置。Embodiments of the present invention relate to the technical field of financial technology (Fintech), in particular to a method and device for generating an alarm data report.
背景技术Background technique
随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技(Fintech)转变,但由于金融行业的安全性、实时性要求,也对技术提出了更高的要求。目前,在对金融系统中各个机器的性能指标以及服务软件的健康状态进行告警分析时,采集的原始数据进行处理后保存在大数据平台集市中。由于在大数据平台的数据集市中,涉及的数据源表会很多,故采用sql(Structured Query Language,结构化查询语言)语句从数据集市不同区域提取数据时,配置报表不同区域取数的sql语句特别复杂,不便于数据查询。With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually transforming into Fintech. However, due to the security and real-time requirements of the financial industry, higher requirements are placed on technology. requirements. At present, when performing alarm analysis on the performance indicators of various machines in the financial system and the health status of service software, the collected raw data is processed and stored in the big data platform bazaar. Since there are many data source tables involved in the data mart of the big data platform, when using SQL (Structured Query Language, Structured Query Language) statements to extract data from different areas of the data mart, configure the data fetching method for different areas of the report. The sql statement is particularly complicated and inconvenient for data query.
发明内容Contents of the invention
由于大数据集市中涉及的数据源表很多,查询语句需要从不同区域提取数据,导致查询语句复杂,不便于数据查询的问题,本发明实施例提供了一种生成告警数据报表的方法及装置。Since there are many data source tables involved in the big data mart, query statements need to extract data from different areas, resulting in complex query statements and inconvenient data query problems. Embodiments of the present invention provide a method and device for generating alarm data reports .
一方面,本发明实施例提供了一种生成告警数据报表的方法,包括:On the one hand, an embodiment of the present invention provides a method for generating an alarm data report, including:
获取待分析的告警数据并采用所述告警数据构造数据帧;Obtain the alarm data to be analyzed and use the alarm data to construct a data frame;
针对每个告警分析任务,从所述数据帧中抽取所述告警分析任务对应的局部数据块;For each alarm analysis task, extract a local data block corresponding to the alarm analysis task from the data frame;
对所述告警分析任务对应的局部数据块进行统计分析,确定所述告警分析任务的结果数据块;Perform statistical analysis on the local data block corresponding to the alarm analysis task, and determine the result data block of the alarm analysis task;
将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。The result data blocks corresponding to each alarm analysis task are spliced to determine the alarm data report.
可选地,所述将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表,包括:Optionally, splicing the result data blocks corresponding to each alarm analysis task to determine the alarm data report includes:
将每个告警分析任务对应的结果数据块添加至对应的数据帧组中;Add the result data block corresponding to each alarm analysis task to the corresponding data frame group;
将每个数据帧组中的所有结果数据块进行拼接,确定每个告警分析任务对应的结果数据帧;Splice all the result data blocks in each data frame group to determine the result data frame corresponding to each alarm analysis task;
将每个告警分析任务对应的结果数据帧进行拼接,确定告警数据报表。The result data frames corresponding to each alarm analysis task are spliced to determine the alarm data report.
可选地,所述对所述告警分析任务对应的局部数据块进行统计分析,确定所述告警分析任务的结果数据块,包括:Optionally, performing statistical analysis on the local data block corresponding to the alarm analysis task, and determining the result data block of the alarm analysis task includes:
对所述告警分析任务对应的局部数据块进行分组并统计,获得多个统计结果块;grouping and counting the local data blocks corresponding to the alarm analysis task to obtain a plurality of statistical result blocks;
对所述多个统计结果块进行分析并排序,并根据排在前N位的分析结果生成所述告警分析任务的结果数据块,N为预设整数。The plurality of statistical result blocks are analyzed and sorted, and a result data block of the alarm analysis task is generated according to the top N analysis results, where N is a preset integer.
可选地,所述数据帧是包括行和列的二维数据结构。Optionally, the data frame is a two-dimensional data structure comprising rows and columns.
可选地,所述针对每个告警分析任务,从所述告警数据对应的数据帧中抽取所述告警分析任务对应的局部数据块之前,还包括:Optionally, for each alarm analysis task, before extracting the local data block corresponding to the alarm analysis task from the data frame corresponding to the alarm data, the method further includes:
采用正则表达式集合从所述数据帧的混合字符串中提取数据特征串,并采用所述数据特征串替换所述数据帧的混合字符串;Using a regular expression set to extract a data feature string from the mixed character string of the data frame, and using the data feature string to replace the mixed character string of the data frame;
对所述数据帧进行类型转换以及对所述数据帧的缺失值赋值。Perform type conversion on the data frame and assign values to missing values of the data frame.
一方面,本发明实施例提供了一种生成告警数据报表的装置,包括:On the one hand, an embodiment of the present invention provides an apparatus for generating an alarm data report, including:
获取模块,用于获取待分析的告警数据并采用所述告警数据构造数据帧;An acquisition module, configured to acquire alarm data to be analyzed and use the alarm data to construct a data frame;
抽取模块,用于针对每个告警分析任务,从所述数据帧中抽取所述告警分析任务对应的局部数据块;An extraction module, configured to extract a local data block corresponding to the alarm analysis task from the data frame for each alarm analysis task;
分析模块,用于对所述告警分析任务对应的局部数据块进行统计分析,确定所述告警分析任务的结果数据块;An analysis module, configured to perform statistical analysis on the local data block corresponding to the alarm analysis task, and determine the result data block of the alarm analysis task;
拼接模块,用于将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。The splicing module is used to splice the result data blocks corresponding to each alarm analysis task to determine the alarm data report.
可选地,所述拼接模块具体用于:Optionally, the splicing module is specifically used for:
将每个告警分析任务对应的结果数据块添加至对应的数据帧组中;Add the result data block corresponding to each alarm analysis task to the corresponding data frame group;
将每个数据帧组中的所有结果数据块进行拼接,确定每个告警分析任务对应的结果数据帧;Splice all the result data blocks in each data frame group to determine the result data frame corresponding to each alarm analysis task;
将每个告警分析任务对应的结果数据帧进行拼接,确定告警数据报表。The result data frames corresponding to each alarm analysis task are spliced to determine the alarm data report.
可选地,所述分析模块具体用于:Optionally, the analysis module is specifically used for:
对所述告警分析任务对应的局部数据块进行分组并统计,获得多个统计结果块;grouping and counting the local data blocks corresponding to the alarm analysis task to obtain a plurality of statistical result blocks;
对所述多个统计结果块进行分析并排序,并根据排在前N位的分析结果生成所述告警分析任务的结果数据块,N为预设整数。The plurality of statistical result blocks are analyzed and sorted, and a result data block of the alarm analysis task is generated according to the top N analysis results, where N is a preset integer.
可选地,所述数据帧是包括行和列的二维数据结构。Optionally, the data frame is a two-dimensional data structure comprising rows and columns.
可选地,还包括预处理模块;Optionally, a preprocessing module is also included;
所述预处理模块具体用于:The preprocessing module is specifically used for:
针对每个告警分析任务,从所述告警数据对应的数据帧中抽取所述告警分析任务对应的局部数据块之前,采用正则表达式集合从所述数据帧的混合字符串中提取数据特征串,并采用所述数据特征串替换所述数据帧的混合字符串;For each alarm analysis task, before extracting the local data block corresponding to the alarm analysis task from the data frame corresponding to the alarm data, the data feature string is extracted from the mixed character string of the data frame by using a set of regular expressions, And using the data feature string to replace the mixed character string of the data frame;
对所述数据帧进行类型转换以及对所述数据帧的缺失值赋值。Perform type conversion on the data frame and assign values to missing values of the data frame.
一方面,本发明实施例提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现生成告警数据报表的方法的步骤。On the one hand, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the alarm data report form is generated. method steps.
一方面,本发明实施例提供了一种计算机可读存储介质,其存储有可由计算机设备执行的计算机程序,当所述程序在计算机设备上运行时,使得所述计算机设备执行生成告警数据报表的方法的步骤。On the one hand, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program that can be executed by a computer device. When the program is run on the computer device, the computer device executes the process of generating an alarm data report. method steps.
本发明实施例中,获取待分析的告警数据并采用告警数据构造数据帧。针对每个告警分析任务,从数据帧中抽取告警分析任务对应的局部数据块,然后对告警分析任务对应的局部数据块进行统计分析,确定告警分析任务的结果数据块,之后再将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。故所有待分析的告警数据仅生成一张告警数据报表,该告警数据报表包括所有告警分析任务的内容,便于报表管理以及用户查询报表。其次,以数据帧的形式处理告警数据,生成报表对应的类型数据,能提高生成告警数据报表的效率。In the embodiment of the present invention, the alarm data to be analyzed is obtained and a data frame is constructed using the alarm data. For each alarm analysis task, the local data block corresponding to the alarm analysis task is extracted from the data frame, and then the local data block corresponding to the alarm analysis task is statistically analyzed to determine the result data block of the alarm analysis task, and then each alarm The result data blocks corresponding to the analysis tasks are spliced to determine the alarm data report. Therefore, only one alarm data report is generated for all the alarm data to be analyzed, and the alarm data report includes the content of all alarm analysis tasks, which is convenient for report management and user query report. Secondly, the alarm data is processed in the form of a data frame, and the type data corresponding to the report is generated, which can improve the efficiency of generating the alarm data report.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本发明实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图2为本发明实施例提供的一种生成告警数据报表的方法的流程示意图;FIG. 2 is a schematic flowchart of a method for generating an alarm data report provided by an embodiment of the present invention;
图3为本发明实施例提供的一种生成告警数据报表的方法的流程示意图;FIG. 3 is a schematic flowchart of a method for generating an alarm data report provided by an embodiment of the present invention;
图4为本发明实施例提供的一种生成告警数据报表的装置的结构示意图;FIG. 4 is a schematic structural diagram of a device for generating alarm data reports provided by an embodiment of the present invention;
图5为本发明实施例提供的一种计算机设备的结构示意图。FIG. 5 is a schematic structural diagram of a computer device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and beneficial effects of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
为了方便理解,下面对本发明实施例中涉及的名词进行解释。For the convenience of understanding, the terms involved in the embodiments of the present invention are explained below.
Pandas:一个python数据分析包,提供高效地操作大型数据集所需的工具。Pandas: A Python data analysis package that provides the tools needed to efficiently manipulate large datasets.
Mysql:一个关系型数据库管理系统。Mysql: A relational database management system.
CMDB:Configuration Management Database,配置管理数据库。CMDB: Configuration Management Database, configuration management database.
本发明实施例中的生成告警数据报表的方法可以应用于如图1所示的应用场景,在该应用场景中包括大数据同步系统101、源数据库102、报表生成系统103、报表数据库104。大数据同步系统101从数据源采集告警数据并将告警数据写入源数据库102,数据源可以是银行等金融机构的业务系统。报表生成系统103基于源数据库中的告警数据生成告警数据报表。具体地,报表生成系统103从源数据库中加载待分析的告警数据并采用告警数据构造数据帧。针对每个告警分析任务,从数据帧中抽取告警分析任务对应的局部数据块,然后对告警分析任务对应的局部数据块进行统计分析,确定告警分析任务的结果数据块,将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。之后再将告警数据报表保存在报表数据库104中。The method for generating an alarm data report in the embodiment of the present invention can be applied to the application scenario shown in FIG. The big data synchronization system 101 collects alarm data from a data source and writes the alarm data into the source database 102. The data source may be a business system of a financial institution such as a bank. The report generating system 103 generates an alarm data report based on the alarm data in the source database. Specifically, the report generating system 103 loads the alarm data to be analyzed from the source database and uses the alarm data to construct a data frame. For each alarm analysis task, the local data block corresponding to the alarm analysis task is extracted from the data frame, and then the local data block corresponding to the alarm analysis task is statistically analyzed to determine the result data block of the alarm analysis task, and each alarm analysis task The corresponding result data blocks are spliced to determine the alarm data report. Afterwards, the alarm data report is saved in the report database 104 .
基于图1所示的应用场景图,本发明实施例提供了一种生成告警数据报表的方法的流程,该方法的流程可以由生成告警数据报表的装置执行,生成告警数据报表的装置可以是图1所示的报表生成系统103,如图2所示,包括以下步骤:Based on the application scenario diagram shown in Figure 1, the embodiment of the present invention provides a flow of a method for generating an alarm data report, the flow of the method can be executed by a device for generating an alarm data report, and the device for generating an alarm data report can be as shown in FIG. The report generation system 103 shown in Figure 1, as shown in Figure 2, includes the following steps:
步骤S201,获取待分析的告警数据并采用告警数据构造数据帧。In step S201, the alarm data to be analyzed is obtained and a data frame is constructed using the alarm data.
具体地,大数据同步系统从数据源中下载告警数据并将告警数据保存在源数据库中。为了便于对告警数据进行分析,可以根据分析周期更新源数据库中的告警数据,比如,分析周期为一个月时,可以设定每个月定期更新源数据库,分析周期为一周时,可以设定每周定期更新源数据库。分析周期为一天时,可以设定每天定期更新源数据库。Specifically, the big data synchronization system downloads the alarm data from the data source and saves the alarm data in the source database. In order to facilitate the analysis of alarm data, the alarm data in the source database can be updated according to the analysis period. For example, if the analysis period is one month, you can set the source database to be updated regularly every month; The source database is updated on a weekly basis. When the analysis period is one day, you can set the source database to be updated regularly every day.
报表生成系统从源数据库中加载待分析的告警数据,数据帧是包括行和列的二维数据结构,可以对数据帧的行和列进行运算,也可以扩展数据帧的行和列。具体实施中,使用pandas接口从源数据库将待分析的告警数据载入内存,然后将告警数据以行和列的表格方式排列成二维数据结构,从而构造出pandas数据帧。由于加载数据量大,故首先可以筛选特征字段,仅载入数据分析必需字段,减少加载数据规模;其次,可以通过多进程/多线程并行加载技术,加快加载告警数据的速度;最后,载入内存的告警数据压缩存放,用pandas接口将告警数据构造成数据帧,降低加载数据耗时。The report generation system loads the alarm data to be analyzed from the source database. The data frame is a two-dimensional data structure including rows and columns. Operations can be performed on the rows and columns of the data frame, and the rows and columns of the data frame can also be expanded. In the specific implementation, use the pandas interface to load the alarm data to be analyzed from the source database into the memory, and then arrange the alarm data into a two-dimensional data structure in the form of rows and columns, thereby constructing a pandas data frame. Due to the large amount of loaded data, it is possible to filter the feature fields first, and only load the necessary fields for data analysis, reducing the scale of loaded data; secondly, the speed of loading alarm data can be accelerated through multi-process/multi-thread parallel loading technology; finally, loading The alarm data in the memory is compressed and stored, and the alarm data is constructed into a data frame using the pandas interface to reduce the time spent on loading data.
步骤S202,针对每个告警分析任务,从数据帧中抽取告警分析任务对应的局部数据块。Step S202, for each alarm analysis task, extract a local data block corresponding to the alarm analysis task from the data frame.
具体地,告警分析任务可以是针对不同领域的分析任务,比如分析贷款领域、分析存款领域、分析结算领域等。告警分析任务也可以是针对不同层级的分析任务,比如分析告警内容、分析告警内容频发的机器、分析告警内容频发的时间等。从数据帧中按列抽取局部数据块,抽取的局部数据块对应同一个告警分析任务。具体实施中,预先可以通过参数化配置配置每个告警分析任务的局部数据块,每个告警分析任务的局部数据块可以是不相同的。Specifically, the alarm analysis task may be an analysis task for different fields, such as analyzing the loan field, analyzing the deposit field, analyzing the settlement field, and so on. Alarm analysis tasks can also be analysis tasks for different levels, such as analyzing alarm content, analyzing machines with frequent alarm content, analyzing the time when alarm content is frequently issued, and so on. Extract local data blocks column by column from the data frame, and the extracted local data blocks correspond to the same alarm analysis task. In a specific implementation, the local data blocks of each alarm analysis task may be configured in advance through parameterized configuration, and the local data blocks of each alarm analysis task may be different.
步骤S203,对告警分析任务对应的局部数据块进行统计分析,确定告警分析任务的结果数据块。Step S203, perform statistical analysis on the local data block corresponding to the alarm analysis task, and determine the result data block of the alarm analysis task.
在一种可能的实施方式中,对告警分析任务对应的局部数据块进行分组并统计,获得多个统计结果块;对多个统计结果块进行分析并排序,根据排在前N位的分析结果生成所述告警分析任务的结果数据块,N为预设整数。In a possible implementation, the local data blocks corresponding to the alarm analysis task are grouped and counted to obtain multiple statistical result blocks; the multiple statistical result blocks are analyzed and sorted, and the analysis results ranked in the top N A result data block of the alarm analysis task is generated, and N is a preset integer.
具体实施中,可以采用透视表对局部数据块进行分组统计,采用交叉表计算分组频率,透视表和交叉表是对数据块的两种操作方式,既有联系又有区别,联系是交叉表是一种特殊的透视表,可以用透视表代替。区别是交叉表专用于计算分组频率,而透视表是一种进行分组统计的函数,通过参数指定统计类型。In the specific implementation, the pivot table can be used to group and count the local data blocks, and the cross table can be used to calculate the grouping frequency. A special kind of pivot table that can be replaced by a pivot table. The difference is that the cross table is dedicated to calculating the grouping frequency, while the pivot table is a function for grouping statistics, and the statistical type is specified by parameters.
在对统计结果块进行分析后,可以生成分析结果块,其中,统计结果块对应新列,分析结果块对应新列,将必要的分组时所用到的列以及新列进行拼接,获得结果数据块。排序时可以按照从高到低排序,也可以从低到高排序。After analyzing the statistical result block, the analysis result block can be generated, wherein the statistical result block corresponds to the new column, the analysis result block corresponds to the new column, and the columns used in the necessary grouping and the new column are spliced to obtain the result data block . When sorting, you can sort from high to low, or from low to high.
示例性地,按照时间对局部数据块进行分组,将相同分析周期的局部数据块分为一组,获得多个分组数据块。然后基于告警标题字段统计各个分组数据块中相同告警内容的出现次数,然后新增列保存每个分析周期中的各告警内容的出现次数。将不同分析周期对应的新列横向拼接,通过拼接后的列统计各告警内容的增量、增比。然后新增增量对应的新列、增比对应的新列并横向拼接,按照增量从高到低的顺序对新列中的增量值进行排序,取新列中的前N位增量值。按照增比从高到低的顺序对新列中的增比值进行排序,取新列中的前N位增比值,之后再基于新列生成结果数据块并标注结果数据块的类型。Exemplarily, the partial data blocks are grouped according to time, the partial data blocks of the same analysis period are grouped, and multiple grouped data blocks are obtained. Then count the number of occurrences of the same alarm content in each packet data block based on the alarm title field, and then add a new column to save the number of occurrences of each alarm content in each analysis cycle. The new columns corresponding to different analysis periods are spliced horizontally, and the increment and increase ratio of each alarm content are counted through the spliced columns. Then add a new column corresponding to the increment and a new column corresponding to the increase ratio and splice them horizontally, sort the increment values in the new column in the order of increment from high to low, and take the first N increments in the new column value. Sort the increase ratio values in the new column in order of increase ratio from high to low, take the first N digit increase ratio values in the new column, and then generate a result data block based on the new column and mark the type of the result data block.
需要说明的是,当需要继续对前N位的分析结果继续进行统计分析时,比如,在获知告警内容的数量、告警内容的增量、告警内容的增比的情况下,需要定位告警频发的机器、告警频发的日期、告警频发的对象时,可以基于前N位的分析结果重新从数据帧中抽取新的局部数据块,然后对新的局部数据块进行分组、统计、分析并排序,取排在前M位的新分析结果,生成新的结果数据块,新的结果数据块的规模是N*M,其中,N可以等于M,也可以不等于M。It should be noted that when it is necessary to continue to perform statistical analysis on the analysis results of the top N bits, for example, in the case of knowing the number of alarm content, the increment of alarm content, and the increase ratio of alarm content, it is necessary to locate frequent alarms. When the machine, the date of frequent alarms, and the object of frequent alarms, new local data blocks can be extracted from the data frame based on the analysis results of the first N bits, and then the new local data blocks can be grouped, counted, analyzed and analyzed. Sorting, taking the new analysis results ranked in the top M positions, and generating a new result data block. The size of the new result data block is N*M, where N may or may not be equal to M.
步骤S204,将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。Step S204, splicing the result data blocks corresponding to each alarm analysis task to determine the alarm data report.
结果数据块与数据报表中的文本、表格、图形等对象类型对应,每个结果数据块对应唯一标识。将每个告警分析任务对应的结果数据块进行拼接后,可以获得一个大数据帧。通过http(s)接口访问CMDB配置系统,对大数据帧内的数据项进行更新。采用pandas接口将大数据帧转化为告警数据报表,并将告警数据报表写入报表数据库中。通过对大数据帧进行行和列的运算可以更新大数据帧,当新增告警分析任务时,大数据帧中新增不同类型的结果数据块,进而在大数据帧中新增列字段,从而使大数据帧的存储结构发生改变。The result data block corresponds to the text, table, graph and other object types in the data report, and each result data block corresponds to a unique identifier. After splicing the result data blocks corresponding to each alarm analysis task, a large data frame can be obtained. Access the CMDB configuration system through the http(s) interface, and update the data items in the big data frame. Use the pandas interface to convert large data frames into alarm data reports, and write the alarm data reports into the report database. The big data frame can be updated by performing row and column operations on the big data frame. When an alarm analysis task is added, different types of result data blocks are added to the big data frame, and column fields are added to the big data frame, thereby Change the storage structure of the large data frame.
本发明实施例中,采用告警数据构造数据帧,然后抽取数据帧中的局部数据块进行告警分析,获得告警分析任务的结果数据块,之后再将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表,故所有待分析的告警数据仅生成一张告警数据报表,该告警数据报表包括所有告警分析任务的内容,便于报表管理以及用户查询报表。其次,以数据帧的形式处理告警数据,生成报表对应的类型数据,能提高生成告警数据报表的效率。通过对大数据帧进行行和列的运算,实现对告警数据报表的更新,使得告警数据报表的管理维护更方便。In the embodiment of the present invention, the alarm data is used to construct the data frame, and then the local data blocks in the data frame are extracted for alarm analysis to obtain the result data blocks of the alarm analysis task, and then the result data blocks corresponding to each alarm analysis task are spliced , to determine the alarm data report, so all the alarm data to be analyzed only generate one alarm data report, which includes the content of all alarm analysis tasks, which is convenient for report management and user query report. Secondly, the alarm data is processed in the form of a data frame, and the type data corresponding to the report is generated, which can improve the efficiency of generating the alarm data report. By performing row and column operations on the large data frame, the update of the alarm data report is realized, which makes the management and maintenance of the alarm data report more convenient.
可选地,在上述步骤S204中,在生成告警数据报表时,本发明实施例至少提供以下两种实施方式:Optionally, in the above step S204, when generating the alarm data report, the embodiment of the present invention provides at least the following two implementation modes:
在一种可能的实施方式中,将每个告警分析任务对应的结果数据块标注类型后,添加至全局数据帧组中。然后将全局数据帧组中的所有结果数据块进行拼接,获得大数据帧,之后再将大数据帧转化为告警数据报表。In a possible implementation manner, after marking the type of the result data block corresponding to each alarm analysis task, it is added to the global data frame group. Then splice all the result data blocks in the global data frame group to obtain a large data frame, and then convert the large data frame into an alarm data report.
具体实施中,将全局数据帧组中的所有结果数据块进行纵向拼接,每个结果数据块采用类型列字段标识类型,当类型列字段不同时,自动横向扩展,同时对缺失值进行填充,形成大数据帧。获得的大数据帧的行数量是所有结果数据块的行数之和,列数量是所有结果数据块的列的并集,即拼接时结果数据块相同的列共用。In the specific implementation, all the result data blocks in the global data frame group are spliced vertically. Each result data block uses the type column field to identify the type. When the type column field is different, it will automatically expand horizontally and fill the missing values at the same time. large data frame. The number of rows of the obtained large data frame is the sum of the number of rows of all result data blocks, and the number of columns is the union of the columns of all result data blocks, that is, the same columns of the result data blocks are shared during splicing.
在一种可能的实施方式中,每个告警分析任务可以对应一个数据帧组,该数据帧组用于保存告警分析任务的结果数据块,故在生成每个告警分析任务对应的结果数据块后,可以将每个告警分析任务对应的结果数据块添加至对应的数据帧组中;然后将每个数据帧组中的所有结果数据块进行拼接,确定每个告警分析任务对应的结果数据帧;将每个告警分析任务对应的结果数据帧进行拼接,确定告警数据报表。In a possible implementation, each alarm analysis task may correspond to a data frame group, and the data frame group is used to save the result data block of the alarm analysis task, so after generating the result data block corresponding to each alarm analysis task , the result data block corresponding to each alarm analysis task can be added to the corresponding data frame group; then all the result data blocks in each data frame group are spliced to determine the result data frame corresponding to each alarm analysis task; The result data frames corresponding to each alarm analysis task are spliced to determine the alarm data report.
具体实施中,将数据帧组中的所有结果数据块进行纵向拼接,获得结果数据帧,纵向拼接的过程与前述实施方式中的过程相同,此处不再赘述。然后将所有结果数据帧进行纵向拼接,获得大数据帧,之后再将大数据帧转化为告警数据报表。通过设置不同的数据帧组分别保存不同告警分析任务的结果数据块,先拼接数据帧组内的结果数据块获得结果数据帧,然后将结果数据帧进行拼接获得告警数据报表,从而提高生成告警数据报表的效率。In specific implementation, all the result data blocks in the data frame group are spliced vertically to obtain the result data frame. The process of vertical splicing is the same as that in the foregoing embodiments, and will not be repeated here. Then all the result data frames are spliced vertically to obtain a large data frame, and then the large data frame is converted into an alarm data report. By setting different data frame groups to save the result data blocks of different alarm analysis tasks, first splicing the result data blocks in the data frame group to obtain the result data frame, and then splicing the result data frames to obtain the alarm data report, thereby improving the generation of alarm data Reporting efficiency.
可选地,在上述步骤S202之前,即从告警数据对应的数据帧中抽取告警分析任务对应的局部数据块之前,需要对数据帧进行预处理,预处理的方式包括:采用正则表达式集合从数据帧的混合字符串中提取数据特征串,并采用数据特征串替换数据帧的混合字符串,对数据帧进行类型转换以及对数据帧的缺失值赋值。Optionally, before the above step S202, that is, before extracting the local data block corresponding to the alarm analysis task from the data frame corresponding to the alarm data, the data frame needs to be preprocessed. The preprocessing method includes: using a set of regular expressions from The data feature string is extracted from the mixed string of the data frame, and the mixed string of the data frame is replaced by the data feature string, and the type conversion of the data frame and the assignment of the missing value of the data frame are performed.
具体实施中,采用pandas矩阵计算的方式执行数据帧预处理。当按照一个关键字对应执行一条正则表达式提取数据特征串时,由于数据量大,耗时为0.8-1s左右。若设置的关键字越多,顺序处理耗时将呈线性增长,比如,5个关键字耗时在4-5s左右。如果将这5个关键字对应的正则表达式合并成一个正则表达式时,耗时与执行一条正则表达式差不多。因此,本发明实施例中将关键字不同但提取特征串模式相近的正则表达式合并,构造正则表达式集合。然后采用正则表达式集合从数据帧的混合字符串中提取数据特征串,并采用数据特征串替换数据帧的混合字符串,从而提高特征串提取和替换的效率。通过数据帧列类型转换对特定列执行日期时间类型或整数类型转换,通过pandas接口对数据帧按条件做缺失值处理以及对数据帧行按条件赋值。通过对数据帧进行预处理,使得数据帧满足排序和统计的要求,便于后续基于数据帧进行告警分析。In the specific implementation, the method of pandas matrix calculation is used to perform data frame preprocessing. When executing a regular expression to extract data feature strings according to a keyword, due to the large amount of data, the time-consuming is about 0.8-1s. If more keywords are set, the sequential processing time will increase linearly. For example, 5 keywords will take about 4-5s. If the regular expressions corresponding to these five keywords are combined into one regular expression, the time-consuming is almost the same as executing a regular expression. Therefore, in the embodiment of the present invention, regular expressions with different keywords but similar extraction feature string patterns are combined to construct a regular expression set. Then, the regular expression set is used to extract the data characteristic string from the mixed character string of the data frame, and the data characteristic string is used to replace the mixed character string of the data frame, thereby improving the efficiency of feature string extraction and replacement. Perform datetime type or integer type conversion on specific columns through data frame column type conversion, perform missing value processing on data frames according to conditions through pandas interface, and assign values to data frame rows according to conditions. By preprocessing the data frame, the data frame can meet the requirements of sorting and statistics, which is convenient for subsequent alarm analysis based on the data frame.
为了更好的解释本发明实施例,下面结合具体的实施场景描述本发明实施例提供的一种生成告警数据报表的方法,该方法由大数据同步系统、源数据库、报表生成系统、报表数据库交互执行,如图3所示,该方法包括以下步骤:In order to better explain the embodiment of the present invention, a method for generating an alarm data report provided by the embodiment of the present invention is described below in conjunction with specific implementation scenarios. The method is composed of a big data synchronization system, a source database, a report generation system, and a report database. Execution, as shown in Figure 3, the method includes the following steps:
大数据同步系统从数据源采集告警数据并将告警数据写入源数据库,数据源可以是银行等金融机构的业务系统。源数据库中的告警数据定期更新。报表生成系统包括大数据加载模块、预处理模块、报表数据生成模块、数据帧更新模块、报表存储模块。大数据加载模块使用pandas接口从源数据库将待分析的告警数据载入内存,然后采用告警数据构造pandas数据帧。预处理模块采用pandas矩阵计算的方式执行数据帧预处理,预处理包括数据特征串提取、数据类型转换、缺失值处理。报表数据生成模块从数据帧中抽取告警分析任务对应的局部数据块,对告警分析任务对应的局部数据块进行分组并统计,获得多个统计结果块。将多个结果数据块进行横向拼接,并多个统计结果块进行分析获得分析结果块,对每个分析结果块中的分析结果进行排序,取每个分析结果块中排在前N位的分析结果,基于告警分析任务、统计结果块、排序后进行取值操作的分析结果块生成告警分析任务的结果数据块,N为预设整数。将结果数据块标注类型后添加至全局数据帧组中。判断是否继续抽取局部数据块,若是,执行上述抽取数据块、分组、统计、分析、排序和生成结果数据块的步骤,否则,将全局数据帧组中的结果数据块进行纵向拼接,每个结果数据块采用类型列字段标识类型,当类型列字段不同时,自动横向扩展,同时对缺失值进行填充,形成大数据帧。数据帧更新模块通过http(s)接口访问CMDB配置系统,对大数据帧内的数据项进行更新。报表存储模块采用pandas写数据接口将大数据帧转化为告警数据报表,并将告警数据报表写入报表数据库中。The big data synchronization system collects alarm data from the data source and writes the alarm data into the source database. The data source can be the business system of a financial institution such as a bank. The alarm data in the source database is updated regularly. The report generation system includes a big data loading module, a preprocessing module, a report data generation module, a data frame update module, and a report storage module. The big data loading module uses the pandas interface to load the alarm data to be analyzed from the source database into the memory, and then uses the alarm data to construct a pandas data frame. The preprocessing module uses pandas matrix calculation to perform data frame preprocessing. Preprocessing includes data feature string extraction, data type conversion, and missing value processing. The report data generation module extracts the local data blocks corresponding to the alarm analysis task from the data frame, groups and counts the local data blocks corresponding to the alarm analysis task, and obtains multiple statistical result blocks. Multiple result data blocks are spliced horizontally, and multiple statistical result blocks are analyzed to obtain analysis result blocks, the analysis results in each analysis result block are sorted, and the top N analysis results in each analysis result block are selected As a result, the result data block of the alarm analysis task is generated based on the alarm analysis task, the statistical result block, and the sorted analysis result block for value operation, and N is a preset integer. Add the type of the resulting data block to the global data frame group. Determine whether to continue to extract local data blocks, if so, perform the above steps of extracting data blocks, grouping, counting, analyzing, sorting, and generating result data blocks; otherwise, longitudinally splice the result data blocks in the global data frame group, each result The data block uses the type column field to identify the type. When the type column field is different, it will automatically expand horizontally, and at the same time fill in the missing values to form a large data frame. The data frame update module accesses the CMDB configuration system through the http(s) interface, and updates the data items in the large data frame. The report storage module uses the pandas write data interface to convert the large data frame into an alarm data report, and writes the alarm data report into the report database.
本发明实施例中,采用告警数据构造数据帧,然后抽取数据帧中的局部数据块进行告警分析,获得告警分析任务的结果数据块,之后再将同一告警分析任务的结果数据块进行拼接获得结果数据帧,将所有告警分析任务的结果数据帧进行拼接获得告警数据报表,故所有待分析的告警数据仅生成一张告警数据报表,该告警数据报表包括所有告警分析任务的内容,便于报表管理以及用户查询报表。其次,以数据帧的形式处理告警数据,生成报表对应的类型数据,能提高生成告警数据报表的效率。通过对大数据帧进行行和列的运算,实现对告警数据报表的更新,使得告警数据报表的管理维护更方便。In the embodiment of the present invention, the alarm data is used to construct the data frame, and then the local data blocks in the data frame are extracted for alarm analysis to obtain the result data blocks of the alarm analysis task, and then the result data blocks of the same alarm analysis task are spliced to obtain the result Data frame, the result data frames of all alarm analysis tasks are spliced to obtain an alarm data report, so all the alarm data to be analyzed only generates an alarm data report, which includes the content of all alarm analysis tasks, which is convenient for report management and User query report. Secondly, the alarm data is processed in the form of a data frame, and the type data corresponding to the report is generated, which can improve the efficiency of generating the alarm data report. By performing row and column operations on the large data frame, the update of the alarm data report is realized, which makes the management and maintenance of the alarm data report more convenient.
基于相同的技术构思,本发明实施例提供了一种生成告警数据报表的装置的结构示意图,如图4所示,该装置400包括:Based on the same technical concept, an embodiment of the present invention provides a schematic structural diagram of a device for generating an alarm data report, as shown in FIG. 4 , the device 400 includes:
获取模块401,用于获取待分析的告警数据并采用所述告警数据构造数据帧;An acquisition module 401, configured to acquire alarm data to be analyzed and use the alarm data to construct a data frame;
抽取模块402,用于针对每个告警分析任务,从所述数据帧中抽取所述告警分析任务对应的局部数据块;The extraction module 402 is configured to, for each alarm analysis task, extract a local data block corresponding to the alarm analysis task from the data frame;
分析模块403,用于对所述告警分析任务对应的局部数据块进行统计分析,确定所述告警分析任务的结果数据块;The analysis module 403 is configured to perform statistical analysis on the local data block corresponding to the alarm analysis task, and determine the result data block of the alarm analysis task;
拼接模块404,用于将每个告警分析任务对应的结果数据块进行拼接,确定告警数据报表。The splicing module 404 is configured to splice the result data blocks corresponding to each alarm analysis task to determine an alarm data report.
可选地,所述拼接模块404具体用于:Optionally, the splicing module 404 is specifically used for:
将每个告警分析任务对应的结果数据块添加至对应的数据帧组中;Add the result data block corresponding to each alarm analysis task to the corresponding data frame group;
将每个数据帧组中的所有结果数据块进行拼接,确定每个告警分析任务对应的结果数据帧;Splice all the result data blocks in each data frame group to determine the result data frame corresponding to each alarm analysis task;
将每个告警分析任务对应的结果数据帧进行拼接,确定告警数据报表。The result data frames corresponding to each alarm analysis task are spliced to determine the alarm data report.
可选地,所述分析模块403具体用于:Optionally, the analysis module 403 is specifically configured to:
对所述告警分析任务对应的局部数据块进行分组并统计,获得多个统计结果块;grouping and counting the local data blocks corresponding to the alarm analysis task to obtain a plurality of statistical result blocks;
对所述多个统计结果块进行分析并排序,根据排在前N位的分析结果生成所述告警分析任务的结果数据块,N为预设整数。The plurality of statistical result blocks are analyzed and sorted, and a result data block of the alarm analysis task is generated according to the top N analysis results, where N is a preset integer.
可选地,所述数据帧是包括行和列的二维数据结构。Optionally, the data frame is a two-dimensional data structure comprising rows and columns.
可选地,还包括预处理模块405;Optionally, a preprocessing module 405 is also included;
所述预处理模块405具体用于:The preprocessing module 405 is specifically used for:
针对每个告警分析任务,从所述告警数据对应的数据帧中抽取所述告警分析任务对应的局部数据块之前,采用正则表达式集合从所述数据帧的混合字符串中提取数据特征串,并采用所述数据特征串替换所述数据帧的混合字符串;For each alarm analysis task, before extracting the local data block corresponding to the alarm analysis task from the data frame corresponding to the alarm data, the data feature string is extracted from the mixed character string of the data frame by using a set of regular expressions, And using the data feature string to replace the mixed character string of the data frame;
对所述数据帧进行类型转换以及对所述数据帧的缺失值赋值。Perform type conversion on the data frame and assign values to missing values of the data frame.
基于相同的技术构思,本发明实施例提供了一种计算机设备,如图5所示,包括至少一个处理器501,以及与至少一个处理器连接的存储器502,本发明实施例中不限定处理器501与存储器502之间的具体连接介质,图5中处理器501和存储器502之间通过总线连接为例。总线可以分为地址总线、数据总线、控制总线等。Based on the same technical concept, an embodiment of the present invention provides a computer device, as shown in FIG. 5 , including at least one processor 501, and a memory 502 connected to at least one processor. The processor is not limited in the embodiment of the present invention. As for the specific connection medium between 501 and memory 502, the bus connection between processor 501 and memory 502 in FIG. 5 is taken as an example. The bus can be divided into address bus, data bus, control bus and so on.
在本发明实施例中,存储器502存储有可被至少一个处理器501执行的指令,至少一个处理器501通过执行存储器502存储的指令,可以执行前述的生成告警数据报表的方法中所包括的步骤。In the embodiment of the present invention, the memory 502 stores instructions executable by at least one processor 501, and at least one processor 501 executes the instructions stored in the memory 502 to perform the steps included in the aforementioned method for generating an alarm data report .
其中,处理器501是计算机设备的控制中心,可以利用各种接口和线路连接计算机设备的各个部分,通过运行或执行存储在存储器502内的指令以及调用存储在存储器502内的数据,从而生成告警数据报表。可选的,处理器501可包括一个或多个处理单元,处理器501可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器501中。在一些实施例中,处理器501和存储器502可以在同一芯片上实现,在一些实施例中,它们也可以在独立的芯片上分别实现。Among them, the processor 501 is the control center of the computer equipment, which can use various interfaces and lines to connect various parts of the computer equipment, and generate alarms by running or executing instructions stored in the memory 502 and calling data stored in the memory 502 data report. Optionally, the processor 501 may include one or more processing units, and the processor 501 may integrate an application processor and a modem processor. The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 501 . In some embodiments, the processor 501 and the memory 502 can be implemented on the same chip, and in some embodiments, they can also be implemented on independent chips.
处理器501可以是通用处理器,例如中央处理器(CPU)、数字信号处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本发明实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。The processor 501 may be a general processor, such as a central processing unit (CPU), a digital signal processor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array or other programmable logic devices, discrete gates or transistors Logic devices and discrete hardware components can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
存储器502作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器502可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random AccessMemory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器502是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本发明实施例中的存储器502还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。The memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. The memory 502 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Memory, Disk, discs and more. Memory 502 is, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 502 in the embodiment of the present invention may also be a circuit or any other device capable of implementing a storage function, and is used for storing program instructions and/or data.
基于相同的技术构思,本发明实施例提供了一种计算机可读存储介质,其存储有可由计算机设备执行的计算机程序,当所述程序在计算机设备上运行时,使得所述计算机设备执行生成告警数据报表的方法的步骤。Based on the same technical concept, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by a computer device, and when the program is run on the computer device, the computer device is executed to generate an alarm. The steps of the method of the data report.
本领域内的技术人员应明白,本发明的实施例可提供为方法、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569785.7A CN110287241B (en) | 2019-06-27 | 2019-06-27 | Method and device for generating alarm data report |
PCT/CN2020/091932 WO2020259155A1 (en) | 2019-06-27 | 2020-05-22 | Method and apparatus for generating alarm data report |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569785.7A CN110287241B (en) | 2019-06-27 | 2019-06-27 | Method and device for generating alarm data report |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110287241A true CN110287241A (en) | 2019-09-27 |
CN110287241B CN110287241B (en) | 2023-09-08 |
Family
ID=68019964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569785.7A Active CN110287241B (en) | 2019-06-27 | 2019-06-27 | Method and device for generating alarm data report |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110287241B (en) |
WO (1) | WO2020259155A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259155A1 (en) * | 2019-06-27 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Method and apparatus for generating alarm data report |
CN113204416A (en) * | 2021-04-07 | 2021-08-03 | 上海多维度网络科技股份有限公司 | Data report task execution method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114372189B (en) * | 2021-12-31 | 2025-01-24 | 上海金仕达软件科技股份有限公司 | A method, device, storage medium and electronic device for processing custom reports |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170187737A1 (en) * | 2015-12-28 | 2017-06-29 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for processing user behavior data |
CN108763038A (en) * | 2018-08-08 | 2018-11-06 | 平安科技(深圳)有限公司 | Management method, device, computer equipment and the storage medium of alarm data |
CN109933771A (en) * | 2019-03-22 | 2019-06-25 | 广州市玄武无线科技股份有限公司 | A kind of automatic merging method of report, device, equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170729A (en) * | 2007-11-30 | 2008-04-30 | 中国移动通信集团重庆有限公司 | A GSM network early warning analysis system and network early warning analysis method |
US9043269B2 (en) * | 2008-05-27 | 2015-05-26 | Appfolio, Inc. | Systems and methods for automatically identifying data dependencies for reports |
CN102841943B (en) * | 2012-08-24 | 2015-07-08 | 上海泰宇信息技术有限公司 | Data safety supervision early warning and backup strategy system and method |
CN110287241B (en) * | 2019-06-27 | 2023-09-08 | 深圳前海微众银行股份有限公司 | Method and device for generating alarm data report |
-
2019
- 2019-06-27 CN CN201910569785.7A patent/CN110287241B/en active Active
-
2020
- 2020-05-22 WO PCT/CN2020/091932 patent/WO2020259155A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170187737A1 (en) * | 2015-12-28 | 2017-06-29 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for processing user behavior data |
CN108763038A (en) * | 2018-08-08 | 2018-11-06 | 平安科技(深圳)有限公司 | Management method, device, computer equipment and the storage medium of alarm data |
CN109933771A (en) * | 2019-03-22 | 2019-06-25 | 广州市玄武无线科技股份有限公司 | A kind of automatic merging method of report, device, equipment and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259155A1 (en) * | 2019-06-27 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Method and apparatus for generating alarm data report |
CN113204416A (en) * | 2021-04-07 | 2021-08-03 | 上海多维度网络科技股份有限公司 | Data report task execution method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020259155A1 (en) | 2020-12-30 |
CN110287241B (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130227194A1 (en) | Active non-volatile memory post-processing | |
CN107908672A (en) | Application report implementation method, equipment and storage medium based on Hadoop platform | |
CN109471718B (en) | Computing resource configuration method, device, equipment and medium based on face recognition | |
CN112052138A (en) | Service data quality detection method and device, computer equipment and storage medium | |
CN112883042A (en) | Data updating and displaying method and device, electronic equipment and storage medium | |
CN106021484A (en) | Customizable multi-mode big data processing system based on memory calculation | |
CN112115152B (en) | Data increment updating and inquiring method and device, electronic equipment and storage medium | |
CN110287241B (en) | Method and device for generating alarm data report | |
CN112579586A (en) | Data processing method, device, equipment and storage medium | |
CN109669975B (en) | Industrial big data processing system and method | |
CN110908870B (en) | Method and device for monitoring resources of mainframe, storage medium and equipment | |
CN112560416A (en) | Page chart generation method and device, electronic equipment and storage medium | |
CN114185895A (en) | Data import and export method and device, electronic equipment and storage medium | |
CN106202145A (en) | A kind of preprocessing of remote sensing images system of Data-intensive computing | |
CN114116773A (en) | Structured query language SQL text review method and device | |
CN112749157A (en) | Data table processing method and device, storage medium and equipment | |
CN110704404A (en) | Data quality checking method, device and system | |
CN116362212A (en) | Report generation method, device, equipment and storage medium | |
CN110489732A (en) | Method for processing report data and equipment | |
CN118484451A (en) | A data preprocessing method for large-scale computation of international trade statistics | |
CN113344023A (en) | Code recommendation method, device and system | |
CN113064928A (en) | Report data query method and device, electronic equipment and storage medium | |
CN111522812A (en) | User intelligent layering method and device, electronic equipment and readable storage medium | |
CN114676177B (en) | A method, device, equipment, medium and product for determining financial indicators | |
CN113722302B (en) | Data management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |