Channel key generation method and device, electronic equipment and storage medium
By combining the mapping relationship between amplitude and phase sequence in channel key generation, minimum entropy evaluation is performed, and the problems of low channel key generation rate and insufficient security are solved, and more efficient and secure key generation is achieved.
Patent Information
- Application Number
- CN202411279797.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In the existing channel key generation method, the correlation between the channel state information and the key causes a decrease in key security, and the loss of information entropy leads to a low generation rate.
Amplitude sequence is obtained based on the channel's amplitude maximum value and the Rayleigh channel amplitude distribution table, combined with the phase sequence, and a two-dimensional joint quantization value sequence is generated using the mapping relationship between the amplitude quantization level and the phase quantization level, and a minimum entropy evaluation is performed to determine the final two-dimensional Combining the quantization values and levels, generating channel keys.
The generation rate and security of channel keys are improved, the frequency domain state information of the channel is fully utilized, and the accuracy and security of the key are enhanced.
Smart Images

Figure CN119109580A_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 the uplink and downlink channels, the communicating parties (i.e., the first device and the second device) can generate symmetric channel keys by extracting the channel state information of the uplink and downlink channels. However, since there is a certain correlation between the channel state information, this will cause the generated channel keys to also be correlated, thereby reducing the security strength of the channel keys.
[0003] The correlation between channel state information and channel keys is mainly removed and measured through decorrelation processing and entropy estimation algorithm. However, the entropy estimation algorithm of the existing channel key does not match the channel state information. At the same time, due to the loss of information entropy during the generation of the channel key, the generation rate of the channel key is low. Summary of the invention
[0004] The present invention provides a channel key generation method, device, electronic device and storage medium, which are used to solve the defect of low channel key generation rate in the prior art and improve the channel key generation rate.
[0005] The present invention provides a generation of a channel key, comprising the following steps: obtaining at least one amplitude quantization value sequence of an amplitude sequence of a channel at at least one amplitude quantization level based on an amplitude maximum value of a channel and a Rayleigh channel amplitude distribution table, wherein the Rayleigh channel amplitude distribution table comprises a mapping relationship between an amplitude quantization level and a matching amplitude quantization value; obtaining 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 a phase, wherein the amplitude sequence and the phase sequence correspond to each other one by one; 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 an amplitude quantization level and a 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.
[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 correspond to each other one by 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: obtaining at least one two-dimensional joint mapping relationship of jointly matching the matching amplitude quantization value of the amplitude quantization level and the matching phase quantization value of the phase quantization level to the matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, and A is the product value of the amplitude quantization level and the corresponding phase quantization level; for each two-dimensional joint mapping relationship, obtaining the 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 maximum amplitude value of the channel 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 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, 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 characterizing 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 a channel are determined based on an 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 an amplitude quantization level and a corresponding phase quantization level; taking the two-dimensional joint quantization level corresponding to the maximum comparison value as the final two-dimensional joint quantization level; and taking 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, the amplitude sequence and the 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-mean 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; 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, the amplitude sequence, the phase sequence and the amplitude maximum value are obtained.
[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 the information leakage during the error correction process; privacy amplifying 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, used 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 the Rayleigh channel amplitude distribution table, the Rayleigh channel amplitude distribution table including the mapping relationship between the amplitude quantization level and the matching amplitude quantization value, the Rayleigh channel amplitude distribution table being set based on the Rayleigh distribution of the amplitude value; a phase quantization module, used for obtaining 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, the amplitude sequence and the phase sequence corresponding to each other; a two-dimensional joint quantization module, used for 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; a determination module, used for 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; a channel key generation module, used for 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.
[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, wherein 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 on which a computer program is stored. When the computer program is executed by a processor, the method for generating a channel key as described above is implemented.
[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. According to the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, which not only utilizes the amplitude sequence of the channel but also utilizes the phase sequence of the channel, thereby realizing the maximum 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, which fully utilizes 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 will be 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 It is a relationship curve diagram 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 schematic diagram of a 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] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Combine the following Figure 1-Figure 6 The 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 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 quantization of amplitude values under Rayleigh distribution is more uniform than the quantization of traditional amplitude values. The Rayleigh channel amplitude distribution table includes the mapping relationship between ratio interval, amplitude quantization level and matching amplitude quantization value. The Rayleigh channel amplitude distribution table is shown in Table 1. The ratio interval is the range of amplitude ratios corresponding to the amplitude quantization value under the amplitude quantization level.
[0028] Table 1 Rayleigh channel amplitude distribution table
[0029] The first frequency domain channel state information of the channel is obtained to obtain the amplitude sequence and the maximum amplitude of the channel. At least one amplitude quantization level is selected, and 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, the amplitude quantization level is 2, indicating that the number of matching amplitude quantization values corresponding to the amplitude quantization level is 2.
[0030] 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.
[0031] 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, wherein the amplitude sequence and the phase sequence correspond to each other one by one.
[0032] At least one phase quantization level is selected, where 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, if the phase quantization level is 4, it means that the number of matching phase quantization values corresponding to the phase quantization level is 4.
[0033] 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.
[0034] 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.
[0035] According to a mapping relationship between amplitude quantization level and phase quantization level, the amplitude quantization value and the corresponding phase quantization value are mapped to a matching two-dimensional joint quantization value. 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.
[0036] According to various mapping relationships between amplitude quantization levels and phase quantization levels, various two-dimensional joint quantization value sequences are obtained.
[0037] 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.
[0038] 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 a two-dimensional joint quantization level of (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 .
[0039] The entropy value is calculated to obtain a comparison value of the two-dimensional joint quantization value sequence, and the comparison value represents the amount of information of 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 according to the final two-dimensional joint quantization value sequence.
[0040] 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.
[0041] During the uplink and downlink communication process, after the first communication device (receiver or sender) obtains the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level, the first communication device generates channel coding information according to the final two-dimensional joint quantization value sequence and the final two-dimensional joint quantization level. The first communication device sends the channel coding information to the second communication device through a public channel.
[0042] 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.
[0043] 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 in the error correction process.
[0044] 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. According to the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, which not only utilizes the amplitude sequence of the channel but also utilizes the phase sequence of the channel, thereby realizing the maximum 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, and the amplitude quantization level, the phase quantization level, the amplitude sequence and the phase sequence are fully utilized, 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.
[0045] 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 by 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.
[0046] 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, and A is the product of the amplitude quantization level and the corresponding phase quantization level.
[0047] S320: For each two-dimensional joint mapping relationship, obtain a matching two-dimensional joint quantization value of each amplitude quantization value and a corresponding phase quantization value to obtain at least one two-dimensional joint quantization value sequence.
[0048] 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 based on the mapping relationship between the amplitude quantization level and the phase quantization level. The matching two-dimensional joint quantization value is an integer between 0 and A-1, and 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.
[0049] Table 2 Two-dimensional joint mapping relationship when the amplitude quantization level is 2 and the phase quantization level is 4
[0050] For each two-dimensional joint mapping relationship, obtain a 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. For example, the amplitude quantization level is 2, the phase quantization level is 4, the amplitude quantization value sequence is {1, 0, 1, 0}, the phase quantization value sequence is {0, 1, 2, 2}, and the amplitude quantization values of the amplitude quantization value sequence and the phase quantization values arranged in the same position in the phase quantization value sequence correspond to each other. According to the two-dimensional joint mapping relationship of the amplitude quantization level being 2 and the phase quantization level being 4, obtain a matching two-dimensional joint quantization value 4 of the amplitude quantization value 1 and the corresponding phase quantization value 0. Obtain a matching two-dimensional joint quantization value 1 of the amplitude quantization value 0 and the corresponding phase quantization value 1. Obtain a matching two-dimensional joint quantization value 6 of the amplitude quantization value 1 and the corresponding phase quantization value 2. Obtain a matching two-dimensional joint quantization value 2 of the amplitude quantization value 0 and the corresponding phase quantization value 2. Matching two-dimensional joint quantization values 4, 1, 6 and 2 form a two-dimensional joint quantization value sequence {4, 1, 6, 2}.
[0051] 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.
[0052] Table 3 Two-dimensional joint mapping relationship when the amplitude quantization level is 3 and the phase quantization level is 4
[0053] 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}. According to the two-dimensional joint mapping relationship of the amplitude quantization level 3 and the phase quantization level 4, the matching two-dimensional joint quantization value 4 of the amplitude quantization value 1 and the corresponding phase quantization value 0 is obtained. The matching two-dimensional joint quantization value 1 of the amplitude quantization value 0 and the corresponding phase quantization value 1 is obtained. The matching two-dimensional joint quantization value 10 of the amplitude quantization value 2 and the corresponding phase quantization value 2 is obtained. The matching two-dimensional joint quantization value 2 of the amplitude quantization value 0 and the corresponding phase quantization value 2 is obtained. The matching two-dimensional joint quantization values 4, 1, 10 and 2 form a two-dimensional joint quantization value sequence {4, 1, 10, 2}.
[0054] The present invention determines a two-dimensional joint quantization value sequence according to a two-dimensional joint mapping relationship, utilizes both the amplitude sequence and the phase sequence of the channel, realizes maximum utilization of channel state information, is beneficial to the accuracy of 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.
[0055] Based on the above embodiment, 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 steps S110 to S130, and each step is specifically as follows.
[0056] S110: Obtain an amplitude ratio based on the ratio of each amplitude value in the amplitude sequence to the maximum amplitude value.
[0057] S120: Acquire 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.
[0058] 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.
[0059] Obtain the ratio of each amplitude value to the maximum amplitude value, obtain the amplitude ratio, and then obtain the 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 the matching amplitude quantization value sequence {0, 1} (including matching amplitude quantization value 0 and matching amplitude quantization value 1) of amplitude quantization level 2 according to the Rayleigh channel amplitude distribution table. Obtain the 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, +∞).
[0060] The quantization formula of the amplitude value corresponding to the amplitude quantization level 2 is as follows.
[0061] ; in, is the first Amplitude value, is the maximum amplitude of the amplitude sequence, 0 and 1 are matching amplitude quantization values, Amplitude value The amplitude quantization value.
[0062] The quantization formula of the amplitude value corresponding to the amplitude quantization level 3 is as follows.
[0063] ; in, is the first Amplitude value, is the maximum amplitude of the amplitude sequence, 0, 1 and 2 are matching amplitude quantization values, Amplitude value The amplitude quantization value.
[0064] 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 an amplitude quantization value sequence {1, 0, 1, 0}.
[0065] The present invention obtains the Rayleigh channel amplitude distribution table according to the Rayleigh distribution of the amplitude value, which is conducive to accurately describing the amplitude value division during the signal attenuation process, thereby realizing accurate quantization of the amplitude value. The present invention quantizes the amplitude value into an integer matching amplitude quantization value, which is conducive to the subsequent calculation of the entropy value of the two-dimensional joint quantization value sequence.
[0066] Based on the above embodiment, obtaining at least one phase quantization value sequence of a phase sequence of a channel at at least one phase quantization level based on random distribution of phase includes steps S210 to S220, and each step is specifically as follows.
[0067] 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.
[0068] S220: At each phase quantization level, based on the matching results of the phase values in the phase sequence and the phase stage intervals, quantize each phase value into a matching phase quantization value to obtain at least one phase quantization value sequence.
[0069] At least one matching phase quantization value and phase stage interval of each phase quantization level is obtained according to random distribution. According to the matching result of the phase value and the phase stage interval, each phase value is mapped to a matching phase quantization value.
[0070] The quantization formula of the phase value corresponding to the phase quantization level of 4 is as follows.
[0071] ; in, is the first phase in the sequence Phase value, , , and is the phase stage interval, 0, 1, 2 and 3 are the matching phase quantization values, for The phase quantization value of .
[0072] The phase sequence corresponding to the amplitude sequence is obtained, 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 according to the matching result of each phase value and the phase stage interval, for example, the phase value 10° is mapped to 0, the phase value 90° is mapped to 1, the phase value 180° is mapped to 2, and the phase value 185° is mapped to 2. The phase quantization value sequence finally obtained is {0, 1, 2, 2}.
[0073] 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.
[0074] The present invention quantizes the phase value into an integer matching phase quantization value, which is beneficial to the subsequent calculation of the entropy value of the two-dimensional joint quantization value sequence.
[0075] 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 each step is specifically as follows.
[0076] 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.
[0077] 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.
[0078] The 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 constitute a two-dimensional joint quantization level (2, 4). An amplitude quantization level of 3 and a phase quantization level of 4 constitute a two-dimensional joint quantization level (3, 4).
[0079] The comparison value of the entropy 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.
[0080] ; 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.
[0081] Obtain the entropy value of all two-dimensional joint quantization value sequences. Calculate the comparison value of each entropy value according to the entropy value and the two-dimensional joint quantization level corresponding to the entropy value. Take the two-dimensional joint quantization level corresponding to the maximum comparison value as the final two-dimensional joint quantization level; take the two-dimensional joint quantization value sequence corresponding to the maximum comparison value as the final two-dimensional joint quantization value sequence. For example, after calculating , the two-dimensional joint quantization level (2, 4) is taken as the final two-dimensional joint quantization level, and the two-dimensional joint quantization value sequence {4, 1, 6, 2} is taken as the final two-dimensional joint quantization value sequence.
[0082] The present invention calculates the comparison value of the entropy value according to 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.
[0083] 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.
[0084] S140: Perform channel estimation on the received signal to obtain second frequency domain channel state information.
[0085] S150: Perform smoothing filtering and zero-mean 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.
[0086] 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.
[0087] Acquire a received signal, for example, the first communication device receives a signal sent by the second communication device to obtain a received signal. Perform channel estimation on the received signal to generate second frequency domain channel state information of length N. Perform smoothing filtering and zero-mean processing on the real part of the second frequency domain channel state information to generate a real part of the third frequency domain channel state information with smooth and zero mean. Perform smoothing filtering and zero-mean processing on the imaginary part of the second frequency domain channel state information to generate an imaginary part of the third frequency domain channel state information with smooth and zero mean.
[0088] 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.
[0089] The present invention removes noise in the received signal and improves the quality of the received signal by performing smoothing filtering on the second frequency domain channel state information. The zero-mean processing simplifies the signal analysis and is conducive to improving the efficiency and accuracy of obtaining the amplitude sequence, phase sequence and amplitude maximum value.
[0090] Based on the above embodiment, a channel key of a channel is generated based on a final two-dimensional joint quantization value sequence, a 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.
[0091] 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.
[0092] S520: Generate reconciliation and error correction information based on the final two-dimensional joint quantization value sequence, perform error correction on the initial channel key based on the reconciliation and error correction information, and obtain information leakage during the error correction process.
[0093] 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.
[0094] The first communication device generates harmonic error correction information according to the final two-dimensional joint quantization value sequence, generates channel coding information according to the harmonic error correction information and the final two-dimensional joint quantization level, and sends the channel coding information to the second communication device through a public channel.
[0095] The second communication device decodes the channel coding information to obtain the harmonized error correction information and the final two-dimensional joint quantization level. The second communication device performs channel assessment on the received signal to obtain the first frequency domain channel state information of the channel. The second communication device quantizes the first frequency domain channel state information according to the final two-dimensional joint quantization level to obtain the two-dimensional joint quantization value sequence of the second communication device, and then obtains the initial channel key of the channel generated by the second device. The second communication device corrects the initial channel key according to the harmonized error correction information. The information leakage of the final two-dimensional joint quantization value sequence (channel key of the first communication device) is obtained during the error correction process.
[0096] The overall entropy of the initial channel key is evaluated based on the entropy value of the final two-dimensional joint quantization value sequence. For example, the entropy value 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.
[0097] 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 in the error correction process, so as to amplify the privacy of the initial channel key and obtain a single-bit full entropy channel key.
[0098] 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 beneficial to improving the production rate and security of the channel key.
[0099] The following is a description of 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 be referred to each other.
[0100] like Figure 5 As 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 the Rayleigh channel amplitude distribution table, and the Rayleigh channel amplitude distribution table includes a mapping relationship between amplitude quantization levels and matching amplitude quantization values.
[0101] The phase quantization module 502 is used 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 the random distribution of the phase, and the amplitude sequence and the phase sequence correspond to each other one by one.
[0102] The two-dimensional joint quantization module 503 is used 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 the mapping relationship between the amplitude quantization level and the phase quantization level.
[0103] The determination module 504 is used 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.
[0104] The channel key generation module 505 is used to generate 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.
[0105] The channel key generation device provided by the present invention obtains the amplitude quantization value sequence through the preset Rayleigh channel amplitude distribution table, thereby improving the accuracy of the amplitude value quantization. According to the mapping relationship between the amplitude quantization level and the phase quantization level, a two-dimensional joint quantization value sequence is obtained, which not only utilizes the amplitude sequence of the channel but also utilizes the phase sequence of the channel, thereby realizing the maximum 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, and the amplitude quantization level, the phase quantization level, the amplitude sequence and the phase sequence are fully utilized, 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.
[0106] In one 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 by one, and 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, and 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.
[0107] 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, 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, quantize each amplitude value into a matching amplitude quantization value to obtain at least one amplitude quantization value sequence.
[0108] 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 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.
[0109] 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 an amplitude quantization level and a 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; use the two-dimensional joint quantization value sequence corresponding to the maximum comparison value as the final two-dimensional joint quantization value sequence.
[0110] 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-mean 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.
[0111] 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.
[0112] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor (processor) 610 , a communication interface (Communications Interface) 620 , a memory (memory) 630 and a communication bus 640 , wherein the processor 610 , the communication interface 620 , and the memory 630 communicate with each other through the communication bus 640 . The processor 610 can call the logic instructions in the memory 630 to execute the channel key generation method, which includes: 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 the Rayleigh channel amplitude distribution table, the Rayleigh channel amplitude distribution table includes the mapping relationship between the amplitude quantization level and the matching amplitude quantization value; obtaining 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, and the amplitude sequence and the phase sequence correspond 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.
[0113] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0114] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented by a processor when executed 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 amplitude sequence of the channel at at least one amplitude quantization level based on the maximum amplitude of the channel 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 phase sequence of the channel at at least one phase quantization level based on a random distribution of phase, 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.
[0115] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0117] 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 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 amplitude sequence of the channel 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 level and the matching amplitude quantization value; 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 the phase, wherein the amplitude sequence corresponds to the phase sequence one by 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 an amplitude quantization level and a 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, characterized in that: 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 correspond to the phase quantization values one by one, and the obtaining of 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 an amplitude quantization level and a phase quantization level includes: Acquire at least one two-dimensional joint mapping relationship of jointly matching the matching amplitude quantization value of the amplitude quantization level and the matching phase quantization value of the phase quantization level to a matching two-dimensional joint quantization value; the matching two-dimensional joint quantization value is an integer between 0 and A-1, and A is the product value 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, characterized in that: The method 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 comprises: 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 of 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, characterized in that: 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, characterized in that: 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 comprises: 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, 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, characterized in that: 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-mean 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, characterized in that: The 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 comprises: 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; Generate reconciliation and error correction information based on the final two-dimensional joint quantization value sequence, perform error correction on the initial channel key based on the reconciliation and error correction information, and obtain 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, used for obtaining at least one amplitude quantization value sequence of the amplitude sequence of the channel 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 level and the matching amplitude quantization value, and the Rayleigh channel amplitude distribution table is set based on the Rayleigh distribution of the amplitude value; A phase quantization module, used for 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, wherein the amplitude sequence corresponds to the phase sequence one by one; A two-dimensional joint quantization module, used for acquiring 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 an amplitude quantization level and a 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 used to generate 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.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: 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
Method and apparatus for generating frequency hopping sequence on basis of wireless channel physical layer key
WO2021088213A1
