HK1160257A - Visualizing relationships between data elements - Google Patents
Visualizing relationships between data elements Download PDFInfo
- Publication number
- HK1160257A HK1160257A HK12100593.7A HK12100593A HK1160257A HK 1160257 A HK1160257 A HK 1160257A HK 12100593 A HK12100593 A HK 12100593A HK 1160257 A HK1160257 A HK 1160257A
- Authority
- HK
- Hong Kong
- Prior art keywords
- data
- metadata
- nodes
- relationships
- objects
- Prior art date
Links
Abstract
In general, a specification of multiple contexts that are related according to a hierarchy is received. Relationships are determined among three or more metadata objects (202B, 204B, 206A), and at least some of the metadata objects are grouped into one or more respective groups. Each of at least some of the groups is based on a selected one of the contexts and is represented by a node (208B, 210B, 212B) in a diagram (200B). Relationships among the nodes are determined based on the relationships among the metadata objects in the groups represented by the nodes, and a visual representation is generated of the diagram including the nodes and the relationships among the nodes.
Description
This application claims priority to U.S. Application Serial No. 61/119,201, filed on December 2, 2008 .
This description relates to visualizing relationships between data elements.
Enterprises use complex data processing systems, such as data warehousing, customer relationship management, and data mining, to manage data. In many data processing systems, data are pulled from many different data sources, such as database files, operational systems, flat files, the Internet, etc, into a central repository. Often, data are transformed before being loaded in the data system. Transformation may include cleansing, integration, and extraction. To keep track of data, its sources, and the transformations that have happened to the data stored in a data system, metadata can be used. Metadata (sometimes called "data about data") are data that describe other data's attributes, format, origins, histories, inter-relationships, etc. Metadata management can play a central role in complex data processing systems.
Sometimes a database user may want to investigate how certain data are derived from different data sources. For example, a database user may want to know how a dataset or data object was generated or from which source a dataset or data object was imported. Tracing a dataset back to sources from which it is derived is called data lineage tracing (or "upstream data lineage tracing"). Sometimes a database user may want to investigate how certain datasets have been used (called "downstream data lineage tracing" or "impact analysis"), for example, which application has read a given dataset. A database user may also be interested in knowing how a dataset is related to other datasets. For example, a user may want to know if a dataset is modified, what tables will be affected.
IBM Systems Journal Vol. 44, No. 4 2005, 'Web Services Navigator : Visualising the execution of web services, pages 821 - 845 discloses web services navigator, a visualization tool for understanding web services applications.
Alison ET AL: "Oracle Warehouse Builders User Guide 10g Release", Oracle Documentation, 30 September 2007, pages 490-496) disclose the use of data lineage diagrams for visualizing the dependencies between data in an Oracle integrated system as a tool for performing impact analysis.
The invention is defined by the independent claims to which reference should be made. Preferable embodiments are defined by the dependent claims.
The system enables users to visualize relationships between objects, and view certain attributes of objects in a contextual setting. When working with metadata, users are able to understand the origins of an object before certain actions are taken. Users can know which objects are affected by manipulation of any particular object. Users are also able to view attributes of certain objects in an environment where relationships between those objects are clearly shown.
- FIG. 1 is a block diagram of a computing system.
- FIGS. 2A-2E are diagrams showing relationships between nodes of data.
- FIGS. 3-5 are diagrams showing graphical overlays superimposed on nodes of data.
The system enables users to visualize relationships between objects, stored in a wide variety of data storage systems. The relationships among the objects represent various dependencies and/or associations appropriate to the applications for which the data objects are used. As an example of one of the types of systems in which these techniques can be used, a system is described in which the objects represent elements of a graph-based computation environment.
In some examples, repository 104 includes both a base data store 105A and an interface data store 105B. A base data store stores technical metadata, and may include applications along with their associated metadata, such as graphs and transforms. In addition to storing technical metadata, the base data store may also perform various kinds of analysis including dependency analysis (e.g., computing data lineage, as described in more detail below), or may receive and store the results of such analysis. In some examples, base data store 105A and interface data store 105B may be combined and implemented as a single data store.
While technical metadata is useful to developers in a variety of functions, there are many instances in which a higher level of metadata needs to be analyzed and manipulated. This higher level metadata, sometimes referred to as "enterprise" or "business" metadata is often useful in data analysis. Some examples of business metadata include data stewardship, which indicates which employee is responsible for the data, and data dictionaries, which are business definitions for files and fields within files. Business metadata goes beyond technical descriptions of data, and can be stored on a platform that is separate from the base data store 105A, such as an interface data store 105B.
The interface data store 105B may be a relational database that primarily serves to store business metadata. The interface data store may communicate with the base data store and extract its metadata, and it can also pull its information from a variety of other sources such as graphs, spreadsheets, logical models, database tables, or additional third party sources of data.
In some examples, the base data store 105A is a scalable object-oriented database system designed to support the development and execution of graph-based applications and the interchange of metadata between the graph-based applications and other systems (e.g., other operating systems). The repository 104 is a storage system for all kinds of metadata, including documentation, record formats (e.g., fields and data types of records in a table), transform functions, graphs, jobs, and monitoring information. The repository 104 also stores metadata objects that represent actual data to be processed by the computing system 100 including data stored in an external data store 112. An example of a repository that includes features for importing and managing metadata from various sources is described in co-pending U.S. Provisional Patent Application Serial No. 61/119,148 , entitled "DATA MAINTENANCE SYSTEM," filed on December 2, 2008.
The parallel operating environment 106 accepts a specification of a data flow graph generated in the GDE 102 and generates computer instructions that correspond to the processing logic and resources defined by the graph. The parallel operating environment 106 then typically executes those instructions on a plurality of processors (which need not be homogeneous). An example of a suitable parallel operating environment is the CO>OPERATING SYSTEM®.
The User Interface module 108 provides a web-browser-based view of the contents of the repository 104. Using the User Interface module 108, a user 103 may browse objects, create new objects, alter existing objects, specify application parameters, schedule jobs, etc. The User Interface module 108 generates forms-based browser screens for a user to search for and view objects and information about objects stored in the repository 104.
The repository 104 stores metadata including metadata objects for graph-based applications including graph components and other functional objects for building computation graphs. As stated previously, metadata stored in base data store 105A of repository 104 includes, for example, "technical" metadata (e.g., application-related business rules, record formats, and execution statistics), while the interface data store 105B may include business metadata such as user-defined documentation of job functions, roles, and responsibilities.
The information stored in the repository 104 in the form of metadata objects enables various kinds of analysis about applications and the data processed by those applications. Subsets of this information may be stored in interface data store 105B. For example, as discussed further below, a user can obtain answers to questions about data lineage (e.g., Where did a given value come from? How was the output value computed? Which applications produce and depend on this data?). A developer can understand the consequences of proposed modifications (e.g., If this piece changes, what else will be affected? If this source format changes, which applications will be affected?). A user/developer can also obtain questions to answers involving both technical metadata and business metadata (e.g., Which groups are responsible for producing and using this data? Who changed this application last? What changes did they make?).
The repository 104 is able to track the state of stored metadata objects. Objects stored in the repository 104 are versioned, making it possible to examine the state of things as of last week, last month, or last year, and to compare it with the state of things today. The repository 104 collects job-tracking, or execution information which enables trend analysis (e.g., How fast is our data growing?) and capacity planning (e.g., How long did that application take to run? How much data did it process, and at what rate? What resources did the application consume? When will we need to add another server?).
A user can view and edit information contained in and/or associated with the stored metadata through the User Interface module 108. A metadata viewing environment can represent various kinds of metadata objects using various graphical representations including icons and groupings of icons presented by the User Interface module 108 on a display. A metadata object represents different types of data elements (e.g., data used as input or output of an executable program) and/or transformations (e.g., any type of data manipulation associated with a data processing entity, such as data flow graph, that processes or generates data). The viewing environment can show relationships as lines connecting graphical nodes that represent metadata objects or groupings of metadata objects, as described in more detail below.. In some cases, the interface data store 105B can extract the relationships (such as lineage information) from the base data store 105A, or from other sources of data. The interface data store 105B may hold a high-level summary of data lineage. The lineage information (or other data dependency analysis) can be computed automatically within the system 100, or can be received from an external system, or from manual input. For example, the system 100 can receive lineage information that has been gathered and prepared by humans analyzing the code. The lineage information can be imported into the repository 104 from files in any of a variety of predetermined formats (e.g., in spreadsheets).
For example, the lineage diagram displays the end-to-end lineage for the data and/or processing nodes that represent the metadata objects stored in the repository 104; that is, the objects a given starting object depends on (its sources) and the objects that a given starting object affects (its targets). In this example, connections are shown between data elements 202A and transformations 204A, two examples of metadata objects. The metadata objects are represented by nodes in the diagram. Data elements 202A can represent datasets, tables within datasets, columns in tables, and fields in files, messages, and reports, for example. An example of a transformation 204A is an element of an executable that describes how a single output of a data element is produced. The connections between the nodes are based on relationships among the metadata objects.
Using the metadata viewing environment to perform data lineage calculations is useful for a number of reasons. For example, calculating and illustrating relationships between data elements and transformations can help a user determine how a reported value was computed for a given field report. A user may also view which datasets store a particular type of data, and which executables read and write to that dataset. In the case of business terms, the data lineage diagram may illustrate which data elements (such as columns and fields) are associated with certain business terms (definitions in an enterprise).
Data lineage diagrams shown within the metadata viewing environment can also aid a user in impact analysis. Specifically, a user may want to know which downstream executables are affected if a column or field is added to a dataset, and who needs to be notified. Impact analysis may determine where a given data element is used, and can also determine the ramifications of changing that data element. Similarly, a user may view what datasets are affected by a change in an executable, or whether it safe to remove a certain database table from production.
Using the metadata viewing environment to perform data lineage calculations for generating data lineage diagrams is useful for business term management. For instance, it is often desirable for employees within an enterprise to agree on the meanings of business terms across that enterprise, the relationships between those terms, and the data to which the terms refer. The consistent use of business terms may enhance the transparency of enterprise data and facilitates communication of business requirements. Thus, it is important to know where the physical data underlying a business term can be found, and what business logic is used in computations.
Viewing relationships between data nodes can also be helpful in managing and maintaining metadata. For instance, a user may wish to know who changed a piece of metadata, what the source (or "source of record") is for a piece of metadata, or what changes were made when loading or reloading metadata from an external source. In maintaining metadata, it may be desirable to allow designated users to be able to create metadata objects (such as business terms), edit properties of metadata objects (such as descriptions and relationships of objects to other objects), or delete obsolete metadata objects.
The metadata viewing environment provides a number of graphical views of objects, allowing a user to explore and analyze metadata. For example, a user may view the contents of systems and applications and explore the details of any object, and can also view relationships between objects using the data lineage views, which allows a user to easily perform various types of dependency analysis such as the data lineage analysis and impact analysis described above. Hierarchies of objects can also be viewed, and the hierarchies can be searched for specific objects. Once the object is found bookmarks can be created for objects allowing a user to easily return to them.
With the proper permissions, a user can edit the metadata in the metadata viewing environment. For example, a user can update descriptions of objects, create business terms, define relationships between objects (such as linking a business term to a field in a report or column in a table), move objects (for instance, moving a dataset from one application to another) or delete objects.
In FIG. 2C a corresponding lineage diagram 200C for target element 206A is shown, but the level of resolution is set to applications that are participating in the calculation for the target data element 206A. Specifically, applications 202C, 204C, 206C, 208C, and 210C are shown, as only those applications directly participate in the calculation for the target data element 206A. If a user wishes to view any part of the lineage diagram in a different level of resolution (e.g., to display more or less detail in the diagram), the user may activate the corresponding expand/collapse button 212C.
Users can also configure their own diagrams. For example, diagrams can be configured so that they follow primary/foreign key relationships in the metadata. Filters may also be applied to the dependency analysis to exclude information from the lineage diagram. For example, if a user desires to exclude datasets from the lineage diagram that are reject files, the user could toggle the display of reject files in the lineage diagram on and off.
Viewing elements and relationships in the metadata viewing environment can be made more useful by adding information relevant to each of the nodes that represent them. One exemplary way to add relevant information to the nodes is to graphically overlay information on top of certain nodes. These graphics may show some value or characteristic of the data represented by the node, and can be any property in the metadata database. This approach has the advantage of combining two or more normally disparate pieces of information (relationships between nodes of data and characteristics of the data represented by the nodes) and endeavors to put useful information "in context." For example, characteristics such as metadata quality, metadata freshness, or source of record information can be displayed in conjunction with a visual representation of relationships between data nodes. While some of this information may be accessible in tabular form, it may be more helpful for a user to view characteristics of the data along with the relationships between different nodes of data. A user can select which characteristic of the data will be shown on top of the data element and/or transformation nodes within the metadata viewing environment. Which characteristic is shown can also be set according to default system settings.
In the example of FIG. 3 , node 300 also displays a graphical overlay 302 that contains information pertaining to the freshness of the metadata represented by the node. The "metadata freshness" refers to how recently the metadata has been updated or modified from an external source. By "hovering" a cursor over graphical overlay 302, a window 304 can be called up that contains more detail about the characteristic currently displayed by the graphical overlay 302. The graphical overlays may be color-coded, with the different colors of the graphics mapping to different meanings via legend 306.
In the example of FIG. 4 , graphical overlays representing levels of metadata quality are superimposed on top of data element nodes including overlay 402 on node 400. Measures of metadata quality can be used by a business, for example, to profile a periodic (e.g., monthly) data feed sent from a business partner before importing or processing the data. This would enable the business to detect "bad" data (e.g., data with a percentage of invalid values higher than a threshold) so it doesn't pollute an existing data store by actions that may be difficult to undo. Like the previous example, by hovering a cursor over graphical overlay 402, a window 404 can be called up that contains more detail about the characteristic currently displayed by the graphical overlay 402.
In the example of FIG. 5 , graphical overlays representing the type of the source of record are superimposed on top of data element and transformation nodes. Node 500 has an overlay 502 that indicates the source of record is an "Active Import Source." This means that the metadata was imported automatically from a source such as a spreadsheet file. By hovering a cursor over graphical overlay 502, a window 504 can be called up that contains details such as the type of file used for the import (an Excel spreadsheet in this example), the name of the file, the owner of the file, and the date of the import. Node 506 has an overlay 508 that indicates the source of record is "Manually Maintained." This means that the metadata was modified manually by a user (e.g., using the User Interface Module 108). By hovering a cursor over the graphical overlay 508, a window 510 can be called up that contains details such as the name of the user that modified the metadata and the date of the modification.
The record storage and retrieval approach described above, including the modules of the system 100 and the procedures performed by the system 100, can be implemented using software for execution on a computer. For instance, the software forms procedures in one or more computer programs that execute on one or more programmed or programmable computer systems (which may be of various architectures such as distributed, client/server, or grid) each including at least one processor, at least one data storage system (including volatile and non-volatile memory and/or storage elements), at least one input device or port, and at least one output device or port. The software may form one or more modules of a larger program, for example, that provides other services related to the design and configuration of computation graphs. The nodes and elements of the graph can be implemented as data structures stored in a computer readable medium or other organized data conforming to a data model stored in a data repository.
The approaches described above can be implemented using software for execution on a computer. For instance, the software forms procedures in one or more computer programs that execute on one or more programmed or programmable computer systems (which may be of various architectures such as distributed, client/server, or grid) each including at least one processor, at least one data storage system (including volatile and non-volatile memory and/or storage elements), at least one input device or port, and at least one output device or port. The software may form one or more modules of a larger program, for example, that provides other services related to the design and configuration of computation graphs. The nodes and elements of the graph can be implemented as data structures stored in a computer readable medium or other organized data conforming to a data model stored in a data repository.
The software may be provided on a storage medium, such as a CD-ROM, readable by a general or special purpose programmable computer or delivered (encoded in a propagated signal) over a communication medium of a network to the computer where it is executed. All of the functions may be performed on a special purpose computer, or using special-purpose hardware, such as coprocessors. The software may be implemented in a distributed manner in which different parts of the computation specified by the software are performed by different computers. Each such computer program is preferably stored on or downloaded to a storage media or device (e.g., solid state memory or media, or magnetic or optical media) readable by a general or special purpose programmable computer, for configuring and operating the computer when the storage media or device is read by the computer system to perform the procedures described herein. The inventive system may also be considered to be implemented as a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer system to operate in a specific and predefined manner to perform the functions described herein.
A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the scope of the invention. For example, some of the steps described above may be order independent, and thus can be performed in an order different from that described.
It is to be understood that the foregoing description is intended to illustrate and not to limit the scope of the invention, which is defined by the scope of the appended claims. For example, a number of the function steps described above may be performed in a different order without substantially affecting overall processing. Other embodiments are within the scope of the following claims.
Claims (9)
- A computer-implemented method, including:receiving a specification of multiple contexts that are related according to a hierarchy;determining relationships among three or more metadata objects,wherein the metadata objects represent data elements (202A, 202B) or transformations (204A, 204B) of data,wherein for the data elements (202A, 202B), the multiple contexts include data sets (208B, 214D), applications (202C, 204C, 206C, 208C, 210B, 210C) and systems (212B),wherein for the transformations (204A, 204B) of data, the multiple contexts include executables (214B, 216D), applications (202C, 204C, 206C, 208C, 210B, 210C) and systems (212B),wherein the applications (202C, 204C, 206C, 208C, 210B, 210C) contain the executables (214B, 216D) and the datasets (208B, 214D) that they operate on, and the systems (212B) are functional groupings of data and the applications (202C, 204C, 206C, 208C, 210B, 210C) that process the data, andwherein the relationships among the metadata objects represent dependencies and associations appropriate to applications (202C, 204C, 206C, 208C, 210B, 210C) for which the metadata objects are used;grouping at least some of the metadata objects into one or more respective groups, each of at least some of the groups being based on a selected one of the contexts and being represented by a node (300, 400) in a data lineage diagram (200A, 200B, 200C, 200D, 200E), wherein the data elements (202A, 202B) are grouped in contexts including data sets (208B, 214D), applications (202C, 204C, 206C, 208C, 210B, 210C), or systems (212B), and wherein the transformations (204A, 204B) of data are grouped in contexts including executables (214B, 216D), applications (202C, 204C, 206C, 208C, 210B, 210C), or systems (212B);determining relationships among the nodes (300, 400) based on the relationships among the metadata objects in the groups represented by the nodes (300, 400); andgenerating a visual representation of the data lineage diagram (200A, 200B, 200C, 200D, 200E) in a user interface, the visual representation of the data lineage diagram (200A, 200B, 200C, 200D, 200E) including the nodes (300, 400) and the relationships among the nodes (300, 400) and the visual representation of the data lineage diagram (200A, 200B, 200C, 200D, 200E) indicating, for a given metadata object, metadata objects that the given metadata object depends on and metadata objects that the given metadata object affects;receiving, through the user interface, user input to edit at least some of the metadata objects; anddisplaying, in the visual representation of the data lineage diagram (200A, 200B, 200C, 200D, 200E), information indicating which of the metadata objects are affected by the editing.
- The method of claim 1, further comprising: displaying a graphical overlay (302, 402, 502, 508) superimposed on top of one or more of the nodes (300, 400), the graphical overlay (302, 402, 502, 508) indicating a level of metadata quality of the metadata represented by the one or more nodes of the nodes (300, 400).
- The method of claim 1 wherein the nodes (300, 400) are configured to be expanded or collapsed to display different levels of resolution.
- The method of claim 3 wherein a user selects the level of resolution to display.
- The method of claim 3 wherein a user selects a particular node (300, 400) for which to calculate relationships.
- The method of claim 5 wherein each node (300, 400) not containing the selected data node are collapsed to a least detailed level of resolution according to an algorithm.
- The method of claim 1 wherein nodes (300, 400) meeting a preselected condition are filtered out of the visual representation.
- A computer system configured to execute the operations of the method of any one of claims 1 to 7.
- A computer-readable medium storing a computer program, the computer program including instructions for causing a computer to execute the operations of the method of any one of claims 1 to 7.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US61/119,201 | 2008-12-02 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1160257A true HK1160257A (en) | 2012-08-10 |
| HK1160257B HK1160257B (en) | 2021-09-30 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| AU2018213989B2 (en) | Visualizing relationships between data elements and graphical representations of data element attributes | |
| HK1160257A (en) | Visualizing relationships between data elements | |
| HK1160257B (en) | Visualizing relationships between data elements |