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.