Study on the dynamic and unpredictability properties of an optical microring resonator with modulation