# US 2018/0322215 A1 · Web page access method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0322215 A1
- Document ID: US20180322215A1
- Status: Published application
- Kind: A1
- Application number: 16/031,486
- Filed: 2018-07-10
- Published: 2018-11-08
- Earliest claimed: 2016-02-05
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yaoyao LU
- Web page: https://patentgrep.com/patent/US20180322215A1

## CPC

- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application discloses a web page access method and apparatus. The web page access method includes: obtaining a web page access request, the web page access request carrying a web page address; determining whether a preset address sample set has an address sample matching the web page address; according to a determining result, loading a web page corresponding to the web page address by using a browser kernel; obtaining a web page element of the web page; determining whether a preset element sample set has a web page element sample matching the web page element; and when the preset element sample set has a web page element sample matching the web page element, determining whether browser kernel switching needs to be performed.

## Claims

### Claim 1

A web page access method for a multi-kernel browser, comprising:
obtaining, by a terminal, a web page access request, the web page access request carrying a web page address;
determining, by the terminal, whether a preset address sample set has an address sample matching the web page address;
according to a determining result, loading, by the terminal, a web page corresponding to the web page address by using a browser kernel;
obtaining, by the terminal, a web page element of the web page;
determining, by the terminal, whether a preset element sample set has a web page element sample matching the web page element; and
when the preset element sample set has a web page element sample matching the web page element, determining, by the terminal, whether browser kernel switching needs to be performed.

### Claim 2 (depends on 1)

The web page access method according to claim 1, further comprising:
when it is determined that browser kernel switching needs to be performed, re-loading, by the terminal, the web page by using a second browser kernel corresponding to the matching web page element sample.

### Claim 3 (depends on 1)

The web page access method according to claim 1, further comprising:
obtaining, by the terminal, a plurality of browser kernels corresponding to the matching web page element sample; and
selecting, by the terminal, a target browser kernel from the plurality of browser kernels for browser kernel switching.

### Claim 4 (depends on 3)

The web page access method according to claim 3, further comprising:
determining, by the terminal, whether the target browser kernel is same as the browser kernel; and
when it is determined that the target browser kernel is not same as the browser kernel, determining, by the terminal, that browser kernel switching needs to be performed,
wherein the performing browser kernel switching includes: re-loading, by the terminal, the web page by using the target browser kernel.

### Claim 5 (depends on 3)

The web page access method according to claim 3, further comprising:
selecting, by the terminal, a target browser kernel from the plurality of browser kernels according to priority levels of the plurality of browser kernels.

### Claim 6 (depends on 1)

The web page access method according to claim 1, further comprising:
when it is determined that the preset address sample set has an address sample matching the web page address, based on a mapping relationship set, obtaining, by the terminal, the browser kernel corresponding to the matching address sample, wherein the mapping relationship set comprises a mapping relationship between the address sample and the browser kernel; and
loading, by the terminal, the web page corresponding to the web page address by using the browser kernel.

### Claim 7 (depends on 2)

The web page access method according to claim 2, further comprising:
when it is determined that the preset address sample set has no address sample matching the web page address, loading, by the terminal, the web page corresponding to the web page address by using a default browser kernel.

### Claim 8 (depends on 7)

The web page access method according to claim 7, further comprising:
establishing, by the terminal, a mapping relationship between the web page address and the browser kernel corresponding to the matching web page element sample; and
adding, by the terminal, the web page address as an address sample to the preset address sample set.

### Claim 9

A non-transitory computer-readable storage medium containing computer-executable instructions for, when executed by one or more processors, performing a web page access method for a multi-kernel browser method on a terminal, the method comprising:
obtaining a web page access request, the web page access request carrying a web page address;
determining whether a preset address sample set has an address sample matching the web page address;
according to a determining result, loading a web page corresponding to the web page address by using a browser kernel;
obtaining a web page element of the web page;
determining whether a preset element sample set has a web page element sample matching the web page element; and
when the preset element sample set has a web page element sample matching the web page element, determining whether browser kernel switching needs to be performed.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, the method further comprising:
when it is determined that browser kernel switching needs to be performed, re-loading the web page by using a second browser kernel corresponding to the matching web page element sample.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, the method further comprising:
obtaining a plurality of browser kernels corresponding to the matching web page element sample; and
selecting a target browser kernel from the plurality of browser kernels for browser kernel switching.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the determining whether browser kernel switching needs to be performed comprises:
determining whether the target browser kernel is same as the browser kernel; and
when it is determined that the target browser kernel is not same as the browser kernel, determining that browser kernel switching needs to be performed,
wherein the performing browser kernel switching includes: re-loading the web page by using the target browser kernel.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the selecting a target browser kernel from the plurality of browser kernels comprises:
selecting a target browser kernel from the plurality of browser kernels according to priority levels of the plurality of browser kernels.

### Claim 14 (depends on 9)

The non-transitory computer-readable storage medium according to claim 9, wherein the loading a web page corresponding to the web page address by using a browser kernel comprises:
when it is determined that the preset address sample set has an address sample matching the web page address, based on a mapping relationship set, obtaining the browser kernel corresponding to the matching address sample, wherein the mapping relationship set comprises a mapping relationship between the address sample and the browser kernel; and
loading the web page corresponding to the web page address by using the browser kernel.

### Claim 15 (depends on 10)

The non-transitory computer-readable storage medium according to claim 10, wherein the loading a web page corresponding to the web page address by using a browser kernel comprises:
when it is determined that the preset address sample set has no address sample matching the web page address, loading the web page corresponding to the web page address by using a default browser kernel.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, the method further comprising:
establishing a mapping relationship between the web page address and the browser kernel corresponding to the matching web page element sample; and
adding the web page address as an address sample to the preset address sample set.

### Claim 17

A web page access device, comprising:
a memory, the memory storing program instructions; and
one or more processors coupled to the memory and, when executing the program instructions, configured to perform:
obtaining a web page access request, the web page access request carrying a web page address;
determining whether a preset address sample set has an address sample matching the web page address;
according to a determining result, loading a web page corresponding to the web page address by using a browser kernel;
obtaining a web page element of the web page;
determining whether a preset element sample set has a web page element sample matching the web page element; and
when the preset element sample set has a web page element sample matching the web page element, determining whether browser kernel switching needs to be performed.

### Claim 18 (depends on 17)

The web page access device according to claim 17, wherein the processor is further configured for:
when it is determined that browser kernel switching needs to be performed, re-loading the web page by using a second browser kernel corresponding to the matching web page element sample.

### Claim 19 (depends on 17)

The web page access device according to claim 17, wherein the processor is further configured for:
obtaining a plurality of browser kernels corresponding to the matching web page element sample; and
selecting a target browser kernel from the plurality of browser kernels for browser kernel switching.

### Claim 20 (depends on 19)

The web page access device according to claim 19, wherein, for determining whether browser kernel switching needs to be performed, the processor is further configured for:
determining whether the target browser kernel is same as the browser kernel; and
when it is determined that the target browser kernel is not same as the browser kernel, determining that browser kernel switching needs to be performed,
wherein, for performing browser kernel switching, the processor is further configured for: re-loading the web page by using the target browser kernel.
