# US 2017/0293803 A1 · Method and a system for comparing video files

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

- Number: US 2017/0293803 A1
- Document ID: US20170293803A1
- Status: Published application
- Kind: A1
- Application number: 15/460,637
- Filed: 2017-03-16
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: Yandex Europe AG
- Applicants: Yandex Europe AG
- Inventors: Nikita Alekseevich SMETANIN
- Web page: https://patentgrep.com/patent/US20170293803A1

## CPC

- H04N 21/2747: Remote storage of video programmes received via the downstream path, e.g. from the server
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06V 10/435: {Computation of moments}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 20/48: {Matching video sequences}
- H04N 21/23113: {involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions (storage management, e.g. defragmentation G06F3/0604; snloading stored programs G06F9/445; housekeeping operations in file systems, e.g. deletion policies G06F16/10; buffering arrangements in a network node or in an end terminal in packet networks H04L49/90)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

There is disclosed a method of selecting a candidate video, the candidate video potentially being a near-duplicate of a given video, the given video having a given video duration. The method is executed at an electronic device, the electronic device having access to a video storage. The method comprises: determining a variance parameter, the variance parameter being determined based on the first video duration; receiving, from the video storage, a plurality of candidate videos; selecting a first candidate video from the plurality of candidate videos, the first candidate video having a first candidate video duration; comparing the first candidate video duration with the variance parameter; in response to the first candidate video duration being within the variance parameter, determining that the first candidate video is an actual candidate for being a near-duplicate of the given video.

## Claims

### Claim 1

A method of selecting a candidate video, the candidate video potentially being a near-duplicate of a given video, the given video having a given video duration, the method executed at an electronic device, the electronic device having access to a video storage, the method comprising:
determining a variance parameter, the variance parameter being determined based on the first video duration;
receiving, from the video storage, a plurality of candidate videos;
selecting a first candidate video from the plurality of candidate videos, the first candidate video having a first candidate video duration;
comparing the first candidate video duration with the variance parameter;
in response to the first candidate video duration being within the variance parameter, determining that the first candidate video is an actual candidate for being a near-duplicate of the given video.

### Claim 2 (depends on 1)

The method of claim 1, further comprising comparing the first candidate video with the given video.

### Claim 3 (depends on 2)

The method of claim 2, wherein the given video comprises a given video signature and the first candidate video comprises a first candidate video signature; wherein the comparing the first candidate video with the given video comprises comparing the first candidate video signature and the given video signature.

### Claim 4 (depends on 3)

The method of claim 3, wherein comparing the first candidate video signature and the given video signature is executed in a bit-by-bit manner.

### Claim 5 (depends on 3)

The method of claim 3, further comprising comparing at least one of: audio tracks, meta data, and titles for the given video and the first candidate video.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
selecting a second candidate video from the plurality of candidate videos, the second candidate video having a second candidate video duration;
comparing the second candidate video duration with the variance parameter;
if the second candidate video duration is outside the variance parameter, determining that the second candidate video is not an actual candidate for being a near-duplicate of the given video.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
comparing the first candidate video with the given video;
not comparing the second candidate video with the given video.

### Claim 8 (depends on 1)

The method of claim 1, wherein the variance parameter comprises:
as an upper limit of variance, the first video duration;
as a lower limit, a value that is the first video duration less a pre-determined variance window.

### Claim 9 (depends on 1)

The method of claim 1, wherein the variance parameter comprises:
as an upper limit of variance, a value that is the first video duration plus a pre-determined variance window;
as a lower limit, a value that is the first video duration less the pre-determined variance window.

### Claim 10 (depends on 1)

The method of claim 1, further comprising comparing the first candidate video with the given video to determine if the first candidate video being the near-duplicate of the given video.

### Claim 11 (depends on 9)

The method of claim 9, in response to the first candidate video being the near-duplicate of the given video, executing at least one action with at least one of: the first candidate video and the given video.

### Claim 12 (depends on 1)

The method of claim 1, wherein selecting the first candidate video from the plurality of candidate videos comprises:
ranking the plurality of candidate videos in an order of respective candidate video duration;
selecting the first video candidate being a video candidate with a lowest duration.

### Claim 13

An electronic device comprising:
a communication interface for communication via a communication network with a video storage, the video storage hosting a plurality of videos,
a processor operationally connected with the communication interface, the processor configured to:
receive, from the video storage, a plurality of candidate videos; a candidate video of the plurality of candidate videos potentially being a near-duplicate of a given video, the given video having a given video duration;
determine a variance parameter, the variance parameter being determined based on the first video duration;
select a first candidate video from the plurality of candidate videos, the first candidate video having a first candidate video duration;
compare the first candidate video duration with the variance parameter;
in response to the first candidate video duration being within the variance parameter, determine that the first candidate video is an actual candidate for being a near-duplicate of the given video.

### Claim 14 (depends on 13)

The system of claim 13, the processor being further configured to compare the first candidate video with the given video.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the given video comprises a given video signature and the first candidate video comprises a first candidate video signature; wherein to compare, the processor is configured to compare the first candidate video signature and the given video signature.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein comparing the first candidate video signature and the given video signature is executed in a bit-by-bit manner.

### Claim 17 (depends on 13)

The electronic device of claim 13, the processor being further configured to:
select a second candidate video from the plurality of candidate videos, the second candidate video having a second candidate video duration;
compare the second candidate video duration with the variance parameter;
if the second candidate video duration is outside the variance parameter, to determine that the second candidate video is not an actual candidate for being a near-duplicate of the given video.

### Claim 18 (depends on 17)

The electronic device of claim 17, the processor being further configured to:
compare the first candidate video with the given video;
not compare the second candidate video with the given video.

### Claim 19 (depends on 13)

The electronic device of claim 13, wherein to select the first candidate video from the plurality of candidate videos, the processor is configured to:
rank the plurality of candidate videos in an order of respective candidate video duration;
select the first video candidate being a video candidate with a lowest duration.
