This paper aims at the airport's service process and establishes a mathematical probability model to simulate the queuing situation of passengers. Firstly, based on the queuing theory, we use a model to reflect the changing number of queues in different areas of the airport over time. Then, according to the queuing characteristics of each region, a multi-objective planning model is established to solve reasonable safety personnel and safety inspection equipment setting plans. In order to optimize the speed and accuracy of the solution, we have introduced the particle swarm algorithm, which can be used to obtain practical solution in a short period of time.