The reliability of data transmission has become a hot issue of car networking. The reliability method of data transmission between cars is proposed in this paper, and it is solved with wavelet transform and multi-mosquito algorithm. At the same time, the search direction is introduced by the allocation mechanism and decision-making power to guide, which is in order to accelerate the convergence speed of this algorithm. Finally, the simulation experiments are conducted to study the key influence factors, and the relationships between packet size, vehicle spacing, transmit power, vehicle speed and data success rate. Compared to other algorithm, the result shows that this algorithm has better adaptability.