Dynamic Page Logic Loading for Native App Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current technologies do not allow for timely updates of page logic in native pages, requiring manual application upgrades and leading to inefficiencies in page logic execution and display.
Innovation Solution
A page processing method and device that dynamically load page resources, including page logic from a server, in response to a page display request, enabling timely updates and ensuring the page logic runs correctly during page display.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If page logic is bound to the page framework stored in the client, then the application structure is simple and easy to maintain, but the page logic cannot be updated in a timely manner requiring manual application upgrades
Solution Approach 1:
The patent segments the page logic from the application framework by introducing a separate page resource file that can be independently updated. The page logic is extracted into a distinct component (page resource file) that can be dynamically loaded and updated without requiring application store updates, thus enabling timely page logic updates while maintaining a relatively simple application structure.
Solution Approach 2:
The patent extracts the page logic from the bound page framework and stores it in a separate page resource file on the server. This extraction allows the page logic to be independently managed and updated without affecting the core application framework, resolving the contradiction between update capability and system complexity.
2Productivity
If page logic is manually updated through application store upgrades, then the application framework remains stable, but the update speed is slow and user experience deteriorates
Solution Approach 1:
The patent implements preliminary action by pre-preparing page resource files on the server that can be dynamically loaded. Instead of waiting for manual application updates, the system proactively makes updated page logic available on the server, allowing clients to automatically retrieve and apply updates when needed, thus dramatically increasing update speed and reducing update time.
Solution Approach 2:
The patent introduces dynamic page resource files that can be updated on the server and automatically loaded by clients. This dynamic mechanism replaces the static, manual update process with an automated, on-demand update system that adapts to user needs in real-time, significantly improving productivity while minimizing time loss.
3Reliability
If page resources are dynamically loaded from server, then page logic can be updated timely, but the network dependency increases and may affect display stability
Solution Approach 1:
The patent applies preliminary action by pre-generating and storing multiple versions of page resource files on the server before they are needed. When a client requests a page, the server can immediately provide the appropriate version without requiring real-time compilation or processing, thus maintaining high reliability while managing the complexity of dynamic resource loading through advance preparation.
Data Source
AI summary
Embodiments of the present disclosure provide a page processing method and device, an electronic device, a storage medium, a computer program product, and a computer program. The method includes: receiving a page display request; loading a page resource of a target page in response to the page display request, where the page resource includes a configuration file and page logic from a server, and the target page is a native page; and displaying the target page based on the page resource.


