Key enhancement method and device for optical fiber transmission

By using multi-layer encryption methods of random signals, chaotic sequences and hash salt algorithms at both ends of the optical fiber communication system, combined with FPGA design, the problems of unstable and high cost encryption mechanisms of the optical fiber communication system are solved, achieving high efficiency and security. Optical fiber communication data transmission.

CN118694441APending Publication Date: 2024-09-24WESTLAKE INSTITUTE FOR OPTOELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792192.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The encryption mechanism of the existing optical fiber communication system is not robust enough when faced with potential cracking behaviors, and it is easy for attackers to reversely calculate the key. The encryption method is single and easy to crack. It lacks dynamic key management and multi-layer defense, resulting in serious information security threats. .

Method used

Random signal generation modules, chaotic sequence generation modules, hash calculation modules and XOR calculation modules are deployed at both ends of optical fiber transmission to generate and transmit hash values ​​through multi-layer encryption methods to ensure the security and integrity of data transmission. Combined with FPGA design to reduce implementation costs.

Benefits of technology

It significantly improves the anti-attack resilience of the encryption system, enhances the security and robustness of data transmission, reduces deployment costs, simplifies implementation steps, is suitable for large-scale optical fiber networks, and improves information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694441A
    Figure CN118694441A
Patent Text Reader

Abstract

The invention discloses a secret key enhancement device and method for optical fiber transmission, and the device comprises a transmitting terminal subsystem and a receiving terminal subsystem, the transmitting terminal subsystem is arranged at the input end of a transmission optical fiber, and the receiving terminal subsystem is arranged at the output end of the transmission optical fiber. Comprising a random signal generation module, a first XOR calculation module, a first chaotic sequence generation module, a first Hash calculation module and a sending module, and is arranged at the output end of a transmission optical fiber; comprising a receiving module, a second chaotic sequence generation module, a second Hash calculation module, an analysis and comparison module and a second exclusive-or calculation module, and is deployed at the two ends of optical fiber transmission, the optical fiber transmission structure does not need to be transformed, the safety and reliability of optical fiber transmission can be improved, and the installation and maintenance cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital information transmission, and in particular relates to a key enhancement method and device for optical fiber transmission. Background Art

[0002] In recent years, information technology has shown an explosive development trend. With the sharp increase in data transmission demand, the total amount of data is surging at an unprecedented exponential level. In this context, as a key infrastructure supporting large-scale data circulation, the importance of optical fiber communication networks has become increasingly prominent, and at the same time, they are exposed to increasingly severe security threats. Eavesdropping techniques such as optical fiber bending coupling method and optical fiber beam injection eavesdropping have emerged in an endless stream, allowing criminals to easily capture various sensitive information in optical fiber transmission, including but not limited to the frequency, wavelength and other key contents of the signal. Therefore, in the face of increasingly serious optical fiber information security risks, it is urgent to develop and implement a set of strict and effective defense mechanisms to prevent information leakage incidents and effectively ensure information security. This not only requires us to explore more secure and reliable encryption and anti-eavesdropping measures at the optical fiber communication technology level, but also to carry out in-depth construction and optimization on the overall network security system to ensure that the security of data transmission is fully guaranteed while optical fiber communication is developing rapidly.

[0003] Most of the currently widely used encryption technologies are still based on linear algorithms or linear systems. These technologies only rely on simple association rules to establish a two-way mapping between ciphertext and key. However, it is this overly direct and simple association that makes the encryption system appear not robust enough in the face of potential cracking behavior. Once the key is accidentally exposed, it is very easy to cause the entire encryption mechanism to quickly collapse, thereby significantly weakening the security of the system. In particular, when the eavesdropper obtains a certain amount of plaintext and its corresponding ciphertext samples through a known plaintext attack, they may try to reversely infer the intrinsic parameters of the specific encryption algorithm used by the encryption system, or even the crucial key, through in-depth analysis and comparison of these data. For example, in the technical solutions disclosed in publication numbers CN115085819A and CN114759985A, the encryption relationship is determined, and each step of the conversion can be described by a linear equation, which means that the operation can be converted in both directions. Known plaintext attack is a common method of cryptanalysis. Attackers can use the plaintext and ciphertext pairs in their hands to find out the rules of encryption algorithms and clues to the key through statistical analysis, mathematical modeling or other cryptographic methods. For optical fiber communication systems based on linear encryption, this attack method undoubtedly poses a great threat to the security of communication data. Because of this, there is an urgent need to improve the security of encryption algorithms in order to effectively resist various forms of cryptographic attacks while ensuring communication efficiency, thereby comprehensively improving the security protection capabilities of optical fiber communication networks.

[0004] Although there are various methods currently used for fiber transmission encryption, in practical applications, especially in large-scale fiber communication networks, such as the technical solutions disclosed in CN113037390A and CN112929094A, the encryption method is relatively simple, mainly relying on the integration of encryption equipment in the fiber communication system, such as using a specific encryption algorithm to encrypt the transmitted data stream in real time, or inserting an encryption module at a specific node to ensure the secure transmission of data. Although this method provides data security to a certain extent, it also exposes some inherent limitations. First, with the continuous development of cryptographic theory and the improvement of computing power, some traditional or outdated encryption algorithms have been unable to withstand increasingly powerful computing cracking attacks. Secondly, a single encryption method is susceptible to targeted analysis and cracking. Attackers may gradually explore encryption rules and key information by continuously monitoring and analyzing the characteristics of encrypted data streams, thereby cracking the security of the entire communication system. In actual applications, many fiber communication encryption systems do not implement highly dynamic key management and update mechanisms, which also increases the risk of the system being hacked. Thirdly, the upgrade of fiber optic line encryption equipment often lags behind the development of cryptographic technology, resulting in known security vulnerabilities in the encryption schemes actually deployed, which can be exploited by eavesdroppers. Therefore, to improve the security and robustness of fiber optic transmission encryption, it is necessary to continuously develop and apply more advanced and diversified encryption technologies, and establish a multi-level, all-round defense system, including but not limited to strengthening key management, adopting the latest encryption algorithms, implementing dynamic key exchange mechanisms, and integrating hardware and software security protection measures to meet the increasingly severe information security challenges.

[0005] The current mainstream fiber-optic encryption technology largely ignores the risk of tampering of ciphertext and keys during transmission. This negligence gives attackers the opportunity to tamper with ciphertext and keys, which in turn causes mistransmission or distortion of information during transmission, making it impossible to ensure that the information is delivered to the destination accurately.

[0006] The implementation of the existing encryption methods with publication numbers CN114844574A and CN114142933A in the field of optical fiber communication does face certain complexity and challenges. First, optical fiber communication systems are widely used in information transmission in modern society due to their high speed and large capacity. However, in terms of ensuring data security, traditional optical fiber lines themselves do not have encryption functions, which requires changing the original communication lines so that the transmitted data can be encrypted in real time. When implementing encryption transformation, it is usually necessary to integrate advanced encryption algorithms and technologies, such as adding encryptors and decryptors to the optical fiber transmission link, or implementing data encryption and decryption operations through specific nodes in the optical fiber network. The integration of these devices and algorithms often involves complex hardware and software collaborative design, including key management, key exchange, encryption rate matching, and compatibility transformation of the original communication protocol. Each link requires careful design and debugging. In addition, cost is also a factor that cannot be ignored. The cost of optical fiber line transformation is not limited to the purchase cost of the encryption equipment itself, but also includes the implementation cost of the transformation project, such as line transformation, equipment installation, debugging, and later maintenance costs. For long-distance, large-scale optical fiber networks, these costs are considerable when accumulated.

[0007] In addition, there are many technical difficulties in the implementation process, such as how to realize the encryption processing of high-speed data without affecting the transmission performance, and how to ensure the stability and reliability of the encryption system, especially in the application scenarios with complex network environment and large traffic fluctuations. These problems are particularly prominent. Finally, the large-scale promotion and application of encryption transformation solutions still need to overcome barriers such as standard setting and user acceptance. Therefore, although the encryption transformation of optical fiber lines is crucial to ensure information security, due to the above-mentioned complexities and challenges, it is indeed necessary to think carefully and comprehensively in actual operation, and seek economical, efficient and easy-to-deploy solutions. Summary of the invention

[0008] In view of the above, an object of the present invention is to provide a key enhancement method and device for optical fiber transmission, which can improve the security and reliability of optical fiber transmission by being deployed at both ends of the optical fiber transmission without modifying the optical fiber transmission structure, and has low installation and maintenance costs.

[0009] To achieve the above-mentioned purpose of the invention, an embodiment provides a key enhancement device for optical fiber transmission, comprising the following steps: The transmitting subsystem is arranged at the input end of the transmission optical fiber, and includes a random signal generating module, a first XOR calculating module, a first chaotic sequence generating module, a first hash calculating module, and a transmitting module, wherein the first random signal generating module is used to generate a random signal sequence as a first key, the XOR calculating module is used to perform XOR calculation on the plaintext according to the first key to obtain a ciphertext, the first chaotic sequence generating module is used to generate a first chaotic sequence as a second key, the first hash calculating module is used to mix the second key with the ciphertext and then perform a hash calculation to obtain a first hash value, and the transmitting module is used to generate an optical signal under the control of the first hash value, and the optical signal carries the first hash value and is coupled into the transmission optical fiber; The receiving subsystem is arranged at the output end of the transmission optical fiber, and includes a receiving module, a second chaotic sequence generating module, a second hash calculation module, a parsing and comparing module, and a second XOR calculation module. The receiving module is used to receive an optical signal carrying a first hash value from the transmission optical fiber. The second chaotic sequence generating module is used to generate a second chaotic sequence identical to the first chaotic sequence as a third key. The second hash calculation module is used to perform hash calculation on the third key to obtain a second hash value. The parsing and comparing module is used to parse the received optical signal to obtain the first hash value, and obtain a ciphertext from the first hash value after comparing and determining that the first hash value and the second hash value are equal. The second XOR calculation module is used to decrypt the ciphertext based on the first key to obtain a plaintext.

[0010] Preferably, the random signal generating module adopts a feedback shift register using algorithm calculation, a noise signal transmitter using circuit generation, or a random pulse generator using an optical device, and is capable of generating a binary random signal sequence.

[0011] Preferably, the first chaotic sequence generating module and the second chaotic sequence generating module adopt a logic circuit chaotic generator, a chaotic generator implemented by a single chip microcomputer, or an optical chaotic transmitter, and generate a pseudo-random sequence as a chaotic sequence by means of initial parameters.

[0012] Preferably, the first XOR computing module and the second XOR computing module adopt passive silicon-based photonic devices constructed based on ridge optical waveguides, wherein the ridge optical waveguides are made of silicon nitride and silicon dioxide.

[0013] Preferably, the first hash calculation module adopts the hash salting method to strengthen the hash calculation process of the key, specifically, the first key is mixed with the ciphertext as a salt and then hash calculation is performed. When mixing, the ciphertext is placed before or after the first key, or is cross-set in the first key according to a certain rule.

[0014] Preferably, in the sending module, the optical signal carrying the first hash value is amplified by an erbium-doped fiber amplifier and then coupled into the transmission optical fiber through a coupler for propagation.

[0015] Preferably, the device further comprises: the first key generated by the sending subsystem is transmitted to the receiving subsystem via a public network and is decrypted by the second XOR calculation module.

[0016] To achieve the above-mentioned object of the invention, an embodiment of the present invention further provides a key enhancement method for optical fiber transmission, wherein the method adopts the above-mentioned device and comprises the following steps: In the transmitting subsystem, a random signal generation module is used to generate a random signal sequence as a first key; a first chaotic sequence generation module is used to generate a first chaotic sequence as a second key based on a set parameter, and the set parameter is synchronized to a second chaotic sequence generation module of the receiving subsystem; a first XOR calculation module is used to perform XOR calculation on the plaintext according to the first key to obtain a ciphertext; a first hash calculation module is used to mix the second key with the ciphertext and perform a hash calculation to obtain a first hash value; a transmitting module is used to generate an optical signal under the control of the first hash value, and the optical signal carries the first hash value and is coupled into a transmission optical fiber; In the receiving subsystem, a receiving module 21 is used to receive an optical signal carrying a first hash value from a transmission optical fiber; a second chaotic sequence generation module is used to generate a second chaotic sequence identical to the first chaotic sequence as a third key according to the same set parameters; a second hash calculation module is used to perform hash calculation on the third key to obtain a second hash value; a parsing and comparison module is used to parse the received optical signal to obtain the first hash value, and after comparing and determining that the first hash value and the second hash value are equal, a ciphertext is obtained from the first hash value; a second XOR calculation module is used to decrypt the ciphertext based on the first key to obtain a plaintext.

[0017] Preferably, the sending subsystem encrypts the plain text and calculates and sends the hash value in real time, and the receiving subsystem receives the hash value in real time and performs parsing and decryption operations to obtain the plain text.

[0018] Compared with the prior art, the present invention has the following beneficial effects: The present invention combines diversified encryption methods such as random signal generation, XOR operation, hash salting algorithm and chaotic system. Through this multi-layer defense mechanism, the anti-attack resilience of the encryption system is greatly enhanced, which greatly increases the difficulty faced by attackers when trying to crack it.

[0019] By introducing the hash algorithm, the present invention will inevitably trigger the detection mechanism of the receiving end for any illegal tampering of the data. This is because the hash algorithm has a natural anti-tampering property. Once the data content is changed, the hash value generated will change significantly, so that the receiving end can immediately find that the integrity of the data has been damaged when verifying the hash value.

[0020] While ensuring the security of data encryption, the present invention fully considers the convenience and cost-effectiveness of practical applications. It only needs to use the sending subsystem and receiving subsystem constructed by FPGA at the signal sending end and receiving end to process data, without making major changes to the existing optical fiber transmission system, such as increasing the number of optical fiber cores or replacing them with expensive multi-mode optical fiber and other hardware facilities. This greatly simplifies the implementation steps of the encryption scheme in the optical fiber network on the basis of reducing the deployment cost, making it more universal and practical. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] 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 creative work.

[0022] Figure 1 is a schematic structural diagram of a key enhancement device for optical fiber transmission provided in an embodiment; Figure 2 is a schematic diagram of a random signal provided in an embodiment; Figure 3 is a schematic structural diagram of a ridge optical waveguide provided in an embodiment; Figure 4 is a distribution result diagram of the Ey component of the TE mode of the ridge optical waveguide provided in the embodiment; Figure 5 is a distribution result diagram of the Ez component of the TM mode of the ridge optical waveguide provided in the embodiment; Figure 6 is a transmission loss diagram of the ridge optical waveguide provided in the embodiment when transmitting TM waves and TE waves; Figure 7 is a schematic diagram of the principle of performing an XOR operation provided by an embodiment; Figure 8 is an example diagram of XOR calculation provided by the embodiment; Fig. 9 The chaotic signal generated based on Lorenz chaos provided in the embodiment; Fig.10 The embodiment provides a chaotic signal generated based on Logistics chaos. DETAILED DESCRIPTION

[0023] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.

[0024] The invention concept of the present invention is to solve the technical problems of low security and reliability in the current optical fiber network communication system, high cost and difficulty in optical fiber transmission structure modification. The embodiment of the present invention provides a key enhancement device and method for optical fiber transmission.

[0025] like Figure 1 As shown, the key enhancement device 00 for optical fiber transmission provided in the embodiment includes a transmitting subsystem 10 and a receiving subsystem 20, and both subsystems are designed based on FPGA.

[0026] In the embodiment, the sending subsystem 10 is arranged at the input end of the transmission optical fiber, and includes a random signal generating module 11 , a first XOR calculating module 12 , a first chaotic sequence generating module 13 , a first hash calculating module 14 , and a sending module 15 .

[0027] The random signal generating module 11 is used to generate a random signal sequence as the first key. Specifically, the random signal generating module 11 has the function of generating a random binary sequence, and can automatically generate a set of unpredictable random signal sequences whose sample values ​​generated each time are statistically independent. Each bit of these random signal sequences is in binary form, and the probability of their occurrence is balanced and there is no obvious pattern to follow. The random signal generating module 11 can use a feedback shift register (LFSR) calculated by an algorithm, a noise signal transmitter generated by a circuit, or a random pulse generator using an optical device. Figure 2 An example of a random signal generated by a feedback shift register is given.

[0028] The first XOR calculation module 12 is used to perform XOR calculation on the plaintext according to the first key to obtain the ciphertext. The plaintext is the known information that needs to be encrypted for transmission, and is a binary signal sequence represented by binary. In the first XOR calculation module 12, two binary signal sequences of arbitrary lengths are subjected to bit-by-bit XOR operations, and finally a binary signal obtained after the logical XOR operation is output as the ciphertext.

[0029] In the embodiment, a ridge optical waveguide is designed, which is unique in that its construction material is a precise combination of silicon nitride and silicon dioxide, and adopts a ridge structure design. Its basic design involves forming one or more raised "ridges" at the top or bottom of the waveguide, which can more effectively limit the propagation of light or electromagnetic waves inside the waveguide and reduce leakage, thereby achieving lower propagation losses in many cases, especially in single-mode operation.

[0030] The ridge optical waveguide is made of silicon nitride and silicon dioxide. Silicon nitride, as the core material of the waveguide, has a high dielectric constant and good insulation properties, which can effectively reduce leakage current, which is crucial for improving device performance and reducing power consumption. Silicon nitride has good thermal stability, which means that it can maintain stable insulation properties in high-temperature process steps such as annealing and subsequent device manufacturing, which is particularly beneficial for devices working in high-temperature environments. The SOI structure using silicon nitride can effectively reduce the self-heating effect, thereby maintaining the stability and reliability of the device. The internal stress of silicon nitride film can be controlled by adjusting the deposition conditions, which can be either compressive stress or tensile stress, thereby improving carrier mobility and achieving ultra-high-speed, low-power semiconductor device performance.

[0031] Silicon dioxide as an oxide cladding is a natural semiconductor insulating material with a high dielectric constant and good electrical insulation. It can effectively isolate the charge between the active area of ​​the device and the substrate, reduce parasitic capacitance, and thus increase the speed of the device and reduce power consumption. The thermal oxidation technology of silicon dioxide is very mature, which makes the manufacturing process of SOI controllable and cost-effective. Silicon dioxide is highly stable to heat and a variety of chemical reagents, which means that it can maintain good performance and reliability during high-temperature processing and subsequent semiconductor manufacturing processes. Silicon dioxide has good compatibility with existing semiconductor processes and can be easily integrated with other semiconductor manufacturing steps, such as doping, metallization, etc., which is conducive to the design and manufacture of complex integrated circuits. A high-quality silicon dioxide layer can reduce charge traps and help maintain the long-term stability of the device.

[0032] like Figure 3 As shown. By simulating the TE mode and TM mode of the passive silicon-based photonic device with a ridge structure, the following is obtained: Figure 4 and 5 The TE mode and TM mode distribution results shown in the figure are analyzed Figure 4 and Figure 5 It can be seen that the waveguide exhibits a high degree of polarization insensitivity. At the same time, the transmission loss of the ridge waveguide when transmitting TM waves and TE waves was also studied, and the following results were obtained: Figure 6 The transmission loss results shown in the figure show that the waveguide has a transmission loss of 1 cm per transmission. It can be found that the loss is equivalent and low when transmitting TE and TM waves. In short, this designed waveguide can support the propagation of electromagnetic waves in any polarization state with extremely low loss, showing excellent performance, and can efficiently transmit light wave signals in any polarization state, significantly optimizing the loss problem of light waves during transmission. This breakthrough overcomes the limitations of polarization sensitivity and high loss in existing technologies.

[0033] The embodiment also designs a passive silicon-based photonic device based on a ridge-structured optical waveguide. The passive silicon-based photonic device is designed specifically for realizing efficient XOR logic operations, that is, it is used in the first XOR computing module 12. The core innovation of the device is the integration of a special ridge-shaped optical waveguide, which has extremely high compatibility with optical signals of any polarization state, ensuring the universality and stability when performing XOR operations, and processing the input optical signals at high speed. Compared with the traditional method, the present invention greatly simplifies the system architecture because the computing device completely relies on a passive mechanism to operate and does not require additional energy input. By optimizing the photon path and signal processing mechanism, the computing speed is significantly improved and energy consumption is reduced. At the same time, due to its streamlined design concept, the overall complexity of the system is effectively reduced, and a more efficient, energy-saving and easy-to-integrate solution is contributed to the field of optical computing. It not only advances the boundaries of optical information processing technology, but also provides important technical support for the realization of more efficient and green optical computing systems.

[0034] Specifically, Figure 7 As shown in the figure, the passive silicon-based photonics device integrates three core modules: uplink and downlink branch waveguides, beam combining components, and output waveguides. All components are made of Figure 3 The ridge cross-section design shown. It is particularly noteworthy that the upstream and downstream branch waveguides adopt a curved path carefully designed according to the Bessel curve. Due to its high-order and derivable nature, the Bessel curve can ensure that the curve is smooth and continuous at any point without mutations or sharp corners. This means that when light passes through the curved waveguide, scattering and loss can be reduced, and the integrity of the signal can be maintained. The Bessel curve allows precise control of the shape of the curve, especially in the design of optical waveguides that require precise phase management, to ensure that the light beam propagates in a predetermined manner to achieve the desired optical path difference or phase delay. The mathematical expression of the Bessel curve is concise, the computational complexity is relatively low, and it is easy to generate and process through algorithms, which is particularly beneficial for computer-aided design (CAD) and automated manufacturing processes.

[0035] The lengths of the uplink and downlink branch waveguides are set to be unequal after precise calculation, aiming to introduce an optical path difference that matches the main frequency of the transmitted light wave. This difference design cleverly enables the two light beams to form a specific n*π phase difference (n represents an odd value) when they arrive at the beam combining area, thus laying the foundation for subsequent signal processing.

[0036] After beam combining, the light waves are smoothly transmitted through the output waveguide, and its signal input and output characteristics are as follows: Figure 8Detailed display. Specifically, the signal encoding scheme is: logic "0" is mapped to a silent state with an amplitude of zero, while logic "1" is encoded as a pure sine waveform with an amplitude of 1. On this basis, sinusoidal transitions with an amplitude of 0.25 are specially embedded in the starting and ending edges of the signal to smooth the signal changes, and these transition segments of the two input signals are in a perfect anti-phase configuration. This design is intended to trigger a unique interference effect.

[0037] Through the above configuration, when the two input signals are in the n*π state (odd number n) due to phase deviation, that is, the phases are opposite to each other, if both are logical "1", the light intensity cancels each other and the output is zero; if both are logical "0", the output also maintains zero value; and when one is "1" and the other is "0", a light signal with full amplitude (amplitude of 1) can be synthesized. What is particularly critical is that at the start and end of the signal, the positive phase interference effect caused by the phase consistency will generate a sine wave with an amplitude of 0.5, which marks the completion of the logical XOR operation.

[0038] The embodiment also provides a schematic diagram of XOR calculation based on the passive silicon-based photonics device constructed, such as Figure 8 As shown, (a) and (b) are input signal 1 and input signal 2 of the XOR calculation, corresponding to the key signal and the plaintext signal respectively, and (c) is the output signal of the XOR calculation, corresponding to the ciphertext, which fully demonstrates the XOR calculation effect of the passive silicon-based photonics device.

[0039] The first chaotic sequence generation module 13 is used to generate a first chaotic sequence with extremely high nonlinearity, no obvious period and unpredictability as the second key. Specifically, it can use a set of initial setting parameters and the inherent dynamic properties of the chaotic system to simulate and produce a high-quality pseudo-random sequence as the second key. Under the deterministic chaotic system rules, it can generate a seemingly random and unpredictable chaotic sequence due to its high sensitivity to initial conditions. The first chaotic sequence generation module 13 can use a logic circuit chaos generator, a chaos generator implemented by a single-chip microcomputer, or an optical chaos transmitter, etc. Fig. 9 Chaotic signals generated based on Lorenz chaos are given as examples, where (a) is three-dimensional Lorenz chaos and (b) is a two-dimensional projection on the XOY plane. Fig.10 The relationship between the output value and the number of iterations in a chaotic signal with r=3.9 generated by a unimodal chaotic system is given as an example.

[0040] The first hash calculation module 14 is used to mix the second key with the ciphertext and then perform hash calculation to obtain the first hash value. In the first hash calculation module 14, there is a mechanism for flexibly integrating the second key as a "salt" with the ciphertext. The ciphertext can be placed before the second key, or after the second key, or alternately placed in a certain pattern. This process ensures that the original ciphertext is fully disturbed and expanded before entering the hash function. Subsequently, the mixed data will be submitted to the hash function for calculation, thereby generating a first hash value with high uniqueness and anti-collision characteristics. Such a design not only enhances the cryptographic security properties, but also can effectively resist rainbow table attacks and other cracking methods for hash value pre-calculation. For example, the ciphertext (0101) is mixed with the second key (7654321) to get 01017654321, and then the calculated hash value is: (cd8ebc90d192cb7a108ac5f19c1fc8bf1eb1f298e40142ceacd7290a857fe0b9).

[0041] In the encryption process of the present invention, the hash salt method is used to strengthen the key processing process. This non-linear encryption method ensures that even if the ciphertext is stolen, the data content before encryption cannot be restored through cryptanalysis methods, thereby effectively avoiding the security risks of linear encryption systems that are susceptible to chosen plaintext attacks and significantly improving the security level of the system.

[0042] The sending module 15 is used to generate an optical signal under the control of the first hash value, and the optical signal carries the first hash value and is coupled into the transmission optical fiber. Specifically, the first hash value drives the light source to generate an optical signal, and the optical signal carrying the first hash value is amplified by the erbium-doped fiber amplifier and then coupled into the transmission optical fiber through the coupler for propagation.

[0043] It should be noted that in the transmitting subsystem 10, the random signal generating module 11 and the first chaotic sequence generating module 13 can be generated using a logic circuit or a modulated laser, so the output signal may be light or electricity. If the output signal is light, a photoelectric detector is required for photoelectric conversion.

[0044] It should also be noted that the signal transmission part in the transmission optical fiber has no requirements on the encoding method and optical fiber selection.

[0045] The receiving subsystem 20 is arranged at the output end of the transmission optical fiber, and includes a receiving module 21 , a second chaotic sequence generating module 22 , a second hash calculation module 23 , a parsing and comparing module 24 , and a second XOR calculation module 25 .

[0046] The receiving module 21 is used to receive an optical signal carrying a first hash value from a transmission optical fiber, specifically, to receive the optical signal through an optical fiber coupler, and to convert the optical signal through an optoelectronic converter to read the value.

[0047] The second chaotic sequence generating module 22 is used to generate a second chaotic sequence that is identical to the first chaotic sequence as a third key based on the same initial setting parameters. It should be noted that the initial setting parameters are the same as the setting parameters used by the first chaotic sequence generating module 13 to generate the second key, which are set in advance or transmitted through the public network. The second chaotic sequence generating module 22 has the same structure as the first chaotic sequence generating module 13, and will not be repeated here.

[0048] The second hash calculation module 23 is the same as performing hash calculation on the third key to obtain the second hash value. Since there is no ciphertext, only the third key needs to be hashed, and the hash calculation algorithm used is the same as that in the first hash calculation module 14, that is, the same hash calculation process is performed to obtain a candidate hash value for comparison with the second key of the sender, that is, the second hash value. The number of bits of the key transmitted each time is dynamically adjusted according to the real-time computing capability of the receiving subsystem. For example, when transmitting an n-bit key, theoretically, a maximum of 2 bits may be required. n Hash calculations.

[0049] The parsing and comparison module 24 is used to parse the received optical signal to obtain the first hash value, and compare the two hash values. If the two hash values ​​completely match, it indicates that the second key has been successfully restored. If no matching hash value is calculated, it indicates that the hash value may have been tampered with. After comparing and determining that the first hash value and the second hash value are equal, the ciphertext is obtained from the first hash value.

[0050] The second XOR calculation module 25 is used to decrypt the ciphertext based on the first key to obtain plaintext. It should be noted that the first key is transmitted to the receiving subsystem via a public network. The second XOR calculation module 25 has the same structure as the first XOR calculation module 15.

[0051] In the above-mentioned device, since the signals generated by the two chaotic sequence generation modules and the random signal generation module show a high degree of irregularity and statistical unpredictability, these signals are essentially difficult to distinguish or reverse crack through statistical analysis methods. Therefore, they can effectively resist statistical-based cracking methods and improve the security and confidentiality of the system.

[0052] In the above device, due to the design strategy of transmitting ciphertext and key independently through different channels, it is significantly more difficult for eavesdroppers to obtain data. This mechanism ensures that the ciphertext and key will not be exposed in the same channel at the same time during the transmission process, thereby greatly enhancing the security of the system and reducing the possibility of illegal data theft.

[0053] In the above device, hash encryption technology with salt value is used. Even if the attacker successfully obtains the first hash value and the details of the encryption algorithm used, due to the inherent nonlinear irreversible characteristics of the algorithm, the attacker still cannot parse the ciphertext corresponding to the first hash value through reverse engineering. In addition, the deep fusion method of the ciphertext and the chaotic sequence as the second key in the system has extremely high flexibility and uncertainty, which further increases the complexity and difficulty of the attacker when trying to crack the key. Therefore, the double protection mechanism ensures that the security of the system is effectively improved.

[0054] In the above device, hash value technology is used when transmitting the key, which effectively prevents the key from being tampered with, thereby significantly enhancing the security and reliability of the system.

[0055] The above device is simple in design and highly versatile. It can be seamlessly integrated into and serve any type of optical fiber system without any substantial structural modification to the existing optical fiber network. Its excellent convenience is reflected in its rapid deployment capability and low implementation cost, which enables the system to be efficiently built in a short period of time, effectively saving project expenses, thus becoming a highly cost-effective optical fiber communication security solution.

[0056] The embodiment also provides a key enhancement method for optical fiber transmission, comprising the following steps: In the sending subsystem 10, a random signal generation module 11 is used to generate a random signal sequence as a first key; a first chaotic sequence generation module 12 is used to generate a first chaotic sequence as a second key based on set parameters, and the set parameters are synchronized to the second chaotic sequence generation module 22 of the receiving subsystem 20; a first XOR calculation module 13 is used to perform XOR calculation on the plaintext according to the first key to obtain a ciphertext; a first hash calculation module 14 is used to mix the second key with the ciphertext and perform hash calculation to obtain a first hash value; a sending module 15 is used to generate an optical signal controlled by the first hash value, and the optical signal carries the first hash value and is coupled into a transmission optical fiber; In the receiving subsystem 20, a receiving module 21 is used to receive an optical signal carrying a first hash value from a transmission optical fiber, and a second chaotic sequence generating module 22 is used to generate a second chaotic sequence identical to the first chaotic sequence as a third key according to the same set parameters; a second hash calculation module 23 is used to perform hash calculation on the third key to obtain a second hash value; a parsing and comparison module 24 is used to parse the received optical signal to obtain the first hash value, and after comparing and determining that the first hash value and the second hash value are equal, a ciphertext is obtained from the first hash value; a second XOR calculation module 25 is used to decrypt the ciphertext based on the first key to obtain a plaintext.

[0057] The key enhancement method above builds an efficient data encryption and transmission solution, ensuring the high security and confidentiality of the data. The present invention pays special attention to improving security performance, and uses highly random signals generated by chaotic systems to strengthen the protection mechanism; at the same time, the design ensures that the ciphertext and the key are transmitted through independent channels, and combines hash encryption technology with salt values, which not only greatly increases the difficulty of cracking the system, but also demonstrates the extremely high practical value and broad application prospects of the present invention.

[0058] The specific implementation methods described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A key enhancement device for optical fiber transmission, It is characterized in that It includes a transmitting terminal system and a receiving terminal system; The transmitting subsystem is arranged at the input end of the transmission optical fiber, and includes a random signal generating module, a first XOR calculating module, a first chaotic sequence generating module, a first hash calculating module, and a transmitting module, wherein the first random signal generating module is used to generate a random signal sequence as a first key, the XOR calculating module is used to perform XOR calculation on the plaintext according to the first key to obtain a ciphertext, the first chaotic sequence generating module is used to generate a first chaotic sequence as a second key, the first hash calculating module is used to mix the second key with the ciphertext and then perform a hash calculation to obtain a first hash value, and the transmitting module is used to generate an optical signal under the control of the first hash value, and the optical signal carries the first hash value and is coupled into the transmission optical fiber; The receiving subsystem is arranged at the output end of the transmission optical fiber, and includes a receiving module, a second chaotic sequence generating module, a second hash calculation module, a parsing and comparing module, and a second XOR calculation module. The receiving module is used to receive an optical signal carrying a first hash value from the transmission optical fiber. The second chaotic sequence generating module is used to generate a second chaotic sequence identical to the first chaotic sequence as a third key. The second hash calculation module is used to perform hash calculation on the third key to obtain a second hash value. The parsing and comparing module is used to parse the received optical signal to obtain the first hash value, and obtain a ciphertext from the first hash value after comparing and determining that the first hash value and the second hash value are equal. The second XOR calculation module is used to decrypt the ciphertext based on the first key to obtain a plaintext.

2. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that The random signal generating module adopts a feedback shift register using algorithm calculation, a noise signal transmitter using circuit generation, or a random pulse generator using an optical device, and can generate a binary random signal sequence.

3. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that The first chaotic sequence generating module and the second chaotic sequence generating module adopt a logic circuit chaotic generator, a chaotic generator realized by a single chip microcomputer, or an optical chaotic transmitter, and generate a pseudo-random sequence as a chaotic sequence by setting parameters.

4. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that The first XOR computing module and the second XOR computing module adopt passive silicon-based photonic devices constructed based on ridge optical waveguides, wherein the ridge optical waveguides are made of silicon nitride and silicon dioxide.

5. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that The first hash calculation module uses a hash salting method to strengthen the hash calculation process of the key. Specifically, the first key is mixed with the ciphertext as a salt and then hashed. When mixing, the ciphertext is placed before or after the first key, or is cross-set in the first key according to a certain rule.

6. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that In the sending module, the optical signal carrying the first hash value is amplified by the erbium-doped fiber amplifier and then coupled into the transmission optical fiber through the coupler for propagation.

7. The key enhancement device for optical fiber transmission according to claim 1, It is characterized in that Also includes: The first key generated by the sending subsystem is transmitted to the receiving subsystem via a public network and is decrypted by the second XOR calculation module.

8. A key enhancement method for optical fiber transmission, It is characterized in that The method adopts the device according to any one of claims 1 to 7, comprising the following steps: In the transmitting subsystem, a random signal generation module is used to generate a random signal sequence as a first key; a first chaotic sequence generation module is used to generate a first chaotic sequence as a second key based on a set parameter, and the set parameter is synchronized to a second chaotic sequence generation module of the receiving subsystem; a first XOR calculation module is used to perform XOR calculation on the plaintext according to the first key to obtain a ciphertext; a first hash calculation module is used to mix the second key with the ciphertext and perform a hash calculation to obtain a first hash value; a transmitting module is used to generate an optical signal under the control of the first hash value, and the optical signal carries the first hash value and is coupled into a transmission optical fiber; In the receiving subsystem, a receiving module 21 is used to receive an optical signal carrying a first hash value from a transmission optical fiber; a second chaotic sequence generation module is used to generate a second chaotic sequence identical to the first chaotic sequence as a third key according to the same set parameters; a second hash calculation module is used to perform hash calculation on the third key to obtain a second hash value; a parsing and comparison module is used to parse the received optical signal to obtain the first hash value, and after comparing and determining that the first hash value and the second hash value are equal, a ciphertext is obtained from the first hash value; a second XOR calculation module is used to decrypt the ciphertext based on the first key to obtain a plaintext.

9. The key enhancement method for optical fiber transmission according to claim 8, It is characterized in that The sending subsystem performs encryption of the plain text and calculation and sending of the hash value in real time, and the receiving subsystem receives the hash value in real time and performs parsing and decryption operations to obtain the plain text.