This study aims to evaluate the concept of closed-loop treatment of atrial fibrillation for the optimization of the treatment strategy, the improvement of disease outcome and the economic value of the atrial fibrillation population in the northern Shanghai community. Improve the disease cognition of patients with atrial fibrillation, and promote the development of the concept of closed-loop treatment of atrial fibrillation.