Input-to-state stability for nonlinear systems with large delay periods based on switching techniques