Signal processing method and signal processing system
By rapidly restoring signal processing through pre-stored parameters, the problem of data loss caused by routing switching in optical transmission networks is solved, achieving faster signal recovery and lower data loss, thus improving network stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2021-03-31
- Publication Date
- 2026-07-28
AI Technical Summary
In optical transmission networks, the time required for route switching and signal recovery is long, resulting in the loss of a large amount of data.
By determining the parameters pre-stored before route switching, signal processing is quickly restored, including dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation. High-speed optical switches and processors are used to achieve rapid control of route switching.
It improves the speed of routing switching and digital signal processing, significantly reduces data loss, and enhances the stability of optical transmission networks.
Smart Images

Figure CN116318378B_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application filed on March 31, 2021, with application number 202110350734.2 and entitled "Signal Processing Method and Signal Processing System". Technical Field
[0002] This disclosure relates to the field of data processing technology, and in particular to the fields of optical communication, information flow, signal processing, data transmission, big data, and cloud computing. Background Technology
[0003] In optical transmission networks, when a drop in the optical power of the signal transmitted by a route is detected, route switching is required to ensure that the optical transmission network can continue data transmission. However, due to the long time required for route switching and signal recovery processing, a significant amount of data can be lost in the optical transmission network. Summary of the Invention
[0004] This disclosure provides a signal processing method and a signal processing system.
[0005] According to one aspect of this disclosure, a signal processing method is provided, comprising:
[0006] Determine the target route for the current transmitted signal based on the route switching situation;
[0007] Based on the pre-stored parameters determined before the route switch, signal recovery processing is performed on the signals received from the target route.
[0008] According to another aspect of this disclosure, a signal processing apparatus is provided, comprising:
[0009] The determination module is used to determine the target route for the currently transmitted signal based on the route switching situation;
[0010] The signal recovery module is used to perform signal recovery processing on signals received from the target route based on pre-stored parameters determined before the route switch.
[0011] According to another aspect of this disclosure, a signal processing system is provided, comprising:
[0012] At least two routes are used for transmitting signals;
[0013] The optical protection board includes a high-speed optical switch, a processor, and a first optical power detector. The input terminals of the high-speed optical switch are connected to the router, the first optical power detector is connected to the router, and the processor is connected to both the high-speed optical switch and the first optical power detector. The processor is used to control the connection status between the high-speed optical switch and the router based on the optical power of the router detected by the first optical power detector.
[0014] The service board includes the signal processing device mentioned above, which is connected to the output of the high-speed optical switch.
[0015] According to another aspect of this disclosure, an electronic device is provided, comprising:
[0016] At least one processor; and
[0017] The memory is communicatively connected to the at least one processor; wherein,
[0018] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the methods in any embodiment of this disclosure.
[0019] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform the methods of any embodiment of this disclosure.
[0020] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the methods of any embodiment of this disclosure.
[0021] The technology disclosed herein improves the speed of routing switching and digital signal processing, and reduces data loss.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0023] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0024] Figure 1 This is a schematic diagram illustrating the implementation flow of a signal processing method according to an embodiment of this application;
[0025] Figure 2 This is a schematic diagram illustrating the implementation flow of a signal processing method according to an embodiment of this application;
[0026] Figure 3 This is a schematic diagram illustrating the implementation flow of a signal processing method according to an embodiment of this application;
[0027] Figure 4 This is a schematic diagram illustrating the implementation flow of a signal processing method according to an embodiment of this application;
[0028] Figure 5 This is a schematic diagram illustrating the implementation flow of a signal processing method according to an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of the structure of a signal processing apparatus according to an embodiment of this application;
[0030] Figure 7 This is a schematic diagram of the structure of a signal processing system according to an embodiment of this application;
[0031] Figure 8 This is a schematic diagram of the structure of a signal processing system according to an embodiment of this application;
[0032] Figure 9 This is a schematic diagram of the structure of a signal processing system according to an embodiment of this application;
[0033] Figure 10 This is a schematic diagram of the structure of a signal processing system according to an embodiment of this application;
[0034] Figure 11 This is a schematic diagram of the structure of a signal processing system according to an embodiment of this application;
[0035] Figure 12 This is a block diagram of an electronic device used to implement the signal processing method of the embodiments of this application. Detailed Implementation
[0036] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0037] According to embodiments of this disclosure, such as Figure 1 As shown, this disclosure provides a signal processing method applied to a service board, including:
[0038] S10: Determine the target route for the current transmitted signal based on the route switching situation.
[0039] Routing can be implemented by an optical protection board connected to the service board. The optical protection board determines whether to switch routes transmitting signals to the service board based on the optical power drop in each route. Routing can also be implemented through manual intervention, i.e., manually switching routes transmitting signals to the service board. Alternatively, routing can be automatically triggered by the service board detecting a drop in optical power in a route, prompting the optical protection board to switch.
[0040] Service boards can function as signal transmission terminals or relay stations. After the signal sent by the optical protection board reaches the service board, the service board can directly use the received signal to perform certain operations, or it can process the received signal before sending it to other terminals. The specific product corresponding to a service board is not specifically limited here; any device capable of processing signals can be considered a service board. For example, a service board can be a mobile terminal, server, cloud platform, or computer.
[0041] The target route for the current transmitted signal can be understood as the route that transmits signals to the service board after route switching. For example, routes transmitting the same signal include the primary route and the backup route. Both routes can send signals to the board that controls route switching (i.e., dual signal transmission), but the board that controls route switching will only select one route to transmit the signal to the service board (i.e., selective signal reception). Therefore, the service board needs to determine which route the currently received signal came from in order to perform targeted signal recovery processing based on the characteristics of that route, ensuring that the optical transmission network can continue to transmit data smoothly and stably.
[0042] S11: Based on the pre-stored parameters determined before the route switch, perform signal recovery processing on the signal received from the target route.
[0043] Pre-stored parameters are used to speed up signal recovery processing. By pre-stored parameters, service boards can quickly recover signals sent by the target route based on the characteristics of the target route and the features of the boards transmitting signals with the target route.
[0044] Stored parameters can be understood as parameters related to signal transmission acquired and recorded during signal transmission between the target router and the service board. Specifically, stored parameters are parameters related to signal transmission acquired and recorded during signal transmission between the target router and the service board within a predetermined time period. The preset time can be any time period during signal transmission between the target router and the service board. For example, it could be from the start of signal transmission between the target router and the service board until the end of signal transmission. Alternatively, it could be a specific time period before the end of signal transmission between the target router and the service board. Stored parameters can characterize the signal transmission characteristics of the target router, the signal reception and processing characteristics of the service board, and the characteristics of the board sending signals to the target router (e.g., the service board sending signals to the target router).
[0045] The specific process of signal recovery processing can refer to existing signal processing methods. These include methods such as dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and clock tracking. Pre-stored parameters can be understood as the parameters required in any of the above signal processing steps. By directly calling these pre-stored parameters, the required parameters do not need to be recalculated during the execution of any of the above signal processing steps. This not only saves signal processing time but also improves the accuracy of signal processing by referencing historical parameters.
[0046] The technology disclosed herein can be applied to cloud computing technology, particularly optical transmission networks for data center interconnection. According to the technology disclosed herein, the speed of routing switching and digital signal processing is improved, data loss is reduced, and the stability of the optical transmission network is enhanced.
[0047] It should be noted that traditional digital signal processing typically employs a parameter scanning method. This method requires each module within the service board to independently recalculate and process the signal each time, thus increasing the overall signal processing time. Generally, the parameter scanning method takes between 10ms and 30ms to process digital signals. While the parameter scanning method meets the ITU (International Telecommunication Union) standard of 50ms for telecommunications optical transmission systems, with increasing data transmission rates, even meeting the 50ms requirement can lead to significant data loss. For example, as optical transmission systems evolve from 10Gb / s to 100Gb / s and 200Gb / s, and even the soon-to-be-developed 400Gb / s and 600Gb / s optical wavelength division multiplexing (WDM) systems, the data loss due to a single jitter has increased from 512M (10Gb / s × 50ms) to a massive 20G and 30G data loss. The technology disclosed herein significantly reduces data loss compared to traditional digital signal processing because it improves the signal recovery processing time.
[0048] In one example, determining the target route for the current transmitted signal based on the route switching situation can be understood as: determining the target route for the current transmitted signal after the route switching is completed.
[0049] During route switching, the service board will experience a brief interruption. Once the route switching is complete, the interruption will be restored. The service board will then determine the target route for the current transmission signal based on the received signal (this signal is transmitted from the switched route to the board controlling the route switching, and then sent back to the service board by the board controlling the route switching). The board controlling the route switching can be an optical protection board.
[0050] In one example, determining the target route for the current transmitted signal based on the routing switch can be understood as: determining the target route for the current transmitted signal during the routing switch process. Since the routes previously connected to the service board are determined before the routing switch, the other route (i.e., the target route) that needs to be switched to can be directly determined during the routing switch.
[0051] In one embodiment, the signal processing method includes steps S10 and S11, wherein step S11: based on pre-stored parameters determined before route switching, performing signal recovery processing on the signal received from the target route, may further include:
[0052] S111: Based on the pre-stored parameters determined before route switching, perform at least one of the following signal recovery processing methods on the signal received from the target route: dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
[0053] Pre-stored parameters can be understood as the parameters required in any of the above signal processing procedures. By directly calling the pre-stored parameters, the required parameters do not need to be recalculated during the execution of any of the above signal processing procedures. This not only saves signal processing time, but also improves the accuracy of signal processing by referring to historical parameters.
[0054] It should be noted that the specific signal processing methods used can be appropriately added or removed as needed. That is, not all of the signal processing procedures mentioned in step S111 need to be used, and some can be removed. Alternatively, they can be added to improve the quality of signal recovery processing.
[0055] In one embodiment, such as Figure 2 As shown, the signal processing method includes steps S10 and S11, and the pre-stored parameters include a pre-stored dispersion compensation amount. Specifically, step S111: based on the pre-stored parameters determined before route switching, the signal received from the target route is subjected to at least one of the following signal recovery processing methods: dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation. This may further include:
[0056] S20: Determine the pre-stored dispersion compensation amount corresponding to the target route. The pre-stored dispersion compensation amount is determined based on the historical dispersion compensation amount of the target route within a preset time period before the route switch.
[0057] The preset time period can be understood as the last time period during which the target route and the service board transmit signals before the execution of the method disclosed herein.
[0058] Each historical dispersion compensation amount can be understood as the dispersion compensation amount of the target route changes that are continuously monitored and recorded within a preset time period.
[0059] The final determined pre-stored dispersion compensation amount can be based on the average, maximum, and minimum values of each historical dispersion compensation amount. Alternatively, the historical dispersion compensation amount at the last moment within the preset time period can be used as the pre-stored dispersion compensation amount, that is, the latest dispersion compensation amount can be used as the pre-stored dispersion compensation amount.
[0060] S21: Perform dispersion compensation on the signal received from the target route based on the pre-stored dispersion compensation amount.
[0061] The specific methods for dispersion compensation can refer to existing dispersion compensation methods, and are not specifically limited here.
[0062] S22: Perform at least one of the following signal recovery processing methods on the signal received from the target route: frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
[0063] For specific methods of frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation, please refer to relevant technologies; no specific limitations will be made here.
[0064] It should be noted that the execution order of dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation can be adjusted as needed, and should not be interpreted as the order of the words being described.
[0065] In the technology disclosed herein, by directly determining the pre-stored dispersion compensation amount obtained based on each historical dispersion compensation amount as the dispersion compensation amount required for dispersion compensation, the time required to recalculate the dispersion compensation amount for the current route can be saved. Furthermore, since the pre-stored dispersion compensation amount is determined based on historical data of the current route, directly using it as the dispersion compensation parameter during dispersion compensation can also ensure the accuracy and stability of signal processing. The dispersion compensation amount varies with the transmission distance of the route. Since the transmission distance of the route is usually constant, the pre-determined pre-stored dispersion compensation amount will not have a large deviation and can be considered essentially the accurate dispersion compensation amount for the current route.
[0066] In one example, the dispersion compensation module primarily compensates for transmission dispersion impairments, such as chromatic dispersion and partial polarization mode dispersion, using digital methods. In coherent optical communication systems, the impact of dispersion on the received signal is mainly manifested as a phase shift, as shown in the following formula:
[0067]
[0068] L represents the transmission distance, γ represents the nonlinear coefficient, P0 represents the transmitted optical power, α represents the polarization-independent attenuation coefficient, and D is the dispersion constant. Therefore, it can be found that if a known pilot sequence signal is used, and the known A (Z=0) and the received A (z=L) are used, the dispersion effect during transmission can be calculated, and the dispersion amount... It is mainly related to the transmission distance L. When the dispersion is calculated... At this time, dispersion compensation can be performed on all received signals. If the dispersion compensation is incorrect, additional phase noise will be superimposed on the signal, causing subsequent signal processing to fail.
[0069] In one example, when there are multiple routes, a pre-stored dispersion compensation amount needs to be calculated for each route. The dispersion compensation amount for each route can be confirmed by manually switching the connection status between the route and the service board. Alternatively, it can be continuously monitored while the route and the service board are in signal transmission mode, and the new dispersion compensation amount is recorded when the route's dispersion compensation amount changes.
[0070] In one embodiment, such as Figure 3 As shown, the signal processing method includes steps S10 and S11, and the pre-stored parameters include pre-stored signal frequency offset values. Specifically, step S111: based on the pre-stored parameters determined before route switching, the signal received from the target route is subjected to at least one of the following signal recovery processing methods: dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation. This may further include:
[0071] S30: Determine the pre-stored signal frequency offset value corresponding to the target route. The pre-stored signal frequency offset value is determined based on the frequency deviation between the center wavelength of the receiving laser and the center wavelength of the transmitting laser at the transmitting end at the moment before the route switching.
[0072] The moment before route switching can be understood as the last moment before the service board transmits data with the first route. The first route can be understood as the route through which data is transmitted with the service board before switching to the target route.
[0073] The internal receiving laser can be understood as a laser device installed inside the service board that performs the methods disclosed herein, used for receiving signals.
[0074] The transmitting end can be understood as sending a signal to the router so that the router can send the signal to a specific board within the service board. The transmitting laser can be understood as a laser device internal to the transmitting end used for sending signals. The transmitting end can be another service board with the same structure as the service board. The two service boards are located in different physical locations.
[0075] S31: Compensate for the frequency offset of the signal received from the target route based on the pre-stored signal frequency offset value.
[0076] The specific methods for frequency offset compensation can refer to existing frequency offset compensation methods, and are not specifically limited here.
[0077] S32: Perform at least one of the following signal recovery processing methods on the signal received from the target route: dispersion compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
[0078] The specific methods for dispersion compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation can refer to existing technologies and are not specifically limited here.
[0079] It should be noted that the execution order of dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation can be adjusted as needed, and should not be interpreted as the order of the words being described.
[0080] In the technology disclosed herein, by directly determining the pre-stored signal frequency offset value as the parameter required for frequency offset compensation, the time required to recalculate the frequency offset between the transmitting and receiving lasers can be saved. Furthermore, since the pre-stored signal frequency offset value is determined based on the frequency offset between the transmitting and receiving lasers at historical moments, directly using it as the frequency offset value for frequency offset compensation can also ensure the accuracy and stability of signal processing.
[0081] In one example, the formula is shown below:
[0082] x in [k]=x sym [k]exp(j[φ[k]+2πΔfkT sym ])
[0083] Where, x in [k] represents the input digital signal received at time k, x sym [k] represents the original transmitted signal corresponding to the k-th time, T sym This indicates the signal sampling period interval.
[0084] Carrier recovery for received digital signals mainly requires compensating for two parts of phase noise: the frequency offset Δf between the center wavelengths of the transmitting and receiving lasers, and the phase difference between the transmitting and receiving optical signal carriers. Frequency offset estimation is used to eliminate a large amount of phase noise, thereby improving the efficiency of phase compensation. Taking QPSK coding as an example, the frequency offset estimation formula is as follows:
[0085]
[0086] Find it through forward feedback. The peak value in the spectrum. Arg is the angle of the complex plane, max is the maximum value, frequency offset Δf represents the frequency offset between the center wavelength of the transmitting laser and the center wavelength of the receiving laser, and Tsym represents the signal sampling period interval.
[0087] In one example, the speed of light transmission in the fiber optic route is 3 * 10^8 m / s. Even in extreme cases, when the distance between the primary and backup routes differs by 80 km, the time difference between the arrival of the optical signals sent by the optical protection system to the two routes at the receiving end (service board or optical protection board) is only 0.4 ms. Considering the stability of the laser, its own frequency drift is on the order of MHz within 0.4 ms. Therefore, when the service is normal, the frequency offset value of the transceiver laser can be continuously recorded and refreshed by the service board that requires digital signal processing. When the service is interrupted and resumed, the refreshed and recorded frequency offset value is used for frequency offset compensation.
[0088] Frequency offset compensation can include coarse frequency offset compensation and fine frequency offset compensation. Coarse frequency offset compensation is performed according to steps S30 and S31, while fine frequency offset compensation maintains the dynamic equilibrium working mode and performs dynamic frequency offset estimation on the signal. That is, fine frequency offset compensation is based on the result of coarse frequency offset compensation and performs further dynamic compensation.
[0089] In one embodiment, such as Figure 4 As shown, the signal processing method includes steps S10 and S11, and the pre-stored parameters include a pre-stored clock frequency offset value. Specifically, step S111: based on the pre-stored parameters determined before route switching, at least one signal recovery processing method is applied to the signal received from the target route, including dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation, including:
[0090] S40: Determine the pre-stored clock frequency offset value corresponding to the target route. The pre-stored clock frequency offset value is determined based on the internal clock sampling frequency and the signal clock frequency of the signal sent by the transmitting end within a preset time period before route switching.
[0091] The preset time period can be understood as the last time period during which the target route and the service board transmit signals before the execution of the method disclosed herein.
[0092] The internal clock sampling frequency can be understood as the sampling frequency of the clock internally set on the service board that executes the methods disclosed herein.
[0093] The sending end can be understood as sending a signal to the router so that the router can send the signal to a specific board on the service board. The signal clock frequency of the emitted signal can be understood as the signal's own clock frequency.
[0094] S41: Restore the current internal clock sampling frequency based on the pre-stored clock frequency offset value.
[0095] The specific method for restoring the internal clock sampling frequency can refer to the existing internal clock sampling frequency restoration methods, and is not specifically limited here.
[0096] S42: Perform at least one of the following signal recovery processing methods on the signal received from the target route: dispersion compensation, frequency offset compensation, frame synchronization, polarization demultiplexing, and phase compensation.
[0097] The specific methods for dispersion compensation, frequency offset compensation, frame synchronization, polarization demultiplexing, and phase compensation can refer to existing technologies and are not specifically limited here.
[0098] It should be noted that the execution order of dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation can be adjusted as needed, and should not be interpreted as the order of the words being described.
[0099] In the technology disclosed herein, by directly determining the pre-stored clock frequency offset value as the parameter required for clock recovery, the time required to recalculate the clock frequency offset value can be saved. Furthermore, since the clock frequency offset value is determined based on the average of historical clock frequency offset values, directly using it as the clock frequency offset value for clock recovery can also ensure the accuracy and stability of signal processing.
[0100] In one example, step S40: Determine the pre-stored clock frequency offset value corresponding to the target route. The pre-stored clock frequency offset value is determined based on the internal clock sampling frequency and the signal clock frequency of the transmitted signal within a preset time period before route switching. This may further include:
[0101] Based on the length of the route, determine the transmission time of the signal sent by the sender to reach the service board after passing through the route;
[0102] Collect the signal clock frequency of the signal emitted by the transmitting end, and collect the internal clock sampling frequency of the service board after the transmission time has elapsed; determine the clock frequency offset value at the current moment based on the signal clock frequency and the internal clock sampling frequency.
[0103] The average value of each clock frequency offset value determined within the preset time period is calculated to obtain the pre-stored clock frequency offset value.
[0104] In one example, the signal processing method is executed by the service board. The routes that can transmit signals with the service board include the primary route and the backup route. The primary route and the backup route receive signals sent by the same sender and simultaneously send signals received from the sender (another service board) to the service board. However, under the action of the optical protection board, the service board will only transmit signals with one of the primary route and the backup route.
[0105] like Figure 5 As shown, before executing the signal processing method, the following steps are also included:
[0106] Determine the pre-stored dispersion compensation amounts for the primary and backup routes. The pre-stored dispersion compensation amounts are determined based on the historical dispersion compensation amounts of the primary and backup routes continuously recorded within a preset time period before route switching.
[0107] Determine the pre-stored signal frequency offset values for the primary and backup routes. The pre-stored signal frequency offset values are determined based on the frequency deviation between the center wavelength of the receiving laser inside the service board and the center wavelength of the transmitting laser at the transmitting end, which is continuously recorded at the moment before the route switch.
[0108] Determine the pre-stored clock frequency offset values for the primary and backup routes. The pre-stored clock frequency offset value for the primary route is determined based on the continuously recorded clock sampling frequency inside the service board and the signal clock frequency of the transmitted signal during the preset time period before route switching when transmitting signals through the primary route.
[0109] The pre-stored clock frequency offset value of the backup route is determined by continuously recording the internal clock sampling frequency of the service board and the signal clock frequency of the signal sent by the transmitting end during the preset time period before the route switch.
[0110] Execute signal processing methods, including:
[0111] If the optical power of the primary route that the optical protection board has identified as being connected to the service board drops, switch the route that transmits data to the service board and connect the backup route to the service board.
[0112] Once the service board confirms that the route switchover is complete, determine the target route (i.e., the backup route) for the current transmitted signal;
[0113] Receive signals transmitted by the target route.
[0114] Determine the pre-stored dispersion compensation amount corresponding to the target route, and perform dispersion compensation on the signal received from the target route based on the pre-stored dispersion compensation amount.
[0115] Determine the pre-stored signal frequency offset value corresponding to the target route, and perform coarse frequency offset compensation on the dispersion-compensated signal based on the pre-stored signal frequency offset value.
[0116] Determine the pre-stored clock frequency offset value corresponding to the target route, and restore the current internal clock sampling frequency of the service board based on the pre-stored clock frequency offset value.
[0117] After the internal clock sampling frequency is restored, the signal is frame synchronized.
[0118] Polarization demultiplexing is performed on the signal after frame synchronization.
[0119] Clock tracking is performed on the recovered internal clock sampling frequency in order to optimize the internal clock sampling frequency.
[0120] Based on the signal after coarse frequency offset compensation, fine frequency offset compensation is performed to complete signal recovery.
[0121] In one example, after receiving a signal, the service board performs photoelectric conversion on the received optical signal, converting it into an electrical signal using a coherent optical receiver. Then, an analog-to-digital converter samples and quantizes the electrical signal, providing the necessary foundation for subsequent digital signal processing.
[0122] In one example, frame synchronization is an alignment at the frame granularity based on clock synchronization, which facilitates the extraction and detection of overhead and pilot signals.
[0123] In one example, current coherent optical communication typically modulates service information onto two mutually orthogonal polarization states. These orthogonal polarization states remain independent during transmission and are received separately at the receiver. For QPSK (Quadrature Phase Shift Keying) modulation codes, a constant mode algorithm can be used; for higher-order QAM (Quadrature Amplitude Modulation) codes, a multi-mode algorithm can be employed to achieve polarization demultiplexing.
[0124] In one example, the clock tracking module is mainly used to detect the deviation margin after the signal clock is recovered, and then feed it back to the clock recovery module for parameter optimization.
[0125] In one example, in addition to frequency offset compensation, it is also necessary to compensate for the phase difference between the transmitted optical signal carrier and the received optical signal carrier. Compensation is performed. Different modulation models have different phase estimation methods. Taking QPSK as an example, the phase estimation formula is as follows:
[0126]
[0127] This is because the QPSK modulation code uses four angles: 0, π / 2, π, and 3π / 2. After taking the fourth power of the received signal, the phase angles of the normal signal all become integer multiples of 2π, specifically 0, 2π, 4π, and 6π. At this point, the angle of the normal received signal in the coordinate system returns to 0. The angle of the signal in the coordinate system at this time represents the phase deviation between the transmitted and received optical signals. Averaging multiple received signals yields a phase estimate. Arg represents the angle in the complex plane. Phase estimation typically employs forward feedback and converges using a minimum mean square error algorithm.
[0128] According to embodiments of this disclosure, such as Figure 6 As shown, this disclosure also provides a signal processing apparatus 600, comprising:
[0129] The determination module 610 is used to determine the target route of the currently transmitted signal based on the route switching situation.
[0130] The signal recovery module 620 is used to perform signal recovery processing on the signal received from the target route based on the pre-stored parameters determined before the route switch.
[0131] In one embodiment, the signal recovery module is further configured to perform at least one of the following signal recovery processing methods on the signal received from the target route based on pre-stored parameters determined before the route switching: dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
[0132] In one embodiment, the pre-stored parameters include a pre-stored dispersion compensation amount, and the signal recovery module includes:
[0133] The first determination submodule is used to determine the pre-stored dispersion compensation amount corresponding to the target route. The pre-stored dispersion compensation amount is determined based on the historical dispersion compensation amount of the target route within a preset time period before the route switch.
[0134] The dispersion compensation submodule is used to perform dispersion compensation on the signal received from the target route according to the pre-stored dispersion compensation amount.
[0135] The first signal recovery submodule is used to perform frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation on the signal received from the target route.
[0136] In one embodiment, the pre-stored parameters include a pre-stored signal frequency offset value, and the signal recovery module includes:
[0137] The second determining submodule is used to determine the pre-stored signal frequency offset value corresponding to the target route. The pre-stored signal frequency offset value is determined based on the frequency deviation between the center wavelength of the receiving laser and the center wavelength of the transmitting laser at the transmitting end at the moment before the route switching.
[0138] The frequency offset compensation submodule is used to compensate for the frequency offset of the signal received from the target route based on the pre-stored signal frequency offset value.
[0139] The second signal recovery submodule is used to perform dispersion compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation on the signal received from the target route.
[0140] In one embodiment, the pre-stored parameters include a pre-stored clock frequency offset value, and the signal recovery module includes:
[0141] The third determination submodule is used to determine the pre-stored clock frequency offset value corresponding to the target route. The pre-stored clock frequency offset value is determined based on the internal clock sampling frequency and the signal clock frequency of the signal sent by the transmitting end within a preset time period before route switching.
[0142] The clock recovery submodule is used to recover the current internal clock sampling frequency based on the pre-stored clock frequency offset value.
[0143] The third signal recovery submodule is used to perform dispersion compensation, frequency offset compensation, frame synchronization, polarization demultiplexing, and phase compensation on the signal received from the target route.
[0144] The functions of each unit, module, or sub-module in the various devices of this disclosure embodiment can be found in the corresponding descriptions in the above method embodiments, and will not be repeated here.
[0145] According to embodiments of this disclosure, such as Figure 7 As shown, this disclosure also provides a signal processing system, including:
[0146] At least two routes are used to transmit optical signals.
[0147] Each route can adopt any routing structure in the existing technology, and no specific restrictions are made here.
[0148] The optical protection board 73 includes a high-speed optical switch 731, a processor 732, and a first optical power detector 733. The input terminals of the high-speed optical switch 731 are connected to each router, the first optical power detector 733 is connected to each router, and the processor 732 is connected to the high-speed optical switch 731 and the first optical power detector 733. The processor 732 is used to control the connection status between the high-speed optical switch 731 and each router based on the optical power of each router detected by the first optical power detector 733.
[0149] The service board 74 includes the signal processing device 600 of any of the above embodiments, and the signal processing device is connected to the output terminal of the high-speed optical switch 731.
[0150] It should be noted that each router can be connected to one first optical power detector 733 simultaneously, or each router can be connected to one first optical power detector 733 separately. The key is to enable the optical power of each router to be detected separately using the first optical power detector 733.
[0151] The first optical power detector 733 can be any optical power detector in the prior art, such as an optical power meter, optical power instrument, or sensor, etc., without specific limitations. The number of first optical power detectors 733 can be selected and adjusted as needed. For example, each route can be connected to a separate first optical power detector 733, so that each first optical power detector 733 performs individual optical power detection on its corresponding route. Alternatively, each route can be connected to the same first optical power detector 733, so that the optical power of each route can be detected by a single first optical power detector 733. Specifically, the detection end of the first optical power detector 733 can be connected in parallel to branch out multiple branches, each branch corresponding to each route. Each branch samples the optical power of each route in sequence according to the sampling order, and feeds it back to the first optical power detector 733 in the sampling order.
[0152] The high-speed optical switch 731 can be any non-mechanical optical switch. An optical switch is an optical device with one or more selectable transmission ports, whose function is to physically switch optical signals in an optical transmission line or integrated optical path. For example, the high-speed optical switch 731 can be a magneto-optical switch, an electro-optical switch, or an SOA (Semiconductor Optical Amplifier) optical switch. The specific high-speed optical switch 731 selected can be adjusted according to the routing switching speed requirements.
[0153] The number of input terminals of the high-speed optical switch 731 can be selected and adjusted as needed. When there are multiple input terminals of the high-speed optical switch 731, connecting each input terminal to a different route can be understood as follows: each input terminal of the high-speed optical switch 731 can be connected to a corresponding route. For example, if the high-speed optical switch 731 has input terminals A and B, and the routes include routes C and D, then input terminal A is connected to route C, and input terminal B is connected to route D. In other words, each input terminal of the high-speed optical switch 731 can transmit the signal transmitted by the corresponding route to the output terminal of the high-speed optical switch 731.
[0154] The processor 732 can be an MCU (Microcontroller Unit) or an FPGA (Field Programmable Gate Array).
[0155] The connection status between the high-speed optical switch 731 and each router can be switched. The processor 732 controls the connection status between the high-speed optical switch 731 and each router. This can be understood as the processor 732 controlling which router the high-speed optical switch 731 connects to to transmit signals to its output, and which router it connects to but does not connect to, preventing signals from reaching the output of the high-speed optical switch 731. In other words, the high-speed optical switch 731 can selectively receive signals sent by each router.
[0156] Traditional mechanical optical switches are limited by the physical constraints of hardware switching, with a route switching time of approximately 6 ms, which cannot meet the requirements for fast route switching. The technology disclosed herein, by employing a high-speed optical switch 731, eliminates these physical limitations, thereby increasing the speed and reducing the switching time to the μs (microsecond) or even nanosecond (nanosecond) level. This effectively mitigates data loss caused by unstable signal transmission during route switching and reduces the amount of data loss.
[0157] In one example, a magneto-optical switch utilizes the Faraday magneto-optical effect. By changing the applied magnetic field, it alters the polarization plane angle of the magneto-optical crystal for incident polarized light, thus achieving optical path switching. Point optical switches typically utilize the electro-optic or electro-absorption effects of materials such as ferroelectrics, compound semiconductors, and organic polymers, as well as the plasmon dispersion effect of silicon. Under the influence of an electric field, they change the refractive index of the material and the phase of the light, and then use methods such as light interference or polarization to cause abrupt changes in light intensity or a change in the optical path. When a terahertz electric field is applied to an electro-optical crystal, the refractive index of the crystal changes. The polarization direction of a linearly polarized light pulse passing through the electro-optical crystal changes with the terahertz electric field. All of these high-speed optical switches operate using non-mechanical routing switching, thus effectively improving switching speed and reducing switching time.
[0158] In one example, since each route is connected to each input of the high-speed optical switch 731, each route can transmit signals to each input of the high-speed optical switch 731. However, since the high-speed optical switch 731 can only connect to one route at a time in operation, the high-speed optical switch 731 can only transmit the signal of the route currently connected to one input to the service board 74 through its output.
[0159] In one embodiment, such as Figure 7As shown, each route may include a first route 71 and a second route 72. The input terminal of the high-speed optical switch 731 is connected to the first route 71 and the second route 72 respectively. The first optical power detector 733 is connected to the first route 71 and the second route 72. The processor 732 is connected to the high-speed optical switch 731 and the first optical power detector 733. The processor 732 is used to control the connection state of the high-speed optical switch 731 with the first route 71 and the second route 72 according to the optical power of each route detected by the first optical power detector 733.
[0160] In one embodiment, when the processor 732 employs an FPGA, the polling detection time interval for optical power can reach the μs level. Hardware averaging of the collected optical power values using the FPGA (less than 100 times) can filter out extreme power fluctuations. This ensures that the optical protection board's detection time for optical power is less than 100 μs. Therefore, the speed and time of optical power drop detection are accelerated, further reducing the time required for route switching.
[0161] In one embodiment, the output terminal of the high-speed optical switch 731 is connected to a second optical power detector 734, which is connected to a processor 732. The processor 732 determines the connection status between the high-speed optical switch and each route based on the detection results of the first optical power detector 733 and the second optical power detector 734.
[0162] Determining the connection status between the high-speed optical switch and each router can be understood as determining, through the processor 732, which router the high-speed optical switch 731 is currently transmitting signals to.
[0163] The second optical power detector 734 can be any optical power detector in the prior art, such as an optical power meter, optical power instrument, or sensor, etc., without specific limitations.
[0164] In one embodiment, the high-speed optical switch 731 is a magneto-optical switch, an electro-optical switch, or a semiconductor SOA (semiconductor optical amplifier) optical switch.
[0165] In one example, the optical protection board 73 includes an MCU and an FPGA. The inputs of a high-speed optical switch 731 are connected to a first router 71 and a second router 72, respectively. A first optical power detector 733 is connected to both the first router 71 and the second router 72. The FPGA is connected to both the high-speed optical switch 731 and the first optical power detector 733. The FPGA controls the connection state of the high-speed optical switch 731 with both the first router 71 and the second router 72 based on the optical power detected by the first optical power detector 733. The MCU is connected to the FPGA and controls the FPGA as well as other devices in the optical protection board 73, such as the beam splitter 735.
[0166] In one example, the optical protection board 73 includes an MCU and an FPGA. The inputs of a high-speed optical switch 731 are connected to a first router 71 and a second router 72, respectively. A first optical power detector 733 is connected to both the first router 71 and the second router 72. The FPGA is connected to both the high-speed optical switch 731 and the first optical power detector 733. The output of the high-speed optical switch 731 is connected to a second optical power detector 734, which is connected to the FPGA. The FPGA determines the connection status of the high-speed optical switch with the first router 71 and the second router 72 based on the detection results of the first and second optical power detectors 733 and 734. The FPGA is also used to control the connection status of the high-speed optical switch 731 with the first router 71 and the second router 72 based on the optical power detected by the first optical power detector 733. The MCU is connected to the FPGA and is used to control the FPGA and other devices in the optical protection board 73.
[0167] In one example, the optical protection board 73 can be applied to both the signal transmitting end and the signal receiving end. Therefore, the optical protection board 73 can include both signal receiving devices and signal transmitting devices.
[0168] In one example, such as Figure 8 As shown, the optical protection board 73 includes a high-speed optical switch 731, a processor 732, and a first optical power detector 733. The optical protection board 73 also includes a beam splitter 735. When the optical protection board 73 is applied at the signal transmitting end, the beam splitter 735 splits the signal transmitted by the service board 74 at the transmitting end into two identical signals, and sends the two signals to routers 71 and 72 respectively, so that the two routers can send the signals to the service board at the receiving end.
[0169] When the optical protection board 73 is applied to the signal receiving end, the optical protection board 73 is connected to the two routes through the high-speed optical switch 731, and transmits the signal of one of the routes to the service board 74 of the receiving end through the high-speed optical switch 731.
[0170] Since signal transmission is typically bidirectional, involving both signal transmission and feedback, the optical protection board 73 can simultaneously include a beam splitter 735 and a high-speed optical switch 731, with the circuitry of the two structures operating independently. In other words, the optical protection board 73 can function as both a receiver and a transmitter.
[0171] Specifically, in the case of a first service board and a second service board, the signal transmitted by the first service board can be sent to the high-speed optical switch 731 of the optical protection board 73 via each route, so that the high-speed optical switch 731 sends the signal of one route to the second service board. The signal transmitted by the second service board can be sent to each route via the splitter 735 of the optical protection board 73, so that the signal transmitted by the second service board can be transmitted to the first service board via each route.
[0172] In one implementation, there are two routes. When the optical protection board 73 is in optical protection switching mode, the two routes are respectively connected to one input terminal of the high-speed optical switch 731, and the two routes are respectively connected to a first optical power detector 733. The output terminal of the high-speed optical switch 731 is connected to the service board 74.
[0173] When the optical protection board 73 is in the signal distribution mode, the uplink optical interface (input) of the optical splitter 735 is connected to the service board 74, and each downlink optical interface (output) of the optical splitter 735 is connected to each router.
[0174] In one application example, such as Figure 9 As shown, the signal processing system includes a transmitter located at location A and a receiver located at location B. It should be noted that the transmitter and receiver are defined according to the signal transmission direction; location A can also be a receiver, and location B can also be a transmitter.
[0175] The transmitting end includes a first service board 91, a first optical protection board 92, a first wavelength division multiplexer 93, and a first optical amplifier 94. The first service board 91 is connected to the first optical protection board 92, and the first optical protection board 92 is connected to fiber optic route one and fiber optic route two respectively through optical splitters. The first wavelength division multiplexer 93 and the first optical amplifier 94 are installed between the first optical protection board 92 and fiber optic route one, and between the first optical protection board 92 and fiber optic route two.
[0176] The receiving end includes a second service board 98, a second optical protection board 97, a second wavelength division multiplexer 96, and a second optical amplifier 95. Fiber optic routes one and two are connected to the input of the high-speed optical switch of the second optical protection board 97, respectively. A second wavelength division multiplexer 96 and a second optical amplifier 95 are installed between the second optical protection board 97 and fiber optic route one, and between the second optical protection board 97 and fiber optic route two. The output of the high-speed optical switch of the second optical protection board 97 is connected to the second service board 98.
[0177] The first optical protection board 92 and the second optical protection board 97 can be optical protection devices of any of the above embodiments. The first service board 91 and the second service board 98 can be service terminals of any of the above embodiments.
[0178] In a variable application example, such as Figure 10 As shown, the transmitting end includes a first service board 91, a first optical protection board 92, a first wavelength division multiplexer 93, and a first optical amplifier 94. The first service board 91 is connected to the first wavelength division multiplexer 93, and the first wavelength division multiplexer 93 is connected to the first optical protection board 92. The first optical protection board 92 is connected to fiber optic route one and fiber optic route two via optical splitters. A first optical amplifier 94 is installed between the first optical protection board 92 and fiber optic route one, and between the first optical protection board 92 and fiber optic route two.
[0179] The receiving end includes a second service board 98, a second optical protection board 97, a second wavelength division multiplexer 96, and a second optical amplifier 95. Fiber optic routes one and two are respectively connected to the input of the high-speed optical switch of the second optical protection board 97. A second optical amplifier 95 is installed between the second optical protection board 97 and fiber optic route one, and between the second optical protection board 97 and fiber optic route two. The output of the high-speed optical switch of the second optical protection board 97 is connected to the second wavelength division multiplexer 96, and the second wavelength division multiplexer 96 is connected to the second service board 98.
[0180] The first optical protection board 92 and the second optical protection board 97 can be optical protection devices of any of the above embodiments. The first service board 91 and the second service board 98 can be service terminals of any of the above embodiments.
[0181] In a variable application example, such as Figure 11 As shown, the transmitting end includes a first service board 91, a first optical protection board 92, a first wavelength division multiplexer 93, and a first optical amplifier 94. The first service board 91 is connected to the first wavelength division multiplexer 93, the first wavelength division multiplexer 93 is connected to the first optical amplifier 94, the first optical amplifier 94 is connected to the first optical protection board 92, and the first optical protection board 92 is connected to fiber optic route one and fiber optic route two respectively through optical splitters.
[0182] The receiving end includes a second service board 98, a second optical protection board 97, a second wavelength division multiplexer 96, and a second optical amplifier 95. Fiber optic routes one and two are respectively connected to the input terminals of the high-speed optical switch of the second optical protection board 97. The output terminal of the high-speed optical switch of the second optical protection board 97 is connected to the second optical amplifier 95, the second optical amplifier 95 is connected to the second wavelength division multiplexer 96, and the second wavelength division multiplexer 96 is connected to the second service board 98.
[0183] The first optical protection board 92 and the second optical protection board 97 can be optical protection devices of any of the above embodiments. The first service board 91 and the second service board 98 can be service terminals of any of the above embodiments.
[0184] According to embodiments of this disclosure, this disclosure also provides a signal processing method that can be applied to the signal processing system of the above embodiments, wherein the processor is an FPGA, the FPGA includes multiple registers, and the signal processing method includes:
[0185] S1: Based on the acquired optical power detection results of the route, the FPGA updates the optical power detection results stored in the registers of the register group corresponding to the route. The register group is pre-configured for the route.
[0186] S2: The FPGA calculates the optical power of the route based on the optical power detection results stored in each register in the updated register group.
[0187] S3: When the service board determines that the optical power of the route is lower than the threshold, it controls the optical switch to interrupt the signal transmission with the route, and controls the optical switch to switch to connect with another route to continue signal transmission.
[0188] S4: The service board determines the target route for the current transmission signal based on the routing switch.
[0189] S5: The service board performs signal recovery processing on the signal received from the target route based on the pre-stored parameters determined before the route switch.
[0190] In one example, S5: Based on the pre-stored parameters determined before the route handover, perform signal recovery processing on the signal received from the target route, including: based on the pre-stored parameters determined before the route handover, perform at least one of the following signal recovery processing methods on the signal received from the target route: dispersion compensation, frequency offset compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
[0191] The specific methods of steps S4 and S5 are as described in the above embodiments of this disclosure, and will not be repeated here.
[0192] In one example, S1: Based on the obtained optical power detection results of the route, the FPGA updates the optical power detection results stored in each register of the register group corresponding to the route, which may further include:
[0193] S50: If the optical power detection result of the first route is obtained, determine the target register in the register group corresponding to the first route where the optical power detection result is stored earliest.
[0194] The target register where the optical power detection results are stored earliest can be understood as the register with the longest retention time of the optical power detection results stored in each register in the register group when all registers in the register group store the optical power detection results of the first route.
[0195] For example, the register group consists of four registers: A, B, C, and D. Register A stores the optical power detection result in the first millisecond, register B stores it in the second millisecond, register C stores it in the third millisecond, and register D stores it in the fourth millisecond. Based on the storage time of each optical power detection result in the registers, register A is determined to have the longest storage time for the optical power detection result; therefore, register A is the target register.
[0196] S51: Based on the optical power detection results of the first route, update the optical power detection results stored in the target register.
[0197] Updating the optical power detection results stored in the target register can be understood as overwriting the optical power detection results of the first route that have been obtained with the optical power detection results stored in the target register, or it can be understood as deleting the optical power detection results stored in the target register and storing the optical power detection results of the first route that have been obtained.
[0198] In the technology disclosed herein, by updating the data stored in one register of the register group each time, it is possible to effectively monitor the current optical power of the route and ensure the stability of the optical power calculation results. This will prevent the optical power detection results of an unstable first route from affecting the calculation results of the entire register group and avoid incorrect judgments about the optical power status of the first route.
[0199] In a specific application example of steps S50 and S51, the register group consists of four registers: A, B, C, and D. Register A stores the optical power detection result in the first millisecond, register B stores it in the second millisecond, register C stores it in the third millisecond, and register D stores it in the fourth millisecond. Based on the storage time of each optical power detection result in the registers, register A is determined to have the longest storage time, making it the target register. Therefore, the acquired optical power detection result of the first route is updated in register A.
[0200] In one example, S1: Based on the obtained optical power detection results of the route, the FPGA updates the optical power detection results stored in each register of the register group corresponding to the route, which may further include:
[0201] S60: Upon obtaining the optical power detection result of the first route, delete the optical power detection result in the first register at the predetermined time node according to the time order in which the optical power detection results are stored in each register.
[0202] For example, the register group consists of four registers: A, B, C, and D. Register A stores the optical power detection result in the first millisecond, register B in the second millisecond, register C in the third millisecond, and register D in the fourth millisecond. Following the order in which the optical power detection results are stored, register A is the first, register B is the second, register C is the third, and register D is the fourth. Therefore, it is necessary to delete the optical power detection result already stored in register A (i.e., the first register at the predetermined time point).
[0203] S61: Store the optical power detection results stored in the registers other than the first register in the register group into the previous register in sequence.
[0204] For example, the register group consists of four registers: A, B, C, and D. Following the order in which the optical power detection results are stored, register A is the first, register B is the second, register C is the third, and register D is the fourth. The optical power detection result stored in register A is deleted. The optical power detection result already stored in register B is stored in the preceding register (i.e., register A), the optical power detection result already stored in register C is stored in the preceding register (i.e., register B), and the optical power detection result already stored in register D is stored in the preceding register (i.e., register C).
[0205] S62: Store the optical power detection result of the first route into the last register.
[0206] The last register can be understood as the last register to store the optical power detection results, in the order from earliest to latest, according to the order in which the optical power detection results are stored in each register.
[0207] For example, the register group consists of four registers: A, B, C, and D. Register A stores the optical power detection result in the first millisecond, register B in the second millisecond, register C in the third millisecond, and register D in the fourth millisecond. Following the order in which the optical power detection results are stored, register D is the last register.
[0208] After deleting the optical power detection results stored in the first register A, storing the optical power detection results already stored in register B into the previous register (i.e., register A), storing the optical power detection results already stored in register C into the previous register (i.e., register B), and storing the optical power detection results already stored in register D into the previous register (i.e., register C), there is no stored data in register D. Therefore, the obtained optical power detection results of the first route can be directly stored into the last register D.
[0209] In the technology disclosed herein, by updating the data stored in one register of the register group each time, it is possible to effectively monitor the current optical power of the route and ensure the stability of the optical power calculation results. This will prevent the optical power detection results of an unstable first route from affecting the calculation results of the entire register group and avoid incorrect judgments about the optical power status of the first route.
[0210] In one example, step S2: The FPGA calculates the optical power of the route based on the updated optical power detection results stored in each register, which may further include:
[0211] The average value is calculated based on the optical power detection results stored in each updated register to determine the optical power of the first route.
[0212] In publicly available technologies, hardware averaging can not only quickly calculate the optical power of the first route, but also ensure the accuracy and reference value of the calculation results.
[0213] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0214] Figure 12A schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0215] like Figure 12 As shown, the electronic device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 12012 into a random access memory (RAM) 1203. The RAM 1203 may also store various programs and data required for the operation of the electronic device 1200. The computing unit 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0216] Multiple components in electronic device 1200 are connected to I / O interface 1205, including: input unit 1206, such as keyboard, mouse, etc.; output unit 1207, such as various types of displays, speakers, etc.; storage unit 1208, such as disk, optical disk, etc.; and communication unit 1209, such as network card, modem, wireless transceiver, etc. Communication unit 1209 allows electronic device 1200 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0217] The computing unit 1201 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above, such as signal processing methods. For example, in some embodiments, the signal processing method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1200 via ROM 1202 and / or communication unit 1209. When the computer program is loaded into RAM 1203 and executed by the computing unit 1201, one or more steps of the signal processing method described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform signal processing methods by any other suitable means (e.g., by means of firmware).
[0218] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0219] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0220] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0221] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0222] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0223] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other.
[0224] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0225] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A signal processing method, the method being executed by a service board, the method comprising: Based on the routing switch, determine the target route for the current signal transmission; wherein, the target route is the route for signal transmission with the service board after the routing switch. Based on the pre-stored signal frequency offset value determined before the route switch, a coarse frequency offset compensation is performed on the signal received from the target route. Based on the signal after the coarse frequency offset compensation, a fine frequency offset compensation is performed. The fine frequency offset compensation maintains a dynamic equilibrium working mode. The pre-stored parameters are parameters related to signal transmission acquired and recorded when the target route and the service board transmit signals within a preset time. The pre-stored signal frequency offset value is determined based on the frequency deviation between the center wavelength of the receiving laser and the center wavelength of the transmitting laser, which is continuously recorded internally before the route switch. The moment before the route switch is the last moment when the service board transmits data with the first route before the route switch. The first route is the route that transmits data with the service board before switching to the target route. The pre-stored parameters include a pre-stored clock frequency offset value; the method includes: The pre-stored clock frequency offset value corresponding to the target route is determined by the following operations: based on the length of the route, the transmission time of the signal sent by the transmitting end to the service board is determined through the route; the signal clock frequency of the signal sent by the transmitting end is collected; and based on the transmission time, the internal clock sampling frequency of the service board before the route switching is collected after the transmission time; based on the signal clock frequency and the internal clock sampling frequency, the clock frequency offset value at the current moment is determined; and the average value of each clock frequency offset value determined within the preset time period before the route switching is calculated to obtain the pre-stored clock frequency offset value.
2. The method according to claim 1, wherein, The signal recovery processing for the signal received from the target route based on pre-stored parameters determined before route switching includes: Based on the pre-stored parameters determined before the route switching, the signal received from the target route is subjected to at least one of the following signal recovery processes: dispersion compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
3. The method according to claim 2, wherein, The pre-stored parameters include pre-stored dispersion compensation amounts; The dispersion compensation of the signal received from the target route based on pre-stored parameters determined before route switching includes: Determine the pre-stored dispersion compensation amount corresponding to the target route. The pre-stored dispersion compensation amount is determined based on the historical dispersion compensation amounts of the target route within a preset time period before route switching. Dispersion compensation is performed on the signal received from the target route based on the pre-stored dispersion compensation amount.
4. The method according to claim 2, wherein, The method includes: The current internal clock sampling frequency is recovered based on the pre-stored clock frequency offset value; After the internal clock sampling frequency is restored, the signal is frame-synchronized, and the frame-synchronized signal is polarization demultiplexed.
5. A signal processing apparatus, comprising: The determination module is used to determine the target route for the current transmission signal based on the routing switching situation; wherein, the target route is the route for signal transmission with the service board after the routing switch. The signal recovery module is used to perform coarse frequency offset compensation on the signal received from the target route based on the pre-stored signal frequency offset value of the pre-stored parameters determined before the route switch, and to perform fine frequency offset compensation on the signal after the coarse frequency offset compensation. The fine frequency offset compensation maintains a dynamic equalization working mode. The pre-stored parameters are parameters related to signal transmission acquired and recorded when the target route and the service board transmit signals within a preset time. The pre-stored signal frequency offset value is determined based on the frequency deviation between the center wavelength of the receiving laser and the center wavelength of the transmitting laser continuously recorded internally before the route switch. The time before the route switch is the last time the service board transmitted data with the first route before the route switch. The first route is the route that transmitted data with the service board before switching to the target route. The pre-stored parameters include a pre-stored clock frequency offset value, and the signal recovery module includes: The third determining submodule is used to determine the pre-stored clock frequency offset value corresponding to the target route. The pre-stored clock frequency offset value is obtained through the following operations: based on the length of the route, the transmission time of the signal sent by the transmitting end to the service board is determined through the route; the signal clock frequency of the signal sent by the transmitting end is collected; and based on the transmission time, the internal clock sampling frequency of the service board before the route switching is collected after the transmission time; based on the signal clock frequency and the internal clock sampling frequency, the clock frequency offset value at the current moment is determined; and the average value of each clock frequency offset value determined within the preset time period before the route switching is calculated to obtain the pre-stored clock frequency offset value.
6. The apparatus according to claim 5, wherein, The signal recovery module is also used to perform at least one of the following signal recovery processes on the signal received from the target route, based on the pre-stored parameters determined before the route switching: dispersion compensation, clock recovery, frame synchronization, polarization demultiplexing, and phase compensation.
7. The apparatus according to claim 6, wherein, The pre-stored parameters include pre-stored dispersion compensation values, and the signal recovery module includes: The first determining submodule is used to determine the pre-stored dispersion compensation amount corresponding to the target route. The pre-stored dispersion compensation amount is determined based on the historical dispersion compensation amounts of the target route within a preset time period before the route switching. The dispersion compensation submodule is used to perform dispersion compensation on the signal received from the target route according to the pre-stored dispersion compensation amount.
8. The apparatus according to claim 6, wherein, The signal recovery module includes: The clock recovery submodule is used to restore the current internal clock sampling frequency based on the pre-stored clock frequency offset value. After the internal clock sampling frequency is restored, the signal is frame-synchronized, and the frame-synchronized signal is polarization demultiplexed.
9. A signal processing system, comprising: At least two routes are used for transmitting signals; The optical protection board includes a high-speed optical switch, a processor, and a first optical power detector; The input terminals of the high-speed optical switch are respectively connected to the router, the first optical power detector is connected to the router, the processor is connected to the high-speed optical switch and the first optical power detector, and the processor is used to control the connection state between the high-speed optical switch and the router according to the optical power of the router detected by the first optical power detector. The service board includes the signal processing device as described in any one of claims 5 to 8, wherein the signal processing device is connected to the output terminal of the high-speed optical switch.
10. The signal processing system according to claim 9, wherein, The output terminal of the high-speed optical switch is connected to a second optical power detector, which is connected to the processor. The processor determines the connection status between the high-speed optical switch and the route based on the detection results of the first and second optical power detectors.
11. The signal processing system according to claim 9, wherein, The high-speed optical switch is a magneto-optical switch, an electro-optical switch, or a semiconductor optical amplifier (SOA) optical switch.
12. The signal processing system according to claim 9, wherein, The processor is a microcontroller unit (MCU) or a field-programmable gate array (FPGA).
13. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 4.
14. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 4.
15. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 4.