A method, device and electronic device for processing data blood relationship

Through the automated processing of mind maps and information parameter tables, the problem of low accuracy of data kinship caused by manual registration is solved, the accuracy of data kinship construction is improved, and the functions of adding and modifying data are realized.

CN113934801BInactive Publication Date: 2024-10-01BANK OF CHINA
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111221570.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-20
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When building data kinship relationships, manual registration and management were performed using spreadsheets, resulting in poor accuracy of the data kinship relationships built.

Method used

By obtaining the pre-generated mind map of the target data, the information parameter table corresponding to the mind map is generated, and the initial data blood relationship is established according to the hierarchical relationship between the information parameters, and the data processing instructions are received to perform node addition, modification and deletion operations. , to achieve automated data kinship management.

Benefits of technology

It improves the accuracy of constructing data kinship relationships, realizes the addition and modification of data kinship relationships, and improves the processing method of data kinship relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113934801B_ABST
    Figure CN113934801B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and electronic device for processing data lineage relationships, which can be used in the field of big data or finance. In the present invention, a mind map of the pre-generated target data is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated, each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is built according to the hierarchical relationship between the information parameters. That is, the present invention builds the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of building data lineage relationships compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and more specifically, to a method, device and electronic equipment for processing data blood relationship. Background Art

[0002] Data lineage refers to the relationship formed between data during the process of data generation, processing, circulation and extinction, which is similar to the blood relationship in human society.

[0003] By establishing the blood relationship between data, the enterprise data can be effectively managed in a unified manner. At present, when establishing the blood relationship between data, manual registration and management are performed manually using electronic spreadsheets, which makes the accuracy of the established data blood relationship poor. Summary of the invention

[0004] In view of this, the present invention provides a method, device and electronic device for processing data lineage relationships to solve the problem of poor accuracy of established data lineage relationships.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0006] A method for processing data lineage relationship, comprising:

[0007] Obtaining a pre-generated mind map of target data, and generating an information parameter table corresponding to the mind map and displayed in a data item label format;

[0008] Obtaining each row of information parameters in the information parameter table in turn, and building an initial data lineage relationship of the target data according to the hierarchical relationship between the information parameters;

[0009] Receiving a data processing instruction corresponding to the initial data blood relationship;

[0010] In the case where the data processing instruction is a data adding instruction including newly added data, an ambiguity check is performed on the newly added data and the information parameters in the information parameter table, and after the check passes, the newly added data is added to the information parameter table, and based on the newly added data, a node adding operation is performed on the initial data lineage relationship to obtain a first data lineage relationship;

[0011] In the case where the data processing instruction is a data modification instruction including modifying data, the information parameter table is modified according to the modifying data, and based on the modified part in the information parameter table, a node modification operation is performed on the initial data lineage relationship to obtain a second data lineage relationship.

[0012] Optionally, a pre-generated mind map of target data is obtained, and an information parameter table corresponding to the mind map and displayed in a data item label manner is generated, including:

[0013] Acquire a pre-generated mind map of target data, wherein the mind map includes data content of target sub-data of the target data, wherein the data content includes business field information, business activity information, department information, and product information;

[0014] Determine a data item label of the data content;

[0015] The database table abbreviation and data item serial number of the target sub-data are obtained, and based on the data item label of the target sub-data, the database table abbreviation and the data item serial number, an information parameter table of the target data is generated.

[0016] Optionally, obtaining each row of information parameters in the information parameter table in turn, and building an initial data lineage relationship of the target data according to the hierarchical relationship between the information parameters, including:

[0017] Obtain each row of information parameters in the information parameter table in turn;

[0018] For each row of information parameters, the respective information parameters of the row are sequentially acquired according to the arrangement order between the information parameters of the row; the respective information parameters of the row are provided with a corresponding hierarchical relationship according to the arrangement order;

[0019] Determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

[0020] Optionally, when the data processing instruction is a data query instruction including a data query mode, it further includes:

[0021] Acquire the data query method; the data query method includes a query method and a query field;

[0022] In the case where the query method is a field-level data lineage relationship query method, the query field is obtained by screening from the information parameter table, and the information parameters of the query field are displayed;

[0023] In the case where the query method is a panoramic data lineage query method, the query field is obtained by screening from the initial data lineage, and the query field in the initial data lineage is displayed in the center of the interface.

[0024] Optionally, when the data processing instruction is a data deletion instruction including a target deletion object, it further includes:

[0025] Deleting the node corresponding to the target deletion object from the initial data blood relationship;

[0026] The data associated with the target deletion object is deleted from the information parameter table.

[0027] A data kinship processing device, comprising:

[0028] A parameter table generation module, used to obtain a pre-generated mind map of target data, and generate an information parameter table corresponding to the mind map and displayed in a data item label manner;

[0029] A relationship building module, used to sequentially obtain each row of information parameters in the information parameter table, and build an initial data kinship relationship of the target data according to the hierarchical relationship between the information parameters;

[0030] An instruction receiving module, used for receiving a data processing instruction corresponding to the initial data blood relationship;

[0031] A first processing module is used for, when the data processing instruction is a data adding instruction including the newly added data, performing an ambiguity check on the newly added data and the information parameters in the information parameter table, and after the check passes, adding the newly added data to the information parameter table, and performing a node adding operation on the initial data lineage relationship according to the newly added data to obtain a first data lineage relationship;

[0032] The second processing module is used to modify the information parameter table according to the modified data when the data processing instruction is a data modification instruction including modifying data, and perform a node modification operation on the initial data lineage relationship based on the modified part in the information parameter table to obtain a second data lineage relationship.

[0033] Optionally, the parameter table generating module includes:

[0034] A data acquisition submodule, used to acquire a pre-generated mind map of target data, wherein the mind map includes data content of target sub-data of the target data, wherein the data content includes business field information, business activity information, department information and product information;

[0035] A label determination submodule, used to determine a data item label of the data content;

[0036] The parameter table generation submodule is used to obtain the database table abbreviation and data item serial number of the target sub-data, and generate an information parameter table of the target data based on the data item label, the database table abbreviation and the data item serial number of the target sub-data.

[0037] Optionally, the relationship building module includes:

[0038] A parameter acquisition submodule, used to sequentially acquire each row of information parameters in the information parameter table, and for each row of information parameters, sequentially acquire each information parameter of the row according to the arrangement order between the information parameters of the row; each information parameter of the row is provided with a corresponding hierarchical relationship according to the arrangement order;

[0039] The node determination submodule is used to determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, and to create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

[0040] Optionally, it also includes a data query module, which is used to obtain the data query method when the data processing instruction is a data query instruction including a data query method; when the query method is a field-level data lineage query method, filter the query field from the information parameter table and display the information parameters of the query field; when the query method is a panoramic-level data lineage query method, filter the query field from the initial data lineage relationship and display the query field in the initial data lineage relationship in the center of the interface; the data query method includes a query method and a query field.

[0041] An electronic device comprising: a memory and a processor;

[0042] Wherein, the memory is used to store programs;

[0043] The processor calls the program and is used to execute the above-mentioned data lineage relationship processing method.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] The present invention provides a method, device and electronic device for processing data lineage relationships. In the present invention, a mind map of target data generated in advance is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated. Each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is established according to the hierarchical relationship between the information parameters. That is, the present invention establishes the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of establishing data lineage relationships compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0047] Figure 1 A method flow chart of a method for processing data blood relationship provided by an embodiment of the present invention;

[0048] Figure 2 A method flow chart of another method for processing data blood relationship provided by an embodiment of the present invention;

[0049] Figure 3 A method flow chart of another method for processing data blood relationship provided by an embodiment of the present invention;

[0050] Figure 4 A schematic diagram of a scenario of data lineage relationship provided by an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of the structure of a device for processing data lineage relationships provided by 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] Data lineage refers to the relationship formed between data during the process of data generation, processing, circulation and extinction, which is similar to the blood relationship in human society.

[0054] By establishing the blood relationship between data, the enterprise data can be effectively managed in a unified manner. At present, when establishing the blood relationship between data, manual registration and management are performed manually using electronic spreadsheets, which makes the accuracy of the established data blood relationship poor.

[0055] In order to solve this technical problem, the inventors have found through research that data lineage relationships can be established in an automated manner, which can avoid the problems of low accuracy and efficiency caused by manual construction. Specifically, the present invention provides a method, device and electronic device for processing data lineage relationships. In the present invention, a mind map of the pre-generated target data is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated. Each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is built according to the hierarchical relationship between the information parameters. That is, the present invention builds the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of data lineage relationship construction compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships.

[0056] It should be noted that the data lineage processing method, device and electronic device provided by the present invention can be used in the field of big data or finance. The above is only an example and does not limit the application field of the data lineage processing method, device and electronic device provided by the present invention.

[0057] Based on the above content, the embodiment of the present invention provides a method for processing data lineage relationship, which can be applied to devices such as processors and servers. Figure 1 , a method for processing data lineage relationships may include:

[0058] S11. Acquire a pre-generated mind map of target data, and generate an information parameter table corresponding to the mind map and displayed in a data item label manner.

[0059] In this embodiment, a mind map of all data in a bank can be constructed. When constructing a mind map, it is necessary to manually sort out and divide the enterprise-level business areas of the enterprise, sort out all the existing data items of the bank, and sort out the contents in order from high level to low level (not limited to) as shown in Table 1:

[0060] Table 1

[0061]

[0062] The order of indicator items from high-level to low-level is: business field -> business activity -> department -> product -> database table -> field name.

[0063] Then manually review all the data items of existing banks or enterprises sorted out in the previous step and their business areas, business activities, departments, products and other information, and use the mind mapping method to create a four-level high-level mind map of all enterprise-level data items involving business areas, business activities, departments, and products (because it is only drawn to the product level, it is called a high-level mind map).

[0064] That is, the mind map includes the data content of the target sub-data of the target data (all data in the bank are called target data, and each data in the bank is called target sub-data), and the data content includes business field information, business activity information, department information and product information.

[0065] After a mind map of target data is generated, an information parameter table corresponding to the mind map and displayed in a data item label manner is generated.

[0066] Specifically, refer to Figure 2 , the process of generating the information parameter table may include:

[0067] S21. Obtain a pre-generated mind map of target data.

[0068] The mind map includes data content of target sub-data of the target data, and the data content includes business field information, business activity information, department information and product information.

[0069] S22: Determine the data item label of the data content.

[0070] In this embodiment, the format of the data item label of each item in the data content can be predetermined, such as the format of the data item label of the business field is a 2-digit business field number, the format of the data item label of the business activity is a 2-digit business activity number, etc.

[0071] S23: Obtain the database table abbreviation and data item serial number of the target sub-data, and generate an information parameter table of the target data based on the data item label, the database table abbreviation and the data item serial number of the target sub-data.

[0072] In this embodiment, in addition to adding the above data content to the information parameter table, the database table abbreviation and the data item sequence number need to be added to the information parameter table. The total number of bytes in the information parameter table can be 20 bytes.

[0073] Then, the information parameter table may be in the form of Table 2.

[0074] Table 2

[0075]

[0076] The 6-bit data item serial number refers to the serial number of the target sub-data, such as a certain loan data is represented by 0001, and a certain loan data is represented by 0002. Each target sub-data corresponds to a row of data in Table 2.

[0077] In this embodiment, based on the drawn mind map, all business areas, business activities, departments, and products of the data items involved in the digitized bank are digitized, and an information parameter table is established for this information. The correspondence between this information and its digitized information is stored in the form of a parameter table, in preparation for the subsequent construction of a digital model of bank or enterprise data lineage relationships.

[0078] S12. Obtain each row of information parameters in the information parameter table in turn, and build an initial data lineage relationship of the target data according to the hierarchical relationship between the information parameters.

[0079] In this embodiment, before establishing the data lineage relationship, it is necessary to create a task, and then respond to the task to establish the data lineage relationship.

[0080] In addition to creating tasks when creating data lineage relationships, you also need to create tasks when modifying, deleting, adding data lineage relationships, and generating and saving information parameter tables as mentioned above. If no tasks are created, you cannot operate them at will.

[0081] When creating a task, you need to select the established batch task number and other information. Please refer to Table 3 for the specific content required for task creation.

[0082] Table 3

[0083]

[0084] The maintenance identification and whether the data interface of this batch is published are selected according to the specific scenario. Taking the maintenance identification as an example, if it is to add new data, select I, and if it is to delete data, select D.

[0085] After the task is created, the task and the above data item tags can be stored. In this embodiment, when storing, a structured storage method can be used to store in a relational database. Refer to Table 4.

[0086] Table 4

[0087]

[0088] Among them, all the data item labels in Table 2 are stored in order in the filling positions corresponding to the "data item labels" in Table 4.

[0089] In addition, after creating the task of building the initial data lineage relationship, the task can be executed. At this time, each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is built according to the hierarchical relationship between the information parameters.

[0090] Specifically, refer to Figure 3 , establishing the initial data blood relationship of the target data may include:

[0091] S31. Obtain each row of information parameters in the information parameter table in sequence.

[0092] In this embodiment, the information parameters of each row can refer to Table 2.

[0093] S32. For each row of information parameters, sequentially obtain the information parameters of the row according to the arrangement order of the information parameters of the row.

[0094] Specifically, each information parameter of the row is arranged with a corresponding hierarchical relationship according to the arrangement order.

[0095] If the hierarchical relationship is:

[0096] Business area->business activity->department->product->database table->field name (data item number is determined by field name).

[0097] That is, the position of the row of data in the initial data lineage relationship is determined first according to the business field to which it belongs, and then the position is further confirmed according to the business activity to which it belongs, and then the position is further determined according to the department to which it belongs...until the database table to which it belongs is determined, and finally the data item serial number is added to the database table.

[0098] S33. Determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, and create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

[0099] Specifically, the row of data is obtained in sequence according to the arrangement order, and the business field to which it belongs is first obtained, and it is determined whether the content of the business field to which it belongs is empty. If it is empty, the processing is terminated.

[0100] If it is not empty, determine whether the business domain is added to the initial data lineage relationship. If not, add the business domain to the initial data lineage relationship. If yes, directly locate the business domain in the initial data lineage relationship.

[0101] Then obtain the business activities to which it belongs. The processing process is the same as that of the business field. Process them sequentially until the database table to which it belongs is processed. The database table to which it belongs is located in the initial data lineage relationship, or after the database table to which it belongs is added in the initial data lineage relationship, a node corresponding to the data item number is added after it, and the content of the node is changed to the data item number. The node where the data item number is located is the node of the row of data in the initial data lineage relationship.

[0102] After the information parameters of the row are processed, the next row is obtained until the information parameters of all rows are processed, and the initial data lineage relationship can be constructed.

[0103] It should be noted that the business field, business activity, department, product, etc. are all configured as a node in the initial data lineage relationship. If there is no such node, it is necessary to add the node. If there is such a node, it can be used directly.

[0104] The initial data blood relationship constructed is similar to Figure 4 The initial data lineage relationship can represent a lineage relationship of all data in the bank. After obtaining the initial data lineage relationship, it is stored in the graph database in an unstructured storage method.

[0105] S13, receiving a data processing instruction corresponding to the initial data blood relationship.

[0106] The data processing instructions in this embodiment can be addition, modification, deletion, query, etc. Each operation must be authorized by the supervisor before it can take effect. The data processing instructions in this embodiment also need to create tasks in the above manner, and then execute the corresponding data processing operations.

[0107] S14. In the case where the data processing instruction is a data adding instruction including newly added data, an ambiguity check is performed on the newly added data and the information parameters in the information parameter table, and after the check is passed, the newly added data is added to the information parameter table, and based on the newly added data, a node addition operation is performed on the initial data lineage relationship to obtain a first data lineage relationship.

[0108] In this embodiment, the data addition operation is supported, mainly developing online transactions for newly added data items. There are two ways to add transactions: single addition and batch import. The main fields of the single addition online transaction interface include: field Chinese name, field description, business field, business activity, department, product, database table, data type, data format, data demander, whether it is not empty, and batch task number. Among them, field Chinese name, field description, data type, data format, data demander, whether it is not empty are inputtable, and the rest of the fields are drop-down menu selections.

[0109] Batch import supports the function of loading one or more data items through the import table after filling in the EXCEL import table according to a certain template. When adding a new data item, the system will ask the operator to select the corresponding batch task number. If not selected, the new data item will not be added. Then, according to the information such as the product to which the data item entered by the operator belongs, the system will perform an ambiguity check on the data dictionary item. Only after the check is passed, the system will allow the data item to be added.

[0110] If the check fails, it means that in the initial data lineage relationship, there is data similar to the newly added data, such as deposits and saving money are similar. At this time, the newly added data can be merged, such as merging deposits and saving money.

[0111] If the check is passed, it means that the newly added data can be added as a newly added data. At this time, the newly added data is added to the information parameter table, and the newly added data is still added in the above-mentioned data item tag manner. At the same time, according to the newly added data, the node addition operation is performed on the initial data lineage relationship to obtain the first data lineage relationship.

[0112] The node adding operation is similar to the process of generating nodes in the initial data lineage relationship.

[0113] S15. In the case where the data processing instruction is a data modification instruction including modifying data, the information parameter table is modified according to the modifying data, and based on the modified part in the information parameter table, a node modification operation is performed on the initial data lineage relationship to obtain a second data lineage relationship.

[0114] In this embodiment, it is supported to select a data item list in the data item list query for modification. Specifically, a data item list can be manually selected for modification, and at this time, a data modification instruction output by the user will be received, and the instruction includes modification data, and then the information parameter table is modified according to the modification data. After modification, the data item label is regenerated.

[0115] Furthermore, based on the modified part in the information parameter table, a node modification operation is performed on the initial data lineage relationship to obtain a second data lineage relationship. The modification process is a process of adjusting the data or position of the node.

[0116] Furthermore, in another embodiment of the present invention, data query is also supported. Specifically, when the data processing instruction is a data query instruction including a data query method, it also includes:

[0117] 1) Obtain the data query method.

[0118] The data query method includes a query method and a query field. The query method includes:

[0119] Field-level data lineage query method and panorama-level data lineage query method. The query field is the field that the user wants to query.

[0120] 2) When the query method is a field-level data lineage query method, the query field is obtained by screening from the information parameter table, and the information parameters of the query field are displayed.

[0121] The field-level data lineage query method is to query the specific content of a field or data, such as querying the business field, business activity, etc. to which a certain data belongs. At this time, the query field is directly screened from the information parameter table, and then the information parameters of the query field are displayed.

[0122] In addition, the field-level lineage query can also display all upstream tracing and field downstream dependency retrieval relationships related to the field. At this time, based on the data item field name provided by the user, through fuzzy query, all data items in Table 4 whose field names match the field name entered by the user are queried, and by parsing the "data item label" field information of the record, the upper-level information such as the business field and business activities to which the data item belongs related to the upstream tracing of the data item is obtained, and the downstream dependency retrieval relationship of the data item is obtained through the "data demander" field of Table 4, and this information is displayed in the form of a list.

[0123] 3) When the query method is a panoramic data lineage query method, the query field is obtained by screening from the initial data lineage, and the query field in the initial data lineage is displayed in the center of the interface.

[0124] The panoramic data lineage query method is to display the entire data lineage, filter the query field from the initial data lineage, and place the query field in the center of the interface so that the user can intuitively see the location of the field to be queried in the data lineage.

[0125] It should be noted that the panoramic level data lineage display is presented in a more vivid mind map mode. Since the panoramic level data lineage diagram is relatively complex and takes a long time to generate, the present invention only supports the panoramic display of the batch task level. After each batch of tasks is completed, the system will generate a data lineage diagram up to the batch (that is, including all data items that are less than or equal to the batch of changed batch tasks) through batch processing during the batch background processing, and store it in the graph database according to the batch task number as the record unit. After the data lineage diagram is generated, the data interface and data lineage diagram of this batch can be released.

[0126] When performing a panoramic query, the system will first query the data lineage relationship records of the relevant batches in the graph database. If they exist, they will be retrieved and displayed first. Otherwise, the system will call the data lineage relationship graph generation module in real time to generate a data lineage relationship graph and display it in real time.

[0127] Furthermore, in another embodiment of the present invention, a data deletion operation can also be implemented. Specifically, when the data processing instruction is a data deletion instruction including a target deletion object, it also includes:

[0128] The node corresponding to the target deletion object is deleted from the initial data blood relationship, and the data associated with the target deletion object is deleted from the information parameter table.

[0129] This embodiment provides a data item deletion function. The deletion operation mainly involves selecting a specified record in the data item query list, selecting the record, and selecting the delete function button. At this time, it is considered that a data deletion instruction has been received. After authorization, the record is logically deleted, and the maintenance date of the record is updated to the current processing accounting date, and the maintenance identifier is updated to the deletion identifier D. After the deletion operation, the subsequently generated data bloodline relationship map no longer displays all nodes related to the deleted data item.

[0130] When specifically deleting, the node corresponding to the deletion object is obtained from the initial data blood relationship, and the deletion operation is performed. In addition, the data associated with the target deletion object needs to be deleted from the information parameter table.

[0131] In addition, the embodiment of the present invention also provides a publishing function, which is mainly used to complete the publication of data item interfaces and data lineage relationships. Since data items are closely related to development batch tasks, maintenance changes are only provided after the batch task is started. After the maintenance changes, the data interface and data lineage relationship map of this batch can be published only after the batch is processed to generate a panoramic data lineage relationship map.

[0132] In this embodiment, a pre-generated mind map of the target data is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated, each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is established according to the hierarchical relationship between the information parameters. That is, the present invention establishes the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of establishing data lineage relationships compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships.

[0133] In addition, in this embodiment, a method is designed to establish data lineage from the source system to the end, covering all bank data, by drawing on the idea of ​​mind mapping. By comprehensively combing all current data and their lineage, building data lineage based on mind mapping, managing and displaying the data lineage of all bank or enterprise data in a graphic and textual manner, the data governance capabilities and management efficiency of banks or enterprises are improved. It also improves the visualization and scientific nature of data display, facilitating subsequent data maintenance operations.

[0134] Optionally, based on the above-mentioned embodiment of the method for processing data lineage relationship, another embodiment of the present invention provides a device for processing data lineage relationship, referring to Figure 5 , which may include:

[0135] The parameter table generating module 11 is used to obtain a mind map of target data generated in advance, and generate an information parameter table corresponding to the mind map and displayed in a data item label manner;

[0136] A relationship building module 12 is used to sequentially obtain each row of information parameters in the information parameter table, and build an initial data kinship relationship of the target data according to the hierarchical relationship between the information parameters;

[0137] An instruction receiving module 13, used for receiving a data processing instruction corresponding to the initial data blood relationship;

[0138] The first processing module 14 is used for, when the data processing instruction is a data adding instruction including the newly added data, performing an ambiguity check on the newly added data and the information parameters in the information parameter table, and after the check passes, adding the newly added data to the information parameter table, and performing a node adding operation on the initial data lineage relationship according to the newly added data to obtain a first data lineage relationship;

[0139] The second processing module 15 is used to modify the information parameter table according to the modified data when the data processing instruction is a data modification instruction including modifying data, and perform a node modification operation on the initial data lineage relationship based on the modified part in the information parameter table to obtain a second data lineage relationship.

[0140] Further, the parameter table generating module includes:

[0141] A data acquisition submodule, used to acquire a pre-generated mind map of target data, wherein the mind map includes data content of target sub-data of the target data, wherein the data content includes business field information, business activity information, department information and product information;

[0142] A label determination submodule, used to determine a data item label of the data content;

[0143] The parameter table generation submodule is used to obtain the database table abbreviation and data item serial number of the target sub-data, and generate an information parameter table of the target data based on the data item label, the database table abbreviation and the data item serial number of the target sub-data.

[0144] Furthermore, the relationship building module includes:

[0145] A parameter acquisition submodule, used to sequentially acquire each row of information parameters in the information parameter table, and for each row of information parameters, sequentially acquire each information parameter of the row according to the arrangement order between the information parameters of the row; each information parameter of the row is provided with a corresponding hierarchical relationship according to the arrangement order;

[0146] The node determination submodule is used to determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, and to create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

[0147] Furthermore, it also includes a data query module, which is used to obtain the data query method when the data processing instruction is a data query instruction including a data query method; when the query method is a field-level data lineage query method, filter the query field from the information parameter table and display the information parameters of the query field; when the query method is a panoramic-level data lineage query method, filter the query field from the initial data lineage relationship and display the query field in the initial data lineage relationship in the center of the interface; the data query method includes a query method and a query field.

[0148] Furthermore, it also includes a data deletion module, which is used to delete the node corresponding to the target deletion object from the initial data lineage relationship and delete the data associated with the target deletion object from the information parameter table when the data processing instruction is a data deletion instruction including a target deletion object.

[0149] In this embodiment, a pre-generated mind map of the target data is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated, each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is established according to the hierarchical relationship between the information parameters. That is, the present invention establishes the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of establishing data lineage relationships compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships.

[0150] It should be noted that, for the working process of each module and sub-module in this embodiment, please refer to the corresponding description in the above embodiment, which will not be repeated here.

[0151] Optionally, based on the above-mentioned embodiments of the method and device for processing data blood relationship, another embodiment of the present invention provides an electronic device, including: a memory and a processor;

[0152] Wherein, the memory is used to store programs;

[0153] The processor calls the program and is used to execute the above-mentioned data lineage relationship processing method.

[0154] In this embodiment, a pre-generated mind map of the target data is obtained, and an information parameter table corresponding to the mind map and displayed in the form of data item labels is generated, each row of information parameters in the information parameter table is obtained in turn, and the initial data lineage relationship of the target data is established according to the hierarchical relationship between the information parameters. That is, the present invention establishes the initial data lineage relationship according to the hierarchical relationship between the information parameters, which can improve the accuracy of establishing data lineage relationships compared to the manual registration and management method using electronic spreadsheets. Furthermore, the present invention can also realize the addition and modification of data in data lineage relationships, and improve the processing method of data lineage relationships.

[0155] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing data lineage relationships, characterized in that: include: Obtaining a pre-generated mind map of target data, and generating an information parameter table corresponding to the mind map and displayed in a data item label format; Obtaining each row of information parameters in the information parameter table in turn, and building an initial data lineage relationship of the target data according to the hierarchical relationship between the information parameters; Receiving a data processing instruction corresponding to the initial data blood relationship; In the case where the data processing instruction is a data adding instruction including newly added data, an ambiguity check is performed on the newly added data and the information parameters in the information parameter table, and after the check passes, the newly added data is added to the information parameter table, and based on the newly added data, a node adding operation is performed on the initial data lineage relationship to obtain a first data lineage relationship; In the case where the data processing instruction is a data modification instruction including modifying data, the information parameter table is modified according to the modifying data, and based on the modified part in the information parameter table, a node modification operation is performed on the initial data lineage relationship to obtain a second data lineage relationship.

2. The processing method according to claim 1, characterized in that: Obtain a pre-generated mind map of target data, and generate an information parameter table corresponding to the mind map and displayed in a data item label format, including: Acquire a pre-generated mind map of target data, wherein the mind map includes data content of target sub-data of the target data, wherein the data content includes business field information, business activity information, department information, and product information; Determine a data item label of the data content; The database table abbreviation and data item serial number of the target sub-data are obtained, and based on the data item label of the target sub-data, the database table abbreviation and the data item serial number, an information parameter table of the target data is generated.

3. The processing method according to claim 1, characterized in that: Obtain each row of information parameters in the information parameter table in turn, and build the initial data lineage relationship of the target data according to the hierarchical relationship between the information parameters, including: Obtain each row of information parameters in the information parameter table in sequence; For each row of information parameters, the respective information parameters of the row are sequentially acquired according to the arrangement order between the information parameters of the row; the respective information parameters of the row are provided with a corresponding hierarchical relationship according to the arrangement order; Determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

4. The processing method according to claim 1, characterized in that: In the case where the data processing instruction is a data query instruction including a data query method, it also includes: Acquire the data query method; the data query method includes a query method and a query field; In the case where the query method is a field-level data lineage query method, the query field is obtained by screening from the information parameter table, and the information parameters of the query field are displayed; In the case where the query method is a panoramic data lineage query method, the query field is obtained by screening from the initial data lineage, and the query field in the initial data lineage is displayed in the center of the interface.

5. The processing method according to claim 1, characterized in that: In the case where the data processing instruction is a data deletion instruction including a target deletion object, it further includes: Deleting the node corresponding to the target deletion object from the initial data blood relationship; The data associated with the target deletion object is deleted from the information parameter table.

6. A data lineage processing device, characterized in that: include: A parameter table generation module, used to obtain a pre-generated mind map of target data, and generate an information parameter table corresponding to the mind map and displayed in a data item label manner; A relationship building module, used to sequentially obtain each row of information parameters in the information parameter table, and build an initial data kinship relationship of the target data according to the hierarchical relationship between the information parameters; An instruction receiving module, used for receiving a data processing instruction corresponding to the initial data blood relationship; A first processing module is used for, when the data processing instruction is a data adding instruction including the newly added data, performing an ambiguity check on the newly added data and the information parameters in the information parameter table, and after the check passes, adding the newly added data to the information parameter table, and performing a node adding operation on the initial data lineage relationship according to the newly added data to obtain a first data lineage relationship; The second processing module is used to modify the information parameter table according to the modified data when the data processing instruction is a data modification instruction including modifying data, and perform a node modification operation on the initial data lineage relationship based on the modified part in the information parameter table to obtain a second data lineage relationship.

7. The processing device according to claim 6, characterized in that The parameter table generating module comprises: A data acquisition submodule, used to acquire a pre-generated mind map of target data, wherein the mind map includes data content of target sub-data of the target data, wherein the data content includes business field information, business activity information, department information and product information; A label determination submodule, used to determine a data item label of the data content; The parameter table generation submodule is used to obtain the database table abbreviation and data item serial number of the target sub-data, and generate an information parameter table of the target data based on the data item label, the database table abbreviation and the data item serial number of the target sub-data.

8. The processing device according to claim 6, characterized in that The relationship building module includes: A parameter acquisition submodule, used to sequentially acquire each row of information parameters in the information parameter table, and for each row of information parameters, sequentially acquire each information parameter of the row according to the arrangement order between the information parameters of the row; each information parameter of the row is provided with a corresponding hierarchical relationship according to the arrangement order; The node determination submodule is used to determine the position of the last non-empty information parameter among the information parameters of the row in the initial data lineage relationship, and to create a node corresponding to the position in the initial data lineage relationship, and use it as the node corresponding to the information parameter of the row to obtain the initial data lineage relationship.

9. The processing device according to claim 6, characterized in that It also includes a data query module, which is used to obtain the data query method when the data processing instruction is a data query instruction including a data query method; when the query method is a field-level data lineage query method, filter the query field from the information parameter table and display the information parameters of the query field; when the query method is a panoramic-level data lineage query method, filter the query field from the initial data lineage relationship and display the query field in the initial data lineage relationship in the center of the interface; the data query method includes a query method and a query field.

10. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor calls the program and is used to execute the method for processing data blood relationship as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Data blood relationship processing method and device

    CN111538744A

  • Data blood relationship determination method and device, electronic equipment and storage medium

    CN112860811A

  • Method for carrying out blood relationship analysis visual display based on power dispatching data

    CN113220944A

  • Data blood relationship analysis method and device, equipment and storage medium

    CN113486008A

  • Directed graph approach for constructing a tree representation of an access control list

    US20050114655A1