Unlock instant, AI-driven research and patent intelligence for your innovation.

Browser Kernel Adaptation Method and Browser

A browser kernel and browser technology, applied in network data browsing optimization, instrumentation, digital data information retrieval, etc., can solve problems such as inability to automatically adapt browser kernel and affect user browser experience, so as to save traffic, Experience-Enhancing, Realistic Effects

Active Publication Date: 2015-10-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The browsers of existing mobile terminals usually use the default browser kernel to implement various operations of the browser, such as the kernel provided by the default browser developer. In this case, the browser kernel is fixed. During the process, it is impossible to automatically adapt to the browser kernel, which affects the user experience of using the browser

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
  • Browser Kernel Adaptation Method and Browser
  • Browser Kernel Adaptation Method and Browser
  • Browser Kernel Adaptation Method and Browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] See figure 1 , This embodiment provides a method for browser kernel adaptation, including:

[0048] 101: The browser receives a request from the user to browse the page;

[0049] 102: The browser obtains the information of the page from the server according to the request, and determines the type of the page according to the information of the obtained page;

[0050] 103: The browser selects a browser core according to the determined page type, and uses the selected browser core to process the request.

[0051] The page in this embodiment refers to a hypermedia document on the WWW (World Wide Web, World Wide Web), that is, a page, which is usually also called a web page.

[0052] In this embodiment, step 102 may include:

[0053] The browser sends an HTTP (HyperText Transfer Protocol) request message to the server according to the request, and receives the HTTP response message returned by the server; obtains the content type in the HTTP response message; determines that the conte...

Embodiment 2

[0063] See figure 2 , This embodiment provides a method for browser kernel adaptation, including:

[0064] 201: The user uses a browser to browse a page on a mobile terminal, and the browser receives a request from the user to browse the page.

[0065] 202: The browser sends an HTTP Request request message to the server according to the received request, and receives an HTTP Response response message returned by the server.

[0066] Wherein, the server refers to a server that provides page services, such as a certain website.

[0067] 203: The browser judges whether the received HTTP response message contains the Content-Type content type; if the HTTP response message contains the content type, execute 204; otherwise, execute 207.

[0068] The HTTP response message includes a header and a body, where the header optionally includes a Content-Type, which is used to identify the type of the currently requested page, and the browser can obtain the Content-Type from the HTTP response messag...

Embodiment 3

[0093] See image 3 , This embodiment provides a browser, including:

[0094] The receiving module 301 is used to receive a request from a user to browse a page;

[0095] The determining module 302 is configured to obtain page information from the server according to the request, and determine the type of the page according to the obtained page information;

[0096] The selection module 303 is configured to select a browser core according to the determined page type, and use the selected browser core to process the request.

[0097] See Figure 4 In this embodiment, the determining module 302 may include:

[0098] The request unit 302a is configured to send a hypertext transfer protocol HTTP request message to the server according to the request, and receive an HTTP response message returned by the server;

[0099] The obtaining unit 302b is used to obtain the content type in the HTTP response message;

[0100] The determining unit 302c is used to determine whether the content type is WM...

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 present disclosure, pertaining to the field of computer Internet, discloses a browser kernel adaptation method and a browser therefor. The method includes: receiving, by a browser, a request for browsing a page from a user; acquiring, by the browser, information of the page from a server according to the request, and determining the type of the page according to the information of the page; and selecting, by the browser, a browser kernel according to the type of the page, and processing the request by using the selected browser kernel. The browser includes: a receiving module, a determining module, and a selecting module. The present disclosure implements an automatic adaptation function of the browser kernel during page browsing, and solves the problem that the browser kernel in the prior art cannot be automatically adapted.

Description

Technical field [0001] The invention relates to the field of computer Internet, in particular to a method and browser for browser kernel adaptation. Background technique [0002] When using a browser to browse a webpage on a mobile terminal, the grammar of the webpage is usually interpreted and rendered through the kernel of the browser. The browser kernel also refers to the rendering engine used by the browser. The rendering engine determines how the browser displays the content of the web page and the format information of the page. Different browser cores have different interpretations of web page writing syntax, so the rendering effect of the same web page in browsers with different cores may also be different. [0003] The current common browser kernels mainly include the following: one is the kernel provided by the browser developer; the other is the browser kernel provided by the mobile terminal where the browser is located; the other is the background transfer, which can a...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08G06F17/30
CPCH04L67/02G06F17/30899G06F16/957G06F16/954
Inventor 何明陈磊高文君
Owner TENCENT TECH (SHENZHEN) CO LTD