# US 2021/0289266 A1 · Video playing 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 2021/0289266 A1
- Document ID: US20210289266A1
- Status: Published application
- Kind: A1
- Application number: 17/333,015
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-28
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co.,Ltd.
- Inventors: Wenjie Zhang; Mang Wang
- Web page: https://patentgrep.com/patent/US20210289266A1

## CPC

- H04N 21/47217: {for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks (specific graphical features in visual interfaces H04N21/4312)}
- G06N 3/02: Neural networks
- G06V 20/41: {Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items (segmenting video sequences G06V20/49)}
- H04N 21/23418: {involving operations for analysing video streams, e.g. detecting features or characteristics (television picture signal circuitry for scene change detection H04N5/147; filtering for image enhancement G06T5/00; methods or arrangements for recognising scenes G06V20/00; arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- H04N 21/251: {Learning process for intelligent management, e.g. learning user preferences for recommending movies (details of learning user preferences for the retrieval of video data in a video database G06F16/739; computer systems using learning methods G06N3/08)}
- H04N 21/4882: {for displaying messages, e.g. warnings, reminders (arrangements for providing short real-time information to substation in data switching networks H04L12/1895)}
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- H04N 21/8549: Creating video summaries, e.g. movie trailer {(retrieval in video databases by using presentations in form of a video summary G06F16/739)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A video playing method and apparatus are provided. In the method, a terminal device sends, to a server, a first request, the first request requesting a video address of a video to be played by the terminal device, and receives a first response sent by the server, the first response includes the video address and dotting information of the video, the dotting information includes a dotting position of the video and a video clip storage address of a video clip corresponding to the dotting position. The terminal device obtains the video based on the video address, and loads the corresponding video clip based on the video clip storage address of the video clip corresponding to the dotting position. The terminal device plays the video clip.

## Claims

### Claim 1

A video playing method, the method comprising:
receiving, by a server, a first request from a terminal device, the first request requesting a video address of a video to be played by the terminal device; and
sending, by the server, a first response to the terminal device, the first response comprising the video address and dotting information of the video, the dotting information comprising a dotting position of the video and a storage address of a video clip corresponding to the dotting position.

### Claim 2 (depends on 1)

The method according to claim 1, wherein after the sending, by the server, the first response to the terminal device, the method further comprises:
receiving, by the server, a second request sent by the terminal device, the second request requesting the video clip corresponding to the dotting position, the second request comprising the storage address of the video clip;
obtaining, by the server based on the storage address of the video clip, the video clip; and
sending, by the server, a second response to the terminal device, the second response comprising the video clip corresponding to the dotting position.

### Claim 3 (depends on 1)

The method according to claim 1, wherein before the sending, by the server, the first response to the terminal device, the method further comprises:
segmenting, by the server, the video into a plurality of video clips;
determining, by the server, a degree of highlighting of each video clip of the plurality of video clips based on a preset neural network model;
selecting, by the server, N video clips of the plurality of video clips based on the degree of highlighting of each video clip of the plurality of video clips; and
determining, by the server, N dotting positions of the video based on positions of the N video clips in the video, wherein each dotting position of the N dotting positions corresponds to a video clip of the N video clips.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the determining, by the server, the degree of highlighting of the each video clip based on a preset neural network model comprises:
extracting, by the server, a first feature of the each video clip based on the preset neural network model, the first feature comprising one or both of a temporal feature of a frame sequence or a spatial feature of the frame sequence; and
determining, by the server, the degree of highlighting of the each video clip based on the first feature of the each video clip.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the segmenting, by the server, the video into the plurality of video clips comprises:
performing, by the server, shot segmentation on the video to obtain a plurality of groups of image frames, wherein each group of image frames of the plurality of groups of image frames comprises a plurality of consecutive image frames; and
synthesizing, by the server, the plurality of groups of image frames into one or more video clips with a preset length.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the segmenting, by the server, the video into the plurality of video clips comprises:
performing, by the server, shot segmentation on the video based on shot types of the video to obtain a plurality of groups of image frames, wherein each group of image frames comprises a plurality of consecutive image frames; and
synthesizing, by the server, the plurality of groups of image frames into one or more video clips, wherein a similarity between two adjacent frames in a video clip falls within a preset range.

### Claim 7

A video playing method, the method comprising:
receiving, by a terminal device, a first response sent by a server after sending a first request to the server, the first request requesting a video address of a video to be played by the terminal device, the first response comprising the video address and dotting information of the video, the dotting information comprising a dotting position of the video and a storage address of a video clip corresponding to the dotting position;
obtaining, by the terminal device, the video based on the video address;
loading the corresponding video clip based on the storage address of the video clip; and
playing, by the terminal device, the video clip.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the loading, by the terminal device, the corresponding video clip comprises:
sending, by the terminal device, a second request to the server, the second request requesting the video clip, the second request comprising the storage address of the video clip; and
receiving, by the terminal device, a second response sent by the server, the second response comprising the video clip corresponding to the dotting position.

### Claim 9 (depends on 7)

The method according to claim 7, the method further comprising:
displaying, by the terminal device, a video clip corresponding to at least one dotting position closest to a current playing position when playing the video.

### Claim 10 (depends on 7)

The method according to claim 7, the method further comprising:
playing, by the terminal device after receiving a trigger operation in the dotting position, the video clip corresponding to the dotting position when playing the video.

### Claim 11

A server, comprising:
a processor; and
a memory coupled to the processor and configured to store instructions that, when executed by the processor, cause the server to be configured to:
receive a first request from a terminal device, the first request requesting a video address of a video to be played by the terminal device; and
send a first response to the terminal device, the first response comprising the video address and dotting information of the video, the dotting information comprising a dotting position of the video and a storage address of a video clip corresponding to the dotting position.

### Claim 12 (depends on 11)

The server according to claim 11, wherein the server is further configured to:
receive a second request sent by the terminal device, the second request requesting the video clip corresponding to the dotting position, the second request comprising the storage address of the video clip corresponding to the dotting position;
obtain, based on the storage address of the video clip, the video clip; and
send a second response to the terminal device, the second response comprising the video clip corresponding to the dotting position.

### Claim 13 (depends on 11)

The server according to claim 11, wherein before the first response is sent to the terminal, the server is further configured to:
segment the video into a plurality of video clips;
determine a degree of highlighting of each video clip of the plurality of video clips based on a preset neural network model;
select N video clips of the plurality of video clips based on the degree of highlighting of the each video clip of the plurality of video clips; and
determine N dotting positions of the video based on positions of the N video clips in the video, wherein each dotting position corresponds to a video clip of the N video clips.

### Claim 14 (depends on 13)

The server according to claim 13, wherein the server is further configured to:
extract a first feature of the each video clip based on the preset neural network model, the first feature comprising one or both of a temporal feature of a frame sequence or a spatial feature of the frame sequence; and
determine the degree of highlighting of the each video clip based on the first feature of the each video clip.

### Claim 15 (depends on 13)

The server according to claim 13, wherein the server is further configured to:
perform shot segmentation on the video based on shot types of the video to obtain a plurality of groups of image frames, wherein each group of image frames of the plurality of groups of image frames comprises a plurality of consecutive image frames; and
synthesize the plurality of groups of image frames into one or more video clips with a preset length.

### Claim 16 (depends on 13)

The server according to claim 13, wherein when segmenting the video into the plurality of video clips, the server is further configured to:
perform shot segmentation on the video based on shot types of the video to obtain a plurality of groups of image frames, wherein each group of image frames of the plurality of groups of image frames comprises a plurality of consecutive image frames; and
synthesize the plurality of groups of image frames into one or more video clips, wherein a similarity between two adjacent frames in a video clip falls within a preset range.

### Claim 17

A terminal device, comprising:
a processor; and
a memory coupled to the processor and configured to store instructions that, when executed by the processor, cause the terminal device to be configured to:
send a first request to a server, the first request requesting a video address of a video to be played by the terminal device;
receive a first response sent by the server, the first response comprising the video address and dotting information of the video, the dotting information comprising a dotting position of the video and a video clip storage address of a video clip corresponding to the dotting position;
obtain the video based on the video address;
load the corresponding video clip based on the video clip storage address of the video clip corresponding to the dotting position; and
play the video clip.

### Claim 18 (depends on 17)

The terminal device according to claim 17, wherein the terminal device is further configured to:
send a second request to the server, the second request requesting the video clip corresponding to the dotting position, the second request comprising the video clip storage address of the video clip;
receive a second response sent by the server, the second response comprising the video clip corresponding to the dotting position; and
load the video clip based on the second response.

### Claim 19 (depends on 17)

The terminal device according to claim 17, the server is further configured to:
display a video clip corresponding to at least one dotting position closest to a current playing position when playing the video.

### Claim 20 (depends on 17)

The terminal device according to claim 17, the server is further configured to:
play, after a trigger operation in the dotting position is received, the video clip corresponding to the dotting position when playing the video.
