Channel key generation method, device, electronic device and storage medium
By generating a two-dimensional joint quantization value sequence based on the Rayleigh channel amplitude distribution table and phase random distribution, the problems of low channel key generation rate and insufficient security are solved, and efficient generation and security enhancement of channel keys are achieved.
Patent Information
- Application Number
- CN202411279797.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In the existing technology, the channel key generation rate is low and the security strength is insufficient, mainly due to the correlation between channel state information and the mismatch between entropy estimation algorithms.
The amplitude sequence is obtained by combining the channel amplitude maximum value and the Rayleigh channel amplitude distribution table, and the phase sequence is obtained by combining the random distribution of the phase. The mapping relationship between the amplitude quantization level and the phase quantization level is used to generate a two-dimensional joint quantization value sequence, and the final two-dimensional joint quantization value and level are determined through minimum entropy evaluation to generate the channel key.
The generation rate and security of the channel key are improved, the maximum utilization of the channel state information is achieved, and the accuracy and security of the channel key are enhanced.
Smart Images

Figure CN119109580B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a method, device, electronic device and storage medium for generating a channel key. Background Art
[0002] Due to the reciprocity of uplink and downlink channels, the communicating parties (i.e., the first device and the second device) can generate symmetric channel keys by extracting channel state information from both the uplink and downlink channels. However, due to the correlation between the channel state information, the generated channel keys will also be correlated, thus reducing the security strength of the channel keys.
[0003] The correlation between channel state information and channel keys is primarily removed and measured through decorrelation processing and entropy estimation algorithms. However, existing channel key entropy estimation algorithms do not work well with channel state information. Furthermore, the loss of entropy during channel key generation results in a low key generation rate. Summary of the Invention
[0004] The present invention provides a method, device, electronic device and storage medium for generating a channel key, which are used to solve the defect of low generation rate of the channel key in the prior art and improve the generation rate of the channel key.
[0005] The present invention provides a channel key generation method, comprising the following steps: obtaining at least one amplitude quantization value sequence of a channel amplitude sequence at at least one amplitude quantization level based on a channel amplitude maximum value and a Rayleigh channel amplitude distribution table, wherein the Rayleigh channel amplitude distribution table includes a mapping relationship between amplitude quantization levels and matching amplitude quantization values; obtaining at least one phase quantization value sequence of a channel phase sequence at at least one phase quantization level based on a random distribution of phases, wherein the amplitude sequence and the phase sequence have a one-to-one correspondence; obtaining at least one two-dimensional joint quantization value sequence of an amplitude quantization value sequence and a phase quantization value sequence based on a mapping relationship between the amplitude quantization level and the phase quantization level; performing minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain an entropy value of the two-dimensional joint quantization value sequence, and determining a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value; and generating a channel key of the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and first frequency domain channel state information of the channel.
[0006] According to the channel key generation method provided by the present invention, the amplitude quantization value sequence includes multiple amplitude quantization values, the phase quantization value sequence includes multiple phase quantization values, the amplitude quantization values and the phase quantization values have a one-to-one correspondence, and at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence is obtained based on the mapping relationship between the amplitude quantization level and the phase quantization level. The method includes: obtaining at least one two-dimensional joint mapping relationship in which a matching amplitude quantization value of the amplitude quantization level and a matching phase quantization value of the phase quantization level are jointly matched to a matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, where A is the product value of the amplitude quantization level and the corresponding phase quantization level; for each two-dimensional joint mapping relationship, obtaining a matching two-dimensional joint quantization value of each amplitude quantization value and the corresponding phase quantization value to obtain at least one two-dimensional joint quantization value sequence.
[0007] According to the channel key generation method provided by the present invention, at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level is obtained based on the channel amplitude maximum value and the Rayleigh channel amplitude distribution table, including: obtaining an amplitude ratio based on the ratio of each amplitude value in the amplitude sequence to the amplitude maximum value; obtaining at least one matching amplitude quantization value and a matching ratio interval for each amplitude quantization level from the Rayleigh channel amplitude distribution table, the matching ratio interval representing the range of amplitude ratios corresponding to the matching amplitude quantization value; at each amplitude quantization level, based on the matching result of the amplitude ratio and the matching ratio interval, quantizing each amplitude value into a matching amplitude quantization value to obtain at least one amplitude quantization value sequence.
[0008] According to the channel key generation method provided by the present invention, at least one phase quantization value sequence of the phase sequence of the channel at at least one phase quantization level is obtained based on the random distribution of the phase, including: obtaining at least one matching phase quantization value and phase stage interval for each phase quantization level based on the random distribution, the phase stage interval representing the phase value range corresponding to the matching phase quantization value; at each phase quantization level, based on the matching result of the phase value and the phase stage interval in the phase sequence, quantizing each phase value into a matching phase quantization value to obtain at least one phase quantization value sequence.
[0009] According to the channel key generation method provided by the present invention, a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel are determined based on the entropy value, including: determining a comparison value of the entropy value based on the two-dimensional joint quantization level corresponding to the entropy value and the entropy value, the two-dimensional joint quantization level including the amplitude quantization level and the corresponding phase quantization level; using the two-dimensional joint quantization level corresponding to the maximum comparison value as the final two-dimensional joint quantization level; and using the two-dimensional joint quantization value sequence corresponding to the maximum comparison value as the final two-dimensional joint quantization value sequence.
[0010] According to the channel key generation method provided by the present invention, the amplitude maximum value, amplitude sequence and phase sequence are determined based on the following steps: performing channel evaluation on the received signal to obtain second frequency domain channel state information; performing smoothing filtering and zero-meaning processing on the real part of the second frequency domain channel state information and the imaginary part of the second frequency domain channel state information, respectively, to obtain the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information; and obtaining the amplitude sequence, phase sequence and amplitude maximum value based on the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information.
[0011] According to the channel key generation method provided by the present invention, the channel key of the channel is generated based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level and the first frequency domain channel state information of the channel, including: generating the initial channel key of the channel based on the final two-dimensional joint quantization level and the first frequency domain channel state information; generating harmonic error correction information based on the final two-dimensional joint quantization value sequence, correcting the initial channel key based on the harmonic error correction information, and obtaining information leakage during the error correction process; and amplifying the privacy of the initial channel key based on the entropy value of the final two-dimensional joint quantization value sequence and the information leakage during the error correction process to obtain a single-bit full entropy channel key.
[0012] The present invention also provides a channel key generation device, comprising: an amplitude quantization module, for obtaining at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the maximum amplitude of the channel and a Rayleigh channel amplitude distribution table, the Rayleigh channel amplitude distribution table including a mapping relationship between amplitude quantization levels and matching amplitude quantization values, the Rayleigh channel amplitude distribution table being set based on the Rayleigh distribution of the amplitude value; a phase quantization module, for obtaining at least one phase quantization value sequence of the channel phase sequence at at least one phase quantization level based on a random distribution of phases, the amplitude sequence and the phase sequence having a one-to-one correspondence; a two-dimensional joint quantization module, for obtaining at least one two-dimensional joint quantization value sequence of an amplitude quantization value sequence and a phase quantization value sequence based on a mapping relationship between the amplitude quantization level and the phase quantization level; a determination module, for performing minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain an entropy value of the two-dimensional joint quantization value sequence, and determining a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value; and a channel key generation module, for generating a channel key of the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and first frequency domain channel state information of the channel.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any of the above-mentioned methods for generating a channel key is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which implements any of the above-mentioned methods for generating a channel key when executed by a processor.
[0015] The channel key generation method, device, electronic device, and storage medium provided by the present invention obtain an amplitude quantization value sequence through a preset Rayleigh channel amplitude distribution table, thereby improving the accuracy of amplitude value quantization. Based on the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, which utilizes both the amplitude sequence and the phase sequence of the channel, thereby maximizing the utilization of the frequency domain state information of the channel. The final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level are determined through minimum entropy evaluation and two-dimensional joint quantization level, fully utilizing the amplitude quantization level, phase quantization level, amplitude sequence, and phase sequence, thereby improving the accuracy of determining the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level, thereby improving the generation rate and security of the channel key. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1 It is a flow chart of the method for generating a channel key provided by the present invention.
[0018] Figure 2 This is a curve diagram showing the relationship between the amplitude ratio and the quantization level under the Rayleigh distribution provided by the present invention.
[0019] Figure 3 This is one of the schematic diagrams of matching two-dimensional joint quantization values provided by the present invention.
[0020] Figure 4 This is the second schematic diagram of matching two-dimensional joint quantization values provided by the present invention.
[0021] Figure 5 It is a structural diagram of the channel key generation device provided by the present invention.
[0022] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0024] The following combination Figures 1-6 The present invention describes a method, device and electronic device for generating a channel key.
[0025] Figure 1 It is a flow chart of the method for generating a channel key provided by the present invention, such as Figure 1 As shown, a method for generating a channel key includes steps S100 to S500, and each step is specifically described as follows.
[0026] S100: Acquire at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the channel amplitude maximum value and a Rayleigh channel amplitude distribution table.
[0027] The Rayleigh channel amplitude distribution table is pre-set according to the Rayleigh distribution law of the channel amplitude value (amplitude ratio). The Rayleigh distribution law is as follows: Figure 2 As shown. Figure 2 It can be seen that the amplitude quantization under the Rayleigh distribution is more uniform than traditional amplitude quantization. The Rayleigh channel amplitude distribution table includes a mapping between ratio intervals, amplitude quantization levels, and matching amplitude quantization values. Table 1 shows the Rayleigh channel amplitude distribution table. The ratio interval is the range of amplitude ratios corresponding to the amplitude quantization values at the amplitude quantization levels.
[0028] Table 1 Rayleigh channel amplitude distribution
[0029]
[0030] Acquire first frequency-domain channel state information of the channel to obtain an amplitude sequence and a maximum amplitude value of the channel. Select at least one amplitude quantization level, where the amplitude quantization level represents the number of matching amplitude quantization values when the amplitude values in the amplitude sequence are discretized into matching amplitude quantization values. For example, an amplitude quantization level of 2 indicates that the number of matching amplitude quantization values corresponding to the amplitude quantization level is 2.
[0031] At each amplitude quantization level, the amplitude quantization value corresponding to each amplitude value is obtained according to the Rayleigh channel amplitude distribution table to obtain an amplitude quantization value sequence.
[0032] S200: Acquire at least one phase quantization value sequence of a phase sequence of a channel at at least one phase quantization level based on a random distribution of phases, where the amplitude sequence and the phase sequence correspond one to one.
[0033] At least one phase quantization level is selected. The phase quantization level represents the number of matching phase quantization values when the phase values in the phase sequence are discretized into matching phase quantization values. For example, a phase quantization level of 4 indicates that the number of matching phase quantization values corresponding to the phase quantization level is 4.
[0034] For each phase quantization level, a phase quantization value corresponding to each phase value is obtained according to random distribution to obtain a phase quantization value sequence.
[0035] S300: Acquire at least one two-dimensional joint quantization value sequence of an amplitude quantization value sequence and a phase quantization value sequence based on a mapping relationship between an amplitude quantization level and a phase quantization level.
[0036] According to a mapping relationship between amplitude quantization levels and phase quantization levels, the amplitude quantization value and the corresponding phase quantization value are mapped to matching two-dimensional joint quantization values. All matching two-dimensional joint quantization values of the amplitude quantization value sequence and the phase quantization value sequence are obtained to obtain a two-dimensional joint quantization value sequence.
[0037] According to various mapping relationships between amplitude quantization levels and phase quantization levels, various two-dimensional joint quantization value sequences are obtained.
[0038] S400: performing minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain an entropy value of the two-dimensional joint quantization value sequence, and determining a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value.
[0039] Perform minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain the entropy value of the two-dimensional joint quantization value sequence. For example, perform minimum entropy evaluation on the two-dimensional joint quantization value sequence {4, 1, 6, 2} with two-dimensional joint quantization level (2, 4) to obtain the entropy value h of the two-dimensional joint quantization value sequence {4, 1, 6, 2} 2,4 The minimum entropy evaluation is performed on the two-dimensional joint quantization value sequence {4, 1, 10, 2} with the two-dimensional joint quantization level (3, 4), and the entropy value h of the two-dimensional joint quantization value sequence {4, 1, 10, 2} is obtained. 3,4 .
[0040] The entropy values are calculated to obtain a comparison value of the two-dimensional joint quantization value sequence. The comparison value represents the amount of information in the two-dimensional joint quantization value sequence. The two-dimensional joint quantization value sequence with the largest comparison value is selected as the final two-dimensional joint quantization value sequence. The final two-dimensional joint quantization level is obtained based on the final two-dimensional joint quantization value sequence.
[0041] S500: Generate a channel key of a channel based on a final two-dimensional joint quantization value sequence, a final two-dimensional joint quantization level, and first frequency-domain channel state information of the channel.
[0042] During uplink and downlink communications, after a first communications device (receiver or transmitter) obtains a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level, the first communications device generates channel coding information based on the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level. The first communications device transmits the channel coding information to a second communications device via a public channel.
[0043] The second communication device decodes the channel coding information, generates an initial channel key of the channel according to the decoding result, and performs error correction on the initial channel key according to the decoding result.
[0044] The channel key with single-bit full entropy is determined according to the entropy value of the final two-dimensional joint quantization value sequence and the information leakage during the error correction process.
[0045] The channel key generation method provided by the present invention obtains an amplitude quantization value sequence through a preset Rayleigh channel amplitude distribution table, thereby improving the accuracy of amplitude value quantization. Based on the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, which utilizes both the channel amplitude sequence and the channel phase sequence, thereby maximizing the utilization of the channel's frequency domain state information. The final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level are determined through minimum entropy evaluation and two-dimensional joint quantization level, fully utilizing the amplitude quantization level, phase quantization level, amplitude sequence, and phase sequence, thereby improving the accuracy of determining the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level, thereby improving the generation rate and security of the channel key.
[0046] Based on the above embodiment, the amplitude quantization value sequence includes multiple amplitude quantization values, the phase quantization value sequence includes multiple phase quantization values, the amplitude quantization values and the phase quantization values correspond to each other one-to-one, and at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence is obtained based on the mapping relationship between the amplitude quantization level and the phase quantization level, including steps S310 to S320, and each step is specifically as follows.
[0047] S310: Obtain at least one two-dimensional joint mapping relationship in which a matching amplitude quantization value of an amplitude quantization level and a matching phase quantization value of a phase quantization level are jointly matched to a matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, where A is the product value of the amplitude quantization level and the corresponding phase quantization level.
[0048] S320: For each two-dimensional joint mapping relationship, obtain a matching two-dimensional joint quantization value of each amplitude quantization value and the corresponding phase quantization value to obtain at least one two-dimensional joint quantization value sequence.
[0049] Based on the mapping relationship between the amplitude quantization level and the phase quantization level, at least one two-dimensional joint mapping relationship between the matching amplitude quantization value of the amplitude quantization level, the matching phase quantization value of the phase quantization level, and the matching two-dimensional joint quantization value is obtained. The matching two-dimensional joint quantization value is an integer between 0 and A-1, where A is the product of the amplitude quantization level and the corresponding phase quantization level. For example, when the amplitude quantization level is 2 and the phase quantization level is 4, the matching two-dimensional joint quantization value is an integer between 0 and 7 (2×4-1). The two-dimensional joint mapping relationship is shown in Table 2 and Figure 3 shown.
[0050] Table 2 Two-dimensional joint mapping relationship when the amplitude quantization level is 2 and the phase quantization level is 4
[0051]
[0052] For each two-dimensional joint mapping relationship, obtain a two-dimensional joint quantization value for each amplitude quantization value and its corresponding phase quantization value to obtain at least one two-dimensional joint quantization value sequence. For example, if the amplitude quantization level is 2 and the phase quantization level is 4, the amplitude quantization value sequence is {1, 0, 1, 0}, and the phase quantization value sequence is {0, 1, 2, 2}, with a one-to-one correspondence between the amplitude quantization values in the amplitude quantization value sequence and the phase quantization values in the same position in the phase quantization value sequence. Based on the two-dimensional joint mapping relationship with the amplitude quantization level of 2 and the phase quantization level of 4, obtain a matching two-dimensional joint quantization value 4 for the amplitude quantization value 1 and its corresponding phase quantization value 0. Obtain a matching two-dimensional joint quantization value 1 for the amplitude quantization value 0 and its corresponding phase quantization value 1. Obtain a matching two-dimensional joint quantization value 6 for the amplitude quantization value 1 and its corresponding phase quantization value 2. Obtain a matching two-dimensional joint quantization value 2 for the amplitude quantization value 0 and its corresponding phase quantization value 2. The matching two-dimensional joint quantization values 4, 1, 6, and 2 form the two-dimensional joint quantization value sequence {4, 1, 6, 2}.
[0053] For example, when the amplitude quantization level is 3 and the phase quantization level is 4, the matching two-dimensional joint quantization value is an integer between 0 and 11 (3×4-1). The two-dimensional joint mapping relationship is shown in Table 3 and Figure 5 shown.
[0054] Table 3 Two-dimensional joint mapping relationship when the amplitude quantization level is 3 and the phase quantization level is 4
[0055]
[0056] For example, the amplitude quantization level is 3, the phase quantization level is 4, the amplitude quantization value sequence is {1, 0, 2, 0}, and the phase quantization value sequence is {0, 1, 2, 2}. Based on the two-dimensional joint mapping relationship for the amplitude quantization level 3 and the phase quantization level 4, a matching two-dimensional joint quantization value 4 is obtained for the amplitude quantization value 1 and the corresponding phase quantization value 0. A matching two-dimensional joint quantization value 1 is obtained for the amplitude quantization value 0 and the corresponding phase quantization value 1. A matching two-dimensional joint quantization value 10 is obtained for the amplitude quantization value 2 and the corresponding phase quantization value 2. A matching two-dimensional joint quantization value 2 is obtained for the amplitude quantization value 0 and the corresponding phase quantization value 2. The matching two-dimensional joint quantization values 4, 1, 10, and 2 form the two-dimensional joint quantization value sequence {4, 1, 10, 2}.
[0057] The present invention determines a two-dimensional joint quantization value sequence based on a two-dimensional joint mapping relationship, utilizes both the amplitude sequence and the phase sequence of the channel, and achieves maximum utilization of the channel state information, which is beneficial to the accuracy of the subsequent determination of the entropy value of the two-dimensional joint quantization value sequence, and further helps to improve the generation rate and security of the channel key.
[0058] Based on the above embodiment, obtaining at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the channel amplitude maximum value and the Rayleigh channel amplitude distribution table includes steps S110 to S130, and each step is specifically as follows.
[0059] S110: Obtain an amplitude ratio based on the ratio of each amplitude value in the amplitude sequence to the maximum amplitude value.
[0060] S120: Obtain at least one matching amplitude quantization value and a matching ratio interval for each amplitude quantization level from the Rayleigh channel amplitude distribution table, where the matching ratio interval represents a range of amplitude ratios corresponding to the matching amplitude quantization value.
[0061] S130: At each amplitude quantization level, based on the matching result of the amplitude ratio and the matching ratio interval, quantize each amplitude value into a matching amplitude quantization value to obtain at least one amplitude quantization value sequence.
[0062] Obtain the ratio of each amplitude value to the maximum amplitude value to obtain an amplitude ratio, and then obtain an amplitude ratio sequence. For example, the amplitude ratio sequence is {0.5, 0.1, 0.8, 0.3}. Obtain at least one matching amplitude quantization value and matching ratio interval for each amplitude quantization level from the Rayleigh channel amplitude distribution table. Obtain a matching amplitude quantization value sequence {0, 1} (including matching amplitude quantization value 0 and matching amplitude quantization value 1) for amplitude quantization level 2 according to the Rayleigh channel amplitude distribution table. Obtain a matching ratio interval for each matching amplitude quantization value. For example, the matching ratio interval for matching amplitude quantization value 0 is (0, 0.48], and the matching ratio interval for matching amplitude quantization value 1 is (0.48, +∞).
[0063] The quantization formula of the amplitude value corresponding to the amplitude quantization level 2 is as follows.
[0064] ;
[0065] in, is the first Amplitude values, is the maximum amplitude of the amplitude sequence, 0 and 1 are matching amplitude quantization values, Amplitude value The amplitude quantization value of .
[0066] The quantization formula of the amplitude value corresponding to the amplitude quantization level 3 is as follows.
[0067] ;
[0068] in, is the first Amplitude values, is the maximum amplitude of the amplitude sequence, 0, 1 and 2 are matching amplitude quantization values, Amplitude value The amplitude quantization value of .
[0069] When the amplitude quantization level is 2, each amplitude value is mapped to a matching amplitude quantization value according to the matching result of each amplitude ratio and the matching ratio interval. For example, the amplitude value with an amplitude ratio of 0.5 is mapped to 1, the amplitude value with an amplitude ratio of 0.1 is mapped to 0, and so on, to obtain the amplitude quantization value sequence {1, 0, 1, 0}.
[0070] The present invention obtains a Rayleigh channel amplitude distribution table based on the Rayleigh distribution of amplitude values, which is beneficial for accurately describing the amplitude value division during signal attenuation, thereby achieving accurate quantization of the amplitude values. The present invention also facilitates the subsequent calculation of the entropy value of the two-dimensional joint quantization value sequence by quantizing the amplitude values into integer matching amplitude quantization values.
[0071] Based on the above embodiment, obtaining at least one phase quantization value sequence of a channel phase sequence at at least one phase quantization level based on a random distribution of phases includes steps S210 to S220 , and each step is specifically as follows.
[0072] S210: Acquire at least one matching phase quantization value and phase stage interval for each phase quantization level based on random distribution, where the phase stage interval represents a phase value range corresponding to the matching phase quantization value.
[0073] S220: At each phase quantization level, based on the matching results of the phase values and phase stage intervals in the phase sequence, quantize each phase value into a matching phase quantization value to obtain at least one phase quantization value sequence.
[0074] At least one matching phase quantization value and phase stage interval are obtained for each phase quantization level according to random distribution. Each phase value is mapped to a matching phase quantization value according to a matching result between the phase value and the phase stage interval.
[0075] The quantization formula of the phase value corresponding to the phase quantization level of 4 is as follows.
[0076] ;
[0077] in, The first phase in the sequence Phase values, 、 、 and is the phase stage interval, 0, 1, 2 and 3 are the matching phase quantization values, for The phase quantization value of .
[0078] Obtain the phase sequence corresponding to the amplitude sequence, for example, the phase sequence is {10°, 90°, 180°, 185°}. When the phase quantization level is 4, each phase value is mapped to a matching phase quantization value based on the matching result between each phase value and the phase step interval. For example, a phase value of 10° is mapped to 0, a phase value of 90° is mapped to 1, a phase value of 180° is mapped to 2, and a phase value of 185° is mapped to 2. The resulting phase quantization value sequence is {0, 1, 2, 2}.
[0079] Since the amplitude sequence and the phase sequence are in a one-to-one correspondence, the amplitude quantization value sequence and the phase quantization value sequence are also in a one-to-one correspondence.
[0080] The present invention facilitates the subsequent calculation of the entropy value of the two-dimensional joint quantization value sequence by quantizing the phase value into an integer matching phase quantization value.
[0081] Based on the above embodiment, the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level of the channel are determined based on the entropy value, including steps S410 to S420, and the details are as follows.
[0082] S410: Determine a comparison value of the entropy value based on a two-dimensional joint quantization level corresponding to the entropy value and the entropy value, where the two-dimensional joint quantization level includes an amplitude quantization level and a corresponding phase quantization level.
[0083] S420: taking the two-dimensional joint quantization level corresponding to the maximum comparison value as the final two-dimensional joint quantization level; taking the two-dimensional joint quantization value sequence corresponding to the maximum comparison value as the final two-dimensional joint quantization value sequence.
[0084] A two-dimensional joint quantization level consists of an amplitude quantization level and a corresponding phase quantization level. For example, an amplitude quantization level of 2 and a phase quantization level of 4 form a two-dimensional joint quantization level of (2, 4). An amplitude quantization level of 3 and a phase quantization level of 4 form a two-dimensional joint quantization level of (3, 4).
[0085] The entropy value comparison value is determined based on the two-dimensional joint quantization level and the entropy value corresponding to the entropy value. The calculation formula of the comparison value is as follows.
[0086] ;
[0087] in, is the two-dimensional joint quantization level ( , ), The amplitude quantization level is and the phase quantization level is The entropy value of the two-dimensional joint quantization value sequence, is the amplitude quantization level, is the phase quantization level.
[0088] Obtain the entropy value of all two-dimensional joint quantization value sequences. Calculate the comparison value of each entropy value based on the entropy value and the two-dimensional joint quantization level corresponding to the entropy value. The two-dimensional joint quantization level corresponding to the maximum comparison value is used as the final two-dimensional joint quantization level; the two-dimensional joint quantization value sequence corresponding to the maximum comparison value is used as the final two-dimensional joint quantization value sequence. For example, after calculating , the two-dimensional joint quantization level (2, 4) is used as the final two-dimensional joint quantization level, and the two-dimensional joint quantization value sequence {4, 1, 6, 2} is used as the final two-dimensional joint quantization value sequence.
[0089] The present invention calculates the comparison value of the entropy value based on the two-dimensional joint quantization level, comprehensively considers the influence of the amplitude quantization level and the phase quantization level on the entropy value, improves the accuracy of determining the comparison value, and further improves the accuracy of determining the final two-dimensional joint quantization level and the final two-dimensional joint quantization value sequence.
[0090] Based on the above embodiment, the amplitude maximum value, the amplitude sequence, and the phase sequence are determined based on steps S140 to S160 , and each step is specifically as follows.
[0091] S140: Perform channel estimation on the received signal to obtain second frequency domain channel state information.
[0092] S150: Perform smoothing filtering and zero-meaning processing on the real part of the second frequency-domain channel state information and the imaginary part of the second frequency-domain channel state information, respectively, to obtain the real part of the third frequency-domain channel state information and the imaginary part of the third frequency-domain channel state information.
[0093] S160: Acquire an amplitude sequence, a phase sequence, and an amplitude maximum value based on the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information.
[0094] A received signal is obtained. For example, a first communications device receives a signal sent by a second communications device to obtain a received signal. Channel estimation is performed on the received signal to generate second frequency-domain channel state information of length N. A real part of the second frequency-domain channel state information is smoothed and zero-mean processed to generate a real part of a smoothed and zero-mean third frequency-domain channel state information. A real part of the second frequency-domain channel state information is smoothed and zero-mean processed to generate an imaginary part of the second frequency-domain channel state information.
[0095] An amplitude sequence, a phase sequence, and an amplitude maximum value are calculated according to the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information.
[0096] The present invention removes noise from the received signal and improves the quality of the received signal by performing smoothing filtering on the second frequency domain channel state information. Zero-mean processing simplifies signal analysis, which helps improve the efficiency and accuracy of obtaining amplitude sequences, phase sequences, and amplitude maximums.
[0097] Based on the above embodiment, a channel key of a channel is generated based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level and the first frequency domain channel state information of the channel, including steps S510 to S530, and each step is specifically as follows.
[0098] S510: Generate an initial channel key of the channel based on the final two-dimensional joint quantization level and the first frequency-domain channel state information.
[0099] S520: Generate harmonic error correction information based on the final two-dimensional joint quantization value sequence, perform error correction on the initial channel key based on the harmonic error correction information, and obtain information leakage during the error correction process.
[0100] S530: Amplify the privacy of the initial channel key based on the entropy value of the final two-dimensional joint quantization value sequence and the information leakage during the error correction process to obtain a single-bit full entropy channel key.
[0101] The first communication device generates harmonic error correction information based on the final two-dimensional joint quantization value sequence, generates channel coding information based on the harmonic error correction information and the final two-dimensional joint quantization level, and transmits the channel coding information to the second communication device via a public channel.
[0102] The second communication device decodes the channel coded information to obtain harmonic error correction information and a final two-dimensional joint quantization level. The second communication device performs channel estimation on the received signal to obtain first frequency-domain channel state information of the channel. The second communication device quantizes the first frequency-domain channel state information based on the final two-dimensional joint quantization level to obtain a two-dimensional joint quantization value sequence of the second communication device, thereby obtaining an initial channel key for the channel generated by the second device. The second communication device performs error correction on the initial channel key based on the harmonic error correction information. During the error correction process, information leakage information of the final two-dimensional joint quantization value sequence (the channel key of the first communication device) is obtained.
[0103] The overall entropy of the initial channel key is evaluated based on the entropy of the final two-dimensional joint quantization value sequence. For example, the entropy of the final two-dimensional joint quantization value sequence is , then the overall entropy of the initial channel key is ,in, is the length of the initial channel key.
[0104] The length of the final initial channel key is determined according to the entropy value of the final two-dimensional joint quantization value sequence and the information leakage during the error correction process, so as to amplify the privacy of the initial channel key and obtain a single-bit full entropy channel key.
[0105] The present invention obtains a single-bit full entropy channel key according to the entropy value of the final two-dimensional joint quantization value sequence, realizes the maximum utilization of frequency domain channel state information, and is conducive to improving the production rate and security of the channel key.
[0106] The following describes a channel key generation device provided by the present invention. The channel key generation device described below and the channel key generation method described above can refer to each other.
[0107] like Figure 5As shown, a device for generating a channel key includes: an amplitude quantization module 501, which is used to obtain at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the maximum amplitude of the channel and a Rayleigh channel amplitude distribution table, wherein the Rayleigh channel amplitude distribution table includes a mapping relationship between amplitude quantization levels and matching amplitude quantization values.
[0108] The phase quantization module 502 is configured to obtain at least one phase quantization value sequence of the channel phase sequence at at least one phase quantization level based on the random distribution of the phase, wherein the amplitude sequence and the phase sequence are in one-to-one correspondence.
[0109] The two-dimensional joint quantization module 503 is configured to obtain at least one two-dimensional joint quantization value sequence of an amplitude quantization value sequence and a phase quantization value sequence based on a mapping relationship between amplitude quantization levels and phase quantization levels.
[0110] The determination module 504 is configured to perform minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain an entropy value of the two-dimensional joint quantization value sequence, and determine a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value.
[0111] The channel key generation module 505 is configured to generate a channel key of a channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level and the first frequency domain channel state information of the channel.
[0112] The channel key generation device provided by the present invention obtains an amplitude quantization value sequence through a preset Rayleigh channel amplitude distribution table, thereby improving the accuracy of amplitude value quantization. Based on the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, utilizing both the channel amplitude sequence and the channel phase sequence, thereby maximizing the utilization of the channel's frequency domain state information. The final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level are determined through minimum entropy evaluation and two-dimensional joint quantization level, fully utilizing the amplitude quantization level, phase quantization level, amplitude sequence, and phase sequence, thereby improving the accuracy of determining the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level, thereby improving the generation rate and security of the channel key.
[0113] In one embodiment, the amplitude quantization value sequence includes multiple amplitude quantization values, and the phase quantization value sequence includes multiple phase quantization values, and the amplitude quantization values and the phase quantization values correspond to each other one-to-one. The two-dimensional joint quantization module 503 is used to: obtain at least one two-dimensional joint mapping relationship in which a matching amplitude quantization value of an amplitude quantization level and a matching phase quantization value of a phase quantization level are jointly matched to a matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, where A is the product value of the amplitude quantization level and the corresponding phase quantization level; for each two-dimensional joint mapping relationship, obtain a matching two-dimensional joint quantization value of each amplitude quantization value and the corresponding phase quantization value to obtain at least one two-dimensional joint quantization value sequence.
[0114] In one embodiment, the amplitude quantization module 501 is used to: obtain an amplitude ratio based on the ratio of each amplitude value in the amplitude sequence to the maximum amplitude value; obtain at least one matching amplitude quantization value and a matching ratio interval for each amplitude quantization level from the Rayleigh channel amplitude distribution table, where the matching ratio interval represents the range of amplitude ratios corresponding to the matching amplitude quantization value; at each amplitude quantization level, based on the matching result of the amplitude ratio and the matching ratio interval, quantize each amplitude value into a matching amplitude quantization value to obtain at least one amplitude quantization value sequence.
[0115] In one embodiment, the phase quantization module 502 is used to: obtain at least one matching phase quantization value and phase stage interval for each phase quantization level based on a random distribution, where the phase stage interval represents the phase value range corresponding to the matching phase quantization value; at each phase quantization level, based on the matching results of the phase values and the phase stage intervals in the phase sequence, quantize each phase value into a matching phase quantization value to obtain at least one phase quantization value sequence.
[0116] In one embodiment, the determination module 504 is used to: determine a comparison value of the entropy value based on the two-dimensional joint quantization level corresponding to the entropy value and the entropy value, the two-dimensional joint quantization level including the amplitude quantization level and the corresponding phase quantization level; use the two-dimensional joint quantization level corresponding to the maximum comparison value as the final two-dimensional joint quantization level; and use the two-dimensional joint quantization value sequence corresponding to the maximum comparison value as the final two-dimensional joint quantization value sequence.
[0117] In one embodiment, the amplitude quantization module 501 is also used to: perform channel evaluation on the received signal to obtain second frequency domain channel state information; perform smoothing filtering and zero-meaning processing on the real part of the second frequency domain channel state information and the imaginary part of the second frequency domain channel state information, respectively, to obtain the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information; and obtain an amplitude sequence, a phase sequence, and an amplitude maximum value based on the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information.
[0118] In one embodiment, the channel key generation module 505 is used to: generate an initial channel key of the channel based on the final two-dimensional joint quantization level and the first frequency domain channel state information; generate harmonic error correction information based on the final two-dimensional joint quantization value sequence, correct the initial channel key based on the harmonic error correction information, and obtain information leakage during the error correction process; amplify the privacy of the initial channel key based on the entropy value of the final two-dimensional joint quantization value sequence and the information leakage during the error correction process to obtain a single-bit full entropy channel key.
[0119] Figure 6 An example of a physical structure diagram of an electronic device is shown below. Figure 6 As shown, the electronic device may include: a processor 610 , a communications interface 620 , a memory 630 and a communication bus 640 , wherein the processor 610 , the communications interface 620 and the memory 630 communicate with each other via the communication bus 640 . The processor 610 can call the logic instructions in the memory 630 to execute a method for generating a channel key, which includes: obtaining at least one amplitude quantization value sequence of the channel's amplitude sequence at at least one amplitude quantization level based on the channel's amplitude maximum value and a Rayleigh channel amplitude distribution table, the Rayleigh channel amplitude distribution table including a mapping relationship between amplitude quantization levels and matching amplitude quantization values; obtaining at least one phase quantization value sequence of the channel's phase sequence at at least one phase quantization level based on a random distribution of phases, with the amplitude sequence and the phase sequence corresponding one to one; obtaining at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence based on a mapping relationship between the amplitude quantization level and the phase quantization level; performing minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain an entropy value of the two-dimensional joint quantization value sequence, and determining a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value; and generating a channel key of the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and the first frequency domain channel state information of the channel.
[0120] Furthermore, the logic instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion 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 for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0121] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the channel key generation method provided by the above-mentioned methods, the method comprising: obtaining at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the channel amplitude maximum value and the Rayleigh channel amplitude distribution table, the Rayleigh channel amplitude distribution table including a mapping relationship between amplitude quantization levels and matching amplitude quantization values; obtaining at least one phase quantization value sequence of the channel phase sequence at at least one phase quantization level based on a random distribution of phases, the amplitude sequence and the phase sequence corresponding one to one; obtaining at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence based on the mapping relationship between the amplitude quantization level and the phase quantization level; performing minimum entropy evaluation on each two-dimensional joint quantization value sequence to obtain the entropy value of the two-dimensional joint quantization value sequence, and determining the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level of the channel based on the entropy value; generating the channel key of the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level and the first frequency domain channel state information of the channel.
[0122] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0123] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for generating a channel key, characterized in that: include: Acquire at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the maximum amplitude value of the channel and a Rayleigh channel amplitude distribution table, wherein the Rayleigh channel amplitude distribution table includes a mapping relationship between the amplitude quantization levels and matching amplitude quantization values; Acquire at least one phase quantization value sequence of the phase sequence of the channel at at least one phase quantization level based on a random distribution of phases, wherein the amplitude sequence and the phase sequence correspond one to one; Acquire at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence based on a mapping relationship between the amplitude quantization level and the phase quantization level; performing minimum entropy evaluation on each of the two-dimensional joint quantization value sequences to obtain an entropy value of the two-dimensional joint quantization value sequence, and determining a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value; A channel key of the channel is generated based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and first frequency-domain channel state information of the channel.
2. The method for generating a channel key according to claim 1, wherein: The amplitude quantization value sequence includes a plurality of amplitude quantization values, the phase quantization value sequence includes a plurality of phase quantization values, the amplitude quantization values and the phase quantization values have a one-to-one correspondence, and obtaining at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence based on a mapping relationship between amplitude quantization levels and phase quantization levels includes: Obtain at least one two-dimensional joint mapping relationship in which a matching amplitude quantization value of the amplitude quantization level and a matching phase quantization value of the phase quantization level are jointly matched to a matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, where A is a product of the amplitude quantization level and the corresponding phase quantization level; For each of the two-dimensional joint mapping relationships, a matching two-dimensional joint quantization value of each of the amplitude quantization values and the corresponding phase quantization value is obtained to obtain at least one of the two-dimensional joint quantization value sequences.
3. The method for generating a channel key according to claim 1, wherein: The step of obtaining at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the channel amplitude maximum value and the Rayleigh channel amplitude distribution table includes: Obtaining an amplitude ratio based on a ratio of each amplitude value in the amplitude sequence to the maximum amplitude value; Obtaining at least one matching amplitude quantization value and a matching ratio interval for each amplitude quantization level from the Rayleigh channel amplitude distribution table, wherein the matching ratio interval represents a range of amplitude ratios corresponding to the matching amplitude quantization value; At each of the amplitude quantization levels, based on the matching result between the amplitude ratio and the matching ratio interval, each of the amplitude values is quantized into the matching amplitude quantization value to obtain at least one of the amplitude quantization value sequences.
4. The method for generating a channel key according to claim 1, wherein: The step of acquiring at least one phase quantization value sequence of the phase sequence of the channel at at least one phase quantization level based on the random distribution of the phase includes: Acquire at least one matching phase quantization value and a phase stage interval for each phase quantization level based on the random distribution, wherein the phase stage interval represents a phase value range corresponding to the matching phase quantization value; At each phase quantization level, based on the matching result between the phase value in the phase sequence and the phase stage interval, each phase value is quantized into the matching phase quantization value to obtain at least one phase quantization value sequence.
5. The method for generating a channel key according to claim 1, wherein: The determining, based on the entropy value, a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel includes: determining a comparison value of the entropy value based on a two-dimensional joint quantization level corresponding to the entropy value and the entropy value, the two-dimensional joint quantization level including the amplitude quantization level and the corresponding phase quantization level; The two-dimensional joint quantization level corresponding to the maximum comparison value is used as the final two-dimensional joint quantization level; and the two-dimensional joint quantization value sequence corresponding to the maximum comparison value is used as the final two-dimensional joint quantization value sequence.
6. The method for generating a channel key according to claim 1, wherein: The amplitude maximum value, the amplitude sequence, and the phase sequence are determined based on the following steps: Performing channel estimation on the received signal to obtain second frequency domain channel state information; performing smoothing filtering and zero-meaning processing on the real part of the second frequency-domain channel state information and the imaginary part of the second frequency-domain channel state information, respectively, to obtain the real part of the third frequency-domain channel state information and the imaginary part of the third frequency-domain channel state information; The amplitude sequence, the phase sequence, and the amplitude maximum value are acquired based on the real part of the third frequency domain channel state information and the imaginary part of the third frequency domain channel state information.
7. The method for generating a channel key according to claim 1, wherein: The generating a channel key for the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and the first frequency-domain channel state information of the channel includes: generating an initial channel key for the channel based on the final two-dimensional joint quantization level and the first frequency-domain channel state information; generating harmonic error correction information based on the final two-dimensional joint quantization value sequence, performing error correction on the initial channel key based on the harmonic error correction information, and obtaining information leakage during the error correction process; The initial channel key is privacy amplified based on the entropy value of the final two-dimensional joint quantization value sequence and the information leakage in the error correction process to obtain a single-bit full-entropy channel key.
8. A device for generating a channel key, characterized in that: include: an amplitude quantization module, configured to obtain at least one amplitude quantization value sequence of the channel amplitude sequence at at least one amplitude quantization level based on the maximum amplitude value of the channel and a Rayleigh channel amplitude distribution table, wherein the Rayleigh channel amplitude distribution table includes a mapping relationship between the amplitude quantization levels and matching amplitude quantization values, and the Rayleigh channel amplitude distribution table is set based on the Rayleigh distribution of amplitude values; a phase quantization module, configured to obtain at least one phase quantization value sequence of the phase sequence of the channel at at least one phase quantization level based on a random distribution of phases, wherein the amplitude sequence and the phase sequence have a one-to-one correspondence; a two-dimensional joint quantization module, configured to obtain at least one two-dimensional joint quantization value sequence of the amplitude quantization value sequence and the phase quantization value sequence based on a mapping relationship between the amplitude quantization level and the phase quantization level; a determination module, configured to perform minimum entropy evaluation on each of the two-dimensional joint quantization value sequences to obtain an entropy value of the two-dimensional joint quantization value sequence, and determine a final two-dimensional joint quantization value sequence and a final two-dimensional joint quantization level of the channel based on the entropy value; A channel key generation module is configured to generate a channel key for the channel based on the final two-dimensional joint quantization value sequence, the final two-dimensional joint quantization level, and the first frequency domain channel state information of the channel.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for generating a channel key according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a channel key according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method, device and terminal for acquiring channel state information
CN115987347A
Amplitude and phase quantization method based on intelligent reflector auxiliary key generation
CN116567621A