Role of periodic fluctuations in solar wind-magnetosphere coupling