Optical OFDM dynamic key generation method based on channel characteristics
Technical Field
The invention provides a channel characteristic-based optical OFDM dynamic key generation method, and provides a dynamic key generation scheme for optical OFDM physical layer encryption.
Background
With the development of high-speed data services such as IPTV, high-definition television, large-scale interactive network games, etc., the bandwidth requirement of the access network will increase sharply. In recent years, Orthogonal Frequency Division Multiplexing (OFDM) modulation has been introduced into optical fiber communication with advantages of strong dispersion resistance, high spectrum utilization rate, and the like. At the same time, it can be conveniently processed by Digital Signal Processing (DSP). In addition, the direct detection optical OFDM system (DD-OOFDM) has the advantages of simple structure, flexible dynamic bandwidth allocation, transparent heterogeneous services, good compatibility with the existing network, and the like, and thus has a great potential in the next generation optical access network. As the physical layer of optical access networks is susceptible to various attacks, the physical layer security issues become increasingly important as the capacity of users and networks increases dramatically. Previous approaches use encryption protocols to encrypt data frames, placing security issues at a higher level of the network, and thus building a security scheme based on an unsecured physical layer is risky.
Investigation of the existing documents shows that most of the existing optical OFDM physical layer encryption schemes use chaotic sequences to scramble OFDM symbol blocks in frequency domain and time domain. Document 1 Zhang L, Xin X, Liu B, et al, physical-enhanced secure in an OFDM-PON [ J ]. Optics Express,2012,20(3): 2255-. Document 2[ Sultan A, Yang X, Hajomer A A E, et al. dynamic QAM Mapping for Physical-Layer Security Using Digital channels [ J ]. IEEE Access,2018,6: 47199-. Although the research on optical OFDM physical layer encryption is more successful, the encryption schemes in the present stage all require that the two communicating parties exchange initial values of keys in advance, and once the initial values are determined, the initial values are not changed, and the whole keys are static, which reduces the security performance of the system.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the optical OFDM dynamic key generation method based on the channel characteristics, the key changes along with the channel characteristics and the random detection signals in real time, and the safety of the optical OFDM system is effectively improved.
In order to achieve the purpose, the invention is realized by the following technical scheme:
an optical OFDM dynamic key generation method based on channel characteristics, wherein the generated key is the exclusive or result of local random signals, received detection signals and quantized channel phases, comprising the following steps:
step one, a sending end A generates a random binary sequence XtAnd sending to a receiving end B; in the coherence time, B generates a random binary sequence XrSending the signal to A;
step two, the sending end A estimates the carrying signal X
rThe channel response of both communication parties is obtained according to the channel characteristics of the N subcarriers:
wherein
Indicating the channel response of the ith subcarrier of the sending end A; receiver B estimates the carrying signal X
tThe channel response of both communication parties is obtained according to the channel characteristics of the N subcarriers:
wherein
Indicating the channel response of the ith subcarrier of the receiving terminal B;
step three, all the transmitting terminals A
Quantizing to obtain binary phase sequence P
a(ii) a In the same way, the receiving end B will all
Obtaining a binary phase sequence P after quantization
b;
Step four, the sending end A obtains the phase quantization sequence PaAnd random binary sequence XrAnd a locally generated binary sequence XtGenerating a secret key K by performing an exclusive-or operationa(ii) a Similarly, the receiving end B will getOf the phase quantization sequence PbAnd random binary sequence XtAnd a locally generated binary sequence XrGenerating a secret key K by performing an exclusive-or operationb。
And in the first step, the random binary sequence is loaded on a data subcarrier of the OFDM in a certain modulation mode to serve as a random detection signal, wherein the length of the random sequence is consistent with the number of bits of the key.
In the third step, the phase is divided into (0,2 pi)]Are equally divided into Q sub-intervals,
or
Falling into the corresponding subinterval and carrying out corresponding binary coding, and transmitting all the signals of the transmitting end A
After the encoding is finished, the two sequences are combined into a binary phase sequence P in sequence
a(ii) a All of receiving end B
After the encoding is finished, the two sequences are combined into a binary phase sequence P in sequence
b. Assuming that the length of the key to be generated is M and the number of phases to be quantized is N, Q satisfies the formula:
wherein
Represents rounding up; quantized P
aAnd P
bThe top M values are truncated.
Compared with the prior art, the invention has the following advantages:
the optical OFDM dynamic key generation method based on the channel characteristics, provided by the invention, has the advantages that the generated key is no longer a static key, the initial value of the key does not need to be defined by two communication parties, and the capability of the safe communication of a physical layer is effectively improved. The dynamic key provided by the invention can be automatically updated in an irregular way, and the generated key is combined with other encryption technologies, so that the difficulty of correctly decrypting the communication content by an eavesdropper is further increased, and the confidentiality is further improved compared with the prior art. The dynamic key generated by the invention is only related to the channel characteristics and random signals between two communication parties, the final keys generated by the two communication parties under the technical scheme are consistent, and the obtained key can be used for updating the initial value and parameters of the chaotic system and can be used as the key of other data encryption algorithms. The method is suitable for the dynamic key generation of the optical OFDM system and other optical communication encryption systems.
Drawings
Fig. 1 is a schematic diagram of an optical OFDM dynamic key generation process according to the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings: the present example is carried out on the premise of the technical solution of the present invention, and a detailed embodiment and operation process are given, but the scope of the present invention is not limited to the following examples.
In this embodiment, the two communication parties generate 128-bit key sequences respectively in an optical OFDM system, the modulation format adopts a 16QAM scheme, the number of subcarriers is 64, the number of effective data subcarriers is 28, and the whole dynamic key generation process is as shown in fig. 1, and the specific process is as follows:
step one, a sending end A generates a random binary sequence XtAnd sent to the receiving end B. In the coherence time, B generates a random binary sequence XrAnd sending the signal to A.
Binary sequence X as described in step onet、XrThe 128-bit random binary sequence is a 128-bit random binary sequence with the same length as the required key, and in order to prevent errors in the decoding process of the receiving end, the 128-bit random binary sequence can adopt some error correction coding techniques to check and correct errors, such as parity check in the simplest form. Xt、XrAnd respectively loading the serial-parallel conversion and 16QAM modulation onto respective subcarriers.
Step two, the sending end A estimates the carrying signal X
rObtaining channel responses of both communication parties according to the channel characteristics of the N sub-carriers
Wherein
Indicating the channel response of the ith subcarrier of the transmitting end); receiver B estimates the carrying signal X
tObtaining channel responses of both communication parties according to the channel characteristics of the N sub-carriers
Wherein
Indicating the channel response of the ith subcarrier at the receiving end).
Step three, all the transmitting terminals A
Quantizing to obtain binary phase sequence P
a(ii) a In the same way, the receiving end B will all
Obtaining a binary phase sequence P after quantization
b. Wherein the phase interval is (0,2 pi)]Are equally divided into Q sub-intervals,
falling into the corresponding subinterval and carrying out corresponding binary coding, and transmitting all the signals of the transmitting end A (receiving end B)
After the encoding is finished, the two sequences are combined into a binary phase sequence P in sequence
a(P
b)。
Q satisfies the formula:
where M is the entire key length (M128) and N is requiredThe number of quantized phases (since 16QAM modulation is used, it is known that the number of required effective data subcarriers N is 32), and a Q value of 16, that is, (0,2 pi) is calculated]Are equally divided into 16 subintervals ((0, pi/8)],(π/8,π/4],…,(15π/8,2π]) The phase quantization binary sequence corresponding to each interval is (0000,0001.., 1111).
Step four, the sending end A obtains the phase quantization sequence PaAnd random binary sequence XrAnd a locally generated binary sequence XtGenerating a secret key K by performing an exclusive-or operationa. In the same way, the receiving end B obtains the phase quantization sequence PbAnd random binary sequence XtAnd a locally generated binary sequence XrGenerating a secret key K by performing an exclusive-or operationb。
The resulting key sequences of the two legitimate parties are identical and the resulting key is related not only to the channel characteristics of the two parties, but also to the generated random binary sequence. The dynamic key characteristic of the method is characterized in that the channel characteristic changes along with the change of time, and the random sequence for the detection signal is also dynamically generated.
The generated legal key is only related to the channel and the random signal at the transmitting and receiving ends, and an eavesdropper cannot obtain the same communication channel as both the legal communication parties and cannot attack the device at the transmitting and receiving ends to obtain the random binary sequence at the legal transmitting and receiving ends, so that an attacker can hardly obtain the correct generated key, and the legal key can be changed at random time, and the encryption scheme is very safe and effective. Generated legal key KaAnd KbCan be used for updating the initial value and the parameter of the chaotic system and being used as the key of other data encryption algorithms.