In order to effectively achieve the optimization design of the aircraft cargo rack, based on finite element modal simulation, the structure was redesigned and analyzed using two schemes of surrogate model size optimization and topology optimization, ensuring the strength requirements while improving the natural frequency and reducing the weight. According to the modal shape of vibration, additional bridge structures were added at the weak points to improve the dynamic stiffness of the structure. According to the optimization design requirements, the response surface function was constructed, and the particle swarm optimization algorithm was applied in the size optimization and surrogate model solution. A multi-objective optimization model was established for flexibility and low-order natural frequencies, and topology optimization was carried out in HyperWorks. The structural dynamic modification of the topology optimization model was performed using the modal strain energy analysis method. The research results show that both optimization methods can achieve good lightweight design. The static performance of the optimized structure is stable, and the overall modal frequency is improved.