Graph Drawing Coordinate Processing for Display Style Switching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing graph drawing applications on web browsers lack efficient local processing of coordinate data for display styles, leading to slower performance and increased server load when switching between decimal and mathematical expression display styles.
Innovation Solution
An electronic apparatus that includes a processor to send mathematical expressions to a server for graph drawing, storing and displaying image data, and selectively processing coordinates locally or remotely based on display style, reducing server load by caching and processing coordinate data efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If coordinate calculation is always performed on the server, then display accuracy is maintained, but processing time increases and server load increases
Solution Approach 1:
The patent applies preliminary action by pre-calculating and storing coordinate data for multiple display styles (decimal and mathematical expression formats) on the server before user requests. When a user specifies a point, the system checks local memory first for pre-computed coordinates in the requested display style, avoiding real-time server calculation. This resolves the contradiction by preparing data in advance, thus maintaining accuracy while reducing processing time.
Solution Approach 2:
The patent implements local quality by differentiating processing approaches based on display style requirements. For decimal display style, coordinates are obtained from pre-computed data stored locally in memory. For mathematical expression display style, coordinates are calculated by the client device using stored expression data. This localized processing approach maintains accuracy for each display type while minimizing server involvement and reducing processing time.
2Productivity
If coordinate data is cached locally, then processing speed improves, but memory usage increases
Solution Approach 1:
The patent applies partial action by selectively caching coordinate data only for displayed graph regions and currently active display styles, rather than storing all possible coordinate data for entire graphs. The system maintains coordinate information in memory proportional to the visible graph area and current display style, reducing memory consumption while still enabling fast local retrieval for actively displayed content.
3Measurement precision
If server is requested for every coordinate calculation, then data accuracy is ensured, but server load increases
Solution Approach 1:
The server performs coordinate calculations in advance for multiple display styles and stores the results in response data transmitted to the client. This preliminary computation eliminates the need for repeated server requests for the same graph data, maintaining accuracy through server-generated coordinates while significantly reducing server load during user interaction with the graph.
Solution Approach 2:
The system creates and stores copies of coordinate data in different display styles (decimal and mathematical expression formats) generated by the server. These copied coordinate datasets are transmitted to and stored in client memory, allowing the client to retrieve and display coordinates without further server requests, thus ensuring accuracy through server-generated data while reducing ongoing server load.
Data Source
AI summary
An electronic apparatus includes a memory, a display, and a processor. If a display style when a point is specified in an image is a first display style, the processor obtains coordinates of the point in the first display style based on first drawing data stored in the memory without requesting a server to calculate the coordinates, and displays the coordinates on the display. If the display style is a second display style, the processor sends, to the server, relevant data including the coordinates of the point and information indicating that the display style is the second display style; receives second-display-style coordinate data which is (a) second drawing data including the coordinates in the second display style generated by the server based on the relevant data or (b) data including an address of the second drawing data; and displays, on the display, the coordinates based on the second-display-style coordinate data.


