# US 10,956,653 B2 · 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 10,956,653 B2
- Document ID: US10956653B2
- Status: Granted
- Kind: B2
- Application number: 16/038,393
- Filed: 2018-07-18
- Published: 2018-11-08
- Granted: 2021-03-23
- 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/US10956653B2

## 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 on a user terminal, the method comprising:
extracting, from a uniform resource locator (URL) of a to-be-displayed page, page parameter information of the to-be-displayed page, including:
removing a protocol header from the URL to obtain a shortened URL;
extracting a page domain name from the shortened URL;
extracting a storage path from the shortened URL;
extracting a preset keyword from the shortened URL to indicate a type of page content; and
including in the page parameter information at least one of the page domain name, the storage path, and the preset keyword;
screening the page parameter information against an information set prestored on the user terminal, the information set including a correspondence between various pieces of page parameter information and a portrait mode or a landscape mode, wherein the screening includes:
downloading the information set from a cloud server, wherein the cloud server counts a total number of users who have opened pages, counts a first number of the users displaying the pages in the landscape mode or the portrait mode, and calculates a ratio of the first number of the users to the total number of the users, and wherein upon determining the ratio exceeds a preset ratio, the cloud server extracts page parameter information of the pages and stores the page parameter information as extracted from the pages in the information set;
determining, according to a screening result of the screening, to display the to-be-displayed page in the portrait mode or the landscape mode; and
displaying the to-be-displayed page in the portrait mode or the landscape mode as determined.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
obtaining the information set before screening the page parameter information against the information set.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the obtaining the information set comprises:
obtaining a page opened by a user 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 4 (depends on 3)

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

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
screening the preset keyword as extracted from the shortened URL against a keyword set stored on the user terminal, the keyword set including a correspondence between preset keywords and types of page content of pages, wherein the types of page content of pages include a picture page or a text page.

### Claim 6

An apparatus for displaying a page on a user terminal, 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 uniform resource locator (URL) of a to-be-displayed page, page parameter information of the to-be-displayed page, including:
removing a protocol header from the URL to obtain a shortened URL;
extracting a page domain name from the shortened URL;
extracting a storage path from the shortened URL;
extracting a preset keyword from the shortened URL to indicate a type of page content; and
including in the page parameter information at least one of the page domain name, the storage path, and the preset keyword;
screening the page parameter information against an information set prestored on the user terminal, the information set including a correspondence between various pieces of page parameter information and a portrait mode or a landscape mode, wherein the screening includes:
downloading the information set from a cloud server, wherein the cloud server counts a total number of users who have opened pages, counts a first number of the users displaying the pages in the landscape mode or the portrait mode, and calculates a ratio of the first number of the users to the total number of the users, and wherein upon determining the ratio exceeds a preset ratio, the cloud server extracts page parameter information of the pages and stores the page parameter information as extracted from the pages in the information set;
determining, according to a screening result of the screening, to display the to-be-displayed page in the portrait mode or the landscape mode; and
displaying the to-be-displayed page in the portrait mode or the landscape mode as determined.

### Claim 7 (depends on 6)

The apparatus according to claim 6, wherein the processor is further configured to perform:
obtaining the information set before screening the page parameter information against the information set.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the processor is further configured to perform:
obtaining a page opened by a user 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 9 (depends on 6)

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

### Claim 10

A non-transitory computer-readable storage medium storing computer program instructions executable by at least one processor to perform:
extracting, from a uniform resource locator (URL) of a to-be-displayed page, page parameter information of the to-be-displayed page, including:
removing a protocol header from the URL to obtain a shortened URL;
extracting a page domain name from the shortened URL;
extracting a storage path from the shortened URL;
extracting a preset keyword from the shortened URL to indicate a type of page content; and
including in the page parameter information at least one of the page domain name, the storage path, and the preset keyword;
screening the page parameter information against an information set prestored on a user terminal, the information set including a correspondence between various pieces of page parameter information and a portrait mode or a landscape mode, wherein the screening includes:
downloading the information set from a cloud server, wherein the cloud server counts a total number of users who have opened pages, counts a first number of the users displaying the pages in the landscape mode or the portrait mode, and calculates a ratio of the first number of the users to the total number of the users, and wherein upon determining the ratio exceeds a preset ratio, the cloud server extracts page parameter information of the pages and stores the page parameter information as extracted from the pages in the information set;
determining, according to a screening result of the screening, to display the to-be-displayed page in the portrait mode or the landscape mode; and
displaying the to-be-displayed page in the portrait mode or the landscape mode as determined.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium according to claim 10, wherein the computer program instructions further cause the at least one processor to perform:
obtaining the information set before screening the page parameter information against the information set.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the obtaining the information set comprises:
obtaining a page opened by a user 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 12)

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