The application discloses a method and device for generating initialization parameters,
electronic equipment and a
computer program product. The method comprises: obtaining a generation instruction of an initialization parameter required for
wireless communication, wherein the generation instruction comprises a first instruction for indicating that the initialization parameter is used for generating a reference
signal and a second instruction for indicating that the initialization parameter is used for
channel data scrambling, and the reference
signal is previously agreed by a receiving end and a sending end of the
wireless communication; in response to the first instruction, generating a first initialization parameter according to a pre-configured
signal integer sequence; and in response to the second instruction, generating a second initialization parameter according to a pre-configured scrambling integer sequence, wherein the scrambling integer sequence is different from the signal integer sequence. The application solves the technical problem of weak security mechanism caused by the fact that the reference signal and data scrambling use the same initialization parameter in the prior art.