# US 2025/0095688 A1 · Video processing method, apparatus, and electronic device

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

- Number: US 2025/0095688 A1
- Document ID: US20250095688A1
- Status: Published application
- Kind: A1
- Application number: 18/570,615
- Filed: 2023-12-05
- Published: 2025-03-20
- Earliest claimed: 2022-12-29
- Assignees: Beijing Zitiao Network Technology Co., Ltd.
- Applicants: Beijing Zitiao Network Technology Co., Ltd.
- Inventors: Xinliang DENG; Jinmin LI
- Web page: https://patentgrep.com/patent/US20250095688A1

## CPC

- G11B 27/031: Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B 27/34: Indicating arrangements {(indicating means incorporated in magazine or cassette G11B23/046 and G11B23/0875; indicating measured values in general G01D)}
- H04N 21/433: Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N 21/472: End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content {(end-user interfaces for retrieving video data from a database G06F16/739; network services for supporting unicast streaming H04L65/612)}
- H04N 21/845: Structuring of content, e.g. decomposing content into time segments
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides a video processing method, apparatus and electronic device. The method comprises: determining a plurality of video track segments on a plurality of video editing tracks on a video editing interface; determining cache priorities of the track segment image frames of the plurality of video track segments, according to whether the plurality of video editing tracks are located in the display area of the video editing interface, and track segment image frames of the plurality of video track segments within a track timeline range of the display area; determining a target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and a cache frame configuration parameter, and caching the target track segment image frame. The efficiency of video clipping is improved.

## Claims

### Claim 1

A video processing method, wherein the method comprises:
determining a plurality of video track segments on a plurality of video editing tracks on a video editing interface;
determining cache priorities of track segment image frames of the plurality of video track segments, according to whether the plurality of video editing tracks are located in a display area of the video editing interface and the track segment image frames of the plurality of video track segments within a track timeline range of the display area; wherein the track segment image frames of the video track segments are displayed at track timeline positions in the video track segments corresponding to the track segment image frames;
determining a target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and a cache frame configuration parameter, and caching the target track segment image frame.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining cache priorities of the track segment image frames of the plurality of video track segments comprises:
in response to the video editing track being located in the display area, a cache priority of first track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a first priority;
in response to the video editing track being located in the display area, a cache priority of second track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a second priority;
in response to the video editing track being not in the display area, a cache priority of third track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a third priority;
in response to the video editing track being not in the display area, a cache priority of fourth track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a fourth priority.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the first priority is greater than the second priority, the second priority is greater than the third priority, and the third priority is greater than the fourth priority.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the cache frame configuration parameter comprises:
determining a first number of track segment image frames cacheable by an electronic device, based on the cache frame configuration parameter;
determining the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the first number.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the determining the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the first number comprises:
in response to the first number being greater than or equal to a sum of the number of the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames, determining the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames as the target track segment image frames;
in response to the first number being less than the sum of the number of the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames, determining the target track segment image frame from the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames in sequence based on the order of the cache priorities.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the determining the first number of track segment image frames cacheable by the electronic device, based on the cache frame configuration parameter comprises:
obtaining a second number of track segment image frames of each video track segment within the track timeline range of the display area;
determining the first number according to the second number and the cache frame configuration parameter.

### Claim 7 (depends on 1)

The method according to claim 1, wherein after caching the target track segment image frame, the method further comprises:
obtaining a number of occurrences corresponding to each target track segment image frame in a memory, the number of occurrences being a sum of the number of occurrences of the target track segment image frame in the first track segment image frames, the second track segment image frames, the third track segment image frames, and the fourth track segment image frames;
managing the target track segment image frame cached in the memory according to the number of occurrences.

### Claim 8 (depends on 7)

The method according to claim 7, wherein as for any one target track segment image frame in the memory, obtaining the number of occurrences corresponding number to the target track segment image frame in the memory comprises:
in response to the target track segment image frame being within a range of the first track segment image frames, the second track segment image frames, the third track segment image frames or the fourth track segment image frames, increasing the number of occurrences corresponding to the target track segment image frame by N, N being a number greater than 0;
in response to the target track segment image frame being not within the range of the first track segment image frames, the second track segment image frames, the third track segment image frames or the fourth track segment image frames, decreasing the number of occurrences corresponding to the target track segment image frame by N.

### Claim 9

(canceled)

### Claim 10

An electronic device, wherein the electronic device comprises: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to cause the processor to:
determine a plurality of video track segments on a plurality of video editing tracks on a video editing interface;
determine cache priorities of track segment image frames of the plurality of video track segments, according to whether the plurality of video editing tracks are located in a display area of the video editing interface and the track segment image frames of the plurality of video track segments within a track timeline range of the display area; wherein the track segment image frames of the video track segments are displayed at track timeline positions in the video track segments corresponding to the track segment image frames;
determine a target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and a cache frame configuration parameter, and caching the target track segment image frame.

### Claim 11

A non-transitory computer-readable storage medium on which computer-executable instructions stored, the computer-executable instructions when executed by a processor, cause the processor to:
determine a plurality of video track segments on a plurality of video editing tracks on a video editing interface;
determine cache priorities of track segment image frames of the plurality of video track segments, according to whether the plurality of video editing tracks are located in a display area of the video editing interface and the track segment image frames of the plurality of video track segments within a track timeline range of the display area; wherein the track segment image frames of the video track segments are displayed at track timeline positions in the video track segments corresponding to the track segment image frames;
determine a target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and a cache frame configuration parameter, and caching the target track segment image frame.

### Claim 12 (depends on 10)

The device according to claim 10, wherein:
in response to the video editing track being located in the display area, a cache priority of first track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a first priority;
in response to the video editing track being located in the display area, a cache priority of second track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a second priority;
in response to the video editing track being not in the display area, a cache priority of third track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a third priority;
in response to the video editing track being not in the display area, a cache priority of fourth track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a fourth priority.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the first priority is greater than the second priority, the second priority is greater than the third priority, and the third priority is greater than the fourth priority.

### Claim 14 (depends on 10)

The device according to claim 10, wherein the instructions to determine the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the cache frame configuration parameter comprise instructions causing the processor to:
determine a first number of track segment image frames cacheable by an electronic device, based on the cache frame configuration parameter;
determine the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the first number.

### Claim 15 (depends on 14)

The device according to claim 14, wherein the instructions to determine the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the first number comprise instructions causing the processor to:
in response to the first number being greater than or equal to a sum of the number of the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames, determine the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames as the target track segment image frames;
in response to the first number being less than the sum of the number of the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames, determine the target track segment image frame from the first track segment image frames, the second track segment image frames, the third track segment image frames and the fourth track segment image frames in sequence based on the order of the cache priorities.

### Claim 16 (depends on 14)

The device according to claim 14, wherein the instructions to determine the first number of track segment image frames cacheable by the electronic device, based on the cache frame configuration parameter comprise instructions causing the processor to:
obtain a second number of track segment image frames of each video track segment within the track timeline range of the display area;
determine the first number according to the second number and the cache frame configuration parameter.

### Claim 17 (depends on 10)

The device according to claim 10, wherein the instructions further comprise instructions causing the processor to: after caching the target track segment image frame,
obtain a number of occurrences corresponding to each target track segment image frame in a memory, the number of occurrences being a sum of the number of occurrences of the target track segment image frame in the first track segment image frames, the second track segment image frames, the third track segment image frames, and the fourth track segment image frames;
manage the target track segment image frame cached in the memory according to the number of occurrences.

### Claim 18 (depends on 17)

The device according to claim 17, wherein the instructions to obtain the number of occurrences corresponding number to the target track segment image frame in the memory comprise instructions causing the processor to: for any one target track segment image frame in the memory,
in response to the target track segment image frame being within a range of the first track segment image frames, the second track segment image frames, the third track segment image frames or the fourth track segment image frames, increase the number of occurrences corresponding to the target track segment image frame by N, N being a number greater than 0;
in response to the target track segment image frame being not within the range of the first track segment image frames, the second track segment image frames, the third track segment image frames or the fourth track segment image frames, decrease the number of occurrences corresponding to the target track segment image frame by N.

### Claim 19 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein:
in response to the video editing track being located in the display area, a cache priority of first track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a first priority;
in response to the video editing track being located in the display area, a cache priority of second track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a second priority;
in response to the video editing track being not in the display area, a cache priority of third track segment image frames within the track timeline range of the display area in the video track segment of the video editing track is a third priority;
in response to the video editing track being not in the display area, a cache priority of fourth track segment image frames not within the track timeline range of the display area in the video track segment of the video editing track is a fourth priority.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein the first priority is greater than the second priority, the second priority is greater than the third priority, and the third priority is greater than the fourth priority.

### Claim 21 (depends on 11)

The non-transitory computer-readable storage medium according to claim 11, wherein the instructions to determine the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the cache frame configuration parameter comprise instructions causing the processor to:
determine a first number of track segment image frames cacheable by an electronic device, based on the cache frame configuration parameter;
determine the target track segment image frame from the track segment image frames of the plurality of video track segments based on the cache priorities and the first number.
