The measurement of the K ± production in the Semi-Inclusive Deep Inelastic Scattering (SIDIS) can provide further knowledge about the structure of nucleon, and thus it is purposed in the Solenoidal Large Intensity Device(SoLID) at Jefferson Lab(JLab). In this experiment, the identification of the kaons is planed to be accomplished with the Multi-gap Resistive Plate Chambers(MRPC), and the requirement for the time resolution is around 20 ps. This is very challenging for the present MRPC systems (typical resolution 60 ps), while in this paper, it is proved that the performance can be improved largely if the signal waveform is obtained and analyzed with a neural network method. In a cosmic ray experiment, the time resolution of a 6-gap 0.25mm-thick MRPC reaches 36 ps with this method, and a even better performance is expected with a thinner MRPC.