Carbon stars play a crucial role in astronomical research and are significant for understanding stellar evolution, measuring cosmic distances, and studying galaxy kinematics. In recent years, identifying carbon stars using machine learning methods and traditional line-index methods has become a research hotspot, but there are still limitations regarding accuracy and automation. In this study, we propose to build a five-class model to identify carbon stars using spectral data from LAMOST DR9. The model achieved 99.45% precision and 91.21% recall on the carbon star testing set. We conducted independent tests using a sample of 1333 known carbon stars that were not used in the training and testing phases, and our model ultimately identified 1199 carbon stars. On this basis, we used this model to screen 11,226,252 spectra of LAMOST DR9 and identified 4383 carbon stars, including 1197 newly discovered carbon stars. To gain a more comprehensive understanding of the characteristics of the 4383 carbon stars obtained, further visual inspection of these spectra was performed to provide more detailed carbon star subtypes.