Acceleration mechanism of the periodic tearing modes and the time scale of the solar radio spikes