# US 2020/0401496 A1 · Method and device of displaying video comments, computing device, and readable storage medium

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

- Number: US 2020/0401496 A1
- Document ID: US20200401496A1
- Status: Published application
- Kind: A1
- Application number: 16/904,948
- Filed: 2020-06-18
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Shanghai Bilibili Technology Co., Ltd.
- Applicants: Shanghai Bilibili Technology Co., LTD.
- Inventors: Zhaoxin Tan; Jingqiang Zhang; Qi Tang; Jianqiang Ding; Hao Liu
- Web page: https://patentgrep.com/patent/US20200401496A1

## CPC

- G06F 11/3419: {by assessing time}
- H04N 21/4782: Web browsing {, e.g. WebTV}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 16/9577: {Optimising the visualization of content, e.g. distillation of HTML documents}
- H04N 21/488: Data services, e.g. news ticker {(systems specially adapted for using meteorological information in broadcast systems H04H60/71)}
- G06F 2201/81: Threshold
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Techniques of displaying comments relative to video frames are described herein. The disclosed techniques include obtaining page data comprising a video file and rendering the page data to play a video comprising a plurality of frames; obtaining a comment file comprising a plurality of comments on the video; displaying the plurality of comments relative to the plurality of frames while playing the video; detecting a computer performance parameter during rendering the page data; and reducing a density of displaying comments in response to determining that the computer performance parameter is less than a predetermined value.

## Claims

### Claim 1

A method of displaying comments relative to video frames while playing a video, comprising:
obtaining page data comprising a video file and rendering the page data to play a video, the video comprising a plurality of frames;
obtaining a comment file comprising a plurality of comments on the video;
displaying the plurality of comments relative to the plurality of frames while playing the video;
detecting a computer performance parameter during rendering the page data; and
reducing a density of displaying comments in response to determining that the computer performance parameter is less than a predetermined value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the computer performance parameter is a browser frame rate.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
detecting the browser frame rate during rendering the page data in real time;
recording a plurality of browser frame rates S1, S2, . . . Sm in a recent period of time T;
determining an average browser frame rate, wherein the average browser rate equals to (S1+S2+ . . . Sm)/T; and
determining whether the average browser frame is less than the predetermined value.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the displaying the plurality of comments further comprises displaying the plurality of comments according to a time sequence T1, T2, . . . Tn; and
wherein the reducing the density of displaying comments further comprises stopping displaying comments after a time Tx in response to determining that the computer performance parameter is less than the predetermined value, and wherein 1≤x<n.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
displaying the plurality of comments according to a time sequence T1, T2, . . . Tn;
receiving a value X from a user;
displaying up to X comments according to the time sequence T1, T2, . . . Tn;
modifying the value from X to Y in response to determining that the computer performance parameter is less than the predetermined value, wherein Y<X; and
displaying up to Y comments according to the time sequence T1, T2, . . . Tn.

### Claim 6 (depends on 5)

The method of claim 5, after modifying the value from X to Y in response to determining that the computer performance parameter is less than the predetermined value, further comprising:
pausing detecting the computer performance parameter when rendering the page data;
starting a countdown timer;
resuming detecting the computer performance parameter when the countdown timer expires.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
obtaining a mask file corresponding to the video, wherein the mask file comprises a plurality of mask frames corresponding to the plurality of frames of the video, and each of the plurality of mask frames comprises a mask area corresponding to a main area of a corresponding frame of the video;
displaying one or more comments in areas other than a mask area of a corresponding mask frame; and
reducing a frequency of updating mask frames in response to determining that the computer performance parameter is less than the predetermined value.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
receiving a second value X′;
updating mask frames at a first frequency that is not greater than X′;
modifying the second value from X′ to Y′ in response to determining that the computer performance parameter is less than the predetermined value, wherein Y′<X′; and
updating mask frames at a second frequency that is not greater than Y′.

### Claim 9 (depends on 8)

The method of claim 8, after modifying the second value from X′ to Y′ in response to determining that the computer performance parameter is less than the predetermined value, further comprising:
pausing detecting the computer performance parameter when rendering the page data;
starting a countdown timer;
resuming detecting the computer performance parameter when the countdown timer expires.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
modifying the second value from Y′ to X′ in response to determining that the computer performance parameter is equal to or greater than the predetermined value; and
updating mask files at the first frequency that is not greater than X′.

### Claim 11

A system of displaying comments relative to video frames while playing a video, comprising:
at least one processor; and
at least one memory communicatively coupled to the at least one processor and storing instructions that upon execution by the at least one processor cause the computing system to:
obtain page data comprising a video file and rendering the page data to play a video, the video comprising a plurality of frames;
obtain a comment file comprising a plurality of comments on the video;
display the plurality of comments relative to the plurality of frames while playing the video;
detect a computer performance parameter during rendering the page data; and
reduce a density of displaying comments in response to determining that the computer performance parameter is less than a predetermined value.

### Claim 12 (depends on 11)

The system of claim 11, wherein the computer performance parameter is a browser frame rate.

### Claim 13 (depends on 12)

The system of claim 12, the at least one memory further storing instructions that upon execution by the at least one processor cause the system to:
detect the browser frame rate during rendering the page data in real time;
record a plurality of browser frame rates S1, S2, . . . Sm in a recent period of time T;
determine an average browser frame rate, wherein the average browser rate equals to (S1+S2+ . . . Sm)/T; and
determine whether the average browser frame is less than the predetermined value.

### Claim 14 (depends on 11)

The system of claim 11,
wherein the displaying the plurality of comments further comprises displaying the plurality of comments according to a time sequence T1, T2, . . . Tn; and
wherein the reducing the density of displaying comments further comprises stopping displaying comments after a time Tx in response to determining that the computer performance parameter is less than the predetermined value, and wherein 1≤x<n.

### Claim 15 (depends on 11)

The system of claim 11, the at least one memory further storing instructions that upon execution by the at least one processor cause the system to:
display the plurality of comments according to a time sequence T1, T2, . . . Tn;
receive a value X from a user;
display up to X comments according to the time sequence T1, T2, . . . Tn;
modify the value from X to Y in response to determining that the computer performance parameter is less than the predetermined value, wherein Y<X; and
display up to Y comments according to the time sequence T1, T2, . . . Tn.

### Claim 16 (depends on 11)

The system of claim 11, the at least one memory further storing instructions that upon execution by the at least one processor cause the system to:
obtain a mask file corresponding to the video, wherein the mask file comprises a plurality of mask frames corresponding to the plurality of frames of the video, and each of the plurality of mask frames comprises a mask area corresponding to a main area of a corresponding frame of the video;
display one or more comments in areas other than a mask area of a corresponding mask frame; and
reduce a frequency of updating mask frames in response to determining that the computer performance parameter is less than the predetermined value.

### Claim 17 (depends on 16)

The system of claim 16, the at least one memory further storing instructions that upon execution by the at least one processor cause the system to:
receive a second value X′;
update mask frames at a first frequency that is not greater than X′;
modify the second value from X′ to Y′ in response to determining that the computer performance parameter is less than the predetermined value, wherein Y′<X′; and
update mask frames at a second frequency that is not greater than Y′.

### Claim 18 (depends on 17)

The system of claim 17, the at least one memory further storing instructions that upon execution by the at least one processor cause the system to:
modify the second value from Y′ to X′ in response to determining that the computer performance parameter is equal to or greater than the predetermined value; and
update mask files at the first frequency that is not greater than X′.

### Claim 19

A non-transitory computer-readable storage medium bearing computer-readable instructions that upon execution on a computing device cause the computing device at least to:
obtain page data comprising a video file and rendering the page data to play a video, the video comprising a plurality of frames;
obtain a comment file comprising a plurality of comments on the video;
display the plurality of comments relative to the plurality of frames while playing the video;
detect a computer performance parameter during rendering the page data; and
reduce a density of displaying comments in response to determining that the computer performance parameter is less than a predetermined value.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, further comprising computer-readable instructions that upon execution on the computing device cause the computing device at least to:
detect a browser frame rate during rendering the page data in real time;
record a plurality of browser frame rates S1, S2, . . . Sm in a recent period of time T;
determine an average browser frame rate, wherein the average browser rate equals to (S1+S2+ . . . Sm)/T; and
determine whether the average browser frame is less than the predetermined value.
