A light label signal demodulation method, device, equipment and medium

CN122268468APending Publication Date: 2026-06-23PENG CHENG LAB
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PENG CHENG LAB
Filing Date
2026-04-14
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing micro-ring modulators are sensitive to ambient temperature and thermal effects in dense wavelength division multiplexing systems, which leads to resonant wavelength drift, affecting system transmission performance and stability. Furthermore, traditional optical tag demodulation schemes have high computational complexity and are difficult to adapt to embedded hardware platforms.

Method used

By acquiring a preset reference value for the intensity of the demodulated signal from the optical tag, the signal to be demodulated is subjected to target frequency filtering to remove interference signals. The deviation of the optical channel wavelength is determined by comparing the reference value, making it suitable for embedded low-computing-power platforms.

Benefits of technology

It enables rapid and accurate monitoring of optical channel wavelengths, reduces engineering implementation costs, adapts to embedded hardware platforms, and improves system stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122268468A_ABST
    Figure CN122268468A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and medium for demodulating optical tag signals, relating to the field of optical signal modulation. The method includes: acquiring a preset reference value for the intensity of the demodulated optical tag signal; performing target frequency filtering on the optical tag signal to be demodulated to obtain a filtered optical tag demodulated signal containing only the target frequency; comparing the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value; and determining, based on the comparison result, whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated. This achieves low-cost, high-reliability processing of optical tag signals, effectively adapting to the low computing power characteristics of embedded microprocessors. Furthermore, it allows for rapid and accurate determination of whether the wavelength of the optical channel has deviated based on the comparison result of the demodulated signal intensity and the preset reference value, significantly improving the monitoring reliability, engineering feasibility, and application adaptability of dense wavelength division multiplexing systems based on micro-rings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical signal modulation, and in particular to a method, apparatus, device and medium for demodulating optical tag signals. Background Technology

[0002] In dense wavelength division multiplexing (DWDM) systems based on micro-ring modulators, silicon-based micro-ring devices are highly sensitive to ambient temperature and their own thermal effects. The resonant wavelength is easily affected by temperature fluctuations, leading to significant wavelength mismatch in the optical channels and severely impacting system transmission performance and stability. Furthermore, DWDM systems typically integrate dozens to hundreds of wavelength channels. Efficiently and accurately monitoring the wavelength status of each channel and promptly identifying wavelength mismatch issues is a crucial technical bottleneck that must be addressed for the large-scale application of such systems.

[0003] To achieve wavelength channel monitoring, a common approach is to superimpose optical tag signals on each optical channel and determine the channel's operating status by demodulating the optical tag information. However, traditional optical tag demodulation schemes often rely on full-spectrum analysis algorithms or special encoding designs for the optical tag signals, resulting in high computational complexity and high computing power requirements. This makes them difficult to adapt to the low computing power characteristics of embedded hardware platforms, such as microcontrollers, increasing system hardware costs and implementation difficulty, and failing to meet the engineering requirements for real-time monitoring. Summary of the Invention

[0004] The purpose of this invention is to provide a method, apparatus, device and medium for demodulating optical tag signals, which can achieve rapid and accurate monitoring of the optical channel wavelength in a micro-ring dense wavelength division multiplexing system with low cost and high reliability, and is compatible with embedded low computing power platforms.

[0005] To address the aforementioned technical problems, this invention provides a method for demodulating optical tag signals, comprising: Obtain a preset reference value for the demodulated signal strength of the optical tag; The optical tag signal to be demodulated is subjected to target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency. The intensity of the filtered optical tag demodulated signal containing only the target frequency is compared with the preset reference value; Based on the comparison results, it is determined whether the wavelength of the optical channel corresponding to the demodulated light tag signal has deviated.

[0006] To address the aforementioned technical problems, the present invention also provides an optical tag signal demodulation device, comprising: The preset reference module is used to obtain the preset reference value of the optical tag demodulated signal strength; The optical tag signal processing module is used to perform target frequency filtering on the optical tag signal to be demodulated, so as to obtain a filtered optical tag demodulated signal that contains only the target frequency. The decision processing module is used to compare the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value; based on the comparison result, it determines whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

[0007] To address the aforementioned technical problems, the present invention also provides an electronic device, comprising: Memory, used to store computer programs; A processor is used to implement the steps of the above-described optical tag signal demodulation method when executing the computer program.

[0008] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned optical tag signal demodulation method.

[0009] As can be seen from the above technical solution, the optical tag signal demodulation method provided by the present invention includes: obtaining a preset reference value of the intensity of the optical tag demodulated signal; performing target frequency filtering on the optical tag signal to be demodulated to obtain a filtered optical tag demodulated signal containing only the target frequency; comparing the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value; and determining whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated based on the comparison result.

[0010] The beneficial effects of this invention are as follows: The optical tag signal demodulation method provided by this invention, by pre-obtaining a preset reference value for the intensity of the optical tag demodulated signal, provides an accurate reference for determining the wavelength state of the optical channel; by extracting the target frequency of the optical tag signal to be demodulated, a lightweight signal processing flow is achieved, eliminating the need for special encoding design of the optical tag signal, and directly adapting to the low computing power characteristics of embedded hardware platforms represented by microcontroller units, without the need for complex hardware support, thus significantly reducing engineering implementation costs; based on this, by comparing the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value, it is possible to quickly and accurately determine whether the wavelength of the corresponding optical channel has deviated. The entire method has clear logic and is easy to implement, and can run and process quickly on embedded hardware platforms. It has strong feasibility and practicality in engineering implementation, and can be efficiently adapted to the application scenarios of dense wavelength division multiplexing systems based on microrings, with wide adaptability, providing a low-cost and highly reliable technical solution for stable system operation and wavelength state monitoring.

[0011] In addition, the present invention also provides a corresponding optical tag signal demodulation device, electronic device and computer-readable storage medium for the optical tag signal demodulation method, which have the same or corresponding technical features as the optical tag signal demodulation method mentioned above, and have the same effect. Attached Figure Description

[0012] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a flowchart of the optical tag signal demodulation method provided in an embodiment of the present invention; Figure 2 A flowchart illustrating the method for obtaining a preset reference value for the demodulated signal strength of an optical tag, as provided in an embodiment of the present invention. Figure 3 This is a schematic diagram of the workflow corresponding to the optical tag signal demodulation process provided in the embodiments of the present invention; Figure 4 A schematic diagram illustrating the implementation effect of the lightweight target frequency extraction method provided in this embodiment of the invention; Figure 5 This is a schematic diagram of the optical tag signal demodulation device provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.

[0015] It should be noted that, in the description of this invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0016] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0017] The specific application environment architecture or specific hardware architecture on which the optical tag signal demodulation method depends is described here.

[0018] The embodiments of the present invention provide a method for demodulating optical tag signals, and the method is described in detail in conjunction with the execution flow of the optical tag signal demodulation method. Figure 1 The flowchart of the optical tag signal demodulation method provided in the embodiments of the present invention is as follows: Figure 1 As shown, the method includes: S101. Obtain the preset reference value of the optical tag demodulated signal strength.

[0019] It should be noted that the preset reference value of the optical tag demodulated signal strength is used as a reference amplitude standard to determine whether the optical channel wavelength has deviated. Step S101 is the basic step for establishing the optical channel state discrimination standard. The preset reference value can be obtained by calibration under normal system operation. It can provide a basis for subsequent real-time judgment of whether the optical channel wavelength has deviated, effectively avoiding the error risk caused by simply relying on threshold judgment.

[0020] S102. Perform target frequency filtering on the optical tag signal to be demodulated to obtain a filtered optical tag demodulated signal that contains only the target frequency.

[0021] In practical applications, the optical tag signal to be demodulated refers to the raw optical signal coupled from the system waveguide without target frequency filtering. This signal carries the optical tag information of the corresponding optical channel, but is also mixed with interference signals from other channels, environmental noise, or other frequency clutter, serving as the input signal for subsequent filtering. The optical tag demodulated signal refers to the pure signal containing only the target frequency component obtained after filtering the optical tag signal to be demodulated at the target frequency (i.e., a specified frequency, such as 50Hz). This signal has eliminated irrelevant interference and noise. In step S102, the target frequency filtering process accurately filters out the target frequency component corresponding only to the target optical channel, removing irrelevant signal interference and obtaining a pure optical tag demodulated signal. This significantly reduces the amount of data and complexity of subsequent calculations, allowing target signal extraction to be completed without full-spectrum analysis, thus ensuring the demodulation accuracy of the optical tag signal.

[0022] S103. Compare the intensity of the filtered optical tag demodulated signal containing only the target frequency with a preset reference value.

[0023] Step S103 involves directly comparing the intensity of the demodulated signal from the filtered optical tag with the preset reference value obtained in step S101. This method can intuitively and efficiently determine whether the current signal amplitude is within a reasonable range. It does not require complex spectrum analysis or additional algorithm processing, and has low computational load and fast judgment speed.

[0024] S104. Based on the comparison results, determine whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

[0025] Step S104 is based on the comparison result of step S103 to determine the working state of the optical channel wavelength. For example, when the demodulated signal strength is within the reasonable range corresponding to the reference value, it indicates that the optical tag signal is being extracted normally, and the corresponding micro-ring modulator and optical channel wavelength are matched and the working state is stable; if the strength deviates significantly from the reference range, it reflects that the resonant wavelength has drifted due to temperature or thermal effects, and the optical channel wavelength has deviated from the preset working point.

[0026] In the optical tag signal demodulation method provided in this embodiment of the invention, a preset reference value for the intensity of the optical tag demodulated signal is obtained in advance, providing an accurate reference for determining the wavelength state of the optical channel. By extracting the target frequency of the optical tag signal to be demodulated, a lightweight signal processing flow is achieved, eliminating the need for special encoding design of the optical tag signal. This allows direct adaptation to the low computing power characteristics of embedded hardware platforms represented by microcontrollers, without the need for complex hardware support, significantly reducing engineering implementation costs. Furthermore, by comparing the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value, it is possible to quickly and accurately determine whether the wavelength of the corresponding optical channel has deviated. The entire method has clear logic, is easy to implement, and can run quickly on embedded hardware platforms. It has strong feasibility and practicality in engineering implementation, and can be efficiently adapted to application scenarios of dense wavelength division multiplexing systems based on microrings. It has wide adaptability and provides a low-cost, highly reliable technical solution for stable system operation and wavelength state monitoring.

[0027] Figure 2 A flowchart illustrating the method for obtaining a preset reference value for the demodulated signal strength of an optical tag, as provided in an embodiment of the present invention. Figure 2 As shown, step S101, obtaining a preset reference value for the demodulated signal strength of the optical tag, may specifically include: S201. The original optical signal coupled from the waveguide and carrying the optical tag information is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling and target frequency filtering to obtain the optical tag demodulated signal strength.

[0028] Step S201 sequentially performs photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering on the original optical signal coupled from the waveguide carrying optical tag information to obtain the optical tag demodulated signal strength. Specifically, this may include: First, when each optical channel of the dense wavelength division multiplexing system is operating at its respective wavelength, the original optical signal carrying optical tag information is coupled out from the waveguide; then, the original optical signal is input to a photodetector to be converted into a current signal, and then converted into a voltage signal by a transimpedance amplifier; subsequently, the voltage signal is filtered at the target frequency to obtain an optical tag electrical signal containing only the target frequency; and finally, the signal is sampled at a preset frequency. Discrete sampling is performed on the optical tag electrical signal containing only the target frequency to obtain the time-domain discrete optical tag demodulated signal sample value. Finally, the Discrete Fourier Transform (DFT) algorithm is used to process the optical tag demodulated signal sample value in the current sampling time period to extract the signal amplitude corresponding to the target frequency, and the extracted signal amplitude is used as the optical tag demodulated signal strength in the current sampling time period.

[0029] In implementation, when each optical channel wavelength in the dense wavelength division multiplexing (DWDM) system is operating normally, this invention pre-calibrates a preset reference value for the intensity of the optical tag demodulated signal by loading the optical tag signal, which is used for real-time determination of the components of the optical tag demodulated signal. For a micro-ring-based DWDM system, when the tuning between the resonant wavelength of each micro-ring modulator and the optical channel wavelength has been locked to a certain target value, the low-speed electrical signal generated by the optical tag signal module causes the optical power signal coupled out of the modulator to also undergo low-speed modulation. This low-speed optical power signal modulation is the optical tag modulation signal. The intensity of the optical tag modulation signal can be obtained using modules such as photoelectric converters and amplifiers, thus completing the calibration of the preset reference value for the intensity of the optical tag modulation signal.

[0030] A specific method for obtaining the demodulated optical tag signal strength may include: firstly, coupling out a portion of the optical signal from the waveguide, the optical signal carrying the low-speed optical tag signal to be demodulated. The coupled optical tag signal is input into a photodetector, where it is converted into a current signal via the photoelectric effect. This current signal is then converted into a voltage signal by a transimpedance amplifier. Further, the voltage signal output from the transimpedance amplifier is filtered at a specific frequency to obtain a demodulated optical tag signal containing only the target's specific frequency. A microcontroller unit (MCU) controls an analog-to-digital converter at a preset sampling frequency. The optical tag's electrical signal is sampled, and the obtained optical tag demodulated voltage signal is discretely sampled to obtain time-domain discrete optical tag demodulated signal sample values. These sample values ​​are stored in the MCU buffer for subsequent frequency extraction processing. For a sampling time period... Get the number of sampling points All sampled values ​​within the sampling period are used to extract the amplitude corresponding to the target frequency using the lightweight DFT algorithm. This amplitude is then used as the optical tag demodulated signal strength for that sampling period. Based on the optical tag demodulated signal strength under normal system operation, this amplitude is set as a preset reference value for subsequent determination of the validity of the optical tag signal.

[0031] S202. Perform numerical averaging on the intensity of the optical tag demodulated signal obtained from multiple sampling time periods to obtain the average intensity.

[0032] In practice, step S201 is repeated multiple times to collect the intensity of the optical tag demodulated signal corresponding to multiple sampling periods. The amplitude of all collected values ​​is then averaged to obtain the average intensity.

[0033] S203. The obtained average intensity value is calibrated as the preset reference value of the optical tag demodulated signal intensity.

[0034] It should be noted that the preset reference value can be obtained by repeatedly collecting data over a period of time, calculating the intensity of the optical tag demodulated signal multiple times, obtaining the average intensity, and then setting the average value as the preset reference value of the optical tag demodulated signal.

[0035] In the specific embodiments of obtaining the preset reference value and extracting the target frequency signal, although digital signal processing is the main implementation path, the technical solution of the present invention is not limited to this implementation method. It can also be implemented by analog signal processing or mixed analog-digital signal processing. In addition, it can also be implemented by modular decomposition, that is, any one of the functional modules adopts analog signal processing, while the other functional modules can adopt digital signal processing.

[0036] Figure 3 This is a schematic diagram illustrating the workflow corresponding to the optical tag signal demodulation process provided in an embodiment of the present invention. For example... Figure 3 As shown, the present invention can sequentially perform photoelectric conversion and amplification processing on the original optical signal of the optical tag to be demodulated, complete the initialization of the preset reference value, demodulate the optical tag signal in real time to obtain the amplitude of the specified frequency signal, and finally determine whether the optical tag signal exists or is valid.

[0037] Furthermore, in a specific implementation, in the above-mentioned optical tag signal demodulation method provided in the embodiments of the present invention, step S102 performs target frequency filtering on the optical tag signal to be demodulated to obtain a filtered optical tag demodulated signal containing only the target frequency. Specifically, it may include: during the monitoring process, receiving the optical tag signal to be demodulated transmitted by the dense wavelength division multiplexing system; sequentially performing photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering on the optical tag signal to be demodulated to obtain a filtered optical tag demodulated signal containing only the target frequency.

[0038] In implementation, during real-time monitoring, the system receives the demodulated optical tag signal transmitted from the dense wavelength division multiplexing (DWDM) system in real time. It then sequentially performs photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering on the signal. This process gradually transforms the weak and mixed-interference raw optical signal into a stable, quantifiable electrical signal, ultimately refining it into a valid demodulated optical tag signal containing only the target frequency. This process filters out noise and irrelevant frequency interference while retaining core characteristic information reflecting wavelength status. The overall processing steps are simple, the computational load is controllable, and it is well-suited to the operating capabilities of embedded hardware platforms, laying a stable and reliable data foundation for subsequent signal strength comparison and wavelength deviation determination.

[0039] Furthermore, in specific implementation, in the above steps, the optical tag signal to be demodulated is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency. Specifically, this may include: inputting the optical tag signal to be demodulated into a photodetector to convert it into a current signal to be amplified, and then converting the current signal to be amplified into an optical tag electrical signal to be processed via a transimpedance amplifier; and then sampling at a preset frequency. The electrical signal of the optical tag to be processed is sampled by analog-to-digital conversion to obtain a digital signal in continuous time form; the digital signal is then filtered by the discrete Fourier transform algorithm to obtain a demodulated optical tag signal containing only the target frequency.

[0040] In implementation, firstly, the signal from the optical tag to be demodulated is converted into a current signal using a photodetector, and then a transimpedance amplifier completes the signal conversion from current to voltage, achieving effective pickup and amplitude enhancement of weak optical signals. Then, according to a preset sampling frequency... The analog-to-digital conversion sampling is completed, converting the continuous analog signal into a continuous-time digital signal to meet the requirements of digital domain processing. Finally, the Discrete Fourier Transform algorithm is used to filter the digital signal at the target frequency. The continuous-time sampled signal of the optical tag signal to be demodulated is as follows: When the frequency domain expression of the corresponding discrete Fourier transform is: ; in, For frequency domain indexing, For the first Frequency domain values ​​at each frequency point.

[0041] This allows for the precise extraction of pure optical tag demodulation signals containing only the target frequency, effectively suppressing system noise and multi-channel crosstalk while achieving lightweight signal processing. The overall process boasts strong hardware adaptability and low algorithm complexity, enabling reliable operation on embedded hardware platforms and providing accurate and reliable signal basis for subsequent wavelength state determination.

[0042] Furthermore, in specific implementations, in the optical tag signal demodulation method provided in the embodiments of the present invention, a preset sampling frequency is used. With target frequency The relational expressions include: ; ; in, The preset sampling frequency; For the target frequency; For frequency domain indexing; This represents the number of sampling points; This is the rounding function.

[0043] In implementation, a preset sampling frequency is used. With target frequency It satisfies the Nyquist sampling theorem. This is the unique corresponding index in the frequency domain where the target frequency is located, therefore, calculation is performed. The discrete Fourier transform frequency domain value at the target frequency is used to obtain the signal amplitude value at the target frequency. This allows for the acquisition of the demodulated signal strength from the optical tag. The lightweight single-frequency discrete Fourier transform processing significantly reduces the computational load, efficiently adapting to the low-computing-power characteristics of MCU embedded scenarios.

[0044] Figure 4 This is a schematic diagram illustrating the implementation effect of the lightweight target frequency extraction method provided in an embodiment of the present invention. Figure 4 As shown, the demodulated signal of the optical tag with a preset frequency of 50Hz was extracted, and the amplitude of the demodulated signal was basically consistent with the preset signal components.

[0045] Furthermore, in a specific implementation, in the optical tag signal demodulation method provided in the embodiments of the present invention, step S104 determines whether the optical channel wavelength corresponding to the optical tag signal to be demodulated has deviated based on the comparison result. Specifically, it may include: determining whether the absolute value of the difference between the intensity of the optical tag demodulated signal containing only the target frequency after filtering and the preset reference value is within a preset threshold range; if it is within the preset threshold range, it is determined that the optical channel wavelength corresponding to the optical tag signal to be demodulated has not deviated; if it is not within the preset threshold range, it is determined that the optical channel wavelength corresponding to the optical tag signal to be demodulated has deviated.

[0046] In implementation, the intensity of the demodulated signal from the precisely filtered optical tag is compared with a preset reference value. If the demodulated signal intensity is within a preset threshold range of the preset reference value, it is determined that the optical tag signal exists, and the wavelength of the optical channel is working normally. Specifically, this can be expressed as the intensity of the demodulated signal from the precisely filtered optical tag. and preset baseline value satisfy: ; in, This is a preset threshold.

[0047] If the demodulated signal strength exceeds the preset threshold range of the preset value, it is determined that the optical tag signal does not exist and the wavelength of the optical channel is malfunctioning.

[0048] From the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.

[0049] Embodiments of the present invention also provide an optical tag signal demodulation device. Figure 5 This is a schematic diagram of the optical tag signal demodulation device provided in an embodiment of the present invention. This embodiment is based on functional modules, such as… Figure 5 As shown, the device includes: The preset reference module 10 is used to obtain a preset reference value for the intensity of the optical tag demodulated signal; The optical tag signal processing module 11 is used to perform target frequency filtering on the optical tag signal to be demodulated, so as to obtain a filtered optical tag demodulated signal that contains only the target frequency. The decision processing module 12 is used to compare the intensity of the filtered optical tag demodulated signal containing only the target frequency with a preset reference value; based on the comparison result, it determines whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

[0050] In the optical tag signal demodulation device provided in this embodiment of the invention, the interaction of the three modules allows for the acquisition of a preset reference value for the intensity of the optical tag demodulated signal, providing a precise reference for determining the wavelength state of the optical channel. The target frequency of the optical tag signal to be demodulated is extracted, achieving a lightweight signal processing flow that can be directly adapted to the low-computing-power characteristics of embedded hardware platforms such as microcontroller units, eliminating the need for complex hardware support and significantly reducing engineering implementation costs. Furthermore, by comparing the filtered optical tag demodulated signal intensity containing only the target frequency with the preset reference value, it is possible to quickly and accurately determine whether the wavelength of the corresponding optical channel has deviated. This device can run rapidly on embedded hardware platforms, possessing strong feasibility and practicality in engineering implementation. It can efficiently adapt to application scenarios of dense wavelength division multiplexing systems based on microrings, exhibiting wide adaptability and providing a low-cost, highly reliable technical solution for stable system operation and wavelength state monitoring.

[0051] Since the embodiments of the optical tag signal demodulation device and the optical tag signal demodulation method correspond to each other, the descriptions of the features in the embodiments corresponding to the optical tag signal demodulation device can be found in the relevant descriptions of the embodiments corresponding to the optical tag signal demodulation method, and will not be repeated here. Furthermore, it has the same beneficial effects as the optical tag signal demodulation method mentioned above.

[0052] Furthermore, in a specific implementation, in the optical tag signal demodulation device provided in the embodiments of the present invention, the preset reference module 10 may specifically include: The first processing unit is used to sequentially perform photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering on the original optical signal coupled from the waveguide and carrying optical tag information to obtain the optical tag demodulated signal strength. Specifically, the first processing unit can couple the original optical signal carrying optical tag information from the waveguide when each optical channel wavelength of the dense wavelength division multiplexing system is operating; input the original optical signal into a photodetector to convert it into a current signal, and then convert the current signal into a voltage signal through a transimpedance amplifier; perform target frequency filtering on the voltage signal to obtain an optical tag electrical signal containing only the target frequency; perform discrete sampling on the optical tag electrical signal containing only the target frequency according to a preset sampling frequency to obtain time-domain discrete optical tag demodulated signal sample values; use the Discrete Fourier Transform (DFT) algorithm to process the optical tag demodulated signal sample values ​​within the current sampling time period, extract the signal amplitude corresponding to the target frequency, and use the extracted signal amplitude as the optical tag demodulated signal strength for the current sampling time period. The averaging calculation unit is used to perform numerical averaging calculation on the intensity of the optical tag demodulated signal obtained from multiple sampling time periods to obtain the average intensity. The calibration unit is used to calibrate the acquired average intensity value as a preset reference value for the intensity of the optical tag demodulated signal.

[0053] Furthermore, in a specific implementation, in the optical tag signal demodulation device provided in the embodiments of the present invention, the optical tag signal processing module 11 may specifically include: The receiving unit is used to receive the signal of the demodulated tag transmitted by the dense wavelength division multiplexing system during the monitoring process; The second processing unit is used to sequentially perform photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering on the optical tag signal to be demodulated, so as to obtain a filtered optical tag demodulated signal that contains only the target frequency.

[0054] Furthermore, in a specific implementation, in the optical tag signal demodulation device provided in the embodiments of the present invention, the decision processing module 12 can be specifically used to determine whether the absolute value of the difference between the intensity of the optical tag demodulated signal containing only the target frequency after filtering and the preset reference value is within a preset threshold range; if it is within the preset threshold range, it is determined that the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has not deviated; if it is not within the preset threshold range, it is determined that the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

[0055] It should be noted that in this embodiment, a "module" can be a portion of a circuit, a portion of a processor, a portion of a program or software, or it can be a module or a non-modular one. The components in this embodiment can be integrated into a single module, or some modules can exist as separate physical entities, or they can be partially integrated into a single module. The aforementioned modules can be implemented in hardware, or they can be implemented as a combination of partial software module functionality in hardware or entirely as software modules.

[0056] Embodiments of the present invention also provide an electronic device. Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 6 As shown, the electronic device includes a communication interface 20, a memory 21, and a processor 22, with each component connected and coupled via a bus device 23. The bus device 23, in addition to serving as a data bus, also includes a power bus, a control bus, and a status signal bus. The memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the steps in any of the above-described embodiments of the optical tag signal demodulation method. The processor 22 can be used to execute the optical tag demodulation method steps when running the computer program, including: acquiring a preset reference value for the intensity of the optical tag demodulated signal; performing filtering processing on the optical tag signal to be demodulated at a specified frequency to obtain a precisely filtered and extracted optical tag demodulated signal; comparing the intensity of the precisely filtered and extracted optical tag demodulated signal with the preset reference value, and determining whether the optical channel wavelength deviates based on the comparison result. These steps are repeated several times to improve the confidence level of the optical tag signal decision.

[0057] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program configured to execute the steps in any of the above-described embodiments of the optical tag signal demodulation method when running.

[0058] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0059] Embodiments of the present invention also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above embodiments of the optical tag signal demodulation method.

[0060] Embodiments of the present invention also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described optical tag signal demodulation method embodiments.

[0061] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0062] The above provides a detailed description of the optical tag signal demodulation method, apparatus, device, and medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only intended to help understand the method and core ideas of the present invention. It should be noted that those skilled in the art can make various improvements and modifications to the present invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the present invention.

Claims

1. A method for demodulating optical tag signals, characterized in that, include: Obtain a preset reference value for the demodulated signal strength of the optical tag; The optical tag signal to be demodulated is subjected to target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency. The intensity of the filtered optical tag demodulated signal containing only the target frequency is compared with the preset reference value; Based on the comparison results, it is determined whether the wavelength of the optical channel corresponding to the demodulated light tag signal has deviated.

2. The optical tag signal demodulation method according to claim 1, characterized in that, Obtain preset reference values ​​for the demodulated signal strength of the optical tag, including: The original optical signal coupled from the waveguide and carrying optical tag information is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling and target frequency filtering to obtain the optical tag demodulated signal strength. The intensity of the demodulated optical tag signal obtained from multiple sampling time periods is numerically averaged to obtain the average intensity. The obtained average intensity value is calibrated as a preset reference value for the intensity of the optical tag demodulated signal.

3. The optical tag signal demodulation method according to claim 2, characterized in that, The original optical signal coupled from the waveguide and carrying optical tag information is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering to obtain the optical tag demodulated signal strength, including: When each optical channel in a dense wavelength division multiplexing system is operating at its own wavelength, the original optical signal carrying the optical tag information is coupled out from the waveguide. The original optical signal is input into a photodetector and converted into a current signal, which is then converted into a voltage signal by a transimpedance amplifier. The voltage signal is filtered to the target frequency to obtain an optical tag electrical signal containing only the target frequency; Discrete sampling is performed on the optical tag electrical signal containing only the target frequency according to the preset sampling frequency to obtain the time-domain discrete optical tag demodulated signal sample value; The discrete Fourier transform algorithm is used to process the sampled values ​​of the optical tag demodulated signal within the current sampling time period, extract the signal amplitude corresponding to the target frequency, and use the extracted signal amplitude as the optical tag demodulated signal strength for the current sampling time period.

4. The optical tag signal demodulation method according to claim 1, characterized in that, The optical tag signal to be demodulated is subjected to target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency, including: During the monitoring process, the signal of the tag to be demodulated transmitted by the dense wavelength division multiplexing system is received; The optical tag signal to be demodulated is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency.

5. The optical tag signal demodulation method according to claim 4, characterized in that, The optical tag signal to be demodulated is sequentially subjected to photoelectric conversion, signal amplification, analog-to-digital sampling, and target frequency filtering to obtain a filtered optical tag demodulated signal containing only the target frequency, including: The optical tag signal to be demodulated is input into a photodetector and converted into a current signal to be amplified. The current signal to be amplified is then converted into an electrical signal of the optical tag to be processed by a transimpedance amplifier. The optical tag electrical signal to be processed is sampled by analog-to-digital conversion according to a preset sampling frequency to obtain a digital signal in continuous time form. The digital signal is filtered at the target frequency using the Discrete Fourier Transform algorithm to obtain a filtered optical tag demodulated signal containing only the target frequency.

6. The optical tag signal demodulation method according to claim 5, characterized in that, The relationship expression between the preset sampling frequency and the target frequency includes: ; ; in, The preset sampling frequency; For the target frequency; For frequency domain indexing; This represents the number of sampling points; This is the rounding function.

7. The optical tag signal demodulation method according to claim 1, characterized in that, Based on the comparison results, it is determined whether the optical channel wavelength corresponding to the demodulated tag signal has deviated, including: Determine whether the absolute value of the difference between the intensity of the demodulated optical tag signal containing only the target frequency after filtering and the preset reference value is within a preset threshold range; If it is within the preset threshold range, it is determined that the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has not deviated; If it is not within the preset threshold range, it is determined that the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

8. A demodulation device for optical tag signals, characterized in that, include: The preset reference module is used to obtain the preset reference value of the optical tag demodulated signal strength; The optical tag signal processing module is used to perform target frequency filtering on the optical tag signal to be demodulated, so as to obtain a filtered optical tag demodulated signal that contains only the target frequency. The decision processing module is used to compare the intensity of the filtered optical tag demodulated signal containing only the target frequency with the preset reference value; based on the comparison result, it determines whether the wavelength of the optical channel corresponding to the optical tag signal to be demodulated has deviated.

9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the optical tag signal demodulation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the optical tag signal demodulation method as described in any one of claims 1 to 7.