Browser Engine Operation Mode Selection for CPU Environment Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing browser engines operate in a fixed mode, limiting their compatibility with different CPU environments, which can affect browser performance and lead to crashes on terminals with mismatched CPU settings.

Innovation Solution

A method and apparatus that obtain the CPU environment of a terminal and select a matched operation mode for the browser engine, allowing the browser to adapt its operation mode based on the terminal's capabilities, using modules for obtaining, selecting, and operating the browser engine.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the browser engine uses a fixed operation mode, then the compilation and configuration process is simple, but the browser cannot adapt to different CPU environments, leading to performance issues or crashes

Engineering Contradiction:
Improveadaptability to different CPU environmentsVSAvoidoperation mode selection mechanism
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The browser engine transitions from a static, fixed operation mode to a dynamic, selectable operation mode. The system now includes a selection module that can choose between different operation modes (e.g., JIT compilation mode, interpreter mode) based on the detected CPU environment, making the engine adaptable to different terminal architectures while maintaining manageable complexity through automated selection.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The operation mode parameter of the browser engine is made changeable based on the CPU environment. The system detects CPU characteristics and adjusts the operation mode parameter accordingly, allowing the engine to switch between different execution strategies (JIT compilation vs. interpretation) to optimize performance and compatibility for specific hardware architectures.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the browser engine supports multiple operation modes, then compatibility with various terminal types is improved, but the complexity of configuring and selecting the correct mode increases

Engineering Contradiction:
Improvecompatibility with terminal typesVSAvoidconfiguration simplicity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system implements self-service by automatically detecting the CPU environment and selecting the appropriate operation mode without requiring manual user configuration. The selection module autonomously matches terminal capabilities with suitable operation modes, eliminating the burden of manual configuration while maintaining broad terminal compatibility.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary detection of the CPU environment before executing the browser engine. By pre-detecting CPU characteristics and pre-selecting the appropriate operation mode, the system avoids runtime configuration issues and ensures optimal performance is automatically established before browsing begins.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If the browser uses a uniquely-fixed operation mode during compilation, then the build process is straightforward, but the operating speed may be affected or the browser may crash on mismatched CPU environments

Engineering Contradiction:
Improvebrowser stability on different terminalsVSAvoidbrowser operating speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The operation mode is made dynamic rather than fixed, allowing the browser engine to adapt its execution strategy based on the detected CPU environment. This dynamic selection ensures reliable operation across different terminal types while maintaining optimal performance by choosing the most suitable mode (JIT or interpreter) for each hardware architecture.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system incorporates feedback from CPU environment detection to determine the appropriate operation mode. By continuously monitoring and responding to CPU characteristics, the system adjusts the operation mode to ensure both stability and performance, preventing crashes and optimizing speed based on actual hardware capabilities.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS9565244B2Methods and apparatus for operating browser engine
Publication Date: 2017.02.07 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9565244B2 patent drawing
  • US9565244B2 patent drawing
  • US9565244B2 patent drawing

AI summary

Various embodiments provide methods and apparatus for operating a browser engine, and related browsers and terminals. When starting a browser, an operating environment of the browser can be obtained. The operating environment can include a CPU environment in a browser-installed-terminal. A matched operation mode of the browser engine can be selected according to the operating environment. The selected operation mode can be used to operate the browser engine. Exemplary apparatus for operating the browser engine can include an obtaining module, a selection module, and an operation module. Various embodiments also provide a browser including the disclosed apparatus, and a terminal including the disclosed browser.