An optical fiber port inspection system and an automatic topology identification method thereof
Patent Information
- Application Number
- CN202611136117.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-29
- Publication Date
- 2026-10-20
AI Technical Summary
[0005]针对现有技术中存在的如何在光纤端口巡检系统中实现多级级联端口单元的自动地址分配与网络拓扑自动识别从而减少人工拨码或软件配置带来的地址配置与拓扑维护复杂度的问题,本申请提供一种光纤端口巡检系统及其自动拓扑识别方法
[0016]为解决现有巡检系统中巡检端口单元依赖人工配置通信地址以及无法自动识别网络拓扑结构的问题,本发明提供一种光纤端口巡检系统及其自动拓扑识别方法,包括主控单元、传输单元、巡检端口单元、地址编码总线以及数据通信总线。主控单元通过地址编码总线发送地址编码信号,并逐级传输至巡检端口单元,巡检端口单元根据地址编码信号完成通信地址匹配,并通过数据通信总线向主控单元返回应答信息,主控单元根据应答信息建立巡检拓扑关系,并依据预设地址分配规则完成通信地址分配,使巡检端口单元完成自动入网。通过上述方案,实现巡检端口单元的自动地址匹配与拓扑识别,使系统能够在无需人工配置的情况下完成设备入网与网络构建,并支持级联结构下的设备扩展与异常节点跳过。
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent management technology for communication network equipment, and in particular to an optical fiber port inspection system and its automatic topology identification method. Background Technology
[0002] In fiber optic port inspection systems, the main control unit typically needs to connect multiple inspection port units via a communication bus to achieve port status acquisition and inspection management. In existing technologies, the communication addresses of inspection port units are generally set using DIP switches or software configuration. DIP switches are inefficient and prone to address conflicts when there are many devices, while software configuration requires reconfiguration when devices are replaced or expanded, resulting in high maintenance complexity.
[0003] In addition, existing systems are usually unable to automatically identify the connection topology between inspection port units when equipment is added, replaced, or malfunctions, requiring manual troubleshooting or reconfiguration of the network topology, thus increasing the workload of system maintenance.
[0004] Therefore, existing technologies cannot achieve automatic address allocation and automatic topology identification for inspection port units. Summary of the Invention
[0005] To address the problem in existing technologies of how to achieve automatic address allocation and network topology identification for multi-level cascaded port units in fiber optic port inspection systems, thereby reducing the complexity of address configuration and topology maintenance caused by manual dialing or software configuration, this application provides a fiber optic port inspection system and its automatic topology identification method. The technical solution is as follows: On the one hand, a fiber optic port inspection system is provided, including: The main control unit (S1) includes a main control unit MCU (U1), a battery (U2), and a CAT1 module (U3). The transmission unit (S2) includes a transmission unit MCU (U4) and is cascaded with the main control unit (S1) and adjacent transmission units (S2) via an RS-485 bus. The inspection port unit (S3) includes a data acquisition unit MCU (U5) and a reader (U6) for inspecting the fiber optic port. The dual male Type-C connector (L1) is used to connect the main control unit (S1), the transmission unit (S2), and the inspection port unit (S3). The address encoding bus (A6) is used to transmit address encoding signals; The main control unit (S1) assigns addresses to the inspection port unit (S3) through the address encoding bus (A6), receives the response information returned by the inspection port unit (S3) through the data communication bus, establishes the inspection topology relationship based on the response information, and executes inspection control.
[0006] Optionally, the main control unit (S1) includes a main control MCU (U1), a battery (U2), and a CAT1 module (U3).
[0007] Optionally, the transmission unit (S2) includes a transmission unit MCU (U4) for cascading communication and data forwarding on the RS-485 bus.
[0008] Optionally, the inspection port unit (S3) includes a data acquisition unit MCU (U5), a reader / writer (U6), and an antenna switching switch.
[0009] Optionally, the address encoding bus (A6) is used to transmit level-timing-based address encoding signals.
[0010] Optionally, the data communication bus is used to transmit the response information and inspection data returned by the inspection port unit (S3).
[0011] Optionally, the inspection port unit (S3) is cascaded with the main control unit (S1) and the transmission unit (S2) via an RS-485 bus to form a multi-level inspection link.
[0012] Optionally, the main control unit (S1) sends the address code N, the transmission unit (S2) obtains the address code N, and sequentially assigns addresses N+1 to N+6 to the inspection port unit (S3) connected to it, and transmits address N+7 to the next level transmission unit (S2).
[0013] Optionally, when the inspection port unit (S3) does not respond to the response request of the main control unit (S1), the main control unit (S1) marks it as an abnormal inspection unit and skips it during the inspection process.
[0014] On the other hand, an automatic topology identification method for a fiber optic port inspection system is provided, applicable to the aforementioned fiber optic port inspection system, the method comprising: An RS-485 bus communication link is established through the main control unit (S1), and an address-encoded communication link is established through the address encoding bus (A6); The main control unit (S1) sends the address encoding signal through the address encoding bus (A6) and transmits it step by step to the inspection port unit (S3). The inspection port unit (S3) completes the communication address matching based on the address encoding signal; The main control unit (S1) sends a handshake command to the inspection port unit (S3) via the data communication bus; The inspection port unit (S3) returns a response message containing the device's unique hardware code to the main control unit (S1); The main control unit (S1) establishes the inspection topology relationship based on the response information and completes the communication address allocation according to the preset address allocation rules; The inspection port unit (S3) receives the communication address and completes the inspection and network access.
[0015] The above technical solution has at least the following technical effects.
[0016] To address the issues of existing inspection systems relying on manual configuration of communication addresses for inspection port units and the inability to automatically identify network topology, this invention provides a fiber optic port inspection system and its automatic topology identification method. The system includes a main control unit, a transmission unit, inspection port units, an address encoding bus, and a data communication bus. The main control unit sends address encoding signals via the address encoding bus, transmitting them level by level to the inspection port units. The inspection port units perform communication address matching based on the address encoding signals and return response information to the main control unit via the data communication bus. The main control unit establishes the inspection topology relationship based on the response information and completes communication address allocation according to preset address allocation rules, enabling the inspection port units to automatically join the network. This solution achieves automatic address matching and topology identification for inspection port units, allowing the system to complete device network entry and network construction without manual configuration, and supports device expansion and abnormal node skipping in cascaded structures. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the overall structure of the fiber optic port inspection system of the present invention; Figure 2 This is a schematic diagram of the address encoding bus level timing structure; Figure 3 This is a schematic diagram of the system cascade connection structure. Detailed Implementation
[0018] To make the technical solution of the present invention clearer and more complete, the present invention will be further described below with reference to the accompanying drawings and specific embodiments. It should be understood that the following embodiments are only for illustrating the present invention and are not intended to limit the scope of protection of the present invention. Where there is no conflict, the technical features in the following embodiments can be combined with each other. For those skilled in the art, equivalent substitutions, simple modifications, or combinations made based on the disclosure of the present invention, as long as they do not depart from the concept of the present invention, should fall within the scope of protection of the present invention.
[0019] In this article, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0020] Example 1.
[0021] like Figure 1 As shown, this embodiment provides a fiber optic port inspection system, including a main control unit (S1), a transmission unit (S2), an inspection port unit (S3), an address encoding bus (A6), and a data communication bus.
[0022] The main control unit (S1) includes a main control MCU (U1), a battery (U2), and a Bluetooth / CAT1 module (U3). The main control MCU (U1) is used to execute the system initialization control logic. After the system is powered on, it first scans the transmission unit (S2) through the RS-485 communication link, so that each transmission unit (S2) enters the cascaded communication state.
[0023] The transmission unit (S2) includes a transmission MCU (U4). Multiple transmission units (S2) are cascaded through an RS-485 bus to form a multi-level transmission link. In this link, each transmission unit (S2) is only responsible for forwarding data and passing addresses to its subordinate inspection port unit (S3).
[0024] The inspection port unit (S3) includes a data acquisition MCU (U5), a reader (U6), and an antenna switching switch. The data acquisition MCU (U5) is used to receive the address encoding signal from the main control unit (S1) and control the reader (U6) to scan the corresponding port tag.
[0025] During system operation, the main control unit (S1) first outputs an address encoding signal based on level timing through the address encoding bus (A6). This signal is transmitted step by step to each transmission unit (S2) in the RS-485 cascade link, and then forwarded by each transmission unit (S2) to its subordinate inspection port unit (S3), so that all inspection port units (S3) receive the same encoding signal.
[0026] After receiving the address encoding signal, each inspection port unit (S3) samples the signal according to the level timing and completes the local address matching. After the matching is completed, it returns a response information containing its own unique hardware code to the main control unit (S1) through the data communication bus.
[0027] After receiving the response information from all inspection port units (S3), the main control unit (S1) establishes the inspection topology relationship based on the hardware identifier carried in the response information and its receiving order in the cascaded link, and maps it to the corresponding set of communication addresses.
[0028] Subsequently, the main control unit (S1) sends the communication address down to the corresponding inspection port unit (S3) through the data communication bus according to the preset hierarchical address allocation rules. Each inspection port unit (S3) receives the address, stores it, and enters the inspection working state.
[0029] In this embodiment, the combination of the address encoding bus (A6) and the RS-485 cascade link enables the port unit to complete address identification and topology mapping without manual configuration; at the same time, the centralized back transmission of hardware encoding through the data communication bus enables the traceable establishment of the inspection topology.
[0030] Through the above structure and working process, the inspection port unit can automatically complete address identification and topology mapping in the cascaded network, complete the network access process without manual configuration, and achieve traceable management of the device connection structure through the correspondence between hardware coding and cascade sequence, thereby providing basic structural support for subsequent inspection data scheduling and anomaly location.
[0031] Example 2 (Internal structure of the main control unit).
[0032] Based on the fiber optic port inspection system in Example 1, this example further explains the internal structure and control method of the main control unit (S1).
[0033] like Figure 1 As shown, the main control unit (S1) includes a main control unit MCU (U1), a battery (U2), and a Bluetooth / CAT1 module (U3). The main control unit MCU (U1) serves as the core of the system control and is used to perform system initialization, address encoding scheduling, and inspection task control.
[0034] After the system is powered on, the main control MCU (U1) first scans the transmission unit (S2) based on the RS-485 communication link, so that each transmission unit (S2) enters the cascaded communication state and establishes a stable data forwarding path.
[0035] The Bluetooth / CAT1 module (U3) is used to upload inspection results and topology data to the remote management platform to achieve remote operation and maintenance management.
[0036] The battery (U2) provides independent power to the main control unit (S1), enabling the system to continue operating even in environments without external power supply.
[0037] By integrating the control, communication, and power supply modules into the main control unit (S1), the system gains independent deployment and remote communication capabilities, thereby enhancing the application flexibility and operational stability of the inspection system.
[0038] Example 3 (Transmission Unit Cascaded Communication Structure).
[0039] Based on the system in Example 1, this example describes the cascaded communication method of the transmission unit (S2).
[0040] like Figure 1 and Figure 2 As shown, the transmission unit (S2) includes a transmission unit MCU (U4), and multiple transmission units (S2) are connected in series via an RS-485 bus to form a multi-level cascaded communication link.
[0041] In this link, the control signal sent by the main control unit (S1) first enters the first-level transmission unit (S2), and then is forwarded by each level of transmission unit (S2) down to the inspection port unit (S3) it is connected to, forming a chain transmission path.
[0042] Each transmission unit (S2) is only responsible for signal forwarding and address relay of its subordinate inspection port unit (S3), and does not participate in port data processing.
[0043] The cascaded relay structure enables the expansion of the port unit for large-scale inspection, reducing system wiring complexity and enhancing communication scalability.
[0044] Example 4 (Inspection Port Unit Structure and Execution Mechanism).
[0045] Based on the system in Example 1, this example describes the internal structure and working mechanism of the inspection port unit (S3).
[0046] like Figure 1 As shown, the inspection port unit (S3) includes a data acquisition unit MCU (U5), a reader / writer (U6), and an antenna switching switch.
[0047] The acquisition unit MCU (U5) is used to receive the address encoding signal sent by the main control unit (S1) and control the reader (U6) to perform port tag scanning operation.
[0048] The antenna switching switch is used to switch between multiple physical ports, enabling the reader (U6) to perform polling read operations on different ports in sequence.
[0049] During operation, the inspection port unit (S3) switches ports sequentially and performs tag reading after receiving control signals, and caches the reading results to the local storage unit.
[0050] Through port switching and reader collaboration mechanisms, a single inspection port unit can achieve polling coverage of multiple ports.
[0051] Example 5 (Address Encoding Bus A6 Timing Mechanism).
[0052] Based on the system in Example 1, this example describes the signal transmission method of the address encoding bus (A6).
[0053] like Figure 2 As shown, the address encoding bus (A6) remains high in the idle state. When the main control unit (S1) starts the address encoding process, it first outputs a low level for a duration of t1 as a start flag, and then outputs an 8-bit level encoding signal at a fixed time interval t2.
[0054] The inspection port unit (S3) detects the falling edge to trigger the encoding reception and samples the level signal bit by bit according to the t2 cycle, thereby recovering the complete address encoding data.
[0055] By using a standardized level-time coding method, address identification can be achieved without additional communication protocols, thereby improving the compatibility and reliability of encoded transmission.
[0056] Example 6 (Address Sampling and Matching Mechanism).
[0057] Based on Example 5, this example describes the address sampling and matching process of the inspection port unit (S3).
[0058] After detecting the falling edge of the address encoding bus (A6), the inspection port unit (S3) delays for t2 / 2 before entering the sampling window to avoid sampling errors caused by level transitions.
[0059] Subsequently, the 8-bit encoded signal is sampled bit by bit with a period of t2, and the sampling results are concatenated to form a complete address code.
[0060] The inspection port unit (S3) compares the code with the local preset rules to complete the communication address pre-matching.
[0061] By employing bit center sampling and delayed sampling mechanisms, the stability and anti-interference capability of address recognition are improved.
[0062] Example 7 (Hierarchical Address Allocation Rules).
[0063] Based on the system in Example 1, this example describes the address allocation process.
[0064] After the main control unit (S1) sends the basic address code N, the transmission unit (S2) receives the address code and assigns communication addresses N+1 to N+6 to the downstream inspection port unit (S3) in sequence.
[0065] At the same time, the transmission unit (S2) passes N+7 to the next transmission unit (S2) to achieve cascading expansion.
[0066] Each level of transmission unit (S2) executes the same rules step by step, thus forming a continuously increasing address system.
[0067] By using a hierarchical and progressive address allocation method, orderly address management of large-scale inspection port units can be achieved, reducing the probability of address conflicts.
[0068] Example 8 (Handshake Response and Topology Construction).
[0069] Based on the system in Example 1, this example describes the handshake response and topology construction process.
[0070] The main control unit (S1) broadcasts a handshake command to the inspection port unit (S3) via the data communication bus. After receiving the command, each inspection port unit (S3) returns a response message containing the device's unique hardware code.
[0071] The main control unit (S1) constructs the inspection topology relationship and generates topology structure data based on the hardware encoding and its receiving order in the cascaded link.
[0072] By using hardware coding and link sequence mapping, the automatic construction and traceable management of device topology relationships can be achieved.
[0073] Example 9 (Abnormal Unit Handling Mechanism).
[0074] Based on the system in Example 1, this example describes the processing method of the abnormal inspection port unit (S3).
[0075] When the inspection port unit (S3) fails to return a response within a preset time, the main control unit (S1) marks it as an abnormal unit and skips the unit in the subsequent inspection process.
[0076] By employing anomaly detection and skipping mechanisms, the system can continue to operate even in the event of a local device malfunction, thereby improving system robustness.
[0077] Example 10 (Automatic Topology Identification Method).
[0078] Based on the system in Example 1, this example describes the automatic topology identification method.
[0079] Step 101: The main control unit (S1) first establishes a cascaded communication link with the transmission unit (S2) through the RS-485 bus, and at the same time establishes an address encoding communication link through the address encoding bus (A6) to enable the system to enter the initialization running state.
[0080] In this step, the RS-485 link is used to carry out device cascade communication, and the address encoding bus (A6) is used for subsequent address identification signal transmission. The two links are independent of each other.
[0081] Step 102: The main control unit (S1) sends the address encoding signal through the address encoding bus (A6) and transmits the signal to each transmission unit (S2) step by step. The transmission unit (S2) then forwards the signal to the inspection port unit (S3) it is connected to.
[0082] During this process, the address encoding signal is transmitted in a level-time manner, and each node is only responsible for signal forwarding without changing the encoded content.
[0083] Step 103: After receiving the address encoding signal, the inspection port unit (S3) samples the level timing and completes local address matching based on the sampling results.
[0084] During the matching process, the inspection port unit (S3) parses the encoded data according to fixed timing rules and temporarily stores the matching results in the local register unit.
[0085] Step 104: The main control unit (S1) sends a unified handshake command to all inspection port units (S3) through the data communication bus to trigger the device response process.
[0086] This instruction serves as a device status confirmation signal in the system and does not carry address information.
[0087] Step 105: After receiving the handshake instruction, the inspection port unit (S3) extracts the unique hardware code stored inside and encapsulates the hardware code into response information, which is then returned to the main control unit (S1) via the data communication bus.
[0088] This hardware code is used to uniquely identify each inspection port unit (S3).
[0089] Step 106: The main control unit (S1) establishes the topology of the devices in the cascaded link based on the received response information and the receiving order of each inspection port unit (S3).
[0090] After the topology is completed, the main control unit (S1) allocates communication addresses to each inspection port unit (S3) according to the preset address allocation rules.
[0091] Step 107: The main control unit (S1) sends the communication address to the corresponding inspection port unit (S3) through the data communication bus.
[0092] After receiving the communication address, the inspection port unit (S3) stores it locally and completes the network registration, thus entering the inspection operation state.
[0093] Through the above steps, the inspection system can complete link establishment, address identification, device handshake, topology construction and communication address allocation in sequence without manual configuration, thereby realizing automatic network access of inspection port units and automatic network topology generation. It is suitable for the needs of device scale expansion and dynamic access in multi-level cascaded inspection scenarios.
[0094] The above are merely optional embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A fiber optic port inspection system, characterized in that... ,,include: The main control unit (S1) includes a main control unit MCU (U1), a battery (U2), and a CAT1 module (U3). The transmission unit (S2) includes a transmission unit MCU (U4) and is cascaded with the main control unit (S1) and adjacent transmission units (S2) via an RS-485 bus. The inspection port unit (S3) includes a data acquisition unit MCU (U5) and a reader (U6) for inspecting the fiber optic port. The dual male Type-C connector (L1) is used to connect the main control unit (S1), the transmission unit (S2), and the inspection port unit (S3). The address encoding bus (A6) is used to transmit address encoding signals; The main control unit (S1) assigns addresses to the inspection port unit (S3) through the address encoding bus (A6), receives the response information returned by the inspection port unit (S3) through the data communication bus, establishes the inspection topology relationship based on the response information, and executes inspection control.
2. The fiber optic port inspection system according to claim 1, characterized in that, The main control unit (S1) includes a main control MCU (U1), a battery (U2), and a CAT1 module (U3).
3. The fiber optic port inspection system according to claim 1, characterized in that, The transmission unit (S2) includes a transmission unit MCU (U4) for cascading communication and data forwarding on the RS-485 bus.
4. The fiber optic port inspection system according to claim 1, characterized in that, The inspection port unit (S3) includes a data acquisition unit MCU (U5), a reader / writer (U6), and an antenna switching switch.
5. The fiber optic port inspection system according to claim 1, characterized in that, The address encoding bus (A6) is used to transmit level-timing-based address encoding signals.
6. The fiber optic port inspection system according to claim 1, characterized in that, The data communication bus is used to transmit the response information and inspection data returned by the inspection port unit (S3).
7. The fiber optic port inspection system according to claim 1, characterized in that, The inspection port unit (S3) is cascaded with the main control unit (S1) and the transmission unit (S2) via an RS-485 bus to form a multi-level inspection link.
8. The fiber optic port inspection system according to claim 1, characterized in that, The main control unit (S1) sends address code N, the transmission unit (S2) obtains address code N, and sequentially assigns addresses N+1 to N+6 to the inspection port unit (S3) connected to it, and transmits address N+7 to the next level transmission unit (S2).
9. The fiber optic port inspection system according to claim 1, characterized in that, When the inspection port unit (S3) does not respond to the response request from the main control unit (S1), the main control unit (S1) marks it as an abnormal inspection unit and skips it during the inspection process.
10. An automatic topology identification method for an optical fiber port inspection system, characterized in that, The method, applicable to the fiber optic port inspection system according to any one of claims 1 to 9, comprises: An RS-485 bus communication link is established through the main control unit (S1), and an address-encoded communication link is established through the address encoding bus (A6); The main control unit (S1) sends the address encoding signal through the address encoding bus (A6) and transmits it step by step to the inspection port unit (S3). The inspection port unit (S3) completes the communication address matching based on the address encoding signal; The main control unit (S1) sends a handshake command to the inspection port unit (S3) via the data communication bus; The inspection port unit (S3) returns a response message containing the device's unique hardware code to the main control unit (S1); The main control unit (S1) establishes the inspection topology relationship based on the response information and completes the communication address allocation according to the preset address allocation rules; The inspection port unit (S3) receives the communication address and completes the inspection and network access.