Hybrid Network Resource Access Using Script Parsing and Native API Rendering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current browser engine development for mobile devices is inefficient, requiring high labor and time costs, and is not easily upgradable when issues arise, leading to a suboptimal user experience.
Innovation Solution
A network resource access apparatus and method that utilizes a native API unit to access operating system components, a script parsing unit to interpret service function scripts, and a page rendering unit to generate interactive pages using native UI components, allowing for efficient development and updating of service functions without requiring extensive browser engine upgrades.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If native development language is used to develop browsing engine service functions, then the performance and user experience are improved, but the development cost and time increase significantly
Solution Approach 1:
The patent segments the browsing engine into two distinct parts: a native code core that handles critical performance functions, and a script-based service function layer that handles business logic. This segmentation allows the performance-critical parts to be implemented in native code while the service functions use easier-to-develop script languages, thus resolving the contradiction between user experience and development time.
Solution Approach 2:
The patent introduces a script parsing unit and API bridge as intermediaries between the native browsing engine core and service functions. These intermediaries enable script-based service functions to interact with the native engine, allowing developers to use simpler scripting languages while still accessing native capabilities, thereby improving development efficiency without sacrificing performance.
2Adaptability or versatility
If native development language is used for browsing engine service functions, then the functionality is improved, but the ease of maintenance and upgrading deteriorates
Solution Approach 1:
The patent separates service functions into an independent script-based layer that can be modified without affecting the native engine core. This segmentation enables easy maintenance and upgrading of service functions by simply replacing or updating script files, while the stable native core continues to provide foundational functionality.
Solution Approach 2:
The patent enables service function modifications through parameter changes in script configurations rather than requiring code compilation and rebuilding. This allows rapid iteration and updating of service functions by changing script parameters and logic, significantly improving ease of maintenance and upgrading while maintaining full functionality.
3Productivity
If HTML technology is used for mobile device browsing, then the development efficiency is improved, but the performance across different devices deteriorates
Solution Approach 1:
The patent applies local quality by allowing different implementation approaches for different parts of the browsing experience. Critical performance-sensitive components use native code for optimal performance on each device, while less performance-critical service functions use cross-platform scripts. This ensures high performance consistency while maintaining development efficiency.
Data Source
AI summary
A network resource access apparatus, a hybrid apparatus, and a method are provided. The network resource access apparatus includes a native application programming interface (API) unit that provides a native API having a feature of accessing the operating system; a script parsing unit that parses the obtained service function script that is written in a specified script language to obtain the content of the service function described by the service function script; a page rendering unit that, according to the content of the service function, calls the native API provided by the native API unit to render and generate an interactive page constituted by a plurality of native UI components. The time and the labor costs for developing service functions may be reduced.


