A framework of cellular automaton