The lightweight of new energy vehicles is to reduce body weight and process flow while ensuring vehicle safety. The research content of this article is the frame welding process under the integrated die-casting frame technology. Firstly, model different welding shapes, then analyze the fatigue strength of each welding shape and establish a fatigue analysis model; Then, a frame production process model is established, which includes multiple optimization objectives such as production energy consumption, frame stiffness, and load-bearing capacity of welding points. Then, an improved neural algorithm is used to solve the optimal solution of the multi-objective function. Finally, through simulation experiments, the welding shape proposed in this paper can reduce the weight of the vehicle body while ensuring technical indicators. Taking the lightweight of battery enclosure components in the vehicle body structure as an example, an optimized finite element model is obtained, which can ultimately reduce the weight of the optimized battery enclosure components by 3.38 kilograms.