In this work, an effective Goos-Hänchen (GH) spatial shift of reflective guided-mode is implemented with a waveguide corner mirror structure and further with an efficient combination of the GH spatial shift and the thermo-optic (TO) refractive index modulation (RIM), the function of a digital TO switch is systematically simulated with the theoretical model and the professional software of finite difference time-domain (FDTD). Therefore, on the silicon-on-insulator (SOI) platform, the functions of a 1×3/1×2 digital optical switch are experimentally demonstrated.