By using the idea of resonant triad of the theory of hydrodynamic stability, a theoretical model is proposed for the generation of the coherent structures in the wall region of a turbulent boundary layer. The obtained structural configuration, the spanwise length scale and the convective speed of the coherent structures are in agreement with those obtained by numerical simulations. To further characterize these structures, the probability density distribution of the non-dimensional circulation difference of the largely unsymmetric streamwise vortex pairs is calculated.