In this study, the improved parallel Direct Simulation Monte Carlo (DSMC) method is adopted to implement the three dimensional computations of the shallow cavity flow field with hypersonic and rarefied conditions. In order to effectively accelerate the overall computational efficiency, a parallel direct simulation Monte Carlo code based on the C++ language, named PDSC++, using object-oriented programming is employed.