In this paper, the authors discuss the values of a class of generalized Euler numbers and generalized Bernoulli numbers at rational points.