Server-Preprocessed PDF Margin Trimming for Portable Terminals
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for displaying PDF files on portable terminals with small displays are inefficient due to the need for real-time detection and trimming of varying page margins, which consumes significant resources and slows down page switching.
Innovation Solution
A method where a terminal sends a file specification to a server, which generates and sends a data package containing margin trimming data, allowing the terminal to display the file with trimmed page margins without the need for real-time detection, thus conserving resources and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Area of stationary object
If the terminal performs real-time detection and trimming of page margins, then the text display area is enlarged, but the resource consumption increases and page switching speed decreases
Solution Approach 1:
The patent applies preliminary action by pre-calculating and storing margin trimming data on the server before the terminal needs to display the PDF file. When a user requests to view a PDF, the terminal retrieves the pre-computed margin trimming data from the server, avoiding the need to perform real-time detection and trimming operations on the portable terminal. This significantly reduces resource consumption and accelerates page switching while still achieving the goal of enlarging the text display area.
2Area of stationary object
If the terminal performs real-time detection and trimming of page margins, then the text display area is enlarged, but the resource consumption increases
Solution Approach 1:
The patent introduces a server as an intermediary between the user and the PDF file processing. The server performs the computationally intensive tasks of detecting text portions and calculating margin trimming data, then stores these results. The terminal acts as a lightweight client that only needs to retrieve and apply the pre-computed data, dramatically reducing its resource consumption and energy usage while still achieving enlarged text display area.
3Area of stationary object
If the terminal performs real-time detection and trimming of page margins, then the text display area is enlarged, but the operation complexity increases
Solution Approach 1:
The patent applies preliminary action by pre-calculating and storing margin trimming data on the server before the terminal needs to display the PDF file. When a user requests to view a PDF, the terminal retrieves the pre-computed margin trimming data from the server, avoiding the need to perform real-time detection and trimming operations on the portable terminal. This significantly reduces resource consumption and accelerates page switching while still achieving the goal of enlarging the text display area.
Data Source
AI summary
A method for a terminal to display a file includes sending to a server a file specification corresponding to the file; receiving from the server a data package for trimming page margins of the file, wherein the data package is generated according to the file specification, and includes margin trimming data of a page of the file; and displaying the page of the file based on the received data package.


