# US 2018/0322101 A1 · Method and apparatus for displaying page and a computer storage medium

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

- Number: US 2018/0322101 A1
- Document ID: US20180322101A1
- Status: Published application
- Kind: A1
- Application number: 16/038,393
- Filed: 2018-07-18
- Published: 2018-11-08
- Earliest claimed: 2016-03-23
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Lin Fan
- Web page: https://patentgrep.com/patent/US20180322101A1

## CPC

- G06F 40/106: Display of layout of documents; Previewing
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/306: User profiles
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- 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

A method is provided for displaying a page. The method includes extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page. The page parameter information includes at least one of a uniform resource locator (URL) of the to-be-displayed page, a type of page content, and a page domain name. The method also includes determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page; and displaying the to-be-displayed page according to the determined display mode.

## Claims

### Claim 1

A method for displaying a page, the method comprising:
extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page, the page parameter information including at least one of a uniform resource locator (URL) of the to-be-displayed page, a type of page content, and a page domain name;
determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page; and
displaying the to-be-displayed page according to the determined display mode.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page comprises one or more of:
extracting the URL of the to-be-displayed page from the to-be-displayed page;
extracting the page domain name of the to-be-displayed page from the URL of the to-be-displayed page; and
extracting a preset keyword from the URL of the to-be-displayed page and determining the type of the page content of the to-be-displayed page according to the preset keyword.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page comprises:
matching the page parameter information of the to-be-displayed page and page parameter information comprised in an information set, the information set comprising page parameter information of a page displayed in a first display mode;
determining that the display mode to display the to-be-displayed page is the first display mode when it is determined, through matching, that the information set comprises the page parameter information of the to-be-displayed page; and
determining that the display mode to display the to-be-displayed page is a second display mode when it is determined, through matching, that the information set does not comprise the page parameter information of the to-be-displayed page.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the method further comprises:
obtaining the information set before matching the page parameter information of the to-be-displayed page and the information set.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the obtaining the information set comprises:
obtaining a page opened by a user and displayed in the first display mode, and extracting page parameter information from the obtained page into the information set; or
downloading the information set from a cloud server, the information set being obtained by the cloud server by collecting historical record information of users and analyzing the historical record information, and the historical record information including pages opened by the users and display modes in which the pages are displayed.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the information set is a configuration file or a database.

### Claim 7 (depends on 3)

The method according to claim 3, wherein the first display mode is a landscape mode, and the second display mode is a portrait mode, or the first display mode is a portrait mode, and the second display mode is a landscape mode.

### Claim 8

An apparatus for displaying a page, the apparatus comprising:
a memory storing computer program instructions; and
a processor coupled to the memory and, when executing the computer program instructions, configured to perform:
extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page, the page parameter information including at least one of a uniform resource locator (URL) of the to-be-displayed page, a type of page content, and a page domain name;
determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page; and
displaying the to-be-displayed page according to the determined display mode.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein, for extracting the page parameter information, the processor is further configured to perform one or more of:
extracting the URL of the to-be-displayed page from the to-be-displayed page;
extracting the page domain name of the to-be-displayed page from the URL of the to-be-displayed page; and
extracting a preset keyword from the URL of the to-be-displayed page and determining the type of the page content of the to-be-displayed page according to the preset keyword.

### Claim 10 (depends on 8)

The apparatus according to claim 8, wherein, for determining a display mode to display the to-be-displayed page, the processor is further configured to perform:
matching the page parameter information of the to-be-displayed page and page parameter information comprised in an information set, the information set comprising page parameter information of a page displayed in a first display mode;
determining that the display mode to display the to-be-displayed page is the first display mode when it is determined, through matching, that the information set comprises the page parameter information of the to-be-displayed page; and
determining that the display mode to display the to-be-displayed page is a second display mode when it is determined, through matching, that the information set does not comprise the page parameter information of the to-be-displayed page.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to perform:
obtaining the information set before matching the page parameter information of the to-be-displayed page and the information set.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the processor is further configured to perform:
obtaining a page opened by a user and displayed in the first display mode, and extracting page parameter information from the obtained page into the information set; or
downloading the information set from a cloud server, the information set being obtained by the cloud server by collecting historical record information of users and analyzing the historical record information, and the historical record information including pages opened by the users and display modes in which the pages are displayed.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein the information set is a configuration file or a database.

### Claim 14 (depends on 10)

The apparatus according to claim 10, wherein the first display mode is a landscape mode, and the second display mode is a portrait mode, or the first display mode is a portrait mode, and the second display mode is a landscape mode.

### Claim 15

A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page, the page parameter information including at least one of a uniform resource locator (URL) of the to-be-displayed page, a type of page content, and a page domain name;
determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page; and
displaying the to-be-displayed page according to the determined display mode.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the extracting, from a to-be-displayed page, page parameter information of the to-be-displayed page comprises one or more of:
extracting the URL of the to-be-displayed page from the to-be-displayed page;
extracting the page domain name of the to-be-displayed page from the URL of the to-be-displayed page; and
extracting a preset keyword from the URL of the to-be-displayed page and determining the type of the page content of the to-be-displayed page according to the preset keyword.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the determining, according to the page parameter information of the to-be-displayed page, a display mode to display the to-be-displayed page comprises:
matching the page parameter information of the to-be-displayed page and page parameter information comprised in an information set, the information set comprising page parameter information of a page displayed in a first display mode;
determining that the display mode to display the to-be-displayed page is the first display mode when it is determined, through matching, that the information set comprises the page parameter information of the to-be-displayed page; and
determining that the display mode to display the to-be-displayed page is a second display mode when it is determined, through matching, that the information set does not comprise the page parameter information of the to-be-displayed page.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium according to claim 17, wherein the computer program instructions further cause the at least one processor to perform:
obtaining the information set before matching the page parameter information of the to-be-displayed page and the information set.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein the obtaining the information set comprises:
obtaining a page opened by a user and displayed in the first display mode, and extracting page parameter information from the obtained page into the information set; or
downloading the information set from a cloud server, the information set being obtained by the cloud server by collecting historical record information of users and analyzing the historical record information, and the historical record information including pages opened by the users and display modes in which the pages are displayed.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein the information set is a configuration file or a database.
