Web Application Job Termination Prevention Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When a web application executes a job using a multifunction peripheral, the job cannot be continued if the web application is terminated during execution.
Innovation Solution
An electronic device with processing circuitry and memory that instructs a job executor to start and manage jobs, sends execution state reports, and prevents termination of the web application until the job is completed, using a library to ensure uninterrupted execution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the web application is allowed to terminate freely during job execution, then the ease of operation is improved, but the reliability of job completion deteriorates
Solution Approach 1:
The electronic device acts as an intermediary between the web application and the job executor. It receives termination operations from the web application, checks whether a job is currently being executed, and only allows termination if the job has completed. This mediator approach resolves the contradiction by blocking premature terminations (improving reliability) while still allowing legitimate terminations after job completion (maintaining ease of operation).
2Reliability
If the web application is prevented from terminating during job execution, then the reliability of job completion is improved, but the ease of operation deteriorates
Solution Approach 1:
The termination prevention mechanism is dynamic rather than static. The electronic device continuously monitors the job execution state and dynamically adjusts the termination permission accordingly. When a job is executing, termination is blocked; when the job completes, termination is permitted. This dynamic approach ensures reliability during critical phases while maintaining operational flexibility when appropriate.
3Productivity
If the web application executes jobs using a library, then the productivity is improved, but the device complexity increases
Solution Approach 1:
The system is segmented into distinct functional components: the web application layer, the electronic device layer (which handles termination control), and the job executor layer (which uses the library). This segmentation allows each component to focus on its specific function, improving overall productivity through specialized processing while managing complexity by distributing responsibilities across separate modules.
Data Source
AI summary
An electronic device includes processing circuitry; and a memory storing computer-executable instructions that cause the processing circuitry to instruct, by a web application operating in a web browser, a job executor to start executing a job by using a library; send a report of an execution state of the job executed by the job executor; and prevent a termination operation of terminating the web application that is displayed in the web browser, until the job instructed to start is terminated.


