In order to increase the bits of binary data transmitted per second in direct sequence spread spectrum(DSSS) systems and enhance the security of information transmission, a mapping transmission mechanism is established, and a two-dimensional data transmission method with constellation rotation mapping is proposed. As the one-dimensional data is transmitted, the two-dimensional data is added, and the relationship model is established by using the M-ary conversion and constellation rotation. The constellation is selected according to the ratio between one-dimensional data rate and two-dimensional data rate, and then the two-dimensional data is converted into mapping data by constellation rotation mapping, so as to obtain the corresponding pseudo-code channel and achieve the transmission of one-dimensional data and the mapping transmission of two-dimensional data. The simulation results show that compared with the traditional DSSS system, the two-dimensional data transmission method with constellation rotation mapping can obtain higher data transmission rate and better error code rate performance, as well as meet the requirements of better confidentiality performance.