Web Browser File Uploads with Completion-Gated Filename Assignment
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing file upload methods using web browsers require a two-step process of file selection and transmission, which can lead to the accidental upload of non-existent or incomplete files due to the need for users to assign filenames before file generation is complete.
Innovation Solution
An information processing system that automatically generates and uploads files in response to a filename being assigned to a predetermined tag, monitoring file generation and ensuring the filename is assigned only after completion, thereby preventing incomplete uploads and allowing user interaction during the process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a filename is assigned to a file selection tag in HTML before file generation is completed, then the user operation is simplified to a single step, but a non-existent or incomplete file may be uploaded
Solution Approach 1:
The system performs preliminary actions by automatically generating the file and assigning the filename sequentially. The filename assignment is delayed until after file generation completes, ensuring the file exists before upload preparation begins, thus preventing incomplete file uploads while maintaining simplified user operation
Solution Approach 2:
The system implements feedback mechanisms to monitor file generation status and dynamically control when the filename is assigned to the file selection tag. This feedback loop ensures the filename is only assigned after successful file generation, preventing upload of non-existent files while keeping the interface simple for users
2Ease of operation
If the web browser is closed during file upload, then user operations can resume, but the upload process may be interrupted
Solution Approach 1:
The system segments the upload process into distinct phases: file generation, filename assignment, and actual upload execution. By separating these operations and using asynchronous processing, the system allows the web browser interface to remain available for user operations while the upload continues in the background, preventing interruptions
Solution Approach 2:
The system introduces an intermediary mechanism (asynchronous process management) between the user interface and the upload execution. This intermediary allows the browser to remain responsive to user operations while maintaining the upload process in the background, ensuring both user interface availability and upload completion
Data Source
Figure 1
Figure 2A
Figure 2B
AI summary
An information processing system is configured to, in response to a filename being assigned to a predetermined tag on a web page, automatically start uploading a file having the filename, the information processing system including a processor configured to: receive an instruction to generate a file after the predetermined tag is selected; and assign a filename of the file to the predetermined tag in response to detecting completion of file generation executed in accordance with the received instruction.