Aimed at the high requirements of real-time in barrage video system, a barrage distribution strategy based on the earliest deadline first algorithm is proposed in this paper, which distributes all the barrages in the system to balance the best of the barrage completion rate and the completion rate of important barrages. The system will assign dynamic priority level to each new arrival barrage, and calculate the preemption threshold and preemption coefficient according to the fuzzy threshold rule to judge whether the ongoing barrage task is preempted by the new arrival barrage task or not. The waiting time delay is predicted according to queuing theory.