A cable connection detection method, system, electronic device and storage medium
By predicting the waveform changes after fiber optic cable access and constructing an ideal waveform for comparison, the problem of relying on manual experience in traditional fiber optic cable connection detection is solved, and efficient and accurate fiber optic network deployment is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG ALTRATEK COMM TECH CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-07-21
AI Technical Summary
Traditional fiber optic cable connection testing relies on manual experience, resulting in low maintenance efficiency and a high risk of misjudgment, which affects the automation and intelligence level of fiber optic network deployment.
By acquiring the original waveform and cable parameters of the backbone fiber optic cable, the waveform change after the fiber optic cable under test is connected can be predicted, an ideal waveform can be constructed and compared with the actual waveform, so as to achieve accurate prediction of the fiber optic connection status and reduce manual intervention.
It improves the efficiency and accuracy of fiber optic cable connection testing, shortens testing time, adapts to the testing needs of different specifications of fiber optic cables and interfaces, and enhances the automation and intelligence level of fiber optic networks.
Smart Images

Figure CN122437600A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fiber optic maintenance technology, and more specifically, to a cable connection detection method, system, electronic device, and storage medium. Background Technology
[0002] With the continuous development of fiber optic technology, the service coverage of fiber optic networks is constantly expanding, and the demand for fiber optic access in various new service scenarios is experiencing explosive growth. Against this backdrop, whenever the network is expanded or a new user activates a service, new fiber optic cables need to be connected. The backend operations and maintenance center must test these newly connected fiber optic cables to ensure the quality of optical signal transmission and network stability. This process constitutes a core aspect of fiber optic network deployment.
[0003] Traditional fiber optic cable connection testing typically involves maintenance personnel using handheld instruments to test the connected fiber optic cables after they have been installed, and then manually judging the test results. This testing method is cumbersome, leading to low maintenance efficiency and being prone to misjudgment due to its heavy reliance on human experience, which seriously affects the automation and intelligence level of fiber optic network deployment. Summary of the Invention
[0004] This invention provides a cable connection detection method, system, electronic device, and storage medium to effectively improve the efficiency and accuracy of fiber optic cable connection detection, thereby enhancing the automation and intelligence level of fiber optic network deployment.
[0005] According to a first aspect of this application, a cable connection detection method is provided, the method comprising: Based on the target interface that the fiber optic cable to be tested needs to access, obtain the backbone fiber optic cable corresponding to the fiber optic cable to be tested. The original waveforms of the main optical fiber cable and its downstream optical fiber cables are collected through the main optical fiber cable. Extract the cable parameters of the fiber optic cable to be tested and the configuration parameters of the target interface; Based on the cable parameters, the configuration parameters, and the original waveform, predict the waveform change of the original waveform after the fiber optic cable to be detected is connected; Based on the original waveform and the waveform change, obtain the ideal waveform of the main optical fiber cable and its downstream optical fiber cable after the optical fiber cable to be tested is connected; The actual waveforms of the main optical fiber cable and its downstream optical fiber cables are collected after the optical fiber cable under test is connected through the main optical fiber cable. The connection status of the fiber optic cable to be tested is determined based on the actual waveform and the ideal waveform.
[0006] By using the original waveform of the backbone fiber optic cable, the cable parameters of the fiber optic cable under test, and the configuration parameters of the target interface, the waveform changes after the fiber optic cable under test is connected are predicted and an ideal waveform is constructed. This ideal waveform is then compared with the actual waveform to determine the connection status. This achieves accurate prediction and verification of the fiber optic connection status. It eliminates the need for subjective interpretation of the waveform based on human experience. During the connection process of the fiber optic cable under test, the device already connected to the backbone fiber optic cable automatically predicts the ideal waveform and compares it with the actual waveform, avoiding detection deviations caused by human interpretation errors in traditional testing. Furthermore, the connection status assessment can be completed without additional physical adjustments, significantly reducing testing time and effectively improving the efficiency and accuracy of fiber optic cable connection testing. In addition, the parameterized prediction and automated comparison throughout the entire process reduce manual intervention and can adapt to the testing needs of different specifications of fiber optic cables and interfaces, thereby improving the automation and intelligence level of fiber optic network deployment.
[0007] Optionally, predicting the waveform change of the original waveform after the fiber optic cable under test is connected, based on the cable parameters, the configuration parameters, and the original waveform, includes: Based on the cable parameters and the configuration parameters, predict the ideal incremental waveform of the original waveform after the fiber optic cable to be detected is connected; Based on the original waveform, predict the noise waveform corresponding to the ideal incremental waveform; The waveform change is obtained by fusing the ideal incremental waveform and the noise waveform.
[0008] By predicting the ideal incremental waveform and the noise waveform, and fusing the ideal incremental waveform with the noise waveform, the resulting waveform change can include the noise of the environment to which the fiber optic cable to be tested will be connected. This makes the waveform change closer to the waveform of the fiber optic cable to be tested after connection, providing a more sufficient data basis for subsequent judgment of the actual waveform.
[0009] Optionally, predicting the ideal incremental waveform of the original waveform after the fiber optic cable under test is connected, based on the cable parameters and the configuration parameters, includes: Based on the configuration parameters, the ideal intensity of the optical signal entering the optical fiber cable to be tested is obtained; Based on the ideal intensity of the optical signal and the cable parameters, the transmission trajectory of the optical signal in the optical fiber cable to be tested is predicted, and the ideal incremental waveform is constructed based on the transmission trajectory.
[0010] By combining the ideal intensity of the optical signal and the cable parameters, the transmission trajectory of the optical signal in the optical fiber cable under test can be accurately predicted. Then, based on the transmission trajectory, an ideal incremental waveform containing backscattering characteristics can be constructed. This can accurately simulate the actual transmission process of the optical signal in the optical fiber cable under test based on the physical transmission law, ensuring that the constructed ideal incremental waveform can truly reflect the signal change characteristics after the optical fiber cable under test is connected, and providing reliable data support for accurately judging the connection status of the optical fiber cable under test.
[0011] Optionally, predicting the noise waveform corresponding to the ideal incremental waveform based on the original waveform includes: The interface position of the target interface on the original waveform is determined based on the trunk optical fiber cable; Based on the interface location, extract waveform segments of a preset window from the original waveform; The waveform segment is processed by a pre-trained noise prediction model to generate a noise waveform that matches the length of the ideal incremental waveform.
[0012] By determining the interface position of the target interface on the original waveform based on the backbone fiber optic cable, and extracting waveform segments of a preset window from the original waveform accordingly, it is possible to accurately locate and obtain local waveform data directly related to the scene to be detected. Then, the waveform segments are processed by a pre-trained noise prediction model to generate a noise waveform that matches the length of the ideal incremental waveform, providing a reliable foundation for superimposing the noise waveform onto the ideal incremental waveform and constructing an ideal waveform that is closer to the real scene.
[0013] Optionally, before the step of obtaining the ideal waveform of the backbone fiber optic cable and its downstream fiber optic cables after the fiber optic cable under test is connected based on the original waveform and the waveform change, the method further includes: Based on the interface location, determine the end reflection event region in the original waveform that is located after the interface location and corresponds to the target interface; The reflected waveforms in the end reflection event region are eliminated.
[0014] By eliminating the reflected waveform in the end reflection event region, the strong reflection signal generated by the target interface in the original waveform can be accurately located and removed, thus avoiding interference from the reflected waveform to the subsequently constructed ideal waveform.
[0015] Optionally, extracting a waveform segment of a preset window from the original waveform based on the interface location includes: If the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the waveform segment closest to the interface position is extracted through the preset window before the interface position of the original waveform. Otherwise, at the original waveform position after the interface position and at a preset distance from the interface position, the waveform segment is extracted through the preset window.
[0016] By differentiating the waveform segment extraction position based on whether the fiber optic cable under test is the only fiber optic cable downstream of the trunk fiber optic cable: when the fiber optic cable under test is the only fiber optic cable downstream of the trunk fiber optic cable, the waveform segment closest to the interface position is extracted from before the interface position; when the fiber optic cable under test is not the only one, the waveform segment is extracted from a position at a preset distance from the interface position after the interface position. This can avoid the reflection event area and obtain real noise data, providing a reliable basis for subsequently constructing an ideal waveform that fits the actual scenario.
[0017] Optionally, determining the connection status of the fiber optic cable under test based on the actual waveform and the ideal waveform includes: Calculate the similarity between the actual waveform and the ideal waveform; If the similarity exceeds a preset similarity threshold, the fiber optic cable to be tested is determined to be connected normally; otherwise, the fiber optic cable to be tested is determined to be connected abnormally.
[0018] By using quantitative similarity calculations and clear threshold determinations, the objective and accurate judgment of the connection status of the fiber optic cables under test is achieved, avoiding the errors of subjective human judgment. It can quickly and accurately identify whether the connection of the fiber optic cables under test is normal, providing reliable connection status detection results for fiber optic network deployment.
[0019] Optionally, obtaining the ideal waveform of the backbone fiber optic cable and its downstream fiber optic cables after the fiber optic cable under test is connected, based on the original waveform and the waveform change, includes: If the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the portion of the original waveform located after the interface position is replaced with the waveform change amount to obtain the ideal waveform; Otherwise, the original waveform and the waveform change are aligned according to the interface position, and the aligned original waveform and the waveform change are superimposed to obtain the ideal waveform.
[0020] By differentiating the ideal waveform construction method based on whether the fiber optic cable to be tested is the only fiber optic cable under the backbone fiber optic cable: if it is the only fiber optic cable, the part of the original waveform after the interface position is replaced with the waveform change amount; if it is not the only one, the original waveform and the waveform change amount are aligned according to the interface position and then superimposed, so that this application can adapt to different fiber optic access scenarios and accurately construct an ideal waveform that fits the actual transmission situation.
[0021] According to a second aspect of this application, a cable connection detection system is provided, the system comprising: The backbone line acquisition module is used to acquire the backbone fiber optic cable corresponding to the fiber optic cable to be tested based on the target interface that the fiber optic cable to be tested needs to access. The waveform acquisition module is used to acquire the original waveforms of the main optical fiber cable and its downstream optical fiber cables through the main optical fiber cable; The parameter extraction module is used to extract the cable parameters of the optical fiber cable to be tested and the configuration parameters of the target interface; The waveform prediction module is used to predict the waveform change of the original waveform after the optical fiber cable to be tested is connected, based on the cable parameters, the configuration parameters and the original waveform. An ideal waveform acquisition module is used to acquire the ideal waveform of the main optical fiber cable and its downstream optical fiber cables after the optical fiber cable to be tested is connected, based on the original waveform and the waveform change amount. The actual waveform acquisition module is used to acquire the actual waveform of the main optical fiber cable and its downstream optical fiber cables after the optical fiber cable to be tested is connected through the main optical fiber cable. The connection status determination module is used to determine the connection status of the fiber optic cable to be tested based on the actual waveform and the ideal waveform.
[0022] According to a third aspect of this application, an electronic device is provided, comprising: Memory, used to store one or more computer programs; A processor, when the one or more computer programs are executed by the processor, implements the cable connection detection method described in the first aspect above.
[0023] According to a fourth aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the cable connection detection method described in the first aspect above.
[0024] Based on any of the above aspects, the cable connection detection method, system, electronic device, and computer storage medium provided in this application predict the waveform change after the fiber optic cable under test is connected, construct an ideal waveform, and then compare it with the actual waveform to determine the connection status. This achieves accurate prediction and verification of the fiber optic connection status. It eliminates the need for subjective interpretation of the waveform based on human experience. During the connection process of the fiber optic cable under test, the device already connected to the backbone fiber optic cable automatically predicts the ideal waveform and compares it with the actual waveform, avoiding detection deviations caused by human interpretation errors in traditional detection. Furthermore, it eliminates the need for additional physical adjustments to complete the connection status assessment, significantly reducing detection time and effectively improving the efficiency and accuracy of fiber optic cable connection detection. In addition, the parameterized prediction and automated comparison throughout the entire process reduce manual intervention, adapting to the detection needs of different specifications of fiber optic cables and interfaces, thereby improving the automation and intelligence level of fiber optic network deployment. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart illustrating the steps of the cable connection detection method provided in this embodiment.
[0027] Figure 2 This is a schematic diagram of the steps for obtaining waveform changes provided in this embodiment.
[0028] Figure 3 This is a schematic diagram of the functional modules of the cable connection detection system provided in this embodiment.
[0029] Figure 4 This is a schematic diagram of the device structure of the electronic device provided in this embodiment. Detailed Implementation
[0030] The accompanying drawings are for illustrative purposes only and should not be construed as limiting the scope of this application. To better illustrate the following embodiments, some components in the drawings may be omitted, enlarged, or reduced, and do not represent the actual dimensions of the product; it is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0031] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] With the continuous development of fiber optic technology, the service coverage of fiber optic networks is constantly expanding, and the demand for fiber optic access in various new service scenarios is experiencing explosive growth. Against this backdrop, whenever the network is expanded or a new user activates a service, new fiber optic cables need to be connected. The backend operations and maintenance center must test these newly connected fiber optic cables to ensure the quality of optical signal transmission and network stability. This process constitutes a core aspect of fiber optic network deployment.
[0034] Traditional fiber optic cable connection testing typically involves maintenance personnel using handheld instruments to test the connected fiber optic cables after they have been installed, and then manually judging the test results. This testing method is cumbersome, leading to low maintenance efficiency and being prone to misjudgment due to its heavy reliance on human experience, which seriously affects the automation and intelligence level of fiber optic network deployment.
[0035] This embodiment provides a technical solution that can solve the above problems. The specific implementation of this application will be described in detail below with reference to the accompanying drawings.
[0036] like Figure 1 As shown, this embodiment provides a cable connection detection method, which may include the following steps: S1: Based on the target interface that the fiber optic cable to be tested needs to access, obtain the backbone fiber optic cable corresponding to the fiber optic cable to be tested. In this embodiment, the backbone fiber optic cable can be understood as a high-capacity fiber optic cable connecting equipment rooms and undertaking the core optical signal transmission task. As the core backbone of the fiber optic network, the backbone fiber optic cable is responsible for establishing high-speed and stable optical signal transmission channels between different equipment rooms, equipment rooms, or telecommunications rooms, aggregating and carrying data, voice, and image traffic from various areas. The fiber optic cable under test is a branch or extension of the backbone fiber optic cable, undertaking the function of optical signal transmission.
[0037] The fiber optic cable under test and its corresponding trunk fiber optic cable are typically connected via a splitter. As a core passive device in the optical distribution network, the splitter can divide the optical signal transmitted by the trunk fiber optic cable into multiple independent optical signal output branches according to a preset ratio. The fiber optic cable under test, as an extension of one of these output branches, is physically connected to the trunk fiber optic cable through an interface on the splitter.
[0038] The target interface is the interface on the optical splitter that is pre-assigned to the optical fiber cable under test. It is used to achieve precise alignment and fixation of the fiber cores of the trunk optical fiber cable and the optical fiber cable under test, so as to ensure that the optical signal can be stably transmitted from the trunk optical fiber cable to the optical fiber cable under test after being split by the optical splitter.
[0039] The objective of this embodiment is to verify the fiber optic cable under test and its corresponding trunk fiber optic cable. To this end, it is necessary to first determine the fiber optic cable under test and its corresponding trunk fiber optic cable. Understandably, in this embodiment, the corresponding optical splitter can be determined through the target interface to which the fiber optic cable under test needs to be connected, and the trunk fiber optic cable corresponding to the fiber optic cable under test can be determined based on the optical splitter.
[0040] S2: Collect the original waveforms of the main optical fiber cable and its downstream optical fiber cables through the main optical fiber cable; In this embodiment, once the backbone fiber optic cable corresponding to the fiber optic cable to be tested is determined, an optical time-domain reflectometry (OTDR) device can be connected upstream of the backbone fiber optic cable. Preferably, the OTDR device can be connected upstream of the backbone fiber optic cable in the main equipment room, so that the connection detection of the fiber optic cable to be tested can be directly achieved through the main equipment room. After connecting the OTDR device, a probe light pulse can be emitted to the backbone fiber optic cable through the OTDR device, and the backscattered light signal and reflected signal returned from the entire link of the backbone fiber optic cable and its downstream fiber optic cables can be received. By sampling and photoelectric conversion of these signals, an OTDR curve is finally generated, which reflects the superposition of the loss and reflection characteristics of the backbone fiber optic cable and its downstream fiber optic cables at various locations when the fiber optic cable to be tested is not connected. This curve is the original waveform.
[0041] Understandably, before the fiber optic cable to be tested is connected to the target interface, the fiber optic cable connection status of the trunk fiber optic cable at the splitter where the target interface is located can be divided into two types. The first type is that no fiber optic cable is connected to the splitter, that is, no fiber optic cable is connected downstream of the trunk fiber optic cable. The second type is that other fiber optic cables besides the fiber optic cable to be tested have been connected to the splitter.
[0042] In the first scenario, the probe light pulse from the backbone fiber optic cable terminates at the splitter port and does not enter the subsequent branch link. Therefore, within a short range corresponding to the splitter interface (corresponding to the length of the pigtail inside the splitter), the original waveform exhibits an end-reflection event region, displaying a significant end-Fresnel reflection waveform. This reflection waveform indicates that the light pulse encountered an interface with a sudden change in refractive index (i.e., the boundary between the fiber end face and air), and the signal strength rapidly drops to the noise floor after the reflection waveform, with no subsequent backscattering curve or reflection event, indicating that the backbone fiber optic cable is in an open-circuit state at the splitter.
[0043] In the second scenario, the probe light pulse from the backbone fiber optic cable is split and transmitted at the splitter. Therefore, the original waveform at the location corresponding to the splitter interface exhibits a stepped loss event (caused by the splitter's insertion loss and splitting ratio), rather than a simple end-reflection waveform. Following this loss event, the original waveform continues with a backscattering curve, reflecting the attenuation characteristics of other connected fiber optic cables and connection events along the path. At this point, the original waveform includes the superimposed transmission characteristics of the backbone fiber optic cable and other connected fiber optic cables, as well as the characteristics of the end-Fresnel reflection waveform from interfaces without connected fiber optic cables.
[0044] S3: Extract the cable parameters of the fiber optic cable to be tested and the configuration parameters of the target interface; In this embodiment, the cable parameters may include the cable length and attenuation coefficient of the fiber optic cable under test, as well as whether the end of the fiber optic cable under test needs to be connected to a device and the type of such device. The configuration parameters of the target interface may include the splitting ratio of the optical signal of the backbone fiber optic cable in the beam splitter, and the refractive index of the backbone fiber optic cable corresponding to the target interface.
[0045] S4: Based on the cable parameters, the configuration parameters, and the original waveform, predict the waveform change of the original waveform after the fiber optic cable to be detected is connected; In this embodiment, as Figure 2 As shown, step S4 may include the following sub-steps; S41: Based on the cable parameters and the configuration parameters, predict the ideal incremental waveform of the original waveform after the fiber optic cable to be detected is connected; In one implementation, step S41 may include: Based on the configuration parameters, the ideal intensity of the optical signal entering the optical fiber cable under test is obtained; based on the ideal intensity of the optical signal and the cable parameters, the transmission trajectory of the optical signal in the optical fiber cable under test is predicted, and the ideal incremental waveform is constructed based on the transmission trajectory.
[0046] Understandably, the ideal intensity of the optical signal that is split in the backbone fiber optic cable by the target interface and the signal refractive index of the target interface, combined with the probe light pulse emitted by the optical time-domain reflectometry device into the backbone fiber optic cable, can be calculated. After calculating the ideal intensity of the optical signal, the transmission trajectory and backscattering characteristics of the optical signal in the fiber optic cable under test can be simulated using the cable length and attenuation coefficient in the cable parameters. Based on the transmission trajectory and backscattering characteristics, the ideal incremental waveform formed by the transmission of the optical signal in the fiber optic cable under test can be constructed.
[0047] Understandably, the ideal incremental waveform represents the waveform under ideal conditions based on the configuration parameters and cable parameters. However, in actual propagation, various noises are introduced, including the inherent system noise of the optical time-domain reflectometry device and the ambient noise of the environment where the fiber optic cable under test is located. Therefore, after predicting the ideal incremental waveform, it is also necessary to predict the noise information corresponding to the ideal incremental waveform.
[0048] S42: Based on the original waveform, predict the noise waveform corresponding to the ideal incremental waveform; In one implementation, step S42 may include: The target interface is located on the original waveform based on the trunk optical fiber cable; a waveform segment with a preset window is extracted from the original waveform based on the interface location; the waveform segment is processed by a pre-trained noise prediction model to generate a noise waveform that matches the length of the ideal incremental waveform.
[0049] It is understood that the target interface is located at the end of the trunk optical fiber cable. Therefore, the interface position of the target interface on the original waveform can be determined according to the cable length of the trunk optical fiber cable. In turn, based on the interface position, waveform segments containing noise features can be extracted from the original waveform.
[0050] As described above, the connection status of the fiber optic cables downstream of the trunk fiber optic cable includes two possibilities. Therefore, the waveform segment can be extracted based on the connection status of the fiber optic cables downstream of the trunk fiber optic cable. In one embodiment, extracting a waveform segment of a preset window from the original waveform based on the interface location may include the following steps: Corresponding to the first case described above, if the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the waveform segment closest to the interface position is extracted through the preset window before the interface position of the original waveform. Understandably, if the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the ambient noise of the target interface will only be present in a small segment of the original waveform before the interface location. Therefore, the waveform segment can be extracted from the original waveform before the interface location, and the noise waveform can be predicted using the waveform segment.
[0051] Corresponding to the second situation described above, if there are other optical fiber cables downstream of the main optical fiber cable, the waveform segment is extracted through the preset window at the original waveform position after the interface position and at a preset distance from the interface position.
[0052] Understandably, if the downstream of the main fiber optic cable includes other fiber optic cables, then when the fiber optic cable to be tested is connected to the target interface, the fiber optic cable to be tested is in the same environment as the other fiber optic cables in the main fiber optic cable. Therefore, the waveform segment containing noise characteristics can be extracted based on the waveforms of the other fiber optic cables in the main fiber optic cable. The preset distance can be determined based on the average length of the fiber optic cables in the equipment room where the fiber optic cable to be tested is located.
[0053] Furthermore, a short segment of the original waveform following the interface position constitutes an end-reflection event region. The end-reflection Fresnel waveform within this region represents a sudden change in the signal, making it difficult to extract effective noise features from it. By extracting the waveform segment from the end-reflection Fresnel waveform within the end-reflection event region at a predetermined distance from the interface position, extraction of the waveform segment from the end-reflection event region can be avoided.
[0054] In one implementation, the noise prediction model may include a feature extraction network, a waveform generation network, and an output network. The feature extraction network can be built based on a convolutional network to extract key features from the waveform segment. The waveform generation network can be built based on a GRU (Gated Recurrent Unit). A GRU can control the length of the generated data by controlling the number of decoding steps. Therefore, the waveform generation network is used to generate a segment of random noise data matching the length of the ideal incremental waveform based on the features extracted by the feature extraction network and the "gate" structure in the GRU. The output network is used to generate a corresponding noise waveform from the random noise data.
[0055] The training of the noise prediction model can be carried out using supervised learning, which will not be elaborated further here.
[0056] S43: The ideal incremental waveform and the noise waveform are fused to obtain the waveform change.
[0057] Understandably, fusing the ideal incremental waveform with the noise waveform allows the resulting waveform change to include the noise of the environment to which the fiber optic cable to be tested will be connected. This makes the waveform change more closely resemble the waveform of the fiber optic cable after connection, providing a more sufficient data basis for subsequent judgment of the actual waveform.
[0058] S5: Based on the original waveform and the waveform change, obtain the ideal waveform of the main optical fiber cable and its downstream optical fiber cable after the optical fiber cable to be tested is connected; In this embodiment, corresponding to the two access scenarios of the downstream optical fiber cable of the trunk optical fiber cable, step S5 may include: If the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the portion of the original waveform located after the interface position is replaced with the waveform change amount to obtain the ideal waveform; Understandably, in this case, the portion of the original waveform after the interface position only contains the end reflection event region. Therefore, the portion of the original waveform after the interface position, i.e., the end reflection event region, can be replaced with the waveform change amount so that the obtained ideal waveform contains the complete waveform of the fiber optic cable under test and the trunk fiber optic cable.
[0059] Otherwise, the original waveform and the waveform change are aligned according to the interface position, and the aligned original waveform and the waveform change are superimposed to obtain the ideal waveform.
[0060] Understandably, in this case, the portion of the original waveform after the interface location includes waveform information of all fiber optic cables downstream of the main fiber optic cable, as well as waveform information of the end reflection event region formed by the unconnected interface on the splitter. Therefore, when the fiber optic cable to be tested is connected to the target interface, it is equivalent to connecting an additional fiber optic cable downstream of the main fiber optic cable. Thus, the waveform change of the fiber optic cable to be tested can be superimposed on the portion of the original waveform after the interface location to obtain an ideal waveform that includes waveform information of the main fiber optic cable and all its downstream fiber optic cables.
[0061] As described above, when the fiber optic cable under test is not connected, the original waveform after the interface position contains the Fresnel reflection waveform corresponding to the end of the fiber optic cable under test. Therefore, before connecting the fiber optic cable under test, it is necessary to eliminate the Fresnel reflection waveform corresponding to the end of the fiber optic cable under test in order to reduce its influence in the ideal waveform.
[0062] Therefore, in one embodiment, before the step of obtaining the ideal waveform of the backbone fiber optic cable and its downstream fiber optic cables after the fiber optic cable to be tested is connected based on the original waveform and the waveform change, the method further includes: Based on the interface location, determine the end reflection event region in the original waveform that is located after the interface location and corresponds to the target interface; eliminate the reflected waveform in the end reflection event region.
[0063] S6: Collect the actual waveforms of the main optical fiber cable and its downstream optical fiber cables after the optical fiber cable to be tested is connected through the main optical fiber cable; Understandably, once the ideal waveform is obtained, the fiber optic cable to be tested can be actually connected to the target interface, and a probe light pulse can be emitted to the trunk fiber optic cable through the optical time domain reflectometer. The actual waveform of the trunk fiber optic cable at this time can be obtained based on the returned signal.
[0064] S7: Determine the connection status of the fiber optic cable to be tested based on the actual waveform and the ideal waveform.
[0065] In this embodiment, step S7 may include: Calculate the similarity between the actual waveform and the ideal waveform; If the similarity exceeds a preset similarity threshold, the fiber optic cable to be tested is determined to be connected normally; otherwise, the fiber optic cable to be tested is determined to be connected abnormally.
[0066] Understandably, by using quantitative similarity calculations and clear threshold determinations, an objective and accurate judgment of the connection status of the fiber optic cables under test is achieved, avoiding errors from subjective human judgment. This enables rapid and accurate identification of whether the connection of the fiber optic cables under test is normal, providing reliable connection status detection results for fiber optic network deployment.
[0067] In this embodiment, based on the original waveform of the backbone fiber optic cable, the cable parameters of the fiber optic cable under test, and the configuration parameters of the target interface, the waveform change after the fiber optic cable under test is connected is predicted and an ideal waveform is constructed. This ideal waveform is then compared with the actual waveform to determine the connection status. This achieves accurate prediction and verification of the fiber optic connection status. It eliminates the need for subjective interpretation of the waveform based on human experience. During the connection process of the fiber optic cable under test, the device already connected to the backbone fiber optic cable (such as an optical time-domain reflectometry device) automatically predicts the ideal waveform and compares it with the actual waveform. This avoids detection deviations caused by human interpretation errors in traditional testing. Furthermore, the connection status assessment can be completed without additional physical adjustments, significantly shortening the testing time and effectively improving the efficiency and accuracy of fiber optic cable connection testing. In addition, the parameterized prediction and automated comparison throughout the entire process reduces manual intervention and can adapt to the testing needs of different specifications of fiber optic cables and interfaces, thereby improving the automation and intelligence level of fiber optic network deployment.
[0068] like Figure 3 As shown in the illustration, this application also provides a cable connection detection system. Optionally, the system may include: The backbone line acquisition module 11 is used to acquire the backbone fiber optic cable corresponding to the fiber optic cable to be tested based on the target interface that the fiber optic cable to be tested needs to access. In this embodiment, the backbone acquisition module 11 can be used to perform... Figure 1 For a detailed description of the trunk line acquisition module 11 shown in step S1, please refer to the description of step S1.
[0069] The waveform acquisition module 12 is used to acquire the original waveforms of the main optical fiber cable and its downstream optical fiber cables through the main optical fiber cable; In this embodiment, the waveform acquisition module 12 can be used to perform... Figure 1 For a detailed description of the waveform acquisition module 12 shown in step S2, please refer to the description of step S2.
[0070] The parameter extraction module 13 is used to extract the cable parameters of the optical fiber cable to be tested and the configuration parameters of the target interface; In this embodiment, the parameter extraction module 13 can be used to perform... Figure 1For a detailed description of the parameter extraction module 13 shown in step S3, please refer to the description of step S3.
[0071] Waveform prediction module 14 is used to predict the waveform change of the original waveform after the optical fiber cable to be tested is connected, based on the cable parameters, the configuration parameters and the original waveform; In this embodiment, the waveform prediction module 14 can be used to perform... Figure 1 For a detailed description of the waveform prediction module 14 shown in step S4, please refer to the description of step S4.
[0072] The ideal waveform acquisition module 15 is used to acquire the ideal waveform of the main optical fiber cable and its downstream optical fiber cable after the optical fiber cable to be tested is connected, based on the original waveform and the waveform change amount. In this embodiment, the ideal waveform acquisition module 15 can be used to perform... Figure 1 For a detailed description of the ideal waveform acquisition module 15 shown in step S5, please refer to the description of step S5.
[0073] The actual waveform acquisition module 16 is used to acquire the actual waveform of the main optical fiber cable and its downstream optical fiber cable after the optical fiber cable to be tested is connected through the main optical fiber cable. In this embodiment, the actual waveform acquisition module 16 can be used to perform... Figure 1 For a detailed description of the actual waveform acquisition module 16 shown in step S6, please refer to the description of step S6.
[0074] The connection status determination module 17 is used to determine the connection status of the fiber optic cable to be tested based on the actual waveform and the ideal waveform.
[0075] In this embodiment, the connection status determination module 17 can be used to perform... Figure 1 For a detailed description of the connection status determination module 17 shown in step S7, please refer to the description of step S7.
[0076] This application provides an electronic device with the following structure: Figure 4 As shown.
[0077] The electronic device includes a memory 21, a processor 22, a communication module 23, and an input / output interface 24, etc. Optionally, the memory 21, the processor 22, the communication module 23, and the input / output interface 24 can be connected and communicate with each other through a bus 25.
[0078] The memory 21 is used to store one or more computer programs and to transfer the code of the computer programs to the processor 22; when the one or more computer programs are executed by the processor 22, a cable connection detection method in this embodiment of the application is implemented.
[0079] Optionally, the electronic device can be connected to a network via communication module 23 to communicate with other devices, such as terminals or servers, to achieve data interaction. The electronic device can be various forms of digital computers, exemplarily such as desktop computers, servers, workbenches, mainframes, or other types of computers. The electronic device can also be various forms of mobile terminals, exemplarily such as smartphones, tablets, wearable devices (such as helmets, glasses, watches, etc.), and other similar mobile terminals.
[0080] Optionally, the electronic device can connect to required input / output devices, such as a keyboard or display device, via the input / output interface 24. The electronic device itself may have a display device, and other display devices can also be connected externally via the input / output interface 24. Optionally, a storage device, such as a hard disk, can also be connected via the input / output interface 24 to store data from the electronic device, read data from the storage device, or store data from the storage device in the memory 21. It is understood that the input / output interface 24 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 24 can be a component of the electronic device or an external device connected to the electronic device when needed.
[0081] Optionally, the memory 21 may be a volatile memory and / or a non-volatile memory. The volatile memory may be a random access memory, etc., and the non-volatile memory may be a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, or a flash memory, etc.
[0082] Optionally, the computer program stored in the processor 22 can be divided into one or more modules, which are stored in the memory 21 and executed by the processor 22 to perform the method provided in this embodiment. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the electronic device.
[0083] Optionally, the processor 22 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 22 include, but are not limited to, a central processing unit, a graphics processing unit, a digital signal processor, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, and can also be any suitable controller, microcontroller, processor, etc. The processor 22 executes the various methods and processes of this embodiment, exemplarily, such as a cable connection detection method according to an embodiment of this application.
[0084] Optionally, the bus 25 may include a path for transmitting information. Depending on its function, the bus 25 may be divided into an address bus, a data bus, a control bus, etc.
[0085] In an optional implementation, this application embodiment also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods described in the above-described method embodiments. Part or all of the computer program can be loaded and / or installed on the memory 21 of an electronic device. When the computer program is executed by the processor 22, one or more steps of a cable connection detection method according to an embodiment of this application can be performed.
[0086] Optionally, the computer-readable storage medium may be a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc.
[0087] Obviously, the above embodiments of this application are merely examples for clearly illustrating the technical solution of this application, and are not intended to limit the specific implementation of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the claims of this application should be included within the protection scope of the claims of this application.
Claims
1. A method for detecting cable connections, characterized in that, The method includes: Based on the target interface that the fiber optic cable to be tested needs to access, obtain the backbone fiber optic cable corresponding to the fiber optic cable to be tested. The original waveforms of the main optical fiber cable and its downstream optical fiber cables are collected through the main optical fiber cable. Extract the cable parameters of the fiber optic cable to be tested and the configuration parameters of the target interface; Based on the cable parameters, the configuration parameters, and the original waveform, predict the waveform change of the original waveform after the fiber optic cable to be detected is connected; Based on the original waveform and the waveform change, obtain the ideal waveform of the main optical fiber cable and its downstream optical fiber cable after the optical fiber cable to be tested is connected; The actual waveforms of the main optical fiber cable and its downstream optical fiber cables are collected after the optical fiber cable under test is connected through the main optical fiber cable. The connection status of the fiber optic cable to be tested is determined based on the actual waveform and the ideal waveform.
2. The cable connection detection method according to claim 1, characterized in that, The step of predicting the waveform change of the original waveform after the fiber optic cable under test is connected, based on the cable parameters, the configuration parameters, and the original waveform, includes: Based on the cable parameters and the configuration parameters, predict the ideal incremental waveform of the original waveform after the fiber optic cable to be detected is connected; Based on the original waveform, predict the noise waveform corresponding to the ideal incremental waveform; The waveform change is obtained by fusing the ideal incremental waveform and the noise waveform.
3. The cable connection detection method according to claim 2, characterized in that, The step of predicting the ideal incremental waveform of the original waveform after the fiber optic cable under test is connected, based on the cable parameters and the configuration parameters, includes: Based on the configuration parameters, the ideal intensity of the optical signal entering the optical fiber cable to be tested is obtained; Based on the ideal intensity of the optical signal and the cable parameters, the transmission trajectory of the optical signal in the optical fiber cable to be tested is predicted, and the ideal incremental waveform is constructed based on the transmission trajectory.
4. The cable connection detection method according to claim 2, characterized in that, The step of predicting the noise waveform corresponding to the ideal incremental waveform based on the original waveform includes: The interface position of the target interface on the original waveform is determined based on the trunk optical fiber cable; Based on the interface location, extract waveform segments of a preset window from the original waveform; The waveform segment is processed by a pre-trained noise prediction model to generate a noise waveform that matches the length of the ideal incremental waveform.
5. The cable connection detection method according to claim 4, characterized in that, Before the step of obtaining the ideal waveform of the backbone fiber optic cable and its downstream fiber optic cables after the fiber optic cable under test is connected, based on the original waveform and the waveform change, the method further includes: Based on the interface location, determine the end reflection event region in the original waveform that is located after the interface location and corresponds to the target interface; The reflected waveforms in the end reflection event region are eliminated.
6. The cable connection detection method according to claim 4, characterized in that, The step of extracting waveform segments from the original waveform within a preset window based on the interface location includes: If the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the waveform segment closest to the interface position is extracted through the preset window before the interface position of the original waveform. Otherwise, at the original waveform position after the interface position and at a preset distance from the interface position, the waveform segment is extracted through the preset window.
7. A cable connection detection method according to any one of claims 1-6, characterized in that, The step of determining the connection status of the fiber optic cable under test based on the actual waveform and the ideal waveform includes: Calculate the similarity between the actual waveform and the ideal waveform; If the similarity exceeds a preset similarity threshold, the fiber optic cable to be tested is determined to be connected normally; otherwise, the fiber optic cable to be tested is determined to be connected abnormally.
8. A cable connection detection method according to any one of claims 4-6, characterized in that, The step of obtaining the ideal waveform of the backbone fiber optic cable and its downstream fiber optic cables after the fiber optic cable under test is connected, based on the original waveform and the waveform change, includes: If the fiber optic cable to be tested is the only fiber optic cable downstream of the trunk fiber optic cable, then the portion of the original waveform located after the interface position is replaced with the waveform change amount to obtain the ideal waveform; Otherwise, the original waveform and the waveform change are aligned according to the interface position, and the aligned original waveform and the waveform change are superimposed to obtain the ideal waveform.
9. A cable connection detection system, characterized in that, The system includes: The backbone line acquisition module is used to acquire the backbone fiber optic cable corresponding to the fiber optic cable to be tested based on the target interface that the fiber optic cable to be tested needs to access. The waveform acquisition module is used to acquire the original waveforms of the main optical fiber cable and its downstream optical fiber cables through the main optical fiber cable; The parameter extraction module is used to extract the cable parameters of the optical fiber cable to be tested and the configuration parameters of the target interface; The waveform prediction module is used to predict the waveform change of the original waveform after the optical fiber cable to be tested is connected, based on the cable parameters, the configuration parameters and the original waveform. An ideal waveform acquisition module is used to acquire the ideal waveform of the main optical fiber cable and its downstream optical fiber cables after the optical fiber cable to be tested is connected, based on the original waveform and the waveform change amount. The actual waveform acquisition module is used to acquire the actual waveform of the main optical fiber cable and its downstream optical fiber cables after the optical fiber cable to be tested is connected through the main optical fiber cable. The connection status determination module is used to determine the connection status of the fiber optic cable to be tested based on the actual waveform and the ideal waveform.
10. An electronic device, characterized in that, include: Memory, used to store one or more computer programs; A processor, when the one or more computer programs are executed by the processor, implements a cable connection detection method as described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute and implement a cable connection detection method as described in any one of claims 1-8.