CN-121984794-A - Initialization parameter generation method and device, electronic equipment and computer program product
Abstract
The application discloses a method, a device, electronic equipment and a computer program product for generating initialization parameters. The method comprises the steps of obtaining a generation instruction of initialization parameters required by wireless communication, wherein the generation instruction comprises a first instruction used for indicating to generate a reference signal according to the initialization parameters and a second instruction used for indicating to scramble channel data according to the initialization parameters, the reference signal is pre-agreed by a receiving end and a transmitting end of the wireless communication, the first initialization parameter is generated according to a pre-configured signal integer number sequence in response to the first instruction, and the second initialization parameter is generated according to a pre-configured scrambling integer number sequence in response to the second instruction, wherein the scrambling integer number sequence is different from the signal integer number sequence. The application solves the technical problem of weak security mechanism caused by the fact that the same initialization parameters are used by the reference signal and the data scrambling in the prior art.
Inventors
- XIAO FENG
- YIN MING
- FENG XUELIN
- ZHU BIYING
- QIAN MANLI
- SHI JINGLIN
Assignees
- 北京中科晶上科技股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260408
Claims (10)
- 1. A method for generating initialization parameters, comprising: The method comprises the steps of obtaining a generation instruction of an initialization parameter required by wireless communication, wherein the generation instruction comprises a first instruction for indicating to generate a reference signal according to the initialization parameter and a second instruction for indicating to scramble channel data according to the initialization parameter, and the reference signal is pre-agreed by a receiving end and a transmitting end of the wireless communication; Generating a first initialization parameter according to a preset signal integer number sequence in response to the first instruction; And generating a second initialization parameter according to a pre-configured scrambling integer number sequence in response to the second instruction, wherein the scrambling integer number sequence is different from the signal integer number sequence.
- 2. The method of claim 1, wherein the signal integer series comprises a first integer series indicated by a base station node physical layer identification and a second integer series indicated by a dedicated reference signal sequence identification, and wherein generating the first initialization parameter in accordance with the preconfigured signal integer series in response to the first instruction comprises: in response to the first instruction, detecting that the first instruction indicates a signal type of the generated reference signal; Generating the first initialization parameter according to the first integer number sequence under the condition that the signal type belongs to a public demodulation reference signal; and generating the first initialization parameter according to the second integer number sequence under the condition that the signal type does not belong to the common demodulation reference signal.
- 3. The method of claim 2, wherein generating the first initialization parameter from the first integer number sequence in the case that the signal type is of a common demodulation reference signal comprises: acquiring the first integer number sequence under the condition that the signal type belongs to a public demodulation reference signal; And generating the first initialization parameter according to the first integer number sequence and combining a preset integer indicated by a preset cyclic prefix index identifier.
- 4. The method of claim 2, wherein generating the first initialization parameter from the second integer number sequence if the signal type is not of the common demodulation reference signal comprises: Acquiring a second integer number sequence of the first bit number in case the signal type does not belong to the common demodulation reference signal; intercepting a first integer subsequence of a preset bit number at the tail part of the second integer sequence; and generating the first initialization parameter according to the first integer subsequence and combining a time sequence index number and a symbol index number of signal start.
- 5. The method of claim 1, wherein generating, in response to the second instruction, a second initialization parameter from a pre-configured sequence of scrambled integers comprises: acquiring the scrambled integer number sequence in response to the second instruction; And generating the second initialization parameter according to the scrambling integer number sequence and the index number of the data starting wireless frame.
- 6. The method of claim 5, wherein, in response to the second instruction, obtaining the scrambled integer series of numbers comprises: detecting a channel type for channel data scrambling in response to the second instruction; under the condition that the channel type is a public data channel, determining a first integer number sequence indicated by a preconfigured base station node physical layer identification as the scrambling integer number sequence; determining a pre-configured downlink scrambling integer number sequence as the scrambling integer number sequence under the condition that the channel type is not the common data channel and is a downlink channel; in the case that the channel type is not the common data channel and is an uplink channel, determining a preconfigured uplink scrambling integer number sequence as the scrambling integer number sequence, wherein the uplink scrambling integer number sequence is different from the downlink scrambling integer number sequence, Wherein the number of bits of the upstream scrambling integer number sequence and the downstream scrambling integer number sequence is greater than the number of bits of the first integer number sequence.
- 7. The method of claim 6, wherein the method further comprises: detecting whether the pre-configured downlink scrambling integer number sequence and the uplink scrambling integer number sequence exist after detecting a channel type for channel data scrambling; Determining a preconfigured preset scrambling integer number column as the downlink scrambling integer number column under the condition that the preconfigured downlink scrambling integer number column does not exist; Determining the preset scrambling integer number sequence as the uplink scrambling integer number sequence under the condition that the preset scrambling integer number sequence does not exist; and determining the preset scrambling integer number sequence as the scrambling integer number sequence in the condition that the preset scrambling integer number sequence and the uplink scrambling integer number sequence do not exist.
- 8. An initialization parameter generating apparatus, comprising: The acquisition module is used for acquiring a generation instruction of an initialization parameter required by wireless communication, wherein the generation instruction comprises a first instruction used for indicating to generate a reference signal according to the initialization parameter and a second instruction used for indicating to scramble channel data according to the initialization parameter, and the reference signal is pre-agreed for a receiving end and a transmitting end of the wireless communication; the first generation module is used for responding to the first instruction and generating a first initialization parameter according to a preset signal integer number sequence; and the second generation module is used for responding to the second instruction and generating a second initialization parameter according to a pre-configured scrambling integer number sequence, wherein the scrambling integer number sequence is different from the signal integer number sequence.
- 9. An electronic device comprising a memory and a processor for executing a program stored in the memory, wherein the program is run to perform the method of generating initialization parameters according to any one of claims 1 to 7.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the method of generating initialization parameters according to any one of claims 1 to 7.
Description
Initialization parameter generation method and device, electronic equipment and computer program product Technical Field The present application relates to the field of wireless communications technologies, and in particular, to a method, an apparatus, an electronic device, and a computer program product for generating initialization parameters. Background In a wireless communication system, a transmitting end transmits a known reference signal, and a receiving end can compare the difference between a received signal and an original reference signal, so that the characteristics of wireless channel frequency correspondence, phase offset, delay spread and the like are obtained. The physical channel utilizes the channel estimation result of the reference signal to realize accurate demodulation and interference suppression of the actual transmission data, so that the reference signal and the physical channel cooperate to complete reliable transmission of the wireless communication data. The star flash SLB system is used as a novel short-distance wireless communication system, is widely applied to scenes such as intelligent terminals, internet of vehicles, industrial Internet of things and the like, and is crucial in reliability, anti-interference capability and safety of reference signals and physical channels. The pseudo-random sequence is mainly used for generating a reference signal of an SLB system and scrambling physical channel data, and the functions of anti-interference, user distinguishing and data security are realized. The reference signal generation, namely a demodulation reference signal (G-DMRS), a public demodulation reference signal (G-DMRS-C) and the like need to generate QPSK sequences through pseudo-random sequences for channel estimation and coherent demodulation; physical channel data scrambling-bit level scrambling of the uplink and downlink data channels relies on pseudo-random sequences for interference randomization and data protection. Initialization parameters of pseudo random sequence in existing SLB protocolThe design of (1) has the following physical layer potential safety hazards: The identification source is single, namely the current reference signal and the physical channel scrambling pseudo-random initial parameters are generated through the G node physical layer identification, the identification is easy to obtain, once an attacker acquires the identification, the air interface data information analysis can be completed, and particularly for the application of a high-level without setting a security key, the information is completely visible and the security depth is lacked. And the uplink and downlink scrambling is bound, namely the uplink and downlink data parameters of the physical channel are scrambled based on the G node identifier 24bit, the G node identifier is visible to other nodes, the uplink and downlink links adopt the same identifier, and an attacker can easily obtain another link scrambling mode through one side link conjecture and disguise as legal identity. The configuration is static, that is, the initialization parameters are completely determined by the predefined identifications and cannot be dynamically adjusted according to the security policy, once the identifications are leaked, an attacker can implement accurate interference, pilot pollution or eavesdropping attack for a long time. Aiming at the problem of weak security mechanism caused by the fact that the same initialization parameters are used for generating the reference signal and scrambling the data in the prior art, no effective solution is proposed at present. Disclosure of Invention The embodiment of the application provides a method, a device, electronic equipment and a computer program product for generating initialization parameters, which are used for at least solving the technical problem of weak security mechanism caused by the fact that reference signals and data scrambling use the same initialization parameters in the prior art. According to one aspect of the embodiment of the application, a generation method of initialization parameters is provided, which comprises the steps of obtaining generation instructions of the initialization parameters needed by wireless communication, wherein the generation instructions comprise a first instruction used for indicating to generate reference signals according to the initialization parameters and a second instruction used for indicating to scramble channel data according to the initialization parameters, the reference signals are preset for a receiving end and a transmitting end of the wireless communication, the first initialization parameters are generated according to a preset signal integer number sequence in response to the first instruction, and the second initialization parameters are generated according to a preset scrambling integer number sequence in response to the second instruction, wherein the scrambling integer number sequence is