# US 2016/0365123 A1 · Method and electronic device for video definition switching

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

- Number: US 2016/0365123 A1
- Document ID: US20160365123A1
- Status: Published application
- Kind: A1
- Application number: 15/246,388
- Filed: 2016-08-24
- Published: 2016-12-15
- Earliest claimed: 2014-11-18
- Assignees: Le Holdings (Beijing) Co., Ltd.; Le Shi Internet Information & Technology Corp., Beijing
- Applicants: Le Holdings (Beijing) Co., Ltd.; Le Shi Internet Information Technology Corp. Beijing
- Inventors: Xi Wang; Linhu Wang
- Web page: https://patentgrep.com/patent/US20160365123A1

## CPC

- G11B 27/105: {of operating discs}
- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- G11B 20/1262: {with more than one format/standard, e.g. conversion from CD-audio format to R-DAT format}
- G11B 27/005: {Reproducing at a different information rate from the information rate of recording (for television signals H04N5/783)}
- H04N 21/234363: {by altering the spatial resolution, e.g. for clients with a lower screen resolution}
- H04N 21/23439: {for generating different versions}
- H04N 21/4331: {Caching operations, e.g. of an advertisement for later insertion during playback}
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- G11B 2020/1062: {Data buffering arrangements, e.g. recording or playback buffers}
- G11B 2020/1295: {wherein the focus is on the read access speed}
- 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

Disclosed are a method and electronic device for video definition switching. The method comprises: loading a first fragment file of a first definition video from a pre-set second level cache region to a video stream cache region to be played; receiving a definition switching instruction; acquiring a configuration file of a second definition video from a video server according to the instruction; determining a second fragment file which corresponds to the first fragment file and meets a smooth switching condition in the second definition video; sequentially loading all fragment files arranged after the second fragment file in the second definition video to the second level cache region; and loading the fragment files to the video stream cache region after the first fragment file is played completely, and starting to play the second definition video.

## Claims

### Claim at position 1

1-11. (canceled)

### Claim 12

A method for switching definition of a video, at an electronic device, the method comprising:
loading a first fragment file of a first definition video from a preset level-2 buffer area into a video stream buffer area for playing;
receiving a definition switching instruction to instruct the first definition video to be switched to a second definition video;
retrieving a configuration file of the second definition video from a video server in response to the received definition switching instruction, wherein the configuration file includes time information and address information of respective fragment files in the second definition video;
determining a second fragment file, satisfying a smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information;
loading respective fragment files in the second definition video ranked succeeding to the second fragment file into the level-2 buffer area sequentially according to the address information and the time information; and
loading the fragment files from the preset level-2 buffer area into the video stream buffer area, and to play the second definition video, after the first fragment file is played.

### Claim 13 (depends on 12)

The method according to claim 12, wherein after the definition switching instruction is received, the method further comprises:
stopping other fragment files in the level-2 buffer area succeeding to the first fragment file of the first definition video from being imported into the video stream buffer area, and stopping the other fragment files of the first definition video from being loaded into the level-2 buffer area.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the determining the second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information comprises:
determining the second fragment file with a same end time as an end time of the first fragment file.

### Claim 15 (depends on 12)

The method according to claim 12, wherein the method further comprises:
if no second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file is located according to the time information, then searching for a third fragment file in the first definition video temporally succeeding to the first fragment file, and determining a fourth fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the third fragment file;
loading respective fragment files in the second definition video ranked succeeding to the fourth fragment file into the preset level-2 buffer area sequentially according to the address information and the time information; and
loading the fragment files from the preset level-2 buffer area into the video stream buffer area, and playing the second definition video, after the third fragment file is played.

### Claim 16 (depends on 12)

The method according to claim 12, wherein the respective fragment files in the second definition video ranked succeeding to the second fragment file are loaded into the preset level-2 buffer area by loading the respective fragment files sequentially according to their time information.

### Claim 17

An electronic device comprising:
at least one processor; and
a memory communicably connected with the at least one processor for storing instructions executable by the at least one processor, wherein execution of the instructions by the at least one processor causes the at least one processor to:
load a first fragment file of a first definition video from a preset level-2 buffer area into a video stream buffer area for playing;
receive a definition switching instruction to instruct the first definition video to be switched to a second definition video;
retrieve a configuration file of the second definition video from a video server in response to the definition switching instruction received by the instruction receiving module, wherein the configuration file comprises time information and address information of respective fragment files in the second definition video; and to determine a second fragment file, satisfying a smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information; and
load respective fragment files in the second definition video ranked succeeding to the second fragment file into the level-2 buffer area sequentially according to the address information and the time information; and to load the fragment files from the preset level-2 buffer area into the video stream buffer area, and to play the second definition video, after the first fragment file is played.

### Claim 18 (depends on 17)

The electronic device according to claim 17, wherein:
the execution of the instructions by the at least one processor further causes the at least one processor to: stop other fragment files in the level-2 buffer area succeeding to the first fragment file of the first definition video from being imported into the video stream buffer area, and stop the other fragment files of the first definition video from being loaded into the level-2 buffer area, after the instruction receiving module receives the definition switching instruction.

### Claim 19 (depends on 17)

The electronic device according to claim 17, wherein:
the execution of the instructions by the at least one processor causes the at least one processor to determine the second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information by determining the second fragment file with a same end time as an end time of the first fragment file.

### Claim 20 (depends on 17)

The electronic device according to claim 17, wherein:
the execution of the instructions by the at least one processor further causes the at least one processor to: if no second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file is located according to the time information, search for a third fragment file in the first definition video temporally succeeding to the first fragment file, and determine a fourth fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the third fragment file; and
load respective fragment files in the second definition video ranked succeeding to the fourth fragment file into the preset level-2 buffer area sequentially according to the address information and the time information; and load the fragment files from the preset level-2 buffer area into the video stream buffer area, and to play the second definition video, after the third fragment file is played.

### Claim 21 (depends on 17)

The electronic device according to claim 17, wherein:
the execution of the instructions by the at least one processor causes the at least one processor to load the respective fragment files in the second definition video ranked succeeding to the second fragment file into the preset level-2 buffer area by loading the respective fragment files sequentially according to their time information.

### Claim 22

A non-transitory computer-readable storage medium storing executable instructions that, when executed by an electronic device, cause the electronic device to:
load a first fragment file of a first definition video from a preset level-2 buffer area into a video stream buffer area for playing;
receive a definition switching instruction to instruct the first definition video to be switched to a second definition video;
retrieve a configuration file of the second definition video from a video server in response to the definition switching instruction received by the instruction receiving module, wherein the configuration file comprises time information and address information of respective fragment files in the second definition video;
determine a second fragment file, satisfying a smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information;
load respective fragment files in the second definition video ranked succeeding to the second fragment file into the level-2 buffer area sequentially according to the address information and the time information; and
load the fragment files from the preset level-2 buffer area into the video stream buffer area, and to play the second definition video, after the first fragment file is played.

### Claim 23 (depends on 22)

The non-transitory computer-readable storage medium according to claim 22, wherein:
the executable instructions when executed by an electronic device further cause the electronic device: stop other fragment files in the level-2 buffer area succeeding to the first fragment file of the first definition video from being imported into the video stream buffer area, and stop the other fragment files of the first definition video from being loaded into the level-2 buffer area, after the instruction receiving module receives the definition switching instruction.

### Claim 24 (depends on 22)

The non-transitory computer-readable storage medium according to claim 22, wherein:
the executable instructions when executed by an electronic device cause the electronic device to determine the second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file according to the time information by determining the second fragment file with a same end time as an end time of the first fragment file.

### Claim 25 (depends on 22)

The non-transitory computer-readable storage medium according to claim 22, wherein:
the executable instructions when executed by an electronic device further cause the electronic device to: if no second fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the first fragment file is located according to the time information, search for a third fragment file in the first definition video temporally succeeding to the first fragment file, and determine a fourth fragment file, satisfying the smooth switching condition, in the second definition video corresponding to the third fragment file; and
load respective fragment files in the second definition video ranked succeeding to the fourth fragment file into the preset level-2 buffer area sequentially according to the address information and the time information; and load the fragment files from the preset level-2 buffer area into the video stream buffer area, and to play the second definition video, after the third fragment file is played.

### Claim 26 (depends on 22)

The non-transitory computer-readable storage medium according to claim 22, wherein:
the executable instructions when executed by an electronic device cause the electronic device to load the respective fragment files in the second definition video ranked succeeding to the second fragment file into the preset level-2 buffer area by loading the respective fragment files sequentially according to their time information.
