The invention discloses a relay transmission method based on physical layer safety in an eavesdropping user randomly distributed scene. The method comprises the steps of 1), obtaining a safe interruption probability of two-hop relay transmission after two times of independent eavesdropping coding is carried out in the eavesdropping user randomly distributed scene based on a random geometric theory; 2), establishing an optimization problem of maximizing a safe transmission speed under the condition that the total transmitting power of a source node and a relay node is limited; and 3), obtaining a relay transmission method capable of maximizing the safe transmission speed through solution of the established optimization problem, wherein the method comprises two parts of power distribution and codebook rate design. According to the method, under the condition that the specific locations of the eavesdropping users are unknown, the communication reliability and safety are taken into comprehensive consideration, the safe interruption probability constraint is satisfied, and moreover, the safe transmission speed is maximized.