Shell Script Progress Visualization Using Execution Log Output
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies fail to quantitatively visualize the progress of executing shell scripts that include multiple shell commands.
Innovation Solution
An information processing apparatus collects logs representing the execution history of shell scripts, determines the progress based on the amount of collected logs, and provides a user interface with an object representing the progress for display.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If no progress visualization is provided during program execution, then the system maintains simplicity, but users cannot quantitatively grasp the execution progress
Solution Approach 1:
The patent introduces an intermediary progress visualization component that mediates between the program execution process and the user interface. This component collects output data during execution, calculates progress metrics, and presents them through UI elements like progress bars, thereby providing quantitative progress information without complicating the core execution engine
Solution Approach 2:
The system implements feedback by continuously monitoring output data during program execution and updating the user interface with current progress status. This creates a closed-loop information flow where execution state is fed back to the user in real-time, enabling quantitative progress visualization
2Measurement precision
If detailed log collection is implemented to measure progress, then progress measurement precision improves, but information processing overhead increases
Solution Approach 1:
The patent extracts only the necessary progress-related information from the program output data, rather than collecting and processing all generated logs. By selectively extracting relevant output data that correlates with execution progress, the system achieves precise progress measurement while minimizing processing overhead
Solution Approach 2:
The system changes the parameter being measured from raw log volume to normalized progress metrics. By transforming the measurement parameter to reflect execution progress directly (e.g., percentage complete based on output data accumulation), the system achieves precise progress tracking with reduced computational burden
Data Source
AI summary
An information processing device is provided to quantitatively visualize the progress of execution of a program containing multiple instructions. The processor of the information processing device, when executing the control program instructions, causes the information processing device to perform operations. This operation includes collecting output data outputted with the execution of multiple instructions contained in a program when the program containing multiple instructions is executed, determining the progress of execution of the program containing multiple instructions based on the amount of the collected output data since the execution of the program containing multiple instructions began, and providing a user interface including an object representing the determined progress for display.


