Dynamic encryption coding method based on serial cascade convolution

By introducing the serial cascade convolution coding method into the communication model and using the Henon mapper to generate dynamic matrices and perforation modules, the problem of insufficient security in traditional communication is solved and high-security communication with low resource consumption is achieved.

CN118590184APending Publication Date: 2024-09-03ZHENGZHOU UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410665029.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the traditional communication model, the security requirements of legitimate communication parties rely on the encryption layer of high hardware and computing resources, which leads to the problem of insufficient security in low hardware cost and computing resource equipment networking.

Method used

A dynamic encryption coding method based on serial cascade convolution is used to generate chaotic sequences through Henon mappers to create dynamic permutation matrices and perforation modules, reducing dependence on the encryption layer and realizing dynamic updates of keys and changes in coding matrices. , improve the security and reliability of communication.

Benefits of technology

It reduces the computing resource requirements of the encryption layer in traditional solutions, hides the information leakage problem of the convolutional circuit structure, and uses chaotic sequences to generate random numbers, ensuring the security and reliability of communication and reducing the bit error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590184A
    Figure CN118590184A
Patent Text Reader

Abstract

The invention provides a serial cascade convolution-based dynamic encryption coding method, which comprises the following steps of: firstly, determining an initial key and a message length by a sending end and a receiving end through a security negotiation mechanism; secondly, the sending end and the receiving end respectively transmit the initial key pair into a Henon mapper to generate a permutation matrix, and the receiving end inverts the permutation matrix to obtain an inverse matrix; then, transmitting the information to a cascade encoder by the transmitting end, and encoding the information by using the permutation matrix to obtain a code word to be transmitted; bPSK modulation is carried out on the to-be-sent code word to obtain a sending message sequence, and the sending message sequence is transmitted to a receiving end through a wireless channel; and finally, a receiving end receives the noise-added signal, transmits the noise-added signal to a cascade decoder, and decodes the noise-added signal by using the inverse matrix to obtain final estimation information. According to the method, the generation of the random number is controlled by using the chaotic sequence, the generation of an indefinite punching rate module and a random encryption matrix is realized, and the safety of the whole scheme is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication security technology, and in particular to a dynamic encryption coding method based on serial cascade convolution. Background Art

[0002] In the traditional communication model, the realization of the security requirements of the legitimate communicating parties relies on the encryption system at the application layer. However, for device networking with lower hardware costs and computing resources, this layered design model requires higher hardware and computing resource overhead. Therefore, a joint encryption and encoding design is considered to increase the security of the original encoding scheme and reduce the dependence on the encryption layer in the original model. In this new design, the encoding layer can realize dynamic key updates, so that the eavesdropper has to search the largest traversal space for each attack, while reducing the computational complexity required for the encryption layer. The encoding technology of this scheme uses the key update strategy to continuously update according to the number of messages, ensuring that each related confidentiality matrix will change, and these changes act on the coding generation matrix. From the perspective of general linear block codes, the overall analysis of the generation matrix in the scheme realizes dynamic changes. Dynamic coding realizes highly confidential communication between the legitimate communicating parties on the basis of the original minimal decoding reliability loss. Summary of the invention

[0003] In view of the deficiencies in the above-mentioned background technology, the present invention proposes a dynamic encryption coding method based on serial cascade convolution, which is an updateable coding scheme implemented with low hardware cost to achieve the reliability and security requirements of communication in embedded networks.

[0004] The technical solution of the present invention is achieved in this way:

[0005] A dynamic encryption coding method based on serial cascade convolution, the steps are as follows:

[0006] Step 1: The sender and receiver determine the initial key through a security negotiation mechanism. s0 ,key t0 ,key p0 ) and message length N;

[0007] Step 2: The sending end and the receiving end respectively pass the initial key pair into the Henon mapper to generate a permutation matrix and a puncture module. The receiving end inverts the permutation matrix to obtain an inverse matrix and a corresponding puncture module.

[0008] Step 3: The transmitter passes the information m into the cascade encoder, and uses the permutation matrix, convolutional coding and puncturing module to encode the information m to obtain the codeword to be sent;

[0009] Step 4: BPSK modulate the codeword to be sent to obtain a sending message sequence, and transmit it to the receiving end via the wireless channel;

[0010] Step 5: The receiving end receives the noisy signal and passes it into the cascade decoder. The noisy signal is decoded by the cascade of the hole filling module, the inverse matrix and the convolution decoder to obtain the final estimated information.

[0011] Step 6: After completing a round of information transmission, update the initial key and repeat the above steps using the updated initial key.

[0012] The permutation matrix includes an S matrix, an interleaver matrix, and a P matrix; the inverse matrix includes an S matrix. -1 Matrix, deinterleaving matrix, P -1 matrix.

[0013] The method of passing the initial key pair into the Henon mapper to generate a permutation matrix is:

[0014] The Henon mapper selects the Henon map as the chaos generator, and its expression is

[0015] The initial key is passed into the Henon mapper to generate a chaotic sequence pair (seq s0 ,seq t0 ,seq p0 );

[0016] The chaotic sequence seq t0 The x component seq in t0_x After sorting, get the random sequence rdm according to the index value t0_x ; Similarly, according to the chaotic sequence seq s0 、seq p0 The x components in the random sequence rdm are obtained respectively s0_x 、rdm p0_x ;

[0017] According to the above random sequence rdm s0_x 、rdm t0_x 、rdm p0_x The S matrix, the interleaver matrix T, and the P matrix are obtained respectively;

[0018] The chaotic sequence seq t0 The y component seq in t0_y Pass it into the perforation module and get the internal perforation decision formula: When the chaotic value of the i-th bit is less than the decision value pun, the bit is set to '1' to indicate puncturing, otherwise it is set to '0' to obtain the puncturing decision sequence.

[0019] The method of encoding information m to obtain a codeword to be sent is as follows: after multiplying information m with the S matrix, the information m is input to the encoder G1 for encoding, and after the encoding is completed, the encoder G1 adds a tail bit to return the encoder state to '0' to obtain codeword C1; multiplying codeword C1 with the interleaver matrix, the information m is input to the encoder G2 for encoding, and after the encoding is completed, the encoder G2 adds a tail bit to obtain codeword C2; and multiplying codeword C2 with the P matrix to obtain codeword C3;

[0020] After multiplying the punctured decision sequence with the P matrix, the codeword C3 is punctured to obtain the codeword to be sent.

[0021] The decoding process of the noise-added signal is performed to obtain the final estimation information The method is:

[0022] According to the puncture decision sequence, the corresponding positions are filled with '0' to obtain the puncture sequence. -1 The matrix is ​​multiplied and input into decoder E2 to obtain the external information sequence. The external information sequence is multiplied by the deinterleaving matrix and input into decoder E1 to obtain the prior information of decoder E2. After interleaving again, it is input into decoder E1 to realize iterative decoding. After multiple iterations, decoder E1 outputs the information sequence of soft decision.

[0023] The soft-decision information sequence is hard-determined. If it is greater than 0, it is judged as '1', otherwise it is judged as '0'. The sequence after judgment is the same as S -1 Matrix multiplication obtains the final estimated information

[0024] The final estimated information Compared with the original information m, the bit error rate is 0.

[0025] The method for updating the initial key is:

[0026] key tI =0.5·(key tI-1 +[x 2N ,y 2N ]);

[0027] key sI =0.5·(key sI-1 +[x 2N ,y 2N ]);

[0028] key pI =0.5·(key pI-1 +[x 2N ,y 2N ]);

[0029] Among them, [x 2N ,y 2N] represents the last set of values ​​of the chaotic sequence generated in round I-1, (key sI ,key tI ,key pI ) represents the updated key of round I, (key sI-1 ,key tI-1 ,key pI-1 ) represents the key of round I-1.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] 1) The present invention reduces the reliance on encryption layers in traditional solutions, allowing devices to use fewer computing resources to achieve secure and reliable communications.

[0032] 2) The present invention converts the serial convolutional code into a general linear block code, hiding the information leakage problem about the encoder that may be generated by the original convolution circuit structure.

[0033] 3) The chaotic sequence is used to control the generation of random numbers, realizing the indeterminate perforation rate module and random encryption matrix generation, thus ensuring the security of the overall solution. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a system flow chart of the present invention.

[0036] Figure 2 This is a key update flow chart of the present invention.

[0037] Figure 3 It is the system feedback convolutional code in the example of the present invention.

[0038] Figure 4 It is a flowchart of the serial cascade decoding iteration of the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0040] like Figure 1 As shown, a dynamic encryption coding method based on serial cascade convolution, the steps are as follows:

[0041] Step 1: The sender and receiver determine the initial key through a security negotiation mechanism. s0 ,key t0 ,key p0 ) and message length N;

[0042] Step 2: The sending end and the receiving end respectively pass the initial key pair into the Henon mapper to generate a permutation matrix and a puncture module. The receiving end inverts the permutation matrix to obtain an inverse matrix and a corresponding puncture module.

[0043] The Henon mapper selects the Henon map as the chaos generator, and its expression is

[0044] The initial key is passed into the Henon mapper to generate a chaotic sequence pair (seq s0 ,seq t0 ,seq p0 );

[0045] The chaotic sequence seq t0_x After sorting, get the random sequence rdm according to the index value t0_x ; According to the random sequence rdm t0_x Determine the position index of '1' in each column of the permutation matrix and obtain the interleaver matrix T. Similarly, according to the chaotic sequence seq s0 、seq p0 The x components in the random sequence rdm are obtained respectively s0_x 、rdm p0_x ; Then according to the above random sequence rdm s0_x 、rdm p0_x Get the S matrix and P matrix.

[0046] The chaotic sequence seq t0 The x component seq in t0_x After sorting, get the random sequence rdm according to the index value t0_x ; According to the random sequence rdm t0_x Determine the position index of '1' in each column of the permutation matrix and obtain the interleaver matrix T. Similarly, according to the chaotic sequence seq s0 、seq p0 The x components in the random sequence rdm are obtained respectively s0_x 、rdm p0_x ; Then according to the above random sequence rdm s0_x 、rdm t0_x 、rdm p0_xThe S matrix, interleaver matrix T, and P matrix are obtained respectively.

[0047] The chaotic sequence seq t0 The y component seq in t0_y Pass it into the perforation module and get the internal perforation decision formula: When the chaotic value of the i-th bit is less than the decision value pun, the bit is set to '1' to indicate puncturing, otherwise it is set to '0' to obtain the puncturing decision sequence.

[0048] Step 3: The transmitter passes the information m into the cascade encoder, and uses the permutation matrix, convolutional coding and puncturing module to encode the information m to obtain the codeword to be sent; after the information m is multiplied by the S matrix, it is passed to the encoder G1 for encoding. After the encoding is completed, the encoder G1 adds the end bit to return the encoder state to '0' to obtain the codeword C1 (length is 2N+2); the codeword C1 is multiplied by the interleaver matrix and passed to the encoder G2 for encoding. After the encoding is completed, the encoder G2 adds the end bit to obtain the codeword C2 (length is 4N+6); the codeword C2 is multiplied by the P matrix to obtain the codeword C3.

[0049] According to seq t0 The obtained sequence determines the puncturing decision of the parity bit of codeword C3 (ignore the end bit) in the puncturing module, '1' means puncturing, '0' means non-puncturing (note that the puncturing decision sequence needs to be multiplied by the P matrix), and the codeword to be sent is obtained.

[0050] Step 4: Perform BPSK modulation on the codeword to be sent to obtain a sending message sequence, which is then transmitted to the receiving end via the wireless channel.

[0051] Step 5: The receiving end receives the noisy signal and passes it into the cascade decoder. The noisy signal is decoded by the cascade of the hole filling module, the inverse matrix and the convolution decoder to obtain the final estimated information.

[0052] Since the receiving end has the same initial key as the sending end, it can control the generation of the same permutation matrix (S matrix, interleaver matrix, P matrix). Since the above matrices are all permutation matrices, the inverse matrix (S matrix) can be obtained by permuting them. -1 Matrix, deinterleaving matrix, P -1 matrix and hole-filling modules).

[0053] According to the puncture decision sequence, the corresponding positions are filled with '0' to obtain the puncture sequence. -1 The matrix is ​​multiplied and input into decoder E2 to obtain the external information sequence. The external information sequence is multiplied by the deinterleaving matrix and input into decoder E1 to obtain the prior information of decoder E2. After interleaving again, it is input into decoder E1 to realize iterative decoding. After multiple iterations, decoder E1 outputs the information sequence of soft decision.

[0054] The soft-decision information sequence is hard-determined. If it is greater than 0, it is judged as '1', otherwise it is judged as '0'. The sequence after judgment is the same as S -1 Matrix multiplication obtains the final estimated information

[0055] The final estimated information Compared with the original information m, the bit error rate is 0.

[0056] Step 6: After the first round of message transmission is completed, the sender starts to update the initial key for the next round of information transmission, such as Figure 2 As shown, select (seq s0 ,seq t0 ,seq p0 ) The last pair of values ​​is passed to f key The operator and the initial key (key s0 ,key t0 ,key p0 ) to perform relevant operations (the parameter settings of the operator are also kept secret from eavesdroppers) to obtain (key s1 ,key t1 ,key p1 ) is the initial key for the second round of information transmission. Then, the above steps are repeated to achieve that the transmission system of each round of messages can update a new initial key to control the generation of different chaotic sequences, and finally generate different S matrices, interleaver matrices, P matrices and perforation modules.

[0057] The method to update the initial key is:

[0058] key tI =0.5·(key tI-1 +[x 2N ,y 2N ]);

[0059] key sI =0.5·(key sI-1 +[x 2N ,y 2N ]);

[0060] key pI =0.5·(key pI-1 +[x 2N ,y 2N ]);

[0061] Among them, [x 2N ,y 2N ] represents the last set of values ​​of the chaotic sequence generated in round I-1, (key sI ,key tI ,key pI) represents the updated key of round I, (key sI-1 ,key tI-1 ,key pI-1 ) represents the key of round I-1.

[0062] Specific example analysis:

[0063] Parameter settings:

[0064] 1. The legal double method determines that the transmission code length is 100 bits. At this time, the random sequence required by the S matrix is ​​100 bits, the random sequence required by the interleaver matrix is ​​204 bits, the random sequence required by the P matrix is ​​408 bits, and the random bit sequence required by the puncturing module is 204 bits. Therefore, the interleaver matrix and the puncturing module can be generated by the same initial value of seq t The S and P matrices are controlled by seq s With seq p control.

[0065] 2. The convolution encoder selects the system feedback convolution code, whose generating polynomial is [11 / (1+x 2 )], the structure is as Figure 3 As shown. D1 and D2 represent the status register. When the information is transmitted to the encoder, the register starts at (0,0). When the last bit of information is transmitted and the codeword is output, two end bits need to be added to ensure that the state can be reset to zero. The adding rules are as follows (the final state represents the state after the last bit of information is output, and the added bits represent the two bits of redundancy added after the valid information):

[0066] Final state (D1:0,D2:0) (D1:0,D2:1) (D1:1,D2:0) (D1:1,D2:1) Adding bits (0,0) (1,0) (0,1) (1,1)

[0067] 3. Henon mapper selects Henon map as the chaos generator, and its expression is Set the parameters a = 1.4, b = 0.3. At this time, the two-dimensional mapping can enter a chaotic state after multiple recursions. The two communicating parties specify the initial key (seq s0 ,seq t0 ,seq p0 )=([0,0],[0,0],[0,0]). Set the number of control iterations to 40 (this data is also kept secret from eavesdroppers).

[0068] f key The operation part is used to update the initial key and specify the key tI =0.5·(key tI-1 +[x 2N ,y 2N ]) is the key update function for the Ith round of information transmission, which occurs in the I-1th round of information transmission. 2N,y 2N ] represents the last set of values ​​of the chaotic sequence generated in round I-1, key sI With key pI Update in the same way.

[0069] After completing the above parameter settings, the information to be sent m is passed into the cascade encoder:

[0070] m=[1,1,0,1,1,0,0,1,1,1,0,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,0,1,0,1,0,0,0,0,1,1,0,1,0,0,0,1,1,0,0,0,1,1,1 ,0,1,1,0,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,1,1,1,1,0,1,1,0,1,0,0,1,1,1,0,1,0,0,0];

[0071] The initial key ([0,0], [0,0], [0,0]) is passed into the Henon mapper to generate a chaotic sequence:

[0072] seq t0_x=[-1.12818217,-0.40928024,0.42703091,0.62191837,0.58661383,0.70481341,0.48051743,0.88818823,0.03972557,1.26424710,-1.22573135,-0.72411014,-0.10178909,0.76826153,0.14314718,1.20179090,-0.97907776,0.01850671,0.70579717,0.30814250,1.07880663,-0.53691050,0.92005995,-0.34618760,1.10823379,-0.82331127,0.38349210,0.54711395,0.69598049,0.48598981,0.87813361,0.06623086,1.25729894,-1.19325163,-0.61619955,0.11044187,0.79806377,0.14146448,1.21140205,-1.01205356,-0.07053277,0.68941911,0.31342197,1.06929907,-0.50673410,0.96129850,-0.44575295,1.01021558,-0.56247562,0.86013433,-0.20450618,1.19948841,-1.07563329,-0.25993523,0.58271716,0.44663642,0.89553742,0.01120875,1.26848533,-1.24931444,-0.80455558,-0.28102789,0.64806598,0.32770632,1.04407179,-0.42780838,1.05699353,-0.69247196,0.64577367,0.20842532,1.13291454,-0.73436592,0.58486374,0.30079839,1.04878759,-0.44969804,1.03151661,-0.62454655,0.76337323,-0.00319814,1.22899765,-1.11556876,-0.37359182,0.46993019,0.57875432,0.67203986,0.54133369,0.79135293,0.28566485,1.12315971,-0.68038337,0.68885778,0.13154993,1.18242979,-0.91793133,0.17509185,0.68170058,0.40192560,0.97834832,-0.21945392,1.22608046,-1.17041880,-0.55000809,0.22536190,0.76389439,0.25066007,1.14120566,-0.74809247,0.55886241,0.33831419,1.00741964,-0.31935781,1.15944072,-0.97783123,0.00921673,0.70653170,0.30390315,1.08265953,-0.54984139,0.90154209,-0.30284180,1.14206420,-0.91688745,0.16566364,0.68651155,0.38988174,0.99314258,-0.26390054,1.20044188,-1.09665515,-0.32358097,0.52441696,0.51790731,0.78180592,0.29966351,1.10882427,-0.63138872,0.77453488,-0.02928262,1.23116000,-1.13084173,-0.42097621,0.41263813,0.63532883,0.55869163,0.75360777,0.37251296,1.03181007,-0.37873094,1.10873105,-0.83461764,0.35739807,0.57078797,0.65110095,0.57773096,0.72804799,0.43124386,0.95805462,-0.15564297,1.25350176,-1.24646622,-0.79909871,-0.26792211,0.65977522,0.31019868,1.06322006,-0.48955205,0.98344033,-0.50088245,0.94379558,-0.39731487,1.06213593,-0.69858028,0.63542061,0.22516283,1.11964856,-0.68750921,0.67415809,0.15746246,1.16753523,-0.86115518,0.31203704,0.60533949,0.58060085,0.70966555,0.46910498,0.90481639,-0.00543830,1.27140351,-1.26468514,-0.85777885,-0.40950393,0.50789549,0.51600786,0.77959889,0.30391815,1.10456693,-0.61691989,0.79854387,-0.07781720,1.23108543,-1.14514505,-0.46657444,0.35168808];.

[0073] seq t0_y =[0.37263279,-0.33845465,-0.12278407,0.12810927,0.18657551,0.17598415,0.21144

[0074] 402,0.14415523,0.26645647,0.01191767,0.37927413,-0.36771940,-0.21723304,-0.03053673,0.23047846,0.04294415,0.36053727,-0.29372333,0.00555201,0.21173915,0.09244275,0.32364199,-0.16107315,0.27601799,-0.10385628,0.33247014,-0.24699338,0.11504763,0.16413419,0.20879415,0.14579694,0.26344008,0.01986926,0.37718968,-0.35797549,-0.18485987,0.03313256,0.23941913,0.04243934,0.36342062,-0.30361607,-0.02115983,0.20682573,0.09402659,0.32078972,-0.15202023,0.28838955,-0.13372588,0.30306467,-0.16874268,0.25804030,-0.06135185,0.35984652,-0.32268999,-0.07798057,0.17481515,0.13399093,0.26866123,0.00336263,0.38054560,-0.37479433,-0.24136668,-0.08430837,0.19441979,0.09831189,0.31322154,-0.12834251,0.31709806,-0.20774159,0.19373210,0.06252760,0.33987436,-0.22030978,0.17545912,0.09023952,0.31463628,-0.13490941,0.30945498,-0.18736396,0.22901197,-0.00095944,0.36869930,-0.33467063,-0.11207755,0.14097906,0.17362630,0.20161196,0.16240011,0.23740588,0.08569946,0.33694791,-0.20411501,0.20665733,0.03946498,0.35472894,-0.27537940,0.05252756,0.20451017,0.12057768,0.29350449,-0.06583618,0.36782414,-0.35112564,-0.16500243,0.06760857,0.22916832,0.07519802,0.34236170,-0.22442774,0.16765872,0.10149426,0.30222589,-0.09580734,0.34783222,-0.29334937,0.00276502,0.21195951,0.09117095,0.32479786,-0.16495242,0.27046263,-0.09085254,0.34261926,-0.27506623,0.04969909,0.20595346,0.11696452,0.29794277,-0.07917016,0.36013256,-0.32899655,-0.09707429,0.15732509,0.15537219,0.23454177,0.08989905,0.33264728,-0.18941662,0.23236047,-0.00878478,0.36934800,-0.33925252,-0.12629286,0.12379144,0.19059865,0.16760749,0.22608233,0.11175389,0.30954302,-0.11361928,0.33261931,-0.25038529,0.10721942,0.17123639,0.19533029,0.17331929,0.21841440,0.12937316,0.28741639,-0.04669289,0.37605053,-0.37393986,-0.23972961,-0.08037663,0.19793257,0.09305960,0.31896602,-0.14686561,0.29503210,-0.15026473,0.28313867,-0.11919446,0.31864078,-0.20957408,0.19062618,0.06754885,0.33589457,-0.20625276,0.20224743,0.04723874,0.35026057,-0.25834655,0.09361111,0.18160185,0.17418026,0.21289967,0.14073149,0.27144492,-0.00163149,0.38142105,-0.37940554,-0.25733366,-0.12285118,0. 15236865,0.15480236,0.23387967,0.09117545,0.33137008,-0.18507597,0.23956316,-0.02334516,0.36932563,-0.34354351,-0.13997233];.

[0075] Sort the chaotic sequence and get the random sequence according to the index value:

[0076] rdm t0_x =[190,60,161,11,34,102,202,141,1,82,130,53,40,17,114,95,123,181,191,151,26,61,16

[0077] 2,108,72,12,173,68,177,91,137,78,198,35,49,103,119,22,45,169,167,203,76,47,66,142,192,2,171,149,83,24,131,112,121,62,163,128,54,100,51,159,13,200,41,139,188, 80,115,58,18,9,32,36,93,38,15,179,124,96,70,175,104,106,89,135,74,117,196,20,165,182,43,64,110,204,152,147,27,126,98,143,3,157,56,186,84,7,30,193,194,133,132, 87,28,145,109,153,155,85,184,55,73,5,183,4,144,174,69,63,154,164,86,178,97,125,92,42,29,6,19,116,185,156,146,79,105,14,138,195,134,88,37,199,50,31,8,57,120,18 7,23,170,158,46,99,168,127,111,48,77,148,65,75,67,172,166,44,21,118,197,25,150,136,176,90,71,107,122,113,180,94,52,129,16,39,101,81,201,140,160,33,10,59,189];

[0078] Similarly, follow the above steps to get the value of seq s0_x 、seq p0_x A random sequence of:

[0079] rdm s0_x =[60,11,34,1,82,53,40,17,95,26,61,72,12,68,91,78,35,49,22,45,76,47,66,2,83,24,62,5

[0080] 4,100,51,13,41,80,58,18,9,32,36,93,38,15,96,70,89,74,20,43,64,27,98,3,56,84,7,30,87,28,85,55,73,5,4,69,63,86,97,92,42,29,6,19,79,14,88,37,50,31,8,57,23,46,99,48,77,65,75,67,44,21,25,90,71,94,52,16,39,81,33,10,59];

[0081] rdm p0_x =[210,369,404,308,228,190,60,161,11,273,34,255,102,378,300,202,361,328,141,1,82

[0082] ,130,286,53,221,321,279,350,40,240,17,114,211,293,95,123,370,405,309,229,181,191,261,151,26,61,162,392,249,398,344,108,72,384,12,336,340,173,68,177,91,274,137,78,198,35,357,212,217,256,49,103,119,379,371,406,22,388,245,45,169,167,301,310,203,362,230,355,76,47,329,66,142,192,2,171,149,83,247,390,24,131,112,121,287,348,62,163,284,128,54,222,326,298,376,100,219,51,271,322,280,159,306,351,13,200,208,41,402,359,241,367,139,226,188,80,115,58,18,9,275,32,253,36,277,93,38,15,319,179,124,238,294,96,257,291,342,70,259,338,175,104,380,213,106,396,382,386,334,89,135,74,117,196,215,243,20,165,372,182,43,407,353,64,110,262,346,302,204,363,152,147,282,324,27,126,296,330,98,400,374,143,269,311,3,157,304,224,231,393,251,206,56,365,186,84,7,250,30,394,289,317,193,399,236,194,133,132,332,87,288,28,345,145,109,153,267,155,85,263,184,55,73,5,223,232,315,234,385,312,183,265,313,4,264,323,144,174,337,281,233,69,331,314,341,63,154,266,164,86,178,352,97,364,295,125,205,92,42,235,303,316,408,29,242,373,6,19,116,185,156,268,214,146,381,79,105,14,138,258,195,134,358,88,333,37,395,199,276,290,237,318,218,50,252,31,8,57,120,187,225,366,23,401,389,246,207,170,305,158,46,270,99,375,168,297,325,283,127,347,111,48,356,77,148,65,75,354,67,1 72,166,44,387,244,21,118,248,216,391,197,25,150,136,176,90,339,335,71,383,343,107,122,397,113,180,260,349,94,292,285,220,52,129,16,239,39,327,299,278,320,377,101,81,201,140,360,272,160,254,33,307,10,59,403,209,189,227,368];

[0083] According to the above random sequence, the S matrix, the interleaver matrix I and the P matrix are obtained.

[0084] Seq t0_y Enter the perforation module, the internal perforation decision formula is When the chaotic value of the i-th bit is less than the decision value pun, the position is set to '1' to indicate puncturing, otherwise it is set to '0', and the puncturing decision sequence is obtained:

[0085] pct=[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0 ,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1, 0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 ... 0,0,1 ... ,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0];

[0086] At this point, all modules are arranged, and the information m is permuted by the S matrix, encoded by the encoder G1, permuted by the interleaver matrix, encoded by the encoder G2, permuted by the P matrix, and permuted by the puncturing module (at this point, the internal puncturing sequence also needs to undergo a P matrix permutation to ensure that the puncturing acts on the check bit) to obtain the transmission codeword, which is modulated to obtain the final transmission codeword C:

[0087] C=[1,-1,1,-1,1,-1,-1,-1,-1,1,1,-1,1,-1,1,1,1,1,-1,1,-1,-1, 1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,-1,-1,-1,1,1,-1,-1,-1,1,1,1,1 ,-1,1,1,-1,-1,1,-1,-1,1,-1,1,1,1,-1,-1,-1,1,1,-1,-1,1,1,1, -1,1,-1,1,-1,-1,1,-1,1,1,-1,-1,1,1,1,-1,1,-1,-1,1,-1,1,1,-1 ,1,1,1,- ... 1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,1,-1,1,-1,1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1,-1 -1,1,1,1,-1,-1,-1,-1,-1,-1,-1,1,1,-1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1;

[0088] At this time, the codeword is 372 bits, the number of puncturing is 40 bits, and the above codeword is transmitted into the Gaussian white noise channel.

[0089] The receiving end receives the codeword and obtains the noisy signal C N :

[0090] C N =[2.91339305,-1.15021213,0.05289299,-2.68145444,1.48677089,-0.10672503,-0.461611

[0091] 28,-1.03410433,-1.54424060,0.90303021,1.80424614,0.19381099,1.63591023,-0.27249969,0.92108179,1.04679092,0.59137928,0.96271221,-0.63218958,2.42678160,-0.50434522,0.24849857,0.50935031,1.62353412,0.03666181,-0.36114874,-0.33912378,-0.89759760,-2.36666384,1.18439919,0.17295856,1.06531198,-0.47971142,0.40144897,-0.28378164,-0.56431555,-1.75661446,1.63743576,0.48082370,-2.55773703,-1.36609783,-0.88840165,0.73133176,1.04368357,2.03580167,0.86108526,-1.08069585,0.83366007,0.13038084,-1.05328378,-0.34813135,0.72905284,-1.59806885,-1.35103106,1.53970734,-1.05378910,1.46098101,0.70000001,0.70774214,-0.91270915,-0.80026579,-0.92192109,0.23570736,1.20800356,-1.12046157,-1.64993067,1.96307364,-0.11376966,0.30913906,-0.18286392,1.47841095,-0.95720733,0.98465058,-0.32906908,0.29551354,0.88617608,-0.12479835,1.27779087,-0.15684426,-1.16912137,-1.27576456,0.38885748,0.91593194,1.04516874,-0.07751785,0.38263472,-0.69332887,-2.04924776,1.57425793,-0.91897617,0.44519382,0.40638673,0.01260059,1.89986383,1.99436074,0.62420255,-0.47027915,-1.07741584,1.45147876,-0.37065101,0.66209213,-0.99032070,-1.15351238,-1.85103920,-1.20956112,-0.44796335,-1.39522678,-0.86125386,-1.02472458,-2.33074701,-0.65899705,2.09876871,0.47801027,1.28507659,-2.79481193,-2.28878360,-0.43425177,-0.60130672,2.56357463,0.35700022,0.19528277,-1.56718707,-0.52091379,-0.95101606,1.35821925,-0.67374802,1.12145378,-0.64287528,1.44935850,1.65549635,0.15206335,-1.33967605,1.64748745,1.69170048,1.59482921,-2.01254334,1.54130068,-1.07990114,1.15945532,-0.42269341,1.34376973,0.50667474,0.09381038,-2.09271209,0.22842091,0.86855960,-0.50158435,-0.47153311,-2.94974907,2.24429941,-1.25818827,0.29623827,2.29797677,0.51066095,-0.34795090,-0.33594076,1.39966128,1.45729334,0.74395254,-1.00463585,-1.10062785,1.13475673,1.37221477,-0.97681858,-1.66133172,-1.22523686,0.77417821,-1.64769838,-1.12832121,0.63160979,0.21662260,0.11894506,1.07583710,-0.47496757,1.23976997,-1.05941693,-0.67027585,1.59695667,0.10654002,0.60717453,-0.61326822,-1.96510343,0.42845137,-1.16516785,1.89653806,0.14338182,1.16456052,-0.65737911,0.17185654,-0.73880323,-1.03702868,-0.87980328,0.05596242,-1.89874602,-1.07788114,0.34848714,1.19493645,0.89093640,-1.55935712,2.67062544,-1.39384273,-0.58633653,-1.26716906,0.27352160,-1.69528569,2.14983288,-0.35292311,0.56500270,0.41351352,-3.11135330,1.87198109,2.51580268,-0.82958749,0.42085051,-0.31530839,1.14741457,-1.08788259,-0.20681316,-0.64267649,-0.34428882,2.01896965,-0.46634559,0.18945793,-0.90127958,-0.04075747,0.63410023,0.83999527,2.18696254,-0.77498441,1.00929211,1.32776806,0.99323200,-0.61082818,-0.09324428,-0.03661323,-1.54530225,-0.06981007,0.97914779,1.04777522,-1.95208848,-1.22076024,-0.34393019,1.76653778,-0.87778880,1.26131184,1.32440448,-1.48214493,-0.81765757,-1.68167902,1.07686145,-1.60850356,-2.14915520,0.61275946,2.77609418,2.27206257,-0.84003918,0.30459485,-2.38106851,-1.39036546,-1.08880675,0.58695184,-0.53953021,2.16156410,1.44439690,1.69940442,1.29405485,-0.19992181,-0.79055030,1.28849360,-2.33621375,1.05468472,1.73288384,-0.74018454,0.80671819,-0.95505563,-0.43680015,0.51287910,1.07374490,-1.03413878,-0.95962697,-0.22055413,-0.87695309,0.37690266,1.90612791,-0.65875507,-0.59015139,-0.28098286,-1.06234045,-2.75195731,0.65120002,-1.43248321,0.04394008,0.48775910,1.17535257,-1.20585480,1.20196419,1.09911672,-0.93044095,1.90358331,1.06085582,1.89002271,-1.25672319,-1.29188688,-0.99780586,1.41455285,1.25589274,1.45631024,-1.39931639,0.43537499,1.82335856,-2.23246519,0.10628150,-0.50923214,0.65684201,-1.90726410,-1.43818518,0.48843533,1.39570659,1.66305532,-1.60751936,-0.31910541,-0.07762348,0.46404401,0.64546401,0.62495086,1.70067469,0.31597994,1.14333467,-1.19394091,0.59513927,-0.84681992,1.48189323,-2.05062364,-0.14151342,-1.62316781,-0.88736152,-2.15169122,-1.31154893,-1.73886455,0.21236541,0.80866237,1.03306803,0.20837284,-2.03943571,-2.39772012,0.09290044,0.40188771,-0.97616707,-1.38862673,3.65764467,-1.05345152,-0.66050171,-1.45576542,-0.63666971,0.85384048,-2.42946241,-1.52116690,2.76756833,1.25187088,1.98545629,1.46795874,-0.08629134,1.90980223,1.56713531,-2.12735274,0.29748070,-1.52108634,-1.94481492,-0.99496420,-0.21541859,1.57314038,-2.56302185];.

[0092] According to the permuted puncturing pattern, the original punctured check bits are filled with '0' and multiplied by P -1 Matrix, get the codeword C to be decoded R :

[0093] C R =[2.42678160,1.04516874,-0.61326822,0.00000000,-1.08788259,0.30459485,-1.0370286

[0094] 8,0.37690266,-1.56718707,-0.08629134,-1.54424060,0.83366007,-0.86125386,-0.19992181,1.44935850,-2.03943571,-2.36666384,0.19528277,-2.38106851,-0.34795090,0.48843533,-0.11376966,-2.75195731,0.00000000,-0.07762348,0.00000000,0.21662260,2.14983288,2.77609418,0.05596242,-0.87695309,-0.95101606,1.98545629,1.80424614,0.70000001,0.00000000,0.80671819,-0.64287528,0.09290044,-0.89759760,-2.33074701,-1.68167902,0.74395254,0.65684201,1.47841095,0.00000000,-1.16912137,1.25589274,0.23570736,-0.95962697,0.66209213,1.03306803,0.50935031,0.00000000,-0.31530839,1.16456052,1.90612791,0.35700022,1.90980223,-0.46161128,0.73133176,1.89986383,0.97914779,1.13475673,0.43537499,0.38885748,0.10628150,-0.34813135,-0.09324428,0.00000000,-1.19394091,0.00000000,1.14741457,2.24429941,1.82335856,-0.15684426,1.45631024,-1.05378910,1.69940442,-0.60130672,-1.45576542,0.00000000,-0.69332887,-0.73880323,-0.82958749,-0.34393019,0.27352160,1.73288384,-0.47153311,1.70067469,-1.59806885,0.00000000,1.12145378,-1.31154893,-0.47971142,1.69170048,1.26131184,1.23976997,1.09911672,0.00000000,-0.66050171,1.63591023,1.20800356,1.34376973,1.29405485,-2.09271209,1.48189323,0.00000000,0.41351352,1.37221477,1.41455285,0.44519382,-0.14151342,1.18439919,2.56357463,-1.39036546,-1.25818827,1.39570659,-1.12046157,-0.65875507,0.40638673,0.00000000,0.40144897,0.00000000,-1.48214493,0.11894506,-1.29188688,0.62420255,0.20837284,-0.50434522,-0.91897617,-0.58633653,-1.39384273,-2.33621375,-2.94974907,0.64546401,1.53970734,0.00000000,-2.79481193,0.85384048,-0.63218958,0.91593194,1.59695667,-0.77498441,0.56500270,0.00000000,-1.12832121,-1.39931639,0.38263472,0.46404401,-0.88840165,-1.64769838,-3.11135330,1.04777522,2.51580268,0.58695184,-1.96510343,0.00000000,-1.20956112,2.76756833,-1.03410433,1.04368357,1.99436074,-1.22076024,-0.33594076,0.00000000,0.98465058,1.90358331,-0.95720733,1.17535257,-0.07751785,-0.50923214,-1.05328378,1.00929211,-0.42269341,0.62495086,0.72905284,1.76653778,0.15206335,-1.62316781,0.48082370,1.45729334,-0.90127958,0.00000000,-1.08880675,0.17185654,-0.59015139,-0.43425177,0.29748070,-0.10672503,-2.55773703,0.00000000,1.19493645,2.67062544,1.28849360,0.29623827,-0.31910541,1.46098101,-0.43680015,-1.02472458,-0.63666971,1.04679092,0.88617608,-1.22523686,-0.81765757,0.00000000,0.48775910,0.00000000,-2.12735274,2.91339305,0.17295856,-0.91270915,0.09381038,2.16156410,2.29797677,1.66305532,-0.80026579,0.00000000,-0.37065101,0.80866237,1.62353412,-0.47027915,-0.20681316,0.42845137,-0.28098286,-2.28878360,-1.52108634,1.48677089,1.63743576,0.00000000,-1.16516785,-0.64267649,-0.61082818,2.01896965,1.07686145,-1.55935712,1.07374490,-1.33967605,-2.39772012,0.00000000,0.47801027,2.27206257,0.51066095,-1.43818518,-0.18286392,0.04394008,-2.04924776,0.00000000,0.86108526,-0.87980328,0.14338182,-0.22055413,1.35821925,1.25187088,0.19381099,-0.92192109,1.59482921,-0.79055030,-1.07990114,-0.88736152,-1.36609783,0.00000000,0.42085051,0.83999527,-0.04075747,-1.95208848,1.87198109,-0.53953021,0.10654002,1.20196419,-0.99032070,-1.52116690,0.90303021,-1.35103106,-0.52091379,0.00000000,-0.67374802,-1.38862673,-0.36114874,-1.85103920,0.99323200,0.63160979,-1.25672319,0.00000000,0.21236541,0.24849857,0.01260059,-1.69528569,-1.07788114,0.51287910,-2.01254334,-1.73886455,1.06531198,1.64748745,1.32440448,1.07583710,1.06085582,-1.07741584,-0.97616707,0.92108179,-0.32906908,-1.66133172,-1.60850356,0.00000000,-1.20585480,-0.44796335,1.46795874,-2.68145444,-1.75661446,0.29551354,0.60717453,0.18945793,0.63410023,-1.54530225,-0.34428882,-2.14915520,0.34848714,-1.03413878,1.65549635,3.65764467,0.03666181,-1.15351238,2.18696254,0.00000000,1.89002271,0.00000000,0.40188771,0.96271221,-1.27576456,-0.47496757,-0.03661323,-1.26716906,-0.74018454,-0.50158435,1.14333467,0.13038084,1.32776806,1.15945532,0.31597994,0.00000000,-0.06981007,1.54130068,-0.84681992,-1.08069585,-0.35292311,-0.97681858,-0.99780586,0.00000000,-2.15169122,-0.33912378,-1.39522678,-0.87778880,-1.10062785,-2.23246519,1.27779087,0.00000000,0.70774214,1.05468472,2.09876871,-2.42946241,0.59137928,-0.12479835,0.77417821,0.00000000,-0.65737911,-1.06234045,1.28507659,-1.94481492,-1.150212 13,-0.28378164,1.96307364,1.39966128,-0.84003918,-0.67027585,-0.93044095,1.45147876,-1.05345152,-0.27249969,-1.64993067,0.50667474,1.44439690,0.00000000,0.59513927,0. 00000000,-0.46634559,0.86855960,-1.90726410,0.30913906,-1.43248321,1.57425793,-1.60751936,2.03580167,1.89653806,-1.89874602,-0.95505563,0.22842091,-2.05062364,0.00000 000,0.89093640,-1.05941693,0.65120002,-0.65899705,1.56713531,0.05289299,-0.56431555,0.00000000,-1.00463585,0.61275946,-0.99496420,-0.21541859,1.57314038,-2.56302185];.

[0095] The codeword to be decoded is passed into the cascade decoder (the interleaving matrix and the corresponding deinterleaving matrix are passed in at the same time), and finally multiplied by S -1 Matrix gets estimated information Compared with the original information, the bit error rate is 0.

[0096] Update the initial key to get (key s1 ,key t1 ,key p1 ):

[0097] (key s1 ,key t1 ,key p1)=([-0.21945391 / 2,0.29350449 / 2],[0.35168808 / 2,-0.13997233 / 2],[0.69398394 / 2,0.09634489 / 2]);

[0098] Key completion means that a round of information transmission is completed, and the above steps are repeated using the updated initial key.

[0099] In the present invention, the sending end is Alice, the receiving end is Bob, and the eavesdropping end is Eve. The channel model is a classic Gaussian white noise channel, and its channel transition probability is:

[0100] The specific formula of the decoding algorithm is:

[0101] where u k represents the information bit incoming at time k, Represents the received sequence to be decoded. It is simplified by the probability formula as follows:

[0102] Among them U + Indicates that the encoder receives a bit of '1' at time k, U - Indicates that the received bit is '0'; s' indicates the encoder state at time k-1, and s indicates the encoder state at time k.

[0103] Simplify to get where α k-1 (s') is defined as the forward metric, β k (s) is the backward metric, γ k (s',s) is the path metric from state s' to state s at time k. The path metric is calculated by the channel transition probability formula, and the forward and backward metrics are calculated by the recursive formula:

[0104] and The premise for implementing recursive calculation is that the register always starts and ends at the state '0, 0', which is why the previous embodiment mentioned adding the end bit to ensure the correct decoding. * (x,y)=log(e x +e y ) operation can convert the multiplication in the original formula into addition, which can reduce the original running time.

[0105] The above introduction is for the implementation of decoding of a single convolutional encoder, while serial cascade decoding requires the iterative effect of external information on the basis of calculation of a single decoder to update the prior information of decoding. Figure 4 As shown, the algorithm flow is as follows:

[0106] 1. Inner code decoding calculation path metric:

[0107] 2. The inner code decoder outputs a posteriori information:

[0108]

[0109] 3. External information calculation of external code decoder:

[0110]

[0111] 4. External code decoding calculation path metric:

[0112] 5. The outer code decoder calculates the posterior information:

[0113]

[0114] 6. Calculate the external information of the information bit and the check bit:

[0115]

[0116]

[0117] The overall implementation process of the present invention is as follows:

[0118] (1) Alice and Bob determine the same initial seed key through a secure negotiation mechanism, and can maintain the same random number generation in multiple rounds of message iterations.

[0119] (2) Random number generation s matrix, p matrix, interleaver, and puncturing module. Since the legitimate parties have the same random numbers, the generation of the above modules can be guaranteed to be the same.

[0120] (3) Alice:

[0121] 1. m·S·G1; where m is the sequence to be encoded, n bits.

[0122] 2. Generate an interleaved sort and interleave the result in 1 p(mSG1).

[0123] 3. Pass in the second component encoder c=p(uSG1)·G2·P.

[0124] 4. At this time, the original serial concatenation has been planned as a general linear block code, and it is punctured. The puncturing is based on k pun ,

[0125] C pun =f pun (c,k pun,bpsk), where pun represents the puncturing mode and bpsk represents the modulation mode, and the final codeword is transmitted into the channel to the receiver.

[0126] (4) Bob:

[0127] 1. Receive data C re =C pun +n, where n is Gaussian white noise.

[0128] 2. Hole filling based on k fil , c'=f fil (m re ,k fil );

[0129] 3. Pass in the iterative decoder c'P -1 Get m de =f D (c'P -1 ); the specific decoder adopts serial cascade decoding.

[0130] 4. The message was transmitted correctly.

[0131] Computational complexity analysis:

[0132] The complexity of the encoding part is mainly concentrated in the cascade encoder and the random sequence generator. The encoding complexity of this scheme is as follows:

[0133] C En =C S +C G1 +C inter +C G2 +C P +C punct

[0134] =(n+nlog2n+nlog22n+nlog24n+n 2 )

[0135] The complexity analysis of a single module mainly focuses on the generation of random sequences, quick sorting algorithm and multiplication of permutation matrices.

[0136] The complexity of decoding is mainly composed of the decoding algorithm and random sequence generation. The overall decoding complexity of this scheme is as follows:

[0137]

[0138] The decoding complexity is the same as the encoding complexity after omitting the coefficients, but in fact the decoding part of the complexity omits the loop related to the number of iterations in the iteration, so the actual calculation time is longer than the encoding part.

[0139] Security Analysis:

[0140] 1. Key space: When the iteration control number is selected to be greater than 30, even a small change of the initial value of 1e-8 can ensure that the generated sequence has a chaotic state and no correlation. For the Henon map, the two component value domains are x i ∈(-1.5,1.5),y i ∈(-0.4,0.4), so the traversal space for a single key pair is;

[0141] size key ≈2×(10 8 +5×10 7 )×2×(4×10 7 )

[0142] ≈24×10 15

[0143] ∈(2 54 ,2 55 )

[0144] Then for (key s ,key t ,key p ) has a key space of approximately 2 163 .

[0145] 2. Brute force attack: Assume that the channel conditions of the eavesdropper are exactly the same as those of the legitimate receiver. At this time, the eavesdropper can receive a noise signal that can be correctly decoded. Traverse all possible cascade coding structures. Assume that the length of the user message known by the eavesdropper is n, and the traversal of the S matrix is ​​n! , then the message traversal space of the encoder G1 is 2 n ·n! , generating a 2n bit long codeword sequence. Since n is much larger than 2, 2 n ·n! >>2 2n At this time, the possible traversal space of encoder G2 also needs to search the entire traversal space. Combined with the matrix multiplication of the interleaver, the traversal space of the cascaded encoder G2 is 2 2n ·(2n)! , the traversal space of the P matrix is ​​(4n)! , considering that the number of perforated modules is variable due to random perforation, the probability of perforation under multiple statistical selection of the traversal space is about 1 / 5 of the number of check bits, and the final traversal space is

[0146] Combined with the above analysis, the traversal space for brute force attacks is

[0147] 3. Structural attack: Under the chosen plaintext attack, the eavesdropper masters the basic structure of the encoding, but still keeps the initial value of the secret key and the method of updating the key. The eavesdropper can select specific plaintext information, analyze the final codeword to infer the specific details of the encoding, and select all-0 information to pass into the encoding structure of this scheme. At this time, all-0 codewords are still generated after passing through encoder 1, and all-0 codewords are still generated after passing through encoder 2. Since all-0 codewords are still all-0 codewords when multiplied by the permutation matrix, no information including S, P, and interleaver matrix will be transmitted. For all-1 information, taking a longer length that is a multiple of 4 as an example, encoder 1 generates the codeword 1111101011111010...11111010 (ignore the trailing bits). The proportion of 0 bits in the codeword is 1 / 4. At this time, the traversal space of the interleaver can be simplified to the sorting of 0 bits. At this time, the size of the traversal space is At this time, the number of interleaved codewords is much smaller than the input space of encoder 2, so the complexity of encoder 2 can be ignored. Combined with the above analysis of S, P, and puncturing modules, the space that can be successfully traversed under this chosen plaintext attack is A sequence containing only one '1' bit is input to the encoder. The output of encoder 1 is 0000...001101000100...0100. It is observed that the traversal space of the interleaved codeword is related to the position of 1. When 1 is at the front of the original information, the codeword generated by encoder 1 contains more 1s. The later the position of 1 is, the less the weight of the codeword is. Suppose the original information bit length is n, and the position of 1 is x. At this time, the length of the codeword generated is 2n, and the number of 1s generated is (nx) / 2+2. Therefore, the traversal space of the overall coding scheme analyzed by the eavesdropper is: Where x is the position of 1 in the original information.

[0148] Since the key workflow is similar to the stream key mechanism, keeping it updated every time information is transmitted can make it so that the eavesdropper only needs to traverse the results of the above space every time to screen possible plaintext information.

[0149] Based on the above analysis, the present invention converts the original long-period convolutional coding into a general linear block code, which increases the complexity of traversing the space and can reduce the decoding on the eavesdropper side to an NP-hard problem. At the same time, the iterative decoding idea of ​​the cascade code and the random interleaving based on the Henon map can maintain good decoding performance under low signal-to-noise ratio conditions. The performance can be improved by about 2db through iteration. At the same time, the perforation scheme adopted in the present invention has low performance loss, and the decoding loss can be controlled within 0.4db.

[0150] The bit error rate of the legal receiving end is related to the signal-to-noise ratio and the number of iterations. When the signal-to-noise ratio increases or the number of iterations increases, the bit error rate also decreases. When SNR = 3db and the number of iterations is 2, the bit error rate can reach 10 -7The error rate of the eavesdropper who uses random guessing is 100%, or 10 0 The decoding performance loss of the scheme including puncturing can be controlled within 0.2db compared with that without puncturing.

[0151] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A dynamic encryption coding method based on serial cascade convolution, characterized in that: The steps are as follows: Step 1: The sender and receiver determine the initial key through a security negotiation mechanism. s0 ,key t0 ,key p0 ) and message length N; Step 2: The sending end and the receiving end respectively pass the initial key pair into the Henon mapper to generate a permutation matrix and a puncture module. The receiving end inverts the permutation matrix to obtain an inverse matrix and a corresponding puncture module. Step 3: The transmitter passes the information m into the cascade encoder, and uses the permutation matrix, convolutional coding and puncturing module to encode the information m to obtain the codeword to be sent; Step 4: BPSK modulate the codeword to be sent to obtain a sending message sequence, and transmit it to the receiving end via the wireless channel; Step 5: The receiving end receives the noisy signal and passes it into the cascade decoder. The noisy signal is decoded by the cascade of the hole filling module, the inverse matrix and the convolution decoder to obtain the final estimated information. Step 6: After completing a round of information transmission, update the initial key and repeat the above steps using the updated initial key.

2. The dynamic encryption coding method based on serial cascade convolution according to claim 1 is characterized in that: The permutation matrix includes an S matrix, an interleaver matrix, and a P matrix; the inverse matrix includes an S matrix. -1 Matrix, deinterleaving matrix, P -1 matrix.

3. The dynamic encryption coding method based on serial cascade convolution according to claim 2 is characterized in that: The method of passing the initial key pair into the Henon mapper to generate a permutation matrix is: The Henon mapper selects the Henon map as the chaos generator, and its expression is The initial key is passed into the Henon mapper to generate a chaotic sequence pair (seq s0 ,seq t0 ,seq p0 ); The chaotic sequence seq t0 The x component seq in t0_x After sorting, get the random sequence rdm according to the index value t0_x ; Similarly, according to the chaotic sequence seq s0 、seq p0 The x components in the random sequence rdm are obtained respectively s0_x 、rdm p0_x ; According to the above random sequence rdm s0_x 、rdm t0_x 、rdm p0_x Get the S matrix, interleaver matrix T, and P matrix respectively; transform the chaotic sequence seq t0 The y component seq in t0_y Pass it into the perforation module and get the internal perforation decision formula: When the chaotic value of the i-th bit is less than the decision value pun, the bit is set to '1' to indicate puncturing, otherwise it is set to '0' to obtain the puncturing decision sequence.

4. The dynamic encryption coding method based on serial cascade convolution according to claim 3 is characterized in that: The method of encoding information m to obtain a codeword to be sent is as follows: after multiplying information m with the S matrix, the information m is input to the encoder G1 for encoding, and after the encoding is completed, the encoder G1 adds a tail bit to return the encoder state to '0' to obtain codeword C1; multiplying codeword C1 with the interleaver matrix, the information m is input to the encoder G2 for encoding, and after the encoding is completed, the encoder G2 adds a tail bit to obtain codeword C2; and multiplying codeword C2 with the P matrix to obtain codeword C3; After multiplying the punctured decision sequence with the P matrix, the codeword C3 is punctured to obtain the codeword to be sent.

5. The dynamic encryption coding method based on serial cascade convolution according to claim 4 is characterized in that: The decoding process of the noise-added signal is performed to obtain the final estimation information The method is: According to the puncture decision sequence, the corresponding positions are filled with '0' to obtain the puncture sequence. -1 The matrix is ​​multiplied and input into decoder E2 to obtain the external information sequence. The external information sequence is multiplied by the deinterleaving matrix and input into decoder E1 to obtain the prior information of decoder E2. After interleaving again, it is input into decoder E1 to realize iterative decoding. After multiple iterations, decoder E1 outputs the information sequence of soft decision. The soft-decision information sequence is hard-determined. If it is greater than 0, it is judged as '1', otherwise it is judged as '0'. The sequence after judgment is the same as S -1 Matrix multiplication obtains the final estimated information The final estimated information Compared with the original information m, the bit error rate is 0.

6. The dynamic encryption coding method based on serial cascade convolution according to claim 1 is characterized in that: The method for updating the initial key is: key tI =0.5·(key tI-1 +[x 2N ,y 2N ]); key sI =0.5·(key sI-1 +[x 2N ,y 2N ]); key pI =0.5·(key pI-1 +[x 2N ,y 2N ]); Among them, [x 2N ,y 2N ] represents the last set of values ​​of the chaotic sequence generated in round I-1, (key sI ,key tI ,key pI ) represents the updated key of round I, (key sI-1 ,key tI-1 ,key pI-1 ) represents the key of round I-1.

Citation Information

Cited By

  • Data encryption and dynamic key management method based on quantum security protocol

    CN119921951A

  • Data encryption and dynamic key management method based on quantum security protocol

    CN119921951B