Quantum entanglement is one of most remarkable features of quantum mechanics,and in recent years it has played a more and more important role in quantum information.However,real quantum system inevitably interacts with the environment,resulting in the entanglement decay or even entanglement sudden death,so it is necessary to study the entanglement dynamical properties of an open system under different environments.In this paper,we investigate the entanglement dynamic behaviors of three interacting two-level atoms in an optical cavity which is coupled to a structured zero-temperature bosonic reservoir.Laplace transform,LBC and other methods are utilized,through numerical method we analyze the entanglement dynamic behavios of tripartite of three atoms and bipartite of cavity and reservoir.We also discuss how the coupling parameters affect the entanglement dynamics.Results show that in a short time,the entanglement of tripartite increases with coupling strength of three atoms increasing,and a periodic oscillation appears, but entanglement of bipartite decreases.The entanglement of tripartite decreases with the coupling strength between atoms and cavity increasing and damping oscillation appears,but the entanglement of bipartite increases.In a long-time limit,the entanglement approaches to a steady value.The non-Markovian dynamics of the qubits is determined by both the coupling strength and the spectral width.The strong system-reservoir coupling regime results in the non-Markovian dynamics of system.As the spectral width increases,the system of three atoms transforms from non-Markovian regime to Markovian regime.The increasing of spectral width results in the Markovian dynamic behavior of system,but the system of the atoms falls into the non-Markovian regime once more.When the coupling between the cavity and reservoir is weak,the entanglement of three atoms increases as the detuning of the cavity and reservoir increases,but it is not obvious.When the coupling between the cavity and reservoir is strong,the entanglement of three atoms increases and a periodic oscillation appears with increasing the detuning between the cavity and reservoir,so we can effectively restrain the effects of dissipation of reservoir on entanglement decay by adjusting the detuning between the cavity and reservoir.