Quality monitoring method, device, equipment and medium for optical analog signal transmission channel

By using variable sequences and optical power difference reference values ​​in optical analog signal transmission channels, the transmission quality of optical analog signal transmission channels is monitored in real time, and the problem of difficulty in real time monitoring of signal transmission quality in the prior art is solved, and accurate monitoring of transmission quality and improved system reliability is achieved.

CN119135263BActive Publication Date: 2025-04-29THREE GORGES GROUP IND DEVELOPMENT (BEIJING) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411627756.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-04-29
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

The prior art is difficult to monitor the transmission quality of optical analog signal transmission channels in real time, especially when optical cables are susceptible to mechanical damage and attenuation of optical analog signals with transmission distance.

Method used

The first optical analog signal of a constant power intensity is output by determining a first variable sequence with a fixed value continuous sequence, and the optical power difference reference value is determined based on the second optical analog signal returned by the optical fiber terminal device. Then, the second variable sequence with a continuous sequence of custom values ​​is determined according to the optical power difference reference value to output a third optical analog signal, and the third variable sequence is determined by comparing it with the fourth optical analog signal returned by the optical fiber terminal device. Finally, by comparing the similarity between the second variable sequence and the third variable sequence, the transmission quality of the optical analog signal transmission channel is monitored in real time.

Benefits of technology

Real-time accurate monitoring of optical analog signal transmission channels is realized, data transmission errors and interruptions caused by signal quality problems are avoided, system response speed and signal processing capabilities are improved, and data transmission accuracy and system reliability are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135263B_ABST
    Figure CN119135263B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a method, device, equipment and medium for monitoring the quality of an optical analog signal transmission channel, which determines a first variable sequence and outputs a first optical analog signal to an optical fiber terminal device according to the first variable sequence; then receives a second optical analog signal and determines an optical power difference reference value according to the first optical analog signal and the second optical analog signal; then determines a second variable sequence in response to the determination result of the optical power difference reference value, and outputs a third optical analog signal to the optical fiber terminal device according to the second variable sequence; then determines a fifth optical analog signal according to a fourth optical analog signal and the optical power difference reference value, and determines a third variable sequence according to the fifth optical analog signal; performs similarity comparison processing on the second variable sequence and the third variable sequence to determine the transmission quality of the optical analog signal transmission channel, thereby ensuring the accuracy of the transmitted data and the reliability of the system, and improving the overall quality of signal transmission and the comprehensiveness of monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal transmission technology, and in particular to a quality monitoring method, device, equipment and medium for an optical analog signal transmission channel. Background Art

[0002] In the field of signal transmission technology, it is common to use 4-20mA current analog signals for sensor data transmission, and usually the quality of the signal transmission channel is not monitored. In fact, driven by actual application needs, using optical cables as physical transmission media and optical analog signals as carrier signals is also an important technical method to realize sensor data transmission in industrial control systems.

[0003] Since the external protection performance of optical cables is relatively poor and they are susceptible to mechanical damage, and the optical analog signals will attenuate with the transmission distance, which will affect the signal transmission quality of the sensor data, when using optical cables as the physical transmission medium and optical analog signals as carrier signals for sensor data transmission, it is often necessary to monitor the signal transmission quality in real time.

[0004] However, in the related art, an optical power metering instrument or module is usually used to monitor the transmission quality of the optical fiber transmission channel, but it can only monitor the optical power value of the optical fiber channel and cannot mark and evaluate the signal transmission quality in real time, and its practicality is poor. Summary of the invention

[0005] In view of the above problems, a method, device, equipment and medium for monitoring the quality of an optical analog signal transmission channel is proposed to overcome the above problems or at least partially solve the above problems, including:

[0006] A quality monitoring method for an optical analog signal transmission channel is applied to an optoelectronic signal processing device, the method comprising:

[0007] Determine a first variable sequence, and output a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used to modulate the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0008] Receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0009] In response to the determination result of the optical power difference reference value, a second variable sequence is determined, and a third optical analog signal is output to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is further used to modulate the third optical analog signal to generate a fourth optical analog signal; the second variable sequence at least includes a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values;

[0010] Determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal;

[0011] A similarity comparison process is performed on the second variable sequence and the third variable sequence, and a transmission quality of the optical analog signal transmission channel is determined according to a similarity comparison process result.

[0012] Optionally, outputting the first optical analog signal to the optical fiber terminal device according to the first variable sequence includes:

[0013] The time length of the first variable sequence is determined, and the first optical analog signal is output to the optical fiber terminal device according to the first variable sequence according to the time length.

[0014] Optionally, determining an optical power difference reference value according to the first optical analog signal and the second optical analog signal includes:

[0015] The optical power difference reference value is determined according to the time length, the first optical analog signal, and the second optical analog signal.

[0016] Optionally, determining the fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value includes:

[0017] An optical power value of the fourth optical analog signal is determined, and the fifth optical analog signal is determined according to the optical power value and the optical power difference reference value.

[0018] Optionally, determining a third variable sequence according to the fifth optical simulation signal includes:

[0019] The fifth optical analog signal is converted into a current analog signal, and sampling, decoding and normalization are performed on the current analog signal to determine the third variable sequence.

[0020] Optionally, the performing similarity comparison processing on the second variable sequence and the third variable sequence includes:

[0021] By aligning the variable sequence start algorithm and the variable stop algorithm, a similarity comparison process is performed on the second variable sequence and the third variable sequence.

[0022] Optionally, determining the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result includes:

[0023] It is determined whether the similarity comparison processing result is greater than a preset threshold value. If the similarity comparison processing result is greater than the preset threshold value, it is determined that the transmission quality of the optical analog signal transmission channel is good.

[0024] Optionally, the first variable sequence also includes a first start signal segment and a first stop signal segment, and the first start signal segment is the first eight bits of the first variable sequence, and the first stop signal segment is the last eight bits of the first variable sequence; the second variable sequence also includes a second start signal segment and a second stop signal segment, and the second start signal segment is the first eight bits of the second variable sequence, and the second stop signal segment is the last eight bits of the second variable sequence.

[0025] A quality monitoring method for an optical analog signal transmission channel is applied to an optical fiber terminal device, and the method comprises:

[0026] Receive a first optical analog signal output by an optoelectronic signal processing device, and modulate the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is used to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0027] The second optical analog signal is sent to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0028] Receive the third optical analog signal output by the optoelectronic signal processing device, and modulate the third optical analog signal to generate a fourth optical analog signal; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; determine the fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine the third variable sequence according to the fifth optical analog signal; perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0029] Optionally, the modulating the first optical analog signal to generate a second optical analog signal includes:

[0030] Acquire an original current signal, and modulate the first optical analog signal according to the original current signal to generate a second optical analog signal;

[0031] The step of modulating the third optical analog signal to generate a fourth optical analog signal includes:

[0032] The third optical analog signal is modulated according to the original current signal to generate a fourth optical analog signal.

[0033] A quality monitoring device for an optical analog signal transmission channel, applied to an optoelectronic signal processing device, the quality monitoring device comprising:

[0034] A first optical analog signal output module, used for determining a first variable sequence, and outputting a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used for performing a modulation process on the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0035] An optical power difference reference value determination module is used to receive the second optical analog signal sent by the optical fiber terminal device, and determine the optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is the average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0036] a third optical analog signal output module, configured to determine a second variable sequence in response to a determination result of the optical power difference reference value, and output a third optical analog signal to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is further configured to modulate the third optical analog signal to generate a fourth optical analog signal; the second variable sequence at least includes a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values;

[0037] a third variable sequence determining module, configured to determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal;

[0038] The transmission quality determination module is used to perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0039] A quality monitoring device for an optical analog signal transmission channel, applied to an optical fiber terminal device, the quality monitoring device comprising:

[0040] a second optical analog signal generating module, configured to receive a first optical analog signal output by an optoelectronic signal processing device, and modulate the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is configured to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0041] A second optical analog signal sending module, used to send the second optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0042] A fourth optical analog signal generating module is used to receive the third optical analog signal output by the optoelectronic signal processing device, and modulate the third optical analog signal to generate a fourth optical analog signal; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0043] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the hand detection method based on the neural network model as described above when executed by the processor.

[0044] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the hand detection method based on the neural network model as described above is implemented.

[0045] The embodiments of the present invention have the following advantages:

[0046] In an embodiment of the present invention, a quality monitoring method for an optical analog signal transmission channel applied to an optoelectronic signal processing device is proposed, wherein a first optical analog signal of constant power intensity is outputted through a first variable sequence having a fixed value continuous sequence, and an optical power difference reference value used to characterize the performance of the optical analog signal transmission process under standard operating conditions is determined according to a second optical analog signal returned by an optical fiber terminal device, and then a third optical analog signal of a custom power intensity (which can be considered as an optical analog signal in an actual transmission process) can be outputted through a second variable sequence having a custom value continuous sequence, and then a third variable sequence used to characterize the actual quality of the optical analog signal returned by the optical fiber terminal device in an actual transmission process can be determined by comparing the fourth optical analog signal returned by the optical fiber terminal device and the optical power difference reference value, thereby achieving real-time and accurate monitoring of the transmission quality of the optical analog signal transmission channel in an actual transmission process by comparing the second variable sequence with the third variable sequence for similarity, avoiding the occurrence of data transmission errors and interruptions caused by signal quality problems, improving the system response speed and signal processing capability, ensuring the accuracy of the transmitted data and the reliability of the system, and improving the overall quality of signal transmission and the comprehensiveness of monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0048] Figure 1 is a flow chart of steps of a method for monitoring the quality of an optical analog signal transmission channel provided by some embodiments of the present invention;

[0049] Figure 2 is a schematic diagram of the architecture of a sensor data transmission system based on an optical fiber terminal according to some embodiments of the present invention;

[0050] Figure 3 is a schematic diagram of the hardware structure of an optoelectronic signal processing device provided by some embodiments of the present invention;

[0051] Figure 4 is a functional structure diagram of an optoelectronic signal processing device provided by some embodiments of the present invention;

[0052] Figure 5 is a flowchart of the steps of another method for monitoring the quality of an optical analog signal transmission channel provided in some embodiments of the present invention;

[0053] Figure 6 is a schematic diagram of the overall execution flow of the sensor data measurement mode of the present invention provided in some embodiments of the present invention;

[0054] Figure 7 is a schematic diagram of the overall execution flow of the periodic quality monitoring mode of the present invention provided in some embodiments of the present invention;

[0055] Figure 8 is a schematic structural diagram of a quality monitoring device for an optical analog signal transmission channel provided in some embodiments of the present invention;

[0056] Fig. 9 It is a schematic structural diagram of another quality monitoring device for an optical analog signal transmission channel provided in some embodiments of the present invention. DETAILED DESCRIPTION

[0057] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] During the signal transmission process of related industrial control systems, signal attenuation and transmission interruption may occur due to cable failure, communication coding errors, and long transmission distances. To this end, in the field of communication technology transmission, communication protocols have designed mechanisms such as checksums and data retransmission to evaluate the quality of communication channels and ensure the accuracy of information transmission. However, in the field of sensor transmission technology, there are no related methods that can realize the quality monitoring of the sensor signal (analog signal) transmission process. The reasons are as follows: First, the sensor signals of industrial control systems mostly use point-to-point transmission mechanisms, which are more reliable than Ethernet and bus communication. Second, the physical media such as twisted pair and coaxial cable used in industrial control systems often have protective layers (metal mesh embedded in the cable) to prevent accidental cuts and other damage, and the twisted pair used for long-distance transmission can perform differential amplification on the signal to improve the accuracy and anti-interference of sensor signal transmission. Therefore, the use of 4-20mA current analog signals for sensor data transmission has high reliability, and the signal transmission channel is usually not monitored for quality.

[0059] But in fact, driven by actual application needs, using optical cables as physical transmission media and optical analog signals as carrier signals is also an important technical method to realize the transmission of sensor data in industrial control systems. Since the external protection performance of optical cables is relatively poor and they are susceptible to mechanical damage, and the optical analog signals will attenuate with the transmission distance, which will affect the signal transmission quality of the sensor data, when using optical cables as physical transmission media and optical analog signals as carrier signals for sensor data transmission, it is often necessary to monitor the signal transmission quality in real time.

[0060] However, in the related art, optical power metering instruments or modules are usually used to monitor the transmission quality of optical fiber transmission channels, but they can only monitor the optical power value of the optical fiber channel and cannot mark and evaluate the signal transmission quality in real time, and their practicality is poor.

[0061] In the embodiment of the present invention, based on the core technical concept of outputting an optical analog signal of constant power intensity through a first variable sequence having a fixed value continuous sequence and then determining an optical power difference reference value, the quality monitoring method of the optical analog signal transmission channel in the related art is improved. The present invention will be described in detail below with reference to the accompanying drawings:

[0062] Reference Figure 1 , shows a flow chart of the steps of a quality monitoring method for an optical analog signal transmission channel provided by some embodiments of the present invention, which is applied to an optoelectronic signal processing device and may specifically include the following steps:

[0063] Step 101, determining a first variable sequence, and outputting a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used to modulate the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0064] In the specific implementation, Figure 2 The figure shows a schematic diagram of the sensor data transmission system architecture based on the optical fiber terminal of the present invention. The quality monitoring method of the optical analog signal transmission channel provided by the present invention can be implemented on the basis of the sensor data transmission system architecture. Specifically, Figure 2 One of the input signals of the optical fiber terminal device 201 can be the original current signal, and the other input signal can be an unmodulated optical analog signal. After the unmodulated optical analog signal is modulated by the current signal in the optical fiber terminal device, it can be input into the optoelectronic signal processing device 202 for demodulation and calculation, and then the current measurement value of the original current signal can be obtained for use in the relevant transmission signal quality monitoring process.

[0065] At the hardware structure level, such as Figure 3 As shown, the photoelectric signal processing device 202 may include hardware modules such as a PCB (Printed Circuit Board) mainboard 301, a DSP (Digital Signal Processor) chip 302, a memory 303, a storage 304, a light source control circuit 305, a network card 306, a light source 307 and a photoelectric detector 308.

[0066] Furthermore, the light source control circuit 305 may be an analog circuit whose input is a sequence of 0s and 1s and whose output is an analog electrical signal for directly driving and controlling the intensity of the light source 307 .

[0067] At the functional level, Figure 4 As shown, the photoelectric signal processing device 202 may include functional modules such as a quality monitoring module 401 , a light source control module 402 , a task management module 403 , a signal processing module 404 , and optical devices such as a light source 307 and a photodetector 308 .

[0068] Furthermore, the task management module 403 , the quality monitoring module 401 and the signal processing module 404 may be software modules, that is, they may be a minimum operating system composed of hardware modules running on a PCB board; the light source control module 402 may be the above-mentioned light source control circuit 305 .

[0069] Furthermore, the function of the task management module 403 can be to schedule global running tasks (also known as a task scheduling module), including control programs and running variables. The task management module 403 can be used to send control instructions to the quality monitoring module 401 and the signal processing module 404. The instruction format is also a sequence of 0 and 1 variables, and can directly control the light source control module 402 to drive and adjust the start, stop and light source intensity of the light source 307.

[0070] Furthermore, the function of the quality monitoring module 401 may be to generate a variable sequence of 0 and 1, thereby driving the light source control module 402 to generate a light simulation signal of a certain power intensity.

[0071] Furthermore, the function of the signal processing module 404 may be to perform analog-to-digital sampling on the current analog signal output by the photodetector 308 after receiving the current analog signal, and process the sampled variable sequence of 0 and 1.

[0072] Therefore, in a specific implementation, the task management module 403 may send a start signal to the light source control module 402 and the signal processing module 404 to enter the sensor data measurement mode. At this time, the system time is t1, and the quality monitoring module 401 may be in a closed and short-circuited state.

[0073] Further, at time point t1, the task management module 403 can start executing control program a, where program a is a running code and continuously outputs a first variable sequence. The first 8 bits and the last 8 bits in the variable sequence can be a start signal segment and a stop signal segment, and the middle signal segment can be a continuous sequence with a value of 1, wherein the variable sequence start signal segment and the stop signal segment flag bits in this step can be 01010101.

[0074] Furthermore, since the light source control module 402 is a hardware analog circuit, the light source 307 can be controlled to start and stop according to the first variable sequence output by the task management module 403, and the first light analog signal with constant power intensity is output based on the control of the intermediate signal segment with a value of 1. The time length of the first variable sequence can be |t2-t1|. At the same time, the first light analog signal can be output in parallel to the photodetector 308.

[0075] Furthermore, the photodetector 308 can obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value.

[0076] In some embodiments of the present invention, outputting the first optical analog signal to the optical fiber terminal device according to the first variable sequence includes:

[0077] The time length of the first variable sequence is determined, and the first optical analog signal is output to the optical fiber terminal device according to the first variable sequence according to the time length.

[0078] In a specific implementation, at time point t1, the task management module 403 can start to execute the control program a, which is a running code and continuously outputs a first variable sequence. The first 8 bits and the last 8 bits in the variable sequence can be a start signal segment and a stop signal segment, and the intermediate signal segment can be a continuous sequence with a value of 1. Since the light source control module 402 is a hardware analog circuit, the light source 307 can be controlled to start and stop according to the first variable sequence output by the task management module 403, and the first light simulation signal with a constant power intensity can be output based on the control of the intermediate signal segment with a value of 1. The time length of the first variable sequence can be |t2-t1|. At the same time, the first light simulation signal can be output in parallel to the photodetector 308, that is, the time length of the first light simulation signal can also be |t2-t1|, so as to ensure the synchronization between the light simulation signal and the variable sequence.

[0079] Furthermore, the photodetector 308 can obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value.

[0080] Step 102, receiving the second optical analog signal sent by the optical fiber terminal device, and determining an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0081] In practical applications, the photodetector 308 can obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value for subsequent quality monitoring steps.

[0082] In some embodiments of the present invention, determining an optical power difference reference value according to the first optical analog signal and the second optical analog signal includes:

[0083] The optical power difference reference value is determined according to the time length, the first optical analog signal, and the second optical analog signal.

[0084] In a specific implementation, the photodetector 308 can obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value for subsequent quality monitoring steps.

[0085] Step 103, in response to the determination result of the optical power difference reference value, determine a second variable sequence, and output a third optical analog signal to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is further used to modulate the third optical analog signal to generate a fourth optical analog signal; the second variable sequence at least includes a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values;

[0086] In practical applications, after calculating the optical power difference reference value at time t2, the task management module 403 can send a mode switching instruction to the signal processing module 404 and the quality monitoring module 401 respectively to control the system to enter the periodic quality monitoring mode. In the periodic quality monitoring mode, the task management module 403 no longer sends a variable sequence to the light source control module 402, but the quality monitoring module 401 controls the light source control module 402.

[0087] Furthermore, the quality monitoring module 401 can take over the control program a at time t2. Program a is the running code, which continuously outputs the second variable sequence. The first 8 bits and the last 8 bits in the second variable sequence can also be the start signal segment and the stop signal segment, which are used to control the start and stop of the light source control module 402. The flag bits of the second variable sequence start signal segment and the stop signal segment can be 10101010. In order to realize the quality monitoring of the optical analog signal transmission channel during actual signal transmission, the intermediate signal segment in the second variable sequence can be customized according to actual needs, or the variable sequence in the actual signal transmission application can be directly used, and 1 can be represented as a path and 0 can be represented as a break. At the same time, the second variable sequence can be synchronously sent back to the task management module 403, and the task management module 403 stores and writes it into a fixed buffer area in the device such as:

[0088] 10101010****1010101010;

[0089] Furthermore, since the light source control module 402 is a hardware analog circuit, after receiving the second variable sequence output by the quality monitoring module 401, the output intensity of the light source 307 can be controlled according to the second variable sequence, and the light source 307 can be controlled to output a third light analog signal. The third light analog signal can be a continuous rectangular wave, and the amplitude of the rectangular wave is the encoding value of the middle signal segment of the second variable sequence (converted from binary to decimal).

[0090] In some embodiments of the present invention, the first variable sequence also includes a first start signal segment and a first stop signal segment, and the first start signal segment is the first eight bits of the first variable sequence, and the first stop signal segment is the last eight bits of the first variable sequence; the second variable sequence also includes a second start signal segment and a second stop signal segment, and the second start signal segment is the first eight bits of the second variable sequence, and the second stop signal segment is the last eight bits of the second variable sequence.

[0091] In a specific implementation, the first variable sequence and the second variable sequence set corresponding start signal segments in the first 8 bits, and set corresponding stop signal segments in the last 8 bits; wherein, the start signal segment and stop signal segment flag bits of the first variable sequence can be 01010101, and the start signal segment and stop signal segment flag bits of the second variable sequence can be 10101010, thereby clarifying the position and function of the start signal segment and the stop signal segment in the variable sequence, helping to more accurately control the start and stop of the light source, and improving the accuracy of signal control and the ease of operation of the system.

[0092] Step 104, determining a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determining a third variable sequence according to the fifth optical analog signal;

[0093] In actual applications, the photodetector 308 can obtain the fourth optical analog signal returned by the optical fiber terminal device 201, and can detect the optical power intensity of the fourth optical analog signal, so as to obtain the fifth optical analog signal and the corresponding optical power value n after subtracting the optical power difference reference value m in the above content, and can convert the fifth optical analog signal into a current analog signal and output it to the signal processing module 404.

[0094] Furthermore, the signal processing module 404 can sample, decode and normalize the current analog signal according to the coding frequency of the quality monitoring module 401 and the light source control module 402 to output it as a third variable sequence, and can perform similarity calculation on the third variable sequence and the second variable sequence in the fixed buffer area. The calculation algorithm can be an alignment variable sequence start algorithm and a stop variable algorithm, which is mainly used to perform XOR calculation on the intermediate signal segment variables to determine the similarity comparison value.

[0095] Furthermore, the similarity comparison value can be a marker that characterizes the channel quality. For example, it can be set that if the similarity comparison value is greater than a specific threshold, it means that the channel transmission quality is good. The similarity comparison value can also be a marker that characterizes the similarity between the third variable sequence and the second variable sequence. When it is considered that the similarity between the third variable sequence and the second variable sequence is high based on the marker, it can be said that the channel transmission quality is good.

[0096] In some embodiments of the present invention, determining the fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value includes:

[0097] An optical power value of the fourth optical analog signal is determined, and the fifth optical analog signal is determined according to the optical power value and the optical power difference reference value.

[0098] In a specific implementation, the photodetector 308 can obtain the fourth optical analog signal returned by the optical fiber terminal device 201, and can detect the optical power intensity of the fourth optical analog signal, so as to obtain the fifth optical analog signal and the corresponding optical power value n after subtracting the optical power difference reference value m in the above content, and can convert the fifth optical analog signal into a current analog signal and output it to the signal processing module 404.

[0099] In some embodiments of the present invention, determining a third variable sequence according to the fifth optical analog signal includes:

[0100] The fifth optical analog signal is converted into a current analog signal, and sampling, decoding and normalization are performed on the current analog signal to determine the third variable sequence.

[0101] In practical applications, the signal processing module 404 can sample, decode and normalize the current analog signal according to the coding frequency of the quality monitoring module 401 and the light source control module 402 to output a third variable sequence, and can perform similarity calculation on the third variable sequence and the second variable sequence in the fixed buffer area. The calculation algorithm can be an alignment variable sequence start algorithm and a stop variable algorithm, which are mainly used to perform XOR calculation on the intermediate signal segment variables to determine the similarity comparison value.

[0102] Step 105: perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0103] In a specific implementation, the signal processing module 404 can sample, decode and normalize the current analog signal according to the coding frequency of the quality monitoring module 401 and the light source control module 402 to output a third variable sequence, and can perform similarity calculation on the third variable sequence and the second variable sequence in the fixed buffer area. The calculation algorithm can be an alignment variable sequence start algorithm and a stop variable algorithm, which are mainly used to perform XOR calculations on the intermediate signal segment variables to determine the similarity comparison value.

[0104] Furthermore, the similarity comparison value can be a marker that characterizes the channel quality. For example, if the similarity comparison value is greater than a specific threshold, it means that the channel quality is good. It can be seen that by defining how to judge the transmission quality of the optical analog signal transmission channel based on the similarity comparison processing result, the system can automatically evaluate the signal quality based on the set threshold, providing a decision-making basis for maintaining or improving signal transmission.

[0105] In some embodiments of the present invention, the performing similarity comparison processing on the second variable sequence and the third variable sequence includes:

[0106] By aligning the variable sequence start algorithm and the variable stop algorithm, a similarity comparison process is performed on the second variable sequence and the third variable sequence.

[0107] In a specific implementation, the third variable sequence can be similarly calculated with the second variable sequence in the fixed buffer area. The calculation algorithm can be an alignment variable sequence start algorithm and a stop variable algorithm, which is mainly used to perform XOR calculation on the intermediate signal segment variables to determine the similarity comparison value.

[0108] In some embodiments of the present invention, determining the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result includes:

[0109] It is determined whether the similarity comparison processing result is greater than a preset threshold value. If the similarity comparison processing result is greater than the preset threshold value, it is determined that the transmission quality of the optical analog signal transmission channel is good.

[0110] In practical applications, the similarity comparison value can be a marker for characterizing channel quality. For example, it can be set that if the similarity comparison value is greater than a specific threshold, it means that the channel quality is good. Therefore, by defining how to judge the transmission quality of the optical analog signal transmission channel based on the similarity comparison processing result, the system can automatically evaluate the signal quality based on the set threshold, providing a decision-making basis for maintaining or improving signal transmission.

[0111] Reference Figure 5 , shows a flowchart of another method for monitoring the quality of an optical analog signal transmission channel provided by some embodiments of the present invention, which is applied to an optical fiber terminal device and may specifically include the following steps:

[0112] Step 501, receiving a first optical analog signal output by an optoelectronic signal processing device, and modulating the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is used to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0113] In a specific implementation, a first optical analog signal output by the photoelectric signal processing device 202 can be received, and the first optical analog signal can be modulated and processed to generate a second optical analog signal. The photoelectric signal processing device 202 can be used to control the task management module 403 to send a start signal to the light source control module 402 and the signal processing module 404 to enter the sensor data measurement mode. At this time, the system time is t1, and the quality monitoring module 401 can be in a closed and short-circuited state.

[0114] Further, at time point t1, the task management module 403 can start executing control program a, where program a is a running code and continuously outputs a first variable sequence. The first 8 bits and the last 8 bits in the variable sequence can be a start signal segment and a stop signal segment, and the middle signal segment can be a continuous sequence with a value of 1, wherein the start signal segment and the stop signal segment flag bits of the variable sequence in this step can be 01010101.

[0115] Furthermore, since the light source control module 402 is a hardware analog circuit, the light source 307 can be controlled to start and stop according to the first variable sequence output by the task management module 403, and the first light analog signal with constant power intensity is output based on the control of the intermediate signal segment with a value of 1. The time length of the first variable sequence can be |t2-t1|. At the same time, the first light analog signal can be output in parallel to the photodetector 308.

[0116] Furthermore, the photodetector 308 can obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value.

[0117] Step 502, sending the second optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is further used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0118] In a specific implementation, the second optical analog signal can be sent to the optoelectronic signal processing device 202, and the optoelectronic signal processing device 202 can be used to control the photodetector 308 to obtain the second optical analog signal returned by the optical fiber terminal device 201, and calculate the average value m of the optical power difference between the first optical analog signal and the second optical analog signal in the time period |t2-t1| at time t2 as the optical power difference reference value for subsequent quality monitoring steps.

[0119] Step 503, receiving the third optical analog signal output by the optoelectronic signal processing device, and modulating the third optical analog signal to generate a fourth optical analog signal; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0120] In practical applications, the third optical analog signal output by the optoelectronic signal processing device 202 can be received, and the third optical analog signal can be modulated to generate a fourth optical analog signal. The optoelectronic signal processing device 202 can also be used to control the task management module 403 to calculate the optical power difference reference value at time t2, and then send a mode switching instruction to the signal processing module 404 and the quality monitoring module 401 respectively, so as to control the system to enter the periodic quality monitoring mode. In the periodic quality monitoring mode, the task management module 403 no longer sends a variable sequence to the light source control module 402, but the quality monitoring module 401 controls the light source control module 402.

[0121] Furthermore, the quality monitoring module 401 can take over the control program a at time t2. Program a is the running code, and continuously outputs the second variable sequence. The first 8 bits and the last 8 bits in the second variable sequence can also be the start signal segment and the stop signal segment, which are used to control the start and stop of the light source control module 402. The flag bits of the start signal segment and the stop signal segment of the second variable sequence can be 10101010, and the intermediate signal segment in the second variable sequence can be customized according to actual needs. 1 can be represented as a pass and 0 can be represented as a break. At the same time, the second variable sequence can be synchronously sent back to the task management module 403, and the task management module 403 stores and writes it into a fixed buffer area in the device, such as:

[0122] 10101010****1010101010;

[0123] Furthermore, since the light source control module 402 is a hardware analog circuit, after receiving the second variable sequence output by the quality monitoring module 401, the output intensity of the light source 307 can be controlled according to the second variable sequence, and the light source 307 can be controlled to output a third light analog signal. The third light analog signal can be a continuous rectangular wave, and the amplitude of the rectangular wave is the encoding value of the middle signal segment of the second variable sequence (converted from binary to decimal).

[0124] Furthermore, the photodetector 308 can obtain the fourth optical analog signal returned by the optical fiber terminal device 201, and can detect the optical power intensity of the fourth optical analog signal, so as to obtain the fifth optical analog signal and the corresponding optical power value n after subtracting the optical power difference reference value m in the above content, and can convert the fifth optical analog signal into a current analog signal and output it to the signal processing module 404.

[0125] Furthermore, the signal processing module 404 can sample, decode and normalize the current analog signal according to the coding frequency of the quality monitoring module 401 and the light source control module 402 to output it as a third variable sequence, and can perform similarity calculation on the third variable sequence and the second variable sequence in the fixed buffer area. The calculation algorithm can be an alignment variable sequence start algorithm and a stop variable algorithm, which is mainly used to perform XOR calculation on the intermediate signal segment variables to determine the similarity comparison value.

[0126] Furthermore, the similarity comparison value can be a marker that characterizes the channel quality. For example, it can be set that if the similarity comparison value is greater than a specific threshold, it means that the channel transmission quality is good. The similarity comparison value can also be a marker that characterizes the similarity between the third variable sequence and the second variable sequence. When it is considered that the similarity between the third variable sequence and the second variable sequence is high based on the marker, it can be said that the channel transmission quality is good.

[0127] The following combination Figure 6 to Figure 7 The embodiments of the present invention are exemplarily described as follows:

[0128] Depend on Figure 6 It can be seen from the content that the overall execution process of the sensor data measurement mode of the present invention can be summarized as follows:

[0129] Step 1: The task scheduling module (i.e., the task management module) sends a start signal to the light source control module and the signal processing module to enter the sensor data measurement mode. At this time, the system time is t1, and the quality monitoring module is in a closed and short-circuited state.

[0130] Step 2, at time t1, the task scheduling module starts to execute control program a. Program a is the running code, which continuously outputs 01 variables (i.e., the first variable sequence). The first 8 bits and the last 8 bits in the variable sequence are the start and stop signals, and the middle segment is a continuous sequence with a value of 1.

[0131] Step 3: The light source control module is a hardware analog circuit. It controls the start and stop of the light source according to the variable sequence output by the task scheduling module, and controls the output of the light simulation signal 1 (i.e., the first light simulation signal) with a constant power intensity. The variable sequence time length is |t2-t1|. At the same time, the light simulation signal 1 is output in parallel to the photodetector.

[0132] Step 4: The photodetector obtains the optical analog signal 2 (i.e., the second optical analog signal) returned by the optical fiber terminal device, and calculates the average value m of the optical power difference between the optical analog signal 1 and the optical analog signal 2 within the time period |t2-t1| at time t2.

[0133] Depend on Figure 7 It can be seen from the content that the overall execution process of the periodic quality monitoring mode of the present invention can be summarized as follows:

[0134] Step 1: At time t2, the task management module sends a mode switching instruction to the signal processing module and the quality monitoring module respectively to enter the periodic quality monitoring mode. In this mode, the task management module no longer sends a variable sequence to the light source control module, and the quality monitoring module controls it.

[0135] Step 2, the quality monitoring module executes control program a at time t2. Program a is the running code, and continuously outputs 01 variables (i.e., the second variable sequence). The first 8 bits and the last 8 bits in the variable sequence are start and stop signals, which control the start and stop of the light source control module. The middle segment of the sequence is encoded according to actual needs, 1 represents a circuit, and 0 represents a circuit break. At the same time, the variable sequence is synchronously sent back to the task management module, which stores it in a fixed buffer area in the device. For example: 10101010****1010101010

[0136] Step 3, the light source control module is a hardware analog circuit. After receiving the variable sequence output by the quality control module, it controls the output intensity of the light source. The light source outputs the optical analog signal 3 (i.e., the third optical analog signal) as a continuous rectangular wave, and the amplitude of the rectangular wave is the coded value of the middle segment of the variable sequence (converted from binary to decimal).

[0137] In step 4, the photoelectric detector obtains the optical analog signal 4 (i.e., the fourth optical analog signal) returned by the optical fiber terminal device, first detects the optical power intensity of the optical analog signal 4, subtracts the optical power difference m, obtains the optical analog signal 5 (i.e., the fifth optical analog signal) and the optical power value n, and converts the optical analog signal into a current analog signal and outputs it to the signal processing module.

[0138] Step 5, the signal processing module samples, decodes and normalizes the current signal according to the coding frequency of the quality module and the light source control module. The signal processing output is a 01 sequence (i.e., the third variable sequence), and the similarity between the sequence and the sequence in the fixed buffer area (i.e., the second variable sequence) is calculated. The calculation algorithm is to align the start and end variables of the variable sequence, and perform the same or same calculation on the intermediate segment variables.

[0139] Step 6: The similarity comparison value is a marker for characterizing the channel quality. If it is greater than a specific threshold, it means that the channel quality is good.

[0140] In an embodiment of the present invention, a quality monitoring method for an optical analog signal transmission channel applied to an optoelectronic signal processing device is proposed, by determining a first variable sequence, and outputting a first optical analog signal to an optical fiber terminal device according to the first variable sequence; then receiving a second optical analog signal emitted by the optical fiber terminal device, and determining an optical power difference reference value according to the first optical analog signal and the second optical analog signal; then determining a second variable sequence in response to a determination result of the optical power difference reference value, and outputting a third optical analog signal to the optical fiber terminal device according to the second variable sequence; then determining a fifth optical analog signal according to a fourth optical analog signal emitted by the optical fiber terminal device and the optical power difference reference value, and determining the third variable according to the fifth optical analog signal. quantity sequence; thereby performing similarity comparison processing on the second variable sequence and the third variable sequence, and determining the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result, realizing the output of an optical analog signal with a constant power intensity through the first variable sequence having a fixed value continuous sequence, thereby determining the optical power difference reference value, and then realizing the monitoring of the transmission quality of the optical analog signal transmission channel according to the optical power difference reference value during the actual transmission process, avoiding the phenomenon of data transmission errors and interruptions caused by signal quality problems, improving the system response speed and signal processing capability, ensuring the accuracy of transmitted data and the reliability of the system, and improving the overall quality of signal transmission and the comprehensiveness of monitoring.

[0141] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0142] Reference Figure 8 , shows a schematic diagram of the structure of a quality monitoring device for an optical analog signal transmission channel provided by some embodiments of the present invention, which is applied to an optoelectronic signal processing device and may specifically include the following modules:

[0143] The first optical analog signal output module 801 is used to determine a first variable sequence, and output a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used to modulate the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0144] An optical power difference reference value determination module 802 is used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0145] The third optical analog signal output module 803 is used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output a third optical analog signal to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is also used to modulate the third optical analog signal to generate a fourth optical analog signal; the second variable sequence at least includes a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values;

[0146] A third variable sequence determining module 804 is configured to determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal;

[0147] The transmission quality determination module 805 is used to perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0148] In some embodiments of the present invention, the first optical analog signal output module 801 includes:

[0149] The first optical analog signal submodule is used to determine the time length of the first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the time length and the first variable sequence.

[0150] In some embodiments of the present invention, the optical power difference reference value determining module 802 includes:

[0151] The optical power difference reference value determination submodule is used to determine the optical power difference reference value according to the time length, the first optical analog signal and the second optical analog signal.

[0152] In some embodiments of the present invention, the third variable sequence determination module 804 includes:

[0153] The fifth optical analog signal determination submodule is used to determine the optical power value of the fourth optical analog signal, and determine the fifth optical analog signal according to the optical power value and the optical power difference reference value.

[0154] In some embodiments of the present invention, the third variable sequence determination module 804 includes:

[0155] The third variable sequence determination submodule is used to convert the fifth optical analog signal into a current analog signal, and perform sampling processing, decoding processing and normalization processing on the current analog signal to determine the third variable sequence.

[0156] In some embodiments of the present invention, the transmission quality determination module 805 includes:

[0157] The similarity comparison processing submodule is used to perform similarity comparison processing on the second variable sequence and the third variable sequence by aligning the variable sequence start algorithm and the variable stop algorithm.

[0158] In some embodiments of the present invention, the transmission quality determination module 805 includes:

[0159] The transmission quality determination submodule is used to determine whether the similarity comparison processing result is greater than a preset threshold. If the similarity comparison processing result is greater than the preset threshold, it is determined that the transmission quality of the optical analog signal transmission channel is good.

[0160] Reference Fig. 9 , shows a schematic structural diagram of another optical analog signal transmission channel quality monitoring device provided by some embodiments of the present invention, which is applied to an optical fiber terminal device and may specifically include the following modules:

[0161] The second optical analog signal generating module 901 is used to receive the first optical analog signal output by the optoelectronic signal processing device, and modulate the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is used to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence;

[0162] The second optical analog signal sending module 902 is used to send the second optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to receive the second optical analog signal sent by the optical fiber terminal device, and determine the optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is the average value of the optical power difference between the first optical analog signal and the second optical analog signal;

[0163] The fourth optical analog signal generating module 903 is used to receive the third optical analog signal output by the optoelectronic signal processing device, and modulate the third optical analog signal to generate a fourth optical analog signal; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

[0164] In some embodiments of the present invention, the second optical analog signal generating module 901 includes:

[0165] a second optical analog signal generating submodule, configured to obtain an original current signal, and modulate the first optical analog signal according to the original current signal to generate a second optical analog signal;

[0166] The fourth optical analog signal generating module 903 includes:

[0167] The fourth optical analog signal generating submodule is used to modulate the third optical analog signal according to the original current signal to generate a fourth optical analog signal.

[0168] Some embodiments of the present invention also provide an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the quality monitoring method of the optical analog signal transmission channel as described above is implemented.

[0169] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the quality monitoring method of an optical analog signal transmission channel as described above is implemented.

[0170] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above-mentioned quality monitoring method for an optical analog signal transmission channel when executed by a processor.

[0171] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0172] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0173] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0174] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0175] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0176] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0177] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0178] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0179] The quality monitoring method, device, equipment and medium of the optical analog signal transmission channel provided are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technicians in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for monitoring the quality of an optical analog signal transmission channel, characterized in that: Applied to a photoelectric signal processing device, the method comprises: Determine a first variable sequence, and output a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used to modulate the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence; Receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal; In response to the determination result of the optical power difference reference value, a second variable sequence is determined, and a third optical analog signal is output to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is further used to modulate the third optical analog signal, generate a fourth optical analog signal and send the fourth optical analog signal to the optoelectronic signal processing device; the second variable sequence includes at least a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values; receiving the fourth optical analog signal and determining a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determining a third variable sequence according to the fifth optical analog signal; A similarity comparison process is performed on the second variable sequence and the third variable sequence, and a transmission quality of the optical analog signal transmission channel is determined according to a similarity comparison process result.

2. The method according to claim 1, characterized in that The step of outputting the first optical analog signal to the optical fiber terminal device according to the first variable sequence comprises: The time length of the first variable sequence is determined, and the first optical analog signal is output to the optical fiber terminal device according to the first variable sequence according to the time length.

3. The method according to claim 2, characterized in that The step of determining an optical power difference reference value according to the first optical analog signal and the second optical analog signal comprises: The optical power difference reference value is determined according to the time length, the first optical analog signal, and the second optical analog signal.

4. The method according to claim 1, characterized in that The step of determining the fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value comprises: An optical power value of the fourth optical analog signal is determined, and the fifth optical analog signal is determined according to the optical power value and the optical power difference reference value.

5. The method according to claim 1, characterized in that The step of determining a third variable sequence according to the fifth optical simulation signal comprises: The fifth optical analog signal is converted into a current analog signal, and sampling, decoding and normalization are performed on the current analog signal to determine the third variable sequence.

6. The method according to claim 1, characterized in that Determining the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result includes: It is determined whether the similarity comparison processing result is greater than a preset threshold value. If the similarity comparison processing result is greater than the preset threshold value, it is determined that the transmission quality of the optical analog signal transmission channel is good.

7. The method according to claim 1, characterized in that The first variable sequence further includes a first start signal segment and a first stop signal segment, and the first start signal segment is the first eight bits of the first variable sequence, and the first stop signal segment is the last eight bits of the first variable sequence; The second variable sequence also includes a second start signal segment and a second stop signal segment, and the second start signal segment is the first eight bits of the second variable sequence, and the second stop signal segment is the last eight bits of the second variable sequence.

8. A method for monitoring the quality of an optical analog signal transmission channel, characterized in that: Applied to an optical fiber terminal device, the method comprises: Receive a first optical analog signal output by an optoelectronic signal processing device, and modulate the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is used to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence; The second optical analog signal is sent to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal; Receive the third optical analog signal output by the optoelectronic signal processing device, modulate the third optical analog signal, generate a fourth optical analog signal and send the fourth optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; the optoelectronic signal processing device is also used to receive the fourth optical analog signal and determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; the optoelectronic signal processing device is also used to perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

9. The method according to claim 8, characterized in that The step of modulating the first optical analog signal to generate a second optical analog signal includes: Acquire an original current signal, and modulate the first optical analog signal according to the original current signal to generate a second optical analog signal; The step of modulating the third optical analog signal to generate a fourth optical analog signal includes: The third optical analog signal is modulated according to the original current signal to generate a fourth optical analog signal.

10. A quality monitoring device for an optical analog signal transmission channel, characterized in that: Applied to a photoelectric signal processing device, the quality monitoring device comprises: A first optical analog signal output module, used for determining a first variable sequence, and outputting a first optical analog signal to an optical fiber terminal device according to the first variable sequence; wherein the optical fiber terminal device is used for performing a modulation process on the first optical analog signal to generate a second optical analog signal; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence; An optical power difference reference value determination module is used to receive the second optical analog signal sent by the optical fiber terminal device, and determine the optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is the average value of the optical power difference between the first optical analog signal and the second optical analog signal; a third optical analog signal output module, configured to determine a second variable sequence in response to a determination result of the optical power difference reference value, and output a third optical analog signal to the optical fiber terminal device according to the second variable sequence; wherein the optical fiber terminal device is further configured to modulate the third optical analog signal, generate a fourth optical analog signal, and send the fourth optical analog signal to the optoelectronic signal processing device; the second variable sequence includes at least a second intermediate signal segment, and the second intermediate signal segment is a continuous sequence of user-defined values; a third variable sequence determining module, configured to receive the fourth optical analog signal and determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; The transmission quality determination module is used to perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

11. A quality monitoring device for an optical analog signal transmission channel, characterized in that: Applied to an optical fiber terminal device, the quality monitoring device comprises: a second optical analog signal generating module, configured to receive a first optical analog signal output by an optoelectronic signal processing device, and modulate the first optical analog signal to generate a second optical analog signal; wherein the optoelectronic signal processing device is configured to determine a first variable sequence, and output the first optical analog signal to the optical fiber terminal device according to the first variable sequence; the first variable sequence at least includes a first intermediate signal segment, and the first intermediate signal segment is a fixed value continuous sequence; A second optical analog signal sending module, used to send the second optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to receive the second optical analog signal sent by the optical fiber terminal device, and determine an optical power difference reference value according to the first optical analog signal and the second optical analog signal; wherein the optical power difference reference value is an average value of the optical power difference between the first optical analog signal and the second optical analog signal; A fourth optical analog signal generating module is used to receive the third optical analog signal output by the optoelectronic signal processing device, modulate the third optical analog signal, generate a fourth optical analog signal and send the fourth optical analog signal to the optoelectronic signal processing device; wherein the optoelectronic signal processing device is also used to determine a second variable sequence in response to the determination result of the optical power difference reference value, and output the third optical analog signal to the optical fiber terminal device according to the second variable sequence; the optoelectronic signal processing device is also used to receive the fourth optical analog signal and determine a fifth optical analog signal according to the fourth optical analog signal and the optical power difference reference value, and determine a third variable sequence according to the fifth optical analog signal; the optoelectronic signal processing device is also used to perform similarity comparison processing on the second variable sequence and the third variable sequence, and determine the transmission quality of the optical analog signal transmission channel according to the similarity comparison processing result.

12. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the quality monitoring method of an optical analog signal transmission channel as claimed in any one of claims 1 to 7 or any one of claims 8 to 9 is implemented.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the quality monitoring method of an optical analog signal transmission channel according to any one of claims 1 to 7 or any one of claims 8 to 9 is implemented.

14. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the quality monitoring method of an optical analog signal transmission channel according to any one of claims 1 to 7 or any one of claims 8 to 9.

Citation Information

Patent Citations

  • Optical module receiving device, control method and storage medium

    CN112311472A

  • Optical fiber remote transmission and waveform reproduction device for analog signals

    CN114567377A