The invention discloses a polyphonic ringtone automatic
replacement method and device, equipment and a medium, and the method comprises the steps: periodically calculating the popularity value of each polyphonic ringtone in a polyphonic ringtone
library based on pre-configured user preference information; screening a target polyphonic ringtone according to the popularity value for the user who has started the automatic replacement function at a preset timing trigger moment, and generating a polyphonic ringtone replacement task; and then, writing the polyphonic ringtone replacement task into a
message queue, and asynchronously executing the polyphonic ringtone replacement task by a
consumer service in
butt joint with the
message queue so as to call an
operator interface to complete polyphonic ringtone setting. According to the method, the batch tasks are written into the
message queue, the back-end
consumer service carries out asynchronous consumption, and the
operator interface is called for execution, so that the request pressure is effectively dispersed, the stability and reliability of the
system in a high-
concurrency scene are ensured, the whole process does not need user intervention, and automatic, intelligent and smooth replacement of the polyphonic ringtone is realized. The method can be widely applied to the technical field of polyphonic ringtones.