Optical fiber test data acquisition method and system based on industrial Internet platform
By detecting light transmission and reception at both ends of the optical fiber equipment, calculating the total length and abnormal points of the optical fiber, the problem of relying on manual fiber detection is solved, and the automatic detection of optical fiber and rapid fault positioning is realized, and detection efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202210183066.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-27
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-02-27
AI Technical Summary
In existing fiber optic equipment, fiber detection mainly relies on manual labor and cannot achieve online detection, resulting in low detection efficiency and cumbersomeness.
Using the fiber test data acquisition method based on the industrial Internet platform, the detection light is transmitted and received at both ends of the fiber, and the detection data is generated, and the total length and abnormal points of the fiber are calculated based on these data, and uploaded to the server for storage and analysis. ,辅助检测人员进行修复。
It realizes automatic detection of optical fibers, reduces manual intervention, improves detection efficiency, can judge fiber failure points in real time, and store and analyze data, supporting rapid maintenance of optical fibers.
Smart Images

Figure CN114674532B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data acquisition, and in particular, relates to a method and system for acquiring optical fiber test data based on an industrial Internet platform. Background Art
[0002] The Industrial Internet is a new type of infrastructure, application model and industrial ecology that is the result of the deep integration of the new generation of information and communication technology with the industrial economy. By fully connecting people, machines, objects, systems, etc., it has built a new manufacturing and service system covering the entire industrial chain and the entire value chain. It provides a way to realize the digitalization, networking and intelligent development of industry and even industries, and is an important cornerstone of the Fourth Industrial Revolution.
[0003] Fiber optic is short for optical fiber, which is a fiber made of glass or plastic that can be used as a light transmission tool. The tiny optical fiber is encapsulated in a plastic sheath, which allows it to bend without breaking. Usually, the transmitting device at one end of the optical fiber uses a light-emitting diode or a laser to transmit light pulses to the optical fiber, and the receiving device at the other end of the optical fiber uses a photosensitive element to detect the pulses.
[0004] In current optical fiber equipment, in order to ensure the stable use of optical fiber, it is necessary to detect the optical fiber to identify whether the optical fiber is in normal working condition. However, current optical fiber detection is mainly done manually, so online detection is not possible. Summary of the invention
[0005] The purpose of the embodiment of the present invention is to provide a method for collecting optical fiber test data based on an industrial Internet platform, aiming to solve the problems raised in the third part of the background technology.
[0006] The embodiment of the present invention is implemented as follows: a method for collecting optical fiber test data based on an industrial Internet platform, the method comprising:
[0007] Sending a detection light to one end of the optical fiber and receiving it at the other end of the optical fiber to generate first detection data, switching the detection end of the optical fiber, repeating the above steps to obtain second detection data, wherein the first detection data includes the light emission time, light reception time, light emission power and light reception power during the first detection, and the second detection data includes the light emission time, light reception time, light emission power and light reception power during the second detection;
[0008] Upload the first detection data and the second detection data, retrieve the preset optical fiber information data, and calculate the total length of the optical fiber;
[0009] Calculate and determine the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber;
[0010] The first detection data and the second detection data are retrieved, and the relevant data for calculating the total length of the optical fiber and determining the abnormal points of the optical fiber are stored in the server.
[0011] Preferably, the step of uploading the first detection data and the second detection data, retrieving the preset optical fiber information data, and calculating the total length of the optical fiber specifically includes:
[0012] Uploading the first detection data and the second detection data, and extracting the light emitting time and the light receiving time during the first detection and the light emitting time and the light receiving time during the second detection;
[0013] Retrieve the preset optical fiber information data, and query the corresponding theoretical power loss rate according to the current optical fiber type;
[0014] The time difference between two light transmissions and receptions is calculated and the length of the optical fiber is calculated based on this. The average is taken to obtain the total length of the optical fiber.
[0015] Preferably, the step of calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber specifically includes:
[0016] Retrieving the light emitting power and the light receiving power in the first detection data and the light emitting power and the light receiving power in the second detection data;
[0017] The distance between the optical fiber abnormal point and the optical fiber end is calculated based on the light emitting power and the light receiving power detected twice.
[0018] Preferably, the step of retrieving the first detection data and the second detection data, and storing the relevant data for calculating the total length of the optical fiber and determining the abnormal points of the optical fiber in the server specifically includes:
[0019] Read the time data of this test and determine the historical test with the shortest time from this test;
[0020] Retrieve the data corresponding to the historical test, compare the data with all the data of this test, and determine the difference value;
[0021] The difference values are stored and a fiber performance change curve is plotted.
[0022] Preferably, the stored data is encrypted when the data is stored.
[0023] Preferably, when the detection light cannot pass through the optical fiber, the detection is stopped.
[0024] Another object of an embodiment of the present invention is to provide an optical fiber test data acquisition system based on an industrial Internet platform, the system comprising:
[0025] An optical fiber detection module, used to send a detection light to one end of the optical fiber and receive it at the other end of the optical fiber, generate first detection data, switch the detection end of the optical fiber, repeat the above steps, and obtain second detection data, wherein the first detection data includes the light emission time, light reception time, light emission power and light reception power during the first detection, and the second detection data includes the light emission time, light reception time, light emission power and light reception power during the second detection;
[0026] A length calculation module, used to upload the first detection data and the second detection data, retrieve preset optical fiber information data, and calculate the total length of the optical fiber;
[0027] An abnormality positioning module, used for calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber;
[0028] The data acquisition module is used to retrieve the first detection data and the second detection data, and store the relevant data for calculating the total length of the optical fiber and determining the abnormal points of the optical fiber in the server.
[0029] Preferably, the length calculation module includes:
[0030] A data extraction unit, used for uploading the first detection data and the second detection data, and extracting the light emission time and the light reception time in the first detection and the light emission time and the light reception time in the second detection;
[0031] A data query unit, used to retrieve preset optical fiber information data, and query and obtain the corresponding theoretical power loss rate according to the current optical fiber type;
[0032] The data calculation unit is used to calculate the time difference between two light transmission and reception and calculate the length of the optical fiber based on it, and take the average to obtain the total length of the optical fiber.
[0033] Preferably, the abnormality locating module includes:
[0034] A data retrieving unit, used for retrieving the light emitting power and the light receiving power in the first detection data and the light emitting power and the light receiving power in the second detection data;
[0035] The distance calculation unit is used to calculate the distance between the optical fiber abnormal point and the optical fiber end according to the light emitting power and the light receiving power detected twice.
[0036] Preferably, the data acquisition module includes:
[0037] A historical information detection unit is used to read the time data of the current detection and determine the historical detection with the shortest time from the current detection;
[0038] A historical information retrieving unit is used to retrieve the data corresponding to the historical detection, compare the data with all the data of the current detection, and determine the difference value;
[0039] The data storage unit is used to store the difference value and draw the optical fiber performance change curve.
[0040] An optical fiber test data collection method based on an industrial Internet platform provided in an embodiment of the present invention actively collects test data by sending and receiving test light at both ends of the optical fiber respectively. After the collection is completed, the data is uploaded to the background, and the power loss of the currently tested optical fiber is calculated according to a preset formula, so as to preliminarily determine the fault point of the optical fiber, assist the test personnel in repairing it, avoid the tedious steps of manual processing throughout the process, and store the collected data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a method for collecting optical fiber test data based on an industrial Internet platform provided by an embodiment of the present invention;
[0042] Figure 2 A flowchart of the steps of uploading first detection data and second detection data, retrieving preset optical fiber information data, and calculating the total length of optical fiber provided in an embodiment of the present invention;
[0043] Figure 3 A flowchart of the steps of calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber provided in an embodiment of the present invention;
[0044] Figure 4 A flowchart of the steps of retrieving first detection data and second detection data, and storing data related to calculating the total length of the optical fiber and determining the abnormal point of the optical fiber in a server provided in an embodiment of the present invention;
[0045] Figure 5 An architecture diagram of an optical fiber test data acquisition system based on an industrial Internet platform provided by an embodiment of the present invention;
[0046] Figure 6 An architecture diagram of a length calculation module provided by an embodiment of the present invention;
[0047] Figure 7 An architecture diagram of an abnormality location module provided in an embodiment of the present invention;
[0048] Figure 8 An architectural diagram of a data acquisition module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0050] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0051] Fiber optic is short for optical fiber, which is a fiber made of glass or plastic that can be used as a light transmission tool. The tiny optical fiber is encapsulated in a plastic sheath, which allows it to bend without breaking. Usually, the transmitter at one end of the optical fiber uses a light-emitting diode or a laser to transmit light pulses to the optical fiber, and the receiver at the other end of the optical fiber uses a photosensitive element to detect the pulses. In current optical fiber equipment, in order to ensure the stable use of optical fiber, it is necessary to detect the optical fiber to determine whether the optical fiber is in normal working condition. However, current optical fiber detection is mainly done manually, so it is impossible to perform online detection.
[0052] An optical fiber test data collection method based on an industrial Internet platform provided in an embodiment of the present invention actively collects test data by sending and receiving test light at both ends of the optical fiber respectively. After the collection is completed, the data is uploaded to the background, and the power loss of the currently tested optical fiber is calculated according to a preset formula, so as to preliminarily determine the fault point of the optical fiber, assist the test personnel in repairing it, avoid the tedious steps of manual processing throughout the process, and store the collected data.
[0053] like Figure 1 As shown, it is a flowchart of a method for collecting optical fiber test data based on an industrial Internet platform provided by an embodiment of the present invention, and the method includes:
[0054] S100, sending a detection light to one end of the optical fiber and receiving it at the other end of the optical fiber to generate first detection data, switching the detection end of the optical fiber, repeating the above steps to obtain second detection data.
[0055] In this step, detection is performed using detection light, which can be red light. The light guiding property of the optical fiber is used to inject the detection light from one end of the optical fiber at a suitable incident angle. At this time, the light emission time and light emission power of this detection light are recorded, and the detection light is received at the other end of the optical fiber. At this time, the light reception time and light reception power of this detection light are recorded, and then the two ends of the optical fiber are turned around, that is, the detection light has an A end and a B end. The first detection light enters from the A end and is emitted from the B end. Then, after turning the light, the detection light enters from the B end and is emitted from the A end. Similarly, at this time, it is also necessary to record the power and time of the detection light to obtain the second detection data. The second detection data includes the light emission time, light reception time, light emission power and light reception power during the second detection; when the detection light cannot pass through the optical fiber, the detection is stopped.
[0056] S200, uploading the first detection data and the second detection data, retrieving preset optical fiber information data, and calculating the total length of the optical fiber.
[0057] In this step, the total length of the detected optical fiber is calculated. Since the detected optical fiber may be in a bent state, it is extremely difficult to measure it directly manually and the error is also high. The length of the optical fiber can be estimated based on the propagation time of the detection light in the optical fiber. Since the detection light does not propagate along a straight line in the optical fiber, it is constantly reflected and moved forward in the optical fiber. Therefore, the propagation speed of the light in the optical fiber can be measured before this. For example, an optical fiber with a fixed length L is set, and the time for the light to pass through the optical fiber is measured. The propagation speed of the optical fiber in the optical fiber can be obtained, and then the time difference between the two times the light passes through the optical fiber in the first detection data and the second detection data can be retrieved to calculate the total length of the two groups of optical fibers. The total length of the optical fiber is obtained by taking the average value.
[0058] S300, determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber.
[0059] In this step, the abnormal points of the optical fiber are determined. For the optical fiber, the welding quality of the welding point may be unqualified, which will cause the light loss here to increase. Therefore, the abnormal point can be estimated by the loss of light passing through the optical fiber in the forward and reverse directions, thereby helping the maintenance personnel to quickly locate the abnormal point.
[0060] S400, retrieve the first detection data and the second detection data, and store the data related to calculating the total length of the optical fiber and determining the abnormal points of the optical fiber in the server.
[0061] In this step, all data contained in the first detection data and the second detection data are retrieved, and at the same time, the total length of the optical fiber and the relevant data for determining the abnormal points of the optical fiber are retrieved. The relevant data are the parameters, data and calculated values involved in determining the abnormal points, etc. The above information needs to be stored. In order to reduce the amount of data stored, it can be stored in the form of storage variables. For example, based on the data of the first measurement, the change value of the data obtained by the second measurement compared with the first measurement is determined, so that only the change value is stored, avoiding the problem of large memory usage caused by storing all the data.
[0062] like Figure 2 As shown, as a preferred embodiment of the present invention, the steps of uploading the first detection data and the second detection data, retrieving the preset optical fiber information data, and calculating the total length of the optical fiber specifically include:
[0063] S201, uploading the first detection data and the second detection data, and extracting the light emitting time and the light receiving time during the first detection and the light emitting time and the light receiving time during the second detection.
[0064] In this step, the first detection data and the second detection data are uploaded to the background for data processing, and the light emission time and the light reception time of the first detection and the light emission time and the light reception time of the second detection are read. The time taken for the two detection lights to pass through the optical fiber can be calculated through the light emission time and the light reception time of the two detections.
[0065] S202, retrieve preset optical fiber information data, and query and obtain a corresponding theoretical power loss rate according to the current optical fiber type.
[0066] S203, calculating the time difference between two light transmission and reception times and calculating the length of the optical fiber based on the time difference, and taking the average to obtain the total length of the optical fiber.
[0067] In this step, the optical fiber information data includes the conversion speed of light propagation in the current type of optical fiber. Since the path of light propagation in the optical fiber is not a straight line, it is converted into the time taken for the light to pass through a unit length of optical fiber. The above value is the conversion speed of light propagation in the optical fiber. The length of the optical fiber is calculated based on the time taken for the light to pass through the optical fiber twice, and the total length of the optical fiber is obtained by taking the average value.
[0068] like Figure 3 As shown, as a preferred embodiment of the present invention, the step of calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber specifically includes:
[0069] S301, retrieve the light emitting power and light receiving power in the first detection data and the light emitting power and light receiving power in the second detection data.
[0070] S302, calculating the distance between the optical fiber abnormal point and the optical fiber end according to the light emitting power and the light receiving power detected twice.
[0071] In this step, the light emitting power and light receiving power in the first detection data and the light emitting power and light receiving power in the second detection data are retrieved. Since there will be losses when the light propagates in the optical fiber, the incident power and the output power of the light are different, and the normal propagation loss rate of the light in the optical fiber is certain. If there is an abnormal point in the optical fiber, there will be additional losses here. At this time, there are three losses of light in the optical fiber. For example, the optical fiber is divided into segment a and segment b by the abnormal point, and c is the connection between segment a and segment b, that is, c is the abnormal point. Then the loss is divided into three parts, respectively in segment a, segment b and point c. The loss value of point c is set as an unknown parameter, and the length of segment a is set as an unknown parameter. Since two positive and negative tests are performed, two sets of equations and two unknown parameters can be obtained. The binary equation can be solved to determine the length of segment a, and the position of the corresponding abnormal point c is also determined accordingly.
[0072] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of retrieving the first detection data and the second detection data, and storing the relevant data for calculating the total length of the optical fiber and determining the abnormal point of the optical fiber in the server specifically includes:
[0073] S401, reading the time data of the current detection, and determining the historical detection with the shortest time from the current detection.
[0074] In this step, the time data of this test is read, that is, the current date is determined, and then the historical data is consulted to determine the historical test with the shortest time from the current test.
[0075] S402, retrieve the data corresponding to the historical test, compare the data with all the data of the current test, and determine the difference value.
[0076] In this step, the data corresponding to the historical detection is retrieved. Specifically, the time taken for the light to pass through the optical fiber and the power loss after passing through the optical fiber of the two detections are compared to calculate the difference.
[0077] S403, storing the difference value and drawing a fiber performance change curve.
[0078] In this step, the difference value is stored and a fiber performance change curve is drawn. By drawing the fiber performance change curve, the change of fiber performance can be evaluated so as to facilitate timely maintenance and replacement; the stored data is encrypted during data storage.
[0079] like Figure 5 As shown, an optical fiber test data acquisition system based on an industrial Internet platform is provided in an embodiment of the present invention, and the system includes:
[0080] The optical fiber detection module 100 is used to send detection light to one end of the optical fiber and receive it at the other end of the optical fiber to generate first detection data, switch the detection end of the optical fiber, repeat the above steps, and obtain second detection data.
[0081] In this system, the optical fiber detection module 100 uses detection light for detection. The detection light can be red light. The light guiding property of the optical fiber is used to inject the detection light from one end of the optical fiber at a suitable incident angle. At this time, the light emission time and light emission power of this detection light are recorded, and the detection light is received at the other end of the optical fiber. At this time, the light reception time and light reception power of this detection light are recorded, and then the two ends of the optical fiber are turned, that is, the detection light has an A end and a B end. The first detection light enters from the A end and is emitted from the B end. Then, after turning the light, the detection light enters from the B end and is emitted from the A end. Similarly, at this time, it is also necessary to record the power and time of the detection light to obtain the second detection data. The second detection data includes the light emission time, light reception time, light emission power and light reception power during the second detection.
[0082] The length calculation module 200 is used to upload the first detection data and the second detection data, retrieve the preset optical fiber information data, and calculate the total length of the optical fiber.
[0083] In this system, the length calculation module 200 calculates the total length of the detected optical fiber. Since the detected optical fiber may be in a bent state, it is extremely difficult to measure it directly manually and the error is also high. The length of the optical fiber can be estimated based on the propagation time of the detection light in the optical fiber. Since the detection light does not propagate along a straight line in the optical fiber, it is constantly reflected and moved forward in the optical fiber. Therefore, the propagation speed of the light in the optical fiber can be measured before this. For example, an optical fiber with a fixed length L is set, and the time for the light to pass through the optical fiber is measured. The propagation speed of the optical fiber in the optical fiber can be obtained, and then the time difference between the two times the light passes through the optical fiber in the first detection data and the second detection data can be retrieved to calculate the total length of the two groups of optical fibers. The total length of the optical fiber is obtained by taking the average value.
[0084] The abnormality locating module 300 is used to calculate and determine the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber.
[0085] In this system, the abnormality positioning module 300 determines the abnormal point of the optical fiber. For the optical fiber, there may be a situation where the welding quality of the welding point is unqualified, which will cause the loss of light here to increase. Therefore, the abnormal point can be estimated by the loss of light passing through the optical fiber in the forward and reverse directions, thereby providing assistance to the maintenance personnel and helping them to quickly locate the abnormal point.
[0086] The data acquisition module 400 is used to retrieve the first detection data and the second detection data, and store the relevant data for calculating the total length of the optical fiber and determining the abnormal points of the optical fiber in the server.
[0087] In the present system, the data acquisition module 400 retrieves all the data contained in the first detection data and the second detection data, and at the same time retrieves the total length of the optical fiber and the relevant data for determining the abnormal points of the optical fiber. The relevant data are the parameters, data and calculated values involved in determining the abnormal points, etc. The above information needs to be stored. In order to reduce the amount of data stored, it can be stored in the form of storage variables. For example, based on the data of the first measurement, the change value of the data obtained by the second measurement compared with the first measurement is determined, so that only the change value is stored, avoiding the problem of large memory usage caused by storing all the data.
[0088] like Figure 6 As shown, as a preferred embodiment of the present invention, the length calculation module 200 includes:
[0089] The data extraction unit 201 is used to upload the first detection data and the second detection data, and extract the light emitting time and the light receiving time during the first detection and the light emitting time and the light receiving time during the second detection.
[0090] In this module, the data extraction unit 201 uploads the first detection data and the second detection data to the background for data processing, and reads the light emission time and the light reception time during the first detection and the light emission time and the light reception time during the second detection. The time taken for the two detection lights to pass through the optical fiber can be calculated through the light emission time and the light reception time of the two detections.
[0091] The data query unit 202 is used to retrieve preset optical fiber information data and query and obtain the corresponding theoretical power loss rate according to the current optical fiber type.
[0092] The data calculation unit 203 is used to calculate the time difference between two light transmission and reception times and calculate the length of the optical fiber based on the time difference, and take the average to obtain the total length of the optical fiber.
[0093] In this module, the optical fiber information data includes the conversion speed of light propagation in the current type of optical fiber. Since the path of light propagation in the optical fiber is not a straight line, it is converted into the time it takes for the light to pass through a unit length of optical fiber. The above value is the conversion speed of light propagation in the optical fiber. The length of the optical fiber is calculated based on the time it takes for the light to pass through the optical fiber twice, and the total length of the optical fiber is obtained by taking the average value.
[0094] like Figure 7 As shown, as a preferred embodiment of the present invention, the abnormality locating module 300 includes:
[0095] The data retrieving unit 301 is used to retrieve the light emitting power and the light receiving power in the first detection data and the light emitting power and the light receiving power in the second detection data.
[0096] The distance calculation unit 302 is used to calculate the distance between the optical fiber abnormal point and the optical fiber end according to the light emission power and the light reception power detected twice.
[0097] In this module, the light emitting power and light receiving power in the first detection data and the light emitting power and light receiving power in the second detection data are retrieved. Since there will be losses when the light propagates in the optical fiber, the incident power and the output power of the light are different, and the normal propagation loss rate of the light in the optical fiber is certain. If there is an abnormal point in the optical fiber, there will be additional losses here. At this time, there are three losses of the light in the optical fiber. For example, the optical fiber is divided into segment a and segment b by the abnormal point, and c is the connection between segment a and segment b, that is, c is the abnormal point. Then the loss is divided into three parts, respectively in segment a, segment b and point c. The loss value of point c is set as an unknown parameter, and the length of segment a is set as an unknown parameter. Since two positive and negative tests are performed, two sets of equations and two unknown parameters can be obtained. The binary equation can be solved to determine the length of segment a, and the position of the corresponding abnormal point c is also determined accordingly.
[0098] like Figure 8 As shown, as a preferred embodiment of the present invention, the data acquisition module 400 includes:
[0099] The historical information detection unit 401 is used to read the time data of the current detection and determine the historical detection with the shortest time from the current detection.
[0100] In this module, the historical information detection unit 401 reads the time data of this detection, that is, determines the current date, and then consults the historical data to determine the historical detection with the shortest time from the current detection.
[0101] The historical information retrieving unit 402 is used to retrieve the data corresponding to the historical detection, compare the data with all the data of the current detection, and determine the difference value.
[0102] In this module, the historical information retrieving unit 402 retrieves the data corresponding to the historical detection, specifically, compares the time taken for the light to pass through the optical fiber and the power loss after passing through the optical fiber for two detections, thereby calculating the difference.
[0103] The data storage unit 403 is used to store the difference value and draw a fiber performance change curve.
[0104] In this module, the data storage unit 403 stores the difference value and draws the optical fiber performance change curve. By drawing the optical fiber performance change curve, the change of optical fiber performance can be evaluated so as to facilitate timely maintenance and replacement; the stored data is encrypted during data storage.
[0105] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0106] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0107] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0108] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for collecting optical fiber test data based on an industrial Internet platform, characterized in that: The method comprises: Send a detection light to one end of the optical fiber and receive it at the other end of the optical fiber to generate first detection data, switch the detection end of the optical fiber, repeat the above steps to obtain second detection data, the first detection data includes the light emission time, light reception time, light emission power and light reception power of the first detection, and the second detection data includes the light emission time, light reception time, light emission power and light reception power of the second detection; upload the first detection data and the second detection data, retrieve the preset optical fiber information data, and calculate the total length of the optical fiber; calculate and determine the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber; retrieve the first detection data and the second detection data, and store the relevant data for calculating the total length of the optical fiber and determining the abnormal point of the optical fiber in the server; The steps of uploading the first detection data and the second detection data, retrieving the preset optical fiber information data, and calculating the total length of the optical fiber specifically include: Uploading the first detection data and the second detection data, and extracting the light emitting time and the light receiving time during the first detection and the light emitting time and the light receiving time during the second detection; Retrieving preset optical fiber information data, and obtaining the corresponding theoretical power loss rate according to the current optical fiber type; the optical fiber information data includes the conversion speed of light propagation in the current type of optical fiber, and the conversion speed of light propagation in the optical fiber is the time taken for light to pass through a unit length of optical fiber; Calculate the time difference between the two light transmission and reception and use it to calculate the length of the optical fiber. Then take the average to get the total length of the optical fiber. The step of calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber specifically includes: Retrieving the light emitting power and the light receiving power in the first detection data and the light emitting power and the light receiving power in the second detection data; The distance between the abnormal point of the optical fiber and the end of the optical fiber is calculated according to the light emitting power and the light receiving power detected twice, and then the abnormal point of the optical fiber is obtained. The specific calculation method of the abnormal point of the optical fiber is as follows: there is loss when the light propagates in the optical fiber, and the normal propagation loss rate of the light in the optical fiber is determined. The normal propagation loss rate is the theoretical power loss rate. When there is an abnormal point c in the optical fiber, the optical fiber is divided into a section a and b by the abnormal point. At this time, the loss of the light when propagating in the optical fiber is divided into three parts, respectively in section a, section b and point c. The loss value of point c and the length of section a are set as unknown parameters. Since two positive and negative detections are performed, two sets of equations are established with the two unknown parameters. The length of section a is obtained by solving the binary equation, and then the position of the abnormal point c is obtained. The step of retrieving the first detection data and the second detection data, and storing the relevant data for calculating the total length of the optical fiber and determining the abnormal point of the optical fiber in the server specifically includes: Read the time data of this test and determine the historical test with the shortest time from this test; The data corresponding to the historical test is retrieved, and the data is compared with all the data of this test to determine the difference value; the difference value is stored, and a fiber performance change curve is drawn.
2. The optical fiber test data acquisition method based on the industrial Internet platform according to claim 1 is characterized in that: The stored data is encrypted during storage.
3. The optical fiber test data acquisition method based on the industrial Internet platform according to claim 1 is characterized in that: When the detection light cannot pass through the optical fiber, the detection stops.
4. An optical fiber test data acquisition system for the optical fiber test data acquisition method based on the industrial Internet platform according to claim 1, characterized in that: The system comprises: An optical fiber detection module, used to send a detection light to one end of the optical fiber and receive it at the other end of the optical fiber, generate first detection data, switch the detection end of the optical fiber, repeat the above steps, and obtain second detection data, wherein the first detection data includes the light emission time, light reception time, light emission power and light reception power during the first detection, and the second detection data includes the light emission time, light reception time, light emission power and light reception power during the second detection; A length calculation module, used to upload the first detection data and the second detection data, retrieve preset optical fiber information data, and calculate the total length of the optical fiber; An abnormality positioning module, used for calculating and determining the abnormal point of the optical fiber according to the first detection data, the second detection data and the total length of the optical fiber; The data acquisition module is used to retrieve the first detection data and the second detection data, and store the relevant data for calculating the total length of the optical fiber and determining the abnormal points of the optical fiber in the server. The length calculation module comprises: A data extraction unit, used for uploading the first detection data and the second detection data, and extracting the light emission time and the light reception time in the first detection and the light emission time and the light reception time in the second detection; A data query unit, used to retrieve preset optical fiber information data, and query and obtain the corresponding theoretical power loss rate according to the current optical fiber type; The data calculation unit is used to calculate the time difference between two light transmission and reception and calculate the length of the optical fiber based on this, and take the average to obtain the total length of the optical fiber. The abnormality positioning module includes: A data retrieving unit, used for retrieving the light emitting power and the light receiving power in the first detection data and the light emitting power and the light receiving power in the second detection data; The distance calculation unit is used to calculate the distance between the optical fiber abnormal point and the optical fiber end according to the light emission power and light reception power detected twice. The data acquisition module comprises: A historical information detection unit is used to read the time data of the current detection and determine the historical detection with the shortest time from the current detection; A historical information retrieving unit is used to retrieve the data corresponding to the historical detection, compare the data with all the data of the current detection, and determine the difference value; The data storage unit is used to store the difference value and draw the optical fiber performance change curve.
Citation Information
Patent Citations
Optical fiber test data collection method based on industrial internet platform
CN109510720A
Optical fiber test data processing method and device, computer device and storage medium
CN110149143A
Optical fiber testing method and device
CN110690920A
Long-distance optical fiber detection method, device, equipment and system and storage medium
CN111490818A