Using Solidworks establish the virtual prototype of the conventional beam pumping unit. After that, by using ADAMS moves on to the kinematics simulation of prototype, detailed the polished rod motion parameters curves are present. When compared the results with the calculation results of accurate analysis method, discovered that these two results of different methods coincide quite well, and the reliabilities of simulation results of using virtual prototype technology, are validated. The optimal design of pumping unit skeletal structure parameters is explored in this paper, taking the polished rod acceleration as objective functions. From the simulation solution, we get the optimal structure and size of pumping unit. Virtual prototype technology provides a kind of economical, fast and reliable way to design and optimize structure of the pumping unit.