Energetic particles, interplanetary shocks and solar activity