Method and device for randomly playing music

A random playback and music technology, applied in the computer field, can solve problems such as user inconvenience, low playback efficiency, and uneven playback probability of each music file, and achieve the effect of improving balance

Active Publication Date: 2017-08-01
GUANGZHOU KUGOU COMP TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the pseudo-random algorithm for random play is generated, and the technical defect is that some music files are played randomly for many times, often repeating, while other music files have not been played all the time, resulting in low playback efficiency. The playback probability is uneven, causing inconvenience to users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for randomly playing music
  • Method and device for randomly playing music
  • Method and device for randomly playing music

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0042] see figure 2 , a method for randomly playing music provided in the first embodiment of the present invention, the method comprising:

[0043] S201. Sort the music files to be played and identify the serial numbers;

[0044] The music file to be played may be a music file locally stored in the terminal device 100 or a music file stored in a server. The terminal device 100 for playing music sorts the music files to be played, and identifies a serial number for each music file correspondingly. If the total number of music files is N, where N is a natural number, the serial number of the music file is X(i), where i is 0, 1, 2, . . . , N-1.

[0045] For example, if there are 10 music files to be played, the 10 music files can be sorted randomly, or according to the first character of the name of the music files, and the corresponding serial number X is identified for the 10 music files (0), X(1), X(2), ..., X(9).

[0046] S202. Divide the sequence numbers of the sorted ...

no. 2 example

[0059] see image 3 , a method for randomly playing music provided in the second embodiment of the present invention, the method comprising:

[0060] S301. Sort the music files to be played and identify the serial numbers;

[0061] The terminal device 100 for playing music sorts the music files to be played, and identifies a serial number for each music file correspondingly. If the total number of music files is N, where N is a natural number, the serial number of the music file is X(i), where i is 0, 1, 2, . . . , N-1.

[0062] S302. Divide the sequence numbers of the sorted music files into multiple groups;

[0063] After the N music files are sorted, the serial numbers of the N music files are divided into multiple groups. It can be divided into two groups, three groups, etc. The more music files there are, the more groups can be divided accordingly. Generally, after being divided into multiple groups, the number of music files in each group is equal or similar.

[006...

no. 3 example

[0084] see Figure 4 , a method for randomly playing music provided in the third embodiment of the present invention, the method comprising:

[0085] S401. Sort the music files to be played and identify the serial numbers;

[0086] The terminal device 100 for playing music sorts the music files to be played, and identifies a serial number for each music file. If the total number of music files is N, where N is a natural number, the serial number of the music file is X(i), where i is 0, 1, 2, . . . , N-1.

[0087] S402. Divide the sequence numbers of the sorted music files into multiple groups;

[0088] After the N music files are sorted, the serial numbers of the N music files are divided into multiple groups. It can be divided into two groups, three groups, etc. The more music files there are, the more groups can be divided accordingly. Generally, after being divided into multiple groups, the number of music files in each group is equal or similar.

[0089] S403. Determi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a random playing method and device of music. The method comprises the following steps: sorting music files to be played, and identifying serial numbers; dividing the serial numbers of the sorted music files into a plurality of groups; according to the amount of each group of music files, determining an interval value, wherein the interval value is used for carrying out cross interval mixing on the serial number of each group of music files; carrying out the cross interval mixing on the serial numbers of each group of music files according to the interval value to generate a random playing list; and according to the serial numbers in the random playing list, playing the corresponding music file. The method and the device can effectively improve the balance of a music file playing probability during random playing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a music random playing method and device. Background technique [0002] Due to the development of computer technology, along with the development of Internet technology, various music playback devices or online playback systems appear, for example, portable music playback devices such as mobile phones, and online players such as QQ Music. Often a certain number of music files are played randomly, ie a number of randomly ordered music files present in a playlist are played. [0003] In the prior art, the pseudo-random algorithm for random play is generated, and the technical defect is that some music files are played randomly for many times, often repeating, while other music files have not been played, resulting in low playback efficiency. The playback probability is uneven, causing inconvenience to users. Contents of the invention [0004] In view of this, the present inve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G11B27/10
Inventor 赵伟峰
Owner GUANGZHOU KUGOU COMP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products