Aiming at the new combat mode based on unmanned swarm in the future, an attack defense confrontation model based on unmanned swarm is established, in which a rule-based unmanned swarm collaborative control mode is proposed. By improving Vicsek model, enhance the coordination ability of unmanned swarm, and realize the control mode of target consistent collaboration and unit collaboration of unmanned swarm. In order to verify the operational effectiveness of the control mode, the unmanned swarm operation experiment is carried out. The results show that the rule-based unmanned swarm collaborative control mode can effectively improve the success rate of combat.Aiming at the new combat mode based on unmanned swarm in the future, an attack defense confrontation model based on unmanned swarm is established, in which a rule-based unmanned swarm collaborative control mode is proposed. By improving Vicsek model, enhance the coordination ability of unmanned swarm, and realize the control mode of target consistent collaboration and unit collaboration of unmanned swarm. In order to verify the operational effectiveness of the control mode, the unmanned swarm operation experiment is carried out. The results show that the rule-based unmanned swarm collaborative control mode can effectively improve the success rate of combat.