Executable Data Flow Graph Differences
The method and system for comparing and visually representing differences in executable dataflow graphs help developers track and understand changes, enhancing debugging and quality control by providing interactive visualizations of added, deleted, or modified components.
Patent Information
- Application Number
- JP2021113911
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-05-05
- Filing Date
- 2021-07-09
- Publication Date
- 2024-08-15
- Estimated Expiration
- 2037-12-04
AI Technical Summary
Developers face challenges in understanding and tracking changes made to computer programs during development or execution, which can lead to issues such as incorrect functionality or unintended modifications, without effective tools for visualizing and analyzing differences between different versions of executable dataflow graphs.
A method and system for displaying differences between executable dataflow graphs by comparing node and link specifications, using graphical indicators to represent added, deleted, or modified components, and allowing interactive visualization to provide detailed information on changes.
Enables developers to efficiently identify and understand changes between different versions of dataflow graphs, facilitating better debugging, merging, and quality control by providing a high-level visual overview and detailed insights into modifications.
Smart Images

Figure 0007535014000015 
Figure 0007535014000002 
Figure 0007535014000009
Abstract
Description
[Technical field]
[0001] Claiming priority This application claims priority from U.S. Patent Application No. 62 / 431,195, filed December 7, 2016, and U.S. Patent Application No. 15 / 587,987, filed May 5, 2017, the contents of which are incorporated herein by reference. [Background technology]
[0002] background During development or execution of a computer program, changes may be made to the computer program, and information about the changes may be useful to the developer, for example, to help the developer understand the impact of the changes, to determine why an updated computer program no longer functions correctly, or to keep track of edits from multiple people. Summary of the Invention [Means for solving the problem]
[0003] overview In one aspect, a method is for displaying differences between a first executable dataflow graph and a second executable dataflow graph, each dataflow graph being executable to process data received by the dataflow graph, each dataflow graph including one or more nodes representing data processing components and one or more links representing data flow between the components. The method includes comparing, by a computer, a specification of the first executable dataflow graph to a specification of the second executable dataflow graph to identify one or more differences between the first dataflow graph and the second dataflow graph. A specification of a given executable dataflow graph defines one or more nodes each representing a source of data to be processed by the dataflow graph, one or more nodes each representing a data processing component that defines operations to be performed to process data from the data sources, and one or more nodes each representing a destination of data to be processed by the dataflow graph. Comparing the first dataflow graph and the second dataflow graph includes at least one of (1) identifying particular nodes or links of the first dataflow graph that do not correspond to any nodes or links of the second dataflow graph, and (2) identifying first nodes or links of the first dataflow graph that correspond to second nodes or links of the second dataflow graph and identifying differences between the first nodes or links and the second nodes or links. The method includes formulating a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including at least one graphical indication of (1) the identified particular nodes or links or (1) the identified differences between the first nodes or links and the second nodes or links, and displaying the graphical representation within the graph editing interface.
[0004] Some embodiments may include one or more of the following features.
[0005] The first data flow graph is a first version of the particular data flow graph, and the second data flow graph is a second version of the particular data flow graph.
[0006] Identifying a difference between the first node or link and the second node or link includes identifying a difference between a resolved parameter of the first node or link and a resolved parameter of the second node or link.
[0007] Identifying a difference between a first node or link and a second node or link includes identifying a difference between a representation of a parameter of the first node or link and a representation of a parameter of the second node or link.
[0008] The graphical indicator is the color of a primary, secondary, or particular node or link in the graphical representation.
[0009] The color of the graphical indicator indicates the type of identified difference between the first node or link and the second node or link.
[0010] A graphical indicator is the shading or filling of a primary, secondary, or particular node or link within a graphical representation.
[0011] The graphical indicia include symbols located near the first, second, or particular nodes or links.
[0012] The graphical indicator is responsive to user interaction. The method includes providing access to information indicative of the identified difference responsive to user interaction with the graphical indicator.
[0013] The first dataflow graph includes a first dataflow subgraph and the second dataflow graph includes a second dataflow subgraph. The method includes comparing a specification of the first dataflow subgraph to a specification of the second dataflow subgraph; and identifying one or more differences between the first dataflow subgraph and the second dataflow subgraph based on the comparison.
[0014] The graphical representation includes a graphical representation of at least a portion of the first dataflow subgraph or at least a portion of the second dataflow subgraph, and the graphical representation includes a graphical indication of at least one of the identified differences between the first dataflow subgraph and the second dataflow subgraph.
[0015] The graphical representation includes a hierarchical representation of at least one of the identified differences between the first dataflow graph and the second dataflow graph and at least one of the identified differences between the first dataflow subgraph and the second dataflow subgraph.
[0016] Comparing the first dataflow graph specification to the second dataflow graph specification includes comparing a first file referenced by the first dataflow graph to a second file referenced by the second dataflow graph, and the graphical representation includes a graphical representation of one or more differences between the first file and the second file.
[0017] Identifying a first node or link that corresponds to a second node or link includes identifying the first node based on one or more of: (1) names of the first node or link and the second node or link; and (2) identifiers of the first node or link and the second node or link.
[0018] Identifying a first node or link that corresponds to a second node or link includes identifying the first node based on information associated with data flow into or out of the first node and the second node.
[0019] Identifying a first node or link that corresponds to a second node or link includes identifying the first node or link based on a node or link that is upstream or downstream of the first node or link and the second node or link.
[0020] The method includes preparing a first dataflow graph and a second dataflow graph for execution; and comparing specifications of the prepared first and second dataflow graphs.
[0021] In one aspect, a non-transitory computer readable medium stores instructions for causing a computer to display differences between a first executable dataflow graph and a second executable dataflow graph, each dataflow graph being executable to process data received by the dataflow graph, each dataflow graph including one or more nodes representing data processing components and one or more links representing data flow between the components. The instructions cause the computer to compare a specification of the first executable dataflow graph with a specification of the second executable dataflow graph to identify one or more differences between the first dataflow graph and the second dataflow graph. A specification of a given executable dataflow graph defines one or more nodes each representing a source of data to be processed by the dataflow graph, one or more nodes each representing a data processing component that defines operations to be performed to process data from the data source, and one or more nodes each representing a destination of data to be processed by the dataflow graph. Comparing the first dataflow graph to the second dataflow graph includes at least one of (1) identifying particular nodes or links of the first dataflow graph that do not correspond to any nodes or links of the second dataflow graph, and (2) identifying first nodes or links of the first dataflow graph that correspond to second nodes or links of the second dataflow graph and identifying differences between the first nodes or links and the second nodes or links. The instructions cause the computer to formulate a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including a graphical indication of at least one of (1) the identified particular nodes or links or (1) the identified differences between the first nodes or links and the second nodes or links, and cause the computer to display the graphical representation within the graph editing interface.
[0022] In one aspect, a system is for displaying differences between a first executable dataflow graph and a second executable dataflow graph, each dataflow graph being executable to process data received by the dataflow graph, each dataflow graph including one or more nodes representing data processing components and one or more links representing the flow of data between the components. The system includes a processor and memory configured to compare a specification of the first executable dataflow graph with a specification of the second executable dataflow graph to identify one or more differences between the first dataflow graph and the second dataflow graph. A specification of a given executable dataflow graph defines one or more nodes each representing a source of data to be processed by the dataflow graph, one or more nodes each representing a data processing component that defines operations to be performed to process data from the data source, and one or more nodes each representing a destination of data to be processed by the dataflow graph. Comparing the first dataflow graph and the second dataflow graph includes at least one of (1) identifying particular nodes or links of the first dataflow graph that do not correspond to any nodes or links of the second dataflow graph, and (2) identifying first nodes or links of the first dataflow graph that correspond to second nodes or links of the second dataflow graph and identifying differences between the first nodes or links and the second nodes or links. The processor and memory are configured to formulate a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including at least one graphical indication of (1) the identified particular nodes or links or (1) the identified differences between the first nodes or links and the second nodes or links, and the processor and memory are further configured to display the graphical representation within the graph editing interface.
[0023] In one aspect, a system is for displaying differences between a first executable dataflow graph and a second executable dataflow graph, each dataflow graph being executable to process data received by the dataflow graph, each dataflow graph including one or more nodes representing data processing components and one or more links representing the flow of data between the components. The system includes means for comparing a specification of the first executable dataflow graph with a specification of the second executable dataflow graph to identify one or more differences between the first and second dataflow graphs. A specification of a given executable dataflow graph defines one or more nodes each representing a source of data to be processed by the dataflow graph, one or more nodes each representing a data processing component that defines operations to be performed to process data from the data sources, and one or more nodes each representing a destination of data to be processed by the dataflow graph. Comparing the first dataflow graph and the second dataflow graph includes at least one of (1) identifying particular nodes or links of the first dataflow graph that do not correspond to any nodes or links of the second dataflow graph, and (2) identifying first nodes or links of the first dataflow graph that correspond to second nodes or links of the second dataflow graph and identifying differences between the first nodes or links and the second nodes or links. The system includes means for formulating a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including at least one graphical indication of (1) the identified particular nodes or links or (1) the identified differences between the first nodes or links and the second nodes or links, and means for displaying the graphical representation within the graph editing interface.
[0024] In one aspect, a method is for displaying differences between a first version of an executable dataflow graph and a second version of the executable dataflow graph, the dataflow graph being executable to process data received by the dataflow graph, each version of the dataflow graph including one or more nodes representing data processing components and one or more links representing a flow of data between the components. The method includes monitoring, by an integrated control system, a state of a job including one or more operations that may be executed to process the data, the job being associated with the first version of the executable dataflow graph. The method includes enabling output of information indicative of a state of the job; identifying the second version of the executable dataflow graph in response to user interaction with the integrated control system or the output information; and comparing a specification of the first version of the dataflow graph and a specification of the second version of the dataflow graph to identify one or more differences between the first version of the dataflow graph and the second version of the dataflow graph. A specification of a given executable dataflow graph specifies one or more nodes, each representing a source of data to be processed by the dataflow graph, one or more nodes, each representing a data processing component that specifies the operations to be performed to process the data from the data sources, and one or more nodes, each representing a destination of the data to be processed by the dataflow graph.Comparing the first version of the dataflow graph to the second version of the dataflow graph includes at least one of: (1) identifying a first node or link of the first version of the dataflow graph that does not correspond to any node or link of the second version of the dataflow graph, (2) identifying a second node or link of the second version of the dataflow graph that does not correspond to any node or link of the first version of the dataflow graph, and (1) identifying a third node or link of the first version of the dataflow graph that corresponds to a fourth node or link of the second version of the dataflow graph and identifying a difference between the third node or link and the fourth node or link. The method includes formulating a graphical representation of at least a portion of the nodes or links of the first version of the dataflow graph or the second version of the dataflow graph, the graphical representation including a graphical indication of at least one of the (1) identified first node or link, (2) identified second node or link, and (3) identified difference between the third node or link and the fourth node or link.
[0025] Some embodiments may include one or more of the following features.
[0026] The jobs that have already been executed are associated with a second version of the dataflow graph.
[0027] The graphical representation includes a hierarchical display of one or more of the identified differences.
[0028] The method includes formulating a graphical representation for display within a user interface of the integrated control system.
[0029] Identifying differences between the first version of the dataflow graph and the second version of the dataflow graph includes identifying differences between resolved parameters of the first version of the dataflow graph and resolved parameters of the second version of the dataflow graph.
[0030] Identifying differences between the first version of the dataflow graph and the second version of the dataflow graph includes identifying differences between a representation of parameters of the first version of the dataflow graph and a representation of parameters of the second version of the dataflow graph.
[0031] Identifying differences between the first version of the dataflow graph and the second version of the dataflow graph includes identifying differences between a first file referenced by the first version of the dataflow graph and a second file referenced by the second version of the dataflow graph.
[0032] Monitoring the status of a job may include monitoring one or more of the activity of the job, the actual start time of the job, the estimated start time of the job, a processing duration associated with the job, and the size of the job.
[0033] Monitoring the status of a job includes determining whether the job completed successfully.
[0034] The method includes monitoring a state of an application, where a job is associated with the application.
[0035] The method includes monitoring a state of a computing device, where the application is hosted by the computing device.
[0036] The techniques described herein enable the presentation of a graphical representation of differences between executable applications, such as computer programs (e.g., data flow graphs), thus providing a high-level visual overview of the differences between the applications. For example, a graphical representation of differences between a first data flow graph (e.g., an initial version of the data flow graph) and a second data flow graph (e.g., a post-edited version of the data flow graph) may depict a high-level view of parts that were added, removed, or modified during the editing process. The graphical representation of differences between the executable applications may be interactive. For example, a user may drill down into a part in the graphical representation to see more information about that part, such as information about modifications made to the part.
[0037] The presented information about the differences between data flow graphs may provide valuable technical assistance to developers during graph creation or editing. For example, a developer may use the visualization to reconcile developments that have occurred on various branches in a source code control system. A developer may use the visualization to refresh his or her memory about the latest changes he or she made to a version under source code control. A developer may use the visualization to evaluate other people's latest changes to a graph (e.g., to verify that another developer made expected changes and not any other changes, or to ensure that some quality standard has been met). A developer or quality control team may want to understand why the behavior of a graph has changed between successive versions (e.g., why a new version of a graph crashes, is slower, gives incorrect answers, consumes more CPU time, or otherwise behaves differently). A developer may want to edit a graph through the difference visualization, for example, to merge multiple versions into a single version or to undo changes to a graph.
[0038] Visualization of differences between graphs can be valuable to engineers after the graphs are generated. For example, new features generated by a development team can be integrated with minor bug fixes from manufacturing. A quality control team may become aware that a particular buggy line of code was introduced somewhere within a set of changes made to a graph, and visualization can be used to discover which version was the first to have that code so that affected customers can be notified. [Brief description of the drawings]
[0039] BRIEF DESCRIPTION OF THE DRAWINGS [Figure 1] 1 is a graph diagram. [Figure 2A-B] 1 is a diagram of a graphical representation of the differences between the graphs. [Diagram 3] 1 is a diagram of a navigation tree. [Diagram 4-7] 1 is a diagram of a node level view. [Figure 8A-B] 1 is a diagram of a graphical representation of the differences between the graphs. [Figure 9] 1 is a diagram of a navigation tree. [Figure 10] 1 is a diagram of different viewer interfaces. [Figure 11] 1 is a diagram of a graph analysis system. [Figure 12] 1 is a diagram of a processing environment. [Figure 13] 1 is a diagram of a control center interface. [Figure 14] 1 is a flowchart. [Figure 15] 1 is a diagram of a data processing system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0040] Detailed Description We describe herein techniques for graphically representing differences between executable applications, such as computer programs (e.g., dataflow graphs), thus providing a high-level visual overview of the differences between the applications. For example, a graphical representation of differences between a first dataflow graph (e.g., an initial version of the dataflow graph) and a second dataflow graph (e.g., a post-edited version of the dataflow graph) may depict parts that were added, removed, or modified during the editing process. The graphical representation of differences between the executable applications may be interactive. For example, a user may drill down into a part in the graphical representation to see more information about that part, such as information about modifications made to the part. In some cases, one or more of the differences between the executable applications may be manually or automatically transferred from one executable application to another application via user interaction with the graphical representation of differences between the executable applications.
[0041] A data flow graph (sometimes called a graph) is a visual representation of a computer program that may contain nodes that represent data processing components and data sets, such as data sources and data sinks. A data set may be, for example, a file, a database table, or other type of data source or sink that may provide data (e.g., data records) for processing by the graph or receive data that is processed by the graph. Data processing components and data sets are sometimes collectively referred to as nodes of the graph. A link connecting two nodes of the graph represents a flow of data between a first node and a second node. Figure 1 shows a simple data flow graph 10 that includes a data source 12 connected by a flow 14 to a filter component 16. The filter component 16 is connected by a flow 18 to a data sink 20.
[0042] Nodes of the graph may have input and / or output ports to which flows may be connected. In the example of Figure 1, the upstream ends of flows 14, 18 are connected to an output port of data source 12 and an output port of filter component 14, respectively. The downstream ends of flows 14, 18 are connected to an input port of filter component 14 and an input port of data sink 20, respectively.
[0043] Data processing components perform operations to process data. A data processing component is a graphical representation of an object defined by code that, when executed, performs the data processing component's operations. The data processing component's operations may be defined in terms of one or more parameters. The parameters may be defined in a file (e.g., a .dml file) referenced by the data processing component's code. For example, the file may contain values or representations of the parameters associated with the data processing component. When a graph is instantiated (e.g., at run time), the representation of the parameter is evaluated to obtain the parameter's value (sometimes referred to as resolving the parameter). The parameter value or representation may be defined, for example, by a user on a user interface (e.g., in response to a prompt), from a file, or in terms of another parameter in the same or a different context. For example, a parameter (e.g., a parameter that is evaluated in the context of a different component) may be exported from the different context by specifying the parameter to have the "same" relationship to another parameter.
[0044] In some examples, a component in a graph may be implemented using a set of other components that are themselves interconnected with flows. The set of components by which a component in a graph is implemented is called a subgraph and is a node of the graph.
[0045] An analysis (sometimes called a difference analysis) that identifies differences between a first graph and a second graph (e.g., a first version of the graph and a second edited version of the graph) may identify nodes that are present in the first graph but not in the second graph (called deleted or removed nodes), nodes that are present in the second graph but not in the first graph (called added nodes), or modified nodes. Modified nodes may be substantially similar between the first and second graphs, as discussed further below, but with changes to parameters, attributes, or other characteristics associated with the node. Difference analysis may also identify differences between the flow of the first graph and the flow of the second graph.
[0046] A plan is a visual representation of the processes involved in the execution of multiple graphs. In a plan, the individual graphs are nodes and are interconnected by flows that indicate the flow of data between the graphs of the plan. The techniques described herein may be used to graphically represent the differences between the plans. For example, a difference analysis performed on a first plan and a second plan may identify nodes (e.g., graphs) that are present in the first plan but not in the second plan, nodes that are present in the second plan but not in the first plan, or nodes that have been modified.
[0047] In some examples, a nested differencing analysis may be performed that identifies differences between plans, differences between corresponding graphs within the plans, differences between corresponding sub-graphs within the graphs, and / or differences between corresponding parameter files referenced by nodes in the graphs. A graphical representation of the results of the nested differencing analysis may show the hierarchical nature of the plans, graphs, and sub-graphs and the associated differences therewith.
[0048] Although we refer generally to the analysis and graphical representation of differences between graphs in the following discussion, the techniques may also be applied generally to the analysis and graphical representation of plans, sub-graphs, parameter files, and / or other files referenced by graphs.
[0049] Visualization of differences between graphs can be valuable to developers during graph creation or editing. For example, a developer may use a visualization to reconcile developments that have occurred on various branches in a source code control system. A developer may use a visualization to refresh his or her memory about the latest changes he or she made to a version under source code control. A developer may use a visualization to evaluate someone else's latest changes to a graph (e.g., to verify that another developer made expected changes and not any other changes, or to ensure that some quality standard has been met). A developer or quality control team may want to understand why the behavior of a graph changed between successive versions (e.g., why a new version of a graph crashes, or is slower, or gives incorrect answers, or consumes more CPU time). A developer may want to edit a graph through different visualizations, for example, to merge multiple versions into a single version or to undo changes to the graph.
[0050] Visualization of differences between graphs can be valuable for people in supervisory roles, such as project managers, who want to see updates to the graphs but do not necessarily intend to edit the graphs themselves.
[0051] Visualization of differences between graphs can be valuable after the graphs are created. For example, new features created by the development team can be combined with minor bug fixes from production. A quality assurance team may become aware that a particular buggy line of code was introduced somewhere within the set of changes made to the graph, and visualization can be used to discover which version was the first to have that code so that affected customers can be notified.
[0052] 2A and 2B, in one example, a graphical representation of two versions of a graph (a representation of a first version 200 (sometimes simply referred to as the first version 200) and a representation of a second version 202 (sometimes simply referred to as the second version 202)) are shown on a canvas. For example, the graph may be in a process of development, with the first version 200 being an initial version of the graph and the second version 202 being a more recent version of the graph. Differences between the first and second versions 200, 202 of the graph are graphically displayed, for example, by indicia representing the differences between the first and second versions 200, 202 of the graph. The indicia may be, for example, color, shading, fill, an icon, a symbol, a text annotation, or other type of indicia. In one example, deleted nodes (nodes that are present in the first version 200 of the graph but not in the second version 202 of the graph) are shown in red. Added nodes (nodes that are present in the second version 202 of the graph but not in the first version 200 of the graph) are shown in green. Modified nodes (nodes that are present in both versions of the graph 200, 202 but are not identical) are shown in blue.
[0053] 2A, 2B, the output file 204 is a deleted node that is present in the first version 200 of the graph but not in the second version 202. The output file 204 is shown on the canvas in red. The filter component 206 and the trash component 208 are added nodes that are present in the second version 202 of the graph but not in the first version 200. The filter component 206 and the trash component 208 are shown on the canvas in green. The reformat component 210 is present in both versions 200, 202 of the graph but has been modified. For example, the representation or value of a parameter or attribute of the reformat component 210 may differ between the two versions 200, 202 of the graph. The reformat component 210 is shown on the canvas in blue.
[0054] In some examples, nodes of the first and / or second versions 200, 202 of the graph may be responsive to user interactions such as clicks, taps, hovers, or other interactions. For example, a user may hover a pointer over a reformatting component 210 to see additional information about the modification, such as a list of parameters or attributes of the reformatting component 210 that differ between the first and second versions 200, 202 of the graph. In some examples, the additional information may be displayed on the canvas (e.g., near the node or in blank space on the canvas). In some examples, a new window or information bubble is opened (e.g., in front of the canvas) to display the information.
[0055] 3, in some examples, the graphical representation of the differences between the first and second versions 200, 202 of the graph may take the form of a hierarchical list in a navigation tree 220. The navigation tree 220 may enumerate the nodes in the graph 200, 202 in a tree structure that resembles a logical structure. In some examples, the navigation tree 220 may enumerate all of the nodes in the graph 200, 202. In some examples, the navigation tree 220 may enumerate only the nodes that are different between the versions 200, 202 of the graph (e.g., only the nodes that were added, removed, and modified).
[0056] A navigation tree may be used to depict a hierarchical list of differences between plans. A navigation tree for a plan may include a list of nodes (e.g., a graph) in addition to other aspects of the plan, such as a list of tasks, a list of methods, or other aspects.
[0057] Each added, deleted, and modified node is represented by an entry in the hierarchical list of the navigation tree 220. An icon associated with each node on the list indicates whether the node is an added, deleted, or modified node, for example by the color, shading, fill, shape, or another characteristic of the icon. In the example of Figure 3, the icon for a deleted node is a green square, the icon for an added node is a green square, and the icon for a modified node is a blue square.
[0058] One or more of the entries in the navigation tree 220 may include subentries, for example, to provide additional information about the node. For example, if a node is a modified node, each feature of the node that differs between the first and second versions 200, 202 of the graph may be listed in a corresponding subentry under the entry for the modified node. For example, for the reformatted part 210 (a modified part), a subentry may be included in the navigation tree 220 for each feature (e.g., a parameter, or attribute, or other feature) that differs between the first and second versions 200, 202. The subentry may include information about the feature, such as, for example, the type of feature (e.g., parameter, attribute, or other type of feature), the name of the feature, the value of the feature in the first version 200 of the graph, the value of the feature in the second version 202 of the graph, or other information.
[0059] 4, in some examples, the differences between modified nodes (e.g., reformatted parts 210) of the first and second versions 200, 202 of the graph may be displayed in a tabular format in a node-level view 250. The node-level view 250 includes one or more tables that list characteristics of the nodes, such as the node's description, parameters, attributes, layout, ports, or other characteristics.
[0060] In the example of FIG. 4, the parameters and attributes table lists the parameters and attributes of the node. The parameters and attributes table may include only those parameters and attributes that have different values or representations between the first and second versions of the graph, or may include all parameters and attributes of the node. Each row represents a parameter or attribute and includes the value or representation of the parameter or attribute in the first version 200 of the graph (referred to as the "old value") and / or the value of the parameter or attribute in the second version 202 of the graph (referred to as the "new value"). Values that differ between the first and second versions 200, 202 of the graph may be marked with an indicator, such as a highlight, an icon, or another type of indicator. For example, in the example of FIG. 4, the old and new values of the transformation component are highlighted to indicate that these values differ between the first and second versions 200, 202 of the graph.
[0061] The name column of a table in node level view 250 displays the name of a parameter or attribute. In some examples, the name column may include an indication (e.g., an icon, letter, or another indication) of whether the name is the name of a parameter or attribute. For example, parameter names may be marked with a diamond and attribute names may be marked with an equal sign. In some examples, the name column may include an indication of whether the parameter is an input parameter or a local parameter.
[0062] 5, in some examples, the node level view parameters and attributes table 260 may include additional columns, such as a Type column, a Required column, an Exported column, or another column. The Type column may display a dml type parameter if applicable. The Type column does not apply to part attributes. For plans, the Type column may display a task type, such as graph, string, selection, or another task type. The Required column may include an indication of whether the parameter is required and whether the parameter's required state has changed between versions. The Exported column may include an indication of whether the parameter is exported and whether the parameter's exported state has changed between versions.
[0063] With reference to FIG. 6 , the node level view may include a port table 270 that includes a list of the ports of the node. The list of ports may include only the ports that changed between the first and second versions of the graph or may include all ports. Each row represents a port and includes the name of the port and the type of difference (e.g., added, deleted, or modified). The type of difference may be depicted by an indicator. In some examples, a user may interact with the name of the port (e.g., by clicking or tapping on the name) to access a list or table of the port's parameters.
[0064] Referring to FIG. 7 , in characterizing the differences between the plans, the node level view may include a methods table 280 that includes a list of the methods of the plan. The list of methods may include only the methods that changed between the first and second versions of the plan or may include all methods. Each row represents a method and includes the name of the method and the type of difference (e.g., deleted, added, or modified). The type of difference may be depicted by an indicator. In some examples, the user may interact with the name of the method (e.g., by clicking or tapping on the name) to access a list or table of parameters for the method.
[0065] In some examples, a text difference view (not shown) may display the code of the node (e.g., the modified node) with an indication of the differences between the code of the node in each of the first and second versions of the graph. The differences may be indicated, for example, by formatting (e.g., underlining, strikethrough, bold, italics, or other formatting), highlighting, or other techniques. In some examples, the code of the node in only one of the versions of the graph is presented with an indication of the differences between the presented code and the code of the node in the other version of the graph. In some examples, the code of the node in both versions of the graph is presented, and each version of the code may have an indication of the differences relative to the other version of the code.
[0066] Each of these various views of the differences between the first and second versions 200, 202 of the graph may present advantages to the user. The graphical display on the canvas 20 of the differences between the first and second versions 200, 202 of the graph allows the user to quickly grasp the differences at a high level without a large amount of detail. For example, the display of the first and second versions 200, 202 on the canvas allows the user to quickly visualize which nodes have been added or removed and which nodes have been modified. The hierarchical list of the navigation tree 220 allows the user to focus on individual nodes outside the context of the rest of the graph. The node level view 250 provides the user with access to specific information about changes to nodes so that, for example, the user may drill down to a detailed understanding of the characteristics of the nodes in each version 200, 202 of the graph.
[0067] In some examples, a graph may include subgraphs, and a graphical representation of the differences between the two graphs may provide information regarding the differences between the subgraphs referenced by the graph. With reference to Figures 8A, 8B, a representation of a first version 900 and a second version 902 of a graph including a subgraph 904 is shown on a canvas. The differences between the first and second versions 900, 902 are indicated by indicators. If differences exist within a subgraph, an indicator on the subgraph may provide a high-level indication of the differences. In some examples, additional information, such as a list or description of the differences within the subgraph 904, may be provided in response to user interaction with the subgraph 904. In some examples, the parts that form the subgraph 904 may be displayed (optionally with an indicator of the differences) in response to user interaction with the subgraph 904.
[0068] 8A and 8B, output file 906 has been deleted, and a filter component 908 and a trash component 910 have been added. In addition, nodes in subgraph 904 have been modified, which is depicted by indices on subgraph 904.
[0069] 9, a navigation tree 920 may enumerate the added, deleted, and modified nodes of the first and second versions 900, 902 of the graph. If a node of a subgraph 904 has been added, deleted, or modified, the subgraph 904 is included in a list and the node (e.g., the reformatted part) is listed in a subentry under the entry for the subgraph 904. If an listed node of the subgraph 904 is a modified node, the subentry for that node (e.g., the reformatted part) may itself have a subentry for each feature (e.g., parameter, or attribute, or other feature) that differs between the first and second versions 900, 902 of the graph.
[0070] With reference to FIG. 10, in some examples, multiple views may be integrated into a difference viewer interface (sometimes referred to as a difference viewer) 60. The example difference viewer 60 of FIG. 10 includes a canvas 62 that shows a graphical representation of a first version 600 of a graph and a second version 602 of a graph. In the difference viewer 60 of FIG. 10, the canvas 62 shows the first and second versions 600, 602 of the graph in a side-by-side orientation; in some examples, the canvas may show the first and second versions 600, 602 in a top-down orientation. The canvas 62 may be scalable and slideable to allow a user to focus within an area of interest of the first or second versions 600, 602 of the graph. The difference viewer 60 also includes a navigation tree 620 and a node-level view 650. In the difference viewer 60, the various levels of information presented by the various views are all accessible to the user within a single, compact user interface.
[0071] 10, the indicators are icons located near the nodes, and the shape and color of the icons together indicate the type of difference. For example, a red "X" indicates a deleted node, a green plus sign indicates an added node, and a yellow asterisk indicates a modified node. Entries in the navigation tree 620 may be grouped by the type of change, such as added, deleted, or modified.
[0072] The differences viewer 60 may be interactive. For example, a user may select a difference to obtain information about that difference. Information about the difference may be displayed only in the view in which the user selected the difference, or in one or more additional views (e.g., in all views). For example, when a user interacts with a node on the canvas (e.g., by clicking on the "Preprocess Old" component 604), subentries for that node may be displayed on the navigation tree, and a table of the node's features may be displayed in the node-level view. The canvas, navigation tree, and node-level view may all be visible simultaneously in the differences viewer 600, allowing a user to gain a complete understanding of both the high-level differences and the details about the differences of the selected node.
[0073] In some examples, the type of interaction a user has with a node controls the information that is displayed for that node. For example, a single click on a node may cause the node's features (e.g., parameters or attributes) to be displayed in the node level view 650. A second click on a subgraph may expand the subgraph in the canvas, cause the subgraph's attributes and parameters to be displayed in the node level view 650, and expand the subgraph's entry in the navigation tree 620. Other examples of information displayed in response to various types of user interactions may also be provided.
[0074] In some examples, the user may step through each difference sequentially to see information about any differences between the first and second versions 600, 602. In some examples, the user may choose to display only those differences that may affect graph execution, such as changes to parameter values or adding or removing nodes. In some examples, the user may choose to display all differences, including both those that may affect graph execution and those that do not affect graph execution (e.g., differences to comments and legends, changes to attribute values for attributes such as author and version attributes, changes to xy coordinates of node placement, font changes, or other differences).
[0075] 11, a graph analysis system 80 for analyzing differences between a first graph 800 and a second graph 802 includes a graph analyzer engine 804 that analyzes the specifications of each graph 800, 802. The graph analyzer engine 804 determines which nodes (e.g., parts or data sets) in the first graph 800 correspond to nodes in the second graph 802. Corresponding nodes are not necessarily identical and may be modified between the graphs, but are typically similar enough to be considered the same node in both graphs.
[0076] In some examples, the graph analyzer engine 804 identifies corresponding nodes based on metadata associated with the nodes, such as one or more of the type of node (e.g., data processing component vs. data set, or a particular type of data processing component or data set), the name of the node, a unique identifier of the node, or other metadata associated with the node. In some examples, the graph analyzer engine 804 identifies corresponding nodes based on information related to data flows into or out of the node (e.g., names or numbers of ports, names or sources of data flows into the node, names or destinations of data flows out of the node, or other information related to data flows into or out of the node, etc.). In some examples, the graph analyzer engine 804 identifies corresponding nodes based on topological information, such as where a particular node is located in the graph relative to other nodes (e.g., which nodes are upstream or downstream of a particular node). In some examples, the graph analyzer 804 identifies corresponding nodes based on the position (e.g., xy coordinates) of the node in the graphical representation of the graph on the canvas. However, in some examples, the graph analyzer 804 does not use position information in identifying corresponding nodes (e.g., because the position of the node on the canvas does not affect the function of the node or the graph that contains the node).
[0077] Any node in the first graph 800 that has no corresponding node in the second graph 802 is identified by the graph analyzer engine 804 as a deleted node. Any node in the second graph 802 that has no corresponding node in the first graph 800 is identified by the graph analyzer engine 804 as an added node. Corresponding nodes between the first and second graphs 800, 802 are analyzed by the graph analyzer engine 804 to determine if the nodes have been modified. The visualization engine 810 generates data that enables rendering of a graphical representation of the differences between the first and second graphs 800, 802.
[0078] In some examples, the graph analyzer engine 804 may analyze both features that may affect graph execution and features that do not affect graph execution. Features that affect graph execution may include parameters, such as, for example, parameter expressions or parameter values. Features that do not affect graph execution may include, for example, attribute values (e.g., author attributes, name attributes, version attributes, or other attributes), comments, legends, formatting (e.g., fonts), position of parts on the canvas, or other features. In some examples, the graph analyzer engine 804 may analyze only features that may affect graph execution and ignore features that do not affect graph execution.
[0079] Analysis of the parameters associated with each of the two corresponding nodes may identify whether a parameter has been added (e.g., a parameter that is present in the node of the second graph but not in the corresponding node of the first graph) or whether a parameter has been removed (e.g., a parameter that is present in the node of the first graph but not in the corresponding node of the second graph). Analysis of the parameters may include analysis of an expression that defines the parameters, analysis of the values of the parameters, or both.
[0080] In some examples, an analysis of parameters associated with each of the two corresponding nodes may determine whether the representation of the corresponding parameters has been modified. To analyze the representation of the parameters, the parameter analysis may be performed on the source code corresponding to each node. In some examples, the parameter analysis may be performed after the graphs 800, 802 are instantiated and all parameters are resolved (e.g., after each graph references the node specifications and calls the parameter file). When the parameter analysis is performed after graph instantiation, the graph analyzer engine 804 compares the parameter values.
[0081] In some examples, the order of parameters associated with each of the two corresponding nodes may be analyzed by the graph analyzer engine 804; in some examples, the order of parameters is ignored by the graph analyzer engine. In some examples, the representations or values of parameters used only for dependency analysis may be analyzed by the graph analyzer engine 804; in some examples, the representations or values of these parameters are ignored by the graph analyzer engine.
[0082] In some examples, the graph analyzer engine 804 may analyze external files referenced by the graphs or plans to identify any differences between files referenced by the graphs 800, 802. In some examples, only certain types of files, such as record format files (e.g., .dml files), transformation files (e.g., .xfr files), or other types of files whose contents may affect the execution of the graph, are analyzed by the graph analyzer engine 804. Other files, such as files that provide data for processing by the graphs or plans, are not considered.
[0083] In some instances, the graph or plan being analyzed may be upgraded to a common file format prior to analysis. For example, the graph or plan may be upgraded to the current file format of the graph or plan or to a newer file format. In some instances, the graph or plan may be analyzed in its original file format. It may be useful to retain the original file format for comparison (e.g., to identify differences caused by or otherwise related to the file format change).
[0084] In some examples, the scope of analysis performed by the graph analyzer engine 804 may be set by default, e.g., the graph analyzer engine 804 may be set by default to consider only differences that affect graph execution. In some examples, a user may specify the scope of analysis performed by the graph execution engine.
[0085] In some examples, the graphical representation of the differences between graphs may be integrated into a software development platform that may be used by software developers to develop or maintain software such as graphs. The developers may utilize the graphical representation of the differences between a previous version of a graph and an updated version of a graph, for example, to keep themselves aware of recent changes, to review another developer's recent changes, or to identify potential reasons why a modification to a graph was not successful, or for other purposes.
[0086] In some examples, the graphical representation of the differences between the graphs may be integrated into a software management platform that may be used by an administrator overseeing the development or maintenance of software, such as the graphs. The administrator may utilize the graphical representation of the differences between an older version of the graph and an updated version of the graph, for example, to observe software development progress, to identify portions of the graph that require additional development, to aid in troubleshooting, or for other purposes.
[0087] In some examples, the graphical representation of the differences between the graphs may be integrated into an operational control center that facilitates the integrated management of various components of the processing environment. The control center may monitor and display the status of components of the processing environment, such as computer devices, applications, or jobs, and may enable operators to actively manage the components of the processing environment. A description of an exemplary control center may be found in U.S. patent application Ser. No. 14 / 690,114, which is incorporated herein by reference in its entirety.
[0088] 12, a processing environment 900 includes hardware and software components that may be operated by or on behalf of a user 902 to process data. The hardware components may include hardware computing devices 904, such as servers, sometimes referred to as "hosts." Each of the servers may include one or more data processing devices and one or more storage devices for storing instructions executed by the one or more data processing devices. The software components of the processing environment 900 may include applications 906, jobs 908, or services 910. Each of the software components executes on or affects one or more hosts 904.
[0089] An application 906 is a computer program, such as a software product, that may be used to perform various data processing functions, including, for example, setting up a framework for data processing, executing a data processing framework, or analyzing processed data. An application may be a program targeted to perform or help a user perform a task in a particular domain, such as word processing. One or more jobs 908 may be performed using one or more hosts 904, one or more applications 906, or both of the processing environment 900. A job 908 is a set of one or more operations that are performed to process data. An example of a job is a graph or a plan in a graph-based processing environment.
[0090] In some examples, an application 906 or a job 908 may utilize one or more services 910. A service 910 is a special case of an application, such as a long-running application (e.g., an application that is expected to run as long as a host or server is running) that targets a specific set of tasks (services) performed on behalf of the application or user. Exemplary tasks that may be performed by a service 910 include, for example, logging events or visualizing events via a user interface. Exemplary services 910 include, for example, a database 912, a queue 914, a file 916, an application server 918, or another type of service.
[0091] An integrated control center 950 monitors the real-time status of the hardware and software components of the processing environment 900. In some examples, the control center 950 may execute on one of the hosts 904; in some examples, the control center 950 executes on a separate computing device 952. For example, the control center 950 may monitor the status of the hosts 904 and applications 906 that the users 902 access and for which jobs 908 are executed on behalf of the users 902. Real-time status information 954 regarding the components of the processing environment 900 may be displayed on a user interface 956. The status information 954 may be displayed in an integrated manner to highlight relationships between individual components of the processing environment 900, such as the hosts 904, applications 906, jobs 908, services 910, or other components. The status information 954 may be displayed to show the status of one or more components or relationships between the status of the individual components of the processing environment. Real-time status information and historical status and data processing metrics (e.g., metrics related to number of records processed, processing time, processing duration, or other metrics) may be available via the control center. Through the user interface 956, the user 902 may take actions related to one or more components of the processing environment or may define actions to be automatically performed in response to predetermined occurrences related to one or more components of the processing environment.
[0092] Examples of real-time status metrics that may be monitored and displayed for the host 904 include, for example: ● The operational status of the host: for example, whether the host is online, online with an error or warning condition, or offline. In some cases, the control center 950 may monitor details related to the operational status of the host, such as whether the host is offline for planned maintenance or offline due to a failure (e.g., a disk failure). ● Total central processing unit (CPU) utilization of the host. ● The total available or used memory of the host. ● The number of file systems associated with the host. - Total available or used disk space of the file system. ●The number of jobs running on the host. ● Identifiers for each job running on the host. ●CPU utilization, memory utilization, or both by each job running on the host. ●The number of applications running on the host. ● Identifiers for each application running on the host. ●CPU utilization, memory utilization, or both by each application running on the host. - The CPU usage, memory usage, or both of a particular user 902 relative to the maximum amount of CPU or memory licensed by that user. The state of the license key stored on the host (eg, expiry date) and an identifier for the application associated with that license key. Operating system parameters Number of CPUs ●CPU class ●CPU speed
[0093] Other real-time status metrics may also be monitored. In some examples, the user 902 may define custom status metrics to be monitored by the control center 950.
[0094] The control center 950 may also maintain information that allows tracking of historical status metrics of the hosts 904. For example, the control center 950 may maintain information that allows tracking of the historical operating conditions of the hosts, such as the percentage of time that the hosts 904 were offline over a period of time, the number of error or warning conditions that the hosts 904 experienced over a period of time, or other indicators of the historical operating conditions. The control center 950 may maintain information that allows tracking of the average or total number of jobs 908 running on the hosts 904, the average or total number of applications 906 running on the hosts 904, the average or maximum CPU load of the hosts 904, the average or minimum available memory of the hosts 904, or other indicators of the historical status of the hosts 904. While some of this type of information may be found in one or more log files of the hosts 904, the consolidated view provided by the control center 950 makes the information more easily accessible and easier to understand, thus allowing those with less specific technical knowledge to access and analyze the historical status metrics of the hosts 904.
[0095] Examples of real-time status metrics that may be monitored and displayed for a product or service include, for example: ● The status of the product or service license key: for example, valid, valid but expiring, or expired. - An identifier for the key server to which the license key for the product or service is issued. - The identifier of the host on which the product or service is running. • The number of jobs that use the product or service. ● An identifier for the job for which the product or service is used. - The location of the product or service's configuration files. ●The location of the product or service log files. - Identifiers for any services used by the product or service. • The respective status of the services used by the product or service (for example, online, online with an error or warning condition, offline). • The identity and condition of any parts related to the product or service.
[0096] Other real-time status metrics may also be monitored. In some examples, the user 902 may define custom status metrics to be monitored by the control center 950.
[0097] Examples of real-time status metrics that may be monitored and displayed for a job 908 include, for example: ● The real-time running status of the job: for example, whether the job is running, stopped or paused, waiting to run, or completed. ● The job's start time, duration (if in progress), or finish time (if completed). ● Whether the total elapsed time of the job meets the target processing time for the job (e.g., service level agreement (SLA)). ● The identifier of the host on which the job is running. ●CPU usage by the job. - Identifiers for any products or services utilized by the job. ● The type of data output by the job. ● The location of data output by the job. ● The number of records that are processed during the job execution. ● The number of records rejected during the job execution. - The state of each of the services used by the job.
[0098] Other real-time status metrics may also be monitored. In some examples, the user 902 may define custom status metrics to be monitored by the control center 950.
[0099] The control center 950 may also maintain information that allows tracking of historical status metrics of jobs 908. For example, the control center 950 may maintain information that allows tracking of average run time, average CPU utilization, average number of rejected records, or other historical metrics of a given type of job.
[0100] Examples of job-related behaviors that may be employed are, for example: ●Start or stop a job. ● Schedule jobs. ●Rerun the job. ● Disable a job so that it does not run. ● Enable the job to run. ●Put the job on hold. ●Release a job from hold. ●Investigate and resolve job-related issues. ● Ignore a failed job so that jobs that depend on it will run anyway. View and navigate to any preceding or following jobs. ● View and navigate to any previous runs of the job. View and navigate to a parent job or any child job. ● View queues used by jobs. ● View files used by a job. ● View resources used by a job. ● View products and services used by jobs.
[0101] The control center may also enable actions other than those listed above.
[0102] The control center may monitor the queues 914 used by jobs. In some embodiments, since jobs depend on data being passed between data processing components, knowing the queue status gives users insight into the overall performance of the job.
[0103] The control center may monitor resources used by jobs. Resources represent some aspect of the processing environment used by a plan. For example, hardware components, tools, or program objects may be defined as resources. CPU time, processor units, FTP (file transfer protocol) ports, disk space, file counts, input streams, and event triggers, and JVM (Java virtual machine) pools are examples of resources. The purpose of defining resources is to balance demand and capacity within the processing environment. In particular, resources may be used to impose maximum limits and orders on the load on the system.
[0104] The user interface 956 displays some or all of the status information monitored by the control center 950 and allows a user to take actions related to one or more components of the processing environment 900. Typically, the status information is displayed and linked on the user interface 956 in a coherent and integrated manner that highlights the relationships between the various components of the processing environment 900. Rather than displaying information about each individual component of the processing environment in isolation, this display paradigm provides visible and accessible insight into the overlaps between the components of the processing environment. This display paradigm allows both the potential causes of a performance problem with a particular component and the potential impact of the performance problem with other components to be understood and addressed.
[0105] For example, through a consolidated display of information provided on the user interface 956 of the control center 950, the user 902 may identify jobs 908 that will be affected if a particular host 904 is taken offline for maintenance. Conversely, the user 902 may notice that some jobs 908 are slower than expected. Through the user interface 956, the user 902 may be able to determine that these jobs 908 are all running on the same host 904, and that the host 904 is CPU-bound or I / O-bound. In either case, the user 902 may take action to mitigate any potential performance problems or to resolve the actual performance problems. For example, through the user interface 956 and in response to notification that the host 904 will be taken offline for planned maintenance, the user 902 may temporarily migrate the affected jobs 908, or the applications 906 utilized by those jobs 908, or both, onto a different host 908. In the example of a CPU-bound or I / O-bound host 904 , a user may alert a system administrator to potential capacity issues with that host 904 .
[0106] In some examples, when a job associated with a graph is performed, an operations control center records a version of the graph's source code. If the job does not complete successfully, the graph associated with the job may be executed and compared to another version of the graph (e.g., a graph associated with a previously successfully completed job). A graphical representation of the differences between the two versions of the graph may help an operator easily understand what changed that may have caused the job to fail.
[0107] In some examples, the comparison between the two versions of the graph may occur in response to a user input (such as a request by a user to obtain more information about a failed job. For example, a user may access the comparison functionality via the user interface 956 or via an alert or communication indicating a failed status of the job.
[0108] 13, in an example of an operations control center interface 350, a jobs window 352 provides access to details about jobs, such as completed jobs, jobs currently running, or jobs scheduled to run in the future. From the jobs window 352, a compare action 354 allows the version of the graph on which the job was run to be compared to another version of the graph, such as the current version or a previous version. In the example of FIG. 12, the jobs window 352 provides details about the most recent job that was successfully run based on a particular graph, and the compare action 354 compares that version of the graph to the current version of the graph. Such a comparison may be useful, for example, to understand why a job running based on the current version of the graph can no longer complete successfully. Such a comparison may also be useful, for example, to determine whether the graph has been modified relative to an earlier version.
[0109] 14, in an exemplary approach for graphically representing differences, a specification of a first computer program (e.g., a first graph) is compared to a specification of a second computer program (e.g., a second graph) (300). Based on the comparison, one or more differences between the first and second computer programs are identified (302). The one or more differences may include a node that is present in the first graph but not in the second graph. The one or more differences may include a first node in the first graph that corresponds to a second node in the second graph and has a different characteristic (e.g., parameter value or representation of the parameter) from the corresponding characteristic of the second node. A graphical representation of the identified differences is rendered (304). The graphical representation is responsive to user interaction.
[0110] 15 illustrates an example of a data processing system 1000 in which the technique of graphic representation of differences may be used. The system 1000 includes a data source 1002, which may include one or more sources of data, such as a storage device or a connection to an online data stream, each of which may store or provide data in any of a variety of formats, such as a database table, a spreadsheet file, a flat text file, or a native format used by a mainframe computer. The data may be logistic data, analytical data, or machine data. The execution environment 1004 includes a pre-processing module 1006 and an execution module 1012. The execution environment 1004 may be hosted on one or more general-purpose computers under the control of a suitable operating system, such as a version of the UNIX operating system. For example, the execution environment 1004 may include a multiple-node parallel computing environment, including the configuration of a computing system using multiple central processing units (CPUs) or processor cores, either local (e.g., a multiprocessor system such as a symmetric multi-processing (SMP) computer), or locally distributed (e.g., multiple processors coupled as a cluster or massively parallel processing (MPP)) system, or remote or remotely distributed (e.g., multiple processors coupled via a local area network (LAN) and / or wide-area network (WAN)), or any combination thereof.
[0111] The storage device providing the data source 1002 may be local to the execution environment 1004, for example stored on a storage medium (e.g., hard drive 1008) connected to the computer hosting the execution environment 1004, or may be remote to the execution environment 1004, for example hosted on a remote system (e.g., mainframe computer 1010) that communicates with the computer hosting the execution environment 1004 over a remote connection (e.g., provided by a cloud computing infrastructure).
[0112] The pre-processing module 1006 reads data from the data source 1002 and prepares the data processing application for execution. For example, the pre-processing module 1006 may compile the data processing application, store and / or load the compiled data processing application from and / or to a data storage system 1016 accessible to the execution environment 1004, and perform other tasks to prepare the data processing application for execution.
[0113] The execution module 1012 executes the data processing application prepared by the pre-processing module 1006 to process a set of data and generate output data 1014 resulting from this processing. The output data 1014 may be returned and stored or otherwise used in the data source 1002 or in a data storage system 1016 accessible to the execution environment 1004. The data storage system 1016 is also accessible to a development environment 1018, where a developer 1020 may design and edit the data processing application executed by the execution module 1012. The development environment 1018, in some embodiments, is a system for developing applications as data flow graphs that include vertices (representing data processing components or data sets) connected by directed links (representing the flow of work elements (i.e., data)) between the vertices. For example, such an environment is described in detail in U.S. Patent Application Publication No. 2007 / 0011668, entitled "Managing Parameters for Graph-Based Applications," which is incorporated herein by reference. A system for performing such graph-based computations is described in U.S. Patent No. 5,966,072, entitled "EXECUTING COMPUTATIONS EXPRESSED AS GRAPHS," which is incorporated herein by reference. Dataflow graphs created in accordance with this system provide a method for getting information into and out of the individual processes represented by the graph components, moving information between the processes, and prescribing the execution order of the processes. The system includes an algorithm for selecting an inter-process communication method from any available method (e.g., communication paths following the links of the graph may use TCP / IP or UNIX domain sockets, or may use shared memory to pass data between processes).
[0114] The pre-processing module 1006 may receive data from various types of systems (including various forms of database systems) that may embody the data source 1002. The data may be organized as records with values for each field (also called "attributes" or "columns"), possibly including null values. When initially reading data from a data source, the pre-processing module 1006 typically starts with some initial format information about the records in that data source. In some situations, the record structure of a data source may not be known initially, but instead may be determined after parsing the data source or data. The initial information about the records may include, for example, the number of bits that represent distinct values, the order of the fields in the record, and the type of value represented by the bits (e.g., string, signed / unsigned integer).
[0115] The techniques for the graphical representation of the differences described above may be implemented using a computer system executing suitable software. For example, the software may include procedures in one or more computer programs executing on one or more programmed or programmable computer systems (which may be of various architectures such as distributed client / server or grid), each of which includes at least one processor, at least one data storage system (including volatile and / or non-volatile memory and / or storage elements), at least one user interface (for receiving input by using at least one input device or port, and for providing output by using at least one output device or port). The software may include one or more modules of a larger program that provides services related to, for example, the design, configuration, and execution of the graph. The modules of the program (e.g., elements of the graph) may be implemented as data structures or other organized data conforming to a data model stored in a data repository.
[0116] The software may be provided on a tangible non-transitory medium such as a CD-ROM or other computer readable medium (e.g., readable by a general purpose or special purpose computer system or device), or may be distributed over a communication medium of a network to a tangible non-transitory medium of a computer system on which it is executed (e.g., encoded in a propagated signal). Some or all of the processing may be performed on a special purpose computer or by using dedicated hardware such as a coprocessor or a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The processing may be performed in a distributed manner, where different parts of the computation defined by the software are performed by different computer elements. Each such computer program is preferably stored on or downloaded to a computer readable storage medium (e.g., solid state memory or medium, or magnetic or optical medium) of a storage device accessible by a general purpose or special purpose programmable computer to configure and operate the computer when the storage medium is read by the computer to perform the processes described herein. The inventive system may also be considered to be embodied as a tangible, non-transitory medium configured with a computer program, where the medium so configured causes a computer system to operate in a specific and predetermined manner to perform one or more of the processes described herein.
[0117] Many embodiments of the present invention have been described. Nevertheless, it should be understood that the foregoing description is intended to be illustrative, but not limiting, of the scope of the present invention, which is defined by the appended claims. Accordingly, other embodiments are also within the scope of the following claims. For example, various modifications can be made without departing from the scope of the present invention. In addition, some of the things described above may be out of order, and therefore may be performed in a different order than described.
Claims
1. 1. A method of displaying differences between a first executable data flow graph and a second executable data flow graph, each data flow graph being executable to process data records received by said data flow graph, each data flow graph including one or more nodes representing data processing components and one or more links representing flows of data records between the components, the method comprising: comparing, by a computer, at least a portion of the specification of the first executable dataflow graph to at least a portion of the specification of the second executable dataflow graph to identify one or more differences between at least a portion of the first dataflow graph and at least a portion of the second dataflow graph; The specification of a given executable data flow graph defines one or more nodes, each representing a data processing component configurable to specify operations to be performed to process data records, the data flow graph being configured, when executed, to: (1) receive and process data records from a data source; and (2) provide the processed data records to a data sink; The comparing of at least a portion of the first data flow graph specification with at least a portion of the second data flow graph specification comprises: (1) identifying a particular node in the first data flow graph that does not correspond to any node defined by at least a portion of the specification of the second data flow graph, the particular node representing a data processing component configurable to define operations to be performed to process data records; (2) identifying particular links in the first data flow graph that do not correspond to any links defined by at least a portion of the specification of the second data flow graph, the identified particular links representing flows of data records between components represented by nodes of the first data flow graph; (3) identifying a first node of the first data flow graph that corresponds to a second node defined by the at least a portion of the specification of the second data flow graph, the identified first node representing a data processing component configurable to define operations to be performed to process data records, and identifying a difference between the first node and the second node; (4) identifying first links in the first data flow graph that correspond to second links defined by the at least a portion of the specification of the second data flow graph, the identified first links representing flows of data records between components represented by nodes of the first data flow graph, and identifying differences between the first links and the second links; and The comparing, wherein identifying differences between the first node or link and the second node or link, includes one or more of: (a) analyzing resolved parameters of the first node or link and resolved parameters of the second node or link, where as each graph is instantiated, parameters are resolved by evaluating a representation of the parameters; and (b) analyzing a representation of the parameters of the first node or link and a representation of the parameters of the second node or link. Furthermore, the computer displaying within a graph editing interface a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including at least one graphical indication of (1) the identified particular nodes or links, and (2) the identified differences between the first nodes or links and the second nodes or links; The method includes:
2. 2. The method of claim 1 , wherein identifying differences between the first node or link and the second node or link comprises identifying differences between resolved parameters of the first node or link and resolved parameters of the second node or link.
3. 2. The method of claim 1 , wherein identifying differences between the first node or link and the second node or link comprises identifying differences between a parametric representation of the first node or link and a parametric representation of the second node or link.
4. The method of claim 1 , wherein the graphical indicator is a shading, fill or color of the first, second or particular node or link in the graphical representation.
5. The method of claim 1 , wherein the graphical indicator comprises a symbol located near the first, second, or particular node or link.
6. The method of claim 1 , further comprising enabling access to information indicative of the identified differences in response to user interaction with the graphical indicator.
7. the first dataflow graph includes a first dataflow subgraph, and the second dataflow graph includes a second dataflow subgraph; 2. The method of claim 1, comprising comparing a specification of the first dataflow subgraph to a specification of the second dataflow subgraph to identify one or more differences between the first dataflow subgraph and the second dataflow subgraph.
8. 8. The method of claim 7, wherein the graphical representation includes a hierarchical display of at least one of the identified differences between the first dataflow graph and the second dataflow graph and at least one of the identified differences between the first dataflow subgraph and the second dataflow subgraph.
9. 2. The method of claim 1, wherein identifying a first node or link that corresponds to a second node or link includes identifying the first node based on one or more of: (1) names of the first node or link and the second node or link; and (2) identifiers of the first node or link and the second node or link.
10. 2. The method of claim 1, wherein identifying a first node or link that corresponds to a second node or link comprises identifying the first node based on information associated with a flow of data records into or out of the first node and the second node.
11. 2. The method of claim 1, wherein identifying a first node or link that corresponds to a second node or link comprises identifying the first node or link based on nodes or links that are upstream or downstream of the first node or link and the second node or link.
12. preparing the first data flow graph and the second data flow graph for execution; and comparing the specifications of the prepared first and second data flow graphs.
13. 1. A non-transitory computer readable medium storing instructions for causing a computer to display differences between a first executable data flow graph and a second executable data flow graph, each data flow graph being executable to process data records received by said data flow graph, each data flow graph including one or more nodes representing data processing components and one or more links representing flows of data records between the components, comprising: The instructions cause the computer to compare at least a portion of a specification of the first executable dataflow graph with at least a portion of a specification of the second executable dataflow graph to identify one or more differences between at least a portion of the first dataflow graph and at least a portion of the second dataflow graph; The specification of a given executable data flow graph defines one or more nodes, each representing a data processing component configurable to specify operations to be performed to process data records, the data flow graph being configured, when executed, to: (1) receive and process data records from a data source; and (2) provide the processed data records to a data sink; The comparing of at least a portion of the first data flow graph specification with at least a portion of the second data flow graph specification comprises: (1) identifying a particular node in the first data flow graph that does not correspond to any node defined by at least a portion of the specification of the second data flow graph, the particular node representing a data processing component configurable to define operations to be performed to process data records; (2) identifying particular links in the first data flow graph that do not correspond to any links defined by at least a portion of the specification of the second data flow graph, the identified particular links representing flows of data records between components represented by nodes of the first data flow graph; (3) identifying a first node of the first data flow graph that corresponds to a second node defined by the at least a portion of the specification of the second data flow graph, the identified first node representing a data processing component configurable to define operations to be performed to process data records, and identifying a difference between the first node and the second node; (4) identifying first links in the first data flow graph that correspond to second links defined by the at least a portion of the specification of the second data flow graph, the identified first links representing flows of data records between components represented by nodes of the first data flow graph, and identifying differences between the first links and the second links; and Identifying differences between the first node or link and the second node or link includes one or more of: (a) analyzing resolved parameters of the first node or link and resolved parameters of the second node or link, where as each graph is instantiated, parameters are resolved by evaluating parameter expressions; and (b) analyzing parameter expressions of the first node or link and parameter expressions of the second node or link; The instructions further cause the computer to: A non-transitory computer-readable medium for displaying within a graph editing interface a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including a graphical indication of at least one of (1) the identified particular nodes or links and (2) the identified differences between the first node or link and the second node or link.
14. 14. The non-transitory computer-readable medium of claim 13, wherein identifying differences between the first node or link and the second node or link includes identifying differences between resolved parameters of the first node or link and resolved parameters of the second node or link.
15. 14. The non-transitory computer-readable medium of claim 13, wherein identifying differences between the first node or link and the second node or link comprises identifying differences between a representation of a parameter of the first node or link and a representation of a parameter of the second node or link.
16. The non-transitory computer-readable medium of claim 13 , wherein the graphical indicia is a shading, fill or color of the first, second, or particular node or link in the graphical representation.
17. The non-transitory computer-readable medium of claim 13 , wherein the graphical indicator comprises a symbol located near the first, second, or particular node or link.
18. 14. The non-transitory computer-readable medium of claim 13, wherein the instructions cause the computer to access information indicative of the identified differences responsive to user interaction with the graphical indicator.
19. the first dataflow graph includes a first dataflow subgraph, and the second dataflow graph includes a second dataflow subgraph; 14. The non-transitory computer-readable medium of claim 13, wherein the instructions cause the computer to compare a specification of the first dataflow subgraph with a specification of the second dataflow subgraph to identify one or more differences between the first dataflow subgraph and the second dataflow subgraph.
20. 20. The non-transitory computer-readable medium of claim 19, wherein the graphical representation includes a hierarchical display of at least one of the identified differences between the first dataflow graph and the second dataflow graph and at least one of the identified differences between the first dataflow subgraph and the second dataflow subgraph.
21. 14. The non-transitory computer-readable medium of claim 13, wherein identifying a first node or link that corresponds to a second node or link includes identifying the first node based on one or more of: (1) names of the first node or link and the second node or link; and (2) identifiers of the first node or link and the second node or link.
22. 14. The non-transitory computer-readable medium of claim 13, wherein identifying a first node or link that corresponds to a second node or link comprises identifying the first node based on information associated with a flow of data records into or out of the first node and the second node.
23. 14. The non-transitory computer-readable medium of claim 13, wherein identifying a first node or link that corresponds to a second node or link includes identifying the first node or link based on nodes or links that are upstream or downstream of the first node or link and the second node or link.
24. The instructions cause the computer to: preparing the first data flow graph and the second data flow graph for execution; The non-transitory computer readable medium of claim 13 , further comprising: a processor for processing the first and second data flow graphs;
25. 1. A system for displaying differences between a first executable data flow graph and a second executable data flow graph, each data flow graph being executable to process data records received by said data flow graph, each data flow graph including one or more nodes representing data processing components and one or more links representing flows of data records between the components, the system comprising: one or more processors and memory configured to compare at least a portion of a specification of the first executable dataflow graph with at least a portion of a specification of the second executable dataflow graph to identify one or more differences between at least a portion of the first dataflow graph and at least a portion of the second dataflow graph; The specification of a given executable data flow graph defines one or more nodes, each representing a data processing component configurable to specify operations to be performed to process data records, the data flow graph being configured, when executed, to: (1) receive and process data records from a data source; and (2) provide the processed data records to a data sink; The comparing of at least a portion of the first data flow graph specification with at least a portion of the second data flow graph specification comprises: (1) identifying a particular node in the first data flow graph that does not correspond to any node defined by at least a portion of the specification of the second data flow graph, the particular node representing a data processing component configurable to define operations to be performed to process data records; (2) identifying particular links in the first data flow graph that do not correspond to any links defined by at least a portion of the specification of the second data flow graph, the identified particular links representing flows of data records between components represented by nodes of the first data flow graph; (3) identifying a first node of the first data flow graph that corresponds to a second node defined by the at least a portion of the specification of the second data flow graph, the identified first node representing a data processing component configurable to define operations to be performed to process data records, and identifying a difference between the first node and the second node; (4) identifying first links in the first data flow graph that correspond to second links defined by the at least a portion of the specification of the second data flow graph, the identified first links representing flows of data records between components represented by nodes of the first data flow graph, and identifying differences between the first links and the second links; and Identifying differences between the first node or link and the second node or link includes one or more of: (a) analyzing resolved parameters of the first node or link and resolved parameters of the second node or link, where as each graph is instantiated, parameters are resolved by evaluating parameter expressions; and (b) analyzing parameter expressions of the first node or link and parameter expressions of the second node or link; The one or more processors and memory further include: A system configured to display within a graph editing interface a graphical representation of at least a portion of the nodes or links of the first dataflow graph or the second dataflow graph, the graphical representation including a graphical indication of at least one of (1) the identified particular nodes or links and (2) the identified differences between the first nodes or links and the second nodes or links.
Citation Information
Patent Citations
Display apparatus, display method and program
JP2014197279A
Mobile vehicle position detection system, server, vehicle terminal, mobile vehicle position detection method, program and recording medium
JP2014197297A
Building applications to compose processes
JP2016511894A
