The invention discloses an interference avoidance and secure transmission method based on signal alignment for use in a collaborative device-to-device (D2D) system. The method comprises the following steps that: a base station (SB), a user D<1>, a user D<2> and a cellular user (CU) transmit signal constellation points out after signal constellation rotation firstly during information transmission; and every collaborative transmission between a D2D subsystem and a cellular subsystem consists of two stages, wherein at a first stage, the BS, the CU and the user D<2> transmit respective signals to the user D<1> respectively; and at a second stage, the user D<1> forwards a composite signal consisting of the signal transmitted by the BS and the signal transmitted by the CU to realize bilateral information transmission between the CU and the BS, and meanwhile, the user D<1> transmits a signal needing to be transmitted of the user D<1> to the user D<2>. Through adoption of the method, the security of the collaborative D2D system can be enhanced effectively, and the symbol error rate of the collaborative D2D system is lowered.