In this paper, a new ring-shaped non-harmonic oscillator potential is proposed. Under the condition of equal scalar and vector potentials, the exact bound solutions and energy equations of both the Klein-Gordon equation and Dirac equation for this oscillator potential are obtained. It is shown that the angular wave functions of Klein-Gordon equation are given by the hypergeometric functions and the radial wave functions are expressed in terms of the confluent hypergeometric functions or general Laguerre polynomial. The spinner wave functions of the Dirac equation are constructed with the of the Klein-Gordon equation.