# US 2017/0371882 A1 · Shuffle play method and device

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

- Number: US 2017/0371882 A1
- Document ID: US20170371882A1
- Status: Published application
- Kind: A1
- Application number: 15/542,830
- Filed: 2016-01-13
- Published: 2017-12-28
- Earliest claimed: 2015-01-14
- Assignees: Guangzhou Kugou Computer Technology Co., Ltd.
- Applicants: Guangzhou Kugou Computer Technology Co., Ltd.
- Inventors: Weifeng ZHAO
- Web page: https://patentgrep.com/patent/US20170371882A1

## CPC

- G06F 16/4393: {Multimedia presentations, e.g. slide shows, multimedia albums}
- G06F 7/24: Sorting, i.e. extracting data from one or more carriers, rearranging the data in numerical or other ordered sequence, and rerecording the sorted data on the original carrier or on a different carrier or set of carriers {sorting methods in general}(G06F7/36 takes precedence)
- G11B 27/10: Indexing; Addressing; Timing or synchronising; Measuring tape travel
- H04N 21/26258: {for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list (retrieval of multimedia data based on playlists G06F16/40)}
- H04N 21/4325: {by playing back content from the storage medium (reproduction of recorded television signals H04N5/76; reproduction of recorded television signals H04N9/79)}
- H04N 21/462: Content or additional data management e.g. creating a master electronic programme guide from data received from the Internet and a Head-end or controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

A shuffle play method and device. The method comprises: acquiring multimedia files to be played; and grouping the multimedia files and determining, according to a group, a play order of the multimedia files to be played, to form a shuffle play list; and performing play according to the obtained shuffle play list.

## Claims

### Claim 1

A random play method, comprising:
obtaining to-be-played multimedia files; and
dividing the multimedia files into one or more groups, determining a play order for the to-be-played multimedia files based on the groups to form a random playlist, and playing the to-be-played multimedia files based on the random playlist.

### Claim 2 (depends on 1)

The random play method according to claim 1, wherein the dividing the multimedia files into one or more groups, determining the play order for the to-be-played multimedia files based on the groups to form the random playlist, and playing the to-be-played multimedia files based on the random playlist comprises:
dividing the to-be-played multimedia files into at least one group, and generating one multimedia file ring structure for each group;
for each multimedia file ring structure, extracting the multimedia files according to a pre-set extraction rule, and sorting the multimedia files based on an extraction order to obtain the random playlist corresponding to the multimedia file ring structure; and
playing the multimedia files based on the obtained random playlist.

### Claim 3 (depends on 2)

The random play method according to claim 2, wherein the for each multimedia file ring structure, extracting the multimedia files according to the pre-set extraction rule, and sorting the multimedia files based on the extraction order to obtain the random playlist corresponding to the multimedia file ring structure comprises:
for each multimedia file ring structure, an initial value of i being 1, i being a positive integer, and a first multimedia file being any one of the multimedia files in the multimedia file ring structure,
counting forward or backward from an i-th multimedia file by m multimedia files in the multimedia file ring structure, and determining the multimedia file forward or backward from the i-th multimedia file by m+1 multimedia files in the multimedia file ring structure as an (i+1)-th multimedia file, wherein m is a positive integer; and
extracting the i-th multimedia file as an i-th multimedia file in the random playlist, increasing the value of i by 1, and returning to the step of counting forward or backward from the i-th multimedia file by m multimedia files.

### Claim 4 (depends on 2)

The random play method according to claim 2, wherein the for each multimedia file ring structure, extracting the multimedia files according to the pre-set extraction rule, and sorting the multimedia files based on the extraction order to obtain the random playlist corresponding to the multimedia file ring structure comprises:
for each multimedia file ring structure, an initial value of i being 1, i being a positive integer, and a first multimedia file being any one of the multimedia files in the multimedia file ring structure,
extracting an i-th multimedia file in the multimedia file ring structure as an i-th multimedia file in the random playlist; and
counting forward or backward from the i-th multimedia file by m multimedia files in the multimedia file ring structure, and determining the multimedia file forward or backward from the i-th multimedia file by m+1 multimedia files in the multimedia file ring structure as an (i+1)-th multimedia file, increasing the value of i by 1, and returning to the step of extracting the i-th multimedia file in the multimedia file ring structure as the i-th multimedia file in the random playlist, wherein m is a positive integer.

### Claim 5 (depends on 1)

The random play method according to claim 1, wherein the dividing the multimedia files into one or more groups, determining the play order for the to-be-played multimedia files based on the groups to form the random playlist, and playing the to-be-played multimedia files based on the random playlist comprises:
dividing the to-be-played multimedia files into one or more groups;
generating randomly a numerical sequence for each of the groups, wherein a length of the numerical sequence equals to the number of the to-be-played multimedia files in the group, and each element in the numerical sequence is uniquely corresponding to one to-be-played multimedia file in the group;
extracting sequentially the to-be-played multimedia files in the group respectively corresponding to elements in the numerical sequence based on an order of values of the elements in the numerical sequence to obtain a group list;
gathering group lists of the groups to obtain the random playlist; and
playing the multimedia files based on the obtained random playlist.

### Claim 6 (depends on 5)

The random play method according to claim 5, wherein before extracting sequentially the to-be-played multimedia files in the group respectively corresponding to the elements in the numerical sequence based on the order of the values of the elements in the numerical sequence to obtain the group list, the method further comprises:
performing an operation on the numerical sequence according to a pre-set rule; wherein
the extracting sequentially the to-be-played multimedia files in the group respectively corresponding to the elements in the numerical sequence based on the order of the values of the elements in the numerical sequence to obtain the group list comprises:
extracting sequentially the to-be-played multimedia files in the group respectively corresponding to the elements in the numerical sequence based on the order of the values of the elements in the numerical sequence after the operation is performed on the numerical sequence, to obtain the group list.

### Claim 7 (depends on 6)

The random play method according to claim 6, wherein the performing the operation on the numerical sequence according to the pre-set rule comprises:
performing a bitwise operation between the numerical sequence and a target sequence, wherein the target sequence comprises position numbers of the to-be-played multimedia files in the group.

### Claim 8 (depends on 1)

The random play method according to claim 1, wherein the dividing the multimedia files into one or more groups, determining the play order for the to-be-played multimedia files based on the groups to form the random playlist, and playing the to-be-played multimedia files based on the random playlist comprises:
sorting the to-be-played multimedia files and marking the to-be-played multimedia files with serial numbers;
dividing the serial numbers of the sorted multimedia files into a plurality of groups;
determining an interval value based on the number of the multimedia files in each of the groups, wherein a cross interval combining is performed among the serial numbers of the multimedia files in the groups at an interval of the interval value;
performing the cross interval combining among the serial numbers of the multimedia files in the groups at an interval of the interval value, to generate the random playlist; and
playing the multimedia files corresponding to the serial numbers in the random playlist based on the serial numbers in the random playlist.

### Claim 9 (depends on 8)

The random play method according to claim 8, wherein after performing the cross interval combining among the serial numbers of the multimedia files in the groups at an interval of the interval value to generate the random playlist, the method further comprises:
performing following operations more than once: grouping the random playlist into a plurality of new sequences, determining a new interval value based on the number of the multimedia files corresponding to each of the new sequences, and performing the cross interval combining among the plurality of new sequences at an interval of the new interval value to generate a new random playlist; wherein
the playing the multimedia files corresponding to the serial numbers in the random playlist based on the serial numbers in the random playlist comprises:
playing the multimedia files corresponding to the serial numbers in the new random playlist based on the serial numbers in the generated new random playlist.

### Claim 10 (depends on 8)

The random play method according to claim 8, wherein the performing the cross interval combining among the serial numbers of the multimedia files in the groups at an interval of the interval value to generate the random playlist comprises:
selecting any two groups of the multimedia files from the plurality of groups of the multimedia files, and arranging the serial numbers of the multimedia files in the two groups to generate two sequences respectively;
performing the cross interval combining between the two sequences at an interval of the interval value to generate a combined sequence; and
selecting any one group of the multimedia files from the plurality of groups of the multimedia files, performing the cross interval combining between a sequence generated by arranging the serial numbers of the one group of the multimedia files and the combined sequence at an interval of the interval value, until the cross interval combining is performed among sequences corresponding to the plurality of groups of the multimedia files to generate the random playlist.

### Claim 11 (depends on 8)

The random play method according to claim 8, wherein the performing the cross interval combining among the serial numbers of the multimedia files in the groups at an interval of the interval value to generate the random playlist comprises:
arranging the serial numbers of the multimedia files in the groups to generate sequences corresponding to the groups of the multimedia files respectively;
selecting any two sequences from the generated sequences;
performing the cross interval combining between the two sequences at an interval of the interval value to generate a combined sequence; and
performing the cross interval combining among combined sequences at an interval of the interval value, until the cross interval combining is performed among sequences corresponding to the plurality of groups of the multimedia files to generate the random playlist.

### Claim 12 (depends on 10)

The random play method according to claim 10, wherein the performing the cross interval combining between the two sequences at an interval of the interval value to generate the combined sequence comprises:
performing the cross interval combining by inserting one of the two sequences into the other of the two sequences at an interval of the interval value, to generate the combined sequence.

### Claim 13 (depends on 8)

The random play method according to claim 8, further comprising:
dividing the serial numbers in the random playlist into a plurality of groups, and changing an order of the plurality of groups; and
playing music files, corresponding to the serial numbers in a new random playlist generated by changing the order of the plurality of groups, based on the serial numbers in the new random playlist.

### Claim 14

A random play device, comprising:
an obtaining unit, configured to obtain to-be-played multimedia files; and
a playing unit, configured to divide the multimedia files into one or more groups, determine a play order for the to-be-played multimedia files based on the groups to form a random playlist, and play the to-be-played multimedia files based on the random playlist.

### Claim 15 (depends on 14)

The random play device according to claim 14, wherein the playing unit comprises:
a dividing and generating module, configured to divide the to-be-played multimedia files into at least one group, and generate one multimedia file ring structure for each group;
an extracting module, configured to, after the dividing and generating module generates the multimedia file ring structure, for each multimedia file ring structure, extract the multimedia files according to a pre-set extraction rule, and sort the multimedia files based on an extraction order to obtain the random playlist corresponding to the multimedia file ring structure; and
a playing module, configured to, after the extracting module obtains the random playlist, play the multimedia files based on the obtained random playlist.

### Claim 16 (depends on 14)

The random play device according to claim 14, wherein, for each multimedia file ring structure, an initial value of i is 1, i is a positive integer, and a first multimedia file is any one of the multimedia files in the multimedia file ring structure, and
an extracting module comprises:
a first determining module, configured to count forward or backward from an i-th multimedia file by m multimedia files in the multimedia file ring structure, and determine the multimedia file forward or backward from the i-th multimedia file by m+1 multimedia files in the multimedia file ring structure as an (i+1)-th multimedia file, wherein m is a positive integer; and
a first file extracting module, configured to extract the i-th multimedia file as an i-th multimedia file in the random playlist, increase the value of i by 1, and return to execute the first determining module.

### Claim 17 (depends on 14)

The random play device according to claim 14, wherein for each multimedia file ring structure, an initial value of i is 1, i is a positive integer, and a first multimedia file is any one of the multimedia files in the multimedia file ring structure, and
an extracting module comprises:
a second file extracting module, configured to extract an i-th multimedia file in the multimedia file ring structure as an i-th multimedia file in the random playlist; and
a second determining module, configured to count forward or backward from the i-th multimedia file by m multimedia files in the multimedia file ring structure, and determine the multimedia file forward or backward from the i-th multimedia file by m+1 multimedia files in the multimedia file ring structure as an (i+1)-th multimedia file, increase the value of i by 1, and return to execute the second file extracting module, wherein m is a positive integer.

### Claim 18 (depends on 14)

The random play device according to claim 14, wherein the playing unit comprises:
a grouping module, configured to divide the to-be-played multimedia files into one or more groups;
a generating module, configured to generate randomly a numerical sequence for each of the groups, wherein a length of the numerical sequence equals to the number of the to-be-played multimedia files in the group, and each element in the numerical sequence is uniquely corresponding to one to-be-played multimedia file in the group;
an extracting module, configured to extract sequentially the to-be-played multimedia files in the group respectively corresponding to elements in the numerical sequence based on an order of values of the elements in the numerical sequence to obtain a group list; and
a gathering module, configured to gather group lists of the groups to obtain the random playlist, and play the multimedia files based on the random playlist.

### Claim 19 (depends on 18)

The random play device according to claim 18, further comprising:
an operating module, configured to, before extracting sequentially the to-be-played multimedia files in the group respectively corresponding to the elements in the numerical sequence based on the order of the values of the elements in the numerical sequence to obtain the group list, perform an operation on the numerical sequence according to a pre-set rule; wherein
the extracting module is configured to extract sequentially the to-be-played multimedia files in the group respectively corresponding to the elements in the numerical sequence based on the order of the values of the elements in the numerical sequence after the operation is performed on the numerical sequence, to obtain the group list.

### Claim 20 (depends on 19)

The random play device according to claim 19, wherein the operating module is configured to perform a bitwise operation between the numerical sequence and a target sequence, wherein the target sequence comprises position numbers of the to-be-played multimedia files in the group.

### Claim 21 (depends on 14)

The random play device according to claim 14, wherein the playing unit comprises:
a sorting module, configured to sort the to-be-played multimedia files;
a marking module, configured to mark the multimedia files with serial numbers after the sorting module sorts the multimedia files;
a grouping module, configured to divide the serial numbers of the sorted multimedia files marked by the marking module into a plurality of groups;
a determining module, configured to determine an interval value based on the number of the multimedia files in each of the groups divided by the grouping module, wherein a cross interval combining is performed among the serial numbers of the multimedia files in the groups at an interval of the interval value;
a combining module, configured to perform the cross interval combining among the serial numbers of the multimedia files in the groups at an interval of the interval value determined by the determining module, to generate the random playlist; and
a playing module, configured to play the multimedia files corresponding to the serial numbers in the random playlist generated by the combining module based on the serial numbers in the random playlist.

### Claim 22 (depends on 21)

The random play device according to claim 21, wherein
the grouping module is further configured to group the random playlist into a plurality of new sequences more than once;
the determining module is further configured to determine a new interval value based on the number of the multimedia files corresponding to each of the new sequences;
the combining module is further configured to perform the cross interval combining among the plurality of new sequences at an interval of the new interval value to generate a new random playlist; and
the playing module is further configured to play the multimedia files corresponding to the serial numbers in the random playlist based on the serial numbers in the random playlist.

### Claim 23 (depends on 21)

The random play device according to claim 21, wherein the combining module comprises:
a selecting module, configured to select any two groups of the multimedia files from the plurality of groups of the multimedia files;
a sequence generating module, configured to arrange the serial numbers of the multimedia files in the two groups to generate two sequences respectively;
a combining sub-module, configured to perform the cross interval combining between the two sequences at an interval of the interval value to generate a combined sequence; wherein
the selecting module is further configured to select any one group of the multimedia files from the plurality of groups of the multimedia files, and
the combining sub-module is further configured to perform the cross interval combining between a sequence generated by arranging the serial numbers of the one group of the multimedia files selected by the selecting module from the plurality of groups of the multimedia files and the combined sequence at an interval of the interval value, until the cross interval combining is performed among sequences corresponding to the plurality of groups of the multimedia files to generate the random playlist.

### Claim 24 (depends on 23)

The random play device according to claim 23, wherein the sequence generating module is further configured to arrange the serial numbers of the multimedia files in the groups to generate sequences corresponding to the groups of the multimedia files respectively;
the selecting module is further configured to select any two sequences from the generated sequences;
the combining sub-module is further configured to perform the cross interval combining between the two sequences at an interval of the interval value to generate a combined sequence; and
the combining sub-module is further configured to perform the cross interval combining among combined sequences at an interval of the interval value, until the cross interval combining is performed among sequences corresponding to the plurality of groups of the multimedia files to generate the random playlist.

### Claim 25 (depends on 24)

The random play device according to claim 24, wherein the combining sub-module is further configured to perform the cross interval combining by inserting one of the two sequences into the other of the two sequences at an interval of the interval value, to generate the combined sequence.

### Claim 26 (depends on 25)

The random play device according to claim 25, wherein the playing unit further comprises:
an order changing module, configured to divide the serial numbers in the random playlist into a plurality of groups, and change an order of the plurality of groups; and
the playing module is further configured to play the multimedia files, corresponding to the serial numbers in a new random playlist generated by changing the order of the plurality of groups, based on the serial numbers in the new random playlist.
