A transmission switching system based on optical fiber detection
By designing data pools and data analysis modules in the optical fiber transmission switching system, using historical transmission data and transmission quality evaluation value for data extraction and channel switching, the problem of low transmission efficiency in the existing technology is solved, and more efficient and stable data transmission is achieved.
Patent Information
- Application Number
- CN202510013970.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, link switching is triggered by relying on alarm signals, the historical transmission data and its transmission channels are not effectively utilized, and the transmission effect of the switching channel cannot be judged based on the optical function loss, resulting in low transmission efficiency.
A transmission switching system based on optical fiber detection is designed to store historical transmission data and its channels through a data pool, and a data analysis module is used to extract and switch data based on data similarity and transmission quality evaluation value, and optimize resource allocation and channel usage.
It improves the transmission success rate and data transmission efficiency of detection data, ensures the stability of data transmission, and optimizes resource utilization efficiency.
Smart Images

Figure CN119788182A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a transmission switching system based on optical fiber detection. Background Art
[0002] The realization of optical fiber transmission is based on the principle of total reflection of light. When light is incident from a denser medium into a less dense medium, if the incident angle is greater than the critical angle, all the light will be reflected back into the denser medium. This is total reflection of light. In an optical fiber, the optical signal is constantly reflected in the fiber core and is thus transmitted along the optical fiber.
[0003] China Patent Publication (Announcement) No.: CN103780302B, discloses a control link switching method, device and RRU equipment in a dual-fiber transmission system, which is used to detect the abnormality of the control link in the dual-fiber transmission system and trigger the control link switching to ensure the normal operation of the communication system, wherein the method includes: a link state judgment module determines the current control link, the current control link is the first communication link or the second communication link; the link state judgment module determines whether to receive the alarm signal output by the first alarm collection module or the second alarm collection module, the first alarm collection module determines that the first communication link is abnormal and outputs the alarm signal, and the second alarm collection module determines that the second communication link is abnormal and outputs the alarm signal; if the link state judgment module receives the alarm signal of the current control link abnormality, the link switching control module is triggered to switch the control link. It can be seen that the prior art relies on the alarm signal to trigger the link switching, without considering the similarity or structural similarity between the data to be transmitted and the historical transmission data, and cannot effectively utilize the historical transmission data and its transmission channel, and cannot judge the transmission effect of the switching channel according to the optical function loss, thereby resulting in the problem of low transmission efficiency. Summary of the invention
[0004] To this end, the present invention provides a transmission switching system based on optical fiber detection to overcome the problem in the prior art that the link switching is triggered by relying on an alarm signal without considering the similarity or structural similarity between the data to be transmitted and the historical transmission data, and the historical transmission data and its transmission channel cannot be effectively utilized, and the transmission effect of the switching channel cannot be judged according to the optical function loss, thereby resulting in low transmission efficiency.
[0005] To achieve the above object, the present invention provides a transmission switching system based on optical fiber detection, comprising: a data pool for storing a number of historical transmission data and their corresponding transmission channels;
[0006] A data acquisition module, used to acquire the data to be transmitted by the optical fiber;
[0007] A data analysis module, which is connected to the data pool and the data acquisition module respectively, and is used to determine the plurality of historical transmission data whose storage positions need to be adjusted and the historical transmission data with the maximum data similarity respectively according to the plurality of data similarities;
[0008] A data storage module, connected to the data analysis module, for storing a number of the historical transmission data whose storage positions need to be adjusted and their corresponding transmission channels;
[0009] a data extraction module, connected to the data storage module, for extracting data from the optical fiber data to be transmitted that meets a first preset condition, and recording the data extracted from the optical fiber data to be transmitted as detection data;
[0010] A channel switching module, which is connected to the data extraction module, and is used to determine whether the transmission of the detection data meets the preset standard according to the transmission quality evaluation value of the detection data to determine whether to adjust the channel switching mode of the detection data, or to increase the transmission channel;
[0011] Wherein, the plurality of data similarities are obtained by comparing the optical fiber to be transmitted with a plurality of historical transmission data, and the maximum data similarity is the maximum value among the plurality of data similarities;
[0012] The first preset condition is that the data structure similarity between the data structure of the data to be extracted and the data structure of the historical transmission data corresponding to the maximum data similarity is greater than or equal to the preset data structure similarity.
[0013] Further, the data analysis module determines not to store the historical transmission data and its transmission channel under the condition that the data similarity is less than a preset data similarity threshold;
[0014] The data similarity is determined by determining a plurality of data similarities between the data to be transmitted by the optical fiber and a plurality of the historical transmission data.
[0015] Furthermore, the data analysis module determines to store the historical transmission data and its transmission channel in the data storage module under the condition that the data similarity is greater than or equal to the structural similarity threshold.
[0016] Furthermore, the data extraction module determines whether to extract the data to be extracted according to the data structure similarity of the data to be extracted, wherein:
[0017] If the data structure similarity is less than the preset data structure similarity, the data extraction module determines not to extract the data to be extracted;
[0018] If the data structure similarity is greater than or equal to the preset data structure similarity, the data extraction module determines to extract the data to be extracted.
[0019] Furthermore, the channel switching module determines whether the transmission of the detection data meets a preset standard according to the transmission quality evaluation value, wherein:
[0020] If the transmission quality evaluation value is less than the first preset transmission quality threshold, the channel switching module determines that the transmission of the detection data meets the preset standard, and transmits the optical fiber data to be transmitted on the transmission channel;
[0021] If the transmission quality evaluation value is greater than or equal to the first preset transmission quality threshold and less than the second preset transmission quality threshold, the channel switching module determines that the transmission of the detection data does not meet the preset standard, and determines the channel switching of the detection data according to the data characteristic value;
[0022] If the transmission quality evaluation value is greater than or equal to the second preset transmission quality threshold, the channel switching module determines that the transmission of the detection data does not meet the preset standard and adds a transmission channel; the transmission channel is different from the transmission channel of the data pool;
[0023] The transmission channel of the detection data is the transmission channel of the historical transmission data corresponding to the maximum structural similarity;
[0024] The transmission quality evaluation value is the ratio between the number of error bits and the total number of bits.
[0025] Furthermore, the channel switching module determines the switching channel of the detection data according to the data characteristic value, wherein:
[0026] If the data characteristic value is less than the preset data characteristic value, the channel switching module uses the first channel switching method to switch the channel of the detection data;
[0027] If the data characteristic value is greater than or equal to the preset data characteristic value, the channel switching module uses a second channel switching method to switch the channel of the detection data; the data characteristic value is the difference between the second preset transmission quality threshold and the transmission quality evaluation value.
[0028] Furthermore, the channel switching module determines the number of pre-transmission channels for the detection data according to the channel switching mode, wherein:
[0029] In the first channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1.5% of the number of transmission channels of the data storage module;
[0030] In the second channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1% of the number of transmission channels of the data storage module.
[0031] Furthermore, under the condition that the optical power loss after adding the transmission channel is less than the preset optical power loss and the data complexity characteristic value of the data to be transmitted by the optical fiber is greater than or equal to the preset data complexity threshold, the data analysis module increases the number of iterations of the hash algorithm according to the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and the preset data complexity threshold.
[0032] Furthermore, the increase in the number of iterations of the hash algorithm is positively correlated with the data complexity difference, wherein the data complexity difference is the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and a preset data complexity threshold.
[0033] Compared with the prior art, the beneficial effect of the present invention lies in that the present invention compares the data similarity with the preset data similarity, screens out the historical transmission data with high data similarity, stores it in the data storage module, optimizes resource allocation, and uses the transmission channel of the historical transmission data corresponding to the maximum data similarity as the transmission channel of the detection data, and utilizes the transmission experience of the historical transmission data to improve the transmission success rate of the detection data; checks the transmission eligibility of the detection data through the transmission quality evaluation value to ensure stable data transmission, and determines the channel switching mode and the corresponding number of channels through the data characteristic value, thereby improving the data transmission efficiency.
[0034] Furthermore, the present invention determines the storage method of the historical transmission data based on the data similarity between the optical fiber data to be transmitted and the historical transmission data and a preset data similarity threshold, optimizes the data storage strategy, and thus improves resource utilization efficiency.
[0035] Furthermore, the present invention determines whether to extract by comparing the data structure similarity with the preset data structure similarity, and records the data extracted from the optical fiber data to be transmitted as detection data, thereby improving the accuracy of transmission fault detection.
[0036] Furthermore, the present invention determines the channel switching mode of the detection data, or increases the transmission channel, under the condition that the transmission of the detection data does not meet the preset standard according to the transmission quality evaluation value, thereby ensuring the stability of data transmission.
[0037] Furthermore, the present invention detects whether the transmission of the detection data is normal according to the transmission quality evaluation value through the channel switching module, without manual intervention, and intelligent real-time monitoring, thereby improving the intelligence level of the system.
[0038] Furthermore, the present invention determines the number of pre-transmission channels for detection data according to the channel switching mode through the channel switching module, and reduces the transmission cost by optimizing the channel usage, thereby ensuring the high efficiency of the transmission switching system.
[0039] Furthermore, the present invention increases the number of iterations of the hash algorithm according to the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and a preset data complexity threshold through the data analysis module, thereby achieving precise control of the number of iterations of the hash algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a schematic diagram of module connections of a transmission switching system based on optical fiber detection according to an embodiment of the present invention;
[0041] Figure 2 A flowchart of a storage method for the historical transmission data according to an embodiment of the present invention;
[0042] Figure 3 A flowchart of an embodiment of the present invention for determining whether the transmission of the detection data meets a preset standard;
[0043] Figure 4 The present invention is a flowchart of determining a switching channel for the detection data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0045] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0046] It should be pointed out that the data in this embodiment are obtained by comprehensive analysis and evaluation of the historical test data of the present invention three months before this test and the corresponding historical test results. It can be understood by those skilled in the art that the method of the present invention can determine the above parameters for a single item by selecting the value with the highest proportion as the preset standard parameter according to the data distribution, using weighted summation to use the obtained value as the preset standard parameter, substituting each historical data into a specific formula and using the value obtained by the formula as the preset standard parameter or other selection methods, as long as the method of the present invention can clearly define the different specific situations in the single determination process through the obtained values.
[0047] See also Figure 1 , Figure 2 , Figure 3 as well as Figure 4 As shown, they are respectively a module connection diagram of a transmission switching system based on optical fiber detection according to an embodiment of the present invention; a flowchart of a storage method for the historical transmission data determined according to an embodiment of the present invention; a flowchart of determining whether the transmission of the detection data meets the preset standard according to an embodiment of the present invention; and a flowchart of determining the switching channel of the detection data according to an embodiment of the present invention.
[0048] An embodiment of the present invention provides a transmission switching system based on optical fiber detection, comprising:
[0049] A data pool is used to store a number of historical transmission data and their corresponding transmission channels;
[0050] A data acquisition module, used to acquire the data to be transmitted by the optical fiber;
[0051] A data analysis module, which is connected to the data pool and the data acquisition module respectively, and is used to determine the plurality of historical transmission data whose storage positions need to be adjusted and the historical transmission data with the maximum data similarity respectively according to the plurality of data similarities;
[0052] A data storage module, connected to the data analysis module, for storing a number of the historical transmission data whose storage positions need to be adjusted and their corresponding transmission channels;
[0053] a data extraction module, connected to the data storage module, for extracting data from the optical fiber data to be transmitted that meets a first preset condition, and recording the data extracted from the optical fiber data to be transmitted as detection data;
[0054] A channel switching module, which is connected to the data extraction module, and is used to determine whether the transmission of the detection data meets the preset standard according to the transmission quality evaluation value of the detection data to determine whether to adjust the channel switching mode of the detection data, or to increase the transmission channel;
[0055] Wherein, the plurality of data similarities are obtained by comparing the optical fiber to be transmitted with a plurality of historical transmission data, and the maximum data similarity is the maximum value among the plurality of data similarities;
[0056] The first preset condition is that the data structure similarity between the data structure of the data to be extracted and the data structure of the historical transmission data corresponding to the maximum data similarity is greater than or equal to the preset data structure similarity.
[0057] In this embodiment, the data analysis module is an embedded microprocessor of model (MCU)RTU510. The specific structure of the channel switching module is not limited. The channel switching module itself and each unit therein can be composed of logical components, and the logical components include field programmable components, computers or microprocessors in computers.
[0058] Specifically, the data analysis module determines not to store the historical transmission data and its transmission channel under the condition that the data similarity is less than a preset data similarity threshold of 0.57;
[0059] Specifically, the data analysis module determines to store the historical transmission data and its transmission channel in the data storage module under the condition that the data similarity is greater than or equal to the structural similarity threshold;
[0060] In this embodiment, the data similarity is calculated using the Gore distance formula, and the smaller the distance value is, the more similar the data to be transmitted by the optical fiber is to the historical transmission data.
[0061] In this embodiment, the preset data similarity threshold is selected as 0.57, that is, when the optical fiber data to be transmitted is 57% similar to the historical transmission data, the corresponding storage method is selected to perform the storage of the historical transmission data, but the above value is not limited to this, and technical personnel in this field can also adjust the value according to actual conditions.
[0062] Specifically, the data extraction module determines whether to extract the data to be extracted according to the data structure similarity of the data to be extracted, wherein:
[0063] If the data structure similarity is less than the preset data structure similarity of 0.83, the data extraction module determines not to extract the data to be extracted;
[0064] If the data structure similarity is greater than or equal to the preset data structure similarity, the data extraction module determines to extract the data to be extracted.
[0065] In this embodiment, the data structure similarity is obtained by a graph similarity algorithm.
[0066] Specifically, the channel switching module determines whether the transmission of the detection data meets the preset standard according to the transmission quality evaluation value, wherein:
[0067] If the transmission quality evaluation value is less than the first preset transmission quality threshold value of 0.34, the channel switching module determines that the transmission of the detection data meets the preset standard, and transmits the optical fiber data to be transmitted on the transmission channel;
[0068] If the transmission quality evaluation value is greater than or equal to the first preset transmission quality threshold and less than the second preset transmission quality threshold of 0.48, the channel switching module determines that the transmission of the detection data does not meet the preset standard, and determines the channel switching of the detection data according to the data characteristic value;
[0069] If the transmission quality evaluation value is greater than or equal to the second preset transmission quality threshold, the channel switching module determines that the transmission of the detection data does not meet the preset standard and adds a transmission channel;
[0070] When the transmission quality evaluation value is lower than the preset threshold, it indicates that the transmission quality of the current transmission channel is low and the stable transmission of data cannot be guaranteed. A transmission channel is added and the detection data is transmitted to the newly added transmission channel.
[0071] The transmission channel is different from the transmission channel corresponding to the historical transmission data.
[0072] The transmission channel of the detection data is the transmission channel of the historical transmission data corresponding to the maximum data similarity;
[0073] In this embodiment, the first preset transmission quality threshold is set to 0.24, and the second preset transmission quality threshold is set to 0.48. However, the above values are not limited thereto, and those skilled in the art may also adjust the values according to actual conditions.
[0074] In this embodiment, within a preset time period of 3 minutes, a parity check is performed on the transmitted data, and the number of error bits obtained and the ratio of the number of error bits to the total number of bits are recorded as the transmission quality evaluation value.
[0075] Specifically, the channel switching module determines the switching channel of the detection data according to the data characteristic value, wherein:
[0076] If the data characteristic value is less than the preset data characteristic value 0.28, the channel switching module uses the first channel switching method to switch the channel of the detection data;
[0077] If the data characteristic value is greater than or equal to the preset data characteristic value, the channel switching module uses a second channel switching method to switch the channel of the detection data;
[0078] The data characteristic value is the difference between the second preset transmission quality threshold and the transmission quality evaluation value.
[0079] Specifically, the channel switching module determines the number of pre-transmission channels for the detection data according to the channel switching mode, wherein:
[0080] In the first channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1.5% of the number of transmission channels of the data storage module;
[0081] In the second channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1% of the number of transmission channels of the data storage module.
[0082] By determining the channel switching mode and the number of pre-transmission channels according to data characteristic values, the system can allocate transmission resources more accurately.
[0083] Specifically, under the condition that the optical power loss after adding the transmission channel is less than the preset optical power loss of 2dB and the data complexity characteristic value of the data to be transmitted by the optical fiber is greater than or equal to the preset data complexity threshold of 1.25, the data analysis module increases the number of iterations of the hash algorithm according to the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and the preset data complexity threshold.
[0084] In this embodiment, the optical power loss is obtained by an optical power monitoring module of model OPM505-04-LCU.
[0085] In this embodiment, the preset optical power loss value ranges from (1.8dB, 4dB). Preferably, the preset optical power loss value is 2dB.
[0086] Specifically, the data complexity characteristic value is the ratio between the number of data types and the number of preset data types. The number of preset data types in this embodiment is 4, but the above value is not limited to this. Technical personnel in this field can also adjust the value according to actual conditions.
[0087] Specifically, the increase in the number of iterations of the hash algorithm is positively correlated with the data complexity difference, wherein the positive correlation is, for example, a linear positive correlation or a nonlinear positive correlation, and the slope of the linear positive correlation is not specifically limited. It can be understood that the larger the data complexity difference is, the greater the increase in the number of iterations of the hash algorithm is; the data complexity difference is the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and a preset data complexity threshold.
[0088] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0089] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A transmission switching system based on optical fiber detection, characterized in that: include: A data pool is used to store a number of historical transmission data and their corresponding transmission channels; A data acquisition module, used to acquire the data to be transmitted by the optical fiber; A data analysis module, which is connected to the data pool and the data acquisition module respectively, and is used to determine the plurality of historical transmission data whose storage positions need to be adjusted and the historical transmission data with the maximum data similarity respectively according to the plurality of data similarities; A data storage module, connected to the data analysis module, for storing a number of the historical transmission data whose storage positions need to be adjusted and their corresponding transmission channels; a data extraction module, connected to the data storage module, for extracting data from the optical fiber data to be transmitted that meets a first preset condition, and recording the data extracted from the optical fiber data to be transmitted as detection data; A channel switching module, which is connected to the data extraction module, and is used to determine whether the transmission of the detection data meets the preset standard according to the transmission quality evaluation value of the detection data to determine whether to adjust the channel switching mode of the detection data, or to increase the transmission channel; Wherein, the plurality of data similarities are obtained by comparing the optical fiber to be transmitted with a plurality of historical transmission data, and the maximum data similarity is the maximum value among the plurality of data similarities; The first preset condition is that the data structure similarity between the data structure of the data to be extracted and the data structure of the historical transmission data corresponding to the maximum data similarity is greater than or equal to the preset data structure similarity.
2. The transmission switching system based on optical fiber detection according to claim 1, characterized in that: The data analysis module determines not to store the historical transmission data and its transmission channel under the condition that the data similarity is less than a preset data similarity threshold; The data similarity is determined by determining a plurality of data similarities between the data to be transmitted by the optical fiber and a plurality of the historical transmission data.
3. The transmission switching system based on optical fiber detection according to claim 1, characterized in that: The data analysis module determines to store the historical transmission data and its transmission channel in the data storage module under the condition that the data similarity is greater than or equal to the structural similarity threshold.
4. The transmission switching system based on optical fiber detection according to claim 3, characterized in that: The data extraction module determines whether to extract the data to be extracted according to the data structure similarity of the data to be extracted, wherein: If the data structure similarity is less than the preset data structure similarity, the data extraction module determines not to extract the data to be extracted; If the data structure similarity is greater than or equal to the preset data structure similarity, the data extraction module determines to extract the data to be extracted.
5. The transmission switching system based on optical fiber detection according to claim 4, characterized in that: The channel switching module determines whether the transmission of the detection data meets the preset standard according to the transmission quality evaluation value, wherein: If the transmission quality evaluation value is less than the first preset transmission quality threshold, the channel switching module determines that the transmission of the detection data meets the preset standard, and transmits the optical fiber data to be transmitted on the transmission channel; If the transmission quality evaluation value is greater than or equal to the first preset transmission quality threshold and less than the second preset transmission quality threshold, the channel switching module determines that the transmission of the detection data does not meet the preset standard, and determines the channel switching of the detection data according to the data characteristic value; If the transmission quality evaluation value is greater than or equal to the second preset transmission quality threshold, the channel switching module determines that the transmission of the detection data does not meet the preset standard and adds a transmission channel; the transmission channel is different from the transmission channel of the data pool; The transmission channel of the detection data is the transmission channel of the historical transmission data corresponding to the maximum structural similarity; The transmission quality evaluation value is the ratio between the number of error bits and the total number of bits.
6. The transmission switching system based on optical fiber detection according to claim 5, characterized in that: The channel switching module determines the switching channel of the detection data according to the data characteristic value, wherein: If the data characteristic value is less than the preset data characteristic value, the channel switching module uses the first channel switching method to switch the channel of the detection data; If the data characteristic value is greater than or equal to the preset data characteristic value, the channel switching module uses a second channel switching method to switch the channel of the detection data; The data characteristic value is the difference between the second preset transmission quality threshold and the transmission quality evaluation value.
7. The transmission switching system based on optical fiber detection according to claim 6, characterized in that: The data characteristic value is obtained by a hash algorithm.
8. The transmission switching system based on optical fiber detection according to claim 7, characterized in that: The channel switching module determines the number of pre-transmission channels for the detection data according to the channel switching mode, wherein: In the first channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1.5% of the number of transmission channels of the data storage module; In the second channel switching mode, the channel switching module determines that the number of pre-transmission channels of the detection data is 1% of the number of transmission channels of the data storage module.
9. The transmission switching system based on optical fiber detection according to claim 8, characterized in that: Under the condition that the optical power loss after adding the transmission channel is less than the preset optical power loss and the data complexity characteristic value of the data to be transmitted by the optical fiber is greater than or equal to the preset data complexity threshold, the data analysis module increases the number of iterations of the hash algorithm according to the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and the preset data complexity threshold.
10. The transmission switching system based on optical fiber detection according to claim 9, characterized in that: The increase in the number of iterations of the hash algorithm is positively correlated with the data complexity difference, wherein the data complexity difference is the difference between the data complexity characteristic value of the data to be transmitted by the optical fiber and a preset data complexity threshold.
Citation Information
Patent Citations
Control link switching method, device and rru equipment in dual-fiber transmission system
CN103780302B