Key Value Extending for Embedded Browser Compatibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The proliferation of embedded browsers in televisions and set-top boxes leads to compatibility issues due to differing key value definitions among web applications, resulting in multiple browser library versions and the need for kernel configuration modifications.
Innovation Solution
A method and system for key value extending that initializes a hash mapping table with key values and their mappings, logs key value definitions into webpages, and returns mapping values for key requests without modifying the browser kernel configuration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the browser kernel configuration is modified to support differentiated key values, then compatibility with different web applications is improved, but the complexity of browser library versions increases
Solution Approach 1:
The patent introduces a key value mapping mechanism as an intermediary layer between the browser kernel and web applications. This mapping table stores correspondence relationships between standard key values and application-specific key values, allowing different web applications to access their required key values without modifying the browser kernel configuration. The intermediary mapping mechanism resolves the contradiction by enabling adaptability through configuration rather than through multiple library versions.
Solution Approach 2:
The patent changes the parameter of key value mapping from hard-coded in the kernel configuration to dynamic configuration through a mapping table. By parameterizing the key value relationships in a separate configuration structure, the system can adapt to different web applications without changing the core browser library, thus reducing version complexity while maintaining versatility.
2Adaptability or versatility
If multiple browser library versions are created to support different key values, then compatibility with differentiated key values is improved, but software version management becomes more difficult
Solution Approach 1:
The patent segments the key value support functionality from the main browser library by introducing a separate key value mapping mechanism. This segmentation allows different key value configurations to be managed independently through configuration files rather than through multiple library versions, simplifying software version management while maintaining support for differentiated key values.
Solution Approach 2:
The key value mapping table serves as an intermediary that decouples the browser library from application-specific key value requirements. This intermediary layer enables flexible configuration of different key values without requiring multiple browser library versions, thereby improving ease of operation in software version management while preserving adaptability to different key value schemes.
3Adaptability or versatility
If the browser kernel configuration is modified for each web application, then key value compatibility is improved, but the stability of the browser core is compromised
Solution Approach 1:
The patent introduces a key value mapping table as an intermediary between the stable browser kernel configuration and the variable web application requirements. This intermediary allows the browser core to maintain its stability while still achieving key value compatibility through configuration-based mapping, preventing direct modifications to the kernel configuration for each application.
Solution Approach 2:
The patent applies parameter changes by moving key value configurations from the browser kernel level to a separate mapping table level. This allows the browser core to remain stable with a standardized configuration while adapting to different web applications through parameter mapping, thus resolving the contradiction between adaptability and stability.
Data Source
AI summary
Disclosed a key value extending method, which comprises: when a browser is started, storing a key value and its mapping value of a loaded first configuration file for initializing a hash mapping table into the hash mapping table, and storing a loaded second configuration file used to define a plurality of key value definitions of the browser into the browser's memory; when a webpage is opened, logging a key value definition that stored in the key value definitions but not found in the webpage into the webpage; and when received a key request from the webpage, searching a mapping value required by the webpage in the hash mapping table according to the key value included in the key request, and returning the searched mapping value to the webpage. This disclosure also discloses a key value extending system.


