Browser Kernel Switching with Post Data Transfer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional dual-kernel browsers face issues with slow page loading and compatibility when switching between WebKit and Trident kernels, particularly during web page redirections, due to failures in transferring post data between kernels.
Innovation Solution
A browser kernel switching method that determines the need for kernel switching during page loading, transfers post data from a first kernel to a second kernel, and returns it to the web page server, utilizing a kernel switching list to optimize the switching process and improve compatibility and speed.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If a browser uses dual-kernel architecture to access web pages, then the browsing speed is improved, but the compatibility with certain web pages deteriorates
Solution Approach 1:
The browser dynamically switches between WebKit and Trident kernels based on the specific web page being accessed. The system determines whether to use WebKit for speed or Trident for compatibility on a per-page basis, making the kernel selection flexible and adaptive rather than static
Solution Approach 2:
A kernel switching mechanism acts as an intermediary layer between the user and the two kernels (WebKit and Trident). This mediator determines which kernel to activate for each web page, managing the transition between speed-optimized and compatibility-optimized rendering engines
2Adaptability or versatility
If a browser uses a compatibility mode list to determine kernel selection, then the compatibility is improved, but the maintenance difficulty increases
Solution Approach 1:
The system automatically determines kernel selection based on real-time detection of web page characteristics and redirection scenarios. Instead of relying on manually maintained compatibility lists, the browser self-adapts by detecting when Trident kernel is needed for compatibility and switching automatically
Solution Approach 2:
The browser monitors web page loading results and user interactions to feedback on kernel performance. When Trident kernel successfully handles a web page that WebKit cannot, the system learns from this feedback to prefer Trident for similar scenarios in the future
3Reliability
If a browser directly uses Trident kernel to avoid exceptions during redirection, then the reliability is improved, but the browsing speed deteriorates
Solution Approach 1:
The browser dynamically adjusts kernel selection based on the specific redirection scenario. For payment website redirections where reliability is critical, it switches to Trident kernel. For other scenarios, it continues using the faster WebKit kernel, making the system adaptive to different reliability requirements
4Adaptability or versatility
If a browser transfers post data between kernels during switching, then the compatibility during redirection is improved, but the complexity of the switching process increases
Solution Approach 1:
The browser performs preliminary detection to determine whether kernel switching is needed before the actual switching occurs. By anticipating the need for Trident kernel in payment scenarios, it prepares the switching process in advance, avoiding last-minute complications
Solution Approach 2:
A data transfer mechanism serves as an intermediary to smoothly pass post data between WebKit and Trident kernels during switching. This mediator handles the complexity of data format conversion and ensures data integrity during the kernel transition
Data Source
AI summary
The present invention provides a browser kernel switching method, which enables a browser to switch between different browser kernels when browsering different web pages, and comprises the following steps: detecting, by the browser, whether a kernel switch is needed; and transferring a post data in a previous kernel of the browser to the kernel which is to be switched when loading a page that requires to switch kernel.


