This paper studies the quantum repeater in quantum information communication. We propose to introduce the photon buffer mechanism for storing photons, which uses fibre delay loops as photon memories and a programmable 1 × N switcher for distributing photon delay time. Meanwhile, we also consider entanglement purification and entanglement swapping restoration at an entanglement purification or entanglement swapping failure and introduce a protection link mechanism that allows the photonic quantum repeater of a broken connection to initiate a connection restoration process.