A method for determining cable connection paths for security equipment based on endpoint mapping

By using time-domain reflectometry and endpoint mapping technology, the problem of determining the accuracy of cable connection paths in security engineering has been solved. This enables the differentiation of intermediate connecting cables and the determination of target connection paths, thereby improving the accuracy of cable tracing and path verification.

CN123116532APending Publication Date: 2026-11-17SHANGHAI ZHENGYU BUILDING INTELLIGENT ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611610230.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing security engineering projects, the way cable connection paths are determined can easily lead to inconsistencies between the endpoint correspondences and the actual wiring. This is especially true after equipment additions, cable repairs, or partial line replacements, making it difficult to accurately distinguish between intermediate cable connections and single cable connections.

Method used

By verifying the one-way propagation time and internal reflection changes through cable connectivity detection, and combining the endpoint mapping relationship, the cable connection path is determined. Using time-domain reflectometry and endpoint detection technology, direct connection and connection via cable splicing are distinguished, and the target connection path is determined by combining the wiring location and the actual cable laying length.

Benefits of technology

It improves the accuracy of cable tracing and path verification in security engineering, reduces judgment errors caused by inconsistencies between as-built data and on-site wiring, and ensures that endpoint mapping reflects the on-site cable connection status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123116532A_ABST
    Figure CN123116532A_ABST
Patent Text Reader

Abstract

This invention discloses a method for determining the cable connection path of security equipment based on endpoint mapping, belonging to the technical field of cable connection path determination in security engineering. It addresses the problem of inaccurate determination of endpoint connection relationships and actual cable laying paths caused by cable splicing in existing security engineering projects. The method involves performing time-domain reflection measurements on cables confirmed to be connected by cable connectivity testing from both endpoints. The location of electrical changes is determined based on the propagation time and polarity of internal reflection changes, thereby determining the connection form between the two endpoints and establishing an endpoint mapping relationship. Finally, the target connection path is accurately determined by combining the connection relationship between wiring locations, the actual cable laying length, and on-site cable tracing detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of cable connection path determination technology in security engineering, and more specifically, to a method for determining cable connection paths in security equipment based on endpoint mapping. Background Technology

[0002] In existing security systems, cameras, access control systems, alarm devices, recording equipment, and switching equipment are typically connected via network cables, coaxial cables, control cables, or fiber optic cables. These cables may be laid through cabinets, patch panels, low-voltage shafts, cable trays, cable ducts, or conduits. The current method for determining cable connection paths generally relies on as-built drawings, cable laying records, cable tags, and on-site cable tracing to determine the connection relationships between endpoints. Cable lengths can be obtained using cable testers or time-domain reflectometry. However, with the addition of equipment, cable repairs, and partial line replacements, the original wiring may change, and a continuous electrical connection between two endpoints may be formed by multiple consecutive cable segments. In such cases, determining the connection relationship solely based on end-to-end connectivity or overall propagation time can easily lead to treating existing consecutive cables as single cables, resulting in inconsistencies between the endpoint correspondences and the actual wiring.

[0003] To address the above problems, this invention proposes a solution. Summary of the Invention

[0004] To overcome the aforementioned deficiencies of the prior art, embodiments of the present invention provide a method for determining the cable connection path of security equipment based on endpoint mapping, in order to solve the problems mentioned in the background art.

[0005] To achieve the above objectives, the present invention provides the following technical solution: In a preferred embodiment, it includes: For cables that have been confirmed to be connected by cable connectivity testing, time-domain reflectometry is performed from both ends to determine the one-way propagation time between the two ends, and the propagation time and reflection polarity of internal reflection changes are recorded. The propagation times of the internal reflection changes detected from the two endpoints are added together. When the difference between the sum and the one-way propagation time is not greater than the time resolution of the time domain reflectance measurement device and the reflection polarities of the internal reflection changes corresponding to the two directions are opposite, the two internal reflection changes are determined to be the same electrical change location. When no corresponding internal reflection change is detected in either direction, the connection between the two endpoints is determined to be a direct connection; when a corresponding internal reflection change is detected, the connection between the two endpoints is determined to be a connection formed by cable splicing, and the correspondence between the two endpoints that are confirmed to be connected by actual detection is determined to be the endpoint mapping relationship.

[0006] In a preferred embodiment, the security area where cable connection path determination is required is identified, the security equipment ledger and on-site equipment identification of the security area are read, and the port number and port type are obtained by combining the interface configuration record of each device and the port identification set at the device interface. The physical interface corresponding to a device identification and a port number of the device is determined as an endpoint. The cables connected to the endpoints are checked according to the location of the endpoints, and the ends of two cables with the same cable number are respectively mapped to the endpoints that are actually connected to them, forming an endpoint pair.

[0007] In a preferred embodiment, cable connectivity is detected for each of the formed endpoint pairs one by one. The corresponding detection method is selected according to the cable type recorded in the endpoint pair. A test signal is sent from one endpoint of the endpoint pair to the cable, and the test signal is detected at the other endpoint. When the test signal is detected at the other endpoint, the cable between the two endpoints is recorded as connected, and the cable length between the two endpoints that are detected as connected is measured.

[0008] In a preferred embodiment, two endpoints for which the cable connection path needs to be determined are read from the endpoint mapping relationship. One endpoint is taken as the starting endpoint and the other endpoint as the ending endpoint. The wiring positions of the starting endpoint and the ending endpoint are determined according to the installation positions of the two endpoints. Starting from the wiring position of the starting endpoint, the wiring positions that are directly connected to the current wiring position and have not yet been passed are searched segment by segment according to the connection relationship between the wiring positions. When the wiring position of the ending endpoint is found, the starting endpoint, each wiring position and the ending endpoint that are passed in sequence are combined to form a candidate connection path.

[0009] In a preferred embodiment, the actual cable laying lengths corresponding to adjacent wiring positions in each candidate connection path are read, the actual cable laying lengths in the same candidate connection path are added together, and compared with the cable lengths corresponding to the endpoint mapping relationship; if the difference between the sum of the actual cable laying lengths and the cable length is not greater than the allowable error of length measurement, the candidate connection path is retained; if only one candidate connection path is retained after comparison, the candidate connection path is determined as the target connection path.

[0010] In a preferred embodiment, time-domain reflectometry is repeatedly performed on the same pulse width, retaining only internal reflectometry variations whose return time changes do not exceed the time resolution of the time-domain reflectometry device; when adjacent internal reflectometry variations overlap in the reflected waveform and their return times cannot be determined separately, a smaller pulse width is selected to remeasure from both endpoints; when the endpoint reflection cannot be identified after reducing the pulse width, a larger pulse width is selected to remeasure.

[0011] In a preferred embodiment, after each change of pulse width, the number of internal reflection changes, return time and reflection polarity measured in the two directions are compared respectively. The pulse width is changed again until the return time of the internal reflection changes that can be identified no longer exceeds the time resolution. The internal reflection changes that can be repeatedly detected are determined as the location of electrical changes in the cable.

[0012] In a preferred embodiment, the electrical change positions determined in the two directions are sequentially corresponding to the propagation time in ascending order, such that the arrangement order of the electrical change positions obtained from the first endpoint is the opposite of the corresponding arrangement order obtained from the second endpoint; when there is an internal reflection change that cannot satisfy the correspondence, the pulse width is reduced again for measurement based on the time interval between the internal reflection change and the adjacent internal reflection change, until the internal reflection change is separated or it is confirmed that the internal reflection change cannot form a correspondence from the two directions.

[0013] In a preferred embodiment, when a corresponding internal reflection change is detected from two directions, the distance from the first endpoint to the first electrical change position, the distance between two adjacent electrical change positions, and the distance from the last electrical change position to the second endpoint are each taken as a continuous cable segment according to the propagation time sequence of each electrical change position measured from the first endpoint. The one-way propagation time of the corresponding continuous cable is determined based on the difference between two adjacent propagation times. The connection form formed by the cable splicing, the bidirectional propagation time of each electrical change position, and the one-way propagation time of each continuous cable segment are recorded in the endpoint mapping relationship.

[0014] The technical effects and advantages of the present invention, a method for determining the cable connection path of security equipment based on endpoint mapping, are as follows: This invention uses actual testing of the cable connection between two endpoints and combines this with bidirectional time-domain reflectometry to determine the connection type. This allows for the differentiation of end-to-end connections with intermediate cable splices, reducing the possibility of mistaking a continuous electrical connection for a single, directly connected cable. The established endpoint mapping reflects the on-site cable connection status and, combined with the connection relationships between wiring locations, the actual cable length, and on-site cable tracing, determines the target connection path. This significantly improves the accuracy of cable tracing, path verification, and fault diagnosis in security engineering, reducing judgment errors caused by inconsistencies between as-built documentation and on-site wiring. Attached Figure Description

[0015] Figure 1 This is a schematic diagram illustrating the candidate connection path screening and target connection path determination method for security equipment cable connection path determination based on endpoint mapping according to the present invention.

[0016] Figure 2This is a schematic diagram illustrating the bidirectional time-domain reflectometry and corresponding internal reflectometry changes in a method for determining the cable connection path of security equipment based on endpoint mapping, according to the present invention. Detailed Implementation

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

[0018] In this embodiment, the present invention discloses a method for determining the cable connection path of security equipment based on endpoint mapping, comprising: Step 1: Identify the security area where cable connection paths need to be determined. Read the security equipment register and on-site equipment identification for that area to obtain the equipment identification and installation location of cameras, access controllers, alarm devices, recording devices, and switching equipment directly connected to the security equipment. Read the interface configuration records of each device and, combined with the port identification at the device interface, obtain the port number and port type used to connect the cables for each device. Identify the physical interface corresponding to a device identification and a port number as an endpoint. For cabling locations where cables are transferred via patch panels, read the patch panel port identification to obtain the corresponding patch panel number and port number. Identify the physical interface on the patch panel where the cable connects as an endpoint, and distinguish different endpoints by the patch panel number and port number.

[0019] Inspect the cables connected to the endpoints according to their locations, and read the cable tags at both ends of the cable to obtain the cable number and type. If one end of the cable is not tagged or the cable tag is illegible, read the cable number and type corresponding to that endpoint from the security engineering as-built drawings and cable laying records, and verify the reading results against the identifiable cable tag on the other end. If the cable number in the as-built drawings or cable laying records does not match the cable tag on site, record the cable number that can be directly read on site, and retain the cable with the discrepancy as an unconfirmed connection cable, without directly determining the endpoint connected to its other end based on the as-built data. The cable type is obtained according to the cable's own markings on site or the corresponding cable specifications recorded in the as-built data, and is used to determine whether a physical connection can be established between the cable and the port type.

[0020] Based on the installation locations of each endpoint, read the cable routing from the as-built drawings of the security project, and verify on-site whether the cables pass through the corresponding cabinets, patch panels, low-voltage wells, cable trays, cable ducts, or conduits. For cable locations that can be confirmed through on-site observation, record the connection relationships between adjacent cable locations according to the actual cable routing sequence. For cables located in enclosed cable trays, conduits, or other locations that cannot be directly observed, record their connection relationships according to the entry and exit points recorded in the as-built drawings and cable routing records. When the cable locations recorded in the as-built drawings are inconsistent with the cable routing that can be observed on-site, update the connection relationships between the corresponding cable locations using the cable routing obtained from on-site observation.

[0021] Two cable ends with the same cable number are respectively mapped to their actual connected endpoints to form an endpoint pair. For cables lacking cable numbers or with inconsistent cable numbers, endpoints that cannot be directly connected are first excluded based on cable type and port type. Specifically, when excluding endpoints that cannot be directly connected based on cable type and port type, the port type is read from the interface configuration record obtained in step one, and the cable type is obtained from the cable's own identification or the corresponding cable specification record in the as-built documentation. The port type and cable type are checked one by one. If the interface configuration record indicates that the corresponding port can connect to the cable type, the endpoint is retained; if the interface configuration record indicates that the corresponding port cannot connect to the cable type, the endpoint is excluded. When a cable end corresponds to multiple possible connected endpoints, the above checks are performed on each endpoint. Then, based on the connection relationship between the wiring positions, endpoint combinations that can be connected by consecutive wiring positions are retained, and every two endpoints that may be connected by the same cable form an endpoint pair. When one endpoint can correspond to multiple possible connected endpoints, the corresponding endpoint pairs are retained respectively, and in each endpoint pair, the device identifier or patch panel number, port number, port type of each endpoint, as well as the connection relationship between the read cable number, cable type and wiring location between the two ends are recorded.

[0022] Step two involves performing cable connectivity tests on each endpoint pair formed in Step one. The corresponding testing method is selected based on the cable type recorded in the endpoint pair. During cable tracing, the appropriate test signal is selected according to the technical parameters of the cable tracing device or fiber optic identifier used on-site, ensuring that the test signal sent by the endpoint matches the test signal detectable by the cable tracing device or fiber optic identifier. For network cables, coaxial cables, and control cables, the signal transmitting device corresponding to the cable tracing device sends an electrical test signal from the endpoint to the cable, and the cable tracing device is used to test the cable at different cabling locations along the candidate connection path. For optical fibers, an optical test signal detectable by the fiber optic identifier is sent from the endpoint to the optical fiber, and the fiber optic identifier is used to test the optical fiber at different cabling locations along the candidate connection path where it can contact the optical fiber.

[0023] For example, when two candidate connection paths enter two different wiring locations after the same wiring location, a corresponding test signal is sent from the endpoint. If the test signal is detected only at the cable of one of the wiring locations, the candidate connection path passing through that wiring location is retained, and the candidate connection path passing through the other wiring location is excluded. The same test is then performed on the next different wiring locations along the retained candidate connection path until a continuous candidate connection path that reaches the end endpoint is retained.

[0024] For network cables, coaxial cables, and control cables, a cable tester is connected to one end of the endpoint pair. The cable tester sends an electrical test signal to the cable connected to that end to determine whether the cable is connected. The electrical test signal is then detected at the other end of the endpoint pair. For optical fibers, a light source is connected to one end of the endpoint pair and an optical test signal is sent to the optical fiber. The optical test signal is then detected at the other end using an optical power meter. If a test signal corresponding to the sending end is detected at the other end, the cable between the two endpoints is considered connected. If no corresponding test signal is detected, no connection is established between the two endpoints, and cable connectivity testing continues for the other endpoint pairs retained in step one.

[0025] For two endpoints where a connection is detected, the cable length between them is measured. For network cables, coaxial cables, and control cables, time-domain reflectometry (TD-RS) is used to send a pulse signal to the cable. The propagation time of the pulse signal from the sending position to the other end of the cable and back is read. The cable length is calculated according to the signal propagation speed corresponding to the cable type. The signal propagation speed is obtained from the manufacturer's technical parameters corresponding to the cable specifications. If the manufacturer's technical parameters are not available, cable parameters consistent with the cable type and specifications on site are selected in the cable tester, and the signal propagation speed given by the cable tester is used. For optical fibers, optical time-domain reflectometry (OTDR) is used to send an optical pulse to the optical fiber. The reflection time of the optical pulse at the other end of the cable is read, and the propagation speed of the optical pulse in the optical fiber is calculated according to the refractive index corresponding to the optical fiber specifications. The cable length is determined by the round-trip propagation time and propagation speed of the optical pulse. The refractive index of the optical fiber is obtained from the specifications provided by the optical fiber manufacturer.

[0026] It should be noted that after existing security systems undergo equipment additions, cable repairs, or partial line replacements, the connection between one endpoint and another may consist of different cables connected sequentially. For example, existing cables may connect to newly laid cables at junction boxes or patch panels. Since the connections in junction boxes or patch panels are passive electrical connections, a test signal sent from one endpoint can still reach the other, thus allowing for cable connectivity detection. However, the different cables the test signal actually passes through may have different types, specifications, or usage conditions, and the connection positions between adjacent cables can alter the impedance and propagation speed of the test signal. In this case, the cable length obtained from the propagation time of the end-to-end test signal reflects the overall electrical distance formed by the continuous propagation of different cables. If the two endpoints are directly connected by the same cable simply because they can detect the corresponding test signal, the continuous electrical connection formed by the intermediate cable connection will be mistakenly interpreted as a single cable connection, leading to an inconsistency between the established endpoint mapping relationship and the actual cable connection relationship on site.

[0027] Therefore, in this embodiment, for network cables, coaxial cables, and control cables that have been confirmed to be connected by cable connectivity detection, it is not directly assumed that the two ends are directly connected by the same cable. Instead, time-domain reflectometry is performed separately from the two ends. First, starting from one end, based on the cable length already measured in this step, a pulse width corresponding to the cable length is selected from the pulse widths supported by the time-domain reflectometry device. The correspondence is determined according to the technical parameters of the time-domain reflectometry device. During the measurement, the other end is disconnected from the device interface it is connected to. Then, a pulse signal is sent to the cable from the current end, and the reflected waveform showing the change in amplitude of the reflected signal with the return time is recorded. After completing the measurement in this direction, the same method is used to measure from the other end.

[0028] The reflection formed when the pulse signal enters the cable from the current endpoint is defined as the transmitting end reflection. The reflection formed when the pulse signal propagates along the cable to another endpoint and returns from that endpoint is defined as the endpoint reflection. Half of the round-trip propagation time of the endpoint reflection is defined as the one-way propagation time between the two endpoints. Local reflection peaks or valleys that appear between the transmitting end reflection and the endpoint reflection are defined as internal reflection variations. The round-trip propagation time and reflection polarity of each internal reflection variation are recorded, where reflection polarity indicates whether the reflected signal changes positively or negatively relative to the transmitting pulse baseline.

[0029] When performing repeated time-domain reflectometry on the same pulse width, only internal reflectometry changes whose return time does not exceed the time resolution of the time-domain reflectometry device are retained. The time resolution is read from the technical parameters of the time-domain reflectometry device and represents the minimum time interval at which the device can distinguish two reflectometry changes. Reflection signal changes that do not reappear within the same return time range during repeated measurements are not recorded as internal reflectometry changes.

[0030] When adjacent internal reflection changes overlap in the reflected waveform and their return times cannot be determined separately, a smaller pulse width is selected from the pulse widths supported by the time-domain reflectometry device, and measurements are re-performed from both endpoints. If endpoint reflections cannot be identified after reducing the pulse width, a larger pulse width is selected for re-measurement. After each change in pulse width, the number of internal reflection changes, return times, and reflection polarities measured in both directions are compared until, when the pulse width is further changed, the return times of the internal reflection changes that can be identified separately no longer change beyond the stated time resolution. Each internal reflection change obtained in this way corresponds to a repeatedly detectable electrical change location in the cable, without using instantaneous amplitude changes in a single reflection waveform to determine this location.

[0031] Following the propagation direction from the first endpoint to the second endpoint, the round-trip propagation time of each internal reflection change is read sequentially, and half of each round-trip propagation time is taken as the propagation time of the pulse signal from the first endpoint to the corresponding electrical change position. The same process is then performed following the propagation direction from the second endpoint to the first endpoint. For any internal reflection change detected from the first endpoint, its propagation time is added to the propagation time of each internal reflection change detected from the second endpoint. When the difference between the sum and the one-way propagation time between the two endpoints is not greater than the time resolution, and the reflection polarities of the corresponding internal reflection changes in the two directions are opposite, the two internal reflection changes are determined to be the same electrical change position. Figure 2As shown. After performing the above correspondences in ascending order of propagation time, the order of electrical change positions obtained from the first endpoint should be the reverse of the order of correspondences obtained from the second endpoint. If there are internal reflection changes that do not satisfy the propagation time correspondence, reflection polarity correspondence, or order correspondence, the pulse width should be reduced again for measurement based on the time interval between the internal reflection change and the adjacent internal reflection change until they can be separated, or it is confirmed after reducing the pulse width that the internal reflection change cannot form a correspondence from two directions.

[0032] For example, in a time-domain reflectometry measurement, the one-way propagation time between the two endpoints is 200 nanoseconds, and the time resolution of the time-domain reflectometry device is 2 nanoseconds. The propagation time corresponding to an internal reflection change detected from the first endpoint is 70 nanoseconds, and the propagation time corresponding to an internal reflection change detected from the second endpoint is 130 nanoseconds. The sum of the two propagation times is 200 nanoseconds. The difference between this and the one-way propagation time between the two endpoints is not greater than the time resolution, and the reflection polarities of the internal reflection changes detected in the two directions are opposite. Therefore, the two internal reflection changes are determined to be the same electrical change location. When multiple internal reflection changes exist, they are matched sequentially according to the propagation time from smallest to largest, and it is checked whether the order of electrical change locations obtained from the first endpoint is reversed compared to the order obtained from the second endpoint. If the above correspondence cannot be satisfied, the measurement is repeated with a reduced pulse width according to the steps outlined in this procedure.

[0033] When no corresponding internal reflection changes are detected in either direction, the connection between the two endpoints is determined to be a direct connection, and the correspondence confirmed by actual detection between the two endpoints is determined to be an endpoint mapping relationship. The cable number, cable type, and cable length measured in this step are recorded in correspondence with this endpoint mapping relationship. When corresponding internal reflection changes are detected from both directions, the two endpoints are not considered to be directly connected by the same cable, but the connection between the two endpoints is determined to be a connection formed by cable splicing. According to the propagation time sequence of each electrical change position measured from the first endpoint, the first endpoint to the first electrical change position, the two adjacent electrical change positions, and the last electrical change position to the second endpoint are each regarded as a continuous cable segment, and the difference between two adjacent propagation times is determined as the one-way propagation time of the corresponding continuous cable. Among them, the one-way propagation time from the first endpoint to the first electrical change position is the propagation time of the first electrical change position, and the one-way propagation time from the last electrical change position to the second endpoint is the difference between the one-way propagation time between the two endpoints and the propagation time of the last electrical change position. The correspondence between two endpoints that are confirmed to be connected by actual testing is determined as the endpoint mapping relationship. The connection form formed by cable splicing, the bidirectional propagation time of each electrical change position, and the one-way propagation time of each continuous cable segment are recorded in the endpoint mapping relationship. The total propagation time between the two endpoints is no longer converted into the cable length of a cable using the same signal propagation speed.

[0034] For optical fibers, after confirming connectivity through cable connectivity testing, the correspondence between the two endpoints, as confirmed by actual testing, is determined as an endpoint mapping relationship. The cable number, cable type, and cable length obtained in step one, along with the cable length obtained from the aforementioned optical time-domain reflectometry (OTDR) measurement, are recorded in relation to this endpoint mapping relationship. The cable length is determined based on the reflection time detected by the ODR measurement equipment and the refractive index corresponding to the fiber specifications. The polarity correspondence used in ODR measurements for network cables, coaxial cables, and control cables is not used to determine the connection type between the two endpoints.

[0035] Step 3: From the endpoint mapping relationship determined in Step 2, read the two endpoints from which the cable connection path needs to be determined. Designate one endpoint as the starting endpoint and the other as the ending endpoint. Based on the installation location recorded in Step 1, determine the wiring positions of the starting and ending endpoints respectively. According to the connection relationship between the wiring positions recorded in Step 1, read the actual cable laying length marked between adjacent wiring positions in the security engineering as-built drawings or cable laying records. If the actual cable laying length is not marked, measure the length between two adjacent wiring positions along the cable laying direction of the corresponding cable tray, cable trough, or conduit on site, and use the measured length as the actual cable laying length between the two corresponding wiring positions.

[0036] When measuring the actual cable laying length on site, measure segment by segment according to the cable laying direction of the cable tray, cable trough or conduit through which the cable actually passes. Do not use the straight-line distance between two wiring positions to replace the actual cable laying length. When the cable passes through the cabinet, patch panel, low-voltage well, cable tray, cable trough or conduit in sequence, measure the length between adjacent wiring positions continuously according to the actual passing sequence confirmed in step one, and record the corresponding measurement results as the actual cable laying length between each adjacent wiring position.

[0037] Starting from the cabling location of the initial endpoint, the system searches segment by segment for the next cabling location directly connected to the current cabling location, based on the recorded connection relationships between cabling locations. Upon entering each cabling location, the system continues searching for cabling locations directly connected to that location that have not yet been traversed, recording the initial endpoint, each cabling location, and the final endpoint in the actual traversal order. When the final endpoint is found, a candidate connection path is formed by sequentially traversing the initial endpoint, each cabling location, and the final endpoint during this search. This candidate connection path represents the possible actual cable laying path between two endpoints whose endpoint mapping relationship was determined in step two. If a cabling location already recorded in the current candidate connection path is reached again during the search, the search along that cabling location is stopped to eliminate duplicate paths that cannot form a continuous connection during actual cable laying.

[0038] For the endpoint mapping relationship determined as a direct connection in step two, the actual cable lengths corresponding to adjacent wiring positions traversed during each search are summed sequentially, and the cable length corresponding to the endpoint mapping relationship in step two is read. Simultaneously, the allowable length measurement error is read from the technical parameters of the cable tester used to measure the cable length in step two. When the sum of the actual cable lengths traversed is greater than the sum of the cable length and the allowable length measurement error, the search along the current wiring position is stopped. When the wiring position of the ending endpoint is found, and the sum of the actual cable lengths corresponding to adjacent wiring positions in the candidate connection path is not greater than the sum of the cable length and the allowable length measurement error, the candidate connection path is retained.

[0039] For the endpoint mapping relationship of the connection formed by cable splicing in step two, the candidate connection path is not eliminated by using the cable length calculated according to the same signal propagation speed between the two endpoints. Instead, the search continues according to the connection relationship between the wiring positions recorded in step one. When the wiring position of the end endpoint is found, the candidate connection path formed in this search is retained, and the wiring positions passed through in the candidate connection path and the actual cable laying length corresponding to each adjacent wiring position are recorded.

[0040] For the endpoint mapping relationship corresponding to the optical fiber, read the cable length obtained by optical time-domain reflectometry in step two and the length measurement allowable error recorded in the technical parameters of the optical time-domain reflectometry equipment. Compare the sum of the actual cable laying lengths already traversed in the candidate connection path, the cable length, and the length measurement allowable error in the same way as for direct connection. When there are multiple candidate connection paths that meet the corresponding conditions, retain the wiring positions traversed sequentially in each candidate connection path and the actual cable laying lengths corresponding to each adjacent wiring position.

[0041] Step four: Read the candidate connection paths retained in step three, as well as the actual cable lengths corresponding to adjacent wiring positions within each candidate connection path. For endpoint mapping relationships determined as direct connections in step two, add the actual cable lengths within the same candidate connection path and compare them with the cable lengths of the corresponding endpoint mapping relationships in step two. If the difference between the sum of the actual cable lengths of the candidate connection paths and the cable lengths read in step three is not greater than the allowable error for length measurement, retain the candidate connection path; if the difference is greater than the allowable error for length measurement, exclude the candidate connection path. If only one candidate connection path is retained after comparison, determine that candidate connection path as the target connection path.

[0042] For the endpoint mapping relationship of the optical fiber, the cable length obtained by optical time domain reflection measurement in step two is used for the above comparison; when only one candidate connection path is retained after comparison, the candidate connection path is determined as the target connection path.

[0043] For the endpoint mapping relationship of the connection formed by cable splicing in step two, the candidate connection path is not excluded by using the cable length calculated between the two endpoints according to the same signal propagation speed. Instead, the candidate connection paths found in step three according to the connection relationship between the wiring positions are directly retained.

[0044] The target connection path refers to the actual cable laying path between two endpoints confirmed by cable length or on-site cable tracing. If multiple candidate connection paths remain after the above processing, or if multiple candidate connection paths are retained due to the connection type being determined as a cable splice in step two, they are compared according to the order in which the cabling positions are traversed within each candidate connection path. This determines where multiple candidate connection paths start from the same cabling position and enter different cabling positions, and cable tracing is performed at the corresponding on-site cable positions. Figure 1 As shown.

[0045] If multiple candidate connection paths remain after comparing cable lengths, they are compared according to the order in which the cabling positions in each candidate connection path are traversed. This determines where each candidate connection path starts from the same cabling position and enters different cabling positions, and cable tracing is performed at the corresponding on-site cable positions. For network cables, coaxial cables, and control cables, an electrical test signal detectable by a cable tracing device is sent from one endpoint of the endpoint mapping relationship determined in step two to the cable. The cable tracing device detects the electrical test signal at each of the different cabling positions, and the cabling position where the electrical test signal is detected is retained in the candidate connection paths, while candidate connection paths entering other cabling positions are excluded. For optical fibers, an optical test signal detectable by a fiber optic identifier is sent from one endpoint of the endpoint mapping relationship to the optical fiber. The fiber optic identifier detects the optical test signal at each of the different cabling positions where the optical fiber can contact the fiber, and the corresponding candidate connection path is retained according to the actual cabling position where the optical fiber that detected the optical test signal entered. The same detection is performed on the remaining places entering different wiring positions along the reserved candidate connection path until a candidate connection path is reserved that runs continuously from the starting endpoint to the ending endpoint. This candidate connection path is then determined as the target connection path.

[0046] When none of the candidate connection paths recorded in step three can detect a test signal corresponding to the endpoint mapping relationship, start from the last wiring position where a test signal can be detected and check the adjacent wiring positions where the cable actually enters. Update the connection relationship between the wiring positions recorded in step one with the actual adjacent wiring positions. Then, search for candidate connection paths to the wiring position where the end endpoint is located according to the updated connection relationship. When the endpoint reached by the test signal along the actual cable is inconsistent with the other endpoint recorded in step two, re-execute the cable connectivity test in step two for the two endpoints where the test signal was actually detected. After confirming connectivity, update the endpoint mapping relationship with the two actual endpoints and redetermine the target connection path according to the updated endpoint mapping relationship.

[0047] After updating the endpoint mapping relationship, the start endpoint and end endpoint are re-determined according to the updated two endpoints, and the connection relationship between the corresponding wiring positions is reread. Candidate connection paths are searched again according to step three, and then the actual cable laying length is compared or the line is detected according to step four. The candidate connection path that actually detects the test signal and can continuously reach the end endpoint from the start endpoint is taken as the updated target connection path.

[0048] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.

[0049] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, in the form of a computer program product.

[0050] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and inventive constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0051] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0052] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0053] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. An endpoint mapping based security device cable connection path determination method, characterized by, include: For cables that have been confirmed to be connected by cable connectivity testing, time-domain reflectometry is performed from both ends to determine the one-way propagation time between the two ends, and the propagation time and reflection polarity of internal reflection changes are recorded. The propagation times of the internal reflection changes detected from the two endpoints are added together. When the difference between the sum and the one-way propagation time is not greater than the time resolution of the time domain reflectance measurement device and the reflection polarities of the internal reflection changes corresponding to the two directions are opposite, the two internal reflection changes are determined to be the same electrical change location. When no corresponding internal reflection change is detected in either direction, the connection between the two endpoints is determined to be a direct connection; when a corresponding internal reflection change is detected, the connection between the two endpoints is determined to be a connection formed by cable splicing, and the correspondence between the two endpoints that are confirmed to be connected by actual detection is determined to be the endpoint mapping relationship.

2. The method for determining the cable connection path of security equipment based on endpoint mapping according to claim 1, characterized in that: Identify the security area where cable connection paths need to be determined, read the security equipment ledger and on-site equipment identification for that area, and obtain the port number and port type by combining the interface configuration records of each device and the port identification set at the device interface. Identify the physical interface corresponding to a device identification and a port number of that device as an endpoint; check the cables connected to the endpoints according to the location of the endpoints, and match the ends of two cables with the same cable number to the endpoints they are actually connected to, forming an endpoint pair.

3. The method of claim 2, wherein: Each of the formed endpoint pairs is tested for cable connectivity. The corresponding testing method is selected according to the cable type recorded in the endpoint pair. A test signal is sent from one endpoint of the endpoint pair to the cable, and the test signal is detected at the other endpoint. When the test signal is detected at the other end, the cable between the two ends is recorded as connected, and the cable length between the two ends that are detected as connected is measured.

4. The method of claim 3, wherein: Read the two endpoints from the endpoint mapping relationship that need to determine the cable connection path, take one endpoint as the start endpoint and the other endpoint as the end endpoint, and determine the wiring position of the start endpoint and the wiring position of the end endpoint respectively according to the installation position of the two endpoints. Starting from the wiring position of the starting endpoint, search segment by segment for wiring positions that are directly connected to the current wiring position and have not yet been traversed, according to the connection relationship between the wiring positions. When the wiring position of the ending endpoint is found, the starting endpoint, each wiring position and the ending endpoint that are traversed in sequence are combined to form a candidate connection path.

5. The method of claim 4, wherein: Read the actual cable laying length corresponding to adjacent wiring positions in each candidate connection path, add up the actual cable laying lengths in the same candidate connection path, and compare them with the cable length corresponding to the endpoint mapping relationship. If the difference between the sum of the actual cable laying lengths and the cable length is not greater than the allowable error for length measurement, the candidate connection path is retained. If only one candidate connection path is retained after comparison, the candidate connection path is determined as the target connection path.

6. The method of claim 1, wherein: Repeated time-domain reflectometry is performed on the same pulse width, retaining only internal reflectometry variations whose return time does not exceed the time resolution of the time-domain reflectometry device. When adjacent internal reflectometry variations overlap in the reflected waveform and their return times cannot be determined separately, a smaller pulse width is selected to remeasure from both endpoints. When the endpoint reflection cannot be identified after reducing the pulse width, a larger pulse width is selected to remeasure.

7. The method of claim 6, wherein: After each change in pulse width, the number of internal reflection changes, return time, and reflection polarity measured in the two directions are compared. The pulse width is then changed until the return time of the internal reflection changes that can be identified no longer exceeds the time resolution. The internal reflection changes that can be repeatedly detected are determined as the location of electrical changes in the cable.

8. The method of claim 7, wherein: The electrical change positions are sequentially assigned to the two directions in ascending order of propagation time, such that the order of electrical change positions obtained from the first endpoint is the opposite of the order of corresponding positions obtained from the second endpoint. When there is an internal reflection change that cannot satisfy the correspondence, the pulse width is reduced again for measurement based on the time interval between the internal reflection change and the adjacent internal reflection change, until the internal reflection change is separated or it is confirmed that the internal reflection change cannot form a correspondence from the two directions.

9. The method of claim 8, wherein: When a change in internal reflection that can be formed from two directions is detected, the propagation time of each electrical change position measured from the first endpoint is used as the sequence of the propagation time. The first endpoint to the first electrical change position, the two adjacent electrical change positions, and the last electrical change position to the second endpoint are each taken as a continuous cable segment. The one-way propagation time of the corresponding continuous cable is determined according to the difference between the two adjacent propagation times. The connection form formed by the cable splicing, the bidirectional propagation time of each electrical change position, and the one-way propagation time of each continuous cable segment are recorded in the endpoint mapping relationship.