Initialization parameter generation method and device, electronic equipment and computer program product

By independently generating initialization parameters for reference signals and channel data scrambling in the SLB system, the problem of weak security mechanisms in the design of pseudo-random sequence initialization parameters is solved, achieving higher resistance to hacking and information confidentiality.

CN121984794BActive Publication Date: 2026-06-26BEIJING SYLINCOM TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING SYLINCOM TECHNOLOGY CO LTD
Filing Date
2026-04-08
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

In the existing SLB protocol, the design of the initialization parameters for pseudo-random sequences has problems such as a single source of identifiers, binding of uplink and downlink scrambling, and static configuration, which leads to weak security mechanisms. Attackers can obtain the identifiers to parse and speculate on interference.

Method used

By acquiring the wireless communication generation instructions, the initialization parameters for scrambling the reference signal and channel data are independently generated based on the pre-configured signal integer sequence and scrambling integer sequence, ensuring physical separation of the parameter sources and introducing a high-layer configurable multi-source identification mechanism and uplink/downlink independent scrambling identification.

Benefits of technology

It significantly improves the anti-hacking capability and information confidentiality of wireless communication, preventing attackers from cracking the scrambling key by inferring the reference signal parameters, and enhancing system security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121984794B_ABST
    Figure CN121984794B_ABST
Patent Text Reader

Abstract

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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and more specifically, to a method, apparatus, electronic device, and computer program product for generating initialization parameters. Background Technology

[0002] In a wireless communication system, the transmitter sends a known reference signal, and the receiver compares the received signal with the original reference signal to obtain characteristics such as the wireless channel frequency response, phase offset, and delay spread. The physical channel uses the channel estimation results from the reference signal to achieve accurate demodulation and interference suppression of the actual transmitted data. Thus, the reference signal and the physical channel work together to ensure reliable transmission of wireless communication data.

[0003] As a novel short-range wireless communication system, the StarLight SLB system is widely used in smart terminals, vehicle-to-everything (V2X) networks, and industrial IoT scenarios. The reliability, anti-interference capability, and security of its reference signal and physical channel are crucial. Specifically, pseudo-random sequences are primarily used for reference signal generation and physical channel data scrambling in the SLB system, achieving anti-interference, user differentiation, and data security.

[0004] Reference signal generation: Demodulation reference signal (G-DMRS), common demodulation reference signal (G-DMRS-C), etc. need to be generated into QPSK sequence through pseudo-random sequence for channel estimation and coherent demodulation;

[0005] Physical channel data scrambling: Bit-level scrambling of uplink and downlink data channels relies on pseudo-random sequences for interference randomization and data protection.

[0006] In the existing SLB protocol, the initialization parameters of the pseudo-random sequence The design has the following physical layer security risks:

[0007] The source of the identifier is singular: the current reference signal and the physical channel scrambling pseudo-random initial parameters are both generated through the physical layer identifier of the G node. This identifier is very easy to obtain. Once an attacker obtains the identifier, they can complete the parsing of the air interface data information. Especially for applications where no security keys are set at the higher layers, the information is completely visible and lacks security depth.

[0008] Uplink and downlink scrambling binding: The uplink and downlink data parameters of the physical channel are also scrambled based on the 24-bit G node identifier. The G node identifier is visible to other nodes. The uplink and downlink use the same identifier. Attackers can easily infer the scrambling mode of the other link through one link and pretend to be legitimate.

[0009] Static configuration: Initialization parameters are entirely determined by predefined identifiers and cannot be dynamically adjusted according to security policies. Once the identifiers are leaked, attackers can carry out precise interference, pilot pollution, or eavesdropping attacks over a long period of time.

[0010] There is currently no effective solution to the problem of weak security mechanisms caused by the use of the same initialization parameters for the generation of reference signals and data scrambling in the existing technologies. Summary of the Invention

[0011] This application provides a method, apparatus, electronic device, and computer program product for generating initialization parameters, in order to at least solve the technical problem in the prior art where the reference signal and data scrambling use the same initialization parameters, resulting in weak security mechanisms.

[0012] According to one aspect of the embodiments of this application, a method for generating initialization parameters is provided, comprising: obtaining a generation instruction for initialization parameters required for wireless communication, wherein the generation instruction includes: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the generation of channel data scrambling based on the initialization parameters, wherein the reference signal is pre-agreed upon by a receiver and a transmitter of the wireless communication; in response to the first instruction, generating a first initialization parameter based on a pre-configured signal integer sequence; and in response to the second instruction, generating a second initialization parameter based on a pre-configured scrambling integer sequence, wherein the scrambling integer sequence is different from the signal integer sequence.

[0013] Optionally, the signal integer sequence includes: a first integer sequence indicated by the physical layer identifier of the base station node and a second integer sequence indicated by the dedicated reference signal sequence identifier. Responding to the first instruction, generating the first initialization parameter based on the pre-configured signal integer sequence includes: responding to the first instruction, detecting the signal type of the reference signal generated by the first instruction; if the signal type belongs to a common demodulation reference signal, generating the first initialization parameter based on the first integer sequence; if the signal type does not belong to the common demodulation reference signal, generating the first initialization parameter based on the second integer sequence.

[0014] Optionally, when the signal type is a common demodulation reference signal, generating the first initialization parameter based on the first integer sequence includes: when the signal type is a common demodulation reference signal, obtaining the first integer sequence; and generating the first initialization parameter based on the first integer sequence and a preset integer indicated by a pre-configured cyclic prefix index identifier.

[0015] Optionally, when the signal type is not a common demodulation reference signal, generating the first initialization parameter based on the second integer sequence includes: when the signal type is not a common demodulation reference signal, obtaining a second integer sequence of a first bit length; truncating a first integer subsequence of a preset bit length from the end of the second integer sequence; and generating the first initialization parameter based on the first integer subsequence, combined with the timing index number and symbol index number of the signal start.

[0016] Optionally, in response to the second instruction, generating the second initialization parameter based on a pre-configured scrambling integer sequence includes: in response to the second instruction, obtaining the scrambling integer sequence; and generating the second initialization parameter based on the scrambling integer sequence and the index number of the data start radio frame.

[0017] Optionally, in response to the second instruction, obtaining the scrambling integer sequence includes: in response to the second instruction, detecting the channel type used for scrambling channel data; if the channel type is a common data channel, determining a first integer sequence indicated by a pre-configured base station node physical layer identifier as the scrambling integer sequence; if the channel type is not the common data channel and is a downlink channel, determining a pre-configured downlink scrambling integer sequence as the scrambling integer sequence; if the channel type is not the common data channel and is an uplink channel, determining a pre-configured uplink scrambling integer sequence as the scrambling integer sequence, wherein the uplink scrambling integer sequence is different from the downlink scrambling integer sequence, and wherein the number of bits in the uplink scrambling integer sequence and the downlink scrambling integer sequence is greater than the number of bits in the first integer sequence.

[0018] Optionally, the method further includes: after detecting the channel type used for scrambling channel data, detecting whether there are pre-configured downlink scrambling integer sequences and uplink scrambling integer sequences; if there are no pre-configured downlink scrambling integer sequences, determining a pre-configured preset scrambling integer sequence as the downlink scrambling integer sequence; if there are no pre-configured uplink scrambling integer sequences, determining the preset scrambling integer sequence as the uplink scrambling integer sequence; if there are no pre-configured downlink scrambling integer sequences and uplink scrambling integer sequences, determining the preset scrambling integer sequence as the scrambling integer sequence.

[0019] According to another aspect of the embodiments of this application, an initialization parameter generation apparatus is also provided, comprising: an acquisition module, configured to acquire generation instructions for initialization parameters required for wireless communication, wherein the generation instructions include: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the scrambling of channel data based on the initialization parameters, wherein the reference signal is pre-agreed upon by the receiving end and the transmitting end of the wireless communication; a first generation module, configured to generate a first initialization parameter based on a pre-configured signal integer sequence in response to the first instruction; and a second generation module, configured to generate a second initialization parameter based on a pre-configured scrambling integer sequence in response to the second instruction, wherein the scrambling integer sequence is different from the signal integer sequence.

[0020] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory and a processor, the processor being configured to run a program stored in the memory, wherein the program executes the above-described method for generating initialization parameters during runtime.

[0021] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps of the above-described method for generating initialization parameters.

[0022] The embodiments described above in this application obtain a first instruction for generating a reference signal and a second instruction for scrambling channel data in wireless communication. Based on pre-configured and different signal integer sequences and scrambling integer sequences, they independently generate a first initialization parameter for generating the reference signal and a second initialization parameter for scrambling channel data. This achieves physical separation of the two parameters at the parameter source, significantly improving the anti-cracking capability and information confidentiality of the wireless communication physical layer. This enhances system security and prevents attackers from cracking the scrambling key by inferring the reference signal parameters. Furthermore, it solves the problem of weak security mechanisms caused by the use of the same initialization parameters for the reference signal and data scrambling in the prior art. Attached Figure Description

[0023] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0024] Figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for generating initialization parameters is shown.

[0025] Figure 2This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 1 ;

[0026] Figure 3 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 2 ;

[0027] Figure 4 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 3 ;

[0028] Figure 5 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 4 ;

[0029] Figure 6 This is a schematic diagram of an initialization parameter generation apparatus according to an embodiment of this application. Detailed Implementation

[0030] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0032] This application enhances the physical layer security of the StarSpark SLB system by introducing a high-layer configurable multi-source identification mechanism, independent uplink and downlink scrambling identification, identification space protection, and a clear priority backoff strategy. This enhances the unpredictability of pseudo-random sequence generation and improves the system's resistance to attacks.

[0033] To address the problems existing in related technologies, embodiments of this application provide a method for generating initialization parameters, which can be run in... Figure 1 The computer terminal shown is explained below.

[0034] The methods and embodiments provided in this application can be executed on mobile terminals, computer terminals, or similar computing devices. Figure 1 A hardware block diagram of a computer terminal (or mobile device) for implementing a method for generating initialization parameters is shown. Figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more processors 102 (shown as 102a, 102b, ..., 102n in the figure) 102 (processor 102 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0035] It should be noted that the aforementioned one or more processors 102 and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be embodied, in whole or in part, in software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be integrated, in whole or in part, into any other element within the computer terminal 10 (or mobile device). As involved in the embodiments of this application, the data processing circuits serve as a processor control mechanism (e.g., selection of a variable resistor termination path connected to an interface).

[0036] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the initialization parameter generation method in this embodiment. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby implementing the aforementioned initialization parameter generation method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0037] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0038] Optionally, the transmission device is primarily used for wireless radio frequency transmission.

[0039] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10 (or mobile device).

[0040] It should be noted here that, in some optional embodiments, the above... Figure 1 The computer terminal shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a specific particular instance, and is intended to illustrate the types of components that may exist in the aforementioned computer terminal.

[0041] In the above operating environment, this application provides an embodiment of a method for generating initialization parameters. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0042] Figure 2 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 1 ,like Figure 2 As shown, the method includes the following steps:

[0043] Step S202: Obtain the generation instructions for the initialization parameters required for wireless communication. The generation instructions include: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the scrambling of channel data based on the initialization parameters. The reference signal is pre-agreed upon by the receiving end and the transmitting end of the wireless communication.

[0044] Step S204: In response to the first instruction, generate the first initialization parameters according to the pre-configured sequence of signal integers;

[0045] Step S206: In response to the second instruction, generate second initialization parameters based on a pre-configured scrambling integer sequence, wherein the scrambling integer sequence is different from the signal integer sequence.

[0046] The embodiments described above in this application obtain a first instruction for generating a reference signal and a second instruction for scrambling channel data in wireless communication. Based on pre-configured and different signal integer sequences and scrambling integer sequences, they independently generate a first initialization parameter for generating the reference signal and a second initialization parameter for scrambling channel data. This achieves physical separation of the two parameters at the parameter source, significantly improving the anti-cracking capability and information confidentiality of the wireless communication physical layer. This enhances system security and prevents attackers from cracking the scrambling key by inferring the reference signal parameters. Furthermore, it solves the problem of weak security mechanisms caused by the use of the same initialization parameters for the reference signal and data scrambling in the prior art.

[0047] The method for generating the initialization parameters described above in this application can be used for generating reference signals for star stroboscopic systems and for scrambling channel data.

[0048] In step S202 above, the reference signal is a signal pre-agreed upon by the transmitting end and the receiving end before communication, and its generation depends on the value of the initialization parameters.

[0049] In step S202 above, the scrambling of the channel data depends on the values ​​of the initialization parameters.

[0050] In the embodiments described above, for the two independent functional paths of reference signal generation and channel data scrambling, it is ensured that the two types of operations are executed according to the initialization parameters specified by their corresponding instructions, thereby achieving a clear separation of generation logic at the system level.

[0051] It should be noted that the reference signal is generated by a pseudo-random QPSK sequence, which is generated based on a pseudo-random sequence, and this pseudo-random sequence depends on the value of the first initial parameter.

[0052] It should be noted that the data channel scrambling relies on a pseudo-random sequence, which is based on the value of the second initial parameter.

[0053] In step S204 above, the signal integer sequence can be indicated by the signal identifier used to generate the reference signal.

[0054] In the above embodiments of this application, in response to a first instruction, the system generates a first initialization parameter based on a pre-configured sequence of signal integers, indicating that the generation of the first initialization parameter directly depends on a predetermined, non-random integer sequence, which is pre-set by the system and used as the input basis for the generation process; the generation action is executed immediately after the first instruction is triggered.

[0055] In step S206 above, the scrambled integer sequence can be indicated by a scrambling identifier used for data scrambling.

[0056] In the above embodiments of this application, in response to the second instruction, the system generates a second initialization parameter based on a pre-configured scrambling integer sequence. The scrambling integer sequence is different from the signal integer sequence. By independently configuring the scrambling integer sequence and the signal integer sequence, the data source of the second initialization parameter is decoupled from that of the first initialization parameter, ensuring that the generated second initialization parameter is different from that of the first initialization parameter. Thus, in the physical layer parameter generation stage, the numerical source of the scrambling mechanism and the signal generation mechanism is isolated.

[0057] It should be noted that, since the scrambling integer sequence is pre-configured as an independent set different from the signal integer sequence, its participation in generating the second initialization parameter directly results in the unpredictability of the parameter being unrelated to the signal integer sequence, thus avoiding the possibility of indirectly deriving the scrambling parameter due to the acquisition of the signal integer sequence.

[0058] As an optional embodiment, the signal integer sequence includes: a first integer sequence indicated by the physical layer identifier of the base station node and a second integer sequence indicated by the dedicated reference signal sequence identifier. In response to the first instruction, generating the first initialization parameter based on the pre-configured signal integer sequence includes: in response to the first instruction, detecting the signal type of the reference signal generated by the first instruction; if the signal type is a common demodulation reference signal, generating the first initialization parameter based on the first integer sequence; if the signal type is not a common demodulation reference signal, generating the first initialization parameter based on the second integer sequence.

[0059] The embodiments described above in this application distinguish the signal integer sequence into a first integer sequence indicated by the physical layer identifier of the base station node and a second integer sequence indicated by the dedicated reference signal sequence identifier. When generating the initialization parameters of the reference signal, a dynamic judgment is made based on the type of the indicated reference signal: when the reference signal belongs to the common demodulation reference signal, the first integer sequence is used to generate the initialization parameters; when the reference signal does not belong to the common demodulation reference signal, the second integer sequence is used to generate the initialization parameters. This achieves physical isolation of the source of initialization parameters for different types of reference signals, avoids the chain reaction affecting the security of the dedicated reference signal due to the compromise of the parameters of the common demodulation reference signal, effectively solves the security coupling risk caused by the sharing of the same or related parameter generation mechanism by various types of reference signals, improves the independence and anti-attack capability of the reference signal and data scrambling mechanism in the wireless communication system, and further enhances the technical effect of strengthening system security protection and preventing attackers from reverse-engineering the scrambling key by inferring the reference signal parameters. Thus, it solves the technical problem of weak security mechanism caused by the use of the same source of initialization parameters for reference signals and data scrambling in the prior art.

[0060] Figure 3 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 2 ,like Figure 3 As shown, when the signal type is a common demodulation reference signal, generating the first initialization parameters based on the first integer sequence includes the following steps:

[0061] Step S302: If the signal type belongs to the common demodulation reference signal, obtain the first integer sequence;

[0062] Step S304: Based on the first integer sequence and the preset integer indicated by the pre-configured cyclic prefix index identifier, generate the first initialization parameters.

[0063] The embodiments described above address the initialization parameter generation process for a common demodulation reference signal. By detecting the reference signal type and confirming it belongs to the common demodulation reference signal, a first integer sequence with a preset number of bits is obtained. This sequence, combined with a preset integer indicated by a pre-configured cyclic prefix index, is used to construct the first initialization parameter. This overcomes the limitation of traditional schemes that rely solely on the base station physical layer identifier to generate a single, predictable parameter. By introducing the dynamic variable of the cyclic prefix index, the structural complexity and randomness of the initialization parameter are significantly improved, effectively enhancing the anti-predictability and anti-attack capability of the physical layer signal. This solves the problem of weak security mechanisms caused by the use of associated initialization parameters for the reference signal and data scrambling. It achieves a dual improvement in the security and robustness of the wireless communication system in the common reference signal scenario, further enhancing system security and preventing attackers from reverse-engineering the scrambling key by inferring reference signal parameters. This addresses the technical problem of weak security mechanisms caused by the use of initialization parameters from the same source for the reference signal and data scrambling in the prior art.

[0064] Optionally, when the common demodulation reference signal belongs to the base station common demodulation reference signal, i.e., the G-link common demodulation reference signal G-DMRS-C, the value of the generated first initialization parameter is: ,in, A preset integer indicating a pre-configured cyclic prefix index identifier. The first integer sequence indicating the physical layer identifier of the base station node.

[0065] The embodiments described above in this application retain the method for initially generating the G-DMRS-C common demodulation reference signal.

[0066] It should be noted that the initialization parameters are 31 bits long, and the first integer sequence indicating the physical layer identifier of the station node is 24 bits long.

[0067] Figure 4 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 3 ,like Figure 4 As shown, when the signal type is not a common demodulation reference signal, generating the first initialization parameters based on the second integer sequence includes the following steps:

[0068] Step S402: If the signal type does not belong to the common demodulation reference signal, obtain the second integer sequence of the first bit length;

[0069] Step S404: Extract a first integer subsequence with a preset number of bits from the end of the second integer sequence;

[0070] Step S406: Based on the first integer subsequence, combined with the timing index number and symbol index number of the signal start, generate the first initialization parameters.

[0071] In the embodiments described above, when the reference signal type is not a common demodulation reference signal, a second integer sequence with a bit length greater than a preset number of bits is obtained, and a first integer subsequence with a preset number of bits is truncated from its end. This avoids the predictability risk caused by directly using the original complete sequence. At the same time, this subsequence is combined with the timing index number and symbol index number at the beginning of the signal to dynamically generate the first initialization parameter. This ensures that the parameter generation process retains the correlation with the second integer sequence and introduces a dynamic change factor in the time and frequency domain, significantly enhancing the randomness and anti-attack capability of the initialization parameter. This effectively solves the security weakness caused by the single initialization parameter generation mechanism in non-common demodulation reference signal scenarios, improves the anti-eavesdropping and anti-replay attack capabilities of physical layer communication, ensures the end-to-end security protection level of the wireless communication system, and further enhances the technical effect of strengthening system security protection and preventing attackers from cracking the scrambling key by inferring the reference signal parameters. It also solves the technical problem of weak security mechanism caused by the use of the same source for initialization parameters in the reference signal and data scrambling in the prior art.

[0072] Optionally, the second integer sequence can be managed by a dedicated reference signal sequence identifier configured by higher-level signaling, wherein the dedicated reference signal sequence identifier is phyIDforRSsequence, which indicates a 24-bit integer sequence.

[0073] It should be noted that the first bit length can be 24 bits, the default bit length is 8 bits, and the first integer subsequence is the lower 8 bits of the second integer sequence.

[0074] Optionally, for a non-common demodulation reference signal, the value of the first initialization parameter is: ,in, As the first initialization parameter, A preset integer indicating a pre-configured cyclic prefix index identifier. It is the first integer subsequence.

[0075] Optionally, if the signal type is not a common demodulation reference signal, and a second integer sequence without a dedicated reference signal sequence identifier is detected, the process falls back to the G-node physical layer identifier. The lower 8 bits, that is, the first integer sequence indicated by the physical layer identifier of the base station node, are not part of the common demodulation reference signal, and the first initialization parameters are generated.

[0076] The above embodiments of this application decouple the reference signal from the initialization parameters used for data scrambling from the identifier source on which the initialization parameters are generated, ensuring that a single identifier leak will not affect other signal types; the higher layers can independently configure the reference signal identifier, support dynamic updates of the sequence, and enhance unpredictability.

[0077] Figure 5 This is a flowchart of a method for generating initialization parameters according to an embodiment of this application. Figure 4 ,like Figure 5 As shown, in response to the second instruction, generating the second initialization parameters based on a pre-configured scrambled integer sequence includes the following steps:

[0078] Step S502: In response to the second instruction, obtain the scrambled integer sequence;

[0079] Step S504: Based on the scrambled integer sequence and the index number of the starting radio frame, generate the second initialization parameters.

[0080] In the embodiments described above, in response to a second instruction for instructing channel data scrambling, a second initialization parameter is generated based on a pre-configured scrambling integer sequence. This parameter is then dynamically modified in conjunction with the index number of the starting radio frame. This ensures that the initial state of the scrambling sequence not only depends on the static scrambling integer sequence but also adjusts in real time according to the temporal changes of the wireless communication frames. This effectively breaks the risk of periodic repetition and predictability of the sequence caused by using only a fixed sequence, thereby significantly improving the randomness and anti-cracking capability of channel data scrambling. It achieves dynamic encryption protection of communication data in the time domain, enhances the overall security and anti-attack resilience of the system, and prevents attackers from cracking the scrambling key by inferring the reference signal parameters. This solves the technical problem of weak security mechanisms caused by the use of the same initialization parameter for the reference signal and data scrambling in the prior art.

[0081] Optionally, the second initialization parameters used for channel data scrambling depend on... The parameters are generated as follows: ,in, For the second initialization parameter, The lower 7 bits of the data start radio frame index number. It is a scrambled integer sequence.

[0082] As an optional embodiment, in response to the second instruction, obtaining the scrambling integer sequence includes: in response to the second instruction, detecting the channel type used for scrambling the channel data; if the channel type is a common data channel, determining the first integer sequence indicated by the pre-configured physical layer identifier of the base station node as the scrambling integer sequence; if the channel type is not a common data channel and is a downlink channel, determining the pre-configured downlink scrambling integer sequence as the scrambling integer sequence; if the channel type is not a common data channel and is an uplink channel, determining the pre-configured uplink scrambling integer sequence as the scrambling integer sequence, wherein the uplink scrambling integer sequence is different from the downlink scrambling integer sequence; wherein the number of bits in the uplink scrambling integer sequence and the downlink scrambling integer sequence is greater than the number of bits in the first integer sequence.

[0083] In the embodiments described above, in response to a second instruction for generating initialization parameters for channel data scrambling, the type of the current channel to be scrambled is detected, distinguishing between a common data channel, a downlink dedicated channel, and an uplink dedicated channel. Based on this, scrambling integer sequences from different sources and with different bit widths are selected: for the common data channel, a first integer sequence guided by the physical layer identifier of the base station node is used; while for the uplink and downlink dedicated channels, pre-configured, mutually different uplink and downlink scrambling integer sequences with higher bit widths are used respectively, thereby achieving structured isolation of scrambling parameters between channel types. Through independent configuration and bit width enhancement of the uplink and downlink scrambling sequences, attackers are effectively prevented from exploiting parameter correlation between uplink and downlink channels. This paper proposes a method to implement cross-link speculation attacks. By increasing the number of bits in the scrambling sequence of the dedicated channel, it significantly enhances the resistance to exhaustive attacks and predictions. This overcomes the shortcomings of traditional schemes where the security strength is insufficient due to the sharing of low-bit-number scrambling parameters between public and dedicated channels. Ultimately, it achieves a differentiated and highly secure initialization parameter generation mechanism for different channel types, comprehensively improving the overall anti-attack capability and security robustness of the data scrambling link in the wireless communication system. It further enhances the system's security protection and prevents attackers from cracking the scrambling key by inferring the reference signal parameters. This solves the problem of weak security mechanisms caused by the use of the same initialization parameters for the reference signal and data scrambling in existing technologies.

[0084] It should be noted that the scrambling of integer sequences can be configured independently for both uplink and downlink data. Specifically:

[0085] Downlink scrambling: Add a 24-bit downlink scrambling integer sequence indicated by phyServidDL in the higher-level configuration. It is used as a scrambling identifier for downlink data.

[0086] Uplink scrambling: Add an uplink scrambling integer sequence (24 bits) to the phyServidUL indicator in the higher-level configuration. It is used as an uplink data scrambling identifier.

[0087] Optionally, for data on public data channels, a first integer sequence indicated by the physical layer identifier of the base station node is retained. Scrambling method.

[0088] In the embodiments described above, the uplink and downlink scrambling identifiers are completely independent, preventing attackers from inferring the uplink scrambling sequence by monitoring the downlink, thus effectively blocking cross-link attacks. The system's higher layers can periodically update the scrambling identifiers to achieve dynamic sequence rotation and resist long-term tracking attacks. For public data transmission before access, the G-node identifier used for construction is retained to ensure system compatibility.

[0089] As an optional embodiment, the method further includes: after detecting the channel type used for scrambling channel data, detecting whether there are pre-configured downlink scrambling integer sequences and uplink scrambling integer sequences; if there are no pre-configured downlink scrambling integer sequences, determining a pre-configured preset scrambling integer sequence as the downlink scrambling integer sequence; if there are no pre-configured uplink scrambling integer sequences, determining a preset scrambling integer sequence as the uplink scrambling integer sequence; if there are no pre-configured downlink scrambling integer sequences and uplink scrambling integer sequences, determining a preset scrambling integer sequence as the scrambling integer sequence.

[0090] In the embodiments described above, after responding to the second instruction for generating channel data scrambling, the channel type corresponding to the current channel data scrambling is first detected, and it is further determined whether there are pre-configured downlink scrambling integer sequences and uplink scrambling integer sequences. When it is detected that the scrambling sequence in either direction is not configured, the preset scrambling integer sequence is automatically assigned to the corresponding direction as a fallback mechanism. This ensures that the system can obtain clear, independent and predefined scrambling parameters regardless of whether the higher layer is explicitly configured. This avoids scrambling failure, uplink / downlink parameter coupling or security mechanism weakening caused by misuse of public identifiers or default values ​​due to missing scrambling sequences. It ensures the complete independence of the reference signal and data scrambling at the initialization parameter level, improves the robustness and security of the wireless communication system in a dynamic configuration environment, and further enhances the technical effect of strengthening system security protection and preventing attackers from cracking the scrambling key by inferring the reference signal parameters. It solves the technical problem of weak security mechanism caused by the use of the same source of initialization parameters for the reference signal and data scrambling in the prior art.

[0091] Optionally, if no dedicated scrambling identifier is configured for the corresponding link direction, the default identifier will be used as a fallback. The preset scrambled integer sequence indicated.

[0092] Optionally, the preset scrambling integer sequence is different from the first integer sequence indicated by the physical layer identifier of the base station node.

[0093] In the embodiments described above in this application, when the higher-layer signaling is specially configured for scrambled integer sequences, it is possible to fall back to the T-node identifier instead of the publicly visible G-node identifier, while still maintaining security.

[0094] As an optional implementation, a priority strategy of "higher-level configuration first, default value fallback" is adopted, specifically:

[0095] If the higher layer is configured with a corresponding identifier, then the configured value (such as the second integer sequence indicated by the dedicated reference signal sequence identifier, the downlink scrambling integer sequence, and the uplink scrambling integer sequence) is used.

[0096] If the higher layer is not configured, it will fall back to the default value (e.g., for the generation of reference signals, it will fall back to the first integer sequence indicated by the physical layer identifier of the base station node, such as the lower 8 bits of G-Phyid; for data scrambling, it will fall back to the preset scrambling integer sequence, such as T-Phyid).

[0097] The above implementation in this application ensures that the network side can dynamically configure the identifier according to security requirements, while terminals that have not been upgraded or scenarios that have not been configured can still work normally, thus achieving a balance between security enhancement and system compatibility.

[0098] Compared with the existing StarSpark SLB protocol, this application has the following advantages:

[0099] In-depth security defense: By decoupling the initialization parameters used for reference signals and data scrambling from the sequence identifiers upon which these initialization parameters depend, and by independently configuring the sequence identifiers used for uplink and downlink scrambling, a multi-layered identifier isolation mechanism is constructed. The leakage of a single identifier only affects the corresponding signal type and link direction, without impacting others, significantly enhancing the security depth of the physical layer. Attackers must simultaneously compromise more than three independent identifiers to gain full control of the physical layer signals, exponentially increasing attack complexity.

[0100] Resistance to cross-link attacks: The independent design of uplink and downlink scrambling identifiers eliminates the correlation between uplink and downlink sequences. Assuming an attacker obtains the downlink scrambling sequence pattern through long-term monitoring, this information is of no help in cracking the uplink scrambling sequence because the uplink and downlink identifiers are completely independent.

[0101] Dynamic security enhancements: Higher layers can independently configure phyIDforRSsequence (such as the second integer sequence indicated by a dedicated reference signal sequence identifier) ​​and phyServidDL / UL (either the downstream scrambling integer sequence or the upstream scrambling integer sequence), supporting on-demand dynamic updates of the initialization parameters required for pseudo-random sequence generation (such as periodic updates or event-triggered updates). Attackers find it difficult to obtain stable sequence patterns through long-term observation, effectively resisting replay attacks, pilot contamination attacks, and long-term tracking attacks.

[0102] Balancing compatibility and security: The "high-level configuration priority, default value rollback" mechanism ensures both the enforceability of security policies and compatibility with unupgraded terminals, avoiding a decrease in system availability due to security enhancements.

[0103] Figure 6 This is a schematic diagram of an initialization parameter generation apparatus according to an embodiment of this application, such as... Figure 6 As shown, it includes: an acquisition module 62, used to acquire generation instructions for initialization parameters required for wireless communication, wherein the generation instructions include: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the scrambling of channel data based on the initialization parameters, wherein the reference signal is pre-agreed upon by the receiving end and the transmitting end of the wireless communication; a first generation module 64, used to generate first initialization parameters based on a pre-configured signal integer sequence in response to the first instruction; and a second generation module 66, used to generate second initialization parameters based on a pre-configured scrambling integer sequence in response to the second instruction, wherein the scrambling integer sequence is different from the signal integer sequence.

[0104] The embodiments described above in this application obtain a first instruction for generating a reference signal and a second instruction for scrambling channel data in wireless communication. Based on pre-configured and different signal integer sequences and scrambling integer sequences, they independently generate a first initialization parameter for generating the reference signal and a second initialization parameter for scrambling channel data. This achieves physical separation of the two parameters at the parameter source, significantly improving the anti-cracking capability and information confidentiality of the wireless communication physical layer. This enhances system security and prevents attackers from cracking the scrambling key by inferring the reference signal parameters. Furthermore, it solves the problem of weak security mechanisms caused by the use of the same initialization parameters for the reference signal and data scrambling in the prior art.

[0105] It should be noted that the device for generating initialization parameters can be used to execute the method for generating initialization parameters in the embodiments of the present invention. Therefore, the relevant explanations in the above method for generating initialization parameters also apply to the device for generating initialization parameters, and will not be repeated here.

[0106] It should be noted that each module in the above-mentioned initialization parameter generation device can be a program module (for example, a set of program instructions that implement a certain function) or a hardware module. For the latter, it can be expressed in the following forms, but is not limited to them: each of the above modules is expressed as a processor, or the functions of each of the above modules are implemented by a processor.

[0107] As an optional embodiment, the signal integer sequence includes: a first integer sequence indicated by the physical layer identifier of the base station node and a second integer sequence indicated by the dedicated reference signal sequence identifier. The first generation module includes: a detection unit, configured to detect the signal type of the reference signal indicated by the first instruction in response to a first instruction; a first generation unit, configured to generate first initialization parameters based on the first integer sequence when the signal type belongs to a common demodulation reference signal; and a second generation unit, configured to generate first initialization parameters based on the second integer sequence when the signal type does not belong to a common demodulation reference signal.

[0108] As an optional embodiment, the first generation unit includes: a first acquisition subunit, configured to acquire a first integer sequence when the signal type belongs to a common demodulation reference signal; and a first generation subunit, configured to generate first initialization parameters based on the first integer sequence and a preset integer indicated by a pre-configured cyclic prefix index identifier.

[0109] As an optional embodiment, the second generation unit includes: a second acquisition subunit, used to acquire a second integer sequence of first bit lengths when the signal type does not belong to the common demodulation reference signal; a truncation subunit, used to truncate a first integer subsequence of preset bit lengths from the end of the second integer sequence; and a second generation subunit, used to generate first initialization parameters based on the first integer subsequence, combined with the timing index number and symbol index number of the signal start.

[0110] As an optional embodiment, the second generation module includes: an acquisition unit, configured to acquire a scrambling integer sequence in response to a second instruction; and a third generation unit, configured to generate second initialization parameters based on the scrambling integer sequence and in conjunction with the index number of the data start radio frame.

[0111] As an optional embodiment, the acquisition unit includes: a first detection subunit, configured to detect the channel type used for channel data scrambling in response to a second instruction; a first determination submodule, configured to determine a first integer sequence indicated by a pre-configured base station node physical layer identifier as a scrambling integer sequence when the channel type is a common data channel; a second determination submodule, configured to determine a pre-configured downlink scrambling integer sequence as a scrambling integer sequence when the channel type is not a common data channel and is a downlink channel; and a third determination submodule, configured to determine a pre-configured uplink scrambling integer sequence as a scrambling integer sequence when the channel type is not a common data channel and is an uplink channel, wherein the uplink scrambling integer sequence is different from the downlink scrambling integer sequence; wherein the number of bits in the uplink scrambling integer sequence and the downlink scrambling integer sequence is greater than the number of bits in the first integer sequence.

[0112] As an optional embodiment, the apparatus further includes: a second detection subunit, configured to detect whether a pre-configured downlink scrambling integer sequence and an uplink scrambling integer sequence exist after detecting the channel type used for channel data scrambling; a fourth determination submodule, configured to determine a pre-configured preset scrambling integer sequence as a downlink scrambling integer sequence if no pre-configured downlink scrambling integer sequence exists; a fifth determination submodule, configured to determine a preset scrambling integer sequence as an uplink scrambling integer sequence if no pre-configured uplink scrambling integer sequence exists; and a sixth determination submodule, configured to determine a preset scrambling integer sequence as a scrambling integer sequence if no pre-configured downlink scrambling integer sequence and uplink scrambling integer sequence exist.

[0113] This application also provides an electronic device, which includes a memory and a processor. The memory is used to store program instructions, and the processor is connected to the memory and is used to execute the steps of generating initialization parameters in various embodiments of this application.

[0114] This application also provides a non-volatile storage medium, which includes a stored computer program, wherein the device containing the non-volatile storage medium executes the steps of the initialization parameter generation method in various embodiments of this application by running the computer program.

[0115] This application also provides a computer program product, including computer instructions that, when executed by a processor, implement the steps of the initialization parameter generation method in various embodiments of this application.

[0116] This application also provides a computer program that, when executed by a processor, implements the steps of the initialization parameter generation method in various embodiments of this application.

[0117] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0118] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0119] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0120] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0121] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0122] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to related technologies, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0123] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for generating initialization parameters in a star-flash wireless communication system, characterized in that, include: A generation instruction for obtaining initialization parameters required for wireless communication, wherein the generation instruction includes: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the scrambling of channel data based on the initialization parameters, wherein the reference signal is pre-agreed upon by the receiving end and the transmitting end of the wireless communication; In response to the first instruction, first initialization parameters are generated based on a pre-configured sequence of signal integers; In response to the second instruction, a second initialization parameter is generated based on a pre-configured scrambling integer sequence, wherein the scrambling integer sequence is different from the signal integer sequence.

2. The method according to claim 1, characterized in that, The signal integer sequence includes: a first integer sequence indicated by the physical layer identifier of the base station node and a second integer sequence indicated by the dedicated reference signal sequence identifier. In response to the first instruction, the generation of first initialization parameters based on the pre-configured signal integer sequence includes: In response to the first instruction, the signal type of the reference signal generated as indicated by the first instruction is detected; When the signal type is a common demodulation reference signal, the first initialization parameters are generated based on the first integer sequence. If the signal type is not a common demodulation reference signal, the first initialization parameters are generated based on the second integer sequence.

3. The method according to claim 2, characterized in that, When the signal type is a common demodulation reference signal, generating the first initialization parameters based on the first integer sequence includes: If the signal type belongs to a common demodulation reference signal, the first integer sequence is obtained; Based on the first integer sequence and the preset integer indicated by the pre-configured cyclic prefix index identifier, the first initialization parameter is generated.

4. The method according to claim 2, characterized in that, When the signal type is not a common demodulation reference signal, generating the first initialization parameters based on the second integer sequence includes: If the signal type does not belong to the common demodulation reference signal, obtain the second integer sequence of the first bit length; Extract a first integer subsequence with a preset number of bits from the end of the second integer sequence; Based on the first integer subsequence, combined with the timing index number and symbol index number of the signal start, the first initialization parameters are generated.

5. The method according to claim 1, characterized in that, In response to the second instruction, the second initialization parameters are generated based on a pre-configured scrambling integer sequence, including: In response to the second instruction, the scrambled integer sequence is obtained; Based on the scrambled integer sequence and the index number of the starting radio frame, the second initialization parameters are generated.

6. The method according to claim 5, characterized in that, In response to the second instruction, obtaining the scrambled integer sequence includes: In response to the second instruction, the channel type used for scrambling channel data is detected; When the channel type is a public data channel, the first integer sequence indicated by the pre-configured base station node physical layer identifier is determined as the scrambling integer sequence; If the channel type is not the common data channel and is a downlink channel, the pre-configured downlink scrambling integer sequence will be determined as the scrambling integer sequence. If the channel type is not the common data channel and is an uplink channel, a pre-configured uplink scrambling integer sequence is determined as the scrambling integer sequence, wherein the uplink scrambling integer sequence is different from the downlink scrambling integer sequence. The number of bits in the uplink scrambled integer sequence and the downlink scrambled integer sequence is greater than the number of bits in the first integer sequence.

7. The method according to claim 6, characterized in that, The method further includes: After detecting the channel type used for channel data scrambling, it is then detected whether the pre-configured downlink scrambling integer sequence and the uplink scrambling integer sequence exist. In the absence of a pre-configured downlink scrambling integer sequence, the pre-configured preset scrambling integer sequence is determined as the downlink scrambling integer sequence; In the absence of a pre-configured uplink scrambling integer sequence, the preset scrambling integer sequence is determined as the uplink scrambling integer sequence; In the absence of the pre-configured downlink scrambling integer sequence and the uplink scrambling integer sequence, the preset scrambling integer sequence is determined as the scrambling integer sequence.

8. A device for generating initialization parameters in a star-flash wireless communication system, characterized in that, include: The acquisition module is used to acquire the generation instructions for the initialization parameters required for wireless communication. The generation instructions include: a first instruction for instructing the generation of a reference signal based on the initialization parameters, and a second instruction for instructing the scrambling of channel data based on the initialization parameters. The reference signal is pre-agreed upon by the receiving end and the transmitting end of the wireless communication. The first generation module is used to generate first initialization parameters in response to the first instruction, based on a pre-configured sequence of signal integers. The second generation module is used to generate second initialization parameters in response to the second instruction, based on a pre-configured scrambling integer sequence, wherein the scrambling integer sequence is different from the signal integer sequence.

9. An electronic device, characterized in that, include: A memory and a processor, the processor being configured to run a program stored in the memory, wherein the program, when running, executes a method for generating initialization parameters in a star-flash wireless communication system according to any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for generating initialization parameters in the starlight wireless communication system according to any one of claims 1 to 7.