A method and system for intelligent data asset inventory
Through automated tools and technologies, the automatic identification, classification and management of data assets are realized, which solves the time-consuming and labor-intensive problem of manual inventory, improves efficiency and accuracy, and is suitable for data asset management of data-driven enterprises such as financial institutions.
Patent Information
- Application Number
- CN202311744642.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-12-18
AI Technical Summary
In the existing technology, data asset inventory needs to be carried out manually, which is time-consuming and labor-intensive, prone to human errors and omissions, and difficult to effectively manage large-scale and complex data assets.
Use automated tools and technologies to realize automatic identification, classification and management of data assets through preset inventory rules and similarity algorithms, monitor data changes in real time and update inventory results.
It improves the efficiency and accuracy of data asset inventory, reduces the investment in human resources, avoids human errors, can effectively identify and manage a large number of data assets, and improves decision-making capabilities.
Smart Images

Figure CN117909392B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of software technology, and in particular to a method and system for intelligent data asset inventory. Background Art
[0002] At present, when similar products provide data asset inventory services to the outside world, they need to manually inventory and organize the data assets of the company or organization, which requires a long period of manual investment to determine which data meets the needs. This process requires all data to be checked and recorded one by one, including the source of the data, storage location, classification, business interpretation, data permissions, etc.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: a large number of data assets require compliance audits and data risk management. Faced with large-scale and complex data assets, conventional manual inventory is a relatively time-consuming and labor-intensive method, which is prone to human errors and omissions. Summary of the invention
[0004] In view of this, an embodiment of the present invention aims to provide a method and system for intelligent data asset inventory. The present invention uses automated tools and techniques to ensure that the data assets of financial institutions can be accurately identified, classified and managed.
[0005] In a first aspect, an embodiment of the present invention provides an intelligent data asset inventory method, which comprises the following steps:
[0006] S1: Add a data asset inventory task according to the preset inventory rules. In the newly added inventory task, set the inventory schedule and inventory frequency; the inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for temporarily not registering data assets;
[0007] S2: triggering and starting an inventory task according to the inventory schedule, the inventory frequency and the inventory rule, wherein the inventory task includes a plurality of sub-inventory tasks;
[0008] S3: when the inventory task starts to be executed, the inventory process is started, and the inventory process includes: establishing a connection with the data source and performing authentication, collecting metadata information of the data source, analyzing the metadata information to generate a preliminary inventory result, monitoring the change of data assets in real time and updating the preliminary inventory result when a change is detected;
[0009] S4: During the execution of the inventory process, all data assets under the data source are scanned, and metadata information of each data asset is collected during the scanning process;
[0010] S5: Execute a sub-inventory task according to the metadata information of each data asset collected, which includes: analyzing the metadata information of the collected data assets to identify and classify different types of data assets, applying a preset similarity algorithm to the classified data assets to find the target data assets under the data source; and executing corresponding inventory rules on the found target data assets;
[0011] S6: When the inventory counting rule corresponding to the sub-inventory counting task is successfully executed, an indication of successful execution of the sub-inventory counting task is generated;
[0012] S7: When all sub-inventory counting tasks included in the inventory counting task are executed successfully, the preliminary inventory counting result is processed according to predefined settings to obtain a final inventory counting result, and the final inventory counting result is published.
[0013] In some possible implementations, before step S1, the method further includes: adding an inventory rule for new data assets;
[0014] After step S7, the method further includes: if the execution of the inventory task fails, analyzing the failure cause according to the task log or resetting the inventory task for re-execution.
[0015] In some possible implementations, the metadata information includes any one or more of table structure, field type, and data size; the final inventory result includes: improvement of asset attribute information, publishing resources as assets, or converting resources into temporarily unregistered resources; different sub-inventory tasks are formed by setting different inventory rules according to different asset types; the data assets include database tables, files, and application programming interfaces APIs; the preset similarity algorithm determines the similarity between data assets based on the comparison results of the metadata information of the data assets.
[0016] In some possible implementations, in step S3, the metadata information of the collected data source specifically includes:
[0017] Create corresponding collection templates according to data asset types, including indicators, reports, data models, tags or services;
[0018] Configure the attribute name, attribute code, data type, numeric field length and whether it is a built-in template information of the required data asset in the acquisition template;
[0019] Configure a collection adapter according to the data asset type, wherein the collection adapter is used to connect to a data asset of the corresponding data asset type and collect data;
[0020] jointly using the collection template and the collection adapter to automatically collect data asset information from multiple data sources, the data sources including databases and / or local files;
[0021] Extract information about the data assets including metadata information, structure and relationships from the collected data asset information.
[0022] In some possible implementations, configuring the acquisition adapter according to the data asset type specifically includes:
[0023] Determine the types of data assets that need to be collected;
[0024] According to the data asset type, select a corresponding acquisition adapter;
[0025] After selecting the acquisition adapter, the acquisition adapter is configured, and the configuration content includes: data source address, acquisition frequency, and data storage location.
[0026] In some possible implementations, step S5 analyzes the collected metadata information to identify and classify different types of data assets, specifically including:
[0027] Processing the data in the document using a text analysis algorithm to extract key information, including keywords and topics, and identifying text data assets based on the key information; or,
[0028] Processing the contents of the image file using an image recognition algorithm to extract key image content, and identifying the image data asset based on the key image content; or,
[0029] Classify data assets based on their data type, data format, or data structure; the data types include text, numerical values, and images, the data formats include CSV, JSON, and image files, and the data structures include tables, hierarchical structures, and graphical structures; or,
[0030] Use rule-based and correlation-based classification methods to identify specific patterns or correlations and classify data assets into different categories.
[0031] In a second aspect, an intelligent data asset inventory system is provided, which includes:
[0032] An inventory task creation module is used to add a data asset inventory task according to preset inventory rules, and set an inventory schedule and inventory frequency in the newly added inventory task; the inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for temporarily not registering data assets;
[0033] An automated workflow including a task scheduling module, for triggering and starting an inventory task according to the inventory schedule, the inventory frequency and the inventory rule, wherein the inventory task includes a plurality of sub-inventory tasks;
[0034] An inventory process execution module is used to start the inventory process when the inventory task starts to be executed. The inventory process execution module includes: a data source access submodule, which is used to establish a connection with the data source and perform authentication; a data collection submodule, which is used to collect metadata information of the data source; a data analysis submodule, which is used to analyze the metadata information to generate preliminary inventory results; a monitoring submodule, which is used to monitor the changes of data assets in real time and update the preliminary inventory results when changes are detected;
[0035] A scanning module is used to scan all data assets under the data source during the execution of the inventory process, and collect metadata information of each data asset during the scanning process;
[0036] A sub-inventory task execution module is used to execute the sub-inventory task according to the metadata information of each data asset collected, and the sub-inventory task execution module includes: an identification sub-module, which is used to analyze the metadata data information of the collected data assets to identify and classify different types of data assets; a similarity matching sub-module, which is used to apply a preset similarity algorithm to the classified data assets to find the target data assets under the data source; an inventory rule execution sub-module, which is used to execute the corresponding inventory rules for the found target data assets;
[0037] An indication module, used for generating an indication of successful execution of a sub-inventory counting task when the inventory counting rule corresponding to the sub-inventory counting task is successfully executed;
[0038] The inventory result publishing module is used to process the preliminary inventory result according to predefined settings to obtain the final inventory result when all the sub-inventory tasks included in the inventory task are successfully executed, and publish the final inventory result.
[0039] In some possible implementations, the metadata information includes any one or more of a table structure, a field type, and a data size; the final inventory result includes: improving asset attribute information, publishing resources as assets, or changing resources into temporarily unregistered resources; different sub-inventory tasks are formed by setting different inventory rules according to different asset types; the data assets include database tables, files, and application programming interfaces (APIs); the preset similarity algorithm determines the similarity between data assets according to the comparison results of the metadata information of the data assets;
[0040] The data collection submodule is specifically used to: create a corresponding collection template according to the data asset type, the data asset type includes indicators, reports, data models, tags or services; configure the attribute name, attribute code, data type, numeric field length and whether it is a built-in template information of the required data asset in the collection template; configure a collection adapter according to the data asset type, the collection adapter is used to connect to the data asset of the corresponding data asset type and collect data; jointly use the collection template and the collection adapter to automatically collect data asset information from multiple data sources, the data source includes a database and / or local files; extract information about the data asset, including metadata information, structure and relationship, from the collected data asset information.
[0041] According to a third aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the intelligent data asset inventory method as described in the first aspect is implemented.
[0042] According to a fourth aspect, a computer device is provided, comprising:
[0043] one or more processors;
[0044] A storage device for storing one or more programs;
[0045] When the one or more programs are executed by the one or more processors, the one or more processors implement the intelligent data asset inventory method as described in the first aspect.
[0046] The above technical solution has the following beneficial effects:
[0047] The present invention uses automated tools and technologies to ensure that the data assets of financial institutions can be accurately identified, classified and managed. Traditional data asset inventories can often only inventory specific types or specific parts of data, and each data asset needs to be manually analyzed and classified; the embodiment of the present invention uses data collection and analysis tools to capture and analyze the metadata of the data source to comprehensively mark, describe and classify the entire data asset. The advantage of the embodiment of the present invention is that it can help enterprises or organizations effectively collect and analyze large amounts of data, and obtain valuable information and insights from it, greatly improving work efficiency and decision-making capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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 or the description of the prior art 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.
[0049] Figure 1 It is a functional block diagram of an intelligent data asset inventory system according to an embodiment of the present invention;
[0050] Figure 2 It is a flow chart of an intelligent data asset automatic inventory method according to an embodiment of the present invention;
[0051] Figure 3 It is a functional block diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] 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.
[0053] The embodiments of the present invention belong to the field of software technology and are applied to industries that require compliance audits or data risk management, and can be widely used in enterprise-level applications. The embodiments of the present invention can quickly and accurately identify and publish data assets through automatic inventory, and can monitor changes in data assets in real time and update inventory results in a timely manner. It is highly efficient and accurate, and can save a lot of human resources and time. The embodiments of the present invention can also analyze the relationship and dependency between data to help enterprises better understand the value and use of data assets.
[0054] Financial institutions are all data-driven enterprises. With the advancement of digital transformation, the demand for data assets is becoming more agile, requiring rapid location and use of data. In addition, a large number of data assets require compliance audits and data risk management. In the face of large-scale and complex data assets, conventional manual inventory is a relatively time-consuming and laborious method, which is prone to human errors and omissions. The embodiments of the present invention use automated tools and technologies to ensure that the data assets of financial institutions can be accurately identified, classified and managed.
[0055] Figure 1 is a functional block diagram of an intelligent data asset inventory system according to an embodiment of the present invention. Figure 1 As shown, the system includes:
[0056] The inventory task creation module 210 is used to add a data asset inventory task according to a preset inventory rule, and set an inventory schedule and inventory frequency in the newly added inventory task; the inventory rule includes: a rule for improving data asset attribute information, a rule for automatically publishing data assets, and a rule for temporarily not registering data assets;
[0057] An automated workflow 220 including a task scheduling module is used to trigger and start an inventory task according to an inventory schedule, an inventory frequency and an inventory rule, wherein the inventory task includes a plurality of sub-inventory tasks; the task scheduling module is a part of the automated workflow, and the automated workflow is realized through the scheduling module;
[0058] The inventory process execution module 230 is used to start the inventory process when the inventory task starts to be executed. The inventory process execution module 230 includes: a data source access submodule 231, which is used to establish a connection with the data source and perform authentication; a data collection submodule 232, which is used to collect metadata information of the data source; a data analysis submodule 233, which is used to analyze the metadata information to generate a preliminary inventory report and / or preliminary inventory results; a monitoring submodule 234, which is used to monitor the changes of data assets in real time and update the preliminary inventory results when changes are detected;
[0059] The scanning module 240 is used to scan all data assets under the data source during the execution of the inventory process, and collect metadata information of each data asset during the scanning process;
[0060] The sub-inventory task execution module 250 is used to execute the sub-inventory task according to the metadata information of each data asset collected. The sub-inventory task execution module 250 includes: an identification sub-module 251, which is used to analyze the metadata data information of the collected data assets to identify and classify different types of data assets; a similarity matching sub-module 252, which is used to apply a preset similarity algorithm to the classified data assets to find the target data assets under the data source, for example, that meet the inventory rules; an inventory rule execution sub-module 253, which is used to execute the corresponding inventory rules on the found target data assets;
[0061] An indication module 260 is used to generate an indication of successful execution of a sub-inventory task when the inventory rule corresponding to the sub-inventory task is successfully executed;
[0062] The inventory result publishing module 270 is used to process the preliminary inventory result according to predefined settings to obtain the final inventory result when all the sub-inventory tasks included in the inventory task are successfully executed, and publish the final inventory result.
[0063] The following is a more detailed example of applying the preset similarity algorithm to find the target data assets under the data source and executing the corresponding inventory rules on the found target data assets:
[0064] Example 1: Assume that there is a data source containing multiple database tables, some of which store customer information, such as name, address, contact information, etc. According to the preset inventory rules, the system will apply the similarity algorithm to find these target tables and classify them as customer information tables.
[0065] Example 2: Assume that there is a data source containing multiple files, some of which store sales data, such as sales amount, sales date, sales region, etc. According to the preset inventory rules, the system will apply the similarity algorithm to find these target files and classify them as sales data files.
[0066] Example 3: Assume that there is a data source containing multiple APIs, some of which are used to query customer information, such as querying customer name, querying customer address, etc. The system will apply a similarity algorithm to find these target APIs and classify them as customer information query APIs.
[0067] For example, for the target data assets found, if their attribute information is incomplete, the system will execute the rules in the inventory rules to improve the data asset attribute information to automatically or manually improve this information.
[0068] For example, suppose a data asset is collected and its metadata is described as a database table storing customer information. According to the rules for improving the attribute information of data assets in the inventory rules, the system automatically improves the attribute information of this data asset, such as the source of the data, the frequency of data update, the storage format of the data, etc.
[0069] Some data resources may not be needed or suitable to be included in the data catalog for the time being. For example, a data model that is still in the testing phase or a data source that is about to be abandoned will be marked and temporarily not registered according to the rule of temporarily not registering data assets in the inventory rules. Or if a data resource contains sensitive information or is still in the testing phase, the system will mark it according to the rules and temporarily not register it as a data asset.
[0070] For example, if one of the inventory rules is "Automatically publish newly discovered high-quality data resources as data assets", then the inventory system will automatically publish the found high-quality data resources as data assets in batches according to the rule of automatically publishing data assets in the inventory rules.
[0071] In some embodiments, perfecting the data asset attribute information rule means selecting the data asset type to be perfected and the attribute information of the asset to be perfected in the inventory rule setting. For example, setting a rule: indicators with a prefix name of "customer" are mounted in batches under the business directory of the head office. The data asset automatic information perfection rule is used to automatically perfect the attribute information of the asset, such as asset tagging, asset security level setting, and asset directory mounting. Through automatic asset tagging, data assets can be more easily searched, classified, and understood, thereby improving their usability and discoverability. According to the sensitivity and importance of the data asset, the corresponding security level is automatically set for it. For example: a data set containing user personal identity information (such as name, address, telephone number, ID card) will be automatically set to "highly sensitive" or "confidential" level; a data set containing company product sales statistics will be automatically set to "medium sensitive" or "internal use" level. According to information such as the source, type, or business domain of the data, the system can determine the department to which the data asset belongs and automatically mount it to the corresponding directory. In addition, according to the type, source, or business domain of the data asset, it can be automatically mounted to the corresponding asset directory.
[0072] In some embodiments, the rule for automatically publishing data assets means that data resources with complete attribute information can be automatically published as data assets in batches. For example, a rule is set: indicators with a prefix name of "customer" can be automatically published as data assets in batches.
[0073] In some embodiments, the rule of temporarily not registering data assets means that data resources without value need to be temporarily not registered in batches. For example, data resources with a database table name suffix of "ecc" are batched as temporarily not registered.
[0074] In some embodiments, the inventory rules further include: selecting resource type rules, such as indicators whose prefix of the indicator name matches "customer".
[0075] In some embodiments, the sub-inventory tasks are executed by setting different inventory rules according to different asset types, and the inventory rules include data asset attribute improvement rules, automatic data asset release rules, and temporary non-registration of data assets rules. Therefore, different sub-inventory tasks are formed by setting different inventory rules according to different asset types.
[0076] In some embodiments, the above-mentioned preliminary inventory report mainly includes the following contents: Total amount of data assets: the total number of data assets during the reporting period; Distribution of data asset categories: the proportion of each type of data assets in the total number, which helps to understand the structure of data assets; Data asset storage status: detailed information such as the location, size, format, etc. of data asset storage; The main function of the preliminary inventory report is to provide enterprises with a macro understanding of data assets in order to further manage and optimize assets.
[0077] In some embodiments, the preliminary inventory results mainly include the following: data asset details: including asset name, asset category, creation time, storage location, etc.; data asset owner information: asset owner's name, department, contact information, etc. The preliminary inventory results provide detailed data support for subsequent data asset management and operations.
[0078] In terms of protection scope, both the preliminary inventory report and the preliminary inventory results cover the identification and classification of data assets.
[0079] In some embodiments, after multiple subtasks generate multiple preliminary inventory results, these preliminary inventory results need to be integrated and processed to obtain the final inventory result. This may include the following processing:
[0080] Step 1: Summarize the preliminary inventory results generated by all subtasks to conduct a comprehensive analysis of all data assets.
[0081] Step 2: During the aggregation process, duplicate or invalid data assets may appear, which need to be screened and removed to ensure that the final inventory results are accurate.
[0082] Step 3: Classify and archive data assets according to their nature and purpose, which will help better manage and control data assets.
[0083] Step 4: Analyze the relationships between data assets to understand the interdependencies and impacts between data assets.
[0084] Step 5: Integrate the above processing results into a final inventory result: Integrate the results of steps 2-4 to form a complete data asset inventory report.
[0085] Step 6: Publish the integrated data asset inventory report to relevant personnel so that they can understand the actual status of the enterprise's data assets and take corresponding measures to optimize data asset management.
[0086] Through the above steps, a final inventory result can be obtained from multiple preliminary inventory results.
[0087] In some embodiments, metadata information includes any one or more of table structure, field type, and data size; the final inventory result includes: improving asset attribute information, publishing resources as assets, or turning resources into temporarily unregistered resources; different sub-inventory tasks are formed by setting different inventory rules according to different asset types. Data assets include database tables, files, and application programming interfaces (APIs); a preset similarity algorithm determines the similarity between data assets based on the comparison results of metadata information of data assets;
[0088] The data collection submodule is specifically used to: create corresponding collection templates according to data asset types, data asset types include indicators, reports, data models, tags or services; configure the attribute name, attribute code, data type, numeric field length and whether the template information is built-in of the required data assets in the collection template; configure collection adapters according to data asset types, and the collection adapters are used to connect to data assets of the corresponding data asset type and collect data; use collection templates and collection adapters together to automatically collect data asset information from multiple data sources, and data sources include databases and / or local files; extract information about data assets, including metadata information, structure and relationships, from the collected data asset information.
[0089] In a further embodiment, further, the system may also include: a data relationship analysis module for analyzing the correlation and / or dependency between data assets and presenting them in the form of a graph; and / or an automatic information completion rule module for automatically filling in and completing data asset attributes.
[0090] The embodiment of the present invention uses a variety of technical means and solutions to realize automatic inventory of data assets, which are as follows:
[0091] 1. Data collection tools
[0092] Automatic data resource collection realizes the source analysis of data assets, and uses data collection tools to collect data asset information from various data sources. Different collection templates and collection adapters are formed according to different data asset types (such as indicators, reports, data models, tags, services, etc.) to realize automatic data resource identification and collection, and improve the efficiency of source identification and collection. Specifically, different types of data assets need to be designed for different collection templates to carry out data collection. For example, for indicator-type data assets, specific collection templates need to be designed to define the attributes, data types and other information of the indicators; for report-type data assets, other collection templates are needed to define the structure, fields and other information of the report. Doing so can better adapt to different types of data assets and improve the efficiency and accuracy of data collection.
[0093] The acquisition template is customized in the metamodel configuration according to the required data asset type; the acquisition adapter varies according to the data asset type to achieve compatibility with the specific asset type; the extracted metadata, structure and relationship information is used to achieve source analysis of data assets. The acquisition adapter can connect to data storage systems such as databases and local files, and extract information such as metadata, structure and relationships about data assets.
[0094] The above-mentioned collection templates for different asset types refer to the collection templates that can be customized to configure assets according to the required asset types in the metamodel configuration. For example, to collect indicators, the attribute name, attribute code, data type, length, whether built-in, and other template information of the indicator are configured in the collection template of the configuration indicator. Specifically, for text type data, the length indicates the maximum number of characters that the data field can accommodate; for numeric type data, the length indicates the maximum number of digits that the data field can accommodate. When configuring the collection template, define the length of the data field so that data can be accurately extracted and stored during the data collection process.
[0095] Based on the created collection template, configure the collection adapter to communicate with the specific data asset type. The collection adapter is a software program used to connect to data assets and collect data. Different collection adapters are required for different asset types. During the data collection process, different types of data assets may be stored in different data sources, and their data structures and interfaces may vary. In order to effectively collect data from these different types of data assets, it is necessary to configure the corresponding collection adapter for each data asset type. These collection adapters can use the corresponding communication protocols, interfaces or data extraction methods according to the specific data asset type, so as to realize the functions of communicating with the data source of the specific asset type and collecting data.
[0096] In some embodiments, configuring the acquisition adapter according to the data asset type specifically includes:
[0097] (1) Determine the data asset type: First, clarify the type of data asset that needs to be collected, such as text data, image data, audio data, etc. Different types of data assets correspond to different collection adapters.
[0098] (2) Select the appropriate acquisition adapter: Select the corresponding acquisition adapter according to the data asset type. For example, for text data, you can select a text acquisition adapter; for image data, you can select an image acquisition adapter. In my country, there are many well-known manufacturers that provide various types of acquisition adapters, such as Huawei and Alibaba Cloud.
[0099] (3) Configure the acquisition adapter: After selecting the acquisition adapter, configure it according to actual needs. The configuration content includes but is not limited to: data source address, acquisition frequency, data storage location, etc. Ensure the compatibility of the acquisition adapter and the data source to ensure smooth data collection.
[0100] (4) Integrate the acquisition adapter: Integrate the acquisition adapter with the existing system so that it can work with other components (such as data storage, data processing, etc.). During this process, some interface development and debugging may be required.
[0101] (5) Testing and optimization: After integration is complete, the acquisition adapter is tested to ensure that it can work properly. The acquisition parameters are optimized based on the test results to improve the efficiency and quality of data acquisition.
[0102] Data source refers to the place where data is stored, which can be a database, local file, network service, API interface, etc. Data source is the source of data, which can contain various types of data, such as structured data, unstructured data, real-time data, etc. In the process of data collection, data asset information needs to be extracted from different data sources.
[0103] Data assets refer to data with value and meaning. They can be data extracted from data sources and processed. Data assets can be various types of data, such as indicators, reports, data models, tags, services, etc. In the data collection process, you need to configure the corresponding collection adapter according to the data asset type to connect to the data source of the corresponding data asset type and collect data.
[0104] The role of the acquisition template is to provide the acquisition adapter with a structured definition of data assets, so that the acquisition adapter can accurately extract and process data from the data source. The acquisition adapter implements the function of communicating with and acquiring data from a specific data asset type based on the attributes and structure defined in the acquisition template. The acquisition adapter is responsible for the actual data extraction and acquisition work, and extracts the data asset information that meets the definition from the data source according to the definition of the acquisition template. Such joint use can improve the efficiency and accuracy of data acquisition and ensure accurate extraction and processing of data from various data sources.
[0105] 2. Data analysis and recognition algorithms
[0106] The embodiments of the present invention use data analysis and recognition algorithms to process and analyze the collected data, identify and classify different types of data assets. For example, text analysis algorithms can be used to extract keywords and topics from documents, and image recognition algorithms can be used to identify the content of image files.
[0107] Specifically, the embodiment of the present invention can use the following method to identify and classify different types of data assets:
[0108] Classification based on the structure and attributes of data refers to identifying and classifying different types of data assets based on the data type, data format, and data structure. For example, data can be classified based on data type (text, numerical, image, etc.), data format (CSV, JSON, image file, etc.), and data structure (table, hierarchy, graphic structure, etc.).
[0109] The data structure includes tables, hierarchical structures and graph structures. The graph structure is a form of data organization in which data is represented in the form of nodes and edges, and is used to represent complex relationships and dependencies, such as network diagrams, flow charts, etc. This structure can better understand and analyze the relationship between data assets.
[0110] Classification based on rules and associations means that data can be classified according to predefined rules and associations. For example, a rule engine or association rule mining algorithm can be used to identify specific patterns or associations to classify data into different categories.
[0111] Specifically, classification based on rules and associations refers to the use of predefined rules and associations to classify data. This classification method can identify specific patterns in the data through pre-set rules or mined associations, and then classify the data into different categories. The following is a specific explanation of this concept:
[0112] A rule engine is a software system that manages and executes predefined rules. In data classification, the rule engine can classify data according to pre-set rule conditions. For example, you can set a series of rules, such as "if data field A is greater than a certain threshold, and data field B meets a certain condition, then classify the data into category X." The rule engine can automatically classify data based on these rule conditions.
[0113] Association rule mining algorithm is a data mining technique used to discover associations and patterns in data. In data classification, association rule mining algorithm can be used to identify association patterns in data, and then classify data according to these association patterns. For example, by mining frequent item sets and association rules in data, the associations between different data items can be discovered, thereby classifying data into different categories.
[0114] 3. Automated workflow and task scheduling tools
[0115] In order to achieve automated data asset inventory, the embodiment of the present invention uses workflow and task scheduling tools to set up and manage data collection, analysis and recording processes. Automatically trigger and execute tasks according to a predetermined plan to reduce manual intervention and improve efficiency. The predetermined plan refers to the scheduling configuration, which can configure the execution cycle of the task, such as the time of day or the time of week to automatically execute the task.
[0116] Through automated workflow and task scheduling tools, you can ensure that inventory tasks are performed regularly, thereby achieving automatic monitoring of data assets. During each inventory, the data in the current data source is compared with the results of the previous inventory. Automated workflow and task scheduling tools can ensure that data comparison operations are automatically performed each time an inventory task is executed.
[0117] 4. Similarity calculation
[0118] This embodiment involves two similarity calculations: the first similarity algorithm is used to find data that meets the inventory rules in the inventory task; the first similarity calculation includes comparing the metadata information of the data assets, such as data type, data structure, data range, etc., to determine the similarity between data assets; the second similarity algorithm is to perform asset similarity calculation based on the database table names under different data sources to realize the data asset recommendation function.
[0119] The embodiment of the present invention quickly reuses the inventory results by calculating and recommending the similarity of data resources. With the construction of data warehouses and the advancement of data asset inventory work, the results of data asset standardization have been formed. By calculating the similarity of assets, data assets with high similarity to the standardized data assets are identified, and then the assets to be inventoried are standardized in a one-click copying manner, which greatly reduces the degree of manual participation.
[0120] Among them, the calculation of asset similarity in the second similarity algorithm means: the names of database tables under different data sources are very similar. By scanning the English name or Chinese name, type, and length of the database table, 80% (set as needed) similarity can be calculated, which can be recommended as data assets with high similarity. The above-mentioned one-click copy method means: assets with high similarity can be identified and displayed, and the Chinese and English names of the assets can be copied to the asset inventory page with one click for direct inventory.
[0121] 5. Automatically improve rules
[0122] The embodiment of the present invention uses automatic information improvement rules to fill in the data asset attributes or sort out the information improvement rules. By executing the information improvement rules, the automatic filling of data inventory work is realized, which greatly saves manual participation and improves the accuracy of the inventory work.
[0123] Among them, automatic information completion rules are used to complete the attribute information of assets, such as asset labeling, asset security level setting, asset catalog mounting and other attributes. Filling rules refer to the rules established to complete the attribute information of assets. The attribute information to be completed for each asset is different, so different information completion rules should be established and then executed.
[0124] 6. Database and storage management system
[0125] In order to store and manage the collected data asset information, the embodiment of the present invention uses a database and a storage management system. These systems can help retrieve the metadata of the data assets and provide fast query and access functions.
[0126] 7. Real-time monitoring and updates
[0127] The embodiment of the present invention uses triggers and subscribers to detect changes in data assets and record the changed information. These changes may include adding new data, modifying data, or deleting data. Once a change in data assets is found, the monitoring tool will compare the changed information with the inventory results and update the existing inventory results. This can ensure the real-time and accuracy of the inventory results.
[0128] The triggers and subscribers in the real-time monitoring and updating module are important components of the module, which are used to detect changes in data assets and automatically trigger inventory tasks and update inventory results. A trigger is a mechanism for detecting changes in data assets. It can be set to trigger when a specific event occurs in a data asset or when a specific condition is met. When a trigger detects a change in a data asset, it automatically triggers an inventory task and starts the relevant data collection, analysis, and recording processes. A subscriber is a mechanism for receiving and responding to notifications triggered by a trigger. It subscribes to data assets and receives relevant notifications when the trigger is triggered. Once a notification is received, the subscriber performs a predetermined action, such as starting an inventory task, updating inventory results, etc. Triggers and subscribers work together in the real-time monitoring and updating module to jointly realize the detection and response of data asset changes. The trigger is responsible for detecting changes in data assets, and when changes occur, it triggers relevant notifications. The subscriber is responsible for receiving these notifications and performing corresponding actions to respond to changes in data assets. Therefore, triggers and subscribers jointly participate in the detection and processing of data changes.
[0129] Update the inventory results in the inventory system based on the data comparison results. Automated workflow and task scheduling tools can automatically trigger inventory tasks and update inventory results when data changes.
[0130] Through automated workflow and task scheduling tools, changes in data assets can be monitored in real time. When a new data source is connected or the data changes, automated workflow and task scheduling tools will automatically trigger the inventory task to ensure that the inventory results are updated in real time.
[0131] The specific steps for real-time monitoring and updating are as follows:
[0132] Data source access step: Connect the data source that needs to be counted to the inventory system. The data source can be integrated with the inventory system by connecting to the database, file system, API, etc.
[0133] Set up inventory rules: Set up inventory rules in the inventory system, including the frequency of inventory, the scope of inventory, the fields and conditions of inventory, etc. For example, set up automatic inventory of all tables in all data sources every day, and check whether the key fields in the data source have changed.
[0134] Data comparison step: During each inventory count, the data in the current data source is compared with the results of the previous inventory count. Various comparison algorithms, such as hash algorithms and difference comparison algorithms, are used to determine whether the data has changed.
[0135] Update inventory results: Update the inventory results in the inventory system according to the data comparison results. If the data changes, mark or record the changed data and update the inventory results in time.
[0136] Real-time monitoring steps: By setting up scheduled tasks, changes in data assets can be monitored in real time during the inventory process. When a new data source is connected or the data changes, the inventory trigger will automatically trigger the inventory task and update the inventory results.
[0137] 8. Data relationship analysis
[0138] The embodiment of the present invention collects all relevant data assets. Each collected data asset can be identified and classified according to the data type, data owner, etc. The correlation between assets is discovered by analyzing the data table structure and data fields, and data relationships are established. The dependencies between data assets are analyzed by viewing the interface documents, and the data relationships and dependencies are presented in the form of graphs by using graph databases or visualization tools. Data relationship analysis is usually performed after the data source is connected and before data comparison.
[0139] The working principle of the embodiment of the present invention is that the automated inventory of data assets utilizes technical means to automatically inventory and manage the data assets of an organization. By using these technologies, the organization can quickly and accurately identify and register all data assets, and classify, label and analyze them.
[0140] The beneficial technical effects of the above technical solution are:
[0141] Traditional data asset inventory can only inventory specific types or specific parts of data, and each data asset needs to be manually analyzed and classified; the embodiment of the present invention uses data collection and analysis tools to capture and analyze the metadata of the data source to comprehensively mark, describe and classify the entire data asset. The advantage of the embodiment of the present invention is that it can help enterprises or organizations effectively collect and analyze large amounts of data, and obtain valuable information and insights from it, greatly improving work efficiency and decision-making capabilities.
[0142] Tagging refers to the use of keywords, tags or identifiers to mark data assets for subsequent retrieval and classification. Data can be tagged based on its type, content, purpose and other characteristics, such as customer data can be tagged as "customer information" and sales data can be tagged as "sales records".
[0143] Description refers to a detailed description and annotation of data assets, including information such as the source, format, structure, and meaning of the data. Descriptions can be recorded in text form in a data catalog or metadata management system and associated with the corresponding data assets. The purpose of description is to help users quickly understand the characteristics and uses of data.
[0144] Classification refers to the classification of data assets according to certain classification standards based on different dimensions, such as the data's business, department, system, security level, access rights, etc.
[0145] Figure 2 is a flow chart of an intelligent data asset automatic inventory method according to an embodiment of the present invention. Figure 2 As shown, it includes the following steps:
[0146] S1: Add automatic inventory task: Add data asset inventory task according to preset inventory rules. In the newly added inventory task, set the inventory schedule and inventory frequency. The inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for not registering data assets temporarily.
[0147] S2: Trigger automatic start of inventory task: According to the inventory schedule, inventory frequency and inventory rules, trigger the automatic start of inventory task, which includes multiple sub-inventory tasks; the system will collect and analyze the metadata information of the data from the specified data source according to the specified rules and requirements. If the inventory task fails, the error cause will be analyzed by obtaining the task log or the task will be reset and re-executed;
[0148] S3: Start the inventory process: When the inventory task starts to be executed, the inventory process is started, which includes: establishing a connection with the data source and performing authentication, using data collection tools to collect metadata information of the data source, analyzing the metadata information to generate a preliminary inventory report and / or preliminary inventory results, monitoring the changes of data assets in real time and updating the preliminary inventory results when changes are detected;
[0149] This step scans all data assets under the data source in order to fully understand and collect information about the data assets. After completing this step, the subsequent inventory process will continue, such as the collection and analysis of metadata information, the generation of inventory reports and / or inventory results, etc.
[0150] Real-time monitoring and updating can be performed in step S3. During the inventory task, the system will connect and authenticate the data source, collect and analyze metadata information, and generate inventory reports and inventory results. By monitoring the changes of data assets in real time and updating the inventory results immediately when changes are found, the accuracy and real-time nature of the data asset inventory can be ensured.
[0151] S4: Scan all data assets under the data source: During the execution of the inventory process, scan all data assets under the data source, and collect metadata information of each data asset during the scanning process;
[0152] Specifically, during the inventory process, the system will scan all data assets under the specified data source. These data assets include database tables, files, APIs, etc. The system collects relevant metadata information, such as table structure, field type, data size, etc. Using data collection tools to collect data from various data sources can automate the data collection process and reduce the workload of manual input and processing. In addition, the data is cleaned and processed to remove invalid or redundant information and ensure the accuracy and consistency of the data.
[0153] S5: Execute a sub-inventory task according to the metadata information of each data asset collected, which includes: analyzing the metadata data information of the collected data assets to identify and classify different types of data assets, applying a preset similarity algorithm to the classified data assets to find the target data assets under the data source; executing corresponding inventory rules for the found target data assets; the inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for temporarily not registering data assets;
[0154] Specifically, this step executes the inventory rules: using data analysis tools to analyze the collected data, find the target data under the data source that meets the inventory rules and execute the inventory rules. When scanning data assets, the system will apply predefined inventory rules to match and identify data assets. These inventory rules can include rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for not registering data assets temporarily.
[0155] Inventory rules can also be used to improve the attributes of assets, or to improve the mounting department of assets.
[0156] In step S5, similarity calculation is involved. In this step, by analyzing the collected data, data assets that meet the preset inventory rules are found. This process involves similarity calculation of data assets. Similarity calculation includes comparing metadata information of data assets, such as data type, data structure, data range, etc., to determine the similarity between data assets.
[0157] S6: Inventory rule execution success indication: when the inventory rule corresponding to the sub-inventory task is successfully executed, an indication of the sub-inventory task execution success is generated;
[0158] Specifically, when a specific inventory task (such as data asset matching, asset attribute completion, temporary registration, etc.) is successfully executed, an indication of successful execution is generated and the system will issue feedback.
[0159] S7: Automatically publish the inventory results after successful execution: When all sub-inventory tasks included in the inventory task are successfully executed, the preliminary inventory results are processed according to predefined settings to obtain the final inventory results, and the final inventory results are published.
[0160] Automatic release after successful execution means: once the inventory task is successfully executed, the system will process the preliminary inventory results according to the predefined settings to obtain the final inventory results, and automatically release the final inventory results. The final inventory results include the improvement of asset attribute information, automatically publishing resources as assets, or turning resources into temporarily unregistered resources. The inventory results after this processing will be released. The collected metadata that has not been counted and the attributes have not been improved are data resources. Once the resources are released, they become assets. Resources and assets are defined with "release" as the critical point.
[0161] An inventory task refers to a series of operations during the data asset inventory process, including connecting to data sources, authenticating, collecting and analyzing metadata information, and generating inventory reports and / or inventory results according to preset rules and schedules. Inventory tasks are a general term used to describe the various steps in the entire data asset inventory process.
[0162] In some embodiments, before step S1, the method further includes: adding inventory rules for new data assets; after step S7, the method further includes: if the inventory task fails to execute, analyzing the cause of the failure according to the task log or resetting the inventory task to execute again.
[0163] In some embodiments, metadata information includes any one or more of table structure, field type, and data size; the final inventory result includes: improving asset attribute information, publishing resources as assets, or turning resources into temporarily unregistered resources; different sub-inventory tasks are formed by setting different inventory rules according to different asset types; data assets include database tables, files, and application programming interfaces APIs; a preset similarity algorithm determines the similarity between data assets based on the comparison results of the metadata information of the data assets.
[0164] In some embodiments, in step S3, metadata information of the data source is collected, specifically including: creating a corresponding collection template according to the data asset type, the data asset type includes indicators, reports, data models, tags or services; configuring the attribute name, attribute code, data type, numeric field length and whether the template information of the required data asset is built-in in the collection template; configuring a collection adapter according to the data asset type, the collection adapter is used to connect to the data asset of the corresponding data asset type and collect data; jointly using the collection template and the collection adapter to automatically collect data asset information from multiple data sources, the data sources include databases and local files; extracting information about the data asset including metadata information, structure and relationship from the collected data asset information.
[0165] In some embodiments, configuring the acquisition adapter according to the data asset type specifically includes: determining the data asset type that needs to be acquired; selecting a corresponding acquisition adapter according to the data asset type; after selecting the acquisition adapter, configuring the acquisition adapter, the configuration content includes: data source address, acquisition frequency, and data storage location.
[0166] In some embodiments, step S5 analyzes the collected metadata information to identify and classify different types of data assets, specifically including: using a text analysis algorithm to process the data in the document to extract key information, including keywords and themes, and identifying text data assets based on the key information; or, using an image recognition algorithm to process the content of an image file to extract key image content, and identifying image data assets based on the key image content; or, classifying data assets based on the data type, data format, or data structure of the data asset; data types include text, numbers, and images, data formats include CSV, JSON, and image files, and data structures include tables, hierarchical structures, and graphical structures; or, using a classification method based on rules and associations to identify specific patterns or associations, and classify data assets into different categories. The data structure includes tables, hierarchical structures, and graphical structures. The graphical structure is a form of data organization in which data is represented in the form of nodes and edges, and is used to represent complex relationships and dependencies, such as network diagrams, flow charts, etc. This structure can better understand and analyze the relationship between data assets.
[0167] Before step S1, the method further includes step S0: adding an inventory rule for data assets, where the inventory rule is used to define the scope and requirements for the data asset inventory.
[0168] This step sets the inventory rules in the inventory system, including the frequency of inventory, the scope of inventory, the fields and conditions of inventory, etc. This specifies the data source to be counted and defines the metadata information to be collected and analyzed.
[0169] In S3, metadata information of the data source is collected, which is mainly some descriptive information about the data source itself, such as the type, location, owner, etc. of the data source. In S4, metadata information of each data asset is collected, which is mainly information about a single data asset, such as the size, type, creation date, etc. of the data. Collecting metadata information twice does not mean repeated collection, but because different types of information need to be collected at different stages. In the S3 stage, it is necessary to understand the overall situation of the data source in order to generate preliminary inventory reports and results. In the S4 stage, it is necessary to have a deep understanding of the situation of each data asset in order to more accurately assess the status and value of the data asset.
[0170] A sub-inventory task is a sub-task of the entire inventory process, which can be regarded as a smaller and more specific inventory task.
[0171] The advantages of the above technical solution of the embodiment of the present invention are:
[0172] Application of automated technology: Automated inventory of data assets is achieved through the introduction of tools (including data collection tools, data analysis tools and data identification algorithm tools, automated workflow and task scheduling tools, similarity calculation tools, triggers for monitoring asset changes, graph databases and visualization tools, and workflow engines for inventory). These technologies can help quickly identify and classify data assets, reduce the workload of manual operations, and improve the accuracy and efficiency of inventory.
[0173] Comprehensiveness of data assets: Traditional inventory methods can only inventory specific types or specific parts of data, while the automated inventory of the embodiment of the present invention can comprehensively inventory the entire data assets. It can identify and inventory all types of data, including structured data, unstructured data, text, images, audio and other forms of data.
[0174] Real-time monitoring and updating: The automated inventory of the embodiment of the present invention can monitor the changes of data assets in real time and update the inventory results in time. It can continuously track the addition, modification and deletion of data and automatically update the inventory list to ensure the timeliness and accuracy of the inventory results.
[0175] Data relationship analysis: The automated inventory of the embodiment of the present invention can analyze the relationships and dependencies between data, helping enterprises to better understand the value and purpose of data assets. By analyzing data relationships, the duplication, redundancy and inconsistency of data can be discovered, improving the overall quality and value of data. The correlation between data assets is achieved in the following way: After the data assets are collected, a data lineage map is generated through analysis, which can present the source, target table, and transmission path of the data. When collecting data assets, the relationship between different assets is identified through the collected interface files.
[0176] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0177] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, each step of the above-mentioned intelligent data asset inventory method is implemented.
[0178] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. Of course, there are other ways of readable storage media, such as quantum memory, graphene memory, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electrical carrier signals and telecommunication signals.
[0179] The embodiment of the present invention further provides an electronic device, such as Figure 3 As shown, it includes one or more processors 301 , a communication interface 302 , a memory 303 and a communication bus 304 , wherein the processor 301 , the communication interface 302 , and the memory 303 communicate with each other via the communication bus 304 .
[0180] Memory 303, used for storing computer programs;
[0181] The processor 301 is used to implement each step of the above-mentioned intelligent data asset inventory method when executing the program stored in the memory 303.
[0182] The processor 301 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0183] The memory 303 may include a large capacity memory for data or instructions. For example, but not limitation, the memory 303 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 303 may include a removable or non-removable (or fixed) medium. In a specific embodiment, the memory 303 is a non-volatile solid-state memory. In a specific embodiment, the memory 303 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0184] Communication bus 304 includes hardware, software or both, for coupling the above-mentioned components to each other.For example, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations.In suitable cases, bus may include one or more buses.Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0185] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0186] Although the present application provides method operation steps such as embodiments or flow charts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0187] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0188] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0189] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0190] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. 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 a limitation on the present invention.
Claims
1. An intelligent data asset inventory method, characterized in that: The steps include: S1: Add a data asset inventory task according to the preset inventory rules. In the newly added inventory task, set the inventory schedule and inventory frequency; the inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for temporarily not registering data assets; S2: triggering and starting an inventory task according to the inventory schedule, the inventory frequency and the inventory rule, wherein the inventory task includes a plurality of sub-inventory tasks; S3: when the inventory task starts to be executed, the inventory process is started, and the inventory process includes: establishing a connection with the data source and performing authentication, collecting metadata information of the data source, analyzing the metadata information to generate a preliminary inventory result, monitoring the change of data assets in real time and updating the preliminary inventory result when a change is detected; In step S3, the metadata information of the collected data source specifically includes: Create corresponding collection templates according to data asset types, including indicators, reports, data models, tags or services; Configuring the attribute name, attribute code, data type, numeric field length, and whether the template information is built-in of the required data asset in the acquisition template, thereby providing a structured definition of the data asset for the acquisition adapter; Configuring a collection adapter according to the data asset type, the collection adapter being used to connect to a data asset of a corresponding data asset type and collect data according to a structured definition of the data asset in the collection template; jointly using the collection template and the collection adapter to automatically collect data asset information from multiple data sources, the data sources including databases and / or local files; Extracting information about the data assets including metadata information, structure and relationships from the collected data asset information; S4: During the execution of the inventory process, all data assets under the data source are scanned, and metadata information of each data asset is collected during the scanning process; S5: Execute a sub-inventory task according to the metadata information of each data asset collected, which includes: analyzing the metadata information of the collected data assets to identify and classify different types of data assets, applying a preset similarity algorithm to the classified data assets to find the target data assets under the data source; and executing corresponding inventory rules on the found target data assets; S6: When the inventory counting rule corresponding to the sub-inventory counting task is successfully executed, an indication of successful execution of the sub-inventory counting task is generated; S7: When all sub-inventory counting tasks included in the inventory counting task are executed successfully, the preliminary inventory counting results are processed according to the predefined settings to obtain the final inventory counting results, and the final inventory counting results are published; the final inventory counting results include: the improvement of asset attribute information, publishing resources as assets, or changing resources into temporarily unregistered resources; different sub-inventory counting tasks are formed by setting different inventory counting rules according to different asset types; the data assets include database tables, files and application programming interfaces API; After step S7, the method further includes: if the execution of the inventory task fails, analyzing the failure cause according to the task log or resetting the inventory task for re-execution.
2. The method according to claim 1, characterized in that Before step S1, the method further includes: adding an inventory rule for data assets; the inventory rule further includes: a rule for selecting a resource type, which is used to select an indicator whose prefix matches a preset name.
3. The method according to claim 1, characterized in that The metadata information includes any one or more of table structure, field type, and data size; the preset similarity algorithm determines the similarity between data assets based on the comparison result of the metadata information of the data assets.
4. The method according to claim 1, characterized in that: The configuration of the acquisition adapter according to the data asset type specifically includes: Determine the types of data assets that need to be collected; According to the data asset type, select a corresponding acquisition adapter; After selecting the acquisition adapter, the acquisition adapter is configured, and the configuration content includes: data source address, acquisition frequency and data storage location.
5. The method according to claim 1, characterized in that Step S5 analyzes the collected metadata information to identify and classify different types of data assets, including: Processing the data in the document using a text analysis algorithm to extract key information, including keywords and topics, and identifying text data assets based on the key information; or, Processing the contents of the image file using an image recognition algorithm to extract key image content, and identifying the image data asset based on the key image content; or, Classify data assets based on their data type, data format, or data structure; the data types include text, numerical values, and images, the data formats include CSV, JSON, and image files, and the data structures include tables, hierarchical structures, and graphical structures; or, Use rule-based and correlation-based classification methods to identify specific patterns or correlations and classify data assets into different categories.
6. An intelligent data asset inventory system, characterized in that: include: The inventory task creation module is used to add data asset inventory tasks according to preset inventory rules. In the newly added inventory tasks, the inventory schedule and inventory frequency are set; The inventory rules include: rules for improving data asset attribute information, rules for automatically publishing data assets, and rules for temporarily not registering data assets; An automated workflow including a task scheduling module, for triggering and starting an inventory task according to the inventory schedule, the inventory frequency and the inventory rule, wherein the inventory task includes a plurality of sub-inventory tasks; An inventory process execution module is used to start the inventory process when the inventory task starts to be executed. The inventory process execution module includes: a data source access submodule, which is used to establish a connection with the data source and perform authentication; a data collection submodule, which is used to collect metadata information of the data source; a data analysis submodule, which is used to analyze the metadata information to generate preliminary inventory results; a monitoring submodule, which is used to monitor the changes of data assets in real time and update the preliminary inventory results when changes are detected; A scanning module is used to scan all data assets under the data source during the execution of the inventory process, and collect metadata information of each data asset during the scanning process; A sub-inventory task execution module is used to execute the sub-inventory task according to the metadata information of each data asset collected, and the sub-inventory task execution module includes: an identification sub-module, which is used to analyze the metadata data information of the collected data assets to identify and classify different types of data assets; a similarity matching sub-module, which is used to apply a preset similarity algorithm to the classified data assets to find the target data assets under the data source; an inventory rule execution sub-module, which is used to execute the corresponding inventory rules for the found target data assets; An indication module, used for generating an indication of successful execution of a sub-inventory counting task when the inventory counting rule corresponding to the sub-inventory counting task is successfully executed; The inventory result publishing module is used to process the preliminary inventory result according to the predefined settings to obtain the final inventory result when all the sub-inventory tasks included in the inventory task are successfully executed, and publish the final inventory result; the final inventory result includes: the improvement of asset attribute information, publishing resources as assets, or changing resources into temporarily unregistered resources; different sub-inventory tasks are formed by setting different inventory rules according to different asset types; the data assets include database tables, files and application programming interfaces API; if the inventory task fails to execute, the failure reason is analyzed according to the task log or the inventory task is reset and re-executed; Among them, the data acquisition submodule is specifically used to: create a corresponding acquisition template according to the data asset type, and the data asset type includes indicators, reports, data models, tags or services; configure the attribute name, attribute code, data type, numeric field length and whether it is a built-in template information of the required data asset in the acquisition template, so as to provide a structured definition of the data asset for the acquisition adapter; configure the acquisition adapter according to the data asset type, and the acquisition adapter is used to connect to the data asset of the corresponding data asset type and collect data according to the structured definition of the data asset in the acquisition template; jointly use the acquisition template and the acquisition adapter to automatically collect data asset information from multiple data sources, and the data source includes a database and / or local files; extract information about the data asset, including metadata information, structure and relationship, from the collected data asset information.
7. The system according to claim 6, characterized in that The metadata information includes any one or more of table structure, field type, and data size; the preset similarity algorithm determines the similarity between data assets based on the comparison result of the metadata information of the data assets.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the intelligent data asset inventory method as described in any one of claims 1-5.
9. A computer device, characterized in that: It includes: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the intelligent data asset inventory method as described in any one of claims 1-5.
