Random music playing method and device, computer equipment and storage medium

A random play, computer technology, applied in the field of big data, can solve the problem of inaccurate random play list and so on
CN112002352AActive Publication Date: 2020-11-27深圳赛安特技术服务有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
深圳赛安特技术服务有限公司
Publication Date
2020-11-27

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention belongs to the technical field of big data, is applied to the field of smart communities, and relates to a random music playing method, which comprises the steps of performing data point burying at a current user client, and collecting behavior data of a user; sending the behavior data to a preset framework based on a distributed message system, and performing real-time calculation on the behavior data through the preset framework to obtain weight information of each song in a song list of the current client; and when a random playing instruction is received, obtaining the song ID of each song in the song list, rearranging the song IDs according to the values of the weight information from large to small to obtain a random playing list, and playing the songsaccording to the playing sequence of the random playing list. The invention further provides a random music playing device, computer equipment and a storage medium. In addition, the invention also relates to a blockchain technology, and the weight information can be stored in the blockchain. According to the method and the device, the song random playlist can be accurately generated.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of big data technology, and in particular to a method, device, computer equipment and storage medium for randomly playing music. Background technique

[0002] Currently, the algorithms for randomly playing music mainly include the shuffle algorithm and the random algorithm.

[0003] Among them, the Shuffle algorithm, by scrambling the order of the songs in the playlist, transforms it into a scrambled list that has nothing to do with the original song order, and then plays the songs. The Random algorithm, by performing a random number operation when selecting a song to be played, obtains the index of the song to be played in the playlist. song to play.

[0004] However, through these two methods, when playing music randomly, there will still be random songs that repeatedly appear. For example, in a playlist of 100 songs, there are always only those 20 songs that are played randomly. For users who do not wan...

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