Web Client Data Transmission Completion Detection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Without the use of Flash technology, existing web systems struggle to easily detect the completion of data transmission from a web server, leading to delays in executing subsequent processing.
Innovation Solution
A web system that includes a web client and server, where the server delivers a processing program to the client, enabling the client to inquire about the transmission state and execute processing only after receiving a completion reply, facilitating prompt detection of data transmission completion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If Flash technology is used to enable dynamic content and detect data transmission completion, then the ability to detect transmission completion is improved, but the device complexity and dependency on additional plugins increase
Solution Approach 1:
The patent extracts the data transmission completion detection capability from the Flash plugin dependency and implements it natively within the HTML5 web browser environment. The web server pushes transmission status information directly to the client through server-sent events or WebSocket connections, eliminating the need for Flash's download completion detection API while maintaining the same functional capability.
Solution Approach 2:
The patent makes the data transmission completion detection capability universal by implementing it through standard HTML5 technologies that work across all modern web browsers without requiring additional plugins like Flash. The solution uses widely-supported web APIs (WebSocket, Server-Sent Events, or XMLHttpRequest with event listeners) to provide the same detection functionality universally across different platforms and browsers.
2Ease of operation
If Flash is not used and standard web technologies are employed, then the ease of operation and compatibility improve, but the ability to detect data transmission completion promptly deteriorates
Solution Approach 1:
The patent implements a real-time feedback mechanism where the web server continuously pushes transmission status information to the web client as the data transmission progresses. Using WebSocket or Server-Sent Events, the server sends incremental status updates (e.g., bytes transmitted, transmission percentage, completion status) allowing the client to detect transmission completion immediately without waiting for the entire download to finish before knowing the status.
Solution Approach 2:
The patent maintains continuous monitoring of data transmission status through persistent connections (WebSocket or long-polling via XMLHttpRequest). Instead of waiting for the transmission to complete and then checking status, the system continuously receives status updates throughout the transmission process, ensuring that completion detection occurs at the exact moment it happens without delay.
3Measurement precision
If the web client continuously polls the web server for transmission status, then the detection capability is improved, but the energy consumption and server load increase
Solution Approach 1:
The patent implements periodic status updates from the server side rather than continuous client polling. The web server uses Server-Sent Events or WebSocket to push status information at appropriate intervals during transmission, or immediately when status changes occur. This event-driven periodic action reduces unnecessary communication when transmission status hasn't changed, lowering energy consumption compared to continuous client-side polling while still providing timely detection of transmission completion.
Data Source
AI summary
A web system includes a web client having a web browser, and a web server for providing the web client with a computer program to be executed on the web browser. The web server includes a delivery portion configured to deliver, as the computer program, a predetermined processing program to the web client, the predetermined processing program causing the web client, when the web client starts receiving specific data from the web server, to execute inquiry processing of inquiring of the web server as to a state of transmission of the specific data in the web server, and the predetermined processing program causing the web client to execute predetermined processing after a reply that the transmission is completed is received as the state, and a reply portion configured to, when an inquiry as to the state is sent from the web client, inform the web client of the state.


