Polar code secure communication method and system based on channel coding
By generating reciprocity keys and embeding Polar code freeze bits, combining channel encoding and physical layer data hiding, and dynamically adjusting Polar code parameters, the problem of insufficient reliability and security of wireless communication systems in harsh channel environments is solved, and efficient and secure Polar code communication is achieved.
Patent Information
- Application Number
- CN202510540717.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-07-22
AI Technical Summary
The existing wireless communication systems are difficult to take into account both reliability and security in harsh channel environments. Traditional channel encoding methods fail to introduce security mechanisms in the encoding process, resulting in information transmission being susceptible to interference and attacks. Polar code encoding schemes lack targeted design when dealing with eavesdropping attacks, making it difficult to achieve efficient and secure communication.
By obtaining the channel frequency response vector, generating reciprocity keys and correcting errors, embedded in the frozen bits of the Polar code, combining presets to generate codebooks and physical layer data hiding, encoding channel indication information and status information, using joint source channel encoding to classify information bits, and identifying tampered data through soft output decoding algorithms, dynamically adjusting Polar code parameters to adapt to channel changes.
It realizes efficient and secure communication of Polar code under dynamic channel conditions, improves the security and reliability of data transmission, reduces the unchecked error rate and recognizes tampered data, and enhances anti-interference ability.
Smart Images

Figure CN120358542A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of wireless communication, and particularly relates to a Polar code secure communication method and system based on channel coding. Background Art
[0002] When a wireless communication system faces a harsh channel environment, existing channel coding schemes are difficult to balance reliability and security, resulting in vulnerable data transmission to interference and attacks. Traditional channel coding methods mainly focus on improving error correction capabilities and do not introduce security mechanisms during the coding process, leading to a high risk of information leakage during transmission. Existing encrypted communication schemes usually rely on upper-layer encryption protocols and are not optimized in combination with channel characteristics, making it difficult to ensure efficient encryption and decryption processing in an environment with limited computing resources. Although some existing technologies attempt to use physical layer security methods for data protection, it is difficult to achieve adaptive security enhancement under dynamic channel conditions, resulting in a decline in the security performance of the system when the channel state changes. In addition, existing Polar code coding schemes lack targeted design in dealing with eavesdropping attacks and are difficult to achieve an efficient secure communication mechanism. Summary of the Invention
[0003] To improve the security of Polar codes and prevent eavesdropping under dynamic channel conditions, in a first aspect of the present invention, a Polar code secure communication method based on channel coding is provided, including: obtaining a channel frequency response vector of a target communication system; generating a reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; correcting errors of the reciprocal key through a broadcast channel code; embedding the error-corrected reciprocal key into the frozen bits of the Polar code; determining coding methods for channel indication information and channel state information based on a preset generated codebook and physical layer data hiding; grading information bits based on joint source-channel coding and matching polarization sub-channels according to the importance of the information bits; compressing key frames and differential frames in multimedia data based on joint source-channel coding; receiving the Polar code and reducing undetected errors and identifying tampered data in the target communication system through a soft output decoding algorithm; calculating a beamforming matrix through uplink channel state information; and updating Polar code parameters of a receiving party based on the beamforming matrix.
[0004] In some embodiments of the present invention, the generating a reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector includes: mapping each complex channel gain in the channel frequency response vector into multiple intervals based on the reciprocity of the channel; and generating the reciprocal key of the target communication system through a multi-interval quantization function.
[0005] In some embodiments of the present invention, the error correction of the reciprocal key by the broadcast channel code includes: determining the length and the number of information bits of the broadcast channel code; and correcting the error of the reciprocal key by the Chien search algorithm based on the length and the number of information bits of the broadcast channel code.
[0006] In some embodiments of the present invention, the determining the encoding methods of the channel indication information and the channel state information based on a preset generation codebook and physical layer data hiding includes: determining the length of the preset offline generation codebook based on the number of levels of the channel indication information; determining the encoding method of the channel indication information based on the length of the preset offline generation codebook; and embedding the channel state information into the frozen bits of the Polar code through the data hiding of the physical layer.
[0007] In some embodiments of the present invention, the reducing the undetected errors and identifying the tampered data of the target communication system by the soft output decoding algorithm includes: detecting the undetected errors through the distribution threshold in the soft output successive cancellation list method; correcting the undetected errors based on the soft decision random additive noise guessing decoding method; verifying the correctness of the decoded bits through the polynomial cyclic redundancy check; calculating the soft output distribution entropy of the decoded bits after verification: if the soft output distribution entropy is greater than the threshold, it is determined that there is tampered data.
[0008] In some embodiments of the present invention, the updating the Polar code parameters of the receiver based on the beamforming matrix includes: determining the optimal signal-to-interference-plus-noise ratio of each user based on the beamforming matrix; and updating the code length, the number of information bits, the set of frozen bits and the codebook of the Polar code of each user based on the optimal signal-to-interference-plus-noise ratio.
[0009] The second aspect of the present invention provides a Polar code secure communication system based on channel coding, including: an embedding module, configured to obtain the channel frequency response vector of the target communication system; generate a reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; correct the error of the reciprocal key by the broadcast channel code; embed the error-corrected reciprocal key into the frozen bits of the Polar code; a determining module, configured to determine the encoding methods of the channel indication information and the channel state information based on a preset generation codebook and physical layer data hiding; a joint coding module, configured to classify the information bits based on joint source-channel coding, and match the polarization sub-channels according to the importance degree of the information bits; compress the key frames and differential frames in the multimedia data based on joint source-channel coding; a decoding module, configured to receive the Polar code, and reduce the undetected errors and identify the tampered data of the target communication system by the soft output decoding algorithm; an updating module, configured to calculate the beamforming matrix through the uplink channel state information; and update the Polar code parameters of the receiver based on the beamforming matrix.
[0010] A third aspect of the present invention provides an electronic device, including: one or more processors; a storage device for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the Polar code secure communication method based on channel coding provided by the present invention in the first aspect.
[0011] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the Polar code secure communication method based on channel coding provided by the present invention in the first aspect.
[0012] The beneficial effects of the present invention are as follows:
[0013] By utilizing the channel coding characteristics of Polar codes, the present invention performs forward error correction coding on wireless communication data, enhances the security of data during channel transmission through bit grading processing; dynamically adjusts Polar code coding parameters in combination with channel state information, and optimizes the coding strategy through a channel quality feedback mechanism, enabling the encrypted data to adapt to different channel conditions; adopts a joint source-channel coding method, realizes efficient and secure coding processing based on Polar codes by grouping and reconstructing data content; applies a decoding method based on sequence recognition, restores the original data at the receiving end through soft decision or list decoding, and detects potential tampered data; combines a low-density parity-check assisted Polar code structure, improves the anti-interference ability by using a specific bit interleaving method, and optimizes the decoding performance by dynamically selecting reliable bit positions. The method and system achieve the application of Polar codes in the field of secure communication through the above means. Description of the Drawings
[0014] Figure 1 It is a schematic diagram of the basic process of the Polar code secure communication method based on channel coding in some embodiments of the present invention;
[0015] Figure 2 It is a timing diagram of the Polar code secure communication method based on channel coding in some embodiments of the present invention;
[0016] Figure 3 It is a schematic diagram of the structure of the Polar code secure communication system based on channel coding in some embodiments of the present invention;
[0017] Figure 4 It is a schematic diagram of the structure of an electronic device in some embodiments of the present invention. Detailed Embodiments
[0018] The embodiments of the technical solution of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solution of the present application more clearly, so they are only examples and cannot be used to limit the protection scope of the present application.
[0019] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0020] The term "including" in this article indicates the existence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the existence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections. The terms "including", "comprising", "having" and their variants all mean "including but not limited to", and the exclusion is otherwise particularly emphasized. Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying one or more of such features. In the description of the embodiments of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0021] Reference Figure 1 With Figure 2 , in the first aspect of the present invention, a Polar code secure communication method based on channel coding is provided, including:
[0022] S100. Obtain the channel frequency response vector of the target communication system; generate the reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; correct the error of the reciprocal key through the broadcast channel code; embed the error-corrected reciprocal key into the frozen bits of the Polar code;
[0023] S200. Determine the coding methods of the channel indication information and the channel state information based on the preset generated codebook and physical layer data hiding;
[0024] S300. Classify the information bits based on joint source-channel coding, and match the polarization sub-channels according to the importance of the information bits; compress the key frames and differential frames in the multimedia data based on joint source-channel coding;
[0025] S400. Receive the Polar code, and reduce the undetected errors of the target communication system and identify the tampered data through the soft output decoding algorithm;
[0026] S500. Calculate the beamforming matrix based on the uplink channel state information; update the Polar code parameters of the receiver based on the beamforming matrix.
[0027] It can be understood that the target communication system is usually a time-division duplex (TDD) system; the Channel Frequency Response Vector (CFR) is an important concept in wireless communication to describe the channel characteristics, which reflects the response characteristics of the channel at different frequencies. The channel frequency response vector refers to the response characteristics of the wireless channel at different frequencies, usually represented in complex form. It describes the amplitude and phase changes of different frequency components of the signal when passing through the channel. The channel frequency response vector is usually represented as a complex function H(f), where f is the frequency. For discrete frequency points, it can be represented in vector form H = [H(f1), H(f2), …, H(f N )].
[0028] Channel State Information (CSI) is a quantitative description of the channel characteristics in a wireless communication link, which reflects the physical process that the signal experiences from the transmitter (Tx) to the receiver (Rx). Specifically, CSI includes the following information: amplitude attenuation, phase offset, multipath effect, delay spread, interference level, etc.
[0029] This step realizes physical layer security encryption while ensuring low latency, high consistency, and low BER through channel reciprocity key generation, BCH quantization error correction, and Polar freeze bit embedding. Subsequent steps can further integrate optimization such as hierarchical modulation and soft decision decoding on this basis.
[0030] In step S100 of some embodiments of the present invention, obtain the channel frequency response vector of the target communication system; generate the reciprocity key of the target communication system through multi-threshold quantization of the channel frequency response vector; correct the reciprocity key through a broadcast channel code; and embed the corrected reciprocity key into the freeze bits of the Polar code. Among them, the generating the reciprocity key of the target communication system through multi-threshold quantization of the channel frequency response vector includes:
[0031] S101. Based on the reciprocity of the channel, map each complex channel gain in the channel frequency response vector to multiple intervals;
[0032] Specifically, legitimate parties A / B measure the channel frequency response vector in the same-frequency TDD uplink and downlink time slots respectively:
[0033]
[0034] Assume that the channel conforms to reciprocity, that is, within the channel conservation period h A ≈hB Quantization mapping Q:
[0035]
[0036] S102. Generate the reciprocal key of the target communication system through a multi - interval quantization function.
[0037] Using multi - threshold quantization, map each complex channel gain h A,i to an L - level index. For example, when L q = 4, there are 4 interval thresholds {T1, T2, T3}, corresponding to 2 - bit output, and the quantization function: q When L = 4, there are 4 interval thresholds {T1, T2, T3}, corresponding to 2 - bit output, and the quantization function:
[0038]
[0039] Quantization output length K q = M log2L q .
[0040] To improve consistency, introduce BCH(n b , k b ) error correction. Transmit the check - sum after k A encoding to correct a small amount of quantization errors. Therefore, embed the error - corrected reciprocal key into the frozen bits of the Polar code. The length of the Polar code is N (such as 1024), the number of information bits is K (such as 512), and the size of the frozen - bit set F is N - K. Partition:
[0041] Key - embedding bit set: |F k | = K k , the ordinary frozen - bit set F r = F\F k ;
[0042] Information mapping vector u = [u1,..., u n :
[0043]
[0044] where: d j represents the information bit to be transmitted; S j represents a pseudo - random sequence (generated by k or a system seed) to enhance security; represents the exclusive - OR operation; F c represents the index set of the k most reliable sub - channels, calculated by the Bhattacharyya parameter :
[0045]
[0046] Sub-channel ordering π(1),..., π(N), where π(1) is the most reliable, and thus the set of information bits is represented as:
[0047] F c ={π(1),..., π(K)}, F k ={π(N),..., π(N-K k +1)}.
[0048] It can be understood that in the 5G / indoor wireless communication scenario, traditional upper-layer security protocols (such as TLS / DTLS) have problems of large handshake delay and long key negotiation time under channel dynamic multipath fading, and it is difficult to meet the ultra-reliable low-latency (URLLC) requirements. Physical-layer key generation utilizes the TDD link reciprocity characteristic, directly measures the channel at the transceiver to obtain the key, and does not require explicit distribution. Embedding this key into the frozen bits of the Polar code realizes "encoding is encryption".
[0049] In step S200 of some embodiments of the present invention, the error correction of the reciprocal key by the broadcast channel code includes:
[0050] S201. Determine the length and the number of information bits of the broadcast channel code;
[0051] S202. Based on the length and the number of information bits of the broadcast channel code, correct the errors of the reciprocal key through the Chien search algorithm.
[0052] Specifically, the quantization error bit rate p q =Pr[k A,i,j ≠k B,i,j is related to the channel estimation noise and the quantization threshold selection. After introducing BCH(n b , k b ), t=(n b , k b ) / 2 bit errors are corrected through the Chien search.
[0053] Consistency error rate:
[0054]
[0055] As an example, the number of channel subcarriers or the number of antennas M = 64, the quantization level L q =4 (2 bits), e represents the number of error bits; n b =31, k b=21 , can ensure that P key_err <10 -4 .
[0056] Specifically, the Chien search algorithm determines whether the value of the error location polynomial at each element in the field is zero. If a certain element makes the value of the polynomial zero, then this element is a root of the polynomial, and the corresponding symbol position is the error location. The Chien search algorithm specifically includes: 1. Determine the finite field GF(q) according to the definition of the code. 2. Calculate the polynomial value: Starting from the first element in the finite field, substitute each element into the error location polynomial in turn and calculate its value. 3. Judge the root: Check whether the calculation result is zero. If it is zero, then this element is a root of the polynomial, and the corresponding symbol position is the error location. 4. Repeat the operation: Continue to calculate and judge the next element in the finite field until all elements are checked.
[0057] In step S200 of some embodiments of the present invention, the encoding method for determining the channel indication information and the channel state information based on the preset generated codebook and physical layer data hiding includes:
[0058] S201. Determine the length of the preset offline generated codebook based on the number of levels of the channel indication information;
[0059] S202. Determine the encoding method of the channel indication information based on the length of the preset offline generated codebook;
[0060] Specifically, the offline generated codebook C is expressed as:
[0061]
[0062] where m = 15, representing the number of levels of CQI; N represents the code length; K m represents the number of information bits; F m represents the frozen bit set calculated based on the channel model:
[0063]
[0064] When the transmitter receives the CQI m , select the parameters (N, k m , F m ), and select the modulation method Mm (such as 16-QAM / 64-QAM) for encoding and mapping. Specifically, the frozen bit set is selected from the codeword length N at N - k m positions such that the values at these positions can maximize the Bhattacharyya parameter. The Bhattacharyya parameter depends on the channel model parameters W and γ;
[0065] S203. Embed the channel state information into the frozen bits of the Polar code through physical layer data hiding.
[0066] Specifically, in the Polar frozen bit set Among them, r positions are reserved for CSI bit embedding, where r << |F r |, for example, r = 10. Embed the fine-grained CSI information (the binary quantization sequence c ∈ {0, 1} r ): The remaining frozen bits are still set to zero or the key bits are embedded. The transmitter sends uG N , and after soft decision at the base station side, c is extracted from the LLR to recover the CSI.
[0067] The receiver constructs the posterior distribution according to the historical CSI implicit feedback :
[0068] p(γ t | c (t-1) ,..., c (t-T) ) ∝ p(c (t-1) | γ t ) p(γ t | c (t-2) ,...),
[0069] By discretizing γ t ∈ {γ1,..., γ M}, use the Bayesian filter for prediction and output the optimal code rate level:
[0070]
[0071] Among them, r represents the number of implicit CSI embedding bits, such as 8 - 16; T represents the length of the Bayesian filter historical window; γ m represents the modulation method, p represents the conditional probability of the embedded channel model; then directly use the codebook (N, k m , F m , Mm) for encoding to avoid explicit feedback.
[0072] It can be understood that in the 5G / indoor scenario, real-time CSI feedback brings slot overhead and uplink resource occupation. At the same time, CSI estimation errors and feedback delays will lead to lags in the selection of coding and modulation parameters. Therefore, a coarse-fine two-stage adaptation is designed: Coarse stage (Explicit CQI): Periodically report 4-bit CQI and use a pre-designed codebook to achieve fast look-up table coding; Fine stage (implicit CSI): Embed a small amount of CSI into the Polar frozen bits through physical layer data hiding technology, without occupying separate feedback resources, and the CSI is recovered after de-scrambling at the base station side. Through the coarse-fine two-stage adaptation and Bayesian implicit feedback, without increasing explicit feedback resources, fine-grained channel perception and parameter adaptive selection are achieved, significantly reducing latency and feedback overhead while ensuring reliability.
[0073] In step S300 of some embodiments of the present invention, based on joint source-channel coding, the information bits are classified, and polar sub-channels are matched according to the importance of the information bits; based on joint source-channel coding, the key frames and differential frames in the multimedia data are compressed;
[0074] Specifically, the information bits are divided into J importance levels S1,..., J , and each level has a weight α j , ∑ j α j = 1. The reliability order of the Polar sub-channels is π(i), i = 1... N, and the optimal α1K polar sub-channels are allocated to the highest importance level S1, and the sub-optimal α2K to S2. The information mapping L j is expressed as:
[0075]
[0076] where: K represents the total number of information bits; α1 ≥ α2 ≥ … ≥ α J , which can be optimized according to the service SLA:
[0077]
[0078] w j is the service importance weight, and BLER j (α) is the error rate of the j-th level, which can be obtained by fitting the simulation curve.
[0079] Next, for the multimedia key frame and differential frame scenarios: use the configuration C1 (Polar + HP / QPSK) key frame coding; differential frame processing: only send the parity bits, where H(.) represents the conditional entropy, which can be statistically calculated from the measured data; receiver reconstruction: use the decoded key frames and the received parity bits, through the maximum a posteriori estimation:
[0080]
[0081] or quickly recover based on sparse representation and compressive sensing algorithms.
[0082] It can be understood that through the software-defined ECC modular architecture and the joint source-channel coding strategy, the system can dynamically switch the optimal FEC link according to the service and the channel, and optimize the redundancy across layers using the service characteristics, achieving the transmission requirements of simultaneously meeting low latency, high reliability, strong security, and high energy efficiency.
[0083] In step S400 of some embodiments of the present invention, reducing the undetected errors and identifying the tampered data in the target communication system by the soft output decoding algorithm includes:
[0084] S401. Detect undetected errors through the distribution threshold in the soft output successive cancellation list method;
[0085] Specifically, given the received LLR vector l = [l1,..., l N , SoSCL not only tracks the path metric:
[0086]
[0087] where, represents the path metric; m j (u j ) represents the metric value of the j-th bit on the path uj; it also maintains the soft output bit reliability of each candidate path
[0088]
[0089] where, represents the set of paths when the i-th bit on the path is assumed to be b, p is the path index, and PM represents the path metric.
[0090] The undetected error rate (UCER) can be determined by the soft output distribution threshold T UCER :
[0091]
[0092] S402. Correct undetected errors based on the soft decision random additive noise guessing decoding method;
[0093] Specifically, SGRAND (Soft Guessing Random Additive Noise Decoding) generates a sequence of hypothesized error patterns e (k) , combines the soft information l j for error correction:
[0094] 1. Generate a sequence of error bit priorities sorted by soft information;
[0095] 2. For the k-th hypothesized pattern e (k) , calculate the corrected bit:
[0096]
[0097] 3. Verify the CRC, if it passes, output; otherwise continue to the next k, with a maximum number of guesses k max . k max is less than 50;
[0098] S403. Verify the correctness of the decoded bits through polynomial cyclic redundancy check;
[0099] Specifically, after the hard decoding of all paths, they must pass the polynomial CRC(n crc , k crc ) check, such as CRC cyclic check length n crc = 16, original data length k crc = 12.
[0100] S404. Calculate the soft output distribution entropy of the decoded bits after verification: If the soft output distribution entropy is greater than the threshold, it is determined that there is tampered data.
[0101] Soft output distribution entropy of decoded bits:
[0102]
[0103] where P i represents the probability that the i-th bit is 1, H i represents the distribution entropy, represents the soft output bit reliability information of the i-th bit. If Σ i H i > H th (empirical threshold), it is regarded as tampering or burst noise.
[0104] It can be understood that the soft information of the path is defined in the MIMO broadcast / multicast scenario. Generally, the soft information of the path refers to the reliability information provided by the decoder for each possible path (or decoding hypothesis) when processing the received signal. Specifically, this information can be: the log-likelihood ratio (LLR) represents the confidence that a certain bit is "0" or "1". The path metric (PM) represents the reliability of a certain path and is usually used in algorithms such as SCL (Successive Cancellation List) decoding.
[0105] In step S500 of some embodiments of the present invention, the updating of the Polar code parameters of the receiving party based on the beamforming matrix includes:
[0106] S501. Based on the beamforming matrix, determine the optimal signal-to-interference-plus-noise ratio for each user;
[0107] S502. Based on the optimal signal-to-interference-plus-noise ratio, update the code length, number of information bits, set of frozen bits, and codebook of the Polar code for each user.
[0108] Specifically, in the MIMO broadcast / multicast scenario, the beamforming matrix W k is calculated through the uplink channel state information (or implicit CSI), and different Polar configurations are assigned to each user.
[0109] Beam matrix: W = [w1, …, w k , w k is the beam vector of the k-th user. According to the uplink CSI, the base station calculates the beamforming matrix W k of each user to maximize the minimum SINR k :
[0110]
[0111] where h k is the channel vector of the k-th user, and σ 2 represents the noise power; Polar code adaptation: Each user selects a codebook (N, K m , F m , Mm) according to the SINR and transmits in parallel in the same time slot together.
[0112] Embodiment 2
[0113] Reference Figure 3 , a second aspect of the present invention provides a Polar code secure communication system 1 based on channel coding, including:
[0114] An embedding module 11, configured to obtain the channel frequency response vector of the target communication system; generate a reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; correct errors of the reciprocal key through a broadcast channel code; and embed the error-corrected reciprocal key into the frozen bits of the Polar code;
[0115] A determination module 12, configured to determine the coding methods of the channel indication information and the channel state information based on a preset generated codebook and physical layer data hiding;
[0116] A joint coding module 13, configured to classify information bits based on joint source-channel coding and match polarization sub-channels according to the importance of the information bits; compress key frames and differential frames in multimedia data based on joint source-channel coding;
[0117] A decoding module 14, configured to receive the Polar code and reduce undetected errors and identify tampered data in the target communication system through a soft output decoding algorithm;
[0118] An update module 15, configured to calculate a beamforming matrix through uplink channel state information; and update the Polar code parameters of the receiving party based on the beamforming matrix.
[0119] Further, the embedding module 11 includes: a mapping unit, configured to map each complex channel gain in the channel frequency response vector into a plurality of intervals based on the reciprocity of the channel; and a generating unit, configured to generate a reciprocal key of the target communication system through a multi-interval quantization function.
[0120] Embodiment 3
[0121] Reference Figure 4 In a third aspect of the present invention, there is provided an electronic device, including: one or more processors; a storage device, configured to store one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the Polar code secure communication method based on channel coding in the first aspect of the present invention.
[0122] The electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0123] Generally, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or wirelessly to exchange data. Although Figure 4 the electronic device 500 with various devices is shown, it should be understood that it is not required to implement or include all the shown devices. Instead, more or fewer devices may be implemented or included. Figure 4 Each block shown in may represent one device or, as needed, multiple devices.
[0124] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by a processing device 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed. It should be noted that the computer-readable medium described in the embodiments of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, apparatus, or device. In the embodiments of the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or combined with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0125] The above-mentioned computer-readable medium can be included in the above-mentioned electronic device; or it can exist separately without being assembled into the electronic device. The above-mentioned computer-readable medium carries one or more computer programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to:
[0126] Computer program code for performing the operations of the embodiments of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, Python, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0127] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0128] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A Polar code secure communication method based on channel coding, characterized in that including: Obtain the channel frequency response vector of the target communication system; generate the reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; Correct the reciprocal key through the broadcast channel code; embed the corrected reciprocal key into the frozen bits of the Polar code; Based on the preset generation codebook and physical layer data hiding, determine the coding methods of the channel indication information and the channel state information; Based on joint source-channel coding, classify the information bits and match the polar sub-channels according to the importance of the information bits; based on joint source-channel coding, compress the key frames and differential frames in the multimedia data; Receive the Polar code and, through the soft output decoding algorithm, reduce the undetected errors in the target communication system and identify the tampered data; Calculate the beamforming matrix through the uplink channel state information; Based on the beamforming matrix, update the Polar code parameters of the receiving party.
2. The method for secure communication of Polar codes based on channel coding according to claim 1, wherein The generating the reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector includes: Based on the reciprocity of the channel, map each complex channel gain in the channel frequency response vector to multiple intervals; Generate the reciprocal key of the target communication system through the multi-interval quantization function.
3. The Polar code secure communication method based on channel coding according to claim 1, wherein The correcting the reciprocal key through the broadcast channel code includes: Determine the length and the number of information bits of the broadcast channel code; Based on the length and the number of information bits of the broadcast channel code, correct the errors of the reciprocal key through the Chien search algorithm.
4. The method for secure communication of Polar codes based on channel coding according to claim 1, wherein The determining the coding methods of the channel indication information and the channel state information based on the preset generation codebook and physical layer data hiding includes: Determine the length of the preset offline generation codebook based on the number of levels of the channel indication information; determine the coding method of the channel indication information based on the length of the preset offline generation codebook; Through the data hiding of the physical layer, embed the channel state information into the frozen bits of the Polar code.
5. The method for secure communication of Polar codes based on channel coding according to claim 1, characterized in that, The reducing the undetected errors in the target communication system and identifying the tampered data through the soft output decoding algorithm includes: Detect the undetected errors through the distribution threshold in the soft output successive cancellation list method; correct the undetected errors based on the soft decision random additive noise guessing decoding method; Verify the correctness of the decoded bits through polynomial cyclic redundancy check; Calculate the soft output distribution entropy of the decoded bits after verification: if the soft output distribution entropy is greater than the threshold, it is determined that there is tampered data.
6. The method for secure communication of Polar codes based on channel coding according to claim 1, characterized in that The updating the Polar code parameters of the receiving party based on the beamforming matrix includes: Based on the beamforming matrix, determine the optimal signal-to-interference-plus-noise ratio of each user; Based on the optimal signal-to-interference-plus-noise ratio, update the code length, the number of information bits, the frozen bit set and the codebook of the Polar code of each user.
7. A Polar code secure communication system based on channel coding according to claim 1, characterized in that, including: An embedding module, configured to obtain the channel frequency response vector of the target communication system; generate the reciprocal key of the target communication system through multi-threshold quantization of the channel frequency response vector; Correct the reciprocal key through the broadcast channel code; embed the corrected reciprocal key into the frozen bits of the Polar code; A determining module, configured to determine the coding methods of the channel indication information and the channel state information based on the preset generation codebook and physical layer data hiding; A joint encoding module, configured to classify information bits based on joint source-channel coding, and match polar sub-channels according to the importance degree of the information bits; compress key frames and differential frames in multimedia data based on joint source-channel coding; A decoding module, configured to receive a Polar code and reduce undetected errors in a target communication system and identify tampered data through a soft-output decoding algorithm; An updating module, configured to calculate a beamforming matrix through uplink channel state information; Update Polar code parameters of a receiving party based on the beamforming matrix.
8. The Polar code secure communication system based on channel coding according to claim 7, wherein The embedding module includes: A mapping unit, configured to map each complex channel gain in a channel frequency response vector into multiple intervals based on channel reciprocity; A generating unit, configured to generate a reciprocal key of a target communication system through a multi-interval quantization function.
9. An electronic device, comprising: One or more processors; A storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the Polar code secure communication method based on channel coding according to any one of claims 1 to 6.
10. A computer-readable medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the Polar code secure communication method based on channel coding according to any one of claims 1 to 6.