Effect of cyclic loading on the change of rock strength