The present invention relates to the field of optical communication, and more particularly, to an optical signal identifying or detecting method and apparatus, and an identifying and detecting system.
An optical communication network based on Wavelength Division Multiplexing (WDM) can transmit two or more optical signals with different wavelengths at the same time in the same optical fiber. In order to distinguish network topology and detect an optical channel, different scrambling signals are identified on the optical signals with different wavelengths, and then the information, such as a transmission path of the optical signals in the network and the optical power, is obtained by detecting the scrambling signals on various transparent transmission nodes. For example, as shown in
At present, the optical signal identifying method is as follows: Different signal IDs are modulated, in a Frequency Shift Keying (FSK) manner, on various wavelengths, and then the signal IDs are detected by using a Fast Fourier Transform (FFT) algorithm, so as to detect optical channels of different wavelengths and obtain information such as the optical power according to the signal IDs.
For example, in a 256-wave system (256 optical signals with different wavelengths are transmitted at the same time in the same optical fiber) shown in
In the implementation of the present invention, the inventors find that the prior art has at least the following problems.
Since the number of the frequencies for identifying the optical signals at the transmitter is large, the complexity of detecting the signal IDs at the receiver is increased, and the detection time is also increased. As shown in
Embodiments of the present invention provide an optical signal identifying or detecting method and apparatus, and an identifying and detecting system, so that the number of the identification frequencies of the signal IDs required to distinguish the optical signals is small, and the complexity of detecting the signal IDs is low.
An embodiment of the present invention provides an optical signal identifying method, including:
assigning signal IDs with different frequencies to optical signals with different wavelengths, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence; and distinguishing the optical signals with different wavelengths by using the signal IDs with different frequencies.
An embodiment of the present invention further provides an optical signal identifying apparatus, including:
a signal generator, configured to provide signal IDs with different frequencies, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence; and
a variable optical attenuator, connected to the signal generator, and configured to modulate the different signal IDs on optical signals with different wavelengths, and distinguish the optical signals with different wavelengths by using the signal IDs.
On the basis of the technical concept corresponding to the optical signal identifying method, an embodiment of the present invention also provides a signal ID detecting method, including:
performing continuous m-time FFT on a signal ID, where the signal ID is controlled in an amplitude-modulation manner according to a binary data sequence; obtaining an amplitude value or a phase of the signal ID according to a continuous m-time FFT result; and restoring the signal ID by using the amplitude value or the phase of the signal ID, where m is an integer larger than or equal to 10.
Meanwhile, an embodiment of the present invention further provides a signal ID detecting apparatus, including:
an FFT module, configured to perform continuous m-time FFT on a signal ID, where the signal ID is controlled in an amplitude-modulation manner according to a binary data sequence, where m is an integer larger than or equal to 10; and
a microcontroller, configured to obtain an amplitude value or a phase of the signal ID according to a continuous m-time FFT result, and restore the signal ID by using the amplitude value or the phase of the signal ID.
An embodiment of the present invention further provides an optical signal identifying and detecting system, including:
an optical signal identifying apparatus, configured to assign signal IDs with different frequencies to optical signals with different wavelengths, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence, and the optical signals with different wavelengths are distinguished by using the signal IDs with different frequencies; and
a signal ID detecting apparatus, configured to perform continuous m-time FFT on the signal ID, where m is an integer larger than or equal to 10, obtain an amplitude value or a phase of the signal ID according to a continuous m-time FFT result, and restore the signal ID by using the amplitude value or the phase of the signal ID.
It can be seen from the technical solutions provided above by embodiments of the present invention that.
In the embodiments of the present invention, the optical signals with different wavelengths are distinguished by using the signal IDs controlled in an amplitude-modulation manner according to the binary data sequence, and the optical signals with different wavelengths are detected and the information such as the optical power is obtained by detecting the signal IDs, so that the number of the identification frequencies of the signal IDs required to distinguish the optical signals is small, and the complexity of detecting the signal IDs is reduced.
As shown in
In step 1, signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence.
The signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), and the frequency of each signal ID is different.
In step 2, the signal IDs are assigned to optical signals with different wavelengths.
The signal IDs with different frequencies are assigned to the optical signals with different wavelengths, and the signal IDs with different frequencies are modulated to the optical signals with different wavelengths to distinguish the different optical wavelengths.
Specifically, in the identification frequency range, the identification frequency assigned to each wavelength is not overlapping, and the 256-wave system is still taken as an example here. 256 different identification frequencies exist in the identification frequency range 300 KHz to 400 KHz, the binary data sequence is modulated again in the amplitude-modulation manner on the identification frequency signal, so as to carry information.
It can be known that, in the FFT, in order to enable the identification frequencies of the signal IDs to entirely fall on the frequency points after FFT and improve the sampling precision of the signal IDs, so that the amplitude vale and the phase obtained by using the FFT result are more accurate, and more particularly, to reduce the phase error so as to correctly restore the signal ID, the identification frequency F is required to meet the following relational expression (1):
F=q/T (1).
In the relational expression (1), q is a positive integer, T is a time window, that is, an FFT sampling time at a time, and 1/T is a frequency interval of the frequency point after the FFT at a time.
That is, the identification frequency is integer times larger than the frequency interval after the FFT, and the identification frequency is ensured to fall on the frequency point after the FFT.
Moreover, in order to obtain a correct signal ID according to a large window after the FFT, at least two large windows Wi are required to exist in one bit transmission time TB of the signal ID, and TB meets the following relational expression (2):
T
B
=n*W
i (2).
In the relational expression (2), n is a positive integer and n≧2, Wi is a large window including continuous m time windows T, that is, Wi is a sampling time of continuous m-time FFT, and m is an integer larger than or equal to 10.
It can be seen from the above embodiment that, the signal IDs with different frequencies are configured to distinguish the optical signals with different wavelengths, so that the number of the identification frequencies required to identify the optical signals is small and the complexity of detecting the signal IDs is reduced, and optical channels of the optical signals with different wavelengths are detected and information such as the optical power is obtained by coordinating with the signal ID detecting method.
As shown in
a signal generator 11, configured to provide signal IDs with different frequencies, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner); and
a variable optical attenuator 21, configured to modulate the signal IDs with different frequencies on the optical signals with different wavelengths, and distinguish the optical signals with different wavelengths according to the signal IDs with different frequencies.
A signal ID 101 provided by the signal generator 11 is taken as an example. The variable optical attenuator 21 modulates the signal ID 101 on an optical signal 100, the optical signal 100 is identified by using the signal ID 101, and the identified optical signal 102 is transmitted in an optical channel.
At least two large windows Wi exist in one bit transmission time of the signal ID 101, the large window Wi is continuous m time windows T, and the time window T is a sampling time of FFT at a time. Moreover, the identification frequencies of the signal IDs all fall on the frequency points after the FFT, and the identification frequency is integer times larger than the frequency interval after the FFT.
It can be seen from the above embodiment that, the optical signal identifying apparatus distinguishes the optical signals with different wavelengths by using the signal IDs controlled by binary amplitude modulation, so that the number of the identification frequencies required to identify the optical signals is small, and the FFT sampling points are also correspondingly a few, thus reducing the complexity of restoring the signal IDs.
As shown in
a signal generator 11, configured to provide signal IDs with different frequencies, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner);
a variable optical attenuator 21, configured to modulate the signal IDs with different frequencies on the optical signals with different wavelengths, and distinguish the optical signals with different wavelengths by using signal IDs with different frequencies;
an optical splitter 6, configured to split a few optical signals from the optical signals carrying the signal IDs;
an optical-electrical converter 7, configured to receive and convert the optical signals split from the optical splitter 6 to electrical signals; and
a feedback control circuit, including a microcontroller 9, a direct current sampling circuit 81, and an alternating current sampling circuit 82, and configured to monitor the change of a pilot tone modulation depth of the signal ID, and adjust, through the microcontroller 9, the amplitude of the signal ID generated by the signal generator 11 so as to control the pilot tone modulation depth to a fixed value.
During the specific implementation of the identifying apparatus in this embodiment, the microcontroller 9 controls the signal generator 11 to generate the signal IDs with different frequencies, such as the signal ID 101; the variable optical attenuator 21 modulates the signal ID 101 on the optical signal 100; the optical splitter 6 splits a few optical signals 104 from the optical signals 102 carrying the signal ID 101, and the rest of the optical signals 103 are not affected and are continuously transmitted; the optical-electrical converter 7 receives the optical signals 104 split by the optical splitter 6 and converts the signals into electrical signals 105; the direct current sampling circuit 81 and the alternating current sampling circuit 82 of the feedback control circuit sample to convert the electrical signals 105 into digital electrical signals 106 and transmit the converted signals to the microcontroller 9; and the microcontroller 9 monitors the change of the pilot tone modulation depth of the signal ID 101, and adjusts and controls the amplitude of the signal ID 101 generated by the signal generator 11 so as to control the pilot tone modulation depth to a fixed value, so that the optical power of the wavelength is obtained by calculating through the optical power of the signal ID.
It can be seen from the above embodiment that, the optical signal identifying apparatus distinguishes the optical signals with different wavelengths by using the signal IDs controlled by binary amplitude modulation, so that the number of the identification frequencies required to identify the optical signals is small, and the FFT sampling points are also correspondingly a few, thus reducing the complexity of restoring the signal IDs.
As shown in
In step 40, FFT is preformed. Specifically, continuous m-time FFT is performed on a signal ID.
In step 50, the signal ID is restored. Specifically, the signal ID is restored according to a continuous m-time FFT result. Specifically, the signal ID is restored with an amplitude value or a phase of the signal ID obtained according to the continuous m-time FFT.
The signal ID is controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), and one bit transmission time of the signal ID is n times longer than a large window, where n is an integer larger than or equal to 2, the large window is a sampling time of the continuous m-time FFT, m is an integer larger than or equal to 10, and the sampling time of the FFT at a time is a time window T.
It can be seen from the above embodiment that, the signal ID controlled by binary amplitude modulation is correctly restored and obtained by analyzing the amplitude value or phase of the signal ID in the large window after multiple-time FFT, so that the complexity of restoring the signal ID is reduced, thus implementing the detection of the optical channel and obtaining the information such as the optical power.
As shown in
In step 41, FFT is preformed. Specifically, continuous multiple-time FFT is performed on a signal ID, for example, performed for 1000 times.
In step 51, the signal ID is restored. Specifically, the signal ID is restored by using an amplitude value obtained according to a continuous multiple-time FFT result.
The signal ID is controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), and one bit transmission time of the signal ID is 2 times longer than a large window, that is TB=n*Wi, where n=2, and the large window is a sampling time of performing the continuous 1000-time FFT.
Specifically, as shown in
In step 511, the amplitude value of the signal ID in the large window Wi is obtained. Specifically, in order to inhibit the effect of the noises, the large window Wi is the sampling time of 1000-time FFT, and the continuous multiple-time FFT result in each large window Wi is averaged and modulo is performed to obtain the amplitude value Ai of the signal ID in each large window Wi.
In step 512, binary data of the signal ID in the large window Wi is determined. Specifically, the amplitude value of the signal ID Ai is compared with a noise-removal threshold L, and if the amplitude value of the signal ID Ai is smaller than the noise-removal threshold L, the large window Wi is considered to fall in a frequency free part of the signal ID, that is, the binary data of the signal ID in the large window is zero; if the amplitude value of the signal ID Ai is larger than or equal to the noise-removal threshold L, the large window Wi is considered to fall in a full frequency or a part of the frequency of the signal ID, that is, the binary data of the signal ID in the large window is 1, and vice versa.
In step 513, a binary data sequence in multiple large windows Wi is obtained. Specifically, a binary data sequence {D1, D2, . . . , Di} is obtained according to the binary data of the signal ID in the multiple large windows Wi.
In step 514, the binary data sequence of the signal ID is restored. Specifically, since the identification and detection of the optical signal are not synchronous, and the location on which the large window Wi falls in one bit transmission time of the signal ID is arbitrary, it can be seen from
In Example 1, a starting point of the large window Wi is the same as a starting point of one bit transmission time of the signal ID (as shown by the dotted line in
In Example 2, the starting point of the large window Wi is different from the starting point of one bit transmission time of the signal ID, and the binary data sequence {D1, D2, . . . , Di} in multiple large windows obtained in this case is {1,1,0,0,0,1,1,1,1,1,0,0,0,1}.
The number of the binary data 1 and 0 in the binary data sequence {D1, D2, . . . , Di} be adjusted by using the following rules according to TB=n*Wi, n=2. Specifically, the number of the continuous binary data 1 in the binary data sequence is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 in the binary data sequence plus 1 is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID.
Example 1 {1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0} and Example 2 {1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1} are for illustration. As for the number of the adjusted binary data 1 and 0, and the corresponding binary data sequence of the signal ID, reference can be made to the following Table 1.
The adjusted binary data sequence is obtained according to the number of the adjusted continuous binary data 1 and 0, the adjusted binary data sequence serves as the signal ID, and the optical channel is detected and the information such as the optical power is obtained according to the signal ID.
Likewise, the rules for adjusting the number of the binary data 1 and 0 in the binary data sequence {D1, D2, . . . , Di} are obtained according to TB=n*Wi, n≧2. The number of the continuous binary data 1 in the binary data sequence is rounded to n, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 in the binary data sequence plus 1 is rounded to n, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID.
Moreover, with the change of the wave number in the optical signal and the different numbers of the continuous time windows T contained in the large window Wi (the times of the continuous m-time FFT), the amplitude of the noises is variable, and therefore, the noise-removal threshold L to be compared with the amplitude value of the signal ID is not a fixed value and is also variable.
In the above step 512, the noise-removal threshold L used as reference may be obtained by using the amplitude value of the noise frequency point of the noise frequency other than the identification frequency after the FFT. For example, if the identification frequency range is 300 KHz to 400 KHz, the noise-removal threshold L may be obtained by using the amplitude value of the noise frequency point of the noise frequency between 250 KHz to 300 KHz after the FFT.
It can be seen from the above embodiment that, the noise frequency point is employed to generate a noise-removal condition, so as to correctly restore the signal ID controlled by binary amplitude modulation. Since the number of the identification frequencies required to identify the optical signals is small, the complexity of restoring the signal ID is reduced. The correct signal ID may be obtained by observing and comparing the amplitude value of the signal ID in the large window after multiple-time FFT, so as to implement the detection of the optical channel and obtain the information such as the optical power.
As shown in
In step 42, FFT is preformed. Specifically, continuous multiple-time FFT is performed on a signal ID, for example, performed for 10 times.
In step 52, the signal ID is restored. Specifically, the signal ID is restored by using a phase of the signal ID obtained according to a continuous multiple-time FFT result, so as to restore the signal ID.
The signal ID is controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), and one bit transmission time of the signal ID is 2 times longer than the large window, and the large window is a sampling time of performing continuous 1000-time FFT.
Specifically, as shown in
In step 521, a phase of the signal ID in the time window T is obtained. Specifically, a phase of the signal ID of the FFT result in the time window T is obtained.
In step 522, binary data of the signal ID in the large window Wi is determined. Specifically, as shown in
Therefore, the signal ID in the large window Wi composed by the continuous m time windows T is determined by analyzing the phase of the signal ID of the time window T. If the phase change in the large window Wi is regular, the large window Wi is considered to fall in the full frequency of the signal ID, that is, the binary data of the signal ID in the large window is 1; If the phase change in the large window Wi is irregular, if the phase change in the large window Wi is out of order, the large window Wi is considered to fall in an entirely free or partially free part of the signal ID, that is, the binary data of the signal ID in the large window is 0, and vice versa.
In step 523, a binary data sequence in multiple large windows Wi is obtained. Specifically, the binary data sequence {D1, D2, . . . , Di} is obtained according to the binary data of the signal ID in the multiple large windows Wi.
In step 524, the binary data sequence of the signal ID is restored. Specifically, since the identification and detection of the optical signal are not synchronous, and the location on which the large window Wi falls in one bit transmission time of the signal ID is arbitrary, it can be seen from
In Example 1, the starting point of the large window Wi is the same as the starting point of one bit transmission time of the signal ID (as shown by the dotted line in
In Example 2, the starting point of the large window Wi is different from the starting point of one bit transmission time of the signal ID, and the binary data sequence {D1, D2, . . . , Di} in multiple large windows obtained in this case is {1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0}.
The number of the binary data 1 and 0 in the binary data sequence {D1, D2, . . . , Di} may be adjusted by using the following rules according to TB=n*Wi, n=2. Specifically, the number of the continuous binary data 1 in the binary data sequence plus 1 is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 in the binary data sequence is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID.
Example 1 {1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0} and Example 2 {1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0} are taken for illustration. As for the number of the adjusted binary data 1 and 0, and the corresponding binary data sequence of the signal ID, reference can be made to the following Table 2.
The adjusted binary data sequence is obtained according to the number of the adjusted continuous binary data 1 and 0, the adjusted binary data sequence serves as the signal ID, and the optical channel is detected and the information such as the optical power is obtained according to the signal ID.
Likewise, the rules for adjusting the number of the binary data 1 and 0 in the binary data sequence {D1, D2, . . . , Di} are obtained according to TB=n*Wi, n≧2. Specifically, the number of the continuous binary data 1 in the binary data sequence plus 1 is rounded to n, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 in the binary data sequence is rounded to n, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID.
With the detecting method for restoring the signal ID by using the phase change of each frequency point after the FFT, it is assumed that the sampling rate fR is 250000 times/second and the number of the sampling nodes N is 8192, the time window T is 3.3 ms (N/fR), and one bit transmission time of the signal ID is merely 66 ms (TB=2*W=2*10*3.3 ms=66 ms) according to the FFT result of the ten time windows in the large window Wi.
It can be seen from the above embodiment that, with the method for correctly restoring the signal ID by using the phase change of the FFT, since the number of the identification frequencies required to identify the optical signals is small, the complexity of restoring the signal IDs is reduced, and it only requires a few (for example, 10) time windows to determine the signal ID in the large window, thus improving the signal ID detecting speed, so that one bit transmission time of the signal ID is short.
As shown in
an FFT module 4, configured to perform continuous m-time FFT on a signal ID; and
a microcontroller 5, configured to obtain an amplitude value or a phase of the signal ID according to a continuous m-time FFT result, and restore the signal ID according to the amplitude value or the phase of the signal ID.
The signal ID is controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), and one bit transmission time of the signal ID is n times longer than a large window, where n is an integer larger than or equal to 2, and the large window is a sampling time of performing continuous m-time FFT, where m is an integer larger than or equal to 10.
It can be seen from the above embodiment that, the signal ID may be correctly restored and obtained by analyzing the amplitude value or phase of the signal ID in the large window after multiple-time FFT, so that the complexity of restoring the signal ID is reduced, thus implementing the detection of the optical channel and obtaining the information such as the optical power.
As shown in
The optical splitter 3 is configured to receive optical signals carrying signal IDs and splits a part of the optical signals, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), one bit transmission time of the signal ID is 2 times longer than a large window, and the large window is a sampling time of performing continuous FFT, for example, 1000 times.
The optical-electrical converter 10 is configured to convert the optical signals split by the optical splitter 3 into electrical signals, and transmit the electrical signals to the A/D converter 11.
The A/D converter 11 is configured to convert the analog electrical signals into digital electrical signals, and transmit the digital electrical signals to the FFT module 43.
The FFT module 43 is configured to perform continuous multiple-time FFT on the signal ID, for example, perform for 1000 times.
The microcontroller 53 is configured to obtain an amplitude value of the signal ID according to a continuous multiple-time FFT result, so as to restore the signal ID, for example, 1000 times. Specifically, the microcontroller 53 includes a first analysis module 531 and a second analysis module 532. The first analysis module 531 is configured to:
obtain the amplitude value of the signal ID according to the continuous 1000-time FFT result in each large window; determine binary data of the signal ID in each large window by comparing the amplitude value of the signal ID with a noise-removal threshold, where if the amplitude value of the signal ID is smaller than the noise-removal threshold, the binary data of the signal ID in the large window is 0, and if the amplitude value of the signal ID is larger than or equal to the noise-removal threshold, the binary data of the signal ID in the large window is 1; and obtain the binary data sequence according to the binary data of the signal ID in each large window.
The noise-removal threshold is a frequency point amplitude value obtained by performing FFT on a noise frequency other than the frequency of the signal ID.
The second analysis module 532 adjusts the binary data sequence obtained by the first analysis module 531.
As shown in
The number of the continuous binary data 1 is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 plus 1 is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID. Reference can be made to the above Table 1, and the details will not be described herein again.
The adjusted binary data sequence is obtained according to the number of the adjusted continuous binary data 1 and 0, the adjusted binary data sequence serves as the signal ID, and the optical channel is detected and the information such as the optical power is obtained according to the signal ID.
During the specific application of the signal ID detecting apparatus in this embodiment, the optical splitter 3 splits a few optical signals 107 from the optical signals 103 carrying the signal IDs, and the rest of the optical signals 108 are not affected and are continuously transmitted; the optical-electrical converter 10 converts the optical signals 107 split by the optical splitter 3 into electrical signals 109; the A/D converter 11 converts the analog electrical signals 109 into digital electrical signals 110; the FFT module 43 performs FFT sampling and transform; the first analysis module 531 of the microcontroller 53 analyzes and obtains the binary data sequence of the signal ID in the multiple large windows according to the amplitude value of the signal ID obtained by using the FFT result; and the second analysis module 532 of the microcontroller 53 further adjusts the binary data sequence of the signal ID in the multiple large windows, and the adjusted binary data sequence is the signal ID, through which the optical channel detection is implemented and the information such as the optical power is obtained.
It can be seen from the above embodiment that, the detecting apparatus in this embodiment uses the noise frequency point to generate a noise-removal condition, so as to correctly restore the signal ID. Since the number of the identification frequencies required to identify the optical signals is small, the complexity of restoring the signal ID is reduced. The correct signal ID may be obtained by observing and comparing the amplitude value of the signal ID in the large window after multiple-time FFT, so as to implement the detection of the optical channel and obtain the information such as the optical power.
As shown in
The optical splitter 3 is configured to receive optical signals carrying signal IDs and splits a part of the optical signals, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence (for example, in a binary amplitude keying manner), one bit transmission time of the signal ID is 2 times longer than a large window, and the large window is a sampling time of performing continuous FFT, for example, 10 times.
The optical-electrical converter 10 is configured to convert the optical signals split by the optical splitter 3 into electrical signals, and transmit the electrical signals to the A/D converter 11.
The A/D converter 11 is configured to convert the analog electrical signals into digital electrical signals, and transmit the digital electrical signals to the FFT module 44.
The FFT module 44 is configured to perform continuous multiple-time FFT on the signal ID, for example, perform for 10 times.
The microcontroller 54 is configured to obtain a phase of the signal ID according to a continuous multiple-time FFT result, so as to restore the signal ID, for example, 10 times.
Specifically, the microcontroller 54 includes a first analysis module 541 and a second analysis module 542. The first analysis module 541 is configured to:
obtain the phase of the signal ID according to the FFT result in each time window, where the time window is the sampling time of the FFT at a time; determine binary data of the signal ID in each large window by analyzing the phase change of the signal ID in multiple continuous time windows, where if the phase change is regular, the binary data of the signal ID in the large window is 1, and if the phase change is out of order, the binary data of the signal ID in the large window is 0; and obtain the binary data sequence according to the binary data of the signal ID in each large window.
The second analysis module 542 adjusts the binary data sequence obtained by the first analysis module 541. As shown in
The number of the continuous binary data 1 and 0 in the binary data sequence is adjusted. The number of the continuous binary data 1 in the binary data sequence plus 1 is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 1 in the signal ID; and the number of the continuous binary data 0 in the binary data sequence is rounded to 2, and a rounding result is the number of the corresponding adjusted continuous binary data 0 in the signal ID. Reference can be made to the above Table 2, and the details will not be described herein again.
The adjusted binary data sequence is obtained according to the number of the adjusted continuous binary data 1 and 0, the adjusted binary data sequence serves as the signal ID, and the optical channel is detected and the information such as the optical power is obtained according to the signal ID.
During the specific application of the signal ID detecting apparatus in this embodiment, the optical splitter 3 splits a few optical signals 107 from the optical signals 103 carrying the signal IDs, and the rest of the optical signals 108 are not affected and are continuously transmitted; the optical-electrical converter 10 converts the optical signals 107 split by the optical splitter 3 into electrical signals 109; the A/D converter 11 converts the analog electrical signals 109 into digital electrical signals 110; the FFT module 44 performs FFT sampling and transform; the first analysis module 541 of the microcontroller 54 obtains the binary data sequence of the signal ID in the multiple large windows according to the phase of the signal ID obtained by using the FFT result; and the second analysis module 542 of the microcontroller 53 further adjusts the binary data sequence of the signal ID in the multiple large windows, and the adjusted binary data sequence is the signal ID, through which the optical channel detection is implemented and the information such as the optical power is obtained.
It can be seen from the above embodiment that, the detecting apparatus in this embodiment uses the phase change of the FFT to correctly restore the signal ID. Since the number of the identification frequencies required to identify the optical signals is small, the complexity of restoring the signal ID is reduced, and it only requires a few time windows to determine the signal ID in the large window, thus improving the signal ID detecting speed, so that one bit transmission time of the signal ID is short.
An embodiment of the present invention provides an optical signal identifying and detecting system, including:
an optical signal identifying apparatus, configured to assign signal IDs with different frequencies to optical signals with different wavelengths, where the signal IDs are controlled in an amplitude-modulation manner according to a binary data sequence, and distinguish the optical signals with different wavelengths by using different signal IDs; and
a signal ID detecting apparatus, configured to perform continuous m-time FFT on the signal ID, where m is an integer larger than or equal to 10, obtain an amplitude value or a phase of the signal ID according to a continuous m-time FFT result, and restore the signal ID according to the amplitude value or the phase of the signal ID.
Specifically, as shown in
The signal ID detecting apparatus includes: an FFT module 4, configured to perform continuous m-time FFT on the signal ID, where m is an integer larger than or equal to 10; and a microcontroller 5, configured to analyze the amplitude value or the phase of the signal ID obtained according to the continuous m-time FFT result, so as to restore the signal ID.
It can be seen from the above description that, with the identifying and detecting system, the identifying apparatus of the system uses the signal IDs to distinguish the optical signals with different wavelengths, and the number of the identification frequencies required to identify the optical signals is small. The detecting apparatus of the system uses the amplitude value or phase change of the FFT to correctly restore the signal ID, and the number of the identification frequencies required to identify the optical signals is small, so that the complexity of restoring the signal ID is reduced.
The above descriptions are merely some exemplary embodiments of the present invention, but the protection scope of the present invention is not limited to these embodiments. Any modification, equivalent replacement, or improvement made by persons skilled in the art without departing from the spirit and principle of the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention is subject to the protection scope of the claims.
Persons of ordinary skill in the art should understand that all or a part of the steps of the method according to the embodiments of the present invention may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program is run, the steps of the method according to the embodiments of the present invention are performed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
Number | Date | Country | Kind |
---|---|---|---|
200810224620.8 | Oct 2008 | CN | national |
This application is a continuation of International Application No. PCT/CN2009/074514, filed on Oct. 19, 2009, which claims priority to Chinese Patent Application No. 200810224620.8, filed on Oct. 21, 2008, both of which are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2009/074514 | Oct 2009 | US |
Child | 13091383 | US |