On-chip all-optical mode matching system and method for BPSK (Binary Phase Shift Keying) signal

By using a combination of delay interferometer and nonlinear fiber ring mirror in the all-optical mode matching system of BPSK signals, the problems of difficult integration and complex structure of the system are solved, matching of multiple target sequences is achieved, and the efficiency of the optical network is improved. Security and reliability.

CN118573290APending Publication Date: 2024-08-30XI'AN UNIVERSITY OF ARCHITECTURE AND TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701619.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing all-optical pattern matching system for BPSK signals is difficult to integrate, has a complex structure, and cannot match multiple target sequences, resulting in limited security and reliability in optical networks.

Method used

An on-chip all-optical mode matching system for BPSK signals is designed, which uses a signal interference module, a reloading module and an identification module. It uses a delay interferometer and a nonlinear fiber ring mirror for signal interference and reloading, and realizes phase modulation through the XPM effect. , supports the matching of multiple target sequences, and builds the system through integrable devices.

Benefits of technology

It achieves easy integration of the system, reduces structural complexity, supports matching of multiple target sequences, improves matching efficiency and security, and is suitable for the actual deployment of high-speed optical networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573290A
    Figure CN118573290A
Patent Text Reader

Abstract

The invention discloses an on-chip all-optical mode matching system and method for BPSK signals. The system comprises a signal interference module, a heavy load module, an identification module and a matching module. The signal interference module comprises a first BPSK signal interference channel and a second BPSK signal interference channel; the output end of the signal interference module is connected to the nonlinear optical fiber environment; the heavy load module comprises a local CW signal input channel, an optical coupler and a nonlinear fiber loop mirror which are arranged along the signal transmission path; the identification module comprises an optical coupler, an optical isolator, a filter, a fixed power erbium-doped fiber amplifier and a NOT gate which are arranged along a signal transmission path; the fixed power EDFA is used for amplifying the power of an output pulse to a specific value; the matching module comprises an AND gate and a regenerator, and the AND gate and the regenerator are combined to form a circulation loop; the BPSK modulation format-oriented integratable chip-level all-optical mode matching can be realized, and the matching of a plurality of target sequences is supported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of optical network security, and in particular relates to an on-chip all-optical mode matching system and method for BPSK signals. Background Art

[0002] As the most basic bearer network, optical networks are responsible for the efficient transmission of data, and strongly support the vigorous development of emerging technologies such as cloud computing, big data, 5G, virtual reality, industrial Internet, Internet of Things, and artificial intelligence. These emerging Internet technologies usually require fast data access, massive data processing, intelligent data management, flexible resource allocation, and low cost consumption. In order to achieve fast and efficient transmission of services of different types, granularity, and levels in optical networks, the transmission technologies used in its physical layer include time division multiplexing, wavelength division multiplexing, and space division multiplexing. However, with the coordinated and integrated development of multi-dimensional resources in time, space, and frequency, the security issues of optical networks have become increasingly prominent, and its physical layer is increasingly vulnerable to various types of attacks. Optical network security is facing increasingly serious threats.

[0003] Due to the differences in type and size of optical networks, the security threats to the physical layer during actual transmission may vary. In order to improve the security of optical networks, a variety of methods have been studied to achieve optical network security at the physical layer, including optical code division multiple access, quantum encryption, chaos encryption, spectrum shifting, optical node security reinforcement, attack detection, optical information hiding, photon firewalls, etc. Among them, the photon firewall can use all-optical mode matching technology to directly identify the information carried by the optical signal in the optical domain, identify hidden network intrusions and attacks, and can select corresponding defense measures according to the set security policy, thereby realizing intrusion detection and security protection in the optical domain.

[0004] Figure 1The block diagram of the photonic firewall is shown in FIG. 1. When a data packet enters the photonic firewall, it is first divided into two parts, the upper and lower parts. The upper part enters the matching field interception module, which can intercept the data packet fields that need to be matched, such as the data packet header. Then, the intercepted fields are input into the all-optical mode matching system. The all-optical mode matching system compares and checks the input data information with the target intrusion sequence provided by the electronic interface in a simple but high-speed manner. In addition, the electronic interface can reconfigure the output target intrusion sequence under software control. After comparison, the output of the all-optical mode matching system may contain some pulses, which can further drive the subsequent optical switch. The lower part uses the optical fiber delay line to buffer the input data packet. The buffering time corresponds to the time taken by the all-optical mode matching system to complete the matching operation. According to the output of the all-optical mode matching system, if the target intrusion sequence does not exist in the input signal, the data packet can be transmitted to the next optical node; otherwise, it can be transmitted to a dedicated electronic processor for further detailed inspection of the input data packet. Here, each dedicated electronic processor can process different security attacks, so only a part of the input data packet needs to be operated, which reduces the burden of the electronic processor. Compared with traditional electronic firewalls, photonic firewalls can directly operate on optical signals, have faster operation speed and higher processing bandwidth, avoid complex optical / electrical / optical conversion, and reduce system delay, volume, cost and complexity. In addition, with the continuous improvement of optical network transmission rate, it will be difficult to resist high-speed optical network signal attacks by relying solely on existing electronic firewalls. Therefore, it is urgent to extend the function of firewalls to the optical domain, build and improve photonic firewall systems for high-speed optical signals, and improve the security and reliability of information transmission in optical networks. As the core component of the photonic firewall, the all-optical mode matching system mainly performs logical operations on the input optical data sequence and the target sequence to be matched, and determines whether the input optical data sequence contains the target sequence based on the output pulse. The all-optical mode matching system is mainly composed of all-optical logic gates, including XOR gates, XOR gates, AND gates, NOT gates, regenerators, etc.

[0005] The photonic firewall technology that has been widely studied and is relatively mature mainly comes from the "Line Rate Security Domain Based on Optical Signal Detection" (WISDOM) project led by the European Union. The project experimentally realized a photonic firewall that supports binary amplitude keying (On-Off Keying, OOK) signals with a transmission rate of 42.6Gbps. In this photonic firewall, the all-optical mode matching system for OOK signals is mainly composed of all-optical XOR gates, AND gates and regenerators based on semiconductor optical amplifiers (Semiconductor Optical Amplifiers, SOA). Compared with OOK signals, phase modulation format signals represented by BPSK and QPSK have the advantages of long transmission distance and strong anti-noise ability. Therefore, phase modulation format signals have been widely used in commercial optical communication equipment. In order to achieve matching of BPSK signals, the all-optical mode matching system for BPSK signals currently proposed usually directly couples the input optical data sequence and the target sequence to be matched, and uses an AND gate and a regenerator based on a highly nonlinear fiber (HNLF) to form a loop, thereby completing the matching of multi-bit continuous target sequences. However, in the actual deployment of this system, there are still some defects such as difficult device integration, complex system structure, and inability to match multiple target sequences, which are explained in detail as follows.

[0006] (1) All-optical logic gates based on nonlinear optical media HNLF are difficult to integrate

[0007] All-optical mode matching systems are often composed of multiple all-optical logic gates, and each all-optical logic gate is usually implemented based on nonlinear effects in different nonlinear media. Under ideal conditions, the nonlinear response time of all-optical logic gates based on HNLF is only limited by the Kerr effect, which is usually less than 10fs. It has the advantages of fast response speed, large nonlinear coefficient, and low noise, and can meet the requirements of high-speed optical data transmission. However, all-optical logic gates based on HNLF often require hundreds or even thousands of meters of optical fiber. The significant disadvantage of optical fiber is that it is relatively large in size and difficult to integrate. In order to deploy all-optical mode matching systems in actual networks, system integration is indispensable and is a key bottleneck related to system practicality and cost issues.

[0008] (2) Frequency synchronization leads to complex system structure

[0009] The traditional all-optical mode matching system for BPSK signals obtains the recognition result of BPSK symbols by directly coupling the input optical data sequence and the target sequence to be matched. If the input optical data sequence symbol is in phase with the target sequence symbol, the two are coherent and constructive, and the output is high; if the input optical data sequence symbol is in phase with the target sequence symbol, the two are coherent and destructive, and the output is low. However, in actual deployment, the input optical data sequence and the locally generated target sequence come from two different light sources, and there is often an error between the frequencies of the two, so interference cannot occur. In order to keep the input optical data sequence and the target sequence to be matched at the same frequency, the system usually needs to perform separate signal carrier extraction. The traditional solution using an optical phase-locked loop uses the phase difference between the input signal light and the local laser to feedback control the output signal frequency of the local laser, so that the output frequency of the local laser can track the frequency of the input signal light and keep consistent with the frequency change of the input signal light, thereby achieving the result that the output frequencies of the two lasers remain the same. However, this solution requires optical-electrical-optical conversion, which takes a long time, reduces the processing rate of the system, and also makes the overall structure of the system very complicated.

[0010] (3) A single system cannot match multiple target sequences

[0011] The current all-optical pattern matching system can only match and identify a single target sequence, such as a specific IP address or port number in the packet header. When it is necessary to simultaneously check different parts of the packet header, such as the IP address and port number of the user to be accessed, if only the IP address is simply detected for attack, it may lead to missed or false positives of attacks, and the flow direction of the packet cannot be accurately determined. Therefore, in order to complete the matching of multiple target sequences, it is often necessary to cascade multiple existing all-optical pattern matching systems, in which each system separately identifies a certain part of the packet header, and finally combines the identification results of each part to complete the filtering of the packet, but this also greatly increases the cost and implementation complexity of the firewall system.

[0012] In order to actually deploy the photonic firewall into the network, it is very necessary to integrate the all-optical mode matching system. The integrated system has the advantages of small size, low power consumption, and is suitable for mass production. In addition, the integrated all-optical mode matching system can better suppress the impact of environmental jitter, temperature change and other factors on the overall performance of the system. The integrated system will also continue to expand its control capabilities in the optical domain and support the matching of multiple target sequences by integrating the advantages of existing systems. Therefore, research on optical system integration has long-term significance and is also an important research direction at present. In summary, facing the future high-speed and large-capacity optical network security needs, considering the difficulty of practical application of the existing all-optical mode matching system, there is an urgent need for an integrated chip-level all-optical mode matching model for BPSK modulation format to provide strong equipment support for the establishment of the next generation of secure and reliable optical network information transmission. Summary of the invention

[0013] In order to solve the problems existing in the prior art, the present invention provides an on-chip all-optical mode matching system for BPSK signals and a construction method thereof, which can realize integrable chip-level all-optical mode matching for BPSK modulation format and simultaneously support the recognition of multiple target sequences.

[0014] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: an on-chip all-optical mode matching system for BPSK signals, comprising a signal interference module, a reload module, an identification module and a matching module; the signal interference module comprises a first BPSK signal interference channel and a second BPSK signal interference channel; delay interferometers are arranged in the first BPSK signal interference channel and the second BPSK signal interference channel; the output end of the signal interference module is connected to a nonlinear optical fiber loop mirror; the reload module comprises a local CW signal input channel, an optical coupler and a nonlinear optical fiber loop mirror arranged along the signal transmission path;

[0015] The identification module includes an optical coupler, a second isolator, a filter, a fixed-power erbium-doped fiber amplifier and a NOT gate arranged along the signal transmission path, wherein the filter is used to filter out the wavelength of the detection optical signal; the fixed-power EDFA is used to amplify the power of the output pulse to a specific value; the matching module includes an AND gate and a regenerator, and the AND gate and the regenerator are combined to form a circulating loop; the nonlinear fiber ring mirror uses a bidirectional SOA as a nonlinear medium.

[0016] Furthermore, the first BPSK signal interference channel includes a signal input port, a storage loop, a first delay interferometer and a first optical switch arranged along the signal transmission direction; the first delay interferometer is a 1-bit delay interferometer, which is used to map the phase information of the input BPSK signal into two power information; the second BPSK signal interference channel includes a signal input port, a second delay interferometer and a second optical switch arranged along the signal transmission direction, and the second delay interferometer is an n-bit delay interferometer, which is used to map the phase information of the target BPSK signal into two power information; the storage loop is used to repeat the signal.

[0017] Furthermore, the local CW signal input channel includes a local laser and a first isolator, and the optical coupler is a 50:50 optical coupler, which divides the local CW signal into two branches and injects them into the nonlinear fiber loop mirror.

[0018] Furthermore, the two-power signals are used as pump light; the local CW signal is used as detection light of the XPM effect, and the nonlinear fiber loop mirror is used to remodulate the first BPSK signal and the second BPSK signal.

[0019] The present invention also provides an on-chip all-optical mode matching method for BPSK signals, comprising the following steps:

[0020] Perform interference operation on the input BPSK sequence and the target BPSK sequence to obtain two power signals;

[0021] XPM is used to reload the two power signals obtained after interference; the two power signals are used as pump light and enter the bidirectional SOA together with the detection light in the clockwise and counterclockwise directions respectively. In the SOA, the input pump light and detection light are subjected to XPM, and the two power signals are remodulated into phase modulation signals with the local CW as the carrier, completing the conversion of the amplitude signal to the phase signal;

[0022] Obtain the recognition results of the input BPSK sequence and the current target BPSK symbol; the two detection optical signals after the bidirectional SOA continue to be transmitted in the clockwise and counterclockwise directions respectively, and the output signal will pass through the filter and filter out the wavelength of the detection optical signal; if the input BPSK sequence symbol and the target BPSK sequence symbol are in phase, there will be a pulse output after passing through the NOT gate, that is, logic "1", indicating that the two match; if the input BPSK symbol and the target BPSK symbol are in anti-phase, there will be no pulse output after passing through the NOT gate, that is, logic "0", indicating that the two do not match;

[0023] The matching of the target BPSK sequence with multiple symbols is completed by using a loop composed of an AND gate and a regenerator.

[0024] Furthermore, the input BPSK sequence first passes through a storage loop to obtain a string of repetitive data with a period of n*T, wherein n is the length of the input BPSK sequence, and T is the bit period of the input data. The phase jump information of the continuous bits of the repetitive data sequence is mapped into two power information, and the two power information will be used as the pump signal of the XPM effect to complete the reloading of the input BPSK sequence. At the same time, the target BPSK sequence is subjected to an operation similar to the input BPSK sequence. The duration of each symbol in the target BPSK sequence is n*T. After passing through the second delay interferometer, the target BPSK sequence is converted into a string of two power signals, and the first optical switch and the second optical switch are opened within the time (0, n*T] to eliminate the interference of the null signal in the initial state on the system output, and the first optical switch and the second optical switch are closed at the beginning of the second cycle.

[0025] Furthermore, when interfering the input BPSK sequence and the target BPSK sequence, P XPM Characterizing the output power of the delay interferometer, the continuous bit sequence (01,10) will correspond to P XPM =0; continuous bit sequence (00,11) corresponds to P XPM ≠0;

[0026] When XPM is used to overload the two power signals obtained after interference, the input pump light power and SOA parameters are adjusted so that the input high power signal P can be reduced after passing through SOA. XPM ≠0 is mapped to the π phase shift of the detection light; the input low-power signal P XPM =0 is mapped to a 0 phase deflection of the detection light.

[0027] Furthermore, when obtaining the identification result of the input BPSK sequence and the current target BPSK symbol, after the local CW passes through the coupler for the first time, a phase shift of j will be introduced in the opposite arm of the coupler, that is, in the counterclockwise transmission direction, and then after passing through the XPM effect, after being output from the coupler for the second time, a phase shift of j will also be introduced on the counterclockwise transmitted optical signal. The signal has a total phase deflection of π. At the output of the coupler, if the two sequence symbols after overloading have the same signal amplitude and a phase offset of π, the filter will have no pulse output. When the two sequence symbols after overloading have a phase difference of π, the input BPSK sequence symbol and the target BPSK sequence symbol have exactly the same phase, that is, when the filter has no pulse output, the input BPSK sequence symbol matches the target BPSK sequence symbol; and when the filter has a pulse output, the two sequence symbols do not match. The output result is passed through a fixed-power EDFA to amplify the power of the output pulse to a specific value, which is used as a pump light to drive the subsequent NOT gate.

[0028] Furthermore, when the matching of the target BPSK sequence with multiple symbols is completed by using a loop composed of an AND gate and a regenerator: within (n*T, 2n*T] time, where n is the length of the input BPSK sequence, and T is the bit period of the input data, the output result after the NOT gate is the matching result of the input BPSK sequence after reloading and the first target BPSK symbol after reloading;

[0029] In the time (2n*T, 3n*T], the output result after the NOT gate is the matching result between the input BPSK sequence after reloading and the second target BPSK symbol after reloading; after obtaining the matching result between the input BPSK sequence after reloading and the single target BPSK symbol after reloading, the matching results of all m-1 symbols in the target BPSK sequence after reloading are combined by using a loop composed of an AND gate and a regenerator; in the time (n*T, 2n*T], one of the inputs of the AND gate in the loop is the output of the filter, and the other input is the initial pulse, which is composed of a series of all "1" pulse sequences. The output result of the AND gate in the loop in the time (n*T, 2n*T] is the matching result between the input BPSK sequence after reloading and the first symbol in the target BPSK sequence to be matched after reloading; wherein, m≤n;

[0030] Within the time (2n*T, 3n*T], the other input of the AND gate in the loop is the matching result of the first symbol of the reloaded input BPSK sequence after the (n+1)*T time delay and regeneration and the reloaded target BPSK sequence. The output result of the AND gate in the loop within the time (2n*T, 3n*T] is the matching result of the first two symbols of the reloaded input BPSK sequence and the reloaded target BPSK sequence. This cycle is repeated until the matching result of the reloaded input BPSK sequence and the reloaded target BPSK sequence with any m-1 symbols is finally obtained.

[0031] At the same time, the present invention can also provide a photon firewall, which adopts the above-mentioned on-chip all-optical mode matching system for BPSK signals.

[0032] Compared with the prior art, the present invention has at least the following beneficial effects:

[0033] The system of the present invention uses a delay interferometer to differentially encode the input BPSK sequence and the target BPSK sequence, so that the system can simultaneously support the matching of two target sequences, improve the matching efficiency, and reduce the system complexity. This method overcomes the defects of the original all-optical mode matching system for BPSK signals that are difficult to integrate and have a complex structure in actual deployment, and accelerates the practical application process of the all-optical mode matching system for BPSK signals.

[0034] By adopting the on-chip all-optical mode matching method for BPSK signals provided by the present invention, the input BPSK sequence and the target BPSK sequence are remodulated respectively by a delay interferometer and a NOLM, and the information of the two sequences is mapped to two branches of the local CW respectively, so as to ensure the strong coherence of the two signal branches. In addition, the system is constructed by using integrable devices, so as to avoid additional signal carrier extraction, so that the all-optical mode matching system for BPSK signals is easy to integrate, and the actual deployment capability of the system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and other advantages of the present invention will be more readily understood from the following detailed description of the various embodiments of the present invention in conjunction with the accompanying drawings which illustrate various embodiments of the present invention, in which:

[0036] Figure 1 The composition block diagram of the photon firewall is shown;

[0037] Figure 2 A block diagram of an on-chip all-optical mode matching system for BPSK signals is shown;

[0038] Figure 3 A schematic diagram of constellation transfer during signal reloading is shown;

[0039] Figure 4 The frequency spectrum of each module output in the system is shown;

[0040] Figure 5 The signal representation of each module during the first cycle is shown;

[0041] Figure 6 The signal representation of each module during the second cycle is shown;

[0042] Figure 7 The signal representation of each module during the third cycle is shown;

[0043] Figure 8 The signal representation of each module during the fourth cycle is shown;

[0044] Fig. 9 The waveform diagram of the on-chip all-optical mode matching system for BPSK signals is shown. DETAILED DESCRIPTION

[0045] As the basic physical facilities of various networks, optical networks play an important role in the process of information development. However, with the continuous development of new technologies, optical network security is facing serious threats. In response to the problem of optical network security, photonic firewalls mainly use all-optical mode matching technology to directly detect and analyze the information carried by the optical network at the optical layer, and take corresponding protection measures according to the set security strategy. It has the characteristics of fast speed, large capacity and low power consumption. However, the all-optical mode matching system for phase modulation format signals is currently only functionally verified in simulation. For deployment in actual networks, the system still has problems such as difficulty in integration and complex structure. The on-chip all-optical mode matching system for BPSK signals is studied, so that it can directly process optical signals with BPSK modulation format, realize the function of identifying and locating the target sequence in the input optical data sequence, and the matching model should be easy to integrate and simple in structure, providing integrated hardware support for fast and efficient all-optical mode matching.

[0046] refer to Figure 2 The present application provides a novel on-chip all-optical mode matching system for BPSK signals, comprising a delay interferometer, a 50:50 optical coupler, a nonlinear fiber loop mirror, a storage loop, an optical switch, an optical isolator, an optical filter, a fixed-power erbium-doped fiber amplifier, a NOT gate, an AND gate, and a regenerator; the all-optical AND gate and the regenerator form a circulating loop; the optical switch comprises a first optical switch and a second optical switch, the delay interferometer comprises a first delay interferometer and a second delay interferometer, the left delay interferometer is the first delay interferometer, and the right delay interferometer is the second delay interferometer, the optical isolator comprises a first isolator and a second isolator; the first isolator and the second isolator are unidirectional isolators.

[0047] This application proposes a novel on-chip all-optical mode matching system for BPSK signals, such as Figure 2As shown. First, the continuous wave (CW) generated by the local laser is divided into two branches through the first isolator and the 50:50 optical coupler and injected into the nonlinear optical loop mirror (NOLM), and transmitted in the NOLM in the clockwise and counterclockwise directions respectively. The nonlinear optical loop mirror uses a bidirectional SOA as a nonlinear medium. At the same time, the input BPSK sequence to be filtered on the left repeats the signal through the storage loop, and then the phase information of the signal is mapped into two power information using a 1-bit delay interferometer. The first optical switch is closed in the second cycle, and the two power information output by the first delay interferometer is injected into the NOLM to complete the remodulation of the input BPSK sequence. Similarly, the target BPSK sequence to be matched on the right maps the phase information into two power information through the n-bit delay interferometer, and the second optical switch is also closed at the beginning of the second cycle, and the two power information is injected into the NOLM to complete the remodulation of the target BPSK sequence.

[0048] The two clockwise and counterclockwise carrier branches generated by the local CW remodulate the two power information into phase information based on the cross-phase modulation (XPM) effect in NOLM. Since the input BPSK sequence and the target BPSK sequence are remodulated and transmitted together in NOLM, they have the same optical path difference, which ensures the strong coherence of the two during the transmission process, so they can always maintain a stable frequency relationship. At the output of the optical coupler, the two overloaded signals are coherently interfered and converted into OOK signals. Since the target BPSK sequence passes through the optical coupler twice as an out-of-phase output during the overloading process, the overloaded target BPSK sequence will introduce a phase flip of π. When the input BPSK sequence symbol is in phase with the target BPSK sequence symbol, the filter has no pulse output; when the two sequence symbols are in phase, the filter has a pulse output. The output result of the second isolator will then pass through a fixed power erbium-doped fiber amplifier (EDFA) and a NOT gate. If the input BPSK sequence symbol is in phase with the target BPSK sequence symbol, a pulse will be output after passing through the NOT gate; if the two sequence symbols are in opposite phases, no pulse will be output after passing through the NOT gate. Finally, through a loop consisting of an all-optical AND gate and a regenerator, the matching result of the input BPSK sequence and the current target sequence symbol to be matched can be combined with the matching result of the input BPSK sequence and the next target sequence symbol to be matched, and then the matching result of the input BPSK sequence and multiple target sequence symbols to be matched can be obtained. Therefore, according to the final output result of the system, if there is a target BPSK sequence to be matched in the input BPSK sequence, then the output of several pulses means that the input BPSK sequence contains several target BPSK sequences, and the position of the pulse indicates the position of the last bit of the target BPSK sequence in the input BPSK sequence; if there is no target BPSK sequence in the input BPSK sequence, then there will be no pulse output.

[0049] In this system, some basic functional devices required, such as optical couplers, optical isolators, optical amplifiers, and optical filters, have been proposed and experimentally verified for integration. In addition, these commonly used basic devices can also be used to build the all-optical AND gates and regenerators required in the loop. The nonlinear medium used in the optical signal overload part is a bidirectional SOA, which has been experimentally proven to be integrable, so all the devices required in the system are integrable devices.

[0050] The advantages of this method mainly include three aspects: (1) The system avoids additional signal carrier extraction and reduces system complexity by reloading the optical signal and using NOLM. In addition, all components required in the system are integrable, providing a feasible solution for building an on-chip all-optical mode matching system; (2) The system differentially encodes the input BPSK sequence and the target BPSK sequence through a delay interferometer, and then reloads the encoded data and completes the all-optical matching, so that the system can support the recognition of two target sequences at the same time, improving the matching efficiency of the system; (3) By modifying the delay interferometer device that converts the BPSK signal into a two-power signal into a device that converts any MPSK signal into a multi-power signal, the scheme can be expanded to an on-chip all-optical mode matching system for any MPSK signal, which has strong configurability and reconfigurability.

[0051] An on-chip all-optical mode matching method for BPSK signals comprises the following steps:

[0052] The first step is to perform interference operation on the input BPSK sequence and the target BPSK sequence. After entering the system, the input BPSK sequence first passes through a storage loop to obtain a string of repeated data with a period of n*T, where n is the length of the input BPSK sequence and T is the bit period of the input data. Subsequently, the repeated data enters the delay interferometer to map the phase jump information of the continuous bits of the data sequence into two power information. If the two optional phases of the BPSK signal are 0 and π, the 0 phase is encoded as 0 and the π phase is encoded as 1, P XPM Characterize the output power of the delay interferometer, then the continuous bit sequence (01,10) will correspond to P XPM =0; continuous bit sequence (00,11) corresponds to P XPM ≠0, the two power information will be used as the pump signal of the XPM effect in the second step to complete the reloading of the input BPSK sequence. At the same time, similar operations are performed on the target BPSK sequence, but unlike the input BPSK sequence, the duration of each symbol in the target BPSK sequence is n*T, so the time delay of the lower arm of the delay interferometer is n*T. After passing through the delay interferometer, the target BPSK sequence is also converted into a series of two power signals. Since the first symbol of the target sequence coherently interferes with a null signal during the (0,n*T] time of the first cycle, the first optical switch and the second optical switch are opened during the (0,n*T] time to eliminate the interference of the null signal on the system output in the initial state, and the left and right optical switches are closed at the beginning of the second cycle.

[0053] The second step is to use XPM to reload the interfered signal. The CW generated by the local laser first passes through the first isolator so that only unidirectional light is input into the subsequent optical coupler. After passing through the 2×2 50:50 optical coupler, the CW is divided into two branches and injected into the NOLM, and used as the detection light for the subsequent XPM effect, and is transmitted in the NOLM in the clockwise and counterclockwise directions respectively. At the same time, the two power signals generated by the interference operation on the input BPSK sequence and the target BPSK sequence in the first step are used as pump light, and enter the bidirectional SOA together with the detection light in the clockwise and counterclockwise directions respectively. In the SOA, the input pump light and detection light will undergo XPM, and the two power signals will be remodulated into phase modulated signals with the local CW as the carrier, completing the conversion of the amplitude signal to the phase signal. By appropriately adjusting the power of the input pump light and the relevant parameters of the SOA, the input high-power signal P can be converted after passing through the SOA. XPM ≠0 is mapped to the π phase shift of the detection light; the input low-power signal P XPM =0 is mapped to a 0 phase deflection of the detection light.

[0054] The third step is to obtain the recognition results of the input BPSK sequence and the current target BPSK symbol. After passing through the bidirectional SOA, the two detection optical signals continue to be transmitted in the clockwise and counterclockwise directions respectively. Since the two detection optical signals come from the same light source and are used as carrier signals to complete the remodulation of the input BPSK sequence and the target BPSK sequence, the two have undergone exactly the same optical path difference. Therefore, by generating and maintaining a stable frequency relationship, it is ensured that the strong frequency coherence of the two is maintained during the transmission process. After passing through the optical coupler, due to the setting of the second isolator, the output signal will pass through the filter and filter out the wavelength of the detection optical signal. Since the local CW will introduce a phase shift of j in the opposite arm of the coupler, that is, the counterclockwise transmission direction after passing through the coupler for the first time, and then after the XPM effect, after being output from the coupler for the second time, a phase shift of j will also be introduced on the counterclockwise transmitted optical signal, so the signal has a total phase deflection of π. At the output of the coupler, if the two sequence symbols after reloading have the same signal amplitude and a phase shift of π, then due to the signal coherence cancellation, the filter will have no pulse output. Since the target BPSK sequence after overloading introduces a phase shift of π compared to the original target BPSK sequence, when the two sequence symbols after overloading have a phase difference of π, the input BPSK sequence symbol and the target BPSK sequence symbol have exactly the same phase, that is, when the filter has no pulse output, the input BPSK sequence symbol matches the target BPSK sequence symbol; and when the filter has a pulse output, the two sequence symbols do not match. The output result is passed through a fixed power EDFA to amplify the power of the output pulse to a specific value, so as to drive the subsequent NOT gate as a pump light. Therefore, if the input BPSK sequence symbol is in phase with the target BPSK sequence symbol, then there will be a pulse output after passing through the NOT gate, that is, logic "1", indicating that the two match; if the input BPSK symbol is in phase with the target BPSK symbol, then there will be no pulse output after passing through the NOT gate, that is, logic "0", indicating that the two do not match.

[0055] The fourth step is to use a loop consisting of an AND gate and a regenerator to match the target BPSK sequence with multiple symbols. In the time (n*T, 2n*T], the output result after the NOT gate is the matching result between the input BPSK sequence after reloading and the first target BPSK symbol after reloading. In the time (2n*T, 3n*T], the output result after the NOT gate is the matching result between the input BPSK sequence after reloading and the second target BPSK symbol after reloading. In order to achieve the all-optical mode matching between the n-1-bit input BPSK sequence after reloading and any m-1 (m≤n) target BPSK symbols after reloading, after obtaining the matching result between the input BPSK sequence after reloading and the single target BPSK symbol after reloading, it is necessary to combine the matching results of all m-1 symbols in the target BPSK sequence after reloading using a loop composed of an AND gate and a regenerator. Since the output result after the NOT gate in the third step can be regarded as an OOK signal, this loop is similar to the loop of the all-optical mode matching system for OOK signals in WISDOM, which is mainly composed of an AND gate and a regenerator.

[0056] In the time (n*T, 2n*T], one of the inputs of the AND gate in the loop is the output of the filter, and the other input is the initial pulse, which is composed of a series of all "1" pulse sequences. Therefore, the output result of the AND gate in the loop in the time (n*T, 2n*T] is the matching result of the input BPSK sequence after reloading and the first symbol in the target BPSK sequence to be matched after reloading. In the time (2n*T, 3n*T], the other input of the AND gate in the loop is the matching result of the input BPSK sequence after reloading after (n+1)*T time delay and regenerator and the first symbol in the target BPSK sequence after reloading. Therefore, the output result of the AND gate in the loop in the time (2n*T, 3n*T] is the matching result of the input BPSK sequence after reloading and the first two symbols in the target BPSK sequence after reloading. This cycle continues until the matching result of the input BPSK sequence after reloading and the target BPSK sequence with any m-1 symbols after reloading is finally obtained.

[0057] The beneficial effects of the present invention are as follows: by adopting the on-chip all-optical mode matching method for BPSK signals provided by the present invention, the input BPSK sequence and the target BPSK sequence are remodulated respectively by delay interferometer and NOLM, and the information of the two sequences is respectively mapped to the two branches of the local CW, ensuring the strong coherence of the two signal branches, and using integrable devices to build the system, avoiding the additional signal carrier extraction, making the all-optical mode matching system for BPSK signals easy to integrate, and improving the actual deployment capability of the system. In addition, the system uses a delay interferometer to differentially encode the input BPSK sequence and the target BPSK sequence, so that the system can simultaneously support the matching of two target sequences, improve the matching efficiency, and reduce the complexity of the system. This method overcomes the defects of the original all-optical mode matching system for BPSK signals that is difficult to integrate and has a complex structure in actual deployment, and accelerates the practical application process of the all-optical mode matching system for BPSK signals. Other features and advantages of the present invention will be described in the subsequent description, and part of them will become obvious from the description, or be understood through the implementation of the present invention.

[0058] The advantages and features of the present invention and the methods for implementing the present invention will be more easily understood by referring to the following detailed description of the exemplary non-limiting embodiments and the accompanying drawings. However, the present invention can be implemented in a variety of different forms and should not be construed as being limited to the embodiments illustrated herein. In addition, these embodiments are provided so that the disclosure will be thorough and complete. And the concept of the present invention will be fully conveyed to those skilled in the art, and the present invention will only be defined by the appended claims.

[0059] Figure 1The block diagram of the composition of the photonic firewall is shown; when the input data packet enters the photonic firewall, it will first be divided into two branches, the upper branch, in which the upper branch enters the matching field interception module, in which the data packet field to be matched, such as the data packet header, will be intercepted. Then the intercepted field to be matched is input into the all-optical mode matching system. As the core of the entire photonic firewall, the all-optical mode matching system mainly compares and checks the input field to be matched with the target sequence provided by the electronic interface in a simple but fast manner to determine whether the target sequence exists in the field to be matched. The inspection result will be input into the subsequent optical switch as a control signal. In addition, the electronic interface also supports the reconfiguration of the generated target sequence under software control. At the same time, in the lower branch, the input data packet will enter a section of optical fiber delay line to complete the buffering of the optical data packet, and its buffering time corresponds to the time required for the all-optical mode matching system to complete the matching. According to the output result of the all-optical mode matching system, if the target sequence does not exist in the input data, the data packet is directly forwarded to the next optical node; otherwise, it is sent to a dedicated electronic processor to further check each optical data packet in detail. Since each dedicated electronic processor can process different attack types according to the matching results, each electronic processor only needs to operate on a portion of the input data packets, which reduces the burden on the electronic processor.

[0060] Figure 2The block diagram of the on-chip all-optical mode matching system for BPSK signals is shown; if the system needs to match a target BPSK sequence with m symbols in an input BPSK sequence with n symbols, first in the first cycle, the input BPSK sequence and the target BPSK sequence after being repeated m times are respectively subjected to coherent operations through delay interferometers to obtain two power signals, and the optical switches after the left and right delay interferometers are turned on. At this time, the two power signals obtained will not be injected into the NOLM. Then in the second cycle, the local CW is divided into two branches in the clockwise and counterclockwise directions after passing through the first isolator and the 50:50 optical coupler, and injected into the NOLM respectively. At the same time, the input BPSK sequence and the target BPSK sequence after being repeated m times are respectively subjected to coherent operations, and the optical switch is closed, and the information is remodulated to two carriers in different directions in the NOLM using the XPM effect. Since the carriers of the two branches maintain strong coherence during the generation and transmission process, the carriers of the two branches will be coherently superimposed at the output of the optical coupler, and then the CW wavelength will be filtered out through the second isolator and optical filter, and then the vector conversion will be completed through the EDFA and the NOT gate to obtain the OOK signal representing the matching results of the two BPSK sequences. If the two BPSK symbols match, the output is high; otherwise, the output is low. Finally, the output result of the NOT gate will enter the loop composed of the AND gate and the regenerator, and the signal will be delayed by (n+1)*T in the loop. After m cycles, the full optical mode matching of the two sets of data with opposite target BPSK sequences of m symbols can be completed in the input BPSK sequence of n symbols.

[0061] Figure 3 The figure shows the schematic diagram of constellation transfer during the signal reloading process. During the signal reloading process, the main processes are coherent interference, XPM and coherent superposition. First, after the input BPSK signal passes through the delay interferometer, its phase information is mapped into two output power signals, where power P XPM ≠0 corresponds to the continuous bit sequence (11,00), power P XPM =0 corresponds to a continuous bit sequence (01, 10). Then, the two power signals will be used as pump light to remodulate the local optical carrier using the XPM effect in the SOA to complete the conversion from power signal to phase modulation signal, where the power P XPM The signal of ≠0 will cause the local optical carrier to produce a phase deflection of π, and the power P XPM=0 will not produce any phase deflection. Therefore, (01,10) will be mapped to a phase of 0 in the overloaded signal, and (11,00) will be mapped to a phase of π in the overloaded signal. At the same time, the target BPSK signal will undergo similar operations to the input BPSK signal. The difference is that after the local optical carrier passes through the coupler, the output of the opposite arm as a counterclockwise carrier will have a phase shift of j. Therefore, after the BPSK signal is overloaded by the XPM effect, its output result is overall deflected by π / 2 compared to the overload result of the input BPSK signal. The two overloaded signals complete coherent interference at the output of the optical coupler. Similarly, due to the output of the opposite arm, the overload result of the target BPSK signal will again undergo a phase shift of π / 2, so the output result of the coupler is shown on the right side of the figure.

[0062] Figure 4 The spectrum diagram of each module output in the system is shown; assuming that the wavelength of the input BPSK sequence is λ i , after the delay interferometer, it is mapped into two power signals, and its wavelength is still λ i Similarly, assuming the wavelength of the target BPSK sequence is λ t , the output wavelength after the delay interferometer is still λ t At the same time, the wavelength is λ CW The CW signal passes through the first isolator and the optical coupler, and the transmission direction of its data and energy is shown by the red line in the figure. Subsequently, the CW signal will be transmitted in the NOLM along the clockwise and counterclockwise paths, and will be respectively connected to the wavelength λ i and λ t The two power signals are input into the bidirectional SOA together, and the information in the two power signals is remodulated to a wavelength of λ by using the XPM effect in the SOA. CW At the output of the coupler, the two heavy-load signals are coherently superimposed and input into the filter through the second isolator. In this process, the transmission direction of data and energy is shown in the green line in the figure. Its output includes i , t and λ CW The three wavelength components centered on CW The wavelength component is filtered out, and the filtered results are sequentially input to the EDFA and the NOT gate built using the XPM in the nonlinear medium for data processing, and the matching result between the input BPSK symbol and the current target BPSK symbol can be obtained. r The initial pulse at is input into the subsequent AND gate together, and the output result of the AND gate is obtained by using the Four-Wave Mixing (FWM) effect in the nonlinear medium. The output wavelength is λ oThe idler light of the optical signal is outputted from the optical fiber. Part of the output will be used to drive the subsequent optical switch, and the other part will be input into the regenerator for all-optical regeneration and wavelength conversion of the output signal. After a delay of (n+1)*T, the idler light will be re-input into the AND gate through the control circuit to obtain the all-optical mode matching results for multiple target BPSK symbols.

[0063] Figure 5 The signal representation of each module during the first cycle is shown; first, assume that the input BPSK sequence A = {0, π, 0, π, π, π, 0, π, 0, 0}, the length is n = 10, the period is T, and there are two target BPSK sequences to be matched, namely B1 = {π, 0, π, π} and B2 = {0, π, 0, 0}, the length is m = 4, and the period is n*T. In addition, it is assumed in this application that the time for the optical signal to pass through the optical fiber, optical isolator, optical coupler, AND gate, regenerator, etc. is negligible. During the first cycle, the input sequence A first enters a storage loop with a period of n*T, which is used to cycle the input sequence A m times according to the period n*T. Then, after repetition, the input sequence A will enter the delay interferometer, in which the data symbol in the input sequence A will coherently interfere with the previous data symbol. Similarly, the first data symbol of the target sequence on the right will coherently interfere with the null symbol. During the first cycle, the optical switches behind the delay interferometers on the left and right sides are both in the open state, so the output of the delay interferometer will not enter the NOLM, and the rest of the system components have no output.

[0064] Figure 6 The signal representation of each module during the second cycle is shown; during the second cycle, the data symbol of the input sequence A interferes with its previous data symbol in the delay interferometer. If the two symbols are in phase, then the coherence is constructive, and the output is high, represented by logic "1"; if the two symbols are in anti-phase, then the coherence is destructive, and the output is low, represented by logic "0", so two power signal outputs {1, 0, 0, 0, 1, 1, 0, 0, 0, 1} are obtained at the output position. Similarly, the second data symbol of the target sequence on the right will interfere with its first data symbol, so the result {0, 0, 0, 0, 0, 0, 0, 0, 0} is obtained at the output end of the delay interferometer.

[0065] Assuming that the initial phase of the local CW is 0, after passing through the first isolator and optical coupler, the clockwise carrier phase remains unchanged, while the counterclockwise carrier will introduce a phase shift of j. By setting the output power parameters of the bidirectional SOA and the delay interferometer, when the output of the delay interferometer is logic "1", the carrier phase deflection caused by the XPM effect is π. Therefore, after passing through the bidirectional SOA, the clockwise signal phase is {π, 0, 0, 0, π, π, 0, 0, 0, π}, and the counterclockwise signal phase is {π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2}. The signal light in both directions is then output through the optical coupler. Since the counterclockwise signal is output as an opposite arm again, a phase shift of j is introduced again for each symbol. After the output of the optical coupler passes through the second isolator and the bandpass filter, the carrier wavelength λ CW It is filtered out and then passes through EDFA to amplify the signal and input into the subsequent NOT gate to obtain the matching result of the input BPSK sequence after differential coding and the second symbol in the target BPSK sequence after differential coding, that is, {0, 1, 1, 1, 0, 0, 1, 1, 1, 0}. Among them, the logic "1" in the output result indicates the position of the second symbol "0" in the target BPSK sequence after differential coding in the input BPSK sequence after differential coding. Finally, the output result of the NOT gate is input into a loop composed of an AND gate and a regenerator, where one input of the AND gate is the output result of the NOT gate and the other input is a series of initial pulse sequences with a duration of 10*T, and the output result of the AND gate is {0, 1, 1, 1, 0, 0, 1, 1, 1, 0}. This result shows the position of the first two symbols of the target sequence in the input BPSK sequence.

[0066] Figure 7 The signal representation of each module during the third cycle is shown; similarly, during the third cycle, the input optical data sequence A passes through the left delayed interferometer to obtain two power signals {1, 0, 0, 0, 1, 1, 0, 0, 0, 1}. At the same time, the upper arm of the right interferometer is the third symbol of the target sequence, and the lower arm is the second symbol of the target sequence. The symbol duration is 10*T, so the output result of the right delayed interferometer is {0, 0, 0, 0, 0, 0, 0, 0}. The local CW enters the NOLM after passing through the first isolator and coupler, where the clockwise carrier phase remains unchanged, while the counterclockwise carrier introduces a phase shift of j. After passing through the bidirectional SOA, the clockwise signal phase is {π, 0, 0, 0, π, π, 0, 0, 0, π}, and the counterclockwise signal phase is {π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2, π / 2}. Then, the optical signals in both directions pass through the optical coupler, the second isolator and the bandpass filter in sequence, converting the local CW wavelength λCW The signal is filtered out, and then the filtered signal is passed through the optical amplifier EDFA and the NOT gate to obtain the matching result {0, 1, 1, 1, 0, 0, 1, 1, 1, 0} between the input BPSK sequence after differential coding and the third symbol in the target BPSK sequence after differential coding. The matching result is input into the subsequent AND gate together with the output result of the previous cycle through the loop, and the output result of the third cycle is obtained {0, 0, 1, 1, 0, 0, 0, 1, 1, 0}. The logic "1" in the result indicates the position of the first three target sequence symbols in the input BPSK sequence.

[0067] Figure 8 The signal representation of each module during the fourth cycle is shown; during the fourth cycle, the left input optical data sequence A passes through the delay interferometer device to obtain the output {1, 0, 0, 0, 1, 1, 0, 0, 0, 1}, and the right interferometer interferes the fourth bit of the target sequence in the upper arm with the third bit of the target sequence in the lower arm at the output end to obtain the output result {1, 1, 1, 1, 1, 1, 1, 1, 1}. The local CW enters the NOLM after passing through the first isolator and coupler. Since the output of the different arm will introduce a phase shift of j, after passing through the bidirectional SOA in the NOLM, the clockwise signal phase is {π, 0, 0, 0, π, π, 0, 0, 0, π}, and the counterclockwise signal phase is {3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2, 3π / 2}. Subsequently, the clockwise and counterclockwise optical signals will pass through the optical coupler, the second isolator and the bandpass filter in sequence to filter out the wavelength λ of the local CW. CW , then through the EDFA and the NOT gate, the matching result of the fourth symbol of the differentially encoded input BPSK sequence and the differentially encoded target BPSK sequence is obtained {1, 0, 0, 0, 1, 1, 0, 0, 0, 1}. This matching result is input into the subsequent AND gate together with the output result of the third cycle through the loop, and the output result of the fourth cycle is obtained {0, 0, 0, 0, 1, 0, 0, 0, 1}, where the logic "1" indicates the position of the complete target sequence in the input BPSK sequence.

[0068] Fig. 9 : The waveform diagram of the on-chip all-optical mode matching system for BPSK signals is shown; when the input BPSK sequence A = {0, π, 0, π, π, π, 0, π, 0, 0} and the target BPSK sequence to be matched B1 = {π, 0, π, π} and B2 = {0, π, 0, 0}, the waveform diagrams of each stage when the input BPSK sequence and the target BPSK sequence pass through the on-chip all-optical mode matching system for BPSK signals are shown in FIG. Fig. 9As shown. After four cycles, the system can successfully find the number and position of the target BPSK sequence to be matched in the input BPSK sequence. The system uses two delay interferometers and NOLM on the left and right sides to realize the remodulation of the input BPSK sequence and the target BPSK sequence, and then maps the information of the input BPSK sequence and the target BPSK sequence to the forward and reverse branches of the local CW, so that the generation and maintenance of strong coherence between the two signal branches are guaranteed, and no additional signal carrier extraction is required. In addition, since the system is built using integrable optical devices, the system is easy to integrate. In summary, the on-chip all-optical mode matching system for BPSK signals will promote the practical application of the system with its simple structure and easy integration, and provide strong hardware support for the establishment of the next generation of high-speed and reliable optical networks.

[0069] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various changes or modifications within the scope of the appended claims.

[0070] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. An on-chip all-optical mode matching system for BPSK signals, characterized in that: It includes a signal interference module, a reload module, an identification module and a matching module; the signal interference module includes a first BPSK signal interference channel and a second BPSK signal interference channel; delay interferometers are arranged in the first BPSK signal interference channel and the second BPSK signal interference channel; the output end of the signal interference module is connected to a nonlinear optical fiber loop mirror; the reload module includes a local CW signal input channel, an optical coupler and a nonlinear optical fiber loop mirror arranged along the signal transmission path; The identification module includes an optical coupler, an optical isolator, a filter, a fixed-power erbium-doped fiber amplifier and a NOT gate arranged along the signal transmission path. The filter is used to filter out the wavelength of the detection optical signal; the fixed-power EDFA is used to amplify the power of the output pulse to a specific value; the matching module includes an AND gate and a regenerator, and the AND gate and the regenerator are combined to form a circulating loop; the nonlinear fiber ring mirror uses a bidirectional SOA as a nonlinear medium.

2. The on-chip all-optical mode matching system for BPSK signals according to claim 1, characterized in that: The first BPSK signal interference channel includes a signal input port, a storage loop, a first delay interferometer and a first optical switch arranged along the signal transmission direction; the first delay interferometer is a 1-bit delay interferometer, which is used to map the phase information of the input BPSK signal into two power information; the second BPSK signal interference channel includes a signal input port, a second delay interferometer and a second optical switch arranged along the signal transmission direction, the second delay interferometer is an n-bit delay interferometer, which is used to map the phase information of the target BPSK signal into two power information; the storage loop is used to repeat the signal.

3. The on-chip all-optical mode matching system for BPSK signals according to claim 1, characterized in that: The local CW signal input channel includes a local laser and a first isolator. The optical coupler is a 50:50 optical coupler. The 50:50 optical coupler divides the local CW signal into two branches and injects them into the nonlinear fiber loop mirror.

4. The on-chip all-optical mode matching system for BPSK signals according to claim 1, characterized in that: The two-power signals are used as pump light; the local CW signal is used as the detection light of the XPM effect, and the nonlinear fiber loop mirror is used to remodulate the first BPSK signal and the second BPSK signal.

5. An on-chip all-optical mode matching method for BPSK signals, characterized in that: The following steps are involved: Perform interference operation on the input BPSK sequence and the target BPSK sequence to obtain two power signals; XPM is used to reload the two power signals obtained after interference; the two power signals are used as pump light and enter the bidirectional SOA together with the detection light in the clockwise and counterclockwise directions respectively. In the SOA, the input pump light and detection light are subjected to XPM, and the two power signals are remodulated into phase modulation signals with the local CW as the carrier, completing the conversion of the amplitude signal to the phase signal; Obtain the recognition results of the input BPSK sequence and the current target BPSK symbol; the two detection optical signals after the bidirectional SOA continue to be transmitted in the clockwise and counterclockwise directions respectively, and the output signal will pass through the filter and filter out the wavelength of the detection optical signal; if the input BPSK sequence symbol and the target BPSK sequence symbol are in phase, there will be a pulse output after passing through the NOT gate, that is, logic "1", indicating that the two match; if the input BPSK symbol and the target BPSK symbol are in anti-phase, there will be no pulse output after passing through the NOT gate, that is, logic "0", indicating that the two do not match; The matching of the target BPSK sequence with multiple symbols is completed by using a loop composed of an AND gate and a regenerator.

6. The on-chip all-optical mode matching method for BPSK signals according to claim 5, characterized in that: The input BPSK sequence first passes through a storage loop to obtain a string of repetitive data with a period of n*T, where n is the length of the input BPSK sequence and T is the bit period of the input data. The phase jump information of the continuous bits of the repetitive data sequence is mapped into two power information, which will be used as the pump signal of the XPM effect to complete the reloading of the input BPSK sequence. At the same time, the target BPSK sequence is subjected to an operation similar to the input BPSK sequence. The duration of each symbol in the target BPSK sequence is n*T. After passing through the second delay interferometer, the target BPSK sequence is converted into a string of two power signals. The first optical switch and the second optical switch are opened within the time (0, n*T) to eliminate the interference of the null signal in the initial state on the system output, and the first optical switch and the second optical switch are closed at the beginning of the second cycle.

7. The on-chip all-optical mode matching method for BPSK signals according to claim 5, characterized in that: When interfering the input BPSK sequence and the target BPSK sequence, P XPM Characterizing the output power of the delay interferometer, the continuous bit sequence (01,10) will correspond to P XPM =0; continuous bit sequence (00,11) corresponds to P XPM ≠0; When XPM is used to overload the two power signals obtained after interference, the input pump light power and SOA parameters are adjusted so that the input high power signal P can be reduced after passing through SOA. XPM ≠0 is mapped to the π phase shift of the detection light; the input low-power signal P XPM =0 is mapped to a 0 phase deflection of the detection light.

8. The on-chip all-optical mode matching method for BPSK signals according to claim 5, characterized in that: When obtaining the identification result of the input BPSK sequence and the current target BPSK symbol, after the local CW passes through the coupler for the first time, a phase shift of j will be introduced in the opposite arm of the coupler, that is, in the counterclockwise transmission direction. Then, after passing through the XPM effect, after being output from the coupler for the second time, a phase shift of j will also be introduced on the counterclockwise transmitted optical signal. The signal has a total phase deflection of π. At the output of the coupler, if the two sequence symbols after overloading have the same signal amplitude and a phase offset of π, the filter will have no pulse output. When the two sequence symbols after overloading have a phase difference of π, the input BPSK sequence symbol and the target BPSK sequence symbol have exactly the same phase, that is, when the filter has no pulse output, the input BPSK sequence symbol matches the target BPSK sequence symbol; and when the filter has a pulse output, the two sequence symbols do not match. The output result is passed through a fixed-power EDFA to amplify the power of the output pulse to a specific value, which is used as a pump light to drive the subsequent NOT gate.

9. The on-chip all-optical mode matching method for BPSK signals according to claim 5, characterized in that: When the matching of the target BPSK sequence with multiple symbols is completed by using a loop composed of an AND gate and a regenerator: within (n*T, 2n*T] time, where n is the length of the input BPSK sequence and T is the bit period of the input data, the output result after the NOT gate is the matching result of the input BPSK sequence after reloading and the first target BPSK symbol after reloading; In the time (2n*T, 3n*T], the output result after the NOT gate is the matching result between the input BPSK sequence after reloading and the second target BPSK symbol after reloading; after obtaining the matching result between the input BPSK sequence after reloading and the single target BPSK symbol after reloading, the matching results of all m-1 symbols in the target BPSK sequence after reloading are combined by using a loop composed of an AND gate and a regenerator; in the time (n*T, 2n*T], one of the inputs of the AND gate in the loop is the output of the filter, and the other input is the initial pulse, which is composed of a series of all "1" pulse sequences. The output result of the AND gate in the loop in the time (n*T, 2n*T] is the matching result between the input BPSK sequence after reloading and the first symbol in the target BPSK sequence to be matched after reloading; wherein, m≤n; Within the time (2n*T, 3n*T], the other input of the AND gate in the loop is the matching result of the first symbol of the reloaded input BPSK sequence after the (n+1)*T time delay and regeneration and the reloaded target BPSK sequence. The output result of the AND gate in the loop within the time (2n*T, 3n*T] is the matching result of the first two symbols of the reloaded input BPSK sequence and the reloaded target BPSK sequence. This cycle is repeated until the matching result of the reloaded input BPSK sequence and the reloaded target BPSK sequence with any m-1 symbols is finally obtained.

10. A photon firewall, characterized in that: The all-optical mode matching system adopts the on-chip all-optical mode matching system for BPSK signals as described in any one of claims 1 to 4.