Image Processing Method for Reducing Data Traffic via URL Adaptation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current image processing methods for mobile terminals consume excessive data traffic and fail to adapt automatically to changes in algorithms when displaying large images from small image URLs, leading to inconsistent image display.
Innovation Solution
An image processing method that acquires a URL of an image in a preset format, receives scripting language instructions from a server to compute URLs for both small and large images, and displays them accordingly, allowing for automatic adaptation to different algorithms and reducing unnecessary data transfer.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If both large image and small image addresses are downloaded to local terminal, then image display is achieved, but large amount of unnecessary traffic is consumed
Solution Approach 1:
The patent extracts only the necessary image data from the server response. Instead of downloading both large and small image addresses to the local terminal, the system selectively retrieves only the small image address initially, and only downloads the large image when actually needed by user interaction, thereby eliminating unnecessary data traffic while ensuring image display functionality
Solution Approach 2:
The patent performs preliminary computation of image addresses on the server side before transmission. The server pre-calculates both large and small image addresses using the computing algorithm, but only transmits the small image address to the terminal. This preliminary action enables the terminal to display the small image immediately without needing to store or process multiple image addresses, reducing local storage requirements and initial data traffic
2Adaptability or versatility
If URL computation algorithm changes, then server can flexibly manage images, but terminal cannot automatically adapt and large image cannot be displayed
Solution Approach 1:
The patent implements a feedback mechanism where the terminal sends the small image address back to the server, and the server responds with the corresponding large image address through a standardized interface. This feedback loop allows the server to maintain flexibility in changing its internal image management algorithms while ensuring the terminal always receives the correct large image address through the standardized response format, thus maintaining display reliability despite algorithm changes
Solution Approach 2:
The patent creates a universal interface between terminal and server that abstracts away the specific computation algorithm. The standardized interface allows different image address computation algorithms to be implemented on the server side without affecting the terminal, as the terminal only needs to interact through the universal standardized protocol. This multi-functionality enables the system to adapt to different algorithms while maintaining consistent terminal behavior and reliable image display
Data Source
AI summary
Disclosed is an image processing method, including: acquiring a Uniform Resource Locator (URL) of an image having a preset format; receiving a scripting language instruction sent by a server, and computing, according to the URL of the image having the preset format, a first URL of a first display image (e.g., a small image) and a second URL of a second display image (e.g., large image); displaying, according to the first URL of the first display image, the first display image when a display instruction of the first display image is triggered; and displaying, according to the second URL of the second display image, the second display image when a display instruction of the second display image is triggered. In the present disclosure, an image is correctly displayed through automatic adaptation to address algorithms of the small image and the corresponding large image, so that data traffic is reduced.


