Dual-route inspection methods, devices, and electronic equipment

By acquiring and comparing the cable segment and laying segment information associated with the network device port, the system automatically determines whether the signal transmission line meets the dual-route conditions, solving the problem of low efficiency in existing technologies and achieving efficient and accurate dual-route checking.

CN116248174BActive Publication Date: 2026-04-17CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2022-09-09
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In existing technologies, dual-route checks on network devices are inefficient and prone to errors, especially in large-scale networks where manual checks are cumbersome and difficult.

Method used

By acquiring information about the cable segments and laying sections associated with the device ports, the system automatically determines whether the signal transmission lines between port pairs meet the dual-routing conditions. This includes comparing cable segment identifiers, laying section identifiers, and location information to ensure the accuracy and efficiency of the inspection results.

Benefits of technology

It improves the efficiency of dual-route checking between devices, reduces human error, and ensures the accuracy of dual-route checking results for network devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248174B_ABST
    Figure CN116248174B_ABST
Patent Text Reader

Abstract

This application discloses a method and apparatus for dual-route inspection of devices, belonging to the field of signal transmission technology. The method includes: acquiring first information of each cable segment associated with each target port of a first device and second information of the laying section associated with each cable segment, wherein each cable segment associated with each target port constitutes a signal transmission line from the corresponding target port to the second device; for each port pair consisting of two target ports, based on the first information of each cable segment associated with each target port in each port pair and the second information of the laying section corresponding to each cable segment, obtaining a check result on whether the signal transmission line associated with the corresponding port pair meets the dual-route condition; and automatically determining whether the signal transmission line between the first device and the second device is a dual-route based on the check result obtained in the aforementioned steps. This method greatly improves the efficiency of dual-route inspection between devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of signal transmission technology, and in particular to a method and apparatus for dual-route inspection of equipment, as well as electronic equipment and computer-readable storage media. Background Technology

[0002] Dual routing of equipment is fundamental to ensuring the stability of long-distance signal transmission. Taking network equipment as an example, network equipment resources are the foundation of communication network development. The communication quality of network equipment depends not only on the quality of the equipment itself but also on the dual-routing protection method of the optical fiber cable. The dual-routing integrity rate of network equipment is an important indicator for reducing network equipment downtime and improving network quality and user experience. In existing technologies, for existing network equipment, verifying whether a network device is dual-routing requires maintenance personnel to examine the routing text of each uplink optical path of the network device, comparing each path to confirm the routing details and determine whether the network device is dual-routing. This method is inefficient and prone to errors.

[0003] As network scale continues to expand and the number of network devices continues to surge, manually checking whether network devices are protected by dual routing will be a tedious and difficult task.

[0004] It is evident that the existing methods for dual-route checking of network devices still need improvement. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and computer-readable storage medium for checking dual-route devices, which can solve the problem of low efficiency when manually checking whether a device is dual-route.

[0006] In a first aspect, embodiments of this application disclose a device dual-route detection method, including:

[0007] First information of each cable segment associated with each target port of the first device and second information of the laying section associated with each cable segment are obtained, wherein each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device.

[0008] For each pair of two target ports, based on the first information and the second information corresponding to each target port in the pair, the check result of whether the signal transmission line associated with the pair of ports meets the dual routing condition is obtained;

[0009] Based on the inspection results, determine whether the signal transmission line between the first device and the second device is a dual-route line.

[0010] Optionally, the first information includes: cable segment identifier; the step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual routing condition based on the first information and the second information corresponding to each target port in the port pair includes:

[0011] Determine whether there are any identical cable segment identifiers among the cable segment identifiers associated with different target ports in the port pair;

[0012] In response to the presence of the same cable segment identifier, a check result is obtained indicating that the signal transmission line associated with the port pair does not meet the dual routing condition;

[0013] In response to the absence of identical cable segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual routing condition is obtained based on the second information of the laying segment associated with each target port in the port pair.

[0014] Optionally, the second information includes: a laying segment identifier and laying location information. The step of obtaining the check result of whether the signal transmission line associated with each target port in the port pair meets the dual-routing condition based on the second information of each laying segment includes:

[0015] Determine whether there are any identical laying segment identifiers among the laying segment identifiers of each laying segment associated with different target ports in the port pair;

[0016] In response to the existence of the same laying section identifier, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition;

[0017] In response to the absence of identical laying segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition is obtained based on the laying location information of each laying segment associated with each target port in the port pair.

[0018] Optionally, the step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair includes:

[0019] Based on the laying location information of each laying segment associated with each target port in the port pair, determine whether there is a laying location between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0020] In response to the existence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition.

[0021] In response to the absence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained showing that the signal transmission lines associated with the two target ports respectively meet the dual routing conditions.

[0022] Optionally, determining whether there is a laying location with a laying distance less than or equal to a preset distance threshold between the signal transmission lines associated with the two target ports based on the laying location information of each laying segment associated with each target port in the port pair includes:

[0023] Obtain the position coordinates of several laying points on the signal transmission line associated with the first target port and the second target port in the port pair, respectively;

[0024] The target signal transmission line plane is determined based on the position coordinates of the plurality of laying points on the signal transmission line associated with the first target port and the preset distance threshold.

[0025] Determine whether each laying point on the signal transmission line associated with the second target port is within the plane of the target signal transmission line;

[0026] In response to at least one laying point on the signal transmission line associated with the second target port being in the plane of the target signal transmission line, it is determined that there is a laying position between the signal transmission lines associated with the two target ports respectively, where the laying distance is less than or equal to a preset distance threshold.

[0027] In response to all the laying points on the signal transmission line associated with the second target port being outside the plane of the target signal transmission line, it is determined that there are no laying positions between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0028] Optionally, the first information includes: cable core identifier; after obtaining the first information of each cable segment associated with each target port of the first device and the second information of the laying segment associated with each cable segment, the method further includes:

[0029] Determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, wherein the cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port;

[0030] If the same identifier value is found, the signal transmission line information acquisition error is detected, and the dual-route check ends.

[0031] Optionally, the first information includes: a cable segment identifier of the next cable segment connected to the current cable segment in the specified signal transmission direction; after determining whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, it further includes:

[0032] In response to the absence of identical identifier values, the signal transmission line from the corresponding target port to the second device is obtained based on the cable segment identifier of each cable segment associated with each target port and the cable segment identifier of the next cable segment to which each cable segment is connected.

[0033] In response to obtaining one of the signal transmission lines, it is determined that the signal transmission line between the first device and the second device is not protected by dual routing.

[0034] In response to obtaining at least two of the signal transmission lines, the process jumps to the step of checking whether the signal transmission lines associated with the port pair satisfy the dual routing condition for each pair of two target ports, based on the first information and the second information corresponding to each target port in the port pair.

[0035] Secondly, embodiments of this application disclose a device for dual-route inspection, comprising:

[0036] The device association information acquisition module is used to acquire the first information of each cable segment associated with each target port of the first device and the second information of the laying section associated with each cable segment, wherein each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device.

[0037] The port pair dual-route checking module is used to, for each port pair consisting of two target ports, obtain a check result on whether the signal transmission line associated with the port pair meets the dual-route condition based on the first information and the second information corresponding to each target port in the port pair;

[0038] The device dual-route check module is used to determine, based on the check results, whether the signal transmission line between the first device and the second device is dual-route.

[0039] Optionally, the first information includes: cable segment identification, and the port-to-dual-route check module is further used for:

[0040] Determine whether there are any identical cable segment identifiers among the cable segment identifiers associated with different target ports in the port pair;

[0041] In response to the presence of the same cable segment identifier, a check result is obtained indicating that the signal transmission line associated with the port pair does not meet the dual routing condition;

[0042] In response to the absence of identical cable segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual routing condition is obtained based on the second information of the laying segment associated with each target port in the port pair.

[0043] Optionally, the second information includes: a laying segment identifier and laying location information. The step of obtaining the check result of whether the signal transmission line associated with each target port in the port pair meets the dual-routing condition based on the second information of each laying segment includes:

[0044] Determine whether there are any identical laying segment identifiers among the laying segment identifiers of each laying segment associated with different target ports in the port pair;

[0045] In response to the existence of the same laying section identifier, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition;

[0046] In response to the absence of identical laying segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition is obtained based on the laying location information of each laying segment associated with each target port in the port pair.

[0047] Optionally, the step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair includes:

[0048] Based on the laying location information of each laying segment associated with each target port in the port pair, determine whether there is a laying location between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0049] In response to the existence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition.

[0050] In response to the absence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained showing that the signal transmission lines associated with the two target ports respectively meet the dual routing conditions.

[0051] Optionally, determining whether there is a laying location with a laying distance less than or equal to a preset distance threshold between the signal transmission lines associated with the two target ports based on the laying location information of each laying segment associated with each target port in the port pair includes:

[0052] Obtain the position coordinates of several laying points on the signal transmission line associated with the first target port and the second target port in the port pair, respectively;

[0053] The target signal transmission line plane is determined based on the position coordinates of the plurality of laying points on the signal transmission line associated with the first target port and the preset distance threshold.

[0054] Determine whether each laying point on the signal transmission line associated with the second target port is within the plane of the target signal transmission line;

[0055] In response to at least one laying point on the signal transmission line associated with the second target port being in the plane of the target signal transmission line, it is determined that there is a laying position between the signal transmission lines associated with the two target ports respectively, where the laying distance is less than or equal to a preset distance threshold.

[0056] In response to all the laying points on the signal transmission line associated with the second target port being outside the plane of the target signal transmission line, it is determined that there are no laying positions between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0057] Optionally, the first information includes: cable core identifier, and the device further includes:

[0058] The first preprocessing module is used to determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, wherein the cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port;

[0059] The first preprocessing module is also used to respond to the existence of the same identifier value, output signal transmission line information acquisition error, and end the dual-route check.

[0060] Optionally, the first information includes: a cable segment identifier of the next cable segment connected to the current cable segment in the specified signal transmission direction; after determining whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, the device further includes:

[0061] The second preprocessing module is used to, in response to the absence of identical identifier values, obtain the signal transmission line from the corresponding target port to the second device based on the cable segment identifier of each cable segment associated with each target port and the cable segment identifier of the next cable segment connected to each cable segment.

[0062] The second preprocessing module is further configured to, in response to obtaining one of the signal transmission lines, determine that the signal transmission line between the first device and the second device is not protected by dual routing; and, in response to obtaining at least two of the signal transmission lines, jump to calling the port dual routing check module.

[0063] Thirdly, embodiments of this application also disclose an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the device dual-route checking method described in embodiments of this application.

[0064] Fourthly, embodiments of this application disclose a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, performs the steps of the device dual-route checking method disclosed in embodiments of this application.

[0065] The device dual-route inspection method disclosed in this application obtains first information of each cable segment associated with each target port of the first device and second information of the laying section associated with each cable segment. Each cable segment associated with each target port forms a signal transmission line from the corresponding target port to the second device. For each port pair consisting of two target ports, based on the first and second information corresponding to each target port in the port pair, an inspection result is obtained to determine whether the signal transmission line associated with the port pair meets the dual-route condition. Based on the inspection result, it is determined whether the signal transmission line between the first device and the second device is a dual-route, greatly improving the efficiency of dual-route inspection between devices.

[0066] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0067] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0068] Figure 1 This is one of the flowcharts of the device dual-route checking method disclosed in the embodiments of this application;

[0069] Figure 2 This is the second flowchart of the device dual-route checking method disclosed in the embodiments of this application;

[0070] Figure 3 This is a schematic diagram of an application scenario of the device dual-route inspection method disclosed in the embodiments of this application;

[0071] Figure 4 This is a schematic diagram illustrating another application scenario of the device dual-route inspection method disclosed in the embodiments of this application;

[0072] Figure 5 This is one of the schematic diagrams of the dual-route inspection device structure disclosed in the embodiments of this application;

[0073] Figure 6 This is the second schematic diagram of the dual-route inspection device structure disclosed in the embodiments of this application;

[0074] Figure 7 A block diagram schematically illustrates an electronic device for performing the method according to this application; and

[0075] Figure 8 A storage unit for holding or carrying program code implementing the method according to this application is illustrated schematically. Detailed Implementation

[0076] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0077] The dual-route inspection method for devices described in this application embodiment can be applied to dual-route inspection scenarios for network devices as well as power devices. In different application scenarios, the first device and the second device are devices specific to that scenario. For example, in a communication network scenario, the first device and the second device mentioned below can be fiber optic interface devices; while in a power network scenario, the first device and the second device can be cable interface devices in the power network.

[0078] In the embodiments of this application, to facilitate readers' understanding of the solution, the application of the device dual-route checking method in a network device dual-route checking scenario is used as an example to illustrate the specific implementation scheme of the device dual-route checking method. That is, in this document, the first device and the second device refer to fiber optic interface devices in a communication network.

[0079] In the scenario of dual-route inspection of network devices, the method disclosed in the embodiments of this application addresses the complexity of automatic dual-route verification of network devices. Combining actual production experience, it comprehensively considers relevant elements such as network device port information, fiber optic path information associated with network device ports, and fiber optic path laying information, and designs a dual-route inspection method for devices. This method enables automatic prediction of whether a network device is under dual-route protection, greatly improving work efficiency.

[0080] like Figure 1 As shown in the embodiment of this application, a device dual-route inspection method is disclosed, including steps 110 to 130.

[0081] Step 110: Obtain the first information of each cable segment associated with each target port of the first device, and the second information of the laying section associated with each cable segment.

[0082] Each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device.

[0083] Taking the first and second devices as fiber optic interface devices as an example, the first and second devices are respectively equipped with an uplink physical port and a downlink physical port. The uplink physical port can be understood as the physical port through which the downstream fiber optic interface device connects to the backbone network; correspondingly, the downlink physical port can be understood as the physical port through which the upstream and downstream fiber optic interface devices connect. For a signal transmission line connected by one or more fiber optic cable segments, with the first device as the downstream device and the second device as the upstream device, when checking whether the signal transmission line between the first and second devices is protected by dual-route, automatic checks can be performed based on the connection and laying conditions of each cable segment sequentially traversed from the uplink physical port of the first device to the downlink physical port of the second device, or automatically based on the connection and laying conditions of each cable segment sequentially traversed from the downlink physical port of the second device to the uplink physical port of the first device. That is, the target port mentioned in this embodiment can be either an uplink physical port or a downlink physical port.

[0084] Taking the first device as the downstream device and the second device as the upstream device as an example, the target port is the uplink physical port of the first device.

[0085] When establishing a signal transmission line between the first and second devices, multiple fiber optic cable segments (i.e., cable segments) typically connect the two devices. Each segment is connected via a fiber optic interface device to form the signal transmission line. During this process, engineers connect one or more target ports of the first device to a single fiber optic core. When dual-route protection is required for the first device, different target ports will be connected to fiber optic cores of different cables. Simultaneously, engineers manually associate the target ports of the first device with their connected fiber optic cores in the equipment maintenance system. The associated data for the target ports may include the fiber optic core number and cable segment identifier.

[0086] Correspondingly, when engineers connect different optical cables (i.e., the optical cable segments described in this application) through optical cable interface devices, they will also manually associate the optical cable segment with other optical cable segments connected to it through the optical cable interface devices in the equipment maintenance system. For example, in the equipment maintenance system, the optical cable segment identifier of the optical cable segment connected to the downstream physical port of a certain optical cable interface device is associated with the optical cable segment identifier of the optical cable segment connected to the upstream physical port of the same optical cable interface device. In this way, the equipment maintenance system records, in the form of associated data, the number of the optical fiber core directly connected to the upstream physical port (i.e., the target port) of the first device, the optical cable segment identifier of the optical cable segment to which the optical fiber core belongs (i.e., the first optical cable segment in the signal transmission line from the first device to the second device), the optical cable segment identifier of the upstream optical cable segment connected to the optical cable segment (such as the second optical cable segment in the signal transmission line from the first device to the second device), the optical cable segment identifier of the upstream optical cable segment connected to the upstream optical cable segment (such as the third optical cable segment in the signal transmission line from the first device to the second device), ..., up to the optical cable segment identifier connected to the downstream physical port of the second device.

[0087] In the embodiments of this application, the optical cable segment directly connected to a target port of the first device, and each optical cable segment sequentially connected to the directly connected optical cable segment, are collectively referred to as the optical cable segment associated with the target port. Furthermore, the optical cable segment identifier of each optical cable segment and the fiber core number of the optical fiber connected to the target port by the directly connected optical cable segment are used as the first information of the corresponding optical cable segment.

[0088] In the specific implementation process, engineers will also record the laying segment identifier of each optical cable segment associated with the laying segment, as well as the laying information of each laying segment, in the equipment maintenance system as the second information of the corresponding laying segment. The laying segment is the laying information of the optical cable segment recorded from the laying construction perspective. Different laying segments are uniquely represented by a laying segment identifier. Laying segments can be divided according to laying methods, such as commonly used laying methods like direct burial segments, conduit segments, and pole-line segments. In the embodiments of this application, the laying information includes, but is not limited to, laying location information.

[0089] When it is necessary to perform a dual-route check on the signal transmission path between the first device and the second device, the first information of each cable segment associated with each target port of the first device and the second information of the laying section associated with each cable segment can be obtained through the equipment maintenance system.

[0090] For example, starting from each target port of the first device, first determine the optical cable segment identifier and fiber core number of the optical cable segment connected to that target port; then, taking the optical cable segment connected to that target port as the current optical cable segment, search for all the optical cable segment identifiers of the next optical cable segment associated with the optical cable segment identifier of the current optical cable segment recorded in the equipment maintenance system; then, taking the next optical cable segment as the current optical cable segment, repeat the operation of searching for all the optical cable segment identifiers of the next optical cable segment associated with the optical cable segment identifier of the current optical cable segment recorded in the equipment maintenance system, until the current optical cable segment is the optical cable segment connected to the downstream physical port of the second device, or the current optical cable segment is not associated with a next optical cable segment. Thus, the first information of each optical cable segment (i.e., cable segment) associated with each target port of the first device, and the second information of the laying segment associated with each of the optical cable segments (i.e., cable segments) can be obtained.

[0091] After the aforementioned search, the fiber optic cable segments found are the fiber optic cable segments that the signal may pass through when it is transmitted from the first device to the second device.

[0092] After screening and noise reduction, one or more signal transmission lines consisting of specified optical cable segments can be obtained when the signal is transmitted from each target port of the first device to the second device.

[0093] In some embodiments of this application, if there is only one signal transmission line between the first device and the second device, then dual-route protection for the first device and the second device can be determined. If there are multiple signal transmission lines between the first device and the second device, it is necessary to further determine whether the first device and the second device are dual-route protected based on the sharing of optical cable segments constituting each signal transmission line and the laying of the optical cable segments.

[0094] Step 120: For each pair of target ports, based on the first information and the second information corresponding to each target port in the pair, obtain the check result of whether the signal transmission line associated with the port pair meets the dual routing condition.

[0095] Wherein, the first information and the second information corresponding to each target port are the first information of each cable segment associated with the target port, and the second information of the laying section corresponding to each cable segment. The signal transmission line associated with the port pair includes: the signal transmission line associated with each target port in the port pair.

[0096] When it is necessary to further determine whether the first device and the second device are dual-route protection based on the shared use of the optical cable segments constituting each signal transmission line and the laying status of the optical cable segments, the target ports of the first device can be combined in pairs to obtain one or more port pairs. Then, it can be determined whether the signal transmission line associated with each port pair meets the dual-route condition.

[0097] When determining whether the signal transmission lines associated with each port pair meet the dual routing conditions, the system can further determine whether the signal transmission lines associated with the two target ports in the port pair meet the dual routing conditions based on information such as whether there is a common optical cable segment among the optical cable segments associated with the two target ports in the port pair, and / or whether the optical cable segments associated with the two target ports in the port pair are associated with a common laying segment. This results in a check result indicating whether the signal transmission lines associated with the two target ports in the port pair meet the dual routing conditions or not.

[0098] Step 130: Based on the inspection results, determine whether the signal transmission line between the first device and the second device is a dual-route line.

[0099] After performing the check on each port pair of the first device to determine whether the signal transmission lines associated with the two target ports in the port pair meet the dual-route condition and obtaining the check results for each port pair, the next step is to determine whether the signal transmission line between the first device and the second device is protected by dual-route based on the check results for all port pairs of the first device.

[0100] Specifically, if any port of the first device satisfies the dual-routing condition for its associated signal transmission line, then it can be determined that the signal transmission of both the first and second devices is protected by dual-routing. If none of the ports of the first device satisfy the dual-routing condition for their associated signal transmission lines, then it can be determined that the signal transmission of both the first and second devices is not protected by dual-routing.

[0101] As mentioned above, the first information includes: cable core identifier. That is, the equipment maintenance system records which optical fiber core of which optical cable segment is connected to each target port of the first device. In order to improve the execution accuracy and efficiency of the dual-route automatic inspection method disclosed in this application embodiment, the first information associated with the acquired target port can be preprocessed first to check whether the acquired data is correct and to promptly detect problems that occur when manually entering or associating data.

[0102] Correspondingly, such as Figure 2 As shown, in some embodiments of this application, after obtaining the first information of each cable segment associated with each target port of the first device and the second information of the laying segment associated with each cable segment, the method further includes steps 112, 114, 116, and 118. Steps 116 and 118 are optional to execute.

[0103] Step 112: Determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device. If identical identifier values ​​are found, proceed to step 114; otherwise, proceed to step 116.

[0104] The cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port.

[0105] Step 114: In response to the existence of identical identifier values, output signal transmission line information acquisition error, and end dual-route check.

[0106] If different target ports of a device are associated with the same fiber core of the same optical cable segment, it can be determined that there is an error in the data entered into the equipment maintenance system. At this time, subsequent checks will not be performed, and the error in signal transmission line information collection will be directly output, ending the inspection process. This will facilitate engineers to discover problems in a timely manner and correct the data.

[0107] In some embodiments of this application, the cable core identifier may carry a cable segment identifier and a cable core number. For example, the representation value of the optical fiber core identifier may consist of an optical cable segment identifier and an optical fiber core number. In this way, by comparing the identifier values ​​of the cable core identifiers associated with each target port of the first device, it can be determined whether there are cases where different target ports are associated with the same cable core identifier.

[0108] In some embodiments of this application, the first information includes: a cable segment identifier of the next cable segment connected to the current cable segment in a specified signal transmission direction, such as... Figure 2 As shown, after determining whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, the method further includes steps 116 and 118.

[0109] Step 116: In response to the absence of identical identifier values, obtain the signal transmission line from the corresponding target port to the second device based on the cable segment identifier of each cable segment associated with each target port and the cable segment identifier of the next cable segment to which each cable segment is connected.

[0110] After confirming that the fiber core information of the target port is correct, the next step is to determine how many signal transmission lines exist between the first device and the second device.

[0111] Normally, these signal transmission lines typically involve multiple cable segments before connecting to the second device. If an error occurs when engineers enter data into the equipment maintenance system, or if a section of fiber optic cable between the first and second devices is not connected, the equipment maintenance system may fail to record the signal transmission lines between the first and second devices. To improve the accuracy and efficiency of dual-route checks, in the embodiments of this application, it is necessary to obtain the respective signal transmission lines from the target port to the second device based on the cable segment identifiers associated with each target port and the cable segment identifiers of the next cable segment connected to each of the cable segments.

[0112] As mentioned above, after obtaining the optical cable segments associated with each target port of the first device, the optical cable segments are arranged from front to back according to the connection relationship from downstream to upstream, so that signal transmission lines starting from each target port of the first device and transmitting upstream can be obtained.

[0113] Step 118: Determine whether the number of signal transmission lines associated with each target port is greater than 1. If yes, proceed to step 120; otherwise, proceed to step 119.

[0114] Step 119: Determine that the signal transmission line between the first device and the second device is not protected by dual-route, and end the inspection process.

[0115] After obtaining the number of signal transmission lines associated with each target port of the first device, subsequent operations are performed based on the number of signal transmission lines. For example, in response to obtaining one of the signal transmission lines, it is determined that the signal transmission line between the first device and the second device is not protected by dual routing; in response to obtaining at least two of the signal transmission lines, the process jumps to the step of checking whether the signal transmission line associated with each port pair consisting of two target ports satisfies the dual routing condition based on the first information and the second information corresponding to each target port in the port pair.

[0116] That is, if there is only one signal transmission line between the first device and the second device, it means that the signal transmission line between the first device and the second device is not protected by dual routing; if there are two or more signal transmission lines between the first device and the second device, it is necessary to further determine whether the signal transmission line between the first device and the second device is protected by dual routing based on the sharing of optical cable segments, the overlap of laying segments, intersections, etc. on each signal transmission line.

[0117] To help readers better understand this method, the following section further elaborates on the specific implementation of the step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual routing condition based on the first information and the second information corresponding to each target port in the port pair.

[0118] As previously stated, the first information includes: cable segment identifiers. The step of obtaining a check result regarding whether the signal transmission line associated with the port pair meets the dual-routing condition based on the first information and the second information corresponding to each target port in the port pair includes: determining whether there is a common cable segment identifier among the cable segment identifiers associated with different target ports in the port pair; in response to the existence of a common cable segment identifier, obtaining a check result indicating that the signal transmission line associated with the port pair does not meet the dual-routing condition; and in response to the absence of a common cable segment identifier, obtaining a check result regarding whether the signal transmission line associated with the port pair meets the dual-routing condition based on the second information of each laying segment associated with each target port in the port pair.

[0119] As mentioned earlier, the optical cable segment associated with the target port is the optical cable segment on the optical path for transmitting signals between the target port and the second device. If the two target ports of the first device are associated with the same optical cable segment, it means that the optical paths (i.e. signal transmission lines) associated with the two target ports of the target device share the same optical cable segment. In this case, the two signal transmission lines do not meet the dual-route condition.

[0120] For example, by matching the cable segment identifiers of the cable segments associated with different target ports in the port pair, it can be determined whether two target ports are associated with at least one identical cable segment identifier. If two target ports are associated with at least one identical cable segment identifier, it indicates that the signal transmission lines associated with the two target ports in the port pair share a common cable segment. In this case, it can be determined that the signal transmission lines associated with the two target ports do not meet the dual routing condition, and thus the check result that the signal transmission lines associated with the two target ports do not meet the dual routing condition can be obtained.

[0121] If it is determined by matching cable segment identifiers that the two target ports are not associated with the same cable segment identifier, then it is determined that the signal transmission lines associated with the two target ports do not share a cable segment. Furthermore, it is necessary to determine whether the signal transmission lines associated with the two target ports meet the dual-routing condition based on the laying segment identifier and laying location information of the laying segment corresponding to each cable segment associated with each target port in the port pair.

[0122] In some embodiments of this application, the second information includes: a laying segment identifier and laying location information. The step of obtaining a check result regarding whether the signal transmission line associated with the port pair meets the dual-routing condition based on the second information of each laying segment associated with each target port in the port pair includes: determining whether there is a common laying segment identifier among the laying segment identifiers of each laying segment associated with different target ports in the port pair, wherein each laying segment associated with the target port is: the laying segment associated with each cable segment associated with the target port; in response to the existence of a common laying segment identifier, obtaining a check result indicating that the signal transmission line associated with the port pair does not meet the dual-routing condition; in response to the absence of a common laying segment identifier, obtaining a check result regarding whether the signal transmission line associated with the port pair meets the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair.

[0123] As mentioned earlier, the laying section associated with an optical cable segment refers to the laying location of the optical cable segment. Therefore, the laying section identifier indicates the laying location of the corresponding optical cable segment. If the laying section identifiers of two optical cable segments are the same, it can be determined that these two optical cable segments are laid on the same pole line, in the same duct section, or in the same direct-buried section. In this case, the probability of both optical cable segments failing simultaneously is extremely high, failing to provide dual-route protection. Therefore, the two signal transmission lines including these two optical cable segments do not meet the dual-route condition.

[0124] In some embodiments of this application, the laying segment identifiers of the laying segments associated with different target ports in the port pair can be matched to determine whether two target ports are jointly associated with at least one identical laying segment identifier. If two target ports are jointly associated with at least one laying cable segment identifier, it indicates that the signal transmission lines associated with the two target ports in the port pair share a common laying segment. In this case, it can be determined that the signal transmission lines associated with the two target ports do not meet the dual routing condition, i.e., the check result that the signal transmission lines associated with the two target ports do not meet the dual routing condition can be obtained.

[0125] If it is determined by matching the laying segment identifiers that the two target ports are not associated with the same laying segment identifier, then it is determined that the signal transmission lines associated with the two target ports do not share a laying segment. Furthermore, it is necessary to determine whether the signal transmission lines associated with the two target ports meet the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair.

[0126] In some embodiments of this application, based on the laying location information of each laying segment associated with each target port in the port pair, a check result is obtained to determine whether the signal transmission lines associated with the port pair meet the dual routing conditions. This includes: determining, based on the laying location information of each laying segment associated with each target port in the port pair, whether there is a laying location between the signal transmission lines associated with the two target ports that has a laying distance less than or equal to a preset distance threshold; in response to the existence of a laying location with a laying distance less than or equal to the preset distance threshold, a check result is obtained that the signal transmission lines associated with the port pair do not meet the dual routing conditions; in response to the absence of a laying location with a laying distance less than or equal to the preset distance threshold, a check result is obtained that the signal transmission lines associated with the two target ports meet the dual routing conditions.

[0127] If the signal transmission lines associated with the two target ports in a port pair have neither a shared cable segment nor a common laying segment, it is necessary to further determine whether the laying positions of these two signal transmission lines overlap, intersect, or are very close in distance. If the two optical cable segments are laid very close together, the probability of both segments failing simultaneously is extremely high (for example, both segments being cut at the same time during construction), failing to provide dual-route protection. Therefore, the two signal transmission lines including these two optical cable segments do not meet the dual-route condition.

[0128] In the embodiments of this application, if there is a laying position where the laying distance between two signal transmission lines is less than or equal to a preset distance threshold, it can be considered that the two signal transmission lines do not meet the dual routing condition, that is, the check result that the signal transmission lines associated with the two target ports do not meet the dual routing condition can be obtained.

[0129] In some embodiments of this application, when determining whether there is a laying position between the signal transmission lines associated with the two target ports that has a laying distance less than or equal to a preset distance threshold based on the laying position information of each laying segment associated with each target port in the port pair, the following method is used.

[0130] First, obtain the position coordinates of several laying points on the signal transmission line associated with the first target port and the second target port in the port pair.

[0131] The laying points can be manholes, pole points, or other locations along the signal transmission line, or locations along the line at predetermined intervals. In some embodiments of this application, the location coordinates of several laying points on the signal transmission line can be obtained from the GIS (Geographic Information System) information (i.e., laying geographic information) of the data storage cable in geom format (a format for storing latitude and longitude) within the PG database (i.e., PostgreSQL, a relational database).

[0132] Then, the target signal transmission line plane is determined based on the position coordinates of the plurality of laying points on the signal transmission line associated with the first target port and the preset distance threshold.

[0133] Then, it is determined whether each laying point on the signal transmission line associated with the second target port is within the plane of the target signal transmission line.

[0134] In the embodiments of this application, the problem of determining the distance between two lines is transformed into the problem of determining the distance between a point and a line. For example, firstly, based on the position coordinates of a plurality of laying points on the signal transmission line associated with the first target port, and a preset distance threshold, a plane composed of points less than the preset distance threshold is determined as the target signal transmission line plane. Then, it is determined whether each laying point on the signal transmission line associated with the second target port is within the target signal transmission line plane. If a laying point is within the target signal transmission line plane, it means that the distance of that point from the signal transmission line associated with the first target port is less than or equal to the preset distance threshold.

[0135] Specifically, the built-in function ST_Contains(geom1 geometry, geom2 geometry) in the PG database for determining whether A is in B can be modified. The ST_Contains() function retrieves two geometric objects; it returns 1 if the first object completely contains the second object, and 0 otherwise. The modification involves determining whether the distance from a point to a line is within a certain range. The modified formula in this embodiment is as follows:

[0136] R=ST_Contains(St_Astext(ST_Buffer(geography(geomLine),Length)),st_astext(geography(geomPoint)));

[0137] Among them, geomLine represents the GIS information (geographic information) of a signal transmission line; geomPoint represents the GIS information of a laying point; the distance parameter Length represents the distance in meters, i.e., the preset distance threshold; R represents the judgment result (TRUE / FALSE), TRUE means that the distance from geomPoint to geomLine is within the Length range, and FALSE means that the distance from geomPoint to geomLine is not within the Length range.

[0138] In the above formula, geography() is used to extract latitude and longitude coordinates; ST_Buffer is used to obtain the geometry object and distance, and then returns the geometry object representing the buffer around the source object, for example, generating a surface composed of points within a preset distance from a certain line.

[0139] In the embodiments of this application, the preset distance threshold Length can be adjusted according to actual production and maintenance experience. For example, the value of Length can be set to 100 meters.

[0140] The modified formula allows for distance range determination between the GIS information of all laying points (i.e., routing points) on the signal transmission line associated with one target port of the first device and the GIS information of the signal transmission lines associated with another target port. For example, by substituting a laying point on the signal transmission line associated with the second target port into the geomPoint in the formula, if the obtained R value is TRUE, it indicates that the distance from the laying point to the signal transmission line associated with the first target port is within the preset distance threshold Length range; if the obtained R value is FALSE, it indicates that the distance from the laying point to the signal transmission line associated with the first target port is outside the preset distance threshold Length range.

[0141] Finally, based on the positional relationship between the laying point on the signal transmission line associated with the second target port and the plane of the target signal transmission line, it is determined whether there is a laying position between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0142] If all the laying points on the signal transmission line associated with the second target port are outside the preset distance threshold range, it means that the dual-route protection of the first device is safe; otherwise, it means that the dual-route protection of the first device is at risk.

[0143] For example, in response to at least one laying point on the signal transmission line associated with the second target port being within the target signal transmission line plane, it is determined that there is a laying position between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold; in response to all the laying points on the signal transmission line associated with the second target port being outside the target signal transmission line plane, it is determined that there is no laying position between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0144] In some embodiments of this application, for the laying point on the signal transmission line associated with the second target port that is located within the plane of the target signal transmission line, the location information and laying section information of the laying point can be output to accurately locate the risk contact point of the two signal transmission lines.

[0145] Below, in conjunction with Figure 3 and Figure 4 The two specific scenarios of device connection shown further illustrate the specific implementation method for checking whether the signal transmission line between the first device and the second device is protected by dual-route.

[0146] like Figure 3 As shown, the first device 310 has three different uplink physical ports, denoted as target ports a1, a2, and a3, which are connected to the three downlink physical ports of the second device 320 via three completely different optical fiber paths (signal transmission line 1, signal transmission line 2, and signal transmission line 3). Figure 3 The line connection scenario shown can be used to obtain the following optical cable segment association information and laying segment association information for each target port of the first device 310.

[0147] The optical cable segments associated with the target port a1 of the first device 310 include: optical cable segment A1, optical cable segment C1 to which optical cable segment A1 is sequentially connected, and optical cable segment B1. The laying segments associated with the target port a1 include: duct segment D1 associated with optical cable segment A1, direct burial segment Z1 associated with optical cable segment C1, and duct segment D3 associated with optical cable segment B1. The fiber core identifier associated with the target port a1 matches that of optical cable segment A1.

[0148] The optical cable segments associated with the target port a2 of the first device 310 include: optical cable segment A2, and optical cable segment C1 and optical cable segment B2, which are sequentially connected to optical cable segment A2. The laying segments associated with the target port a2 include: duct segment D2 associated with optical cable segment A2, direct burial segment Z1 associated with optical cable segment C1, and duct segment D4 associated with optical cable segment B2. The fiber core identifier associated with the target port a2 matches that of optical cable segment A2.

[0149] The optical cable segments associated with the target port a3 of the first device 310 include: optical cable segment A3, and optical cable segment C3 and optical cable segment B3, which are sequentially connected to optical cable segment A3. The laying segments associated with the target port a3 include: duct segment D2 associated with optical cable segment A3, direct burial segment Z2 associated with optical cable segment C3, and pole segment G1 associated with optical cable segment B3. The fiber core identifier associated with the target port a3 matches that of optical cable segment A3.

[0150] Accordingly, when obtaining the first information of each cable segment associated with each target port of the first device 310 and the second information of the laying segment associated with each cable segment, the following information associated with the target ports a1, a2 and a3 can be obtained respectively.

[0151] The first information associated with target port a1 includes: the optical cable segment identifiers of optical cable segments A1, C1 and B1, and the optical fiber core identifier of optical cable segment A1 to which target port a1 is connected; and the second information associated with target port a1 includes: the laying segment identifiers of duct segment D1, direct burial segment Z1 and duct segment D3.

[0152] The first information associated with target port a2 includes: the optical cable segment identifiers of optical cable segments A2, C1 and B2, and the optical fiber core identifier of optical cable segment A2 to which target port a2 is connected; and the second information associated with target port a2 includes: the laying segment identifiers of duct segment D2, direct burial segment Z1 and duct segment D4.

[0153] The first information associated with target port a3 includes: the optical cable segment identifiers of optical cable segments A3, C3 and B3, and the optical fiber core identifier of optical cable segment A3 connected to target port a3; and the second information associated with target port a3 includes: the laying segment identifiers of duct segment D2, direct burial segment Z2 and pole segment G1.

[0154] When checking whether there is dual-reason protection between the first device 310 and the second device 320 based on the aforementioned first and second information, firstly based on... Using the permutation and combination formula, the target ports of the first device 310 are paired to form three port pairs: target ports a1 and a2, a2 ​​and a3, and a1 and a3. Next, based on the aforementioned first and second information, it is checked whether the signal transmission lines associated with each port pair meet the dual-routing condition.

[0155] The fiber core information within the signal transmission lines associated with port pairs a1 and a2 is completely different. However, the optical cable segment information corresponding to the fiber cores within the signal transmission lines associated with port pairs a1 and a2 contains a duplicate optical cable segment C1. Therefore, the signal transmission lines (i.e., signal transmission line 1 and signal transmission line 2) associated with target ports a1 and a2 respectively do not meet the dual-route condition. Thus, based on port pairs a1 and a2, it cannot be determined that there is dual-route protection between the first device 310 and the second device 320. Similarly, the fiber core information within the signal transmission lines associated with port pairs a2 and a3 is completely different. Furthermore, the optical cable segment information corresponding to the fiber cores within the signal transmission lines associated with port pairs a2 and a3 is also completely different. However, the laying segment corresponding to the optical cable segment associated with port pairs a2 and a3 contains a duplicate duct segment D2. Therefore, the signal transmission lines (i.e., signal transmission line 2 and signal transmission line 3) associated with target ports a2 and a3 respectively do not meet the dual-route condition. Thus, based on port pairs a2 and a3, it cannot be determined that there is dual-route protection between the first device 310 and the second device 320. The fiber core information within the signal transmission lines associated with port pairs a1 and a3 is completely different. The optical cable segment information corresponding to the fiber cores within the signal transmission lines associated with port pairs a1 and a3 is also completely different. The laying segment identifiers of the laying segments associated with the optical cable segments associated with port pairs a1 and a3 are also completely different. It can be seen that the signal transmission lines (i.e., signal transmission line 1 and signal transmission line 3) associated with target ports a1 and a3 respectively meet the dual-route condition. Therefore, based on port pairs a1 and a3, it can be determined that there is dual-route protection between the first device 310 and the second device 320.

[0156] like Figure 4 As shown, the first device 410 has three different uplink physical ports, denoted as target ports a1, a2, and a3, which are connected to the three downlink physical ports of the second device 420 via three completely different optical fiber paths (signal transmission line 1, signal transmission line 2, and signal transmission line 3). Figure 3 The line connection scenario shown can be used to obtain the following optical cable segment association information and laying segment association information for each target port of the first device 410.

[0157] The optical cable segments associated with the target port a1 of the first device 410 include: optical cable segment A1, optical cable segment C1 which is sequentially connected to optical cable segment A1, and optical cable segment B1. The laying segments associated with the target port a1 include: duct segment D1 associated with optical cable segment A1, direct burial segment Z1 associated with optical cable segment C1, and duct segment D3 associated with optical cable segment B1. The fiber core identifier associated with the target port a1 matches that of optical cable segment A1.

[0158] The optical cable segments associated with the target port a2 of the first device 410 include: optical cable segment A2, and optical cable segment C1 and optical cable segment B2, which are sequentially connected to optical cable segment A2. The laying segments associated with the target port a2 include: duct segment D2 associated with optical cable segment A2, direct burial segment Z1 associated with optical cable segment C1, and duct segment D4 associated with optical cable segment B2. The fiber core identifier associated with the target port a2 matches that of optical cable segment A2.

[0159] The optical cable segments associated with the target port a3 of the first device 410 include: optical cable segment A3, optical cable segment C3 which is sequentially connected to optical cable segment A3, and optical cable segment B3. The laying segments associated with the target port a3 include: duct segment D2 associated with optical cable segment A3, direct burial segment Z2 associated with optical cable segment C3, and pole segment G1 associated with optical cable segment B3. The fiber core identifier associated with the target port a3 matches that of optical cable segment A3.

[0160] Accordingly, when obtaining the first information of each cable segment associated with each target port of the first device 410 and the second information of the laying segment associated with each cable segment, the following information associated with the target ports a1, a2 and a3 can be obtained respectively.

[0161] The first information associated with target port a1 includes: the optical cable segment identifiers of optical cable segments A1, C1 and B1, and the optical fiber core identifier of optical cable segment A1 to which target port a1 is connected; and the second information associated with target port a1 includes: the laying segment identifiers of duct segment D1, direct burial segment Z1 and duct segment D3.

[0162] The first information associated with target port a2 includes: the optical cable segment identifiers of optical cable segments A2, C1 and B2, and the optical fiber core identifier of optical cable segment A2 to which target port a2 is connected; and the second information associated with target port a2 includes: the laying segment identifiers of duct segment D2, direct burial segment Z1 and duct segment D4.

[0163] The first information associated with target port a3 includes: the optical cable segment identifiers of optical cable segments A3, C3 and B3, and the optical fiber core identifier of optical cable segment A3 connected to target port a3; and the second information associated with target port a3 includes: the laying segment identifiers of duct segment D2, direct burial segment Z2 and pole segment G1.

[0164] When checking whether there is dual-reason protection between the first device 410 and the second device 420 based on the aforementioned first and second information, firstly based on... Using the permutation and combination formula, the target ports of the first device 410 are paired to form three port pairs: target ports a1 and a2, a2 ​​and a3, and a1 and a3. Next, based on the aforementioned first and second information, it is checked whether the signal transmission lines associated with each port pair meet the dual-routing condition.

[0165] For the logic on whether the signal transmission lines associated with port pairs a1 and a2, and port pairs a2 and a3 respectively meet the dual-routing condition, please refer to [link / reference]. Figure 3 The judgment logic for the corresponding port pair will not be elaborated here.

[0166] For port pairs a1 and a3, the fiber core information in the optical fiber paths associated with port pairs a1 and a3 is completely different, the optical cable segment information corresponding to the fiber core in the optical fiber paths associated with port pairs a1 and a3 is also completely different, and the laying segment identifiers of the laying segments corresponding to the optical cable segments associated with port pairs a1 and a3 are also completely different. However, the distance between the laying positions of the direct buried segment Z1 associated with target port a1 and the direct buried segment Z2 associated with target port a3 is less than a preset distance threshold. Therefore, the signal transmission lines (i.e., signal transmission line 1 and signal transmission line 3) associated with target ports a1 and a3 respectively do not meet the dual-route condition. Thus, based on port pairs a1 and a3, it cannot be determined that there is dual-route protection between the first device 410 and the second device 420.

[0167] The device dual-route inspection method disclosed in this application obtains first information of each cable segment associated with each target port of the first device and second information of the laying section associated with each cable segment. Each cable segment associated with each target port forms a signal transmission line from the corresponding target port to the second device. For each port pair consisting of two target ports, based on the first and second information corresponding to each target port in the port pair, an inspection result is obtained to determine whether the signal transmission line associated with the port pair meets the dual-route condition. Based on the inspection result, it is determined whether the signal transmission line between the first device and the second device is a dual-route, greatly improving the efficiency of dual-route inspection between devices.

[0168] The device dual-route inspection method disclosed in this application combines and simulates information such as device port information, cable segment information associated with the device port, laying segment information associated with the cable segment, and signal transmission line information. At the same time, it introduces laying distance information of different signal transmission lines and judges the sharing, overlapping, and crossing of cable segments and laying segments traversed by different signal transmission lines. It automatically completes the dual-route inspection between devices. Compared with manual inspection, it not only improves the efficiency of dual-route inspection, but also improves the accuracy of dual-route inspection.

[0169] Furthermore, since the dual-route inspection method for equipment disclosed in this application introduces the laying distance factor between different signal transmission lines to perform dual-route judgment, it can make up for the deficiency that manual inspection cannot judge the laying distance, avoid the situation where the dual-route protection of the equipment is at risk because there are cable segments with a small distance between two different signal transmission lines, and further improve the accuracy of dual-route inspection.

[0170] On the other hand, the equipment maintenance system can output early warning information based on the cable segments with relatively close distances between different signal transmission lines determined by the dual-route inspection method of the equipment disclosed in the implementation application, which facilitates line analysis and rectification.

[0171] The dual-route inspection device disclosed in this application embodiment, such as Figure 5 As shown, the device includes:

[0172] The device association information acquisition module 510 is used to acquire the first information of each cable segment associated with each target port of the first device and the second information of the laying section associated with each cable segment, wherein each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device.

[0173] The port pair dual-route checking module 520 is used to, for each port pair consisting of two target ports, obtain a check result on whether the signal transmission line associated with the port pair meets the dual-route condition based on the first information and the second information corresponding to each target port in the port pair;

[0174] The device dual-route inspection module 530 is used to determine, based on the inspection results, whether the signal transmission line between the first device and the second device is dual-route.

[0175] In some embodiments of this application, the first information includes: cable segment identification, and the port pair dual-route check module 520 is further used for:

[0176] Determine whether there are any identical cable segment identifiers among the cable segment identifiers associated with different target ports in the port pair;

[0177] In response to the presence of the same cable segment identifier, a check result is obtained indicating that the signal transmission line associated with the port pair does not meet the dual routing condition;

[0178] In response to the absence of identical cable segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual routing condition is obtained based on the second information of the laying segment associated with each target port in the port pair.

[0179] In some embodiments of this application, the second information includes: a laying segment identifier and laying location information. The step of obtaining a check result regarding whether the signal transmission line associated with each target port in the port pair meets the dual-routing condition based on the second information of each laying segment is included:

[0180] Determine whether there is a common laying segment identifier among the laying segment identifiers of each laying segment associated with different target ports in the port pair, wherein each laying segment associated with the target port is: the laying segment associated with each cable segment associated with the target port;

[0181] In response to the existence of the same laying section identifier, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition;

[0182] In response to the absence of identical laying segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition is obtained based on the laying location information of each laying segment associated with each target port in the port pair.

[0183] In some embodiments of this application, the step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair includes:

[0184] Based on the laying location information of each laying segment associated with each target port in the port pair, determine whether there is a laying location between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0185] In response to the existence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition.

[0186] In response to the absence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained showing that the signal transmission lines associated with the two target ports respectively meet the dual routing conditions.

[0187] In some embodiments of this application, determining whether there is a laying location between the signal transmission lines associated with two target ports that has a laying distance less than or equal to a preset distance threshold, based on the laying location information of each laying segment associated with each target port in the port pair, includes:

[0188] Obtain the position coordinates of several laying points on the signal transmission line associated with the first target port and the second target port in the port pair, respectively;

[0189] The target signal transmission line plane is determined based on the position coordinates of the plurality of laying points on the signal transmission line associated with the first target port and the preset distance threshold.

[0190] Determine whether each laying point on the signal transmission line associated with the second target port is within the plane of the target signal transmission line;

[0191] In response to at least one laying point on the signal transmission line associated with the second target port being in the plane of the target signal transmission line, it is determined that there is a laying position between the signal transmission lines associated with the two target ports respectively, where the laying distance is less than or equal to a preset distance threshold.

[0192] In response to all the laying points on the signal transmission line associated with the second target port being outside the plane of the target signal transmission line, it is determined that there are no laying positions between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

[0193] In some embodiments of this application, the first information includes: cable core identifier, such as... Figure 6 As shown, the device further includes:

[0194] The first preprocessing module 512 is used to determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, wherein the cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port;

[0195] The first preprocessing module 512 is also used to respond to the existence of the same identifier value, output signal transmission line information acquisition error, and end the dual-route check.

[0196] In some embodiments of this application, the first information includes: a cable segment identifier of the next cable segment connected to the current cable segment in a specified signal transmission direction; after determining whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, such as... Figure 6 As shown, the device further includes:

[0197] The second preprocessing module 514 is used to obtain the signal transmission line from the corresponding target port to the second device based on the cable segment identifier of each cable segment associated with each target port and the cable segment identifier of the next cable segment connected to each cable segment in response to the absence of identical identifier values.

[0198] The second preprocessing module 514 is further configured to, in response to obtaining one of the signal transmission lines, determine that the signal transmission line between the first device and the second device is not protected by dual routing; and, in response to obtaining at least two of the signal transmission lines, jump to calling the port dual routing check module 520.

[0199] The device dual-route checking apparatus disclosed in this application is used to implement the device dual-route checking method described in this application. The specific implementation of each module of the apparatus will not be repeated here, but can be found in the specific implementation of the corresponding steps in the method embodiment.

[0200] This application discloses a device dual-route inspection apparatus. It acquires first information about each cable segment associated with each target port of a first device and second information about the laying section associated with each cable segment. Each cable segment associated with each target port forms a signal transmission line from the corresponding target port to the second device. For each port pair consisting of two target ports, based on the first and second information corresponding to each target port in the port pair, an inspection result is obtained to determine whether the signal transmission line associated with the port pair meets the dual-route condition. Based on the inspection result, it is determined whether the signal transmission line between the first device and the second device is dual-route, greatly improving the efficiency of dual-route inspection between devices.

[0201] The dual-route inspection device disclosed in this application combines and simulates information such as device port information, cable segment information associated with the device port, laying segment information associated with the cable segment, and signal transmission line information. At the same time, it introduces laying distance information of different signal transmission lines to judge the sharing, overlapping, and crossing of cable segments and laying segments traversed by different signal transmission lines. It automatically completes the dual-route inspection between devices. Compared with manual inspection, it not only improves the efficiency of dual-route inspection, but also improves the accuracy of dual-route inspection.

[0202] Furthermore, since the dual-route inspection device disclosed in this application introduces the laying distance factor between different signal transmission lines to perform dual-route judgment, it can make up for the deficiency that manual inspection cannot judge the laying distance, avoid the situation that the dual-route protection of the device is at risk because there are cable segments with a small distance between two different signal transmission lines, and further improve the accuracy of dual-route inspection.

[0203] On the other hand, the equipment maintenance system can output early warning information based on the cable segments with relatively close distances between different signal transmission lines determined when implementing the dual-route inspection device disclosed in the application, which facilitates line analysis and rectification.

[0204] Accordingly, this application also discloses an equipment maintenance system, which includes: an information acquisition module and an information processing module, wherein,

[0205] The information acquisition module is used to store first information of each cable segment associated with each target port of the first device, and second information of each laying segment associated with each cable segment, based on the user's associated operation.

[0206] The information processing module is used to execute the steps of the device dual-route checking method disclosed in the embodiments of this application, so as to check whether the signal transmission line between the first device and the second device is protected by dual-route.

[0207] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus embodiments, since they are fundamentally similar to the method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0208] The above provides a detailed description of a dual-route inspection method and apparatus for devices provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method of this application and its core idea. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the idea of ​​this application. Therefore, the content of this specification should not be construed as a limitation of this application.

[0209] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0210] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the electronic device according to the embodiments of this application. This application can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such a program implementing this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0211] For example, Figure 7 An electronic device is shown that can implement the methods according to this application. The electronic device may be a PC, mobile terminal, personal digital assistant, tablet computer, etc. The electronic device conventionally includes a processor 710 and a memory 720, and program code 730 stored in the memory 720 and executable on the processor 710. When the processor 710 executes the program code 730, it implements the methods described in the above embodiments. The memory 720 may be a computer program product or a computer-readable medium. The memory 720 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. The memory 720 has a storage space 7201 for the program code 730 of a computer program for performing any of the method steps described above. For example, the storage space 7201 for the program code 730 may include various computer programs for implementing the various steps in the above methods. The program code 730 is computer-readable code. These computer programs can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, CDs, memory cards, or floppy disks. The computer program includes computer-readable code that, when executed on an electronic device, causes the electronic device to perform the method according to the above embodiments.

[0212] This application also discloses a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the device dual-route inspection method as described in Embodiment 1 of this application.

[0213] Such a computer program product can be a computer-readable storage medium, which can have the same characteristics as... Figure 7The memory 720 in the illustrated electronic device is similarly arranged with storage segments, storage spaces, etc. Program code can be stored, for example, in a compressed form on the computer-readable storage medium. The computer-readable storage medium is typically as shown in the reference... Figure 8 The portable or fixed storage unit is described above. Typically, the storage unit includes computer-readable code 730', which is code read by a processor and, when executed by the processor, implements the various steps of the method described above.

[0214] The terms "an embodiment," "embodiment," or "one or more embodiments" as used herein mean that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of this application. Furthermore, please note that the examples of the phrase "in one embodiment" do not necessarily all refer to the same embodiment.

[0215] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0216] In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0217] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for dual-route inspection of equipment, characterized in that, include: The first information of each cable segment associated with each target port of the first device and the second information of the laying section associated with each cable segment are obtained, wherein each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device. For each pair of two target ports, based on the first information and the second information corresponding to each target port in the pair, the check result of whether the signal transmission line associated with the port pair meets the dual routing condition is obtained; Based on the inspection results, determine whether the signal transmission line between the first device and the second device is a dual-route line; The first information includes: cable core identifier. After obtaining the first information of each cable segment associated with each target port of the first device and the second information of the laying segment associated with each cable segment, the information further includes: Determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, wherein the cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port; If the same identifier value is found, the signal transmission line information acquisition error is detected, and the dual-route check ends.

2. The method of claim 1, wherein, The first information includes: cable segment identifier. The step of obtaining the check result regarding whether the signal transmission line associated with the port pair meets the dual-routing condition based on the first information and the second information corresponding to each target port in the port pair includes: Determine whether there are any identical cable segment identifiers among the cable segment identifiers associated with different target ports in the port pair; In response to the presence of the same cable segment identifier, a check result is obtained indicating that the signal transmission line associated with the port pair does not meet the dual routing condition; In response to the absence of identical cable segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual routing condition is obtained based on the second information of the laying segment associated with each target port in the port pair.

3. The method of claim 2, wherein, The second information includes: a laying section identifier and laying location information. The step of obtaining the check result regarding whether the signal transmission line associated with each target port in the port pair meets the dual-routing condition based on the second information of each laying section includes: Determine whether there are any identical laying segment identifiers among the laying segment identifiers of each laying segment associated with different target ports in the port pair; In response to the existence of the same laying section identifier, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition; In response to the absence of identical laying segment identifiers, the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition is obtained based on the laying location information of each laying segment associated with each target port in the port pair.

4. The method of claim 3, wherein, The step of obtaining the check result of whether the signal transmission line associated with the port pair meets the dual-routing condition based on the laying location information of each laying segment associated with each target port in the port pair includes: Based on the laying location information of each laying segment associated with each target port in the port pair, determine whether there is a laying location between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold. In response to the existence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained that the signal transmission line associated with the port does not meet the dual routing condition. In response to the absence of a laying location where the laying distance is less than or equal to a preset distance threshold, a check result is obtained showing that the signal transmission lines associated with the two target ports respectively meet the dual routing conditions.

5. The method of claim 4, wherein, The step of determining whether there is a laying location between the signal transmission lines associated with two target ports that has a laying distance less than or equal to a preset distance threshold, based on the laying location information of each laying segment associated with each target port in the port pair, includes: Obtain the position coordinates of several laying points on the signal transmission line associated with the first target port and the second target port in the port pair, respectively; The target signal transmission line plane is determined based on the position coordinates of the plurality of laying points on the signal transmission line associated with the first target port and the preset distance threshold. Determine whether each laying point on the signal transmission line associated with the second target port is within the plane of the target signal transmission line; In response to at least one laying point on the signal transmission line associated with the second target port being in the plane of the target signal transmission line, it is determined that there is a laying position between the signal transmission lines associated with the two target ports respectively, where the laying distance is less than or equal to a preset distance threshold. In response to all the laying points on the signal transmission line associated with the second target port being outside the plane of the target signal transmission line, it is determined that there are no laying positions between the signal transmission lines associated with the two target ports with a laying distance less than or equal to a preset distance threshold.

6. The method of claim 1, wherein, The first information includes: the cable segment identifier of the next cable segment connected to the current cable segment in the specified signal transmission direction. After determining whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, it further includes: In response to the absence of identical identifier values, the signal transmission line from the corresponding target port to the second device is obtained based on the cable segment identifier of each cable segment associated with each target port and the cable segment identifier of the next cable segment to which each cable segment is connected. In response to obtaining one of the signal transmission lines, it is determined that the signal transmission line between the first device and the second device is not protected by dual routing. In response to obtaining at least two of the signal transmission lines, the process jumps to the step of checking whether the signal transmission lines associated with the port pair satisfy the dual routing condition for each pair of two target ports, based on the first information and the second information corresponding to each target port in the port pair.

7. A device dual routing check apparatus, characterized by, include: The device association information acquisition module is used to acquire the first information of each cable segment associated with each target port of the first device and the second information of the laying section associated with each cable segment, wherein each cable segment associated with each target port is used to form a signal transmission line from the corresponding target port to the second device. The port pair dual-route checking module is used to, for each port pair consisting of two target ports, obtain a check result on whether the signal transmission line associated with the port pair meets the dual-route condition based on the first information and the second information corresponding to each target port in the port pair; The device dual-route check module is used to determine, based on the check results, whether the signal transmission line between the first device and the second device is dual-route. The first preprocessing module is used to determine whether there are identical identifier values ​​among the cable core identifiers associated with different target ports of the first device, wherein the cable core identifier corresponds one-to-one with the cable core number in the specified cable segment connected to the target port; The first preprocessing module is also used to respond to the existence of the same identifier value, output signal transmission line information acquisition error, and end the dual-route check.

8. An equipment maintenance system comprising: The information acquisition module and the information processing module, among which, The information acquisition module is used to store first information of each cable segment associated with each target port of the first device, and second information of each laying segment associated with each cable segment, based on the user's associated operation. The information processing module is used to execute the device dual-route check method as described in any one of claims 1 to 6, to check whether the signal transmission line between the first device and the second device is protected by dual-route.

9. An electronic device, comprising a memory, a processor, and program code stored in the memory and executable on the processor, characterized in that, When the processor executes the program code, it implements the device dual-route inspection method according to any one of claims 1 to 6.

10. A computer-readable storage medium having stored thereon a program code, characterized in that, When the program code is executed by the processor, it implements the steps of the device dual-route inspection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • GIS based optical cable same-route analysis method and device

    CN104104595A

  • Method and device for searching double routes and electronic equipment

    CN114866463A