Monitoring device and method applied to auditing system
By introducing stream processing and complex event processing technology into the audit system, combined with machine learning models, the problem that the existing audit system cannot achieve real-time transaction auditing and monitoring is solved, audit efficiency and accuracy are improved, and real-time data flow is realized. Timely processing and identification of complex events.
Patent Information
- Application Number
- CN202410602706.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-05-15
AI Technical Summary
The existing audit system cannot realize instant audit and monitoring of real-time transactions, and there are performance bottlenecks when processing large-scale data, resulting in low audit efficiency.
A monitoring device is designed, including a data collection module, a stream processing engine, a complex event processing module and an audit rule model module. It uses stream processing algorithms and complex event processing technology to process and compare real-time data streams, and combines it with machine learning models. Abnormality determination and providing real-time audit results.
Through real-time data stream processing and complex event processing technology, the audit process is realized in real time, audit efficiency and accuracy are improved, and important information or anomalies can be discovered and processed in a timely manner.
Smart Images

Figure CN118568625A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audit systems, and in particular to a monitoring device and method applied to an audit system. Background Art
[0002] The current audit system is mainly based on batch processing, and data collection and analysis are carried out within a certain period of time, resulting in delays in audit results and possible data omissions. Existing technologies also cannot provide the ability to conduct instant audits and monitoring of real-time transactions, and there may be performance bottlenecks when processing large-scale data, resulting in low audit efficiency. Summary of the invention
[0003] The purpose of the present invention is to provide a monitoring device and method for an audit system, which can monitor the audit system in real time and improve the audit efficiency and accuracy.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A monitoring device applied to an audit system, the monitoring device applied to an audit system, the monitoring device comprising:
[0006] The data acquisition module, stream processing engine, complex event processing module, and audit rule model module are connected in sequence;
[0007] The data acquisition module is used to obtain multiple data streams of the audit system;
[0008] The stream processing engine is used to perform logical processing on multiple data streams respectively using a stream processing algorithm to obtain multiple logically processed data streams;
[0009] The complex event processing module is used to store multiple complex event templates, and compare multiple logically processed data streams with multiple complex event templates respectively, and when there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, determine the data segment matching the complex event template as a pending data segment;
[0010] The audit rule model module is used to carry the audit rule model, and input the pending data segment into the audit rule model to obtain the abnormal judgment result; the audit rule model is obtained by training the machine learning model using multiple historical data segments of the audit system marked with abnormal judgment results.
[0011] Optionally, the monitoring device further includes:
[0012] User interface module;
[0013] The user interface module is connected to the data acquisition module, the stream processing engine, the complex event processing module and the audit rule model module respectively;
[0014] The user interface module is used to display multiple data streams of the audit system, multiple logically processed data streams, pending data segments, complex event types corresponding to the pending data segments, and abnormality determination results of the pending data segments.
[0015] Optionally, the machine learning model is a standardized scoring model, an isolation forest model or a deep learning model.
[0016] A monitoring method applied to an audit system, the monitoring method applies the monitoring device applied to an audit system, the monitoring method comprising:
[0017] Obtain multiple data streams from the audit system;
[0018] Utilize a stream processing algorithm to perform logical processing on multiple data streams respectively to obtain multiple logically processed data streams;
[0019] Comparing the multiple logically processed data streams with the multiple complex event templates respectively, and when there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, determining the data segment matching the complex event template as a pending data segment;
[0020] The pending data segment is input into the audit rule model to obtain an abnormal determination result; the audit rule model is obtained by training a machine learning model using multiple historical data segments of the audit system marked with abnormal determination results.
[0021] Optionally, the machine learning model is a standardized scoring model, an isolation forest model or a deep learning model.
[0022] Optionally, before obtaining multiple data streams of the audit system, the following is also included:
[0023] Acquiring multiple historical data segments of an audit system; matching the historical data segments with complex event templates;
[0024] Annotate the abnormal judgment results of multiple historical data segments;
[0025] The machine learning model is trained with the historical data segment as input and the abnormality determination result of the historical data segment as output to obtain the audit rule model.
[0026] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0027] The present invention provides a monitoring device and method for an audit system. The device and method use a stream processing algorithm to perform logic processing on multiple data streams to obtain multiple data streams after logic processing. Multiple complex event templates are stored, and multiple data streams after logic processing are compared with multiple complex event templates. When a data segment in the multiple data streams after logic processing is consistent with any complex event template, the data segment matching the complex event template is determined as a pending data segment. The audit rule model module is used to carry the audit rule model, and the pending data segment is input into the audit rule model to obtain an abnormal judgment result. Through real-time data stream processing technology and complex event processing technology, the audit process is made real-time to improve audit efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 This is a schematic diagram of the structure of a monitoring device applied to an audit system provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] The purpose of the present invention is to provide a monitoring device and method for an audit system, which can monitor the audit system in real time and improve the audit efficiency and accuracy.
[0032] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0033] Example 1
[0034] like Figure 1 As shown, a monitoring device applied to an audit system in this embodiment is applied to an audit system, and the monitoring device includes: a data acquisition module, a stream processing engine, a complex event processing module, and an audit rule model module connected in sequence.
[0035] The data collection module is used to obtain multiple data streams of the audit system.
[0036] The stream processing engine is used to perform logical processing on multiple data streams respectively using a stream processing algorithm to obtain multiple logically processed data streams.
[0037] The complex event processing module is used to store multiple complex event templates, and compare multiple logically processed data streams with multiple complex event templates respectively. When there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, the data segment matching the complex event template is determined as the pending data segment.
[0038] The audit rule model module is used to load the audit rule model and input the pending data segment into the audit rule model to obtain the abnormal judgment result. The audit rule model is obtained by training the machine learning model using multiple historical data segments of the audit system marked with abnormal judgment results.
[0039] The monitoring device further comprises: a user interface module, which is respectively connected with the data acquisition module, the stream processing engine, the complex event processing module and the audit rule model module.
[0040] The user interface module is used to display multiple data streams of the audit system, multiple logically processed data streams, pending data segments, complex event types corresponding to the pending data segments, and abnormal determination results of the pending data segments.
[0041] The machine learning model is a standardized score model, an isolation forest model, or a deep learning model.
[0042] Specifically, the monitoring device used in the audit system includes:
[0043] Data acquisition module: responsible for directly obtaining real-time data streams from data sources and collecting data streams from the source into the system.
[0044] Stream processing engine: Use stream processing technology to process and analyze real-time data streams.
[0045] Complex event processing module: Build a complex event processing module on the stream processing engine, use complex event processing technology to identify and process the complex relationships between multiple data streams, and formulate appropriate complex event processing rules so that the system can identify events or situations that need to be audited from the data stream based on these rules.
[0046] Audit rules and model modules: interact with the complex event processing module to establish audit rules and model modules. When the complex event processing module identifies events or situations that need to be audited, these events will be passed to the audit rules and model modules for further analysis and evaluation. These rules and models can be defined based on business needs and regulatory requirements to ensure that the system can accurately detect potential problems or anomalies.
[0047] User interface module: used to display audit results in real time and provide user interaction functions. The user interface uses reports, charts, etc. to intuitively display audit results and data trends, and provides user interaction functions, allowing users to view detailed information, adjust audit rules, set alarm conditions, etc.
[0048] The data collection module can collect data from audit data sources in multiple fields, including but not limited to:
[0049] Financial data: including financial statement data such as balance sheet, income statement, cash flow statement, as well as original financial records such as accounting vouchers and bank statements.
[0050] Transaction records: Covers transaction activity data of enterprises or individuals, such as sales records, purchase orders, payment transactions, contracts, etc.
[0051] Log information: including system logs, network logs, operation logs, etc., which record the system's operating status, user operation behaviors, network access records and other information.
[0052] Compliance and regulatory data: covers data that complies with legal and regulatory requirements, such as compliance reports, audit reports from regulators, etc.
[0053] Business process data: records the business process activity data of an enterprise or organization, such as production processes, sales processes, human resources processes, etc.
[0054] Risk management data: including risk assessment data, security incident data, exception report data, etc., used to identify and manage potential risks and abnormal situations.
[0055] Customer data: covers customer information, customer transaction records, customer complaint feedback and other data, which are used for customer relationship management and service quality assessment.
[0056] 1. Acquisition of data source.
[0057] Internal data sources: Enterprise databases: such as relational databases (such as MySQL, Oracle, etc.) or non-relational databases (such as MongoDB, Redis, etc.), which store the enterprise's structured data; log files: log files generated by servers, applications, network devices, etc., containing detailed information on system operation and user behavior; ERP, CRM and other systems: Enterprise resource planning (ERP) and customer relationship management (CRM) and other systems store the company's business data and customer information.
[0058] External data sources: Public databases: such as public data released by the government, industry associations, etc.
[0059] API interface: obtain data, such as market data, by calling the API interface provided by a third party; Web crawler: crawl data from the Internet, but pay attention to comply with relevant laws and regulations and the website's usage agreement.
[0060] 2. Get data from the data source.
[0061] Database connection and query: For enterprise databases, database connection tools (such as JDBC, ODBC, etc.) are usually used to establish connections and obtain data through SQL query statements. You can set up scheduled tasks or triggers to regularly pull data from the database.
[0062] Log file parsing: Use log parsing tools (such as Logstash, Flume, etc.) to read and analyze log files and extract useful information. Logs can be filtered and screened by regular expressions, pattern matching, etc.
[0063] API interface call: According to the API documents provided by the third party, write code to call the API interface to obtain data. Usually you need to deal with issues such as API authentication, request parameters, response format, etc.
[0064] Web crawler: Use crawler frameworks (such as Scrapy, Selenium, etc.) to write crawler programs to simulate browsers to access web pages and crawl data.
[0065] Other data collection methods:
[0066] (I) For non-database files (such as TXT, XML, Excel, etc.), you can:
[0067] Direct access: When these files are stored in the local file system or network shared location, they can be accessed and obtained directly through the file path or network location. For example, the audit team may regularly download these files from the audited unit's server, or perform remote file transfers through secure file transfer protocols (such as SFTP, FTPS).
[0068] Automated scripts and tools: Automated scripts can be written to scan and collect these files regularly. These scripts can be written in various programming languages (such as Python, Perl, Shell, etc.) and can select and collect files based on specific file naming rules, locations, or modification times. In addition, there are specialized tools (such as rsync, wget, curl, etc.) that can help automatically download files from remote locations.
[0069] Manual upload: In some cases, the audited entity may manually upload these files via email, file sharing platforms, or dedicated data upload systems. The audit team needs to regularly check these uploaded files and ensure their security and integrity.
[0070] Data exchange and sharing agreement: If there is a data exchange and sharing agreement with the audited unit, these non-database files can be obtained in the manner specified in the agreement. For example, secure file transfer protocols such as SFTP and FTPS can be used for file transfer and exchange.
[0071] Backup and recovery: restore data from backup files, applicable to situations where the original data source cannot be directly accessed.
[0072] Data interface method: access and collect data through existing data interfaces, such as using a general audit interface or a dedicated audit interface.
[0073] The stream processing engine uses stream processing algorithms to process and analyze real-time data.
[0074] The process of using Apache Kafka to process and analyze real-time data:
[0075] Set up the Kafka environment.
[0076] Create a data topic to store real-time data streams and configure a data producer to send real-time data to the Kafka topic. The producer can be a data source system responsible for producing and sending real-time data to the Kafka cluster.
[0077] Develop stream processing applications, use Kafka's stream processing API to process real-time data streams, and use stream processing algorithms and operators to process, transform, and analyze data.
[0078] Configure data consumers to read and process real-time data from Kafka topics. Consumers can be stream processing applications, which are responsible for consuming real-time data and performing corresponding business logic processing. In stream processing applications, specific stream processing algorithms and logic are implemented to process and analyze real-time data.
[0079] According to business needs, the processing results are output to the data warehouse, sent to other Kafka topics, or written to the database.
[0080] Complex event processing module: Build a complex event processing module on the stream processing engine and use the complex event processing engine to identify and process the complex relationships between multiple data streams.
[0081] Specific process:
[0082] Data input and event extraction: Receive data streams from the stream processing engine and extract events from the received data streams. Events can be any data with a specific meaning in time, such as alarms, status changes, etc.
[0083] Event matching and analysis: The engine uses defined patterns to match events. Patterns can be simple rules or complex event patterns that describe the relationship between multiple events. For example, a simple pattern can be "A happens immediately after B", while a complex pattern can be "If A and B happen at the same time, and C happens afterwards, trigger a certain action." Once a defined pattern is matched, the engine will further analyze these events, which may involve aggregation, filtering, calculation and other operations to determine whether specific conditions are met.
[0084] State management: When dealing with complex relationships between multiple data streams, the engine needs to maintain some state information, which can be used to track the state of event sequences, record historical data, etc.
[0085] Real-time processing: The engine needs to be able to process in real time or near real time. It should have high throughput, low latency, and high reliability to ensure that it can process large amounts of real-time data.
[0086] The Audit Rules and Models module contains the rules and models required for real-time auditing to detect and analyze real-time data.
[0087] The Audit Rules and Models module interacts with the Complex Event Processing module. It may define a series of audit rules and models built based on historical data and machine learning models. When the Complex Event Processing module identifies events or situations that need to be audited, it passes these events to the Audit Rules and Models module for further analysis and evaluation.
[0088] The audit rules and model module focuses on pre-defined rules and models to check and verify whether the events occurring in the system meet the expected standards or rules. These rules and models are usually based on business specifications, compliance requirements or empirical knowledge, and may involve simple logical checks (such as threshold detection) or complex statistical analysis and machine learning models. They are mainly used to identify and process specific types of events or behaviors to ensure that the system's operations comply with business rules and regulatory requirements.
[0089] In the audit rules and models module, models generally refer to machine learning models used for real-time data detection and analysis. These models can be used to identify abnormal behavior, detect fraud, make predictions, etc.
[0090] The process of building, training and using these models:
[0091] Model building-training process: Collect historical data related to the audit, including samples of normal and abnormal behaviors. Select a suitable machine learning model based on the specific needs of the audit. Use the prepared training data to train the selected machine learning model. During the training process, the model learns the patterns and regularities of the data so that it can make accurate predictions or detections in subsequent real-time data. After the model training is completed, the model is evaluated using the validation data set. Based on the evaluation results, the model is optimized and adjusted, including adjusting the model's parameters, increasing the amount of training data, etc., to further improve the performance of the model.
[0092] Model usage process: Based on business needs and regulatory requirements, a series of audit rules are defined to identify events or situations that need to be audited. Audit models are built based on historical data and machine learning technology to discover patterns, anomalies or trends related to auditing. The constructed audit model is integrated into the complex event processing module. When the complex event processing module identifies events or situations that need to be audited, these events are passed to the audit rules and model module for further analysis and evaluation. In the audit rules and model module, the passed events are further analyzed and evaluated, involving operations such as feature extraction of events, model prediction or rule matching. Based on the evaluation results of the model and rules, an audit report is generated or a warning is triggered, and relevant personnel are notified.
[0093] Model Type:
[0094] Statistical-based models: These models use statistical principles to analyze audit data and identify data that is significantly different from the normal data distribution pattern as anomalies. For example, the Z-score model assumes that the audit data conforms to the normal distribution, calculates the Z-score (i.e., standardized score) of each data point, and sets a threshold to identify outliers.
[0095] Machine learning-based models: Machine learning models learn normal behavior patterns through training data and identify data that deviates greatly from these patterns as anomalies. For example, Isolation Forest. This algorithm constructs multiple random binary trees, maps each data point to the leaf nodes of these trees, and evaluates the degree of abnormality of the data point based on the path length of the tree. Outliers are usually isolated earlier, so the path is shorter.
[0096] Models based on deep learning: Deep learning models are able to handle more complex nonlinear relationships and learn deep features in data through multi-layer neural networks. For example, long short-term memory networks (LSTMs). In audit log anomaly detection, LSTMs can be used to process time series data, learn time-dependent patterns of normal behavior, and identify abnormal logs that do not conform to these patterns.
[0097] Training methods:
[0098] Data preparation: Collect historical audit data as training data, and perform data cleaning, preprocessing, and feature extraction. For supervised learning models (such as some machine learning-based models), the data also needs to be labeled, that is, to distinguish between normal data and abnormal data.
[0099] Model selection: Choose the appropriate model type based on business needs, data characteristics, and available resources. Consider factors such as model complexity, accuracy, interpretability, and scalability.
[0100] Model training: Use training data to train the model and adjust model parameters to optimize performance. For supervised learning models, the model is trained by minimizing the loss function (such as cross entropy loss) so that it can accurately distinguish normal data from abnormal data. For unsupervised learning models (such as isolation forests), the model is trained by random sampling and building binary trees so that it can identify abnormal data.
[0101] Model evaluation: Use test data to evaluate the trained model and check the model's accuracy, recall, F1 score and other indicators. For audit anomaly detection systems, special attention should also be paid to false positive and false negative rates to ensure that the system can accurately identify anomalies and reduce false positives and false negatives.
[0102] Model optimization: Optimize the model based on the evaluation results, such as adjusting model parameters, improving feature extraction methods, trying different model structures, etc. Repeat the training, evaluation, and optimization process until the model performance reaches a satisfactory level.
[0103] Taking Isolation Forest as an example, suppose there is a dataset containing a large number of audit logs, including both normal logs and abnormal logs. The goal is to train an Isolation Forest model to identify these abnormal logs. Data preparation: First, the audit logs need to be preprocessed to extract meaningful features (such as user ID, operation type, timestamp, etc.). Then, these features are used as input data and a label (normal or abnormal) is assigned to each log. Model selection: Isolation Forest is selected as the model because it is suitable for unsupervised learning and anomaly detection tasks. Model training: Use training data to train the Isolation Forest model. Specifically, a part of the data is randomly selected as a subsample, and a random binary tree is built on the subsample. Then, this process is repeated multiple times to build multiple such trees to form an Isolation Forest. Model evaluation: Use test data to evaluate the performance of the model. Input the test data into the model and calculate the model's accuracy, recall and other indicators. If the performance of the model does not meet the requirements, you can adjust the model's parameters or try other model structures to optimize the performance. Model optimization: Based on the evaluation results, the model can be optimized. For example, you can try increasing or decreasing the number of trees, adjusting parameters such as the tree height limit, etc. to improve the performance of the model. You can also try using different feature extraction methods or introducing more features to improve the model. Deployment and Monitoring: Once you are satisfied with the performance of the model, you can deploy it to the production environment and set up appropriate monitoring and alerting mechanisms to detect abnormal logs.
[0104] The user interface module provides real-time audit result display and user interaction functions.
[0105] The user interface module interacts with other modules to obtain audit results and display them to users, display audit results in real time and provide user interaction functions, and intuitively display audit results and data trends in the form of reports, charts, etc. When the audit rules and model modules detect anomalies or trigger alarms, the user interface module can display corresponding notifications or warnings to users and provide a corresponding operation interface.
[0106] User interaction functions usually require obtaining user instructions or feedback so that users can view, operate, or further guide system behavior on audit results. This user interaction intervention may affect the operation and changes of the data acquisition module, stream processing engine, complex event processing module, and audit rules and model module.
[0107] The introduction of user interaction functions may cause the data acquisition module to need to be adjusted to support specific data or information that users may request. For example, users may need to view data or event streams within a specific time period, so the data acquisition module may need to adjust the data acquisition and processing strategy accordingly.
[0108] User instructions or feedback can trigger the reconfiguration or adjustment of the stream processing engine. For example, users may ask the stream processing engine to change the rules or patterns of event processing to adapt to different audit requirements or user focus.
[0109] User interaction can affect the way complex event processing modules work. Users may raise new queries or requirements based on the audit results displayed in real time, and complex event processing modules may need to adjust event processing and pattern matching strategies based on user needs.
[0110] User interaction may lead to dynamic adjustments of audit rules and model modules. Users may request to modify or customize audit rules or models to better suit actual business needs or specific audit scenarios.
[0111] The collaborative working process of each module: Data collection collects real-time data sources into the system and sends them to the stream processing engine for processing. The stream processing engine receives, processes and analyzes these data streams, and the processed data may be sent to the complex event processing module. The complex event processing module is built on the stream processing engine, and the complex event processing engine is used to identify and process the complex relationships between multiple data streams. This process may trigger specific events or situations, which may require further auditing. Therefore, the audit rules and model modules interact with the complex event processing module to define a series of audit rules, as well as models built based on historical data and machine learning models. When the complex event processing module identifies events or situations that need to be audited, these events will be passed to the audit rules and model modules for further analysis and evaluation. The user interface module interacts with other modules to obtain audit results and display them to users in real time, and provides user interaction functions to intuitively display audit results and data trends in the form of reports, charts, etc. When the audit rules and model modules find anomalies or trigger alarms, the user interface module can display corresponding notifications or warnings to users and provide corresponding operation interfaces.
[0112] Real-time audit processing: Using stream processing technology and complex event processing technology, real-time processing and analysis of real-time data streams are achieved, making the audit process more timely and responsive.
[0113] Real-time audit processing uses stream processing technology and complex event processing technology to process and analyze real-time data streams immediately. The difference before and after the analysis can be seen from several aspects:
[0114] Timeliness and real-time performance:
[0115] Before analysis, real-time data streams may simply be collected or transmitted without real-time processing and analysis. After analysis, after real-time audit processing, the data streams are processed and analyzed instantly, allowing the system to capture and respond to events or situations in real time. This can achieve higher timeliness and real-time performance, and timely discover and process important information or anomalies.
[0116] Complex Event Recognition:
[0117] Before analysis, the identification of complex events or specific rules may be difficult or time-consuming, and may need to be performed through offline processing or batch processing. After analysis, real-time audit processing uses complex event processing technology to instantly identify and capture complex events or patterns, thereby achieving in-depth analysis and correlation identification of data streams.
[0118] Real-time monitoring and response capabilities:
[0119] Before analysis, traditional data analysis methods may not be able to provide real-time monitoring and response capabilities, and usually need to wait for data accumulation before batch analysis. After analysis, real-time audit processing can achieve real-time monitoring and response to data streams, enabling the system to perform instant analysis and decision support while data is generated.
[0120] Instant feedback and interaction:
[0121] Before analysis, pre-analysis data processing is usually static and cannot interact and feedback with users in real time. After analysis, real-time audit processing can achieve instant display and user interaction of real-time audit results through the combination of stream processing technology and user interface, so that users can understand the data status in time and provide real-time guidance or operation.
[0122] Real-time audit processing uses stream processing and complex event processing technologies to enable the system to realize timely processing of real-time data streams, complex event identification and real-time monitoring, thereby improving the system's real-time performance, feedback speed and flexibility of application scenarios, making data processing more practical and efficient.
[0123] Complex Event Processing: Through the combined use of the Complex Event Processing module and the Audit Rules and Models module, the complex relationships between multiple data streams can be accurately identified and processed, thereby more accurately detecting changes, anomalies, and risks.
[0124] Instant Reporting: Generates real-time audit results and displays them in real time through the user interface, allowing auditors to take timely actions, improving the efficiency and accuracy of audits.
[0125] The system can generate real-time audit results through instant reports and display these results in real time through the user interface to help auditors take timely actions and improve the efficiency and accuracy of audits. Based on this real-time audit, the system can also provide action suggestions through certain intelligent analysis and rule engines to further assist auditors in their decision-making and operations. For example, the system can automatically detect and identify potential problems or anomalies through pre-set audit rules and policies. When the system detects specific audit events or patterns, it can automatically generate corresponding action suggestions, such as warnings, recommended actions, or reminders, based on the set rule engine. When the system detects important audit events or anomalies, it can immediately send real-time alerts or notifications to auditors. This real-time alert function allows auditors to understand key information in a timely manner and take corresponding actions quickly.
[0126] In summary, this solution realizes real-time auditing and monitoring by combining real-time data stream processing technology and complex event processing technology, providing a new solution for auditing work.
[0127] Example 2
[0128] In this embodiment, a monitoring method applied to an audit system is provided. The monitoring method applies a monitoring device applied to an audit system as described in embodiment 1 of the claim. The monitoring method includes:
[0129] Step 1: Obtain multiple data streams of the audit system.
[0130] Step 2: Use a stream processing algorithm to perform logical processing on multiple data streams respectively to obtain multiple logically processed data streams.
[0131] Step 3: Compare the multiple logically processed data streams with the multiple complex event templates respectively. When there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, determine the data segment matching the complex event template as the pending data segment.
[0132] Step 4: Input the pending data segment into the audit rule model to obtain the abnormal determination result. The audit rule model is obtained by training the machine learning model using multiple historical data segments of the audit system marked with abnormal determination results.
[0133] The machine learning model is a standardized score model, an isolation forest model, or a deep learning model.
[0134] Before step 1, also include:
[0135] Step 5: Obtain multiple historical data segments of the audit system. The historical data segments are matched with the complex event templates.
[0136] Step 6: Mark the abnormality determination results of multiple historical data segments.
[0137] Step 7: Using the historical data segment as input and the abnormality determination result of the historical data segment as output, the machine learning model is trained to obtain the audit rule model.
[0138] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0139] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A monitoring device applied to an audit system, It is characterized in that The monitoring device is applied to an audit system, and the monitoring device comprises: The data acquisition module, stream processing engine, complex event processing module, and audit rule model module are connected in sequence; The data acquisition module is used to obtain multiple data streams of the audit system; The stream processing engine is used to perform logical processing on multiple data streams respectively using a stream processing algorithm to obtain multiple logically processed data streams; The complex event processing module is used to store multiple complex event templates, and compare multiple logically processed data streams with multiple complex event templates respectively, and when there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, determine the data segment matching the complex event template as a pending data segment; The audit rule model module is used to carry the audit rule model, and input the pending data segment into the audit rule model to obtain the abnormal judgment result; the audit rule model is obtained by training the machine learning model using multiple historical data segments of the audit system marked with abnormal judgment results.
2. A monitoring device applied to an audit system according to claim 1, It is characterized in that The monitoring device also includes: User interface module; The user interface module is connected to the data acquisition module, the stream processing engine, the complex event processing module and the audit rule model module respectively; The user interface module is used to display multiple data streams of the audit system, multiple logically processed data streams, pending data segments, complex event types corresponding to the pending data segments, and abnormality determination results of the pending data segments.
3. A monitoring device for an audit system according to claim 1, It is characterized in that The machine learning model is a standardized score model, an isolation forest model or a deep learning model.
4. A monitoring method applied to an audit system, It is characterized in that The monitoring method uses a monitoring device applied to an audit system as described in any one of claims 1 to 3, and the monitoring method includes: Obtain multiple data streams from the audit system; Utilize a stream processing algorithm to perform logical processing on multiple data streams respectively to obtain multiple logically processed data streams; Comparing the multiple logically processed data streams with the multiple complex event templates respectively, and when there is a data segment in the multiple logically processed data streams that is consistent with any complex event template, determining the data segment matching the complex event template as a pending data segment; The pending data segment is input into the audit rule model to obtain an abnormal determination result; the audit rule model is obtained by training a machine learning model using multiple historical data segments of the audit system marked with abnormal determination results.
5. A monitoring method applied to an audit system according to claim 4, It is characterized in that The machine learning model is a standardized score model, an isolation forest model or a deep learning model.
6. A monitoring method applied to an audit system according to claim 4, It is characterized in that Before acquiring multiple data streams of the audit system, it also includes: Acquiring multiple historical data segments of an audit system; matching the historical data segments with complex event templates; Annotate the abnormal judgment results of multiple historical data segments; The machine learning model is trained with the historical data segment as input and the abnormality determination result of the historical data segment as output to obtain the audit rule model.
Citation Information
Patent Citations
Real-time security early warning method based on complex event processing
CN107147639A
Auditing system with monitoring and early warning functions
CN111340290A
Contract auditing method and system, and computer readable storage medium
CN113722421A
Comprehensive log analysis system
CN115622873A
Sensitive information identification method and device, computer equipment and readable storage medium
CN117034305A
