A scheme for the preparation of quantum entangled states is proposed based on a V-type three-level atom and cavity quantum electrodynamics system. The dynamics of cavity-cavity entanglement is numerically analyzed under different coupling parameters. The research results show that the cavity-cavity entanglement can be mediated by varying the coupling parameters between cavities when the atom successively passes through the empty cavities at a constant speed. Moreover, this scheme can be utilized for the simultaneous generation and control of multi-component quantum entanglement states.