Data auditing method and device, computer storage medium, electronic equipment
Through real-time and offline monitoring of the data to be monitored, production data indexes are generated, which solves the problems of slow result generation and difficult troubleshooting in big data audits, and improves audit efficiency.
Patent Information
- Application Number
- CN202111355336.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-16
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-11-16
AI Technical Summary
In big data solutions, due to the complex sources of source data, the data production links are complicated, resulting in slow generation of data audit results, difficulty in troubleshooting, and slow positioning.
Through real-time monitoring and offline monitoring of the data to be monitored, real-time monitoring results and offline monitoring results are generated, and production data indexes are generated based on these results, mapping the relationship between the data to be monitored and the monitoring results, thereby directly generating audit results.
It improves the speed of generating audit results and reduces the difficulty of troubleshooting and positioning speed during data audit.
Smart Images

Figure CN114048213B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data auditing method and device thereof, a computer storage medium, and an electronic device. Background Art
[0002] Based on big data solutions, we conduct a series of in-depth mining such as cleaning, analysis, and organization of the collected source data, and then provide comprehensive data query or classification query services, such as querying company-related information, including investment status, shareholder status, etc.
[0003] However, due to the complexity of the source of source data, the data production chain is intricate, and the data problems are increasing. As a result, when conducting data audits, the audit results are generated slowly, and the problem troubleshooting and location are difficult and slow. Summary of the invention
[0004] The embodiments of the present application provide a data auditing method and device, a computer storage medium, and an electronic device to overcome or alleviate the above-mentioned technical problems existing in the prior art.
[0005] The embodiments of the present application provide the following technical solutions:
[0006] A data audit method, comprising:
[0007] Monitor the monitored data in real time and generate real-time monitoring results;
[0008] Performing offline monitoring on the data to be monitored and generating offline monitoring results;
[0009] Generate a production data index according to the real-time monitoring result and the offline monitoring result, wherein the production data index includes a mapping relationship between the data to be monitored and the real-time monitoring result and the offline monitoring result respectively;
[0010] An audit result for the data to be monitored is generated according to the production data index.
[0011] Optionally, in one embodiment, the data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored, the clue data to be monitored is used to query the source data to be monitored associated with the target object, the source data to be monitored is used to produce target data to be monitored associated with the target object, and the log data to be monitored is the process data of the production.
[0012] Optionally, in one embodiment, the method further includes:
[0013] Collect source monitoring clue data and verify the validity of the source monitoring clue data based on the data disclosed by the industry and commerce;
[0014] The to-be-monitored clue data is generated according to the source monitoring clue data that has passed the validity verification.
[0015] Optionally, in one embodiment, generating the clue data to be monitored according to the source monitoring clue data that has passed the validity verification includes: generating the clue data to be monitored according to a calling service configured for the source monitoring clue data that has passed the validity verification.
[0016] Optionally, in one embodiment, the method further includes:
[0017] Based on the clue data to be monitored, obtaining original data including the source data to be monitored;
[0018] The original data is parsed to collect the source data to be monitored.
[0019] Optionally, in one embodiment, parsing the original data to collect the source data to be monitored therefrom includes: parsing the original data to collect the source data to be monitored and corresponding index information therefrom.
[0020] Optionally, in one embodiment, the method further includes:
[0021] The source monitoring log data is obtained, and the source monitoring log data is stream-processed to obtain the log data to be monitored.
[0022] Optionally, in one embodiment, the method further comprises: performing noise filtering on the data to be monitored to remove dirty data therein, so as to perform real-time monitoring and offline monitoring on the data to be monitored after the noise filtering.
[0023] Optionally, in one embodiment, the noise filtering of the data to be monitored to remove dirty data therein includes: based on set filtering rules, the noise filtering of the data to be monitored to remove dirty data therein, the filtering rules including a first filtering rule for filtering unstructured data in the data to be monitored, and a second filtering rule for filtering invalid data in the data to be monitored.
[0024] Optionally, in one embodiment, the real-time monitoring of the data to be monitored and generating real-time monitoring results include:
[0025] The source distribution of the clue data to be monitored is monitored in real time, and statistics are collected on the source distribution to generate real-time monitoring results.
[0026] Optionally, in one embodiment, the real-time monitoring of the data to be monitored and generating real-time monitoring results include:
[0027] It is determined whether the scheduling tasks of the data to be monitored are real-time and continuous, and the scheduling tasks that have timed out and not been completed are counted to generate real-time monitoring results.
[0028] Optionally, in one embodiment, the performing offline monitoring on the data to be monitored and generating offline monitoring results includes: caching the data to be monitored, and performing timed cyclic monitoring on the cached data to be monitored to generate offline monitoring results.
[0029] Optionally, in one embodiment, the performing offline monitoring on the data to be monitored and generating offline monitoring results further includes: obtaining cached timeliness information of the data to be monitored to generate offline monitoring results according to the timeliness information.
[0030] Optionally, in one embodiment, after generating the production data index according to the real-time monitoring results and the offline monitoring results, the method further includes: generating a knowledge graph according to the production data index.
[0031] A data auditing device, comprising:
[0032] The first monitoring unit is used to monitor the monitored data in real time and generate real-time monitoring results;
[0033] A second monitoring unit, used for performing offline monitoring on the data to be monitored and generating offline monitoring results;
[0034] An index unit, used to generate a production data index according to the real-time monitoring result and the offline monitoring result, and a mapping relationship between the data to be monitored and the real-time monitoring result and the offline monitoring result respectively;
[0035] An audit unit, configured to generate an audit result for the data to be monitored according to the production data index;
[0036] Among them, the data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored. The clue data to be monitored is used to query the source data to be monitored associated with the target object, the source data to be monitored is used to produce target data to be monitored associated with the target object, and the log data to be monitored is the process data of the production.
[0037] A computer storage medium having a computer executable program stored thereon, wherein the computer executable program is executed to implement any method described in the embodiments of the present application.
[0038] An electronic device comprises a memory and a processor, wherein the memory is used to store a computer executable program, and the processor is used to run the computer executable program to implement any method described in the embodiments of the present application.
[0039] In the embodiment of the present application, real-time monitoring is performed on the data to be monitored to generate real-time monitoring results; offline monitoring is performed on the data to be monitored to generate offline monitoring results; a production data index is generated based on the real-time monitoring results and the offline monitoring results, and the production data index includes a mapping relationship between the data to be monitored and the real-time monitoring results and the offline monitoring results, respectively; based on the production data index, an audit result for the data to be monitored is generated, thereby providing a data audit solution, generating audit results directly based on the production index, at least improving the speed of generating audit results, reducing the difficulty of troubleshooting during data auditing, and improving the positioning speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of an application scenario of an embodiment of the present application;
[0041] Figure 2 A flowchart of a data audit method according to an embodiment of the present application;
[0042] Figure 3 A flowchart of a data audit method according to an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of a data auditing device according to an embodiment of the present application;
[0044] Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0046] In the embodiment of the present application, real-time monitoring is performed on the data to be monitored to generate real-time monitoring results; offline monitoring is performed on the data to be monitored to generate offline monitoring results; a production data index is generated based on the real-time monitoring results and the offline monitoring results, and the production data index includes a mapping relationship between the data to be monitored and the real-time monitoring results and the offline monitoring results, respectively; based on the production data index, an audit result for the data to be monitored is generated, thereby providing a data audit solution, generating audit results directly based on the production index, at least improving the speed of generating audit results, reducing the difficulty of troubleshooting during data auditing, and improving the positioning speed.
[0047] Figure 1 Schematic diagram of application scenarios of the embodiments of the present application; Figure 1As shown, the application scenario is for a data processing system, which includes a terminal device 101 and a data processing server 102. The data processing server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal device 101 and the above-mentioned data processing server 102 can be directly or indirectly connected via wireless communication (such as a network), and this application is not limited here.
[0048] The data processing server 102 stores various structured data, and the terminal device 101 is installed with an application that can interact with the data processing server 102. When a user uses the application to query data about a natural person or a legal person, the data processing server 102 responds to the data query and transmits the queried structured data (including direct transmission or indirect transmission here) to the application to display it to the user through the terminal device 101. Indirect transmission, for example, caches the structured data in an intermediate database, and the structured data transmitted to the application is obtained from the intermediate database.
[0049] In the following embodiments, an audit server is provided, and the audit server is used to execute the following audit method. In specific applications, the audit server and the data processing server can be physically located on the same server, but logically independent of each other. Of course, in other application scenarios, the following audit method can also be executed by the above-mentioned data processing server.
[0050] Figure 2 Schematic diagram of a data audit method according to an embodiment of the present application; in this embodiment, the execution subject may be an audit server dedicated to executing the audit method, such as Figure 2 As shown, it includes:
[0051] S201, monitor the monitored data in real time and generate real-time monitoring results;
[0052] In this embodiment, the data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored. The clue data to be monitored is used to query the source data to be monitored associated with the target object. The source data to be monitored is used to produce target data to be monitored associated with the target object. The log data to be monitored is the process data of the production. The target object includes a natural person, a legal person, or a social group.
[0053] Here, it should be noted that the data to be monitored including clue data to be monitored, source data to be monitored, and log data to be monitored are merely examples and are not exclusive limitations. Ordinary technicians in this field can flexibly select them according to different application scenarios.
[0054] Specifically, in this embodiment, the real-time monitoring of the data to be monitored and the generation of the real-time monitoring results include: real-time monitoring of the source distribution of the clue data to be monitored and statistics on the source distribution to generate the real-time monitoring results.
[0055] For example, in a specific application scenario, the clue data to be monitored is scanned, and the distribution of high-frequency clue data sources to be monitored and the distribution of low-frequency clue data sources to be monitored are counted to generate real-time monitoring results.
[0056] Specifically, the real-time monitoring of the data to be monitored and generating the real-time monitoring result may also include: determining whether the scheduling tasks of the data to be monitored are real-time and continuous, and counting the scheduling tasks that have timed out and not been completed, so as to generate the real-time monitoring result.
[0057] By judging whether the scheduling task of the data to be monitored is real-time and continuous, and thus whether the scheduling task is continuous from start to end, and by counting the scheduling tasks that have timed out and not been completed, alarm information for the scheduling tasks that have timed out and not been completed can be generated, which is convenient for pre-checking and pre-positioning of problems, thereby reducing the difficulty of troubleshooting during data auditing as a whole and improving the positioning speed.
[0058] In this embodiment, real-time monitoring is performed on the data to be monitored that cannot be delayed, and real-time monitoring results are generated through real-time monitoring, so that statistics are promptly collected on situations that do not meet expectations to generate statistical results, which are convenient for subsequent processing, such as alarms, maintenance, etc.
[0059] Specifically, for the clue data to be monitored, the situation that does not meet expectations may include at least one of the following situations:
[0060] (1) The deviation of the source distribution value of the high-frequency effective clue relative to the preset high-frequency source distribution value threshold exceeds the set high-frequency source deviation range;
[0061] (2) The deviation of the source distribution value of the low-frequency effective clue relative to the preset low-frequency distribution value threshold exceeds the set low-frequency source deviation range;
[0062] Optionally, the high-frequency source distribution value threshold, high-frequency source offset range, low-frequency distribution value threshold, and low-frequency source offset range can be flexibly set according to requirements of application scenarios.
[0063] Specifically, the clue data to be monitored is scanned, and the distribution of high-frequency clue data sources to be monitored and the distribution of low-frequency clue data sources to be monitored are counted to generate real-time monitoring results, including:
[0064] By scanning the clue data to be monitored, the source distribution of high-frequency clue data to be monitored and the distribution of low-frequency clue data to be monitored are statistically analyzed to obtain the source distribution value of high-frequency effective clues and the source distribution value of low-frequency effective clues respectively; the source distribution value of high-frequency effective clues and the source distribution value of low-frequency effective clues are compared with the high-frequency source distribution value threshold and the low-frequency distribution value threshold respectively to determine whether they exceed the set high-frequency source offset range and the set low-frequency source offset range respectively, so as to generate real-time monitoring results for the clue data to be monitored in the source data to be monitored.
[0065] For the source data to be monitored, the real-time monitoring result may include a situation where the source data to be monitored does not meet expectations, specifically including at least one of the following situations:
[0066] (1) The reporting information of the source data to be monitored is not received;
[0067] (2) Receive abnormal feedback about the source data to be monitored, such as feedback about file storage anomalies or file parsing anomalies.
[0068] Specifically, in this embodiment, the real-time monitoring of the data to be monitored and the generation of real-time monitoring results include: real-time monitoring of the reporting information and / or abnormal feedback of the source data to be monitored to generate real-time monitoring results.
[0069] For example, the real-time monitoring result records: reporting information that the source data to be monitored is not received through real-time monitoring within the set source data monitoring time; or records: abnormal feedback that the source data to be monitored is received.
[0070] Specifically, in an application scenario, a timer may be provided to set the source data monitoring time.
[0071] For the log data to be monitored, the real-time monitoring result may include a situation where the log data to be monitored does not meet expectations, which may specifically include at least one of the following situations:
[0072] (1) The proportion of abnormal categories in the monitored log data exceeds the set abnormal analog proportion threshold.
[0073] (2) No reporting information on the log data to be monitored has been received.
[0074] Specifically, in this embodiment, the real-time monitoring of the monitored data and generating real-time monitoring results include: real-time monitoring of the abnormal categories and / or reporting information of the monitored log data to generate real-time monitoring results for the monitored log data in the monitored source data.
[0075] Specifically, in this embodiment, the real-time monitoring of the abnormal category of the log data to be monitored to generate a real-time monitoring result includes:
[0076] Within the set log data monitoring time, the abnormal category of the log data to be monitored is monitored in real time to calculate the abnormal log data ratio of the abnormal log data in all the log data to be monitored within the log data monitoring time;
[0077] The log data anomaly ratio is compared with a set log data anomaly ratio threshold to determine whether the log data anomaly ratio exceeds the log data anomaly ratio threshold, so as to generate a real-time monitoring result for the log data to be monitored.
[0078] Specifically, in this embodiment, the report information of the log data to be monitored is monitored in real time to generate a real-time monitoring result:
[0079] Within the set log data monitoring time, determine whether report information of the log data to be monitored is received and determine whether the number of report information received reaches the set report information number threshold to generate real-time monitoring results for the log data to be monitored.
[0080] Specifically, in one embodiment, a timer may be set to define the log data monitoring time; and a counter may be set to count the amount of report information.
[0081] S202, performing offline monitoring on the data to be monitored, and generating offline monitoring results;
[0082] In this embodiment, offline monitoring is performed on the data to be monitored that requires delayed processing.
[0083] In this embodiment, the offline monitoring result may be similar to the offline monitoring result for online monitoring described above, and will not be described in detail here.
[0084] In this embodiment, for example, based on the offline monitoring results, it can be determined whether the timeliness information of the offline monitored data is normal, such as whether it is within the set time threshold range. If it is within the time threshold range, the offline monitored data is determined to be normal; otherwise, the offline monitored data is determined to be abnormal, such as further generating an alarm message.
[0085] S203, generating a production data index according to the real-time monitoring result and the offline monitoring result;
[0086] In this embodiment, the production data index includes the mapping relationship between the data to be monitored and the real-time monitoring results and the offline monitoring results, specifically, for example, the mapping relationship between the data to be monitored and the real-time monitoring results, and the mapping relationship between the data to be monitored and the offline monitoring results, so as to record which situations in the data to be monitored do not meet expectations, as well as the specific content of the situations that do not meet expectations.
[0087] S204: Generate audit results for the data to be monitored based on the production data index.
[0088] In this embodiment, since the production data index accurately records the data of the intermediate links in the process from source data to the production of target data, the audit results are quickly generated directly based on the production data index. The audit results at least include the abnormal category of the data to be monitored and the corresponding abnormal details. At the same time, when troubleshooting is required, the problem can be quickly troubleshooted and located based on the corresponding production data index.
[0089] In this embodiment, when generating the audit results for the data to be monitored based on the production data index, cluster analysis is performed on the real-time monitoring results and offline monitoring results recorded in the production data index to determine the abnormal category and corresponding abnormal details of the data to be monitored. For example, for the source data to be monitored, it includes reporting abnormalities and processing abnormalities. The details of processing abnormalities include file storage abnormalities and file parsing abnormalities. The details of reporting abnormalities include: the number of times the report of the source data to be monitored is not received, etc. Similarly, for the log data to be monitored, it includes: percentage abnormalities and reporting abnormalities. The details of percentage abnormalities include: the interval range of abnormal percentage, etc., and the details of reporting abnormalities include: the total number of times and the total number of reports of the log data to be monitored are not received, etc.
[0090] Figure 3 Schematic diagram of a data audit method according to an embodiment of the present application; Figure 3 As shown, it includes:
[0091] S301, collecting data to be monitored;
[0092] Specifically, step S301 may include:
[0093] S311, collecting clue data to be monitored;
[0094] S321, collecting source data to be monitored;
[0095] S331, collecting log data to be monitored;
[0096] Specifically, collecting the clue data to be monitored in S311 may include the following steps:
[0097] S3111. Collect source monitoring clue data, and verify the validity of the source monitoring clue data based on the data disclosed by the industrial and commercial authorities;
[0098] S3112. Generate the clue data to be monitored based on the source monitoring clue data that has passed the validity verification.
[0099] Specifically, when collecting source monitoring clue data, you can obtain clue information of newly established companies by crawling public data, studying corporate registration rules, news and public opinion, and other channels, and collect source monitoring clue data from them.
[0100] Based on the processing of the above steps S3111-S3112, accurate clue data to be monitored is ensured.
[0101] Further, generating the to-be-monitored clue data according to the source monitoring clue data that has passed the validity verification in S3112 includes: generating the to-be-monitored clue data according to a calling service configured for the source monitoring clue data that has passed the validity verification.
[0102] By calling the service through the above configuration, the subsequent query of the clue data to be monitored is guaranteed.
[0103] Specifically, the calling service may be a WEB-based calling service, thereby ensuring efficiency during querying.
[0104] Specifically, in this embodiment, when collecting the source data to be monitored in step S321, the following steps may be included:
[0105] S3211. Based on the clue data to be monitored, obtaining original data including the source data to be monitored;
[0106] S3212. Analyze the original data to collect the source data to be monitored.
[0107] Specifically, in this embodiment, parsing the original data in step S3212 to collect the source data to be monitored includes: parsing the original data to collect the source data to be monitored and corresponding index information.
[0108] Specifically, the collected raw data can be stored in a distributed file storage database (such as MongoDB), and after being saved for a certain period of time, it can be put into OSS for archiving storage. The raw data can be data such as html\json. The collected source data to be monitored can also be stored in MongoDB. At the same time, the index information of the source data to be monitored can also be stored in a cloud server, such as an object storage service (OSS) cloud server, so as to facilitate subsequent queries on the source data to be monitored.
[0109] Specifically, in this embodiment, when collecting the log data to be monitored in step S331, the following steps may be included:
[0110] S3311. Obtain source monitoring log data;
[0111] S3312. Perform streaming processing on the source monitoring log data to obtain log data to be monitored.
[0112] Specifically, source monitoring log data can be obtained through a distributed log collection system (such as filebeat, logstash, etc.), and the collected source monitoring log data is stored in a stream processing platform (such as kafka), and the stream processing platform obtains the log data to be monitored after flink streaming, so as to facilitate monitoring of the log data to be monitored. The source monitoring log data can be temporarily stored on a physical disk.
[0113] Of course, in one embodiment, the target data to be monitored may also be monitored, for example, including:
[0114] The target data to be monitored is collected from the MySQL and table storage database (such as tablestore) of the target data to be monitored, and an API query interface is configured for the collected target data to be monitored, thereby ensuring the accuracy of the target data to be monitored and facilitating query.
[0115] In this embodiment, the collected target data to be monitored is saved in a persistent storage manner, such as persistent storage in a physical disk.
[0116] Furthermore, after the data to be monitored is collected and before the above-mentioned real-time monitoring and offline monitoring are performed, noise filtering is performed on the collected data to be monitored to remove dirty data therein.
[0117] Specifically, the noise filtering of the data to be monitored to remove dirty data therein includes: based on set filtering rules, the noise filtering of the data to be monitored to remove dirty data therein, the filtering rules including a first filtering rule for filtering unstructured data in the data to be monitored, and a second filtering rule for filtering invalid data in the data to be monitored.
[0118] For example, in an application scenario, based on the first filtering rule, unnecessary structured data in the clue data to be monitored and the source data to be monitored are filtered out, such as request information irrelevant to the legal person attribute data, pre-requests, etc. Based on the second filtering rule, invalid data with utility indicators lower than the Info level in the log data to be monitored, as well as other invalid data in non-standard formats, are filtered out.
[0119] S302, real-time monitoring of the collected data to be monitored is performed to generate real-time monitoring results;
[0120] S303, performing offline monitoring on the data to be monitored, and generating offline monitoring results;
[0121] In this embodiment, the offline monitoring of the data to be monitored and generating the offline monitoring result includes: caching the data to be monitored, and performing timed cyclic monitoring on the cached data to be monitored to generate the offline monitoring result.
[0122] Furthermore, the offline monitoring of the data to be monitored and generating offline monitoring results further includes: acquiring cached timeliness information of the data to be monitored to generate offline monitoring results according to the timeliness information.
[0123] For example, in a specific application scenario, an intermediate buffer layer is set up to cache the monitored data from the monitoring server to the buffer layer, thereby improving the response capability when a large number of users access. If there is a cache, the cached data does not need to be obtained from the database every time, which also reduces the pressure on the monitoring server.
[0124] Furthermore, considering the problem of cache inconsistency caused by reasons such as untimely updates, the cached data to be monitored is monitored in a timed cycle, and the cached data to be monitored is sampled to obtain the timeliness information of the currently cached data to be monitored, so as to generate offline monitoring results according to the timeliness information. For example, if the timeliness of the timeliness information record exceeds the set timeliness threshold (such as 10 minutes), an alarm message is generated to start the synchronous update of the data to be monitored from the monitoring server to the buffer layer.
[0125] Furthermore, for this purpose, when the data to be monitored is monitored in real time and offline, the data to be monitored is monitored in real time and offline based on the data to be monitored after noise filtering, thereby ensuring the accuracy of the monitoring result.
[0126] Furthermore, in this embodiment, when the collected data to be monitored is monitored in real time in S302, the amount of abnormal data and the success rate of the collected data to be monitored can also be counted to generate real-time monitoring results. When the amount of abnormal data is too much or the success rate is lower than the average level of the same period, a corresponding alarm message is generated to facilitate pre-checking and pre-positioning of the problem.
[0127] S304, generating a production data index according to the real-time monitoring result and the offline monitoring result;
[0128] S305: Generate audit results for the data to be monitored based on the production data index.
[0129] For steps S304-S305, reference may be made to the above embodiment and will not be repeated here.
[0130] On the basis of any of the above embodiments, after generating the production data index according to the real-time monitoring results and the offline monitoring results, it includes: generating a knowledge graph according to the production data index, thereby building a real-time collaborative document based on Atlassian and Feishu based on the knowledge graph, and continuously combing and supplementing each link of the production chain that produces source data into target data.
[0131] Figure 4 This is a schematic diagram of the structure of a data audit device according to an embodiment of the present application; Figure 4 As shown, it includes:
[0132] The first monitoring unit 401 is used to monitor the monitored data in real time and generate real-time monitoring results;
[0133] The second monitoring unit 402 is used to perform offline monitoring on the data to be monitored and generate offline monitoring results;
[0134] An index unit 403, configured to generate a production data index according to the real-time monitoring result and the offline monitoring result, wherein the production data index includes a mapping relationship between the data to be monitored and the real-time monitoring result and the offline monitoring result respectively;
[0135] An audit unit 404, configured to generate an audit result for the data to be monitored according to the production data index;
[0136] Optionally, in one embodiment, the data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored, the clue data to be monitored is used to query the source data to be monitored associated with the target object, the source data to be monitored is used to produce target data to be monitored associated with the target object, the log data to be monitored is the process data of the production, and the target object includes a natural person or a legal person or a social group.
[0137] Optionally, in one embodiment, the device further includes: a collection unit, used to collect source monitoring clue data, and verify the validity of the source monitoring clue data based on industrial and commercial public data; and generate the clue data to be monitored based on the source monitoring clue data that passes the validity verification.
[0138] Optionally, in one embodiment, the acquisition unit is specifically configured to: generate the to-be-monitored clue data according to a calling service configured for the source monitoring clue data that has passed the validity verification.
[0139] Optionally, in one embodiment, the acquisition unit is further used for:
[0140] Based on the clue data to be monitored, obtaining original data including the source data to be monitored;
[0141] The original data is parsed to collect the source data to be monitored.
[0142] Optionally, in one embodiment, the acquisition unit is further specifically used for:
[0143] The original data is parsed to collect the source data to be monitored and the corresponding index information therefrom.
[0144] Optionally, in one embodiment, the acquisition unit is further used for:
[0145] The source monitoring log data is obtained, and the source monitoring log data is stream-processed to obtain the log data to be monitored.
[0146] Optionally, in one embodiment, the device further comprises a pre-processing unit, configured to perform noise filtering on the data to be monitored, and remove dirty data therein, so as to perform real-time monitoring and offline monitoring on the data to be monitored after the noise filtering.
[0147] Optionally, in one embodiment, the device also includes a preprocessing unit specifically used to perform noise filtering on the data to be monitored based on set filtering rules to remove dirty data therein, and the filtering rules include a first filtering rule for filtering unstructured data in the data to be monitored, and a second filtering rule for filtering invalid data in the data to be monitored.
[0148] Optionally, in one embodiment, the first monitoring unit 401 is specifically configured to:
[0149] The source distribution of the clue data to be monitored is monitored in real time, and statistics are collected on the source distribution to generate real-time monitoring results.
[0150] Optionally, in one embodiment, the first monitoring unit 401 is specifically configured to:
[0151] It is determined whether the scheduling tasks of the data to be monitored are real-time and continuous, and the scheduling tasks that have timed out and not been completed are counted to generate real-time monitoring results.
[0152] Optionally, in one embodiment, the second monitoring unit 402 is specifically used to: cache the data to be monitored, and perform timed cyclic monitoring on the cached data to be monitored to generate an offline monitoring result.
[0153] Optionally, in one embodiment, the second monitoring unit 402 is further configured to: obtain cached timeliness information of the data to be monitored, so as to generate an offline monitoring result according to the timeliness information.
[0154] Optionally, in one embodiment, the device further includes a graph generation unit for generating a knowledge graph based on the production data index after generating the production data index based on the real-time monitoring results and the offline monitoring results.
[0155] An embodiment of the present application further provides a computer storage medium, on which a computer executable program is stored, and the computer executable program is executed to implement the method described in any embodiment of the present application.
[0156] Figure 5 Schematic diagram of the structure of the electronic device of the present application embodiment; Figure 5 As shown, the electronic device includes a memory 501 and a processor 502, the memory is used to store a computer executable program, and the processor is used to run the computer executable program to implement the method described in any one of the embodiments of the present application.
[0157] The above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A data audit method, characterized in that: include: Monitor the monitored data in real time and generate real-time monitoring results; Performing offline monitoring on the data to be monitored and generating offline monitoring results; Generate a production data index according to the real-time monitoring result and the offline monitoring result, wherein the production data index includes mapping relationships between the data to be monitored and the real-time monitoring result and the offline monitoring result, respectively, including a mapping relationship between the data to be monitored and the real-time monitoring result, and a mapping relationship between the data to be monitored and the offline monitoring result, so as to record which situations to be monitored do not meet expectations, and the specific contents of the situations that do not meet expectations; Generate an audit result for the data to be monitored based on the production data index, wherein the production data index records the data of the intermediate links in the process from the source data to the production of the target data, and directly generate an audit result based on the production data index, the audit result at least includes the abnormal category of the data to be monitored and the corresponding abnormal details, and at the same time, when troubleshooting is to be performed, the problem is troubleshooted and located based on the corresponding production data index; When generating audit results for the data to be monitored according to the production data index, cluster analysis is performed on the real-time monitoring results and offline monitoring results recorded in the production data index to determine the abnormal category of the data to be monitored and the corresponding abnormal details; The data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored. The clue data to be monitored is used to query the source data to be monitored associated with the target object. The source data to be monitored is used to produce target data to be monitored associated with the target object. The log data to be monitored is the process data of the production. For the source data to be monitored, it includes reporting exceptions and handling exceptions. The details of handling exceptions include file storage exceptions and file parsing exceptions. The details of reporting exceptions include: the number of times the report of the source data to be monitored was not received; The log data to be monitored includes: abnormal proportion and abnormal report. The details of abnormal proportion include: the interval range of abnormal proportion. The details of abnormal report include: the total number of times and total quantity of reports of the log data to be monitored that have not been received.
2. The method according to claim 1, characterized in that The method further comprises: Collect source monitoring clue data and verify the validity of the source monitoring clue data based on the data disclosed by the industry and commerce; The to-be-monitored clue data is generated according to the source monitoring clue data that has passed the validity verification.
3. The method according to claim 2, characterized in that The generating the to-be-monitored clue data according to the source monitoring clue data that has passed the validity verification includes: generating the to-be-monitored clue data according to a calling service configured for the source monitoring clue data that has passed the validity verification.
4. The method according to claim 1, characterized in that: The method further comprises: Based on the clue data to be monitored, obtaining original data including the source data to be monitored; The original data is parsed to collect the source data to be monitored.
5. The method according to claim 4, characterized in that The parsing of the original data to collect the source data to be monitored includes: parsing the original data to collect the source data to be monitored and corresponding index information.
6. The method according to claim 1, characterized in that The method further comprises: The source monitoring log data is obtained, and the source monitoring log data is stream-processed to obtain the log data to be monitored.
7. The method according to claim 1, characterized in that The method further includes: performing noise filtering on the data to be monitored to remove dirty data therein, so as to perform real-time monitoring and offline monitoring on the data to be monitored after the noise filtering.
8. The method according to claim 7, characterized in that The step of filtering out noise from the data to be monitored to remove dirty data therein comprises: based on set filtering rules, filtering out noise from the data to be monitored to remove dirty data therein, wherein the filtering rules comprise a first filtering rule for filtering unstructured data in the data to be monitored, and a second filtering rule for filtering invalid data in the data to be monitored.
9. The method according to claim 1, characterized in that: The real-time monitoring of the monitored data and generating real-time monitoring results include: The source distribution of the clue data to be monitored is monitored in real time, and statistics are collected on the source distribution to generate real-time monitoring results.
10. The method according to claim 1, characterized in that The real-time monitoring of the monitored data and generating real-time monitoring results include: It is determined whether the scheduling tasks of the data to be monitored are real-time and continuous, and the scheduling tasks that have timed out and not been completed are counted to generate real-time monitoring results.
11. The method according to claim 1, characterized in that: The offline monitoring of the data to be monitored and generating the offline monitoring result includes: caching the data to be monitored, and performing timed cyclic monitoring on the cached data to be monitored to generate the offline monitoring result.
12. The method according to claim 1, characterized in that The offline monitoring of the data to be monitored and generating an offline monitoring result further includes: obtaining cached timeliness information of the data to be monitored to generate an offline monitoring result according to the timeliness information.
13. The method according to claim 1, characterized in that After generating the production data index according to the real-time monitoring results and the offline monitoring results, the method further includes: generating a knowledge graph according to the production data index.
14. A data auditing device, characterized in that: include: The first monitoring unit is used to monitor the monitored data in real time and generate real-time monitoring results; A second monitoring unit, used for performing offline monitoring on the data to be monitored and generating offline monitoring results; An index unit, used to generate a production data index according to the real-time monitoring result and the offline monitoring result, wherein the production data index includes mapping relationships between the data to be monitored and the real-time monitoring result and the offline monitoring result, respectively, including a mapping relationship between the data to be monitored and the real-time monitoring result, and a mapping relationship between the data to be monitored and the offline monitoring result, so as to record which situations to be monitored do not meet expectations, and the specific contents of the situations that do not meet expectations; An audit unit is used to generate an audit result for the data to be monitored according to the production data index, wherein the production data index records the data of the intermediate links in the process from the source data to the production of the target data, and the audit result is generated directly according to the production data index, and the audit result at least includes the abnormal category of the data to be monitored and the corresponding abnormal details. At the same time, when troubleshooting is to be performed, the problem is troubleshooted and located based on the corresponding production data index; When generating audit results for the data to be monitored according to the production data index, cluster analysis is performed on the real-time monitoring results and offline monitoring results recorded in the production data index to determine the abnormal category of the data to be monitored and the corresponding abnormal details; The data to be monitored includes clue data to be monitored, source data to be monitored, and log data to be monitored. The clue data to be monitored is used to query the source data to be monitored associated with the target object. The source data to be monitored is used to produce target data to be monitored associated with the target object. The log data to be monitored is the process data of the production. For the source data to be monitored, it includes reporting exceptions and handling exceptions. The details of handling exceptions include file storage exceptions and file parsing exceptions. The details of reporting exceptions include: the number of times the report of the source data to be monitored was not received; The log data to be monitored includes: abnormal proportion and abnormal report. The details of abnormal proportion include: the interval range of abnormal proportion. The details of abnormal report include: the total number of times and total quantity of reports of the log data to be monitored that have not been received.
15. A computer storage medium, characterized in that The computer storage medium stores a computer executable program, and the computer executable program is executed to implement any one of the methods of claims 1-13.
16. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer executable program, and the processor is used to run the computer executable program to implement any one of the methods of claims 1-13.
