Optimization methods, devices and storage media for multi-segment optical fiber transmission systems

By acquiring cross-segment state characteristic parameters and video stream frame structure, and configuring differentiated transmission parameters and receiving feedback correction, the problems of uneven video stream transmission quality and insufficient key frame protection in multi-segment optical fiber transmission systems are solved, thereby improving the transmission quality and stability of video streams.

CN123123547APending Publication Date: 2026-11-17BEIJING HEQI SHENGCAI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611291512.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing multi-segment fiber optic transmission systems suffer from uneven video stream transmission quality and insufficient protection of key frames due to neglecting the differences in physical characteristics of the segments, thus failing to fully utilize the transmission potential of superior segments.

Method used

By acquiring cross-segment state feature parameters, evaluating quality levels, identifying video stream frame structures, generating cross-segment-frame matching mapping tables, configuring differentiated transmission parameters, and dynamically correcting them in conjunction with receiver feedback, we ensure that key frames and highly referenced predicted frames are matched to high-quality cross-segments, and adjust the fiber optic power and dispersion compensation.

Benefits of technology

It achieves quality equalization of video streams in cross-segment fiber optic transmission systems, enhances the protection of key frames, and improves overall transmission quality and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123547A_ABST
    Figure CN123123547A_ABST
Patent Text Reader

Abstract

This invention relates to the field of optical communication transmission technology, and more particularly to an optimization method, apparatus, and storage medium for multi-segment optical fiber transmission systems. The method includes: generating a segment state feature set; classifying the quality levels of each segment; receiving a video stream to be transmitted, identifying keyframes and predicted frames, and counting the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence; allocating transmission segments according to the segment quality level classification results and the frame importance identifier sequence, generating a segment-frame matching mapping table, and generating a segment transmission parameter configuration scheme; performing segment-differentiated transmission of the video stream according to the transmission parameter configuration scheme and the segment-frame matching mapping table, and obtaining video stream reception quality feedback parameters returned by the receiving end to correct the segment level classification results and transmission parameter configurations. This invention improves the transmission quality and stability of video streams in multi-segment optical fiber transmission systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical communication transmission technology, and in particular to an optimization method, apparatus and storage medium for multi-segment optical fiber transmission systems. Background Technology

[0002] With the large-scale deployment of video services such as high-definition video surveillance, remote conferencing, and ultra-high-definition live streaming, the demand for video streams in fiber optic transmission systems continues to grow. In actual engineering deployments, the fiber optic transmission of video streams often requires multiple fiber optic spans—each span containing a section of transmission fiber and an optical amplifier—to complete long-distance transmission from the transmitting end to the receiving end. Such multi-span fiber optic transmission systems are widely used in metropolitan area networks, campus optical interconnects, and long-distance video leased lines.

[0003] In existing technologies, the optimization of fiber optic transmission for video streams often adopts a globally uniform transmission parameter configuration method, that is, using the same input optical power, the same modulation format, and the same coding parameters for all segments. This approach ignores the differences in the physical characteristics of each segment, causing some severely degraded segments to become the performance bottleneck of the entire transmission link, while the transmission potential of some high-performance segments is not fully utilized. At the same time, video streams themselves have the structural characteristics of inter-frame predictive coding, but the allocation of segment transmission resources in existing technologies has not been effectively linked with the importance level of video frames, resulting in a lack of differentiated protection mechanisms for critical video frames when passing through degraded segments.

[0004] Therefore, how to implement differentiated transmission parameter configurations for the actual physical state of each span in a multi-span fiber optic transmission system, and how to coordinate the allocation of span transmission resources with the importance of video stream frame structure, are technical problems that urgently need to be solved. Summary of the Invention

[0005] The purpose of this invention is to provide an optimization method, apparatus, and storage medium for multi-segment optical fiber transmission systems, in order to solve the technical problems of uneven video stream transmission quality and insufficient keyframe protection caused by neglecting the differences in physical characteristics between segments in existing multi-segment optical fiber transmission systems.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] An optimization method for a multi-span optical fiber transmission system includes:

[0008] Obtain the state characteristic parameters of each span in a multi-span optical fiber transmission system to generate a span state characteristic set;

[0009] The overall quality score for each segment is determined based on the segment status feature set, and the quality levels of each segment are divided.

[0010] Receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence.

[0011] Based on the quality level classification results of the cross-segment and the frame importance identifier sequence, the transmission cross-segment is allocated, a cross-segment-frame matching mapping table is generated, and a cross-segment transmission parameter configuration scheme is generated based on the quality level classification results of the cross-segment.

[0012] The video stream is transmitted in a differentiated manner across segments according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table. The video stream reception quality feedback parameters returned by the receiving end are obtained to correct the level division results and transmission parameter configuration of each segment.

[0013] Furthermore, based on the quality level classification results of the cross-segment, transmission cross-segments are assigned to each frame in the order of video frame playback. Video frames that are key frames are assigned to high-quality cross-segments for transmission, video frames that are high-reference prediction frames are assigned to medium-quality cross-segments for transmission, and video frames that are low-reference prediction frames are assigned to low-quality cross-segments for transmission. Based on the comprehensive quality score of the cross-segment, the fiber optic power and dispersion compensation amount are independently configured for each cross-segment.

[0014] Furthermore, the fiber input power of each segment is determined as follows: the current fiber input power measurement value of the segment is read as the reference value, and a corresponding power adjustment offset is applied according to the quality level of the segment. A positive power adjustment offset is applied to high-quality segments; a negative power adjustment offset is applied to low-quality segments; and no power adjustment offset is applied to medium-quality segments. The absolute value of the power adjustment offset is determined proportionally based on the difference between the comprehensive quality score of the segment and the average quality score of the system.

[0015] Furthermore, the attenuation deviation, noise deviation, and dispersion deviation are weighted and summed to obtain the overall degradation value. Then, the overall degradation value is subtracted from 100 to obtain the basic quality score. Finally, the basic quality score is multiplied by the gain adjustment margin adjustment factor to obtain the overall quality score.

[0016] The segments are sorted from high to low according to their overall quality score. Based on the sorting results, the top third of the segments are classified as high-quality segments, the middle third of the segments are classified as medium-quality segments, and the remaining segments are classified as low-quality segments.

[0017] Furthermore, the difference between the cross-segment attenuation parameter and the cross-segment attenuation reference value is calculated. The absolute value of the ratio of this difference to the cross-segment attenuation reference value is then multiplied by 100 to obtain the attenuation deviation expressed as a percentage.

[0018] Read the maximum and minimum adjustable gain values ​​of the span optical amplifier, calculate the difference between the current amplifier gain and the minimum adjustable gain value, divide it by the difference between the maximum and minimum adjustable gain values, and multiply the ratio by 100 to obtain the gain adjustment margin.

[0019] Furthermore, the video stream from the video encoder is received, and the frame header information of each video frame in the video stream is parsed frame by frame. The frame type is identified according to the NAL unit header structure in the frame header. For each predicted frame, the reference frequency of its reference by subsequent frames is counted. Predicted frames with a reference frequency greater than or equal to the reference frequency threshold are classified as high-reference predicted frames, and predicted frames with a reference frequency lower than the reference frequency threshold are classified as low-reference predicted frames. The frame type identifier of each video frame and the reference frequency of the predicted frame are arranged in the playback order to generate a frame importance identifier sequence.

[0020] Furthermore, during video stream transmission, the receiving end continuously monitors the quality of the received video stream and generates reception quality feedback parameters. These parameters include the bit error rate of each video frame, the peak signal-to-noise ratio of each video frame with a lost frame identifier and a key frame. The reception quality feedback parameters are associated with the unique frame number of each video frame and transmitted back to the sending end through the reverse transmission channel.

[0021] Furthermore, after receiving the reception quality feedback parameters, the transmitting end queries the segment number assigned to the video frame in the segment-frame matching mapping table for the video frame marked as a lost frame or with a bit error rate exceeding the preset tolerance threshold. If multiple video frames from the same segment show quality abnormalities, it is determined that the actual transmission quality of the segment is lower than the initial evaluation result, and the quality level of the segment is downgraded by one level.

[0022] For keyframe segments where the peak signal-to-noise ratio is lower than a preset quality threshold, the quality level of that segment is lowered by one level.

[0023] Based on the revised quality level classification results of the cross-segment, the cross-segment transmission parameter configuration is re-executed, and combined with the adjusted transmission parameter configuration, a new cross-segment-frame matching mapping table is generated for the transmission of subsequent video frames.

[0024] On the other hand, the present invention also provides an optimization device for a multi-segment optical fiber transmission system, comprising:

[0025] The cross-segment acquisition module is used to acquire the state characteristic parameters of each cross-segment in a multi-segment optical fiber transmission system in order to generate a cross-segment state characteristic set.

[0026] The quality assessment module is used to determine the comprehensive quality score of each segment based on the segment status feature set, and to classify the quality level of each segment.

[0027] The frame analysis module is used to receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence.

[0028] The transmission configuration module is used to allocate transmission segments based on the quality level division results and frame importance identifier sequences, generate a segment-frame matching mapping table, and generate a transmission parameter configuration scheme for the segments based on the quality level division results.

[0029] The transmission feedback module is used to perform cross-segment differentiated transmission of video streams according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table, and to obtain the video stream reception quality feedback parameters returned by the receiving end in order to correct the level division results and transmission parameter configuration of each cross segment.

[0030] On the other hand, the present invention also provides a storage medium storing instructions that, when run on a computer, cause the computer to execute the multi-segment optical fiber transmission system optimization method as described above.

[0031] The beneficial effects of this invention are as follows: This invention addresses the problems of uneven video stream transmission quality and insufficient keyframe protection caused by differences in the physical characteristics of different segments in multi-segment optical fiber transmission systems. It achieves differentiated transmission parameter configuration across segments by collecting state characteristic parameters of each segment and evaluating quality levels. Simultaneously, it analyzes the video stream frame structure, identifies keyframes and predicted frames, and counts their reference frequency to generate a frame importance identifier sequence. Based on this, keyframes, highly referenced predicted frames, and low-referenced predicted frames are matched to high, medium, and low-quality segment transmissions, respectively, forming a segment-frame collaborative optimization mechanism to ensure that important frames receive high-quality segment protection. Furthermore, by combining quality parameters such as bit error rate, frame loss identifiers, and peak signal-to-noise ratio fed back from the receiver, it dynamically corrects the segment level division and transmission configuration, forming a closed-loop adaptive optimization, thereby improving the overall transmission quality and stability of the video stream in multi-segment optical fiber transmission systems. Attached Figure Description

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

[0033] Figure 1 This is a flowchart of the optimization method for the multi-segment optical fiber transmission system in this embodiment.

[0034] Figure 2 This is a schematic diagram of the structure of the multi-segment optical fiber transmission system optimization device in this embodiment. Detailed Implementation

[0035] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a further detailed explanation of the multi-span optical fiber transmission system optimization method, apparatus, and storage medium disclosed in this invention. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated; they can be combined to achieve better technical effects. In the accompanying drawings of the following embodiments, the same reference numerals in each drawing represent the same features or components, which can be applied to different embodiments. Therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0036] It should be noted that the structures, proportions, sizes, etc., illustrated in the accompanying drawings are merely for illustrative purposes and to aid those skilled in the art in understanding and reading the invention. They are not intended to limit the conditions under which the invention can be implemented. Any modifications to the structure, changes in proportions, or adjustments to size, provided they do not affect the effectiveness or purpose of the invention, should fall within the scope of the technical content disclosed in the invention. The scope of the preferred embodiments of the present invention includes other implementations, wherein functions may be performed not in the order stated or discussed, including substantially simultaneously or in reverse order, depending on the functions involved. This should be understood by those skilled in the art to which the embodiments of the present invention pertain.

[0037] Techniques, methods, and apparatus known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.

[0038] In the description of the embodiments of this application, " / " means "or", and "and / or" is used to describe the relationship between related objects, indicating that there can be three relationships. For example, "A and / or B" means: A and B exist alone, B exists alone, and A and B exist simultaneously. In the description of the embodiments of this application, "multiple" refers to two or more embodiments.

[0039] Example 1

[0040] This embodiment takes a six-segment optical fiber transmission system deployed in a metropolitan area optical network as an example to describe in detail the specific implementation process of the method of the present invention.

[0041] The six-span fiber optic transmission system consists of spans 1 to 6 connected in series. Each span includes a G.652 standard single-mode fiber of approximately 40 to 60 kilometers in length and an erbium-doped fiber amplifier. The total transmission distance of the system is approximately 300 kilometers. The system is used to carry a 1080P resolution, 30 frames per second high-definition video surveillance service. The video encoding adopts the H.264 standard, and the content is real-time monitoring footage of urban traffic intersections, including continuously moving vehicles and pedestrians.

[0042] Please see Figure 1 As shown, this is the optimization method for a multi-segment optical fiber transmission system in this embodiment, including:

[0043] Step S1: Obtain the state characteristic parameters of each span in the multi-span optical fiber transmission system to generate a span state characteristic set. The state characteristic parameters include span attenuation parameters, amplifier noise figure, amplifier gain, and span dispersion.

[0044] Under normal system operation, the state characteristic parameters of the six segments are obtained by using the built-in optical power monitoring unit and optical time-domain reflectometer in each segment:

[0045] For the cross-segment attenuation parameter A i A probe light signal with a known power is injected into the input end of the i-th segment. The wavelength of the probe light signal is the same as that of the video stream signal. The injection power is set to 2.5 milliwatts. The output power of the probe light signal is measured by an optical power meter at the output end of the segment. The ratio of the input power to the output power is taken as the logarithm to the base 10 and multiplied by 10 to obtain the segment attenuation parameter of the segment, in decibels. Taking segment 1 as an example, the measured input power is 2.5 milliwatts and the output power is 0.25 milliwatts. Then A1 = 10 × lg(2.5 / 0.25) = 10 decibels.

[0046] For amplifier noise figure NF i The signal optical power and amplified spontaneous emission noise power are measured at the input and output terminals of the optical amplifier in the i-th segment, respectively. The signal optical power is measured by an optical power meter, and the noise power is calculated by measuring the noise power density near the signal wavelength using a spectrum analyzer. The amplifier noise figure is calculated as follows: (input signal optical power / input noise power) / (output signal optical power / output noise power), which is then multiplied by 10 after taking the logarithm to the base 10. The unit is decibels.

[0047] For amplifier gain G i Read the current gain setting value of the cross-segment optical amplifier, or measure the ratio of the signal optical power at the output end to the input end of the cross-segment optical amplifier, take the logarithm, and multiply by 10, with the unit being decibels;

[0048] For the cross-segment dispersion Di Query the factory dispersion parameters of the transmission fiber for this segment, in picoseconds / (nanometer·km), multiply by the fiber length of this segment, in kilometers, to get the segment dispersion, in picoseconds / nanometers. Taking segment 1 as an example, the factory dispersion parameter of this segment fiber is 17 picoseconds / (nanometer·km), and the fiber length is 45 kilometers. Then D1 = 17 × 45 = 765 picoseconds / nanometers.

[0049] Combine all the state feature vectors across segments into a cross-segment state feature set {S} i},S i =(A i ,NF i G i D i ).

[0050] Step S2: Determine the comprehensive quality score of each segment based on the segment status feature set, and classify the quality level of each segment. The quality level of the segment includes high-quality segment, medium-quality segment and low-quality segment.

[0051] Specifically, the reference values ​​of each state characteristic parameter are first determined. The reference value of the cross-segment attenuation is the average value of the six cross-segment attenuation parameters, the reference value of the noise figure is the average value of the six cross-segment noise figures, and the reference value of the dispersion is the average value of the six cross-segment dispersions.

[0052] The analysis method for the attenuation deviation of the i-th segment is as follows: calculate the difference between the segment attenuation parameter and the segment attenuation reference value, take the absolute value of the ratio of this difference to the segment attenuation reference value, and multiply it by 100 to obtain the attenuation deviation expressed as a percentage, i.e., ΔA. i =|A i -Ar| / Ar×100, ΔA i Ar represents the attenuation deviation of the i-th segment, and Ar represents the attenuation reference value of the segment.

[0053] The analysis method for the noise deviation of the i-th segment is similar to that for the attenuation deviation, and it is: ΔNF i =|NF i -NFr| / NFr×100, ΔNF i This represents the noise deviation of the i-th segment, and NFr is the baseline value of the noise figure.

[0054] The analysis method for the dispersion deviation of the i-th segment is similar to that for the attenuation deviation, and it is: ΔD i =|D i -Dr| / Dr×100, ΔD i Dr represents the dispersion deviation of the i-th segment, and Dr represents the reference value of dispersion.

[0055] The analysis method for the gain adjustment margin of the i-th segment is as follows: Read the maximum and minimum adjustable gain values ​​of the optical amplifier in that segment, calculate the difference between the current amplifier gain and the minimum adjustable gain value, divide this difference by the difference between the maximum and minimum adjustable gain values, and multiply this ratio by 100 to obtain the gain adjustment margin, expressed as a percentage, i.e., M. i =(G i -G min ) / (G max -G min )×100, M i G represents the gain adjustment margin of the i-th segment. min G represents the minimum adjustable gain value. min This indicates the maximum adjustable gain value;

[0056] The analysis method for the overall quality score of the i-th segment is as follows: The attenuation deviation, noise deviation, and dispersion deviation are weighted and summed to obtain the overall degradation value. This overall degradation value is then subtracted from 100 to obtain the base quality score. Finally, the base quality score is multiplied by the gain adjustment margin adjustment factor to obtain the overall quality score, specifically: Q i =[100-(wA×ΔA i +wNF×ΔNF i +wD×ΔD i )]×(1+wM×M i / 100), where wA, wNF, and wD are the weighting coefficients for attenuation deviation, noise deviation, and dispersion deviation, respectively, and wM is the gain adjustment margin weighting coefficient. In this embodiment, wA=0.4, wNF=0.3, wD=0.3, and wM=0.2 are set. The weighting coefficients are determined by offline experiments to measure the influence of each state parameter on the video transmission quality. Attenuation has the most direct impact on signal amplitude, so it is given the highest weight of 0.4. The impact of noise and dispersion is second, and they are given 0.3 respectively. The gain adjustment margin is given 0.2 as an auxiliary adjustment factor.

[0057] The six segments are sorted from high to low according to their overall quality score. Based on the sorting results, the top third of the segments are classified as high-quality segments, the middle third of the segments are classified as medium-quality segments, and the remaining segments are classified as low-quality segments.

[0058] Step S3: Receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence.

[0059] Specifically, the system receives an H.264 compressed video stream output by the video encoder. This video stream contains 30 consecutive seconds of video data, totaling 900 frames. The system parses the frame header information of each video frame in the video stream frame by frame. The frame type is identified based on the nal_unit_type field in the NAL unit header structure in the frame header. When the value of this field is 5, it indicates that the frame is a key frame. When the value of this field is 1, it indicates that the frame is a prediction frame.

[0060] For each predicted frame, the reference frequency of its references by subsequent frames is counted. Taking a predicted frame at the 15-second mark as an example, the frame number of this frame is 450. All subsequent frames after this frame are retrieved, including the slice header information of frame numbers 451 to 900. The reference image list defined in the slice header information of each subsequent frame is extracted. The reference image list records the identification information of all frames that the subsequent frame needs to reference during the decoding and prediction process. The unique frame number identifier 450 of the current predicted frame is compared one by one with each reference image identifier in the reference image list. Each successful match increments the reference counter of the current predicted frame. After traversing all subsequent frames, the reference frequency of the P-frame is counted. Predicted frames with a reference frequency greater than or equal to the reference frequency threshold are classified as high-reference predicted frames, and predicted frames with a reference frequency lower than the reference frequency threshold are classified as low-reference predicted frames. The frame type identifier of each video frame and the reference frequency of the predicted frame are arranged in the playback order to generate a frame importance identifier sequence.

[0061] In this embodiment, the reference frequency threshold is set to 3. The setting is based on the typical hierarchical prediction structure in the H.264 coding standard. It is normal for a P-frame to be referenced by 3 to 5 subsequent frames. If it is referenced more than 3 times, it indicates that the frame is in a critical position in the prediction chain.

[0062] Step S4: Based on the cross-segment quality level division results and frame importance identifier sequence, perform transmission cross-segment allocation, generate a cross-segment-frame matching mapping table, and generate a cross-segment transmission parameter configuration scheme based on the cross-segment quality level division results. The transmission parameter configuration scheme consists of transmission parameters, including fiber input power and dispersion compensation.

[0063] Specifically, based on the quality level classification of the segments, transmission segments are assigned to each frame sequentially according to the playback order of the video frames. Video frames that are keyframes are assigned to high-quality segments for transmission, video frames that are highly referenced prediction frames are assigned to medium-quality segments for transmission, and video frames that are low-reference prediction frames are assigned to low-quality segments for transmission. For example, in the initial allocation, there are 30 keyframes, 186 highly referenced prediction frames, and 684 low-reference prediction frames. Segments 1 and 4 are high-quality segments, segments 2 and 5 are medium-quality segments, and segments 3 and 6 are low-quality segments. The 30 keyframes are assigned to high-quality segments 1 and 4, the first 15 keyframes are assigned to segment 1 for transmission, and the last 15 keyframes are assigned to segment 4 for transmission. The 186 highly referenced prediction frames are assigned to medium-quality segments 2 and 5, and the 684 low-reference prediction frames are assigned to low-quality segments 6 and 3.

[0064] During transmission, considering that each video frame must pass through all segments sequentially to reach the receiving end, for key frames assigned to segment 1, they gain passage permission in segment 1, that is, they are allowed to pass with differentiated protection parameters, while in segments 2 to 6 they only gain basic passage permission, that is, they are allowed to pass but do not enjoy differentiated protection; for key frames assigned to segment 4, they gain passage permission in segment 4. Similarly, high reference prediction frames gain passage permission in medium quality segments 2 and 5, and low reference prediction frames gain passage permission in low quality segments 6 and 3. For segments that do not gain passage permission, video frames pass through with the basic configuration parameters of that segment and do not enjoy differentiated power boost or dispersion compensation optimization;

[0065] The above allocation results are recorded as a cross-segment-frame matching mapping table, which contains 900 entries. Each entry records the frame number identifier, importance level, and cross-segment number for which the frame obtains access permission for a video frame.

[0066] At the same time, based on the comprehensive quality score of each segment, the fiber power and dispersion compensation are independently configured for each segment:

[0067] For example, the current input optical power measurements for each segment are as follows: 2.5 milliwatts for segment 1, 2.3 milliwatts for segment 2, 2.8 milliwatts for segment 3, 2.4 milliwatts for segment 4, 2.6 milliwatts for segment 5, and 2.2 milliwatts for segment 6. The average input optical power is 2.47 milliwatts, and the average overall quality score is 88.58.

[0068] The input optical power for each segment is determined as follows: The current measured input optical power value for that segment is used as a baseline. A corresponding power adjustment offset is applied based on the segment's quality level. For high-quality segments, a positive power adjustment offset is applied, increasing the input optical power based on the baseline value. For low-quality segments, a negative power adjustment offset is applied, decreasing the input optical power based on the baseline value. For medium-quality segments, no power adjustment offset is applied, keeping the baseline value unchanged. The absolute value of the power adjustment offset is determined proportionally based on the difference between the segment's overall quality score and the system's average quality score. For example, if the overall quality score of high-quality segment 1 is 98.31, which is 9.73 points higher than the system's average quality score of 88.58, the input optical power of segment 1 is adjusted according to a ratio of 0.02 milliwatts for every 1-point increase. The input optical power is 2.69 milliwatts. The ratio of 0.02 milliwatts for every 1 point increase represents the marginal benefit of each 0.02 milliwatt increase in input optical power on signal quality, determined through offline experiments. Under this increment, the improvement in signal-to-noise ratio (SNR) and the risk of increased nonlinear effects are optimally balanced. The low-quality segment 6 has a comprehensive quality score of 83.11, which is 5.47 points lower than the average. Following the ratio of 0.015 milliwatts reduction for every 1 point decrease, the input optical power of segment 6 is adjusted to 2.12 milliwatts. The ratio of 0.015 milliwatts reduction for every 1 point decrease represents the effectiveness of reducing input optical power in suppressing nonlinear effects, as determined through experiments. This reduction effectively reduces the impact of self-phase modulation and cross-phase modulation, while preventing excessive degradation of the receiver's optical SNR due to excessively low power.

[0069] The dispersion compensation is configured using a differentiated strategy. For example, the current dispersion compensation settings for each segment are as follows: Segment 1 -680 picoseconds / nanometer, Segment 2 -720 picoseconds / nanometer, Segment 3 -800 picoseconds / nanometer, Segment 4 -700 picoseconds / nanometer, Segment 5 -760 picoseconds / nanometer, and Segment 6 -650 picoseconds / nanometer. Dispersion compensation is represented by negative values; the larger the absolute value, the greater the compensation. For high-quality segments 1 and 4, the dispersion compensation is reduced by 40 picoseconds / nanometer and 25 picoseconds / nanometer, respectively, to -640 picoseconds / nanometer and -675 picoseconds / nanometer. The reduction in dispersion compensation is calculated as follows: for every 1 point the overall quality score exceeds the system average, the dispersion compensation is reduced by 4 picoseconds / nanometer. The ratio was determined experimentally to assess the marginal benefit of reducing dispersion compensation in improving signal distortion, as well as the risk of increased residual dispersion due to excessive reduction in dispersion compensation. The optimal balance was found to be 4 picoseconds / nanometer per minute. For low-quality segments 6 and 3, dispersion compensation was increased by 30 picoseconds / nanometer and 40 picoseconds / nanometer respectively, adjusted to -680 picoseconds / nanometer and -840 picoseconds / nanometer. The increase in dispersion compensation was calculated as follows: for every 1 point below the system average score in the overall quality assessment, dispersion compensation was increased by 5 picoseconds / nanometer. This 5 picosecond / nanometer increase per minute effectively compensated for the dispersion accumulation caused by fiber aging or environmental temperature changes in the degraded segments. Medium-quality segments 2 and 5 maintained their current dispersion compensation levels.

[0070] The above-mentioned input optical power and dispersion compensation configurations are summarized into a transmission parameter configuration scheme and sent to the execution devices of each segment: the input optical power configuration parameters are sent to the optical power conditioner at the input end of each segment, and the dispersion compensation configuration parameters are sent to the dispersion compensation module of each segment.

[0071] Step S5: Perform cross-segment differentiated transmission of the video stream according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table, and obtain the video stream reception quality feedback parameters returned by the receiving end to correct the level division results and transmission parameter configuration of each cross segment.

[0072] Specifically, according to the transmission parameter configuration scheme and the segment-frame matching mapping table, the video stream transmission begins. During transmission, when the first keyframe (frame number 1) arrives at the input of segment 1, the segment-frame matching mapping table is queried to confirm that frame number 1 is assigned to segment 1. This frame obtains passage permission in segment 1 and passes through segment 1 with the adjusted input fiber power of 2.69 milliwatts. When this frame arrives at segment 2, the mapping table is queried to confirm that frame number 1 is not assigned to segment 2, but it is still used as a basic passage frame. The current configuration of segment 2 passes through segment 2 and does not enjoy differentiated protection. This frame passes through segment 3, segment 4, segment 5, and segment 6 in sequence. When the 16th key frame (frame number 16) arrives at segment 4, the mapping table is queried to confirm that the frame is assigned to segment 4 and obtains passage permission in segment 4, passing through segment 4 with the adjusted input fiber power of 2.51 milliwatts. High reference prediction frames obtain passage permission in medium quality segment 2 and segment 5, low reference prediction frames obtain passage permission in low quality segment 6 and segment 3, and so on.

[0073] During video stream transmission, the receiving end continuously monitors the quality of the received video stream and generates reception quality feedback parameters, which include:

[0074] The bit error rate of each video frame is the percentage of the number of erroneous bits corrected during the forward error correction decoding process of each received video frame out of the total number of bits in that frame.

[0075] The frame loss flag for each video frame is set so that if the receiving end fails to receive all the data of a certain video frame within a preset timeout period, the frame is marked as a lost frame. The timeout period is set to 100 milliseconds.

[0076] Peak signal-to-noise ratio (PSNR) of a keyframe is calculated by comparing the decoded and reconstructed image of a successfully received keyframe with the original image pixel by pixel.

[0077] The aforementioned received quality feedback parameters are associated with the unique frame number identifier of the video frame and transmitted back to the sending end through the reverse transmission channel.

[0078] After receiving the reception quality feedback parameters, the transmitting end queries the segment number assigned to the video frame in the segment-frame matching mapping table for the video frame marked as a lost frame or with a bit error rate exceeding the preset tolerance threshold. If multiple video frames from the same segment show quality abnormalities, it is determined that the actual transmission quality of the segment is lower than the initial evaluation result, and the quality level of the segment is downgraded by one level. In this embodiment, the preset tolerance threshold is set to 10 to the power of -4, which is the error correction limit of forward error correction coding. After exceeding this value, the error correction coding cannot completely recover the original data. The quality abnormality is marked as a lost frame or with a bit error rate exceeding the preset tolerance threshold.

[0079] For a segment where the peak signal-to-noise ratio of a keyframe is lower than a preset quality threshold, it is determined that although the segment is classified as a high-quality segment, its actual transmission capacity is insufficient to support the high-quality transmission of the keyframe. The quality level of the segment is then lowered by one level. In this embodiment, the preset quality threshold is set to 35 dB. When the peak signal-to-noise ratio is lower than 35 dB, the human eye can clearly perceive a decrease in image quality.

[0080] Based on the revised quality level classification of the cross-segments, the transmission parameter configuration of the cross-segments is re-executed. For example, cross-segment 3 is downgraded from a low-quality cross-segment to a degraded cross-segment, which is one level lower than a low-quality cross-segment. The low-reference prediction frames originally allocated to cross-segment 3 are reassigned to cross-segment 6. At the same time, the input optical power of cross-segment 3 is recalculated based on the revised quality level of the cross-segments, and further reduced by 0.15 mW to 2.55 mW from the existing 2.7 mW to suppress possible nonlinear effects. The dispersion compensation of cross-segment 3 is increased by 40 picoseconds / nanometer to -880 picoseconds / nanometer.

[0081] Based on the revised quality level classification results of the cross-segment and the adjusted transmission parameter configuration, a cross-segment-frame matching mapping table is regenerated for the transmission of subsequent video frames.

[0082] The revised configuration scheme takes effect immediately, and subsequent video frames are transmitted according to the new cross-segment-frame matching mapping table and transmission parameter configuration.

[0083] The video stream adaptive optimization method for multi-span fiber optic transmission systems provided in this embodiment achieves precise quantification of the physical characteristics of each span in the multi-span fiber optic transmission system by constructing a span state awareness and quality assessment mechanism; it achieves fine-grained matching of video stream frame structure and span transmission resources by introducing a frame importance identifier sequence, ensuring that key frames receive transmission protection from high-quality spans; it achieves independent optimization of the input optical power and dispersion compensation of each span through differentiated transmission parameter configuration of spans; and it achieves continuous adaptation of the system to changes in span physical characteristics through a closed-loop correction mechanism based on receiver quality feedback, thereby improving the transmission quality and stability of video streams in multi-span fiber optic transmission systems.

[0084] Example 2

[0085] The difference between this embodiment and Embodiment 1 is that the multi-span fiber optic transmission system in this embodiment has an eight-span structure, a total transmission distance of approximately 400 kilometers, and carries a 4K ultra-high-definition video stream with an H.265 encoding format and a frame rate of 60 frames per second.

[0086] Since the data volume of 4K video is approximately four times that of 1080P video, and the inter-frame prediction structure of H.265 encoding is more complex, the difference in importance between key frames and prediction frames is more significant in this embodiment. During the generation of the frame importance identifier sequence, H.265 encoding introduces more reference frame management mechanisms. A prediction frame may be referenced by as many as 8 to 16 subsequent frames. Therefore, in this embodiment, the reference frequency threshold is set to 5, and prediction frames with a reference frequency greater than or equal to 5 are classified as high-reference prediction frames.

[0087] In terms of the quality level classification of the segments, the eight-segment system classifies the top third of segments, rounded up to 3, as high-quality segments, the middle third of segments, rounded up to 3, as medium-quality segments, and the remaining 2 segments as low-quality segments. More high-quality segments provide more abundant high-quality transmission resources for the larger number of keyframes in the 4K video stream.

[0088] Regarding the configuration of cross-segment transmission parameters, since 4K video has higher requirements for signal quality, the adjustment ratio of the input optical power and the adjustment range of the dispersion compensation are increased accordingly. Specifically, the ratio of increasing the input optical power by 0.025 milliwatts for every 1 minute higher than the average score, and the ratio of decreasing the input optical power by 0.020 milliwatts for every 1 minute lower than the average score. The bit rate of 4K video after encoding is higher, and the requirements for optical signal-to-noise ratio are more stringent. Experiments show that a larger power adjustment range is needed to achieve the same transmission quality improvement effect as 1080P video.

[0089] Regarding closed-loop feedback correction, since 4K video has higher requirements for image quality, a cross-segment quality level downgrade is triggered when the peak signal-to-noise ratio of a key frame is below 40 dB. In the subjective quality evaluation experiment of 4K video, when the peak signal-to-noise ratio is below 40 dB, the loss of detail in the 4K image can be clearly perceived by professional observers. The bit error rate tolerance threshold is set to 10 to the power of -5.

[0090] The remaining implementation steps are the same as in Example 1, and will not be repeated here.

[0091] Please see Figure 2 As shown, this is the multi-segment fiber optic transmission system optimization device of this embodiment, including:

[0092] The cross-segment acquisition module is used to acquire the state characteristic parameters of each cross-segment in a multi-segment optical fiber transmission system in order to generate a cross-segment state characteristic set.

[0093] The quality assessment module is used to determine the comprehensive quality score of each segment based on the segment status feature set, and to classify the quality level of each segment.

[0094] The frame analysis module is used to receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence.

[0095] The transmission configuration module is used to allocate transmission segments based on the quality level division results and frame importance identifier sequences, generate a segment-frame matching mapping table, and generate a transmission parameter configuration scheme for the segments based on the quality level division results.

[0096] The transmission feedback module is used to perform cross-segment differentiated transmission of video streams according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table, and to obtain the video stream reception quality feedback parameters returned by the receiving end in order to correct the level division results and transmission parameter configuration of each cross segment.

[0097] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0098] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0099] In the above description, the disclosure of this invention is not intended to limit itself to these aspects. Rather, within the scope of the objectives of this disclosure, components can be selectively and operationally combined in any number. Furthermore, terms such as “comprising,” “encompassing,” and “having” should be interpreted by default as inclusive or open-ended, rather than exclusive or closed, unless explicitly defined as such. All technical, scientific, or other terms are to be understood by those skilled in the art, unless defined as such. Public terms found in dictionaries should not be interpreted in the context of the relevant technical documents in an overly idealistic or impractical manner, unless explicitly defined as such in this disclosure. Any modifications or alterations made by those skilled in the art based on the foregoing disclosure are within the scope of the claims.

Claims

1. An optimization method for a multi-span optical fiber transmission system, characterized in that, include: Obtain the state characteristic parameters of each span in a multi-span optical fiber transmission system to generate a span state characteristic set; The overall quality score for each segment is determined based on the segment status feature set, and the quality levels of each segment are divided. Receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence. Based on the quality level classification results of the cross-segment and the frame importance identifier sequence, the transmission cross-segment is allocated, a cross-segment-frame matching mapping table is generated, and a cross-segment transmission parameter configuration scheme is generated based on the quality level classification results of the cross-segment. The video stream is transmitted in a differentiated manner across segments according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table. The video stream reception quality feedback parameters returned by the receiving end are obtained to correct the level division results and transmission parameter configuration of each segment.

2. The optimization method for multi-span optical fiber transmission systems according to claim 1, characterized in that, Based on the quality level classification of the segments, transmission segments are assigned to each frame in the order of video frame playback. Video frames that are key frames are assigned to high-quality segments for transmission, video frames that are high-reference prediction frames are assigned to medium-quality segments for transmission, and video frames that are low-reference prediction frames are assigned to low-quality segments for transmission. Based on the comprehensive quality score of the segments, the fiber optic power and dispersion compensation are independently configured for each segment.

3. The optimization method for multi-span optical fiber transmission systems according to claim 2, characterized in that, The fiber input power for each segment is determined as follows: the current fiber input power measurement value of the segment is read as the baseline value, and a corresponding power adjustment offset is applied according to the quality level of the segment. A positive power adjustment offset is applied to high-quality segments; a negative power adjustment offset is applied to low-quality segments; and no power adjustment offset is applied to medium-quality segments. The absolute value of the power adjustment offset is determined proportionally based on the difference between the overall quality score of the segment and the average quality score of the system.

4. The optimization method for multi-span optical fiber transmission systems according to claim 1, characterized in that, The attenuation deviation, noise deviation, and dispersion deviation are weighted and summed to obtain the overall degradation value. This overall degradation value is then subtracted from 100 to obtain the base quality score. Finally, the base quality score is multiplied by the gain adjustment margin adjustment factor to obtain the overall quality score. The segments are sorted from high to low according to their overall quality score. Based on the sorting results, the top third of the segments are classified as high-quality segments, the middle third of the segments are classified as medium-quality segments, and the remaining segments are classified as low-quality segments.

5. The optimization method for multi-span optical fiber transmission systems according to claim 4, characterized in that, Calculate the difference between the cross-section attenuation parameter and the cross-section attenuation reference value. Take the absolute value of the ratio of this difference to the cross-section attenuation reference value and multiply it by 100 to obtain the attenuation deviation expressed as a percentage. Read the maximum and minimum adjustable gain values ​​of the span optical amplifier, calculate the difference between the current amplifier gain and the minimum adjustable gain value, divide it by the difference between the maximum and minimum adjustable gain values, and multiply the ratio by 100 to obtain the gain adjustment margin.

6. The optimization method for a multi-span optical fiber transmission system according to claim 1, characterized in that, The system receives the video stream from the video encoder, parses the frame header information of each video frame in the video stream frame by frame, identifies the frame type based on the NAL unit header structure in the frame header, and counts the reference frequency of each predicted frame when it is referenced by subsequent frames. Predicted frames with a reference frequency greater than or equal to the reference frequency threshold are classified as high-reference predicted frames, and predicted frames with a reference frequency lower than the reference frequency threshold are classified as low-reference predicted frames. The frame type identifier of each video frame and the reference frequency of the predicted frame are arranged in the playback order to generate a frame importance identifier sequence.

7. The optimization method for a multi-span optical fiber transmission system according to claim 1, characterized in that, During video stream transmission, the receiving end continuously monitors the quality of the received video stream and generates reception quality feedback parameters. These parameters include the bit error rate of each video frame, the peak signal-to-noise ratio of each video frame with frame loss identifiers and key frames. The reception quality feedback parameters are associated with the unique frame number of each video frame and transmitted back to the sending end through the reverse transmission channel.

8. The optimization method for a multi-span optical fiber transmission system according to claim 1, characterized in that, After receiving the reception quality feedback parameters, the transmitting end queries the segment number assigned to the video frame in the segment-frame matching mapping table for the video frame marked as a lost frame or with a bit error rate exceeding the preset tolerance threshold. If multiple video frames from the same segment show quality abnormalities, it is determined that the actual transmission quality of the segment is lower than the initial evaluation result, and the quality level of the segment is downgraded by one level. For keyframe segments where the peak signal-to-noise ratio is lower than a preset quality threshold, the quality level of that segment is lowered by one level. Based on the revised quality level classification results of the cross-segment, the cross-segment transmission parameter configuration is re-executed, and combined with the adjusted transmission parameter configuration, a new cross-segment-frame matching mapping table is generated for the transmission of subsequent video frames.

9. A multi-span optical fiber transmission system optimization device, applied to the multi-span optical fiber transmission system optimization method as described in any one of claims 1-8, characterized in that, include: The cross-segment acquisition module is used to acquire the state characteristic parameters of each cross-segment in a multi-segment optical fiber transmission system in order to generate a cross-segment state characteristic set. The quality assessment module is used to determine the comprehensive quality score of each segment based on the segment status feature set, and to classify the quality level of each segment. The frame analysis module is used to receive the video stream to be transmitted, parse the frame structure of the video stream to identify key frames and predicted frames, and count the reference frequency of each predicted frame by subsequent frames to generate a frame importance identifier sequence. The transmission configuration module is used to allocate transmission segments based on the quality level division results and frame importance identifier sequences, generate a segment-frame matching mapping table, and generate a transmission parameter configuration scheme for the segments based on the quality level division results. The transmission feedback module is used to perform cross-segment differentiated transmission of video streams according to the transmission parameter configuration scheme and the cross-segment-frame matching mapping table, and to obtain the video stream reception quality feedback parameters returned by the receiving end in order to correct the level division results and transmission parameter configuration of each cross segment.

10. A storage medium, characterized in that, The system stores instructions that, when executed on a computer, cause the computer to perform the multi-span fiber optic transmission system optimization method as described in any one of claims 1-8.