Beam longitudinal instabilities excited by the beam cavity interaction are one of the most important instabilities in the high energy electron accelerators.Based on the energy electron accelerators.Based on the longitudinal motion equation of the particle,the longitudinal instability of m=1 mode excited by the beam cavity interaction in the cases of single bunch and multi-bunch operations was discussed in detail.The results for the Hefei Light Source were given.