# US 2020/0402539 A1 · Method and device of playing video, and computing device

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

- Number: US 2020/0402539 A1
- Document ID: US20200402539A1
- Status: Published application
- Kind: A1
- Application number: 16/904,197
- Filed: 2020-06-17
- Published: 2020-12-24
- Earliest claimed: 2019-06-18
- Assignees: Shanghai Bilibill Technology Co., LTD.
- Applicants: Shanghai Bilibill Technology Co., LTD.
- Inventors: Jianqiang Ding; Zhaoxin Tan
- Web page: https://patentgrep.com/patent/US20200402539A1

## CPC

- G11B 27/034: on discs (G11B27/036, G11B27/038 take precedence)
- G11B 27/102: {Programmed access in sequence to addressed parts of tracks of operating record carriers (access by moving the head G11B3/08, G11B5/54, G11B7/085, G11B21/022; by moving the record carrier G11B15/005, G11B17/005, by driving of both record carrier and head G11B15/1816)}
- G06F 16/71: Indexing; Data structures therefor; Storage structures
- G06F 16/738: Presentation of query results
- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B 27/105: {of operating discs}
- G11B 27/34: Indicating arrangements {(indicating means incorporated in magazine or cassette G11B23/046 and G11B23/0875; indicating measured values in general G01D)}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure describes techniques for playing videos. The disclosed techniques include obtaining a total duration and a playing duration of a first video segment; identifying a first video node corresponding to the first video segment and a first directing message associated with the first video node in a video playing plot graph, wherein the video playing plot graph is pre-generated and comprises a plurality of video nodes, and each video node corresponds to a video segment and is associated with a directing message comprising information related to a second video node; determining the second video node based on the first directing message in response to a determination that a difference between the total duration and the playing duration is equal to a predetermined amount; obtaining the second video segment based on the second video node; and playing the second video segment continuously once the first video segment is finished.

## Claims

### Claim 1

A method for playing videos, comprising:
obtaining a total duration and a playing duration of a first video segment that is currently being played, wherein the playing duration of the first video segment is a time during which the first video segment has been played;
determining a first video node corresponding to the first video segment and a first directing message associated with the first video node based on a video playing plot graph, wherein the video playing plot graph is pre-generated and comprises a plurality of video nodes, the first video node is among the plurality of video nodes, and each of the plurality of video nodes corresponds to a video segment and is associated with a directing message;
determining a second video node based on the first directing message in response to a determination that a difference between the total duration and the playing duration is not greater than a predetermined value, wherein the first directing message comprises information associated with a second video node corresponding to a second video segment;
obtaining the second video segment based on the second video node; and
playing the second video segment continuously once the first video segment is finished.

### Claim 2 (depends on 1)

The method of claim 1, wherein the video playing plot graph is generated based on a directed graph structure.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first directing message comprises an option directing message, a random directing message, a quick directing message, or a plot directing message.

### Claim 4 (depends on 3)

The method of claim 3,
wherein when the first directing message is the option directing message, the determining a second video node based on the first directing message further comprises:
displaying an option menu corresponding to the option directing message, wherein the option menu corresponds to the option directing message, is pre-generated, and comprises multiple options associated with multiple video nodes; and
receiving a selection of a video node among the multiple video nodes by a user through the option menu.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
when the first directing message is the random directing message, randomly identifying an un-played video node included in the video playing plot graph as the second video node, wherein the un-played video node corresponds to a video segment that has not been played; and
when the first directing message is the quick directing message, directly identifying a video node included in the quick directing message as the second video node.

### Claim 6 (depends on 3)

The method of claim 3,
wherein when the first directing message is the plot directing message, each video node in the video playing plot graph is further associated with a plot variable value and an unlocked plot variable value, and the determining a second video node based on the first directing message further comprises:
determining one or more video segments that have been played;
determining one or more video nodes corresponding to the one or more video segments based on the video playing plot graph;
identifying a plot variable value corresponding to each of the one or more video nodes;
determining a total plot variable value, wherein the total plot variable value is a sum of the plot variable value corresponding to each of the one or more video nodes; and
identifying the second video node in the video playing plot graph based on the total plot variable value, wherein the second video node is associated with an unlocked plot variable value that is less than or equal to the total plot variable value.

### Claim 7 (depends on 1)

The method of claim 1, wherein the playing the second video segment continuously when the first video segment is finished further comprises:
obtaining a video format of the second video segment; and
determining whether the video format of the second segment video is applicable to a first video player component based on a predetermined table; wherein the first video segment is played by the first video player component, and the predetermined table comprises a plurality of video formats and indicates a corresponding video player component applicable to each of the plurality of video formats.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
in response to a determination that the video format of the second video segment is applicable to the first video player component, splicing the second video segment to the end of the first video segment for playing, wherein the splicing the second video segment to the end of the first video segment for playing further comprises:
adding the second video segment to a play queue of the first video player component; and
superimposing the total duration of the first video segment as an offset to a beginning of the second video segment, and updating a total video playing duration of the first video player component.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
in response to a determination that the video format of the second video segment is not applicable to the first video player component, identifying a second video player component applicable to the video format of the second video segment based on the predetermined table;
initializing the second video player component and preloading the second video segment to the second video player component; and
replacing the first video player component with the second video player component when the first video segment is finished; and
playing the second video segment using the second video player component.

### Claim 10

A computing device of playing videos, 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 device to:
obtain a total duration and a playing duration of a first video segment that is currently being played, wherein the playing duration of the first video segment is a time during which the first video segment has been played;
determine a first video node corresponding to the first video segment and a first directing message associated with the first video node based on a video playing plot graph, wherein the video playing plot graph is pre-generated and comprises a plurality of video nodes, the first video node is among the plurality of video nodes, and each of the plurality of video nodes corresponds to a video segment and is associated with a directing message;
determine a second video node based on the first directing message in response to a determination that a difference between the total duration and the playing duration is not greater than a predetermined value, wherein the first directing message comprises information associated with a second video node corresponding to a second video segment;
obtain the second video segment based on the second video node; and
play the second video segment continuously once the first video segment is finished.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein when the first directing message is an option directing message, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to:
display an option menu corresponding to the option directing message, wherein the option menu corresponds to the option directing message, is pre-generated, and comprises multiple options associated with multiple video nodes; and
receive a selection of a video node among the multiple video nodes by a user through the option menu.

### Claim 12 (depends on 10)

The computing device of claim 10,
wherein when the first directing message is a random directing message, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to randomly identify an un-played video node included in the video playing plot graph as the second video node, wherein the un-played video node corresponds to a video segment that has not been played; and
wherein when the first directing message is a quick directing message, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to directly identify a video node included in the quick directing message as the second video node.

### Claim 13 (depends on 10)

The computing device of claim 10, wherein when the first directing message is a plot directing message, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to:
determine one or more video segments that have been played;
determine one or more video nodes corresponding to the one or more video segments based on the video playing plot graph;
identify a plot variable value corresponding to each of the one or more video nodes;
determine a total plot variable value, wherein the total plot variable value is a sum of the plot variable value corresponding to each of the one or more video nodes; and
identify the second video node in the video playing plot graph based on the total plot variable value, wherein the second video node is associated with an unlocked plot variable value that is less than or equal to the total plot variable value.

### Claim 14 (depends on 10)

The computing device of claim 10, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to:
obtain a video format of the second video segment; and
determine whether the video format of the second segment video is applicable to a first video player component based on a predetermined table; wherein the first video segment is played by the first video player component, and the predetermined table comprises a plurality of video formats and indicates a corresponding video player component applicable to each of the plurality of video formats.

### Claim 15 (depends on 14)

The computing device of claim 14, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to:
in response to a determination that the video format of the second video segment is applicable to the first video player component, add the second video segment to a play queue of the first video player component; and
superimpose the total duration of the first video segment as an offset to a beginning of the second video segment, and updating a total video playing duration of the first video player component.

### Claim 16 (depends on 14)

The computing device of claim 14, the at least one memory further storing instructions that upon execution by the at least one processor cause the computing device to:
in response to a determination that 1 the video format of the second video segment is not applicable to the first video player component, identify a second video player component applicable to the video format of the second video segment based on the predetermined table;
initialize the second video player component and preload the second video segment to the second video player component; and
replace the first video player component with the second video player component when the first video segment is finished; and
play the second video segment using the second video player component.

### Claim 17

A non-transitory computer-readable storage medium, which stores computer programs that upon execution by a processor cause the processor to implement operations, the operations comprising:
obtaining a total duration and a playing duration of a first video segment that is currently being played, wherein the playing duration of the first video segment is a time during which the first video segment has been played;
determining a first video node corresponding to the first video segment and a first directing message associated with the first video node based on a video playing plot graph, wherein the video playing plot graph is pre-generated and comprises a plurality of video nodes, the first video node is among the plurality of video nodes, and each of the plurality of video nodes corresponds to a video segment and is associated with a directing message;
determining a second video node based on the first directing message in response to a determination that a difference between the total duration and the playing duration is not greater than a predetermined value, wherein the first directing message comprises information associated with a second video node corresponding to a second video segment;
obtaining the second video segment based on the second video node; and
playing the second video segment continuously once the first video segment is finished.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein when the first directing message is an option directing message, the determining a second video node based on the first directing message further comprises:
displaying an option menu corresponding to the option directing message, wherein the option menu corresponds to the option directing message, is pre-generated, and comprises multiple options associated with multiple video nodes; and
receiving a selection of a video node among the multiple video nodes by a user through the option menu.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, the operations further comprising:
when the first directing message is a random directing message, randomly identifying an un-played video node included in the video playing plot graph as the second video node, wherein the un-played video node corresponds to a video segment that has not been played; and
when the first directing message is a quick directing message, directly identifying a video node included in the quick directing message as the second video node.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein when the first directing message is a plot directing message, each video node in the video playing plot graph is further associated with a plot variable value and an unlocked plot variable value, and the determining a second video node based on the first directing message further comprises:
determining one or more video segments that have been played;
determining one or more video nodes corresponding to the one or more video segments based on the video playing plot graph;
identifying a plot variable value corresponding to each of the one or more video nodes;
determining a total plot variable value, wherein the total plot variable value is a sum of the plot variable value corresponding to each of the one or more video nodes; and
identifying the second video node in the video playing plot graph based on the total plot variable value, wherein the second video node is associated with an unlocked plot variable value that is less than or equal to the total plot variable value.
