Information processing device, information processing method, and information processing system
The described system improves data analysis and machine learning efficiency by reproducing analysis environments, converting source code, and outputting workflows with dependency relationships, facilitating efficient workflow management and change tracking.
Patent Information
- Application Number
- US19/487359
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-05-14
- Publication Date
- 2026-12-03
AI Technical Summary
Existing data analysis and machine learning design processes are complicated due to branching and merging of processing flows, necessitating improved visualization and workflow management to enhance efficiency and quality.
An information processing device and system that reproduces analysis environments, converts source code, executes the converted code to generate operation logs, and outputs workflows indicating dependency relationships, while allowing user interaction for comparison and difference display.
Enhances efficiency and quality in data analysis and machine learning by providing clear workflows and difference visualization, enabling effective workflow management and change tracking.
Smart Images

Figure US20260386830A1-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to an information processing device, an information processing method, and an information processing system, and more particularly, to an information processing device, an information processing method, and an information processing system capable of improving efficiency, quality, and the like in data analysis and machine learning design.BACKGROUND ART
[0002] Conventionally, in the data analysis and machine learning design, exploratory implementation design has been performed, and trial and error is performed in the exploratory implementation design. For example, unlike normal software design, in the data analysis and machine learning design, the result changes depending not only on processing but also on data. Therefore, usually, when designing processing, in a process in which a plurality of processing items is branched and tested, results thereof are visualized, and next processing is designed, the processing does not become one flow, but becomes a flow having branching or merging, and it is necessary to perform comparison at a branch destination.
[0003] In this manner, the data analysis and machine learning design become complicated, and thus it is necessary to assist by visualizing a workflow and to detect characteristics of each processing in the flow. As a related technology, a technology for detecting malware is disclosed in Patent Documents 1 and 2.
[0004] For example, Patent Document 1 discloses a method for finding a bug in a source code. In this method, as a preceding stage, a portion that can potentially become a bug is specified by statically analyzing the source code, and the source code is edited (a command is added) so as to record a value of a program variable at the specified portion. Then, as a subsequent stage, the edited source code is executed, and the value of the program variable is dynamically analyzed to determine whether or not the portion is a bug.
[0005] Furthermore, Patent Document 2 discloses a method for the purpose of speeding up dynamic analysis for debugging on the premise of a compiler-type programming language that generates a program in a machine language directly executable on a computer from a source code. This method is based on the premise that when the source code is edited, a new bug can be found by monitoring the changed portion. In this method, as a preceding stage, a change portion is collected from an editing history of the source code, and a debugging command for monitoring the portion, a memory area used by the portion, and a command area in the machine language generated from the portion are specified. Then, in a subsequent stage, a program obtained by compiling the source code is executed, and when the dynamic analysis is performed, analysis is performed by narrowing down to an area related to the edited portion of the source code on the basis of the information obtained in the preceding stage, so that speeding up of the dynamic analysis is realized.CITATION LISTPatent Document
[0006] Patent Document 1: Japanese Patent Application Laid-Open No. 2011-133966
[0007] Patent Document 2: Japanese Patent Application Laid-Open No. 2013-206266SUMMARY OF THE INVENTIONProblems to be Solved by the Invention
[0008] Meanwhile, the method disclosed in Patent Document 1 described above is intended to narrow down a monitoring target portion, and only adds (inserts) a debugging command to the target portion. Therefore, for example, by suppressing the time required for executing the source code within an allowable upper limit, it is possible to improve the efficiency by changing the program processing flow itself such as through iteration / recursion, and to improve the quality by monitoring all the command portions.
[0009] Furthermore, the technology disclosed in Patent Document 2 described above merely adds or deletes a debugging command to or from a program converted into the machine language and narrows down monitoring portions on the premise of a compiler-type language. Therefore, regardless of a compiler type or an interpreter type, it is required to improve efficiency, quality, and the like by adding an analysis change in a state of the source code that can be read by a human and not narrowing down the monitoring target portion based on the editing history.
[0010] The present disclosure has been made in view of such a situation, and an object of the present disclosure is to improve efficiency, quality, and the like in data analysis and machine learning design.SOLUTIONS TO PROBLEMS
[0011] An information processing device according to a first aspect of the present disclosure includes: an environment reproduction unit that reproduces an analysis environment on the basis of an environment in which an analysis target source code is executed; a source code conversion unit that generates an analysis source code by converting the analysis target source code; a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result; and a log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log.
[0012] An information processing method according to the first aspect of the present disclosure includes, by an information processing device, reproducing an analysis environment on the basis of an environment in which an analysis target source code is executed; generating an analysis source code by converting the analysis target source code; executing the analysis source code in the analysis environment and outputting an operation log serving as an execution result; and outputting a workflow indicating a dependency relationship between data and processing as operation characteristic data obtained as a result of analyzing the operation log.
[0013] In the first aspect of the present disclosure, the analysis environment is reproduced on the basis of the environment in which the analysis target source code is executed, the analysis source code is generated by converting the analysis target source code; the analysis source code is executed in the analysis environment and the operation log serving as the execution result is output; and the workflow indicating the dependency relationship between data and processing is output as operation characteristic data obtained as a result of analyzing the operation log.
[0014] An information processing device according to a second aspect of the present disclosure includes: a workflow operation unit that acquires a user operation for a workflow indicating a dependency relationship between a data node and a processing node; a comparison target selection unit that selects a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display; and a difference content display unit that displays difference content of the comparison target.
[0015] An information processing method according to the second aspect of the present disclosure includes, by an information processing device, acquiring a user operation for a workflow indicating a dependency relationship between a data node and a processing node; selecting a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display; and displaying difference content of the comparison target.
[0016] In the second aspect of the present disclosure, the user operation for the workflow indicating the dependency relationship between the data node and the processing node is acquired, the comparison target for which difference display is to be performed is selected on the basis of the user operation or immediately previous user interface display, and difference content of the comparison target is displayed.
[0017] An information processing system according to a third aspect of the present disclosure includes: an analysis processing unit including: an environment reproduction unit that reproduces an analysis environment on the basis of an environment in which an analysis target source code is executed, a source code conversion unit that generates an analysis source code by converting the analysis target source code, a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result, and a log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log; and a visualization processing unit including: a workflow operation unit that acquires a user operation for the workflow, a comparison target selection unit that selects a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display, and a difference content display unit that displays difference content of the comparison target.
[0018] In the third aspect of the present disclosure, the analysis environment is reproduced on the basis of the environment in which the analysis target source code is executed, the analysis source code is generated by converting the analysis target source code; the analysis source code is executed in the analysis environment and the operation log serving as the execution result is output, the workflow indicating the dependency relationship between data and processing is output as operation characteristic data obtained as a result of analyzing the operation log, the user operation for the workflow is acquired, the comparison target for which difference display is to be performed is selected on the basis of the user operation or immediately previous user interface display, and difference content of the comparison target is displayed.BRIEF DESCRIPTION OF DRAWINGS
[0019] FIG. 1 is a block diagram illustrating a configuration example of an embodiment of a workflow management system to which the present technology is applied.
[0020] FIG. 2 is a diagram illustrating an example of a workflow expression method.
[0021] FIG. 3 is a diagram illustrating an example in which data and processing having a dependency relationship with respect to a takeover operation are visualized as a workflow.
[0022] FIG. 4 is a diagram illustrating an example of a workflow to which this month's processing is added by diverting existing processing.
[0023] FIG. 5 is a diagram for describing comparison / difference confirmation at an arbitrary point in a workflow.
[0024] FIG. 6 is a diagram illustrating an example in which creation data and processing of a baseline in predictive analysis are visualized as a workflow.
[0025] FIG. 7 is a diagram illustrating an example of a workflow in which processing is added to the baseline, a workflow and processing content are reconfigured, and predictive analysis is re-executed.
[0026] FIG. 8 is a diagram illustrating an example of history display and comparison / difference confirmation.
[0027] FIG. 9 is a diagram illustrating an example of comparison of prediction results.
[0028] FIG. 10 is a diagram illustrating an example of a mark of a best solution.
[0029] FIG. 11 is a diagram illustrating an example of advantages and disadvantages of static analysis and dynamic monitoring.
[0030] FIG. 12 is a diagram illustrating an example of a pseudo code.
[0031] FIG. 13 is a block diagram illustrating a configuration example of an analysis processing unit that performs an operation characteristic analysis of a source code in a compiler-type language.
[0032] FIG. 14 is a block diagram illustrating a modification of a dynamic analysis environment source code execution unit in FIG. 13.
[0033] FIG. 15 is a block diagram illustrating a configuration example of an analysis processing unit that performs an operation characteristic analysis of a source code in an interpreter-type language.
[0034] FIG. 16 is a block diagram illustrating a modification of a dynamic analysis environment source code execution unit in FIG. 15.
[0035] FIG. 17 is a flowchart for describing a first processing example of analysis processing.
[0036] FIG. 18 is a flowchart for describing a second processing example of the analysis processing.
[0037] FIG. 19 is a diagram for describing an effect of analysis processing by the analysis processing unit.
[0038] FIG. 20 is a diagram illustrating an example of difference display of an “entire workflow”.
[0039] FIG. 21 is a diagram illustrating an example of difference display of a “node property”.
[0040] FIG. 22 is a diagram illustrating an example of difference display of “node content”.
[0041] FIG. 23 is a flowchart for describing a first processing example of visualization processing.
[0042] FIG. 24 is a flowchart for describing a second processing example of the visualization processing.
[0043] FIG. 25 is a block diagram illustrating a configuration example of an embodiment of a computer to which the present technology is applied.MODE FOR CARRYING OUT THE INVENTION
[0044] Hereinafter, a specific embodiment to which the present technology is applied will be described in detail with reference to the drawings.<Configuration Example of Workflow Management System>
[0045] FIG. 1 is a block diagram illustrating a configuration example of an embodiment of a workflow management system to which the present technology is applied.
[0046] The workflow management system 11 illustrated in FIG. 1 includes an analysis processing unit 12 and a visualization processing unit 13, and the analysis processing unit 12 can perform analysis processing with reference to an external resource 14. The external resource 14 is a server that provides various types of resources and the like used when an analysis target source code is executed in an analysis target environment source code execution unit 21 of the analysis processing unit 12.
[0047] In the workflow management system 11, the analysis processing unit 12 can construct a workflow by fetching and automatically analyzing existing assets (for example, data, script, and the like) and automatically searching for a relationship between data and processing in a linear time, and the visualization processing unit 13 can visualize the workflow and present a processing difference. Note that if a time required for executing a source code can be suppressed within an allowable time serving as an allowable upper limit, that is, if the allowable time is longer than a linear time, the time required for executing the source code does not necessarily need to be suppressed to the linear time.
[0048] For example, the allowable time (of processing) can be adjusted by parameters MAX ITER and MAX RECUR indicated in FIG. 12 to be described later, and the linear time is required as a minimum. Of course, it applies to the linear time described below in a similar manner.
[0049] The analysis processing unit 12 includes the analysis target environment source code execution unit 21, a dynamic analysis environment source code execution unit 22, an environment reproduction unit 23, a source code conversion unit 24, and a log analysis unit 25.
[0050] The analysis target environment source code execution unit 21 executes an analysis target source code that is a source code serving as a target of analysis in the analysis processing unit 12 in a predetermined environment. Note that the analysis target source code may be input to the analysis processing unit 12 from the analysis target environment source code execution unit 21 provided outside the analysis processing unit 12.
[0051] The dynamic analysis environment source code execution unit 22 executes an analysis source code supplied from the source code conversion unit 24 in an analysis environment reproduced by the environment reproduction unit 23, and outputs an operation log serving as the execution result.
[0052] The environment reproduction unit 23 reproduces an analysis environment in the dynamic analysis environment source code execution unit 22 on the basis of the environment (for example, a folder configuration and the like) in which the analysis target environment source code execution unit 21 executes the analysis target source code.
[0053] The source code conversion unit 24 converts the analysis target source code into the analysis source code and supplies the converted analysis source code to the dynamic analysis environment source code execution unit 22. Furthermore, in a case where an error log is supplied from the log analysis unit 25, the source code conversion unit 24 may reconvert the source code so as to avoid an error by referring to the error log and supply the reconverted source code to the dynamic analysis environment source code execution unit 22.
[0054] The log analysis unit 25 outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log output from the dynamic analysis environment source code execution unit 22. Furthermore, as a result of analyzing the operation log, in a case where an error log caused by conversion of the source code by the source code conversion unit 24, a difference in environment between the analysis target environment source code execution unit 21 and the dynamic analysis environment source code execution unit 22, or the like is included, the log analysis unit 25 may notify the source code conversion unit 24 of the error log.
[0055] In this manner, the analysis processing unit 12 can use both the conversion of the source code by static analysis and dynamic monitoring by executing the source code in a dynamic analysis environment, and can construct a workflow by automatically searching a relationship between the data and the processing in a linear time.
[0056] The visualization processing unit 13 includes a workflow information accumulation unit 31, a user operation history accumulation unit 32, a workflow display unit 33, a workflow operation unit 34, a comparison target selection unit 35, a difference content acquisition unit 36, and a difference content display unit 37.
[0057] The workflow information accumulation unit 31 accumulates workflow information (for example, configurations and histories of processing and data in the workflow, and the like) regarding the workflow constructed in the analysis processing unit 12.
[0058] The user operation history accumulation unit 32 accumulates histories of various types of user operations when editing the workflow constructed in the analysis processing unit 12.
[0059] The workflow display unit 33 displays, for example, a workflow that is a target of editing in a workflow view in accordance with the workflow information accumulated in the workflow information accumulation unit 31.
[0060] The workflow operation unit 34 acquires a user operation for the workflow, edits the workflow by reflecting the user operation in the workflow information accumulated in the workflow information accumulation unit 31, and accumulates the user operation in the user operation history accumulation unit 32. Furthermore, for example, when a user operation of selecting a workflow or a node of a comparison target and instructing difference display is performed, the workflow operation unit 34 notifies the comparison target selection unit 35 that a user operation has been performed.
[0061] The comparison target selection unit 35 refers to the user operation history accumulation unit 32 and confirms immediately previous user interface display according to the user operation of selecting the workflow or the node of the comparison target and instructing the difference display. Then, the comparison target selection unit 35 selects a comparison target for which the difference display is to be performed on the basis of the immediately previous user interface display, and notifies the difference content acquisition unit 36 of the comparison target. Note that a determination criterion for selecting the comparison target for which the difference display is to be performed by the comparison target selection unit 35 will be described later with reference to the flowcharts illustrated in FIGS. 22 and 23.
[0062] According to the comparison target notified from the comparison target selection unit 35, the difference content acquisition unit 36 acquires, from the workflow information accumulation unit 31, workflow information necessary for displaying difference content of the comparison target, and supplies the workflow information to the difference content display unit 37.
[0063] The difference content display unit 37 displays the difference content of the comparison target according to the workflow information supplied from the difference content acquisition unit 36.
[0064] In this manner, the visualization processing unit 13 can visualize the workflow and display the difference content of the comparison target according to the user operation.
[0065] In the workflow management system 11 configured as described above, the analysis processing unit 12 can analyze a dependency relationship of related data from processing created by a general-purpose script, a processing code, or the like, and analyze a relationship between data and processing. With this arrangement, the workflow management system 11 can construct a workflow by extracting nodes in units of processing, data, and the like and structuring entire processing according to the dependency relationship between the nodes, thereby improving visibility and readability of the workflow.
[0066] With this arrangement, the workflow management system 11 can make a most effective use of past assets and display them as a workflow that is a dependency relationship between structured data and processing nodes. Further, the workflow management system 11 can change and edit the workflow by newly adding branch processing or changing input / output data / processing content on the basis of the constructed workflow.
[0067] Further, in the workflow management system 11, when editing the workflow with trial and error, the visualization processing unit 13 can confirm difference content due to the change in the workflow. For example, the workflow includes the structure, arrangement, and node content of the workflow, as well as information of various granularities, and the visualization processing unit 13 can visualize the difference content by using an appropriate portion / granularity / presentation method in accordance with the change in the workflow.
[0068] For example, in a case where there is a change difference in processing in the processing node, the visualization processing unit 13 highlights the processing node in the workflow, and highlights before and after the change at a row level of the code when viewing details, thereby visualizing the difference content. In this manner, the visualization processing unit 13 can present the difference content in accordance with the granularity operated or focused by the user, and further, in a case where the change difference is indicated, can present the difference content by a necessary and sufficient method.
[0069] As described above, the workflow management system 11 can achieve higher efficiency, higher quality, and the like in the data analysis and machine learning design than conventionally possible by analyzing the source code by the analysis processing unit 12 and visualizing the difference content by the visualization processing unit 13.<Use Case of Workflow Management System>
[0070] A specific use case using the workflow management system 11 will be described with reference to FIGS. 2 to 10.
[0071] FIG. 2 illustrates an example of an expression method when the workflow is visualized in the workflow management system 11.
[0072] For example, the workflow management system 11 reads a folder in which data to be input to processing, a processing code for executing processing, and the like are placed, and searches for a data file and a code from the folder. Then, the workflow management system 11 can display each of them as a data node or a processing node in the workflow view.
[0073] As illustrated in FIG. 2, the workflow management system 11 displays types of nodes such as a processing node and a data node while distinguishing the types by color (in the illustrated example, the type of hatching), icons, and the like, and displays a plurality of data nodes as data group nodes.
[0074] The workflow management system 11 analyzes an input / output of the file for the processing node by using a technology of specifying a dependency relationship by source code analysis, and connects and displays a data node and a processing node corresponding to the input / output by an edge. That is, as illustrated in FIG. 2, the workflow management system 11 displays the dependency relationship between the data node and the processing node by an arrow expressed as a flow.
[0075] As illustrated in FIG. 2, in a case where there is a change in the processing node, the data node, or the like, the workflow management system 11 displays a change display mark (in the illustrated example, a black circle displayed at an upper left of the icon) on the changed node.
[0076] FIGS. 3 to 5 are diagrams for describing a first use case in which a current person in charge takes over a monthly report creation work from a previous person in charge.
[0077] For example, in the monthly report creation work, first, the previous person in charge read monthly data saved in a shared server, and then performed necessary data processing by a processing script of a predetermined programming language. Subsequently, the previous person in charge performed a work of creating a monthly report by a procedure of visualizing data processed for visualization by a visualization script of a predetermined programming language and outputting an image file of a graph acquired by the visualization to a report server.
[0078] When the current person in charge takes over such a monthly report creation work, the workflow management system 11 reads the folder in which the processing script, the visualization script, and the data used in the work as described above are placed. Then, the workflow management system 11 visualizes data and processing having a dependency relationship with respect to the takeover operation as a workflow by the workflow automatic analysis by using the expression method as described with reference to FIG. 2.
[0079] With this arrangement, as illustrated in FIG. 3, the workflow visualizing the monthly report creation work is displayed in the workflow view.
[0080] In the workflow illustrated in FIG. 3, the monthly report creation work in which data group nodes of monthly data files are acquired by a data acquisition / processing script, processed data processed by the data acquisition / processing script is input into the visualization script, a monthly report chart in which the processed data is visualized by the visualization script is input into a chart sharing script, and the monthly report chart is output to the report server by the chart sharing script to be shared is visualized.
[0081] Therefore, by confirming this workflow, the current person in charge can grasp an overview of the monthly report creation work of the previous person in charge. Subsequently, the current person in charge can efficiently perform the operation by diverting previous month's processing for this month's monthly report.
[0082] For example, the current person in charge copies a “processing node” corresponding to the data acquisition / processing script, and performs a user operation of modifying only a corresponding portion so as to input this month's monthly data to the copied “processing node”. In response to the user operation, the workflow management system 11 automatically searches for and analyzes the file, adds a “data node” corresponding to this month's monthly data on the workflow, and connects the flows such that this month's monthly data and the monthly data file are input to the copied “processing node”. Then, the workflow management system 11 executes the data acquisition / processing script, thereby connecting the flows such that the “data node” corresponding to this month's processed data is output from the “processing node” corresponding to the data acquisition / processing script.
[0083] Similarly, the current person in charge copies a “processing node” corresponding to the visualization script, and performs a user operation of modifying only a corresponding portion so as to input this month's processed data to the copied “processing node”. In response to the user operation, the workflow management system 11 can output a monthly report chart by re-executing the visualization script using this month's processed data as an input.
[0084] With this arrangement, as illustrated in FIG. 4, the existing workflow is reused, and the workflow to which this month's processing is added is displayed in the workflow view.
[0085] In the workflow illustrated in FIG. 4, the monthly report creation work in which the newly added this month's monthly data and the monthly data file are input to the data acquisition / processing script, the processed data processed by the data acquisition / processing script is input to the visualization script, the processed data is visualized by the visualization script and the monthly report chart is overwritten and input to the chart sharing script, and the monthly report chart is output to the report server by the chart sharing script to be shared is visualized.
[0086] Further, the current person in charge can confirm a difference between the workflow before the takeover and the workflow after the takeover in the workflow management system 11. For example, in the workflow management system 11, it is possible to confirm whether or not there is a difference in the entire workflow or there is a difference in the content of the node constituting the workflow. Further, in a case where there is a difference in the content of the node, the workflow management system 11 can confirm where the difference exists in the content by drilling down.
[0087] Comparison / difference confirmation at an arbitrary point in the workflow will be described with reference to FIG. 5.
[0088] For example, in the workflow management system 11, it is possible to confirm the difference by comparing this month's monthly data input to the data acquisition / processing script with the monthly data file, or confirm the difference by comparing the processed data outputs from the data acquisition / processing script with each other. That is, in the workflow management system 11, it is possible to easily compare data at an arbitrary point in the workflow and confirm a difference.
[0089] Furthermore, in the workflow management system 11, it is possible to confirm the difference by comparing the processing of the workflow itself or to confirm the difference by comparing the “codes” of the data acquisition / processing scripts. Further, in the workflow management system 11, for the overwritten monthly report chart, the difference can be confirmed by comparing a history of a past monthly report chart with a latest monthly report chart.
[0090] In this manner, in the workflow management system 11, for example, in a case where it is considered that the latest monthly report chart is incomplete, the workflow can be confirmed retroactively from the monthly report chart, or the workflow can be confirmed sequentially from the newly added this month's monthly data. With this arrangement, the workflow management system 11 can efficiently confirm whether or not data, processing, and the like are as expected.
[0091] Furthermore, in the workflow management system 11, it is possible to efficiently and reliably perform the monthly report creation work for the current month by confirming the situation at each point of the workflow while obtaining the overview of the overall image of the workflow. With this arrangement, the current person in charge can easily take over the monthly report creation work from the previous person in charge.
[0092] As described above, in the first use case, by using the workflow management system 11, the current person in charge can easily obtain the overview and grasp the dependency relationship related to the monthly report creation work as the workflow by the automatic analysis of a source code / processing file. Furthermore, by the workflow difference specification and display function of the workflow management system 11, the current person in charge can confirm the difference information at a granularity suitable for the difference while obtaining the overview. Further, in the workflow management system 11, since data at each point in the workflow can be confirmed and compared, the current person in charge can confirm the validity of the processing or the like at an arbitrary point in the workflow.
[0093] FIGS. 6 to 10 are diagrams for describing a second use case of performing design of a feature serving as an explanatory variable through trial and error and performing predictive analysis in machine learning design.
[0094] For example, when performing the predictive analysis using machine learning, the design of a feature serving as an explanatory variable to be input to a machine learning algorithm is very important in addition to a machine learning algorithm, a learning parameter, and the like. However, since how much prediction accuracy can be obtained depends on a problem to be solved, data, and a machine learning algorithm, there is not always one ideal correct answer, and trial and error of the feature design and search for machine learning parameters are required.
[0095] In the workflow management system 11, trial and error of this feature design can be efficiently performed. Note that the search for the machine learning parameters is referred to as hyperparameter tuning, and the search and the optimization are separately performed by using a general technology.
[0096] First, a designer describes minimum data processing and machine learning processing with a code or the like, and creates a “baseline”. Then, the workflow management system 11 reads the processing code, thereby constructing a workflow similarly to the first use case described above.
[0097] FIG. 6 illustrates an example in which the creation data and processing of the baseline in the predictive analysis are visualized as a workflow. In this workflow, since the result after the predictive analysis can also be confirmed as the result of the processing node, this is set as a baseline result.
[0098] In the workflow illustrated in FIG. 6, the baseline in the predictive analysis in which the data node of the source data is input to a feature creation script, feature data A and feature data B created by the feature creation script are input to a learning / prediction script, and a result aggregation file is output is visualized.
[0099] Subsequently, the designer copies “processing nodes” corresponding to the feature creation script and the learning / prediction script, reconfigures the workflow and the processing content, then re-executes the predictive analysis, and compares the result with the baseline. By repeating such a reconfiguration of the workflow and the processing content and the re-execution of the predictive analysis, the designer can compare the results while recording various data processing and the results on the workflow as a history of trial and error.
[0100] FIG. 7 illustrates an example of a workflow in which processing is added to the baseline illustrated in FIG. 6, the workflow and the processing content are reconfigured, and the predictive analysis is re-executed.
[0101] In the workflow illustrated in FIG. 7, a feature creation script 2 and a learning / prediction script 2 are added to the baseline illustrated in FIG. 6. With this arrangement, the data node of the source data is input to the feature creation script 2, feature data A2 and feature data B2 created by the feature creation script 2 are input to the learning / prediction script 2, and a result aggregation file 2 is output. For example, the feature creation script 2 is configured to improve the feature data A and the feature data B of the baseline, and the predictive analysis is re-executed by the improved feature data A2 and the feature data B2.
[0102] Therefore, the designer can compare the result aggregation file that is the result of the predictive analysis in the baseline with the result aggregation file 2 that is the result of the predictive analysis using the improved feature data A2 and the feature data B2.
[0103] Furthermore, the designer sometimes desires to review the already created processing in the process of trial and error of the design, comparison of results, and the like. In that case, in the workflow management system 11, an arbitrary processing node of the workflow is confirmed, and after the processing is changed, the changed processing node or the entire subsequent processing is re-executed, thereby enabling the processing after the change to be performed.
[0104] Of course, in the workflow management system 11, not only the final result of the predictive analysis but also the difference between before and after the processing change can be compared for an arbitrary processing node and a data node in the middle of the workflow, similarly to the first use case described above with reference to FIG. 5.
[0105] For example, the workflow management system 11 can save a change history as a history in time series as illustrated in FIG. 8 for the result aggregation file serving as the baseline as illustrated in FIG. 7 and the result aggregation file 2 obtained by reviewing the content of processing. With this arrangement, the designer can compare the histories and confirm a difference between them.
[0106] Further, the designer can confirm each result on the workflow while performing trial and error and at a point in time when sufficient trial and error is completed. For example, since an optimum result is not always obtained in the final trial, a workflow serving as a best solution including a result in the middle can be confirmed and adopted.
[0107] For example, the workflow management system 11 can display the result aggregation file and the result aggregation file 2 illustrated in FIG. 7 side by side as illustrated in FIG. 9. With this arrangement, the designer can compare the prediction results.
[0108] By performing trial and error and comparison as described above, the designer can select a prediction result that has become a best solution as a result.
[0109] For example, as illustrated in FIG. 10, in a case where a result aggregation file 3 is selected by the designer as the best solution, the workflow management system 11 can mark a best solution for the result aggregation file 3 and record a part of the workflow that has become the best solution.
[0110] In this manner, the designer can use the workflow management system 11 to constantly grasp the entire processing designed as a workflow, including trial and error in a design process, and perform the machine learning design while reviewing / looking back on the results of the trial and error.
[0111] As described above, in the second use case, trial and error of the processing content in the machine learning design can be expressed as a workflow by using the workflow management system 11. With this arrangement, the designer can easily compare the content and results of the intermediate processing while grasping the overall image of trial and error, and as a result, search for the best solution. Furthermore, the designer can change the processing of an arbitrary portion of the workflow after grasping the entire workflow. Then, in the workflow management system 11, by the difference history and change confirmation, a change difference due to trial and error in the design process can be confirmed not only in the result but also in the progress in the workflow. With this arrangement, the designer can efficiently grasp and review processing content and results thereof.<Analysis of Source Code>
[0112] The processing in which the analysis processing unit 12 analyzes the source code to specify the dependency relationship will be described with reference to FIGS. 11 to 19.
[0113] In general, there are mainly two types of methods of static analysis and dynamic monitoring (dynamic analysis) in order to grasp processing characteristics (input and output and the like). The static analysis is a method of analyzing all or a part of a code and determining whether or not the code corresponds to a pattern definition prepared in advance. The dynamic monitoring is a method of executing a code in a monitoring environment and grasping characteristics through a system call, a call record of a library function, or the like.
[0114] As illustrated in FIG. 11, the static analysis has an advantage that a time calculation amount is a constant time or a linear time with respect to a code amount, but has a disadvantage that the characteristic that can be detected is only a static characteristic. On the other hand, the dynamic monitoring has a disadvantage that the time calculation amount cannot be grasped in advance because of a nonlinear time, but has an advantage that the characteristic that can be detected is both a static characteristic and a dynamic characteristic.
[0115] In order to support the trial-and-error data analysis by the user, the analysis processing unit 12 is required to analyze the source code created by the user at high speed and extract as many characteristics (in particular, a dependency relationship with data) as possible. In order to satisfy this requirement, the analysis processing unit 12 adopts a configuration in which conversion of the source code by static analysis and dynamic monitoring using the converted code are used in combination.
[0116] In a first step, in the analysis processing unit 12, the source code conversion unit 24 performs a static analysis of a source code, and gives a constraint on a number of executions to iterative processing / recursive processing in a code according to a conversion pattern definition. In this manner, by giving an upper limit to the iteration / recursion at the same portion, it is possible to grasp the time required for executing the source code in advance. In particular, in a case where an iteration / recursion upper limit number is set to one, it is possible to ensure that the execution of the source code ends in a linear time.
[0117] In a next step, in the analysis processing unit 12, the dynamic analysis environment source code execution unit 22 executes the converted source code in a dynamic monitoring environment, thereby detecting a characteristic of the converted source code. At this time, since the conversion of the source code ends in a linear time with respect to the code amount, the time calculation amount necessary for the analysis by the analysis processing unit 12 can be grasped in advance. For example, when a parameter is set such that execution of the converted code ends in a linear time, a series of analyses ends in a linear time with respect to the code amount. Further, since the analysis processing unit 12 uses dynamic monitoring in combination, it is possible to detect a dynamic characteristic in addition to a static characteristic.
[0118] The source code conversion by the static analysis will be described in detail.
[0119] In the analysis processing unit 12, in the first step, the source code conversion unit 24 performs a static analysis of an analysis target source code, thereby performing conversion such that a time calculation amount required for executing an analysis source code is finite and can be grasped in advance. Here, the factors that require a nonlinear time calculation amount to execute the analysis source code can be divided into iterative processing and recursive processing.
[0120] In this first step, the source code conversion unit 24 specifies a portion where the iterative processing / recursive processing can be performed from the analysis source code, and adds a counter for holding the number of times the portion is actually executed to the code. Furthermore, in a case where the counter reaches a certain value or more, the source code conversion unit 24 can guarantee that the execution of the converted code ends in a linear time by adding processing of forcibly separating from the iteration / recursion portion.
[0121] For example, since a worst-case calculation amount O (Σi←1 to N Mi) is obtained with respect to a code amount N and an iteration / recursion upper limit number M, when the iteration / recursion upper limit number M is larger than 1 (1<M), a worst-case calculation amount O (MN) is obtained. These parameters can be adjusted depending on the time cost acceptable for the analysis.
[0122] In particular, when the iteration / recursion upper limit number M is set to 1, it is guaranteed that the processing ends in a linear time with respect to the code amount N.
[0123] In FIG. 12, an example of conversion by the source code conversion unit 24 is indicated by a pseudo code. Note that in the pseudo code illustrated in FIG. 12, conversion using a variable counter and a call stack of the system is indicated, but this is not essential and is an example.
[0124] A measure for coverage degradation due to the source code conversion will be described.
[0125] As described above, while an execution time of the analysis source code can be finite and grasped in advance by the conversion by the source code conversion unit 24, this conversion terminates the iteration / recursion processing in the middle, and thus a measure is required against the difference from the processing before conversion. As described above, in the workflow management system 11, the dependency relationship between the processing and the data is analyzed by the analysis processing unit 12, and it is possible to clarify a presence or absence of access to various types of resources (for example, a local file, a web server, a database, or the like) from the processing based on the source code.
[0126] For example, when one or more of various types of resources are accessed in the iteration / recursion processing in the analysis source code, in many cases, it is expected that similar / neighboring resources (for example, serial number images, daily data, and the like) are handled in each single iteration / recursion processing. Therefore, when the source code conversion unit 24 detects that one or more of various types of resources are accessed in the iteration / recursion processing in the analysis source code, the similar / neighboring resources can be automatically grouped and handled, and when there is an access to one or more resources in the group, an edge is set between the data group node and the processing node.
[0127] With this measure, a dependency relationship between processing and data is displayed as a dependency relationship between processing and an abstracted data group, and the influence of the coverage degradation due to the source code conversion can be suppressed. In this manner, the influence of the source code conversion can be reduced by devising post-processing or the like under a certain assumption.
[0128] FIG. 13 is a block diagram illustrating a configuration example of an analysis processing unit 12A that performs an operation characteristic analysis of a source code in a compiler-type language.
[0129] In an analysis target environment source code execution unit 21A, an analysis target source code is input to a language processing system, and the language processing system compiles the analysis target source code into an execution code with reference to a static link library. Then, in the analysis target environment source code execution unit 21A, the execution code is executed by using a dynamic linking library (DLL) and an application programming interface (API), an internal resource (file), and the external resource (server) 14.
[0130] On the other hand, the environment of the analysis target environment source code execution unit 21A is reproduced by the environment reproduction unit 23 in a dynamic analysis environment source code execution unit 22A, and the analysis target source code is converted into an analysis source code by the source code conversion unit 24.
[0131] In the dynamic analysis environment source code execution unit 22A, the analysis source code is input to the language processing system, and the language processing system refers to an analysis static link library and compiles the analysis source code into an analysis execution code. Then, in the dynamic analysis environment source code execution unit 22A, the analysis execution code is executed by using analysis DLL and API, a pseudo internal resource, and a pseudo external resource.
[0132] Then, operation logs output from the analysis execution code and the analysis DLL and API of the dynamic analysis environment source code execution unit 22A are supplied to the log analysis unit 25.
[0133] Note that in the analysis processing unit 12A, the language processing system (compiler) of the analysis target environment source code execution unit 21A may be used in the dynamic analysis environment source code execution unit 22A. Furthermore, it is not essential to reproduce resources inside and outside the environment such as a file in the dynamic analysis environment source code execution unit 22A.
[0134] Furthermore, in the analysis processing unit 12A, the source code conversion unit 24 may reconvert the source code with reference to the result of analyzing the operation log by the log analysis unit 25, and the dynamic analysis environment source code execution unit 22A may perform the dynamic analysis again. For example, an error caused by conversion of the source code or a difference in environment is detected from the operation log, and occurrence of the error can be avoided by devising at the time of re-conversion of the source code by the source code conversion unit 24.
[0135] FIG. 14 is a block diagram illustrating a modification of the dynamic analysis environment source code execution unit 22A.
[0136] A dynamic analysis environment source code execution unit 22A-1 illustrated in A of FIG. 14 can compile and execute the analysis source code, and the library group is virtual for a monitoring environment and can output a call record.
[0137] Such a dynamic analysis environment source code execution unit 22A-1 can acquire the characteristic of the source code described in the compiler-type language including the dynamic characteristic at high speed.
[0138] A dynamic analysis environment source code execution unit 22A-2 illustrated in B of FIG. 14 can compile and execute the analysis source code, and can monitor API calls in the same environment to grasp a behavior characteristic.
[0139] Such a dynamic analysis environment source code execution unit 22A-2 can acquire the characteristic of the source code described in the compiler-type language including the dynamic characteristic at high speed, and can increase the number of types of characteristics that can be extracted and the accuracy thereof as compared with the dynamic analysis environment source code execution unit 22A-1.
[0140] FIG. 15 is a block diagram illustrating a configuration example of an analysis processing unit 12B that performs an operation characteristic analysis of a source code in an interpreter-type language.
[0141] In the analysis target environment source code execution unit 21B, an analysis target source code is input to a language processing system, and the language processing system reads and executes the analysis target source code by using the library and API, the internal resource (file), and the external resource (server) 14.
[0142] On the other hand, the environment of the analysis target environment source code execution unit 21B is reproduced by the environment reproduction unit 23 in a dynamic analysis environment source code execution unit 22B, and the analysis target source code is converted into an analysis source code by the source code conversion unit 24.
[0143] In the dynamic analysis environment source code execution unit 22B, the analysis source code is input to the language processing system, and the language processing system reads and executes the analysis source code by using an analysis library and API, the pseudo internal resource, and the pseudo external resource.
[0144] Then, operation logs output from the language processing system and the analysis library and API of the dynamic analysis environment source code execution unit 22B are supplied to the log analysis unit 25.
[0145] Note that in the analysis processing unit 12B, the language processing system (interpreter) of the analysis target environment source code execution unit 21B may be used in the dynamic analysis environment source code execution unit 22B. Furthermore, it is not essential to reproduce resources inside and outside the environment such as a file in the dynamic analysis environment source code execution unit 22B.
[0146] Furthermore, in the analysis processing unit 12B, the source code conversion unit 24 may convert the source code with reference to the result of analyzing the operation log by the log analysis unit 25, and the dynamic analysis environment source code execution unit 22B may perform the dynamic analysis again. For example, an error caused by conversion of the source code or a difference in environment is detected from the operation log, and occurrence of the error can be avoided by devising at the time of re-conversion of the source code by the source code conversion unit 24.
[0147] FIG. 16 is a block diagram illustrating a modification of the dynamic analysis environment source code execution unit 22B.
[0148] A dynamic analysis environment source code execution unit 22B-1 illustrated in A of FIG. 16 can execute processing by an interpreter in the dynamic monitoring environment, and the library group is virtual for the monitoring environment and can output a call record.
[0149] Such a dynamic analysis environment source code execution unit 22B-1 can acquire the characteristic of the source code described in the interpreter-type language including the dynamic characteristic at high speed.
[0150] A dynamic analysis environment source code execution unit 22B-2 illustrated in B of FIG. 16 can execute processing by an interpreter in the dynamic monitoring environment, and can monitor API calls in the environment to grasp a behavior characteristic.
[0151] Such a dynamic analysis environment source code execution unit 22B-2 can acquire the characteristic of the source code described in the interpreter-type language including the dynamic characteristic at high speed, and can increase the number of types of characteristics that can be extracted and the accuracy thereof as compared with the dynamic analysis environment source code execution unit 22B-1.<Processing Example of Analysis Processing>
[0152] A processing example of analysis processing executed in the analysis processing unit 12 will be described with reference to FIGS. 17 and 18.
[0153] FIG. 17 is a flowchart for describing a first processing example of the analysis processing.
[0154] In step S11, the environment reproduction unit 23 reproduces an environment in which the analysis target environment source code execution unit 21 executes an analysis target source code using the dynamic analysis environment source code execution unit 22.
[0155] In step S12, the source code conversion unit 24 converts the analysis target source code to generate an analysis source code, and supplies the analysis source code to the dynamic analysis environment source code execution unit 22.
[0156] In step S13, the dynamic analysis environment source code execution unit 22 executes the analysis source code supplied from the source code conversion unit 24 by using the language processing system, and generates an operation log serving as an execution result.
[0157] In step S14, the log analysis unit 25 analyzes the operation log generated by the dynamic analysis environment source code execution unit 22, and generates operation characteristic data. Thereafter, the analysis processing ends.
[0158] FIG. 18 is a flowchart for describing a second processing example of the analysis processing.
[0159] In steps S21 to S23, processing similar to steps S11 to S13 in FIG. 17 is performed, and in step S24, the log analysis unit 25 analyzes the operation log generated in the dynamic analysis environment source code execution unit 22.
[0160] In step S25, as a result of analyzing the operation log, the log analysis unit 25 determines whether or not an error log caused by conversion of the source code by the source code conversion unit 24, a difference in environment between the analysis target environment source code execution unit 21 and the dynamic analysis environment source code execution unit 22, or the like is included.
[0161] In step S25, in a case where the log analysis unit 25 determines that an error log caused by conversion of the source code by the source code conversion unit 24, a difference in environment between the analysis target environment source code execution unit 21 and the dynamic analysis environment source code execution unit 22, or the like is included, the processing proceeds to step S26.
[0162] In step S26, the log analysis unit 25 notifies the source code conversion unit 24 of the error log, and the source code conversion unit 24 refers to the error log to reconvert the source code so as to avoid an error, and supplies the reconverted source code to the dynamic analysis environment source code execution unit 22. Then, the processing returns to step S23, and similar processing is repeatedly performed thereafter.
[0163] On the other hand, in step S25, in a case where the log analysis unit 25 determines that an error log caused by conversion of the source code by the source code conversion unit 24, a difference in environment between the analysis target environment source code execution unit 21 and the dynamic analysis environment source code execution unit 22, or the like is not included, the processing proceeds to step S27.
[0164] In step S27, the log analysis unit 25 generates operation characteristic data on the basis of the analysis of the operation log in step S24. Thereafter, the analysis processing ends.
[0165] The effect of the analysis processing by the analysis processing unit 12 will be described with reference to FIG. 19.
[0166] The analysis processing unit 12 can construct a workflow as illustrated in FIG. 19 by the analysis processing as described above. That is, when acquiring the operation characteristic data regarding a plurality of processing items, the analysis processing unit 12 visualizes a dependency relationship between them and the like in a form of a graph or the like and presents a workflow.
[0167] In the workflow illustrated in FIG. 19, data 0 is input to processing A, and data 1, data 2, and data 3 are output by executing the processing A. Further, the data 1 is input to processing B and the processing B is executed, whereby data 4 is output, and the data 2 and the data 3 are input to processing C and the processing C is executed, whereby data 5 is output.
[0168] Then, the analysis processing unit 12 analyzes the source code to clarify a dependency relationship between processing and data at high speed and in a wide range, so that the user of the workflow management system 11 can easily reproduce or optimize the work. Furthermore, the workflow management system 11 can generate a directed graph (workflow) having the processing and the data as nodes from dependency relationship information obtained by the analysis by the analysis processing unit 12.
[0169] For example, in the example illustrated in the workflow illustrated in FIG. 19, processing that can be executed in parallel can be specified by the analysis processing by the analysis processing unit 12, such that the processing B and the processing C can be executed in parallel. Furthermore, in the example illustrated in the workflow illustrated in FIG. 19, it is possible to specify processing necessary for obtaining a specific result by the analysis processing by the analysis processing unit 12, for example, the processing C does not need to be executed when it is desired to acquire the data 4.<Visualization of Difference Content>
[0170] Visualization of difference content by the visualization processing unit 13 will be described with reference to FIGS. 20 to 24.
[0171] In the workflow management system 11, when the user browses / edits the workflow constructed by the analysis processing unit 12, the visualization processing unit 13 can automatically specify a user's attention range according to a user operation for the workflow, a user interface display, or the like. With this arrangement, the workflow management system 11 can automatically switch and present “difference display” of various granularities to the user.
[0172] For example, a timing at which the user desires to confirm the difference can be mainly divided into a first timing and a second timing as described below. Here, since it is common in that it is desired to confirm the difference between the two comparison targets, hereinafter, the difference is presented in the same manner in both the first timing and the second timing.
[0173] In the first timing, the user explicitly selects a workflow or a node to be compared, and differences thereof are displayed. In the second timing, a difference showing how much the currently working workflow or node has been updated from a snapshot at a point in time in the past is displayed.
[0174] Furthermore, the user's attention range in the user interface display of the workflow management system 11 can be mainly divided into first to third attention ranges as described below.
[0175] The first attention range is an entire workflow (addition / deletion, change of position, and the like of nodes and edges). The second attention range is a node property (attribute information such as an explanatory sentence and a file path). The third attention range is node content (such as a code or table data in the file content).
[0176] The visualization processing unit 13 uses a user operation and immediately previous user interface display in order to automatically determine the user's attention range.
[0177] For example, in a case where the immediately previous user interface display is browsing of a node property or editing of the node content in the workflow, the visualization processing unit 13 determines that the user's interest is the node, and displays difference information regarding a node. Furthermore, in a case where the immediately previous user interface display is browsing of the entire workflow or editing of node arrangement, the visualization processing unit 13 determines that the user's interest is the entire workflow, and displays difference information regarding a workflow.
[0178] The difference display of the “entire workflow” needs to enable the user to grasp that a node or an edge has been added / deleted, a position of a node has been changed, and properties or the content of a node has been changed between the workflow before the change and the workflow after the change.
[0179] FIG. 20 illustrates an example of the difference display of the “entire workflow”.
[0180] For example, A of FIG. 20 illustrates a workflow before the change in which “Data.csv” is input to “Analysis.py” and “Result.csv” is output by executing “Analysis.py”. Furthermore, B of FIG. 20 illustrates a workflow after the change in which “Data.csv” is input to “Analysis.py” and “Report.csv” is output by executing “Analysis.py”.
[0181] Therefore, as illustrated in C of FIG. 20, a change to rewrite a code of an “Analysis.py” file is performed, and difference display in which “Result.csv” is deleted and “Report.csv” is added is performed as the output of “Analysis.py”.
[0182] The difference display of a “node property” indicates that there is a difference by emphasizing the changed attribute. In the emphasizing display, it is necessary to enable the user to grasp the content of the update (addition / change / deletion).
[0183] FIG. 21 illustrates a difference of property information of “Analysis.py” in the example of the difference display of the entire workflow illustrated in C of FIG. 20 as an example of the difference display of the “node property”.
[0184] A of FIG. 21 illustrates a node property before the change, and B of FIG. 21 illustrates a node property after the change. Therefore, as illustrated in C of FIG. 21, difference display is performed in which “analyze data and create report” is added to the description, “Result.csv” is deleted from the output, and “Report.csv” is added.
[0185] In the difference display of “node content”, in a case where the content is table data, it is necessary to enable the user to grasp addition / change / deletion for each cell as illustrated in FIG. 22.
[0186] FIG. 22 illustrates an example of the difference display of the “node content”.
[0187] A of FIG. 22 illustrates table data before the change, and B of FIG. 22 illustrates table data after the change. Therefore, as illustrated in C of FIG. 22, difference display is performed in which the description of id “0001” is changed to “hogehoge”, id “0002” is deleted, and “baz” and “piyopiyo” are added to the name and the description of id “0003”.
[0188] Note that in the workflow management system 11, in a case where the content of the node is a source code or text data, the visualization processing unit 13 needs to perform visualization such that the user can grasp addition / change / deletion in units of rows, for example.
[0189] In this manner, the visualization processing unit 13 can automatically select an appropriate difference display method according to a data type of a node of a comparison target and present the difference display method to the user.<Processing Example of Visualization Processing>
[0190] A processing example of the visualization processing executed in the visualization processing unit 13 will be described with reference to FIGS. 23 and 24.
[0191] FIG. 23 is a flowchart for describing a first processing example of the visualization processing.
[0192] In step S31, the workflow operation unit 34 selects a node of a comparison target according to a user operation.
[0193] In step S32, the workflow operation unit 34 determines whether or not a user operation for instructing difference display has been performed.
[0194] In step S32, in a case where the workflow operation unit 34 determines that the user operation for instructing difference display has not been performed, the processing returns to step S31, and similar processing is repeatedly performed thereafter. On the other hand, in step S32, in a case where the workflow operation unit 34 determines that a user operation for instructing difference display has been performed, the comparison target selection unit 35 is notified that the user operation has been performed, and the processing proceeds to step S33.
[0195] In step S33, the comparison target selection unit 35 determines whether or not immediately previous user interface display is a workflow screen, a node attribute information screen, or a node content screen.
[0196] In step S33, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a workflow screen, the processing proceeds to step S34. In step S34, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that a node has been selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the node selected in step S31 on the basis of workflow information acquired from the workflow information accumulation unit 31. Then, when there is a change in the node selected in step S31, the difference content display unit 37 displays that there is a change in the node that is the comparison target, and then the visualization processing ends.
[0197] On the other hand, in step S33, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a node attribute information screen, the processing proceeds to step S35. In step S35, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that node attribute information has been selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the node attribute information selected in step S31 on the basis of the workflow information acquired from the workflow information accumulation unit 31. Then, when there is a change in the node attribute information selected in step S31, the difference content display unit 37 displays difference content of the node attribute information that is the comparison target, and then the visualization processing ends.
[0198] On the other hand, in step S33, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a node content screen, the processing proceeds to step S36. In step S36, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that node content has been selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the node content selected in step S31 on the basis of the workflow information acquired from the workflow information accumulation unit 31. Then, when there is a change in the node content selected in step S31, the difference content display unit 37 displays difference content of the node content that is the comparison target, and then the visualization processing ends.
[0199] FIG. 24 is a flowchart for describing a second processing example of the visualization processing.
[0200] In step S41, the workflow operation unit 34 selects a workflow of the comparison target according to a user operation.
[0201] In step S42, the workflow operation unit 34 determines whether or not a user operation for instructing difference display has been performed.
[0202] In step S42, in a case where the workflow operation unit 34 determines that a user operation for instructing difference display has not been performed, the processing returns to step S41, and similar processing is repeatedly performed thereafter. On the other hand, in step S42, in a case where the workflow operation unit 34 determines that a user operation for instructing difference display has been performed, the comparison target selection unit 35 is notified that a user operation has been performed, and the processing proceeds to step S43.
[0203] In step S43, the comparison target selection unit 35 determines whether or not immediately previous user interface display is a workflow screen, a node attribute information screen, or a node content screen.
[0204] In step S43, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a workflow screen, the processing proceeds to step S44. In step S44, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that a workflow has been selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the workflow selected in step S41 on the basis of the workflow information acquired from the workflow information accumulation unit 31. Then, after the difference content display unit 37 displays difference content of the workflow selected in step S41, the visualization processing ends.
[0205] On the other hand, in step S43, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a node attribute information screen, the processing proceeds to step S45. In step S45, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that immediately previously displayed node attribute information is selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the immediately previously displayed node attribute information on the basis of the workflow information acquired from the workflow information accumulation unit 31. Then, when there is a change in the immediately previously displayed node attribute information, the difference content display unit 37 displays difference content, and then the visualization processing ends.
[0206] On the other hand, in step S43, in a case where the comparison target selection unit 35 determines that the immediately previous user interface display is a node content screen, the processing proceeds to step S46. In step S46, the comparison target selection unit 35 notifies the difference content acquisition unit 36 that immediately previously displayed node content is selected as a comparison target, and the difference content acquisition unit 36 determines whether or not there is a change in the immediately previously displayed node content on the basis of the workflow information acquired from the workflow information accumulation unit 31. Then, when there is a change in the immediately previously displayed node content, the difference content display unit 37 displays difference content of the node content, and then the visualization processing ends.
[0207] As described above, by displaying the difference content on the basis of the user operation or the immediately previous user interface display by the visualization processing by the visualization processing unit 13, it is possible to reduce the user operation for displaying desired difference content and to efficiently look back on a work policy in the data analysis operation. Since such looking back of the work policy in the data analysis operation is also an important factor in future policy consideration, the workflow management system 11 can contribute to improving / smoothing the overall efficiency of the data analysis operation.<Configuration Example of Computer>
[0208] Next, a series of the processes described above (an information processing method) may be performed by hardware or can be performed by software. In a case where the series of processes is performed by software, a program constituting the software is installed on a general-purpose computer or the like.
[0209] FIG. 25 is a block diagram illustrating a configuration example of an embodiment of a computer on which a program for performing the series of processes described above is installed.
[0210] The program can be recorded beforehand on a hard disk 105 or a ROM 103 as a recording medium incorporated into the computer.
[0211] Alternatively, furthermore, the program can also be stored (recorded) in a removable recording medium 111 driven by a drive 109. Such a removable recording medium 111 can be provided as so-called package software. Here, examples of the removable recording medium 111 include, for example, a flexible disk, a compact disc read only memory (CD-ROM), a magneto optical (MO) disk, a digital versatile disc (DVD), a magnetic disk, a semiconductor memory and the like.
[0212] Note that instead of being installed into the computer from the removable recording medium 111 as described above, the program can be downloaded into the computer via a communication network or a broadcasting network, and be installed into the hard disk 105 included therein. That is, for example, the program can be wirelessly transferred from a download site to the computer through an artificial satellite for digital satellite broadcasting, or can be transferred by wire to the computer through a network such as a local area network (LAN) and the Internet.
[0213] The computer has a built-in central processing unit (CPU) 102, and an input / output interface 110 is connected to the CPU 102 through a bus 101.
[0214] When a command is input by a user operating an input unit 107 via the input / output interface 110 or the like, the CPU 102 executes the program stored in the read only memory (ROM) 103 in accordance with the command. Alternatively, the CPU 102 loads a program stored in the hard disk 105 into a random access memory (RAM) 104 to execute the program.
[0215] With this arrangement, the CPU 102 performs processing according to the above-described flowchart or processing to be performed according to the above configuration described with the block diagram. Then, as necessary, the CPU 102 outputs a processing result from an output unit 106, or transmits the processing result from a communication unit 108, and further, causes the hard disk 105 to record the processing result, and the like, through the input / output interface 110, for example.
[0216] Note that the input unit 107 includes a keyboard, a mouse, a microphone, and the like. Furthermore, the output unit 106 includes a liquid crystal display (LCD), a speaker, and the like.
[0217] Here, in the present specification, the processing performed by the computer according to the program is not necessarily performed in time series in the order described as the flowcharts. That is, the processing performed by the computer according to the program also includes processing executed in parallel or individually (for example, parallel processing or processing by an object).
[0218] Furthermore, the program may correspond to processing to be performed by one computer (processor) or processing to be performed in a distributed manner by a plurality of computers. Further, the program may be transferred to a distant computer to be executed.
[0219] Further, in the present specification, a system means a set of a plurality of configuration elements (devices, modules (parts), and the like), and it does not matter whether or not all the configuration elements are in the same housing. Therefore, a plurality of devices housed in separate housings and connected to each other via a network and one device including a plurality of modules housed in one housing are both systems.
[0220] Furthermore, for example, a configuration described as one device (or processing unit) may be divided and configured as the plurality of devices (or processing units). Conversely, the configurations described above as a plurality of devices (or processing units) may be collectively configured as a single device (or processing unit). Furthermore, it goes without saying that a configuration other than the above-described configurations may be added to the configuration of each device (or each processing unit). Further, as long as the configuration and operation of the entire system are substantially the same, a part of the configuration of a certain device (or processing unit) may be included in the configuration of another device (or another processing unit).
[0221] Furthermore, for example, the present technology can be configured as cloud computing in which a plurality of devices shares a single function and jointly performs processing over a network.
[0222] Furthermore, for example, the program described above can be executed by an arbitrary device. In this case, the device is only required to have a necessary function (functional block and the like) and obtain necessary information.
[0223] Furthermore, for example, each step described in the flowcharts described above can be performed by one device, or can be performed in a shared manner by the plurality of the devices. Further, in a case where a single step includes a plurality of processes, the plurality of processes included in the single step can be performed by a single device or performed by a plurality of devices in a shared manner. In other words, the plurality of processes included in the single step can also be performed as a plurality of steps. Conversely, the processing described as the plurality of the steps can also be collectively executed as one step.
[0224] Note that in the program to be executed by the computer, the processes of steps describing the program may be performed in time-series order described in the present specification, or may be performed in parallel, or independently at necessary timing such as when a call is made. That is, as long as there is no contradiction, the process of each step may be performed in a different order from the above-described order. Further, the processing of steps for describing the program may be executed in parallel with processing of another program, or may be executed in combination with processing of another program.
[0225] Note that the plurality of present technologies that has been described in the present specification can each be implemented independently as a single entity as long as there is no contradiction. It goes without saying that any plurality of present technologies can be implemented in combination. For example, a part or all of the present technologies described in any embodiment can be implemented in combination with a part or all of the present technologies described in another embodiment. Furthermore, a part or all of any of the above-described present technologies can be implemented together with another technology that is not described above.Examples of Combinations of Configurations
[0226] Note that the present technology may also provide the following configurations.(1)
[0227] An information processing device including:
[0228] an environment reproduction unit that reproduces an analysis environment on the basis of an environment in which an analysis target source code is executed;
[0229] a source code conversion unit that generates an analysis source code by converting the analysis target source code;
[0230] a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result; and
[0231] a log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log.(2)
[0232] The information processing device according to (1), in which
[0233] the source code conversion unit performs conversion such that a time calculation amount required for execution of the analysis source code is finite and can be grasped in advance by performing a static analysis of the analysis target source code.(3)
[0234] The information processing device according to (2), in which
[0235] when detecting that one or more resources are accessed in iteration / recursion processing in the analysis source code, the source code conversion unit automatically groups and handles the resources.(4)
[0236] The information processing device according to any one of (1) to (3), in which the dynamic analysis execution unit performs an operation characteristic analysis of the analysis source code in a compiler-type language.(5)
[0237] The information processing device according to any one of (1) to (3), in which
[0238] the dynamic analysis execution unit performs an operation characteristic analysis of the analysis source code in an interpreter-type language.(6)
[0239] The information processing device according to any one of (1) to (5), in which
[0240] in a case where an error log caused by conversion of a source code by the source code conversion unit or a difference between the environment in which the analysis target source code is executed and the analysis environment is included as a result of analyzing the operation log, the log analysis unit notifies the source code conversion unit of the error log, and
[0241] the source code conversion unit regenerates the analysis source code by reconverting the analysis target source code with reference to the error log and supplies the analysis source code to the dynamic analysis execution unit.(7)
[0242] An information processing method,
[0243] by an information processing device, including:
[0244] reproducing an analysis environment on the basis of an environment in which an analysis target source code is executed;
[0245] generating an analysis source code by converting the analysis target source code;
[0246] executing the analysis source code in the analysis environment and outputting an operation log serving as an execution result; and
[0247] outputting a workflow indicating a dependency relationship between data and processing as operation characteristic data obtained as a result of analyzing the operation log.(8)
[0248] An information processing device including:
[0249] a workflow operation unit that acquires a user operation for a workflow indicating a dependency relationship between a data node and a processing node;
[0250] a comparison target selection unit that selects a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display; and
[0251] a difference content display unit that displays difference content of the comparison target.(9)
[0252] The information processing device according to (8), in which
[0253] in a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a workflow screen, the comparison target selection unit selects a node as the comparison target, and
[0254] the difference content display unit displays whether or not there is a change in the node that is the comparison target.(10)
[0255] The information processing device according to (8), in which
[0256] in a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node attribute information screen, the comparison target selection unit selects node attribute information as the comparison target, and
[0257] the difference content display unit displays difference content of the node attribute information that is the comparison target.(11)
[0258] The information processing device according to (8), in which
[0259] in a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node content screen, the comparison target selection unit selects node content as the comparison target, and
[0260] the difference content display unit displays difference content of the node content that is the comparison target.(12)
[0261] The information processing device according to (8), in which
[0262] in a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a workflow screen, the comparison target selection unit selects a workflow as the comparison target, and
[0263] the difference content display unit displays difference content of the workflow that is the comparison target.(13)
[0264] The information processing device according to (8), in which
[0265] in a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node attribute information screen, the comparison target selection unit selects node attribute information as the comparison target, and
[0266] when there is a change in immediately previously displayed node attribute information that is the comparison target, the difference content display unit displays difference content.(14)
[0267] The information processing device according to (8), in which
[0268] in a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node content screen, the comparison target selection unit selects node content as the comparison target, and
[0269] when there is a change in immediately previously displayed node content that is the comparison target, the difference content display unit displays difference content.(15)
[0270] An information processing method,
[0271] by an information processing device, including:
[0272] acquiring a user operation for a workflow indicating a dependency relationship between a data node and a processing node;
[0273] selecting a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display; and
[0274] displaying difference content of the comparison target.(16)
[0275] An information processing system including:
[0276] an analysis processing unit including:
[0277] an environment reproduction unit that reproduces an analysis environment on the basis of an environment in which an analysis target source code is executed,
[0278] a source code conversion unit that generates an analysis source code by converting the analysis target source code,
[0279] a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result, and
[0280] a log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log; and
[0281] a visualization processing unit including:
[0282] a workflow operation unit that acquires a user operation for the workflow,
[0283] a comparison target selection unit that selects a comparison target for which difference display is to be performed on the basis of the user operation or immediately previous user interface display, and
[0284] a difference content display unit that displays difference content of the comparison target.
[0285] Note that the present embodiment is not limited to the embodiment described above, and various modifications can be made without departing from the gist of the present disclosure. Furthermore, the effects described in the present specification are merely examples and are not restrictive, and some other effects may be achieved.REFERENCE SIGNS LIST11 Workflow management system
[0287] 12 Analysis processing unit
[0288] 13 Visualization processing unit
[0289] 14 External resource
[0290] 21 Analysis target environment source code execution unit
[0291] 22 Dynamic analysis environment source code execution unit
[0292] 23 Environment reproduction unit
[0293] 24 Source code conversion unit
[0294] 25 Log analysis unit
[0295] 31 Workflow information accumulation unit
[0296] 32 User operation history accumulation unit
[0297] 33 Workflow display unit
[0298] 34 Workflow operation unit
[0299] 35 Comparison target selection unit
[0300] 36 Difference content acquisition unit
[0301] 37 Difference content display unit
Claims
1. An information processing device comprising:an environment reproduction unit that reproduces an analysis environment on a basis of an environment in which an analysis target source code is executed;a source code conversion unit that generates an analysis source code by converting the analysis target source code;a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result; anda log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log.
2. The information processing device according to claim 1, whereinthe source code conversion unit performs conversion such that a time calculation amount required for execution of the analysis source code is finite and can be grasped in advance by performing a static analysis of the analysis target source code.
3. The information processing device according to claim 2, whereinwhen detecting that one or more resources are accessed in iteration / recursion processing in the analysis source code, the source code conversion unit automatically groups and handles the resources.
4. The information processing device according to claim 1, whereinthe dynamic analysis execution unit performs an operation characteristic analysis of the analysis source code in a compiler-type language.
5. The information processing device according to claim 1, whereinthe dynamic analysis execution unit performs an operation characteristic analysis of the analysis source code in an interpreter-type language.
6. The information processing device according to claim 1, whereinin a case where an error log caused by conversion of a source code by the source code conversion unit or a difference between the environment in which the analysis target source code is executed and the analysis environment is included as a result of analyzing the operation log, the log analysis unit notifies the source code conversion unit of the error log, andthe source code conversion unit regenerates the analysis source code by reconverting the analysis target source code with reference to the error log and supplies the analysis source code to the dynamic analysis execution unit.
7. An information processing method, by an information processing device, comprising:reproducing an analysis environment on a basis of an environment in which an analysis target source code is executed;generating an analysis source code by converting the analysis target source code;executing the analysis source code in the analysis environment and outputting an operation log serving as an execution result; andoutputting a workflow indicating a dependency relationship between data and processing as operation characteristic data obtained as a result of analyzing the operation log.
8. An information processing device comprising:a workflow operation unit that acquires a user operation for a workflow indicating a dependency relationship between a data node and a processing node;a comparison target selection unit that selects a comparison target for which difference display is to be performed on a basis of the user operation or immediately previous user interface display; anda difference content display unit that displays difference content of the comparison target.
9. The information processing device according to claim 8, whereinin a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a workflow screen, the comparison target selection unit selects a node as the comparison target, andthe difference content display unit displays whether or not there is a change in the node that is the comparison target.
10. The information processing device according to claim 8, whereinin a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node attribute information screen, the comparison target selection unit selects node attribute information as the comparison target, andthe difference content display unit displays difference content of the node attribute information that is the comparison target.
11. The information processing device according to claim 8, whereinin a case where a node of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node content screen, the comparison target selection unit selects node content as the comparison target, andthe difference content display unit displays difference content of the node content that is the comparison target.
12. The information processing device according to claim 8, whereinin a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a workflow screen, the comparison target selection unit selects a workflow as the comparison target, andthe difference content display unit displays difference content of the workflow that is the comparison target.
13. The information processing device according to claim 8, whereinin a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node attribute information screen, the comparison target selection unit selects node attribute information as the comparison target, andwhen there is a change in immediately previously displayed node attribute information that is the comparison target, the difference content display unit displays difference content.
14. The information processing device according to claim 8, whereinin a case where a workflow of the comparison target is selected according to the user operation, when the immediately previous user interface display is a node content screen, the comparison target selection unit selects node content as the comparison target, andwhen there is a change in immediately previously displayed node content that is the comparison target, the difference content display unit displays difference content.
15. An information processing method, by an information processing device, comprising:acquiring a user operation for a workflow indicating a dependency relationship between a data node and a processing node;selecting a comparison target for which difference display is to be performed on a basis of the user operation or immediately previous user interface display; anddisplaying difference content of the comparison target.
16. An information processing system comprising:an analysis processing unit including:an environment reproduction unit that reproduces an analysis environment on a basis of an environment in which an analysis target source code is executed,a source code conversion unit that generates an analysis source code by converting the analysis target source code,a dynamic analysis execution unit that executes the analysis source code in the analysis environment and outputs an operation log serving as an execution result, anda log analysis unit that outputs a workflow indicating a dependency relationship between a data node and a processing node as operation characteristic data obtained as a result of analyzing the operation log; anda visualization processing unit including:a workflow operation unit that acquires a user operation for the workflow,a comparison target selection unit that selects a comparison target for which difference display is to be performed on a basis of the user operation or immediately previous user interface display, anda difference content display unit that displays difference content of the comparison target.
