Optical fiber detection system and method

By identifying user needs to generate detection solutions, collecting and processing data in real time, and constructing optical fiber performance models, it solves the problem of lack of unified analysis and high-quality recommendations in existing optical fiber detection systems, and achieves efficient optical fiber detection and selection.

CN117808361BActive Publication Date: 2024-10-22GUANGZHOU GUANGSHI COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311853380.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-10-22
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

The existing optical fiber detection system lacks unified analysis of optical fiber performance data and high-quality optical fiber recommendation functions, resulting in users spending excessive labor costs when selecting optical fibers.

Method used

An optical fiber detection system is designed, including a module storage unit, a data collector, a data analysis unit, a result evaluation unit and an optical fiber recommendation unit. By identifying user detection needs, it generates a detection plan, collects and processes data in real time, and constructs optical fiber performance data. model, high-quality fiber is recommended.

Benefits of technology

It improves the quality and accuracy of detection data, generates visual detection reports, reduces the labor cost of fiber selection, and improves fiber selection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117808361B_ABST
    Figure CN117808361B_ABST
Patent Text Reader

Abstract

The present invention discloses a fiber optic detection system and method, and particularly relates to the field of fiber optic detection. The present invention identifies the detection needs of users through a module storage unit, and generates a detection plan for the user to choose through a preset demand matching algorithm. When the user confirms the detection plan, the fiber optic matching unit detects the fiber to be detected according to the detection module included in the detection plan, and the data collector collects the detection data in real time and stores it in categories during the detection process. When the detection process is completed, the data analysis unit obtains the detection data and performs noise reduction and correction processing on the detection data to improve the quality and accuracy of the detection data, and sends the processed data to the result evaluation unit for evaluation to generate a visual detection report. The performance analysis unit analyzes historical detection data to construct a fiber optic performance data model, and the fiber optic recommendation unit calls the data model to recommend high-quality fibers to users, which greatly reduces the labor cost of fiber optic selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical fiber detection technology, and in particular to an optical fiber detection system and method. Background Art

[0002] Optical fiber, also known as optical fiber, is a fiber made of glass or plastic. It is a light transmission tool that uses the principle of total internal reflection to transmit light in these fibers. Since the transmission loss of light in optical fiber is much lower than the transmission loss of electricity in wires, optical fiber is used as a tool for long-distance information transmission. At the same time, due to the characteristics of optical fiber itself, such as low loss, high reliability, and simple manufacturing, it is also used in various aspects of life. It is precisely because of the wide application of optical fiber that the detection of optical fiber is particularly important.

[0003] The existing optical fiber detection system focuses on the detection of quality and indicators. It can detect various performance indicator data of optical fibers through professional equipment, but lacks unified analysis of optical fiber performance data. When the optical fiber detected by the user does not meet the use requirements, the existing optical fiber detection system lacks the recommendation of high-quality optical fibers, which makes users spend too much manpower costs in the process of selecting optical fibers.

[0004] In view of the above technical defects, a solution is now proposed. Summary of the invention

[0005] The purpose of the present invention is to: identify the user's detection needs through a module storage unit, and generate a detection plan for the user to choose through a preset demand matching algorithm; when the user confirms the detection plan, the fiber matching unit detects the optical fiber to be detected according to the detection module included in the detection plan, and the data collector collects the detection data in real time and stores it in categories during the detection process; when the detection process is completed, the data analysis unit obtains the detection data and performs noise reduction and correction processing on the detection data to improve the quality and accuracy of the detection data, and sends the processed data to the result evaluation unit for evaluation to generate a visual detection report; the performance analysis unit analyzes the historical detection data to construct a fiber performance data model, and the fiber recommendation unit calls the data model to recommend high-quality optical fibers to users, which greatly reduces the labor cost of optical fiber selection.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] A fiber optic detection system comprises a user layer, a detection layer and a result layer; the user layer is used for user-end operation; the detection layer comprises a module storage unit, a fiber optic detection unit and a data collector; the result layer comprises a data analysis unit, a result evaluation unit, a performance analysis unit and a fiber optic recommendation unit;

[0008] The module storage unit stores preset optical fiber detection modules. After the user inputs the detection requirements, the module storage unit automatically generates a detection plan for the user to choose; when the user confirms the detection plan, the optical fiber detection unit detects the optical fiber to be detected according to the detection modules included in the detection plan, and the data collector signal is connected to the preset optical fiber detection module. During the detection process, the detection data is collected in real time and stored according to the data source; the data analysis unit is used to process and analyze the collected detection data and send the processed detection data to the result evaluation unit; the result evaluation unit evaluates the optical fiber performance through the processed detection data and generates a visual optical fiber detection report; the performance analysis unit is used to collect optical fiber detection data. When the optical fiber detection data reaches a preset number, a optical fiber performance data model is constructed through a data mining algorithm; the optical fiber recommendation unit recommends high-quality optical fibers that match the usage requirements to users by calling the optical fiber performance data model and combining the optical fiber type and corresponding data.

[0009] Furthermore, the specific working process of the module storage unit is as follows:

[0010] Each preset optical fiber detection module in the module storage unit is a device that can detect a certain specific performance of the optical fiber, and different modules correspond to unique identifiers. When the user inputs the detection requirements at the input end, the module storage unit automatically generates a preset detection plan that matches the user's detection requirements, and then sends the generated preset detection plan and the corresponding detection function to the user display end for the user to select. When the user confirms the selection of the preset detection plan, the preset detection plan is marked as the detection plan, and the module storage unit sends the detection plan to the optical fiber detection unit; when the user does not select the preset detection plan recommended by the system, the user can select the detection module combination through the display end to generate a detection plan, and then send the detection plan to the optical fiber detection unit;

[0011] Among them, the preset optical fiber detection modules include optical loss detection module, insertion loss detection module, reflection loss detection module, equal length detection module, bandwidth test module, mode coupling detection module, refractive index distribution measurement module, temperature and pressure sensing detection module; the detection scheme is a combination scheme of detection modules required in the optical fiber detection process.

[0012] Furthermore, the process of automatically generating a preset detection scheme includes the following steps:

[0013] S31. Obtain keywords corresponding to the detection function of each detection module, and classify and store the corresponding keywords of the detection modules into the detection keyword library according to the identifiers of different modules;

[0014] S32. Obtain the detection requirements input by the user, extract keywords in the detection requirements, and record the number of keywords extracted from the detection requirements as M;

[0015] S33. Compare and search the M detection demand keywords extracted above with the keywords in the detection keyword library, and select the detection keywords corresponding to the M detection demand keywords respectively;

[0016] S34. Mark the detection modules corresponding to the screened detection keywords, and then combine the marked detection modules to generate a preset detection solution.

[0017] Furthermore, the specific process of extracting keywords in the detection requirements is as follows:

[0018] The detection requirement text input by the user is obtained, and the text is segmented according to Chinese grammar to split the text into m independent words and punctuation marks, and then the punctuation marks and stop words are removed, and the remaining M words are marked as detection requirement keywords.

[0019] Furthermore, the specific working process of the data analysis unit is as follows:

[0020] The data analysis unit is connected to a data collector. When the detection process is finished, the detection data stored in the data collector is obtained, and noise suppression and data correction processing are performed on the detection data in turn.

[0021] The noise suppression process is specifically as follows: obtaining the noise type in the detection data, selecting the corresponding noise reduction algorithm according to different noise types to perform noise reduction on the detection data, calculating the signal-to-noise ratio of the noise-reduced detection data, and when the signal-to-noise ratio is greater than or equal to a preset value, the detection data completes noise suppression; conversely, when the signal-to-noise ratio is less than the preset value, performing the noise suppression operation on the noise-reduced detection data again until the signal-to-noise ratio is greater than or equal to the preset value;

[0022] The calculation formula of signal-to-noise ratio is: Where P s To detect the power of the data signal, P n is the noise power;

[0023] The data correction process is specifically as follows: pre-acquire the types of nonlinear effects that may exist in the detection data generated by different optical fiber detection modules, obtain the detection data and its source that completes the noise suppression, match the source of the detection data with the optical fiber detection module, and thus obtain the type of nonlinear effects of the detection data; select a preset correction model, group the detection data source, and use the algorithm corresponding to the preset correction model to estimate parameters; then calculate the correction data using the estimated parameters, and when the error between the correction data and the accurate data is less than or equal to the preset value, the detection data completes the data correction; conversely, when the error between the correction data and the accurate data is greater than the preset value, re-estimate the parameters and calculate the correction data until the error reaches the preset value;

[0024] The error calculation formula between the correction data and the accurate data is D = |D i -D j |, where D i For accurate data, D j To correct the data.

[0025] Furthermore, the specific working process of the result evaluation unit is as follows:

[0026] The result evaluation unit is connected to the data analysis unit by signal. When the test data completes the data analysis process, the result evaluation unit obtains the above-mentioned analyzed test data and the data source corresponding to the test data, and performs an overall evaluation on the above-mentioned test data through the preset values ​​of the test indicators corresponding to the different optical fiber test modules obtained in advance, and then presents the evaluation results in the form of a visual report and sends it to the user end;

[0027] The overall evaluation process is as follows: respectively obtain the preset values ​​of the indicators of the optical fiber detection module included in the detection scheme, and divide the preset values ​​into two sets, marked as the maximum indicator set A and the minimum indicator set B, and mark the data in the maximum indicator set A as The data in the minimum index set B are marked as The preset values ​​of the indicators in the maximum indicator set A are all the maximum values ​​of the corresponding detection module qualification indicators, and the preset values ​​of the indicators in the minimum indicator set B are all the minimum values ​​of the corresponding detection module qualification indicators;

[0028] Then obtain the detection data of the detection modules corresponding to the above maximum index set A and minimum index set B, and mark the detection data corresponding to the maximum index set A as The detection data corresponding to the minimum index set B are marked as The test data and the preset index values ​​are compared one by one. When the test data reaches the preset index, the optical fiber performance score corresponding to the test data is recorded as P1. Conversely, when the test data does not reach the preset index, the optical fiber performance score corresponding to the test data is recorded as P2. The specific method for judging whether the test data reaches the preset index is as follows: When Reach the preset target, otherwise, When Failure to reach the preset target; When Reach the preset target, otherwise, When Failure to meet the preset indicators, where 1≤i≤n, 1≤j≤m;

[0029] Calculate the performance evaluation result of the optical fiber to be tested under the selected detection scheme, where the calculation formula of the evaluation result is specifically:

[0030]

[0031] Where N is the number of fiber optic detection modules included in the detection solution, λ i is the weight coefficient corresponding to different detection modules in the scheme, and E i Provides fiber optic performance scores for different detection modules.

[0032] Furthermore, the performance analysis unit constructs the optical fiber performance data model including the following steps:

[0033] S71. Collect the processed optical fiber detection data in real time and store them according to the optical fiber performance reflected by each data, and then mark the classified detection data as X1, X2, X3, ..., X n ;

[0034] S72. Randomly combine the n data sets mentioned above into n(n-1) / 2 test sets, and perform correlation analysis on the two data sets in each test set to determine whether the two data sets have significant correlation. When the two data sets in the test set have significant correlation, the test set is marked as a correlation set. Otherwise, when the two data sets in the test set do not have significant correlation, no processing is performed.

[0035] Among them, correlation analysis was performed by Pearson correlation coefficient test and Spearman correlation coefficient test respectively;

[0036] S73. Obtain the data of the above-mentioned correlation set, and perform regression analysis on the two data sets contained in each correlation set one by one, and construct a functional relationship between the two data sets; wherein the process of regression analysis is specifically as follows: obtain the two data sets contained in the correlation set and mark them as independent variable X and dependent variable Y respectively, arrange the values ​​of the independent variable X and the dependent variable Y in time series respectively, and draw a function graph of the independent variable X and the dependent variable Y with the independent variable X as the horizontal coordinate and the dependent variable Y as the vertical coordinate; then select a preset function type according to the property of the function graph to fit the above-mentioned function graph to generate a functional relationship between the independent variable X and the dependent variable Y;

[0037] S74. Mark the functional relationship corresponding to each correlation set constructed above as an optical fiber performance data model, and classify and store them according to the type of dependent variable Y.

[0038] Furthermore, the specific working process of the optical fiber recommendation unit is as follows:

[0039] The user can input the performance requirements of the required optical fiber at the input end, wherein the type of the performance requirements is consistent with the type of the above-mentioned dependent variable Y; the optical fiber recommendation unit signal is connected to the performance analysis unit, and when the above-mentioned performance requirements input by the user are obtained, the optical fiber performance data model corresponding to the performance requirements is called, and the optimal matching data is calculated by analyzing the functions in the model; then the existing optical fiber types and corresponding data are obtained, and the optical fiber types that match the optimal matching data are screened out and sent to the user end for the user to select;

[0040] Among them, the method of analyzing the function model to obtain the optimal matching data is specifically as follows: obtain the function expression and the corresponding function image in the model, determine whether the function has a maximum value or a minimum value through the function image, when the function has a maximum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the maximum value as the optimal matching data; when the function has a minimum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the minimum value as the optimal matching data; when the function does not have a maximum value or a minimum value, obtain the preset interval of the independent variable, calculate the maximum value or the minimum value of the dependent variable within the preset interval of the independent variable as the optimal matching data, wherein when the dependent variable is positively correlated with the optical fiber performance, take the maximum value, and when the dependent variable is negatively correlated with the optical fiber performance, take the minimum value.

[0041] Furthermore, a method for detecting an optical fiber includes the following steps:

[0042] Step 1: Obtain the user's testing requirements and analyze them, match the testing requirements with the preset testing modules to generate a testing plan;

[0043] Step 2: Obtain the above detection scheme and detect the optical fiber to be detected according to the detection module included in the detection scheme, and the data collector collects the detection data in real time during the detection process;

[0044] Step 3: Perform noise suppression and data correction processing on the detection data in turn to improve the signal-to-noise ratio and accuracy of the detection data;

[0045] Step 4: Obtain the processed test data, evaluate the test results using a preset evaluation algorithm, and generate a visual fiber test report;

[0046] Step 5: Collect fiber optic detection data. When the amount of data reaches the preset amount, filter out fiber optic performance data with significant correlation through data mining algorithm, and build a fiber optic performance data model through regression analysis. Use the constructed data model to recommend high-quality optical fibers to users.

[0047] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0048] The present invention identifies the user's detection needs through a module storage unit, and generates a detection plan for the user to choose through a preset demand matching algorithm; when the user confirms the detection plan, the fiber matching unit detects the fiber to be detected according to the detection module included in the detection plan, and the data collector collects the detection data in real time and stores it in categories during the detection process; when the detection process is completed, the data analysis unit obtains the detection data and performs noise reduction and correction processing on the detection data to improve the quality and accuracy of the detection data, and sends the processed data to the result evaluation unit for evaluation to generate a visual detection report; the performance analysis unit analyzes the historical detection data to construct a fiber performance data model, and the fiber recommendation unit calls the data model to recommend high-quality fibers to users, which greatly reduces the labor cost of fiber selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 The operation flow chart of the present invention is shown;

[0050] Figure 2 The detection layer operation flow chart of the present invention is shown;

[0051] Figure 3 The result layer operation flow chart of the present invention is shown. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] Example:

[0054] A fiber optic detection system comprises a user layer, a detection layer and a result layer; the user layer is used for user-end operation; the detection layer comprises a module storage unit, a fiber optic detection unit and a data collector; the result layer comprises a data analysis unit, a result evaluation unit, a performance analysis unit and a fiber optic recommendation unit;

[0055] The specific working principle is as follows:

[0056] Step 1: Obtain a preset optical fiber detection module and set a unique identifier for each detection module and store it in a module storage unit;

[0057] Among them, the preset optical fiber detection modules include optical loss detection module, insertion loss detection module, reflection loss detection module, equal length detection module, bandwidth test module, mode coupling detection module, refractive index distribution measurement module, temperature and pressure sensing detection module; the detection scheme is a combination scheme of the detection modules required in the optical fiber detection process;

[0058] Among them, the optical loss detection module detects the intensity loss of the optical signal in the optical fiber through an optical power meter; the insertion loss detection module measures the insertion loss between the optical fiber connection points through the optical cable full-length test equipment; the reflection loss detection module measures the reflection loss of the optical fiber connection point through the optical fiber coherence reflectometer; the equal length detection module detects the length difference and non-uniformity on the optical fiber through the optical time domain interferometer; the bandwidth test module measures the signal frequency response in the limited bandwidth system through the spectrum analyzer; the mode coupling detection module detects the accurate alignment between the fiber cores when the optical fiber is connected through the fiber core alignment equipment; the refractive index distribution measurement module obtains the refractive index distribution information of the optical fiber through the automatic refractometer; the temperature and pressure sensing detection module measures the temperature changes of the environment around the optical fiber through the temperature sensor, and monitors the pressure or stress of the optical fiber through the pressure sensor.

[0059] Step 2: When the user inputs the detection requirement at the input end, the module storage unit obtains the user's detection requirement and automatically generates a preset detection plan; wherein, automatically generating a preset detection plan specifically includes the following steps:

[0060] S31. Obtain keywords corresponding to the detection function of each detection module, and classify and store the corresponding keywords of the detection modules into the detection keyword library according to the identifiers of different modules;

[0061] S32. Obtain the detection requirements input by the user, extract keywords in the detection requirements, and record the number of keywords extracted from the detection requirements as M;

[0062] S33. Compare and search the M detection demand keywords extracted above with the keywords in the detection keyword library, and select the detection keywords corresponding to the M detection demand keywords respectively;

[0063] S34. Mark the detection modules corresponding to the selected detection keywords, and then combine the marked detection modules to generate a preset detection scheme;

[0064] The specific process of extracting keywords in the detection requirements is as follows:

[0065] The detection requirement text input by the user is obtained, and the text is segmented according to Chinese grammar to split the text into m independent words and punctuation marks, and then the punctuation marks and stop words are removed, and the remaining M words are marked as detection requirement keywords.

[0066] Step three: Send the preset detection plan to the user end for the user to choose. When the user confirms to select the preset detection plan, the preset detection plan is marked as the detection plan. At this time, the module storage unit sends the detection plan to the optical fiber detection unit; when the user does not select the preset detection plan recommended by the system, the user can select the detection module combination through the display end to generate a detection plan, and then send the detection plan to the optical fiber detection unit.

[0067] Step 4: The optical fiber detection unit detects the optical fiber to be detected according to the above detection scheme, and during the detection process, the data collector collects the detection data in real time and stores it according to the data source.

[0068] Step 5: After the detection process is completed, the data analysis unit obtains the detection data collected by the signal collector and performs analysis and processing; wherein the analysis and processing process specifically includes performing noise suppression and data correction processing on the detection data in sequence;

[0069] The noise suppression process is specifically as follows: obtaining the noise type in the detection data, selecting the corresponding noise reduction algorithm according to different noise types to perform noise reduction on the detection data, calculating the signal-to-noise ratio of the noise-reduced detection data, and when the signal-to-noise ratio is greater than or equal to a preset value, the detection data completes noise suppression; conversely, when the signal-to-noise ratio is less than the preset value, performing the noise suppression operation again on the noise-reduced detection data until the signal-to-noise ratio is greater than or equal to the preset value;

[0070] The calculation formula of signal-to-noise ratio is: Where P s To detect the power of the data signal, P n is the noise power;

[0071] For example, when high-frequency noise is detected in the data, fast Fourier transform filtering can be used to convert the signal to the frequency domain, and the high-frequency noise can be weakened or eliminated by setting a threshold or filtering out the high-frequency components;

[0072] The data correction process is specifically as follows: pre-acquire the types of nonlinear effects that may exist in the detection data generated by different optical fiber detection modules, obtain the detection data and its source that completes the noise suppression, match the source of the detection data with the optical fiber detection module, and thus obtain the type of nonlinear effects of the detection data; select a preset correction model, group the detection data source, and use the algorithm corresponding to the preset correction model to estimate parameters; then calculate the correction data using the estimated parameters, and when the error between the correction data and the accurate data is less than or equal to the preset value, the detection data completes the data correction; conversely, when the error between the correction data and the accurate data is greater than the preset value, re-estimate the parameters and calculate the correction data until the error reaches the preset value;

[0073] The error calculation formula between the correction data and the accurate data is D = |D i -D j |, where D i For accurate data, D j To correct the data;

[0074] For example, when processing temperature data during the detection process, the fiber optic sensor may have deviations or nonlinear changes in the measurement results due to environmental influences, nonlinear sensitivity and other problems. At this time, a polynomial model can be selected for correction; collect a series of known temperature values ​​and corresponding sensor measurement values ​​as training data. These data cover various areas within the temperature range, including low temperature, medium temperature and high temperature areas, and then group the collected data by temperature; use the least squares method to estimate the coefficients of the polynomial model based on the training data, and then design the correction device or calculate the parameters required for correction based on the estimated polynomial coefficients.

[0075] Step 6: Send the processed test data to the result evaluation unit, which evaluates the optical fiber performance according to the test data and generates a visual test report;

[0076] The evaluation process is as follows: respectively obtain the preset values ​​of the indicators of the optical fiber detection module included in the detection scheme, and divide the preset values ​​into two sets, marked as the maximum indicator set A and the minimum indicator set B, and mark the data in the maximum indicator set A as The data in the minimum index set B are marked as The preset values ​​of the indicators in the maximum indicator set A are all the maximum values ​​of the corresponding detection module qualification indicators, and the preset values ​​of the indicators in the minimum indicator set B are all the minimum values ​​of the corresponding detection module qualification indicators;

[0077] Then obtain the detection data of the detection modules corresponding to the above maximum index set A and minimum index set B, and mark the detection data corresponding to the maximum index set A as The detection data corresponding to the minimum index set B are marked as The test data and the preset index values ​​are compared one by one. When the test data reaches the preset index, the optical fiber performance score corresponding to the test data is recorded as P1. Conversely, when the test data does not reach the preset index, the optical fiber performance score corresponding to the test data is recorded as P2. The specific method for judging whether the test data reaches the preset index is as follows: When Reach the preset target, otherwise, When Failure to reach the preset target; When Reach the preset target, otherwise, When Failure to meet the preset indicators, where 1≤i≤n, 1≤j≤m;

[0078] Calculate the performance evaluation result of the optical fiber to be tested under the selected detection scheme, where the calculation formula of the evaluation result is specifically:

[0079]

[0080] Where N is the number of fiber optic detection modules included in the detection solution, λ i is the weight coefficient corresponding to different detection modules in the scheme, and E i Provides fiber optic performance scores for different detection modules.

[0081] Step 7: The performance analysis unit collects optical fiber performance test data and evaluation results in real time. When the amount of collected data reaches a preset value, a optical fiber performance data model is constructed through a data mining algorithm. The construction of the optical fiber performance data model specifically includes the following steps:

[0082] S71. Collect the processed fiber detection data in real time and store them according to the fiber performance reflected by each data, and then mark the classified detection data as X1, X2, X3, ..., X n ;

[0083] S72. Randomly combine the n data sets mentioned above into n(n-1) / 2 test sets, and perform correlation analysis on the two data sets in each test set to determine whether the two data sets have significant correlation. When the two data sets in the test set have significant correlation, the test set is marked as a correlation set. Otherwise, when the two data sets in the test set do not have significant correlation, no processing is performed.

[0084] The correlation analysis process is as follows:

[0085] The two sets of data sets in each test set are marked as set X and set Y respectively, and whether the above sets X and set Y satisfy the normal distribution is determined by a normal distribution test, specifically, the SPSS software is called through the SPSS interface built in the performance analysis unit, the data of the data set to be tested is imported into SPSS, and the normal distribution significance level p of the data set is calculated using the calculation program built in SPSS, and the significance level is compared with the preset critical value. When p is greater than or equal to the critical value, the data set satisfies the normal distribution; otherwise, when p is less than the critical value, the data set does not satisfy the normal distribution;

[0086] Calculate the correlation coefficient between set X and set Y respectively; make a significance hypothesis for the calculated correlation coefficient, that is, set X and set Y have no correlation, and calculate the degree of freedom f of the data set, and obtain the corresponding critical value by looking up the table through the calculated degree of freedom; select the corresponding statistical test method according to the number of data in the data set to calculate the test statistic, wherein, when the number of data in the data set is less than the preset value, select the t test to calculate the test statistic; when the number of data in the data set is greater than the preset value, select the z test to calculate the test statistic; then judge whether to reject the significance hypothesis by comparing the test statistic with the critical value corresponding to the above degree of freedom, when the test statistic is greater than the critical value, reject the significance hypothesis, at this time, the above correlation coefficient is significant at the significance level, that is, there is a significant correlation between set X and set Y; when the test statistic is less than or equal to the critical value, the correlation coefficient is not significant at the significance level, that is, there is no significant correlation between set X and set Y;

[0087] Among them, when the data set satisfies the normal distribution, the correlation coefficient selects the Pearson correlation coefficient, and the specific formula is:

[0088]

[0089] Among them, r p is the Pearson correlation coefficient, n is the number of data, x i is the i-th value of set X, y i is the i-th value of set Y;

[0090] When the data set does not satisfy the normal distribution, the correlation coefficient is the Spearman correlation coefficient. The specific formula is:

[0091]

[0092] Among them, r s is the Spearman correlation coefficient, n is the number of data, d i is the difference between the data in set X and set Y, that is, d i =x i -y i ;

[0093] The degree of freedom calculation formula is: when the number of data in the data set is less than the preset value, f = n-2; when the number of data in the data set is greater than the preset value,

[0094] The test statistic calculation formula for the t-test is as follows:

[0095]

[0096] Among them, n is the number of data, r is the correlation coefficient

[0097] The test statistic calculation formula for the z test is as follows:

[0098]

[0099] S73. Obtain the data of the above-mentioned correlation set, and perform regression analysis on the two data sets contained in each correlation set one by one, and construct a functional relationship between the two data sets; wherein the process of regression analysis is specifically as follows: obtain the two data sets contained in the correlation set and mark them as independent variable X and dependent variable Y respectively, arrange the values ​​of the independent variable X and the dependent variable Y in time series respectively, and draw a function graph of the independent variable X and the dependent variable Y with the independent variable X as the horizontal coordinate and the dependent variable Y as the vertical coordinate; then select a preset function type according to the property of the function graph to fit the above-mentioned function graph to generate a functional relationship between the independent variable X and the dependent variable Y;

[0100] S74. Mark the functional relationship corresponding to each correlation set constructed above as an optical fiber performance data model, and classify and store them according to the type of dependent variable Y.

[0101] Step 8: When the user inputs the performance requirements of the optical fiber at the input end, the optical fiber recommendation unit recommends high-quality optical fibers that meet the requirements to the user through a preset matching algorithm; wherein the preset matching algorithm is specifically as follows:

[0102] The user can input the performance requirements of the required optical fiber at the input end, wherein the type of the performance requirements is consistent with the type of the above-mentioned dependent variable Y; the optical fiber recommendation unit signal is connected to the performance analysis unit, and when the above-mentioned performance requirements input by the user are obtained, the optical fiber performance data model corresponding to the performance requirements is called, and the optimal matching data is calculated by analyzing the functions in the model; then the existing optical fiber types and corresponding data are obtained, and the optical fiber types that match the optimal matching data are screened out and sent to the user end for the user to select;

[0103] Among them, the method of analyzing the function model to obtain the optimal matching data is specifically as follows: obtain the function expression and the corresponding function image in the model, determine whether the function has a maximum value or a minimum value through the function image, when the function has a maximum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the maximum value as the optimal matching data; when the function has a minimum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the minimum value as the optimal matching data; when the function does not have a maximum value or a minimum value, obtain the preset interval of the independent variable, calculate the maximum value or the minimum value of the dependent variable within the preset interval of the independent variable as the optimal matching data, wherein when the dependent variable is positively correlated with the optical fiber performance, take the maximum value, and when the dependent variable is negatively correlated with the optical fiber performance, take the minimum value.

[0104] In summary, the present invention identifies the user's detection needs through a module storage unit, and generates a detection plan for the user to choose through a preset demand matching algorithm; when the user confirms the detection plan, the fiber matching unit detects the optical fiber to be detected according to the detection module included in the detection plan, and the data collector collects the detection data in real time and stores it in categories during the detection process; when the detection process is completed, the data analysis unit obtains the detection data and performs noise reduction and correction processing on the detection data to improve the quality and accuracy of the detection data, and sends the processed data to the result evaluation unit for evaluation to generate a visual detection report; the performance analysis unit analyzes the historical detection data to construct a fiber performance data model, and the fiber recommendation unit calls the data model to recommend high-quality optical fibers to users, which greatly reduces the labor cost of optical fiber selection.

[0105] The size of the interval and threshold is set to facilitate comparison. The size of the threshold depends on the amount of sample data and the number of bases set by technical personnel in this field for each group of sample data; as long as it does not affect the proportional relationship between the parameter and the quantized value.

[0106] The above formulas are all dimensionless and numerical calculations. The formula is a formula obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0107] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. An optical fiber detection system, characterized in that: It includes user layer, detection layer and result layer; the user layer is used for user-side operation; the detection layer includes module storage unit, optical fiber detection unit and data collector; The result layer includes data analysis unit, result evaluation unit, performance analysis unit and fiber recommendation unit; The module storage unit stores preset optical fiber detection modules. After the user inputs the detection requirements, the module storage unit automatically generates a detection plan for the user to choose; When the user confirms the detection plan, the optical fiber detection unit detects the optical fiber to be detected according to the detection module included in the detection plan. The data collector signal is connected to the preset optical fiber detection module. During the detection process, the detection data is collected in real time and stored according to the data source. The data analysis unit is used to process and analyze the collected detection data and send the processed detection data to the result evaluation unit; the result evaluation unit evaluates the optical fiber performance through the processed detection data and generates a visual optical fiber detection report; The performance analysis unit is used to collect optical fiber detection data. When the optical fiber detection data reaches a preset amount, a optical fiber performance data model is constructed through a data mining algorithm. The optical fiber recommendation unit recommends high-quality optical fibers that match the user's usage requirements by calling the optical fiber performance data model and combining the optical fiber type and corresponding data. The specific working process of the module storage unit is as follows: Each preset optical fiber detection module in the module storage unit is a device that can detect a certain specific performance of the optical fiber, and different modules correspond to unique identifiers. When the user inputs the detection requirements at the input end, the module storage unit automatically generates a preset detection plan that matches the user's detection requirements, and then sends the generated preset detection plan and the corresponding detection function to the user display end for the user to select. When the user confirms the selection of the preset detection plan, the preset detection plan is marked as the detection plan, and the module storage unit sends the detection plan to the optical fiber detection unit; when the user does not select the preset detection plan recommended by the system, the user can select the detection module combination through the display end to generate a detection plan, and then send the detection plan to the optical fiber detection unit; Among them, the preset optical fiber detection modules include optical loss detection module, insertion loss detection module, reflection loss detection module, equal length detection module, bandwidth test module, mode coupling detection module, refractive index distribution measurement module, temperature and pressure sensing detection module; the detection scheme is a combination scheme of the detection modules required in the optical fiber detection process; The performance analysis unit constructs the optical fiber performance data model including the following steps: S71. Collect the processed optical fiber detection data in real time and store them according to the optical fiber performance reflected by each data, and then mark the classified detection data as ; S72. Randomly combine n data sets in pairs to form A test set is created. A correlation analysis is performed on the two data sets in each test set to determine whether the two data sets have a significant correlation. When the two data sets in the test set have a significant correlation, the test set is marked as a related set. Otherwise, no processing is performed when the two data sets in the test set do not have a significant correlation. Among them, correlation analysis was performed by Pearson correlation coefficient test and Spearman correlation coefficient test respectively; S73. Obtain the data of the above-mentioned correlation set, and perform regression analysis on the two data sets contained in each correlation set one by one, and construct a functional relationship between the two data sets; wherein the process of regression analysis is specifically as follows: obtain the two data sets contained in the correlation set and mark them as independent variable X and dependent variable Y respectively, arrange the values ​​of the independent variable X and the dependent variable Y in time series respectively, and draw a function graph of the independent variable X and the dependent variable Y with the independent variable X as the horizontal coordinate and the dependent variable Y as the vertical coordinate; then select a preset function type according to the property of the function graph to fit the above-mentioned function graph to generate a functional relationship between the independent variable X and the dependent variable Y; S74. Mark the functional relationship corresponding to each correlation set constructed above as an optical fiber performance data model, and classify and store them according to the type of dependent variable Y; The specific working process of the optical fiber recommendation unit is as follows: The user can input the performance requirements of the required optical fiber at the input end, where the type of performance requirements is consistent with the type of dependent variable Y; the optical fiber recommendation unit signal is connected to the performance analysis unit, and when the performance requirements input by the user are obtained, the optical fiber performance data model corresponding to the performance requirements is called, and the optimal matching data is calculated by analyzing the functions in the model; then the existing optical fiber types and corresponding data are obtained, and the optical fiber types that match the optimal matching data are screened out and sent to the user end for the user to select; Among them, the method of analyzing the function model to obtain the optimal matching data is specifically as follows: obtain the function expression and the corresponding function image in the model, determine whether the function has a maximum value or a minimum value through the function image, when the function has a maximum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the maximum value as the optimal matching data; when the function has a minimum value, calculate the values ​​of the independent variable and the dependent variable corresponding to the minimum value as the optimal matching data; when the function does not have a maximum value or a minimum value, obtain the preset interval of the independent variable, calculate the maximum value or the minimum value of the dependent variable within the preset interval of the independent variable as the optimal matching data, wherein when the dependent variable is positively correlated with the optical fiber performance, take the maximum value, and when the dependent variable is negatively correlated with the optical fiber performance, take the minimum value.

2. The optical fiber detection system according to claim 1, characterized in that: The process of automatically generating a preset detection plan includes the following steps: S31. Obtain keywords corresponding to the detection function of each detection module, and classify and store the corresponding keywords of the detection modules into the detection keyword library according to the identifiers of different modules; S32. Obtain the detection requirements input by the user, extract keywords in the detection requirements, and record the number of keywords extracted from the detection requirements as M; S33. Compare and search the M detection demand keywords extracted above with the keywords in the detection keyword library, and select the detection keywords corresponding to the M detection demand keywords respectively; S34. Mark the detection modules corresponding to the screened detection keywords, and then combine the marked detection modules to generate a preset detection solution.

3. The optical fiber detection system according to claim 2, characterized in that: The specific process of extracting keywords in the detection requirements is as follows: The detection requirement text input by the user is obtained, and the text is segmented according to Chinese grammar to split the text into m independent words and punctuation marks, and then the punctuation marks and stop words are removed, and the remaining M words are marked as detection requirement keywords.

4. The optical fiber detection system according to claim 1, characterized in that: The specific working process of the data analysis unit is as follows: The data analysis unit is connected to a data collector. When the detection process is finished, the detection data stored in the data collector is obtained, and noise suppression and data correction processing are performed on the detection data in turn. The noise suppression process is specifically as follows: obtaining the noise type in the detection data, selecting the corresponding noise reduction algorithm according to different noise types to perform noise reduction on the detection data, calculating the signal-to-noise ratio of the noise-reduced detection data, and when the signal-to-noise ratio is greater than or equal to a preset value, the detection data completes noise suppression; conversely, when the signal-to-noise ratio is less than the preset value, performing the noise suppression operation on the noise-reduced detection data again until the signal-to-noise ratio is greater than or equal to the preset value; The calculation formula of signal-to-noise ratio is: , where P s To detect the power of the data signal, P n is the noise power; The data correction process is specifically as follows: pre-acquire the types of nonlinear effects that may exist in the detection data generated by different optical fiber detection modules, obtain the detection data and its source that completes the noise suppression, match the source of the detection data with the optical fiber detection module, and thus obtain the type of nonlinear effects of the detection data; select a preset correction model, group the detection data source, and use the algorithm corresponding to the preset correction model to estimate parameters; then calculate the correction data using the estimated parameters, and when the error between the correction data and the accurate data is less than or equal to the preset value, the detection data completes the data correction; conversely, when the error between the correction data and the accurate data is greater than the preset value, re-estimate the parameters and calculate the correction data until the error reaches the preset value; The error calculation formula between the corrected data and the accurate data is: , where D i For accurate data, D j To correct the data.

5. The optical fiber detection system according to claim 1, characterized in that: The specific working process of the result evaluation unit is as follows: The result evaluation unit is connected to the data analysis unit by signal. When the test data completes the data analysis process, the result evaluation unit obtains the analyzed test data and the data source corresponding to the test data, and performs an overall evaluation on the above test data through the preset values ​​of the test indicators corresponding to the different optical fiber test modules obtained in advance, and then presents the evaluation results in the form of a visual report and sends it to the user end; The overall evaluation process is as follows: respectively obtain the preset values ​​of the indicators of the optical fiber detection module included in the detection scheme, and divide the preset values ​​into two sets, marked as the maximum indicator set A and the minimum indicator set B, and mark the data in the maximum indicator set A as , the data in the minimum index set B are marked as ; The preset values ​​of the indicators in the maximum indicator set A are all the maximum values ​​of the corresponding detection module qualification indicators, and the preset values ​​of the indicators in the minimum indicator set B are all the minimum values ​​of the corresponding detection module qualification indicators; Then obtain the detection data of the detection modules corresponding to the above maximum index set A and minimum index set B, and mark the detection data corresponding to the maximum index set A as , the detection data corresponding to the minimum index set B are marked as ; Compare the test data with the preset index values ​​one by one. When the test data reaches the preset index, the optical fiber performance score corresponding to the test data is recorded as P1. Conversely, when the test data does not reach the preset index, the optical fiber performance score corresponding to the test data is recorded as P2. The specific method for judging whether the test data reaches the preset index is as follows: when When Reach the preset target, otherwise, When Failure to reach the preset target; When Reach the preset target, otherwise, When Failure to meet the preset targets, including ; Calculate the performance evaluation result of the optical fiber to be tested under the selected detection scheme, where the calculation formula of the evaluation result is specifically: ; Where N is the number of fiber optic detection modules included in the detection solution, is the weight coefficient corresponding to different detection modules in the scheme, and , E i Provides fiber optic performance scores for different detection modules.

6. The optical fiber detection method of an optical fiber detection system according to any one of claims 1 to 5, characterized in that: It includes the following steps: Step 1: Obtain the user's testing requirements and analyze them, match the testing requirements with the preset testing modules to generate a testing plan; Step 2: Obtain a detection plan and detect the optical fiber to be detected according to the detection module included in the detection plan, and the data collector collects the detection data in real time during the detection process; Step 3: Perform noise suppression and data correction processing on the detection data in turn to improve the signal-to-noise ratio and accuracy of the detection data; Step 4: Obtain the processed test data, evaluate the test results using a preset evaluation algorithm, and generate a visual fiber test report; Step 5: Collect fiber optic detection data. When the amount of data reaches the preset amount, filter out fiber optic performance data with significant correlation through data mining algorithm, and build a fiber optic performance data model through regression analysis. Use the constructed data model to recommend high-quality optical fibers to users.