While-drilling identification technology is a crucial part of intelligent mining development. The results provide a scientific basis for real-time adjustment of support parameters, promotes safe and efficient mining. Noise and vibration generated during the rock drilling process vary significantly between different rock materials, offering a new method for identifying rock characteristics. This study used a digital drilling test system to conduct experiments on layered rocks with weak interlayers, monitoring drilling parameters and borehole sound pressure and vibration acceleration in real time. Time-domain and frequency-domain features of borehole sound pressure and vibration signals were analyzed to identify rock characteristics in weak interlayer areas. The results show that these methods can clearly identify the location of weak interlayers. The spectral characteristics of different rock materials are significantly different, indicating a strong correlation between borehole sound and vibration characteristics and the mechanical properties of the rock. Comparing sound and vibration identification results with drilling parameters at weak interlayers verified the accuracy of the identification, providing a basis for lithology identification using multiple parameters. This study shows the importance of drilling noise and vibration parameters in enhancing while-drilling parameters in the digital drilling process.