Mechanism of species dynamics and interactions under impacts of artificial barriers in coastal areas