Network key generation method and system based on random channel and DH negotiation
By utilizing the characteristics of the wireless random channel to generate the initial bit sequence and combining it with the DH negotiation algorithm, the problem of insufficient periodicity of the pseudo-random sequence and low reliability of error correction code negotiation in the key generation process in the wireless communication network is solved, achieving a higher Key randomness and generation rate.
Patent Information
- Application Number
- PCT/CN2023/109480
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-13
- Filing Date
- 2023-07-27
- Publication Date
- 2024-10-17
AI Technical Summary
In the key generation process of existing wireless communication networks, there are insufficient periodicity of pseudo-random sequences and hidden reliability risks of error-correcting code negotiation methods, resulting in key asymmetry and low generation rate.
The initial bit sequence is generated based on the spatial uniqueness and time variability of the wireless random channel, and key negotiation is performed through the DH negotiation algorithm to ensure that both communicating parties generate consistent end-to-end keys.
It improves the randomness of keys and the reliability of key negotiation between communicating parties, solves the problem of low key generation rate in traditional physical layer, and enhances communication security.
Smart Images

Figure CN2023109480_17102024_PF_FP_ABST
Abstract
Description
A network key generation method and system based on random channel and DH negotiation Technical Field
[0001] The present invention belongs to the technical field of wireless communications, and in particular relates to a method and system for generating a network key based on a random channel and DH negotiation. Background Art
[0002] With the advancement of communication technology and the continuous expansion of wireless communication application scenarios, the demand for confidentiality during communication is becoming increasingly stringent. Symmetric and asymmetric encryption methods are currently predominantly used in wireless communication networks. Key factors lie in the complexity of the negotiation algorithm and the key distribution and management mechanisms. In traditional asymmetric encryption, a randomly generated private key is used by one communicating party to generate a public key using a specific encryption algorithm. The public keys of both communicating parties are then exchanged to generate a consistent symmetric key. In this process, the private key is typically generated by a pseudorandom sequence generator (PRGS). This type of random number generator uses a seed value as input and generates random numbers using a linear feedback shift register. Common pseudorandom sequences include m-sequences and M-sequences. However, pseudorandom codes are not truly random, but rather periodic binary sequences. While these sequences have a sufficiently large period, they still pose a security risk of being eavesdropped.
[0003] At the same time, physical-layer key generation technology has garnered widespread attention for leveraging wireless channel propagation characteristics to enhance data confidentiality. These characteristics include short-term reciprocity, spatial uniqueness, and temporal variability. During the physical-layer key generation process, both communicating parties leverage the reciprocity of the wireless channel to extract uplink and downlink channel characteristics to independently generate initial keys for data encryption and decryption. Leveraging the time-varying nature of the channel, the key generation system can dynamically update the key, ensuring communication security. However, due to channel fading and noise, the channel estimates of both parties may not be completely consistent, resulting in asymmetric keys. Therefore, a key agreement mechanism is required to reconcile the initial keys of both communicating parties. Current technologies related to physical-layer key generation primarily rely on error-correcting codes for key consistency negotiation, which poses a risk of key leakage during the negotiation interaction. Furthermore, these negotiation methods, such as BCH error-correcting codes and Hamming codes, have a limited tolerance for key streams of varying lengths. If the tolerance is exceeded, inconsistent bits cannot be corrected, resulting in a symmetric key generation and a reduced key generation efficiency. In summary, existing information negotiation methods have hidden dangers in reliability.
[0004] Summary of the Invention
[0005] To solve the above technical problems, the present invention provides a network key generation method and system based on random channels and DH negotiation, which utilizes the spatial uniqueness and temporal variability of wireless random channels to improve the randomness of the key. At the same time, it uses an asymmetric encryption algorithm to solve the problem of low traditional physical layer key generation rate, thereby improving the reliability of physical layer key negotiation between the communicating parties.
[0006] The present invention provides a method for generating a network key based on a random channel and DH negotiation, comprising the following steps:
[0007] The communication calling party initiates a call to the communication answering party through the network;
[0008] A network access point close to the calling party and the answering party sends a pilot training sequence to the calling party and the answering party respectively through a wireless channel;
[0009] The communicating parties receive the pilot training sequence, estimate the wireless channel, obtain the wireless channel state information, and encode it to generate an initial bit sequence;
[0010] According to the DH negotiation principle, the communicating parties negotiate the generated initial bit sequence and generate a consistent end-to-end key through network transmission.
[0011] Furthermore, the process of estimating the wireless channel and obtaining wireless channel state information by the communicating parties includes:
[0012] A network access point close to the calling party and the answering party sends N pilot training sequences to the calling party and the answering party respectively through a wireless channel;
[0013] Each time the caller receives a pilot training sequence from its corresponding network access point, it performs channel estimation on the wireless channel where the pilot is received to obtain one bit of channel state information at an instant. It then combines each bit of channel state information obtained from N channel estimations to generate an N-bit wireless channel state information sequence for its corresponding network access point, denoted as S. A ={s A (1),s A (2),...,s A (n),...,s A (N)}, where s A (n) represents the channel state information sequence S A The n-th channel state information in , where n represents an integer from 1 to N;
[0014] Similarly, the communication responder performs similar operations to generate a wireless channel state information sequence of N bits corresponding to its corresponding network access point, and records it as S B ={s B(1),s B (2),...,s B (n),...,s B (N)}, where s B (n) represents the channel state information sequence S B The nth channel state information in , where n represents an integer from 1 to N.
[0015] Furthermore, the process of encoding the estimated channel state information to generate an initial bit sequence includes:
[0016] The communication calling party and the communication answering party respectively A With S B Each bit of channel state information in the is used to extract random channel information such as amplitude, phase, and signal-to-noise ratio, and the relevant random channel information is encoded to generate an initial bit sequence.
[0017] Furthermore, the process in which the communicating parties negotiate the initial bit sequence and generate a consistent end-to-end key through the network includes:
[0018] The communicating parties split their respective initial bit sequences into M subsequences. Based on the DH negotiation algorithm, each party generates a new set of public sequences through calculation and sends the generated public sequences to each other over the network.
[0019] After receiving the public sequence sent by the other party, the communicating parties combine their respective generated initial bit sequences and obtain a consistent end-to-end key through the DH negotiation algorithm.
[0020] Furthermore, the process of generating a new public sequence through the DH negotiation algorithm is as follows:
[0021] The caller converts the split M subsequences into decimal numbers in turn, and synthesizes a set of decimal initial sequences, which are recorded as X A ={x A (1),x A (2),...,x A (m),...,x A (M)}, where x A (m) represents the initial sequence X generated by the communication caller A The mth decimal number in , where m is an integer from 1 to M;
[0022] The communication responder also converts the M subsequences it divides into decimal numbers in turn and generates a set of initial sequences, recorded as X B ={x B (1),x B (2),...,x B (m),...,x B(M)}, where x B (m) represents the initial sequence X generated by the communication responder B The mth decimal digit in ;
[0023] In addition, the communication caller generates a set of binary information (p, g), where p is a prime number, g is an integer, and the set {g x mod p|x=1,2,...,p-1} is equivalent to the set {1,2,...,p-1}, where mod represents the remainder operator; the communication caller calculates the initial sequence X A With the binary information (p, g), the common sequence element y is calculated by the following formula A (m):
[0024] Where m is an integer from 1 to M, the calculated y A (m) synthesize a set of common sequences, denoted as Y A ={y A (1),y A (2),...,y A (m),...,y A (M)}; Afterwards, the communication caller generates the public sequence Y A The binary information (p, g) is sent to the communication respondent through the network;
[0025] At the same time, the communication responder generates an initial sequence X based on its own B With the binary information (p, g), the common sequence element y is calculated by the following formula B (m):
[0026] Where m is an integer from 1 to M, the calculated y B (m) synthesize a set of common sequences, denoted as Y B ={y B (1),y B (2),...,y B (m),...,y B (M)}; Afterwards, the communication responder generates its own public sequence Y B Sent to the communication caller via the network.
[0027] Furthermore, the process of obtaining a consistent end-to-end key through the DH negotiation algorithm is as follows:
[0028] The communication caller receives the public sequence Y from the communication responder through the network B Then, combine the prime number p and the initial sequence X generated by itself A, calculate the key sequence element z according to the following formula A (m):
[0029] Where m is an integer from 1 to M, the calculated z A (m) A set of key sequences is synthesized and recorded as Z A ={z A (1),z A (2),...,z A (m),...,z A (M)};
[0030] Likewise, the communication answering party receives the public sequence Y of the communication calling party through the network. A Then, combine the prime number p and the initial sequence X generated by itself B The key sequence element z is calculated according to the following formula B (m):
[0031] Where m represents an integer from 1 to M, the calculated z B (m) A set of key sequences is synthesized and recorded as Z B ={z B (1),z B (2),...,z B (m),...,z B (M)};
[0032] Finally, the two communicating parties will calculate the key sequence Z A and Z B The data is encoded into a binary bit sequence to generate a consistent end-to-end key.
[0033] A network key generation system based on random channel and DH negotiation includes a signal transceiver module, a channel estimation module, an initial bit sequence generation module, and a key negotiation module, wherein:
[0034] Signal transceiver module, used for sending and receiving signals between the caller, the responder and the network;
[0035] The channel estimation module is used by both communicating parties to perform channel estimation processing on the wireless channel through which the network access point sends signals and obtain channel status information;
[0036] An initial bit sequence generation module is used to obtain relevant data information from the estimated channel state information and encode it to generate an initial bit sequence;
[0037] The key negotiation module is used by the communicating parties to generate a consistent end-to-end key through the DH negotiation algorithm and the generated initial bit sequence.
[0038] Furthermore, the combined working process of the above modules is as follows:
[0039] First, the network allocates access points to the caller and the responder, respectively, and the two allocated network access points send pilot training sequences to the caller and the responder through their respective signal transceiver modules.
[0040] Secondly, the communicating parties generate their own initial bit sequences through the channel estimation module and the initial bit sequence generation module;
[0041] Then, the communicating parties generate their own public sequences through the key negotiation module and send them to each other through the network;
[0042] Finally, the communicating parties receive the public sequence information sent by the network through their respective signal transceiver modules and generate a consistent end-to-end key through the key negotiation module.
[0043] The beneficial effects described in the present invention are: in the method described in the present invention, the initial bit sequence is extracted from the instantaneous channel state information obtained by channel estimation. Compared with the traditional method of generating the initial key through a pseudo-random sequence generator, the generated key has higher randomness due to the spatial uniqueness and time variability of the wireless channel; in the key negotiation process described in the present method, the DH algorithm in asymmetric encryption is used to solve the technical problem of the initial bit sequence information being stolen by illegal communication parties during data transmission; applying this method to physical layer key generation can solve the problem of low key generation rate caused by error correction code negotiation limitations in traditional physical layer security, and further improve the key generation rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] FIG1 is a schematic diagram of an actual scenario provided by an embodiment of the present invention;
[0045] FIG2 is a schematic diagram of a simulation platform provided by an embodiment of the present invention;
[0046] FIG3 is a flow chart of the method of the present invention;
[0047] FIG4 is a schematic structural diagram of the system of the present invention;
[0048] FIG5 is a diagram showing the comparison results of the NIST randomness test on keys of different lengths generated by the method proposed in the present invention and the traditional DH negotiation method;
[0049] FIG6 shows the negotiation success rate of the method proposed in the present invention when generating keys of different lengths. DETAILED DESCRIPTION
[0050] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments in conjunction with the accompanying drawings.
[0051] An embodiment of the present invention provides a network end-to-end key generation system based on a random channel and DH negotiation. Referring to Figures 1 and 2, four 2920 software-defined radios (USRPs) and three PCs running LabVIEW software are used to build a wireless communication system consisting of a caller, a responder, and a network. The wireless communication system shown in the figure consists of a caller (USRP-A), a responder (USRP-B), a network access point (USRP-C) near the caller, and a network access point (USRP-D) near the responder.
[0052] As shown in FIG4 , a network key generation system based on a random channel and DH negotiation according to the present invention includes a signal transceiver module, a channel estimation module, an initial bit sequence generation module, and a key negotiation module, wherein: the signal transceiver module is used for sending and receiving signals between a communication caller, a communication responder, and the network; the channel estimation module is used for both communicating parties to perform channel estimation processing on the wireless channel through which the network access point sends signals and obtain channel state information; the initial bit sequence generation module is used for obtaining relevant data information from the estimated channel state information and encoding it to generate an initial bit sequence; and the key negotiation module is used for both communicating parties to generate a consistent end-to-end key through a DH negotiation algorithm in combination with the generated initial bit sequence.
[0053] As shown in FIG3 , the network key generation method based on random channel and DH negotiation according to the present invention specifically includes the following steps:
[0054] The communication calling party initiates a call to the communication answering party through the network;
[0055] A network access point close to the calling party and the answering party sends a pilot training sequence to the calling party and the answering party respectively through a wireless channel;
[0056] The communicating parties receive the pilot training sequence, estimate the wireless channel, obtain the wireless channel state information, and encode it to generate an initial bit sequence;
[0057] According to the DH negotiation principle, the communicating parties negotiate the generated initial bit sequence and generate a consistent end-to-end key through network transmission.
[0058] Among them, the initial bit sequence generation process:
[0059] Step 1a: The caller initiates an encryption request to the responder through the network. After receiving the request, the responder sends a signal to the network agreeing to the encryption request.
[0060] Step 2a: After receiving the signal, the network assigns a network access point close to the caller to modulate the pilot training sequence through QPSK and send it to the caller on channel H1 N times. After receiving and demodulating the pilot training sequence each time, the caller uses the minimum mean square error (MMSE) algorithm to estimate the channel state information of channel H1 at that instant. Each bit of the channel state information from the N channel estimates is combined to generate a wireless channel state information sequence of length N for the corresponding network access point, which is recorded as S. A ={s A (1),s A (2),...,s A (n),...,s A (N)}, where s A (n) represents the channel state information sequence S A The nth channel state information in , where n represents an integer from 1 to N.
[0061] At the same time, the network assigns a network access point close to the communication responder to modulate the pilot training sequence through QPSK and send it N times to the communication responder on channel H2. The communication responder performs similar operations as above to generate the wireless channel state information sequence of the communication responder, which is recorded as S B ={s B (1),s B (2),...,s B (n),...,s B (N)}, where s B (n) represents the channel state information sequence S B The nth channel state information in , where n represents an integer from 1 to N.
[0062] Step 3a: The communication caller sends the information sequence S A Process each channel state information in the channel and extract the amplitude value R A (n) and phase value θ A (n), the specific calculation formula is as follows: θ A (n) = arctan(imf A (n) / remf A (n)),
[0063] Among them, remf A (n) with IMF A (n) represents the channel state information s AThen, each bit of amplitude and phase information calculated is converted into a binary sequence and combined and connected to generate the initial bit sequence of the caller, which is recorded as L A .
[0064] The communication responder responds to the information sequence S B Perform similar operations as above, and the generated binary initial bit sequence is recorded as L B .
[0065] Key negotiation process:
[0066] Step 1b: The communication caller generates the initial bit sequence L A Split into M subsequences, and convert each subsequence into decimal numbers in turn, and synthesize a set of decimal initial sequences denoted as X A ={x A (1),x A (2),...,x A (m),...,x A (M)}, where x A (m) represents the initial sequence X generated by the communication caller A The mth decimal number in , where m represents an integer from 1 to M;
[0067] The communication responder generates the initial bit sequence L B Perform similar processing as above to obtain a set of decimal initial sequences, denoted as X B ={x B (1),x B (2),...,x B (m),...,x B (M)}, where x B (m) represents the initial sequence X generated by the communication responder B The mth decimal number in , where m represents an integer from 1 to M;
[0068] Step 2b: According to the DH negotiation algorithm, the communication caller generates a set of binary information (p, g), where p is a prime number, g is an integer, and the set {g x mod p|x=1,2,...,p-1} is equivalent to the set {1,2,...,p-1}, where mod represents the remainder operator;
[0069] The communication caller according to the initial sequence X A And binary information (p, g), the common sequence element y is calculated by the following formula A (m):
[0070] Where m represents an integer from 1 to M; the calculated y A (m) synthesize a set of common sequences, denoted as Y A ={y A (1),y A (2),...,y A (m),...,y A (M)}; Afterwards, the communication caller will obtain the public sequence Y A Common bit sequence converted to binary
[0071] Step 3b: The calling party sends the binary common bit sequence and the binary information (p, g) are combined and sent to the communication answering party through the network; the communication answering party receives the information and extracts the common bit sequence and binary information of the communication calling party;
[0072] Step 4b: The communication responder receives the data according to the initial sequence X. B With the binary information (p, g), the common sequence element y is calculated by the following formula B (m):
[0073] Where m represents an integer from 1 to M; the calculated y B (m) synthesize a set of common sequences, denoted as Y B ={y B (1),y B (2),...,y B (m),...,y B (M)}; Afterwards, the communication responder will obtain the public sequence Y B Common bit sequence converted to binary And the sequence is transmitted through the network Send to the communication caller;
[0074] Step 5b: The communication caller receives the received common bit sequence Processing to obtain the public sequence Y of the communication responder B According to the DH negotiation principle, combined with the initial sequence X of the communication caller A And binary information (p, g), the key sequence element z is calculated according to the following formula A (m):
[0075] Where m represents an integer from 1 to M. A (m) A set of key sequences is synthesized and recorded as Z A ={z A (1),zA (2),...,z A (m),...,z A (M)}. Further, the decimal sequence Z A Converted into a binary sequence, the key is obtained A ;
[0076] The communication answering party performs the same operation as above; the public bit sequence sent by the communication calling party Processing to obtain the public sequence Y of the communication caller A ; Combined with the initial sequence X of the communication responder B And binary information (p, g), the key sequence element z is calculated according to the following formula B (m):
[0077] Where m represents an integer from 1 to M; the calculated z B (m) A set of key sequences is synthesized and recorded as Z B ={z B (1),z B (2),...,z B (m),...,z B (M)}; further, the decimal sequence Z B Converted into a binary sequence, the key is obtained B .
[0078] According to the principle of DH asymmetric negotiation algorithm, the obtained sequence Z A =Z B , that is, the key Key A =Key B .
[0079] The above embodiment is applicable to network end-to-end key generation. It should be noted that this method is also applicable when user communication devices are directly connected.
[0080] The present invention uses seven randomness test methods officially provided by NIST to test the randomness of the keys generated by the system. The system is compared with the traditional session layer DH negotiation system to generate keys of different lengths. The results are shown in Figure 5. The test content includes:
[0081] Discrete Fourier detection, which mainly performs distributed Fourier transform on the sequence to observe the peak height and detect the periodicity of the sequence;
[0082] Linear complexity test, which mainly determines whether the complexity of the sequence is enough to be considered a random sequence. Random sequences have long linear feedback shift registers;
[0083] Frequency test, which mainly determines whether the number of "1" and "0" in the sequence is approximately the same as the number of "1" and "0" in a truly random sequence;
[0084] Intra-block frequency detection: This test mainly determines whether the frequency of "1" in the H-bit sub-block of the sequence is the same as that expected by the random sequence, which is approximately H / 2;
[0085] Run detection, which mainly compares the number of "1" runs and the number of "0" runs of different lengths to see if they are consistent with the expected value of an ideal random sequence;
[0086] The longest run detection within a block is mainly used to determine whether the length of the longest "1" run in the sequence to be detected is approximately the same as that of the random sequence;
[0087] Cumulative sum test: This test mainly determines whether the cumulative sum of the sequence is too large or too small relative to the expected cumulative sum. For random sequences, the deviation of the random walk is around 0.
[0088] This test collected 100 sets of experimental data for each of the 128-bit, 256-bit, 512-bit, and 1024-bit end-to-end keys generated by this system and the traditional session layer DH negotiation system, and performed the above seven randomness tests on the keys generated each time. In the test, when this system generates end-to-end keys, the communicating parties generate an initial bit sequence of 16 bits for each channel estimation, and perform 8, 16, 32, and 64 channel estimations respectively to generate 128-bit, 256-bit, 512-bit, and 1024-bit end-to-end keys. The number of experimental groups that pass a certain NIST randomness test method is K. P The randomness of the end-to-end keys generated by the communicating parties is measured by the pass rate P, where the pass rate P is calculated as follows:
[0089] The results show that the key results obtained by the network end-to-end key generation method based on wireless random channel and DH negotiation show superiority in all aspects and have good randomness.
[0090] At the same time, the negotiation success rate of the method proposed in the present invention when generating keys of different lengths was tested, and the specific results are shown in Figure 6; wherein, keys of lengths of 128 bits, 256 bits, 512 bits, and 1024 bits were generated 100 times respectively, and the number of successful negotiations was K q , the negotiation success rate Q is calculated as follows:
[0091] The above description is only a preferred embodiment of the present invention and is not intended to further limit the present invention. All equivalent changes made using the contents of the present invention description and drawings are within the scope of protection of the present invention.
Claims
1. A network key generation method based on random channel and DH negotiation, characterized in that: The following steps are involved: The communication calling party initiates a call to the communication answering party through the network; A network access point close to the communication calling party and the communication answering party respectively sends a pilot training sequence to the calling party and the answering party through a wireless channel; The communicating parties receive the pilot training sequence, estimate the wireless channel, obtain the wireless channel state information, and encode it to generate an initial bit sequence; According to the DH negotiation principle, the communicating parties negotiate the generated initial bit sequence and generate a consistent end-to-end key through network transmission.
2. According to claim 1, a network key generation method based on random channel and DH negotiation is characterized in that: The process of estimating the wireless channel and obtaining the wireless channel state information by the communicating parties includes: A network access point close to the communication calling party and the communication answering party respectively sends N pilot training sequences to the calling party and the answering party through a wireless channel; Each time the communication caller receives the pilot training sequence from its corresponding network access point, it performs channel estimation processing on the wireless channel where the received pilot is located to obtain one bit of channel state information at an instant; then it combines each bit of channel state information obtained by N channel estimations to generate a wireless channel state information sequence with a length of N bits corresponding to its corresponding network access point, denoted as S A ={s A (1),s A (2),...,s A (n),...,s A (N)}, where s A (n) represents the channel state information sequence S A The n-th channel state information in , where n represents an integer from 1 to N; Similarly, the communication responder performs similar operations to generate a wireless channel state information sequence of N bits corresponding to the network access point, which is recorded as S B ={s B (1),s B (2),...,s B (n),...,s B (N)}, where s B (n) represents the channel state information sequence S B The nth channel state information in , where n represents an integer from 1 to N.
3. A method for generating a network key based on a random channel and DH negotiation according to claim 2, characterized in that: The process of encoding the estimated channel state information to generate an initial bit sequence includes: The communication calling party and the communication answering party respectively A With S B The random channel information is extracted from each bit of channel state information, and the relevant random channel information is encoded to generate an initial bit sequence.
4. A method for generating a network key based on a random channel and DH negotiation according to claim 3, characterized in that: The process in which the two communicating parties negotiate the initial bit sequence and generate a consistent end-to-end key through the network includes: The two communicating parties split their respective initial bit sequences into M subsequences, and generate a new set of public sequences through calculation according to the DH negotiation algorithm, and send the generated public sequences to each other through the network; After receiving the public sequence sent by the other party, the communicating parties combine their respective generated initial bit sequences and obtain a consistent end-to-end key through the DH negotiation algorithm.
5. A method for generating a network key based on a random channel and DH negotiation according to claim 4, characterized in that: The process of generating a new public sequence through the DH negotiation algorithm is as follows: The caller converts the split M subsequences into decimal numbers one by one, and synthesizes a set of decimal initial sequences, recorded as X A ={x A (1),x A (2),...,x A (m),...,x A (M)}, where x A (m) represents the initial sequence X generated by the communication caller A The mth decimal number in , where m is an integer from 1 to M; The communication responder also converts the M subsequences it divides into decimal numbers in turn and generates a set of initial sequences, recorded as X B ={x B (1),x B (2),...,x B (m),...,x B (M)}, where x B (m) represents the initial sequence X generated by the communication responder B The mth decimal digit in ; In addition, the communication caller generates a set of binary information (p, g), where p is a prime number, g is an integer, and the set {g x modp|x=1,2,...,p-1} is equivalent to the set {1,2,...,p-1}, where mod represents the remainder operator; the communication caller calculates the initial sequence X A With the binary information (p, g), the common sequence element y is calculated by the following formula A (m): Where m is an integer from 1 to M. A (m) synthesize a set of common sequences, denoted as Y A ={y A (1),y A (2),...,y A (m),...,y A (M)}; Afterwards, the communication caller will generate its own public sequence Y A The binary information (p, g) is sent to the communication respondent through the network; At the same time, the communication responder generates an initial sequence X based on its own B With the binary information (p, g), the common sequence element y is calculated by the following formula B (m): Where m is an integer from 1 to M. B (m) synthesize a set of common sequences, denoted as Y B ={y B (1),y B (2),...,y B (m),...,y B (M)}; Afterwards, the communication responder sends its own generated public sequence Column Y B Sent to the communication caller via the network.
6. A method for generating a network key based on a random channel and DH negotiation according to claim 5, characterized in that: The process of obtaining a consistent end-to-end key through the DH negotiation algorithm is as follows: The communication caller receives the public sequence Y of the communication responder through the network B Then, combine the prime number p and the initial sequence X generated by itself A , the key sequence element z is calculated according to the following formula A (m): Where m is an integer from 1 to M. A (m) A set of key sequences is synthesized and recorded as Z A ={z A (1),z A (2),...,z A (m),...,z A (M)}; Likewise, the communication answering party receives the public sequence Y of the communication calling party through the network. A Then, combine the prime number p and the initial sequence X generated by itself B The key sequence element z is calculated according to the following formula B (m): Where m represents an integer from 1 to M. B (m) A set of key sequences is synthesized and recorded as Z B ={z B (1),z B (2),...,z B (m),...,z B (M)}; Finally, the two communicating parties will calculate the key sequence Z A and Z B Encode and convert into a binary bit sequence to generate a consistent end-to-end key.
7. A network key generation system based on random channel and DH negotiation, characterized in that: It includes a signal transceiver module, a channel estimation module, an initial bit sequence generation module, and a key negotiation module, wherein: A signal transceiver module is used to send and receive signals between the communication caller, the communication answerer and the network; A channel estimation module is used by both parties of communication to perform channel estimation processing on the wireless channel through which the network access point sends signals, and obtain channel status information; An initial bit sequence generation module is used to obtain relevant data information from the estimated channel state information and encode it to generate an initial bit sequence; The key negotiation module is used for the communicating parties to generate a consistent end-to-end key through the DH negotiation algorithm combined with the generated initial bit sequence.
8. A network key generation system based on random channel and DH negotiation according to claim 7, characterized in that: The combined working process of each module in the system is as follows: First, the network allocates access points to the communication caller and the communication answerer respectively, and the two allocated network access points send pilot training sequences to the communication caller and the communication answerer respectively through their respective signal transceiver modules; Secondly, the communicating parties generate their own initial bit sequences through the channel estimation module and the initial bit sequence generation module; Then, the communicating parties generate their own public sequences through the key negotiation module and send them to each other through the network; Finally, the communicating parties receive the public sequence information sent by the network through their respective signal transceiver modules and generate a consistent end-to-end key through the key negotiation module.
Citation Information
Patent Citations
Pilot frequency sequence generation method and system
CN102238116A
Access cloud architecture oriented physical layer security confidentiality keeping device and access cloud architecture oriented physical layer security confidentiality keeping method
CN108419235A
Key generation method based on channel characteristics
CN109600222A
Key generation method and device
CN115037445A
Partitioning and cyclic code-based physical layer key generation method
CN115396102A
