This paper develops an approach to build the switching sequence for the switched system based on the bilinear system theory. At first, a segment transformation has been given which can transform a switched system to be a nonlinear system with input saturation. Then, based on the control design approach of bilinear system and Lyapunov theorem, we have derived the process to design the controller. After inverse-transforming the proposed controller by that segment transformation method, we develop the approach to design switching sequence. At last, through a numerical simulation, the feasibility and advantage of the proposed approach is illustrated.