The total nitrogen(TN)removal efficiency of traditional SBR reactor is poor.In this study,semi-fixed biofilm carrier module,sludge reflux system and rapid water inlet and outlet system were used to optimize the traditional SBR process,and pilot tests were carried out to explore the effect and mechanism of deep nitrogen removal process.The results showed that the removal rates of COD,NH3-N,TN,and TP by the semi-fixed biofilm carrier coupled improved SBR process under low influent loads were 87.19%,98.24%,63.42%,and 87.06%,respective-ly.The removal rates under high influent loads were 94.34%,98.47%,73.47%,and 73.73%,respectively.Through the analysis of 16S rRNA gene sequence and PICRUSt2 technology,the microbial communities of suspended sludge and biofilm carriers were significantly different.At low influent loads,suspended solids are mainly responsible for denitrification,biofilm carriers are mainly responsible for ammonia oxidation,and TN is mainly removed by nitrification-denitrifica-tion.Under high influent loads,the role of nitrate reductase in suspended sludge gradually weak-ened,anaerobic ammonia oxidation and nitrogen assimilation in biofilm carriers became dominant,and TN was removed mainly by assimilation.