US 11,720,329 B2
Generating a shuffle seed
Erik Johan Curcio Lindström, Stockholm (SE); and Sven Samuel Erdtman, Uppsala (SE)
Assigned to Spotify AB, Stockholm (SE)
Filed by Spotify AB, Stockholm (SE)
Filed on Feb. 17, 2021, as Appl. No. 17/178,077.
Claims priority of application No. 20159731 (EP), filed on Feb. 27, 2020.
Prior Publication US 2021/0271454 A1, Sep. 2, 2021
Int. Cl. G06F 7/58 (2006.01); G06F 16/438 (2019.01); G06F 16/638 (2019.01); G06Q 30/0282 (2023.01); G06Q 30/0601 (2023.01)
CPC G06F 7/582 (2013.01) [G06F 16/438 (2019.01); G06F 16/4387 (2019.01); G06F 16/639 (2019.01); G06Q 30/0282 (2013.01); G06Q 30/0631 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A method for generating a seed for a shuffle algorithm, the method performed by a first computing device, the method comprising:
before generating a first seed for the shuffle algorithm, determining if a seed of a plurality of generated seeds stored at a second computing device has a fitness score that meets a threshold, wherein the fitness score represents how the seed performs in producing a shuffled order for a playlist;
in accordance with a determination that the second computing device is not storing a seed that has a fitness score that meets the threshold, generating the first seed for the shuffle algorithm;
determining a fitness score for the first seed, wherein the fitness score represents how the first seed performs in producing a shuffled order for a playlist;
sending the first seed and its fitness score to a second computing device for storage;
receiving, from the second computing device, a second seed selected, by the second computing device, from the plurality of generated seeds stored at the second computing device, the plurality of generated seeds including the first seed, wherein the second seed is selected by the second computing device based on the second seed having the best fitness score of the plurality of generated seeds stored at the second computing device; and
generating, using the selected second seed, a shuffled order for the playlist to display for a user.