Server-Side Page Data Compilation for Terminal Load Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current page loading methods are inefficient, as they require parsing extended markup language (XML) data on the terminal each time a page is loaded, leading to increased load on the terminal and limiting flexibility in presenting dynamic data.

Innovation Solution

A method where a server compiles initial page structure data into scripting language page data, including a page generation code and data variable set, which is then sent to the terminal to generate a node tree matching the current data set, allowing for efficient and flexible page presentation without the need for terminal-side parsing of XML data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If XML parsing is performed on the terminal each time a page is loaded, then the page can be rendered, but the terminal load increases and page loading efficiency decreases

Engineering Contradiction:
Improvepage loading efficiencyVSAvoidterminal processing load
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-compiling the page template into executable code and data structure definitions on the server before transmission to the terminal. This eliminates the need for runtime parsing on the terminal, as the compilation work is performed in advance during server-side template processing, thus improving page loading efficiency while reducing terminal processing load.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If XML data is parsed on the terminal, then page rendering is possible, but flexibility in presenting dynamic data is limited

Engineering Contradiction:
Improveflexibility in presenting dynamic dataVSAvoidpage loading efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent applies dynamics by separating the page template (code) from the data, allowing the terminal to dynamically instantiate the page by combining the pre-compiled executable code with runtime data. This enables flexible presentation of dynamic data without requiring XML parsing, as the system can adaptively generate pages by binding different data sets to the same compiled template, thus improving both flexibility and loading efficiency.

Inventive Principle:
Principle #15Dynamics

3Loss of time

If the terminal performs XML parsing and page generation, then the page can be displayed, but the process is time-consuming and inefficient

Engineering Contradiction:
Improvepage loading timeVSAvoidterminal processing capability
Core Design Contradiction:
Loss of timeVSEase of operation

Solution Approach 1:

The patent applies the extraction principle by removing the time-consuming XML parsing operation from the terminal and relocating it to the server during the template compilation phase. The terminal only needs to execute the pre-compiled code and bind data, which is a much lighter operation. This extraction of the heavy parsing task from the terminal significantly reduces page loading time while maintaining terminal processing simplicity.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10776567B2Method for compiling page data, method, device and storage medium for page rendering
Publication Date: 2020.09.15 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10776567B2 patent drawing
  • US10776567B2 patent drawing
  • US10776567B2 patent drawing

AI summary

A page data compiling apparatus and method, the method being performed by a server, includes obtaining initial page structure data that is generated using an extended markup language, parsing the initial page structure data to generate scripting language page data comprising a page generation code and a data variable set, an input to the page generation code being a current data set that is determined according to the data variable set, and an output of the page generation code being a node tree matching the input current data set, and sending the scripting language page data to a terminal so that the terminal determines the current data set according to the data variable set, determines the matching node tree according to the current data set and the page generation code in the scripting language page data, and displays a page according to the node tree.