Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent switching method and device for browser kernel, terminal and storage medium

A browser kernel and intelligent switching technology, applied in the Internet field, can solve problems such as non-compliance

Active Publication Date: 2019-04-26
BEIJING HAITAI FANGYUAN HIGH TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The above two methods of adding indicative META tags to guide the browser to use a specific kernel are technical means for specific browsers. Since there are a large number of legacy websites at present, the above two development rules are not followed during development, and the above-mentioned methods are not applicable. Two ways to switch the corresponding browser kernel

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Intelligent switching method and device for browser kernel, terminal and storage medium
  • Intelligent switching method and device for browser kernel, terminal and storage medium
  • Intelligent switching method and device for browser kernel, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0093] figure 1 It is a flow chart of the steps of a method for intelligently switching browser kernels provided by an embodiment of the present invention, and the method can be applied to browsers, such as figure 1 As shown, the method may include:

[0094] Step 101, HTML parsing is performed on the webpage data to be tested to generate a DOM tree.

[0095] Among them, DOM (Document Object Model, Document Object Model) is a standard programm...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an intelligent switching method and device for a browser kernel, a terminal and a storage medium, and the method comprises the steps: carrying out the HTML analysis of to-be-tested webpage data, so as to generate a document object model DOM tree; Obtaining a built-in function list, a built-in style list and an event list corresponding to the webpage data to be tested according to the DOM tree; And according to the built-in function list, the built-in style list and the event list, classifying the to-be-tested webpage data through a pre-generated static decision tree to obtain a browser kernel corresponding to the to-be-tested webpage data. According to the method and the device, the webpage characteristics are analyzed, and the adaptive kernel and the version thereofof the legacy website can be accurately identified without the aid of an indicative META label, so that the kernel of the browser can be intelligently switched, and the universality of kernel switching is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an intelligent switching method, device, terminal and storage medium of a browser kernel. Background technique [0002] At present, most of the domestic mainstream browser products adopt a dual-core architecture design, such as the Webkit / blink-based core for high-speed browsing of commonly used websites, and the IE-based core for compatibility with online banking and old-version websites to meet different user needs. However, many websites are only designed for specific browser kernels, such as ie6 and ie7, and changing a browser kernel will cause serious compatibility problems. If the code is compatible with the display effects under multiple sets of browser kernels, it will take a lot of time for website engineers. [0003] To avoid spending a website engineer's time and reduce compatibility issues, browsers can be directed to adopt a website-specific kernel. Currently,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/958G06F9/48
CPCG06F9/4843
Inventor 王溢蒋红宇胡伯良
Owner BEIJING HAITAI FANGYUAN HIGH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products