A signal processing method and device. The method comprises: when there is data to be sent, determining, by a user equipment, a generation manner of a pseudo-random sequence according to a type of the data to be sent; when the data to be sent is device-to-device communication data, conducting, by the user equipment, assignment on an initial value of the generated pseudo-random sequence according to a pre-defined rule, and generating the pseudo-random sequence according to the initial value; generating one or more of a scrambling sequence, a cyclic shift sequence or a pilot sequence according to the pseudo-random sequence; and processing the data to be sent using one or more of the scrambling sequence, the cyclic shift sequence or the pilot sequence. The embodiments of the present invention enable a UE to generate a pseudo-random sequence by using a pre-defined initial value type as an initialization parameter, to conduct scrambling, cyclic shift, pilot insertion and other processing on a signal to be transmitted, thereby playing roles of randomizing signal interference, enhancing the anti-interference capability, and improving the signal receiving accuracy rate and the resource utilization rate.