Partial Document Loading via Server-Side Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Accessing large documents over a network can result in time delays due to transmission distances and document length, as existing methods typically require loading and rendering the entire document, which is inefficient.
Innovation Solution
A method where a server computer opens only a portion of the document, corresponding to the size of the client's display screen plus an additional portion, and sends this to the client computer, allowing for faster rendering and enabling smooth scrolling without the need to download the entire document.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the entire document is loaded and rendered on the client computer, then the complete document is available for viewing and editing, but time delays occur due to transmission distances and document length
Solution Approach 1:
The document is divided into multiple portions, with only the first portion (corresponding to the display screen size plus additional portion) being loaded and rendered on the client computer initially. Subsequent portions are loaded on-demand as the user scrolls, resolving the contradiction by making the document accessible in segments rather than requiring full document transmission.
Solution Approach 2:
The server computer pre-loads the first portion of the document and keeps it available for immediate rendering on the client computer. This preliminary action ensures that the initial document access is fast while the complete document remains available on the server for subsequent portions to be loaded as needed.
2Productivity
If only a portion of the document is loaded initially, then rendering time is reduced and access speed is improved, but additional loading requests are needed as the user scrolls
Solution Approach 1:
The system dynamically loads additional portions of the document based on user scrolling behavior. The client computer monitors scroll events and automatically requests subsequent portions from the server, creating a dynamic loading strategy that adapts to user interaction while maintaining fast initial rendering.
Solution Approach 2:
The client computer autonomously manages the document loading process by detecting scroll events and automatically sending requests for additional portions without requiring user intervention. This self-service mechanism simplifies the user experience while enabling progressive document loading.
3Reliability
If the entire document is transmitted over the network, then complete document access is ensured, but transmission time increases due to network distance and document size
Solution Approach 1:
The document transmission is segmented into multiple portions, with only the essential first portion being transmitted initially to the client computer. This segmentation reduces the immediate transmission time while ensuring document completeness through on-demand loading of subsequent portions from the server.
Solution Approach 2:
Instead of transmitting the complete document, the system performs partial action by transmitting only the portion of the document that corresponds to the display screen size plus an additional portion. This partial transmission significantly reduces transmission time while providing sufficient initial content for user interaction.
Data Source
AI summary
On a client computer a request is sent to a server computer to open a first portion of a document. The document is stored at the server computer. The first portion of the document is smaller than the entire document. The request includes information used by the server computer to determine a size of the first portion of the document. The first portion of the document is received from the server computer. A second portion of the document is rendered on a display screen on the client computer. The second portion of the document is a subset of the first portion of the document. When the client computer determines that the user has scrolled a third portion of the document and that more of the document is available at the server computer, a second request is sent to the server computer to open an additional portion of the document.


