# US 2021/0289259 A1 · Video processing method, electronic device, and computer-readable medium

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

- Number: US 2021/0289259 A1
- Document ID: US20210289259A1
- Status: Published application
- Kind: A1
- Application number: 17/331,480
- Filed: 2021-05-26
- Published: 2021-09-16
- Earliest claimed: 2018-11-27
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Hai YANG
- Web page: https://patentgrep.com/patent/US20210289259A1

## CPC

- H04N 21/440263: {by altering the spatial resolution, e.g. for displaying on a connected PDA}
- H04N 21/25858: {involving client software characteristics, e.g. OS identifier}
- H04N 21/42607: {for processing the incoming bitstream}
- H04N 21/42653: {for processing graphics}
- H04N 21/4341: {Demultiplexing of audio and video streams}
- H04N 21/440218: {by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 (conversion of standards in analogue television systems H04N7/01)}
- H04N 21/44204: {Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched (monitoring of user activities for profile generation for accessing a video database G06F16/739; protecting generic digital content where the protection is independent of the precise nature of the content G06F21/10; arrangements for monitoring the use made of the broadcast services in broadcast systems H04H60/31)}
- H04N 21/44222: {Analytics of user selections, e.g. selection of programmes or purchase activity (monitoring of user selections in data processing systems G06F11/34; arrangements for monitoring the user's behaviour or opinions in broadcast systems H04H60/33)}
- H04N 21/4424: {Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used (error monitoring in general G06F11/30; arrangements for monitoring conditions of receiving stations in broadcast systems H04H60/32; diagnosis, testing or measuring for television receivers H04N17/04)}
- H04N 21/458: Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules {; time-related management operations (arrangements for replacing or switching information during the broadcast or during the distribution H04H20/10)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to the technical field of video processing, and disclosed therein are a video processing method, electronic device, and computer-readable medium. The method includes acquiring a video type of a video file scheduled for playing; determining whether the video type is a specified type; and if the video type is a specified type, controlling a graphics processor to process the video file scheduled for playing and then display same on a screen.

## Claims

### Claim 1

A video processing method, for an electronic device, the electronic device comprising a central processing unit, a screen and a graphics processing unit, and the method executed by the central processing unit comprising:
acquiring a video type of a video file scheduled for playing;
determining whether the video type is consistent with a specified type; and
in response to the video type consistent with the specified type, controlling the graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 2 (depends on 1)

The video processing method according to claim 1, wherein the determining whether the video type is consistent with a specified type comprises:
determining the video type being the specified type in response to a resolution of the video file scheduled for playing consistent with a specified resolution; and
determining the video type being not the specified type in response to the resolution of the video file scheduled for playing not consistent with the specified resolution.

### Claim 3 (depends on 1)

The video processing method according to claim 1, wherein the determining whether the video type is consistent with a specified type comprises:
determining the video type being the specified type in response to the video type of the video file scheduled for playing being an online video; and
determining the video type being not the specified type in response to the video type of the video file scheduled for playing being not the online video.

### Claim 4 (depends on 1)

The video processing method according to claim 1, wherein the determining whether the video type is consistent with a specified type comprises:
determining a real-time level of the video file scheduled for playing according to the video type;
determining the video type being consistent with the specified type in response to the real-time level higher than a specified level; and
determining the video type being not consistent with the specified type in response to the real-time level less than or equal to the specified level.

### Claim 5 (depends on 4)

The video processing method according to claim 4, wherein the determining a real-time level of the video file scheduled for playing according to the video type comprises:
determining the real-time level of the video file scheduled for playing according to a category of an application, the application corresponding to the video file scheduled for playing.

### Claim 6 (depends on 5)

The video processing method according to claim 5, wherein the determining the real-time level of the video file scheduled for playing according to a category of an application, the application corresponding to the video file scheduled for playing comprises:
determining an identifier of the application corresponding to the video file scheduled for playing; and
determining the real-time level of the video file scheduled for playing according to the identifier of the application.

### Claim 7 (depends on 5)

The video processing method according to claim 5, wherein the determining the real-time level of the video file scheduled for playing according to a category of an application, the application corresponding to the video file scheduled for playing comprises:
acquiring operation-behavioral data of all users having installed the application corresponding to the video file scheduled for playing within a preset period, wherein the operation-behavioral data comprises titles and time of audio files having been played, and titles and time of video files having been played by the application;
determining a quantity of the audio files having been played by the application, total playing time of the audio files having been played by the application, a quantity of the video files having been played by the application and total playing time of the video files having been played by the application, within the preset period, according to the operation-behavioral data;
acquiring a proportion of the total playing time of the audio files within the preset period as a proportion of audio playback, and acquiring a proportion of the total playing time of the video files within the preset period as a proportion of video playback; and
determining the category of the application according to the proportion of audio playback and the proportion of video playback.

### Claim 8 (depends on 7)

The video processing method according to claim 7, wherein the acquiring operation-behavioral data of all users having installed the application corresponding to the video file scheduled for playing within a preset period comprises:
sending an operation-behavioral query request for the application to a server corresponding to the application; and
acquiring the operation-behavioral data of all users of the application, returned by the server, within the preset period.

### Claim 9 (depends on 7)

The video processing method according to claim 7, wherein the determining the category of the application according to the proportion of audio playback and the proportion of video playback comprises:
setting the category of the application being a video type in response to the proportion of video playback greater than the proportion of audio playback; and
setting the category of the application being an audio type in response to the proportion of audio playback greater than the proportion of video playback.

### Claim 10 (depends on 1)

The video processing method according to claim 1, wherein the in response to the video type consistent with the specified type, controlling the graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen comprises:
acquiring an image size of the video file scheduled for playing in response to the video type consistent with the specified type;
determining whether the image size is greater than a threshold; and
in response to the image size greater than the threshold, controlling the graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 11 (depends on 10)

The video processing method according to claim 10, further comprising:
in response to the image size less than or equal to the threshold, controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 12 (depends on 10)

The video processing method according to claim 10, wherein the image size comprises image-data size, wherein the determining whether the image size is greater than a threshold comprises:
determining the image size being greater than the threshold in response to the image-data size greater than the threshold; and
determining the image size being less than or equal to the threshold in response to the image-data size less than or equal to the threshold.

### Claim 13 (depends on 10)

The video processing method according to claim 10, wherein the image size comprises an image resolution, wherein the determining whether the image size is greater than a threshold comprises:
determining the image size being greater than the threshold in response to the image resolution greater than a specified resolution; and
determining the image size being less than or equal to the threshold in response to the image resolution less than or equal to the specified resolution.

### Claim 14 (depends on 1)

The video processing method according to claim 1, further comprising:
in response to the video type not consistent with the specified type, controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 15 (depends on 14)

The video processing method according to claim 14, wherein the in response to the video type not consistent with the specified type, controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen comprises:
acquiring a utilization rate of the central processing unit in response to the video type not consistent with the specified type;
in response to the utilization rate of the central processing unit less than the utilization-rate threshold, controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen; and
in response to the utilization rate of the central processing unit greater than or equal to the utilization-rate threshold, controlling the graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 16 (depends on 14)

The video processing method according to claim 14, wherein the in response to the video type not consistent with the specified type, controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen comprises:
acquiring a utilization rate of the central processing unit in response to the video type not consistent with the specified type;
determining whether the utilization rate of the central processing unit is less than a utilization-rate threshold;
in response to the utilization rate of the central processing unit less than a utilization-rate threshold and determining an application currently launched matching a preset application, closing the application currently launched matching the preset application, wherein the preset application is configured to be closed by a system without a user's authorization; and
acquiring current utilization rate of the central processing unit as the utilization rate of the central processing unit, and returning to execute the determining whether the utilization rate of the central processing unit is less than the utilization-rate threshold.

### Claim 17 (depends on 11)

The video processing method according to claim 11, wherein the controlling the central processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen comprises:
controlling the central processing unit to decode the video file scheduled for playing, and obtaining a plurality of decoded video frames; and
calling the graphics processing unit to render and synthesize the video frames and to display the video frames on the screen.

### Claim 18

An electronic device, comprising:
a central processing unit and a graphics processing unit;
a memory;
a screen;
one or more applications stored in the memory and configured to be executed by the central processing unit, wherein the one or more applications are configured to execute a method comprising:
acquiring a video type of a video file scheduled for playing;
determining whether the video type is consistent with a specified type; and
in response to the video type consistent with the specified type, controlling the graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on the screen.

### Claim 19 (depends on 18)

The electronic device according to claim 18, wherein the determining whether the video type is consistent with a specified type comprises:
determining the video type being the specified type in response to a resolution of the video file scheduled for playing consistent with a specified resolution; and
determining the video type being not the specified type in response to the resolution of the video file scheduled for playing not consistent with the specified resolution.

### Claim 20

A non-transitory computer-readable storage medium with program codes stored thereon, wherein the program codes can be called by a processor to execute a method comprising:
acquiring a video type of a video file scheduled for playing;
determining whether the video type is consistent with a specified type; and
in response to the video type consistent with the specified type, controlling a graphics processing unit to process the video file scheduled for playing and to display the video file scheduled for playing on a screen.
