Terminal state management system and method of optical cross-connecting equipment
By introducing an automated terminal state detection and management system into the optical handover equipment, the inconsistency problem caused by the reliance on manual labor in dynamic fiber management in fiber communication is solved, and the automatic identification and real-time management of fiber terminal states are realized, and management efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411900042.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-03-28
AI Technical Summary
Dynamic fiber management in existing fiber optic communications relies on manual random checks, which leads to inconsistent with the actual fiber optic conditions, consumes a lot of human resources and is difficult to manage.
Design a terminal state management system for optical handover equipment, including a terminal state detection device and a terminal state management platform, automatically detects the optical fiber access status through the on-off detection module, and updates and displays the terminal state in real time through the data processing and transmission module.
It realizes automatic identification and real-time management of fiber terminal occupation status, reduces the problems of low manual detection efficiency and high cost of automated detection solutions, and improves the accuracy and consistency of resource system data.
Smart Images

Figure CN119727906A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of optical fiber management, and in particular to a terminal status management system and method for optical handover equipment. Background Art
[0002] In the daily maintenance of optical fiber communications, dynamic optical fiber management has become a significant technical bottleneck. At present, the telecommunications industry mainly relies on manual spot checks to manage dynamic optical fibers. This method compares the dynamic optical fiber status of the on-site spot check with the resource system one by one. For inconsistencies such as the resource system has some but not on site, or the resource system has some but not on site, corresponding rectification measures need to be taken to achieve consistency between on-site resources and system data. This method not only consumes a lot of human resources, but also, due to the randomness and limited nature of spot checks, there are a lot of inconsistencies between system resource data and actual optical fiber conditions. This inconsistency accumulates over time, resulting in a continuous decline in the accuracy of optical fiber resources in the resource system. This not only seriously affects the actual application effect of resource system data in service activation, fault repair, etc., but also increases the difficulty of system maintenance and management.
[0003] There are two other existing technologies that can achieve dynamic management of fiber terminal occupancy. One is to add a memory to each fiber pigtail and set a reader / writer for each pigtail slot. This requires pre-fabrication of chip information and a lot of manual intervention in later maintenance, which is a large workload. The other uses electronic tags as the entry point for resource management. Once the on-site resources change, manual intervention is required to verify the resources on-site, record the on-site latitude and longitude coordinates, and configure an optical fiber resource electronic tag for the optical fiber resources in order to achieve management, which requires high manual labor.
[0004] All three methods can achieve the management of the accuracy of the terminal occupancy of optical handover equipment, but they all require a lot of manpower for on-site operation. The storage and electronic tag methods adopted have high investment, and after the terminal occupancy of the optical handover equipment changes in the later period, manual on-site maintenance is still required. It is necessary to establish a new method for the occupancy status of the optical handover equipment terminals to improve the accuracy and real-time performance of the occupancy status of the optical handover equipment terminals, thereby ensuring the data consistency of the resource system with the site.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present application provide a terminal status management system and method for optical handover equipment, so as to at least solve the technical problems of low efficiency of manual detection and high cost of related automated detection solutions in the terminal occupancy detection scenario of optical handover equipment.
[0007] According to one aspect of an embodiment of the present application, a terminal status management system for an optical handover device is provided, including: a terminal status detection device and a terminal status management platform, wherein the terminal status detection device includes: an on-off detection module arranged at each optical fiber access terminal of the optical handover device, and a status detection module that determines the optical fiber access status of the corresponding optical fiber access terminal according to the on-off status of each on-off detection module, wherein when there is optical fiber access at the optical fiber access terminal, the corresponding on-off detection module is in the on state; the terminal status detection device is used to determine target terminal status information including the optical fiber access status of all optical fiber access terminals in the optical handover device; encode and protocol encapsulate the target terminal status information to obtain a first data packet; transmit the first data packet to the terminal status management platform; the terminal status management platform is used to protocol unpack and decode the first data packet to obtain the target terminal status information; and display the optical fiber access status of each optical fiber access terminal according to the target terminal status information.
[0008] Optionally, the terminal status detection device includes: a power supply module, a terminal status acquisition module, a first data processing module and a first data transmission module, and the terminal status acquisition module includes: multiple on-off detection modules and a status detection module; the terminal status management platform includes: a second data transmission module, a second data processing module and a data application module; wherein the power supply module is used to supply power to the terminal status acquisition module, the first data processing module and the first data transmission module respectively; the terminal status acquisition module is used to determine the target terminal status information and send the target terminal status information to the first data processing module; the first data processing module is used to encode and protocol encapsulate the target terminal status information to obtain a first data packet, and send the first data packet to the first data transmission module; the first data transmission module is used to transmit the first data packet to the second data transmission module; the second data transmission module is used to send the first data packet to the second data processing module; the second data processing module is used to protocol unpack and decode the first data packet to obtain the target terminal status information, and send the target terminal status information to the data application module; the data application module is used to display the fiber access status of each fiber access terminal according to the target terminal status information.
[0009] Optionally, the optical handover equipment includes a plurality of fiber splicing trays arranged in a vertical stack, each fiber splicing tray includes a plurality of optical fiber access terminals, and each optical fiber access terminal includes a flange for fixing the access optical fiber; each on-off detection module includes: an insulating gasket fixed on the flange of the corresponding optical fiber access terminal, at least two metal patches fixed on the insulating gasket and not in contact with each other, and two wires respectively welded to the two metal patches, wherein the two wires are connected to the status detection module, and when the optical fiber is connected to the optical fiber access terminal, the two wires form a passage through the metal casing of the optical fiber pigtail.
[0010] Optionally, the state detection module includes: a single chip microcomputer and a decoder; the single chip microcomputer includes: a plurality of first input and output I / O ports connected to the decoder and a plurality of second I / O ports connected to the plurality of on-off detection modules, the output signal types of the plurality of first I / O ports include: an enable signal, an address selection signal of the decoder, one end of each second I / O port is connected to the power supply module through a pull-up resistor, and the other end is connected to the first wire in the on-off detection module on all optical fiber access terminals in the same column of the optical handover device; each output port of the decoder is connected to the second wire in the on-off detection module on all optical fiber access terminals in the same row of the optical handover device; the single chip microcomputer is used to control the power supply module, the decoder and each second I / O port according to A preset voltage is applied to each on-off detection module, and the on-off state of the corresponding on-off detection module is determined by detecting the level state on the second I / O port side, and the fiber access state of the corresponding fiber access terminal is determined according to the on-off state of the on-off detection module, wherein if the second I / O port side is a preset high level, it indicates that the corresponding on-off detection module is turned on, and there is fiber access to the corresponding fiber access terminal; if the second I / O port side is a preset low level, it indicates that the corresponding on-off detection module is open, and there is no fiber access to the corresponding fiber access terminal; it is also used to form a fiber access state matrix of the fiber access state of each fiber access terminal according to the row and column information of the corresponding fiber access terminal in the optical handover device, and use the fiber access state matrix as the target terminal state information.
[0011] Optionally, the first data processing module is used to encode the target terminal status information into a binary array according to a preset coding rule, in which 1 bit corresponds to the fiber access status of a fiber access terminal; encapsulate the binary array based on the target protocol to obtain a first data packet, and transmit the first data packet to the second data processing module through the first data transmission module and the second data transmission module; the second data processing module is used to unpack the first data packet according to the target protocol to obtain a binary array, and decode the binary array into target terminal status information according to the preset coding rule, and send the target terminal status information to the data application module.
[0012] Optionally, a data application module is used to obtain historical terminal status information obtained from the last terminal status collection of this terminal status collection, and combine the historical terminal status information and the target terminal status information to display the fiber access status of each fiber access terminal using a target display method; in the target display method, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein a fiber access terminal that corresponds to no fiber access status in both the historical terminal status information and the target terminal status information corresponds to a first color indicator light, a fiber access terminal that corresponds to a fiber access status in both the historical terminal status information and the target terminal status information corresponds to a second color indicator light, a fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a third color indicator light, and a fiber access terminal that corresponds to a fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a fourth color indicator light, and the row and column order of the indicator lights corresponding to each fiber access terminal is the same as the row and column order of each fiber access terminal in the optical handover equipment.
[0013] Optionally, a data application module is used to compare the target terminal status information with the terminal status record table corresponding to the optical handover equipment stored in the resource database, determine the abnormal optical fiber access terminal whose corresponding optical fiber access status in the target terminal status information is different from that in the terminal status record table, and generate abnormal prompt information, wherein the abnormal prompt information is used to prompt the operation and maintenance personnel that the terminal status information of the abnormal optical fiber access terminal is abnormal and needs to be modified.
[0014] Optionally, the data application module is also used to determine the terminal configuration information for the optical handover equipment, and send the terminal configuration information to the second data processing module; the second data processing module is used to encode and protocol encapsulate the terminal configuration information to obtain a second data packet, and transmit the second data packet to the first data processing module through the second data transmission module and the first data transmission module; the first data processing module is used to protocol unpack and decode the second data packet to obtain the terminal configuration information, and send the terminal configuration information to the single-chip microcomputer; the single-chip microcomputer is used to configure the optical fiber access terminals of the optical handover equipment according to the terminal configuration information.
[0015] According to another aspect of an embodiment of the present application, a terminal status management method for an optical handover device is also provided, including: obtaining the on-off status of an on-off detection module arranged at each optical fiber access terminal of the optical handover device, and determining the fiber access status of the corresponding optical fiber access terminal according to the on-off status of each on-off detection module, wherein when there is optical fiber access at the optical fiber access terminal, the corresponding on-off detection module is in the on state; determining target terminal status information including the fiber access status of all optical fiber access terminals in the optical handover device, and encoding and protocol encapsulating the target terminal status information to obtain a first data packet; transmitting the first data packet to a terminal status management platform, wherein the terminal status management platform is used to perform protocol unpacking and decoding on the first data packet to obtain the target terminal status information, and display the fiber access status of each optical fiber access terminal according to the target terminal status information.
[0016] According to another aspect of an embodiment of the present application, a terminal status management method for an optical handover device is also provided, comprising: receiving target terminal status information including the fiber access status of all fiber access terminals in the optical handover device obtained by this terminal status collection sent by a terminal status detection device; obtaining historical terminal status information obtained by the last terminal status collection of this terminal status collection, and combining the historical terminal status information and the target terminal status information, using a target display method to display the fiber access status of each fiber access terminal; wherein, in the target display method, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein in the historical terminal status information The optical fiber access terminal that corresponds to no optical fiber access status in both the historical terminal status information and the target terminal status information corresponds to a first color indicator light, the optical fiber access terminal that corresponds to optical fiber access status in both the historical terminal status information and the target terminal status information corresponds to a second color indicator light, the optical fiber access terminal that corresponds to no optical fiber access status in the historical terminal status information and optical fiber access status in the target terminal status information corresponds to a third color indicator light, the optical fiber access terminal that corresponds to optical fiber access status in the historical terminal status information and no optical fiber access status in the target terminal status information corresponds to a fourth color indicator light, and the row and column order of the indicator lights corresponding to each optical fiber access terminal is the same as the row and column order of each optical fiber access terminal in the optical handover equipment.
[0017] According to another aspect of the embodiment of the present application, a computer program product is further provided, the computer program product comprising: a computer program, wherein when the computer program is executed by a processor, the terminal status management method of the optical handover device is implemented.
[0018] According to another aspect of an embodiment of the present application, an electronic device is also provided, which includes: a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the above-mentioned terminal status management method of the optical handover device through the computer program.
[0019] In the embodiment of the present application, the on-off detection module equipped with each optical fiber terminal can automatically detect the on-off state of the circuit when the optical fiber is connected or removed, and immediately feedback the occupancy of the optical fiber terminal. A self-made trigger device is added to the flange structure, including positive and negative metal sheets, insulating blocks and gaskets, which is used to create a circuit trigger device. When the optical fiber pigtail is inserted or unplugged, it can trigger the change of the circuit state, which is then captured by the on-off detection module. Through low-cost device transformation, the automatic identification of the optical fiber terminal state is realized, reducing the overall implementation cost. The state detection module works in coordination with the single-chip microcomputer and the decoder to complete the detection of the occupancy state of all optical fiber terminals on the entire optical handover device. The single-chip microcomputer controls the decoder to select rows, and detects the terminal state in the column through the second I / O port, thereby constructing an efficient matrix scanning detection system that can automatically and quickly collect a large amount of optical fiber terminal status information. The data collected by the state detection module is integrated, encoded and protocol encapsulated by the data processing module to form a first data packet. The terminal state management platform receives the first data packet, performs protocol unpacking and decoding, and then visualizes the occupancy state information of the optical fiber terminal, and allows resource management personnel to check and manage. The color separation rule is used to visualize the occupancy status of the optical fiber terminal, which makes it easier for resource management personnel to intuitively understand the changes in the terminal status, thereby solving the technical problems of low manual detection efficiency and high cost of related automated detection solutions in the terminal occupancy detection scenario of optical handover equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0021] Figure 1 It is a structural schematic diagram of an optional terminal status management system of an optical handover device according to an embodiment of the present application;
[0022] Figure 2 is an optional fiber splice tray wiring diagram according to an embodiment of the present application;
[0023] Figure 3 It is a three-view diagram of an optional flange according to an embodiment of the present application;
[0024] Figure 4a is a front view of an optional modified flange according to an embodiment of the present application;
[0025] Figure 4b is a top view of an optional modified flange according to an embodiment of the present application;
[0026] Figure 5 It is a schematic diagram of the overall structure of an optional terminal status management system of an optical cross-connection device according to an embodiment of the present application;
[0027] Figure 6 It is a schematic diagram of an optional optical fiber access state formation process matrix and results according to an embodiment of the present application;
[0028] Figure 7 is a schematic diagram of an optional pigtail plugging and unplugging flange according to an embodiment of the present application;
[0029] Figure 8 is a schematic diagram of an optional connection between a single chip microcomputer and a decoder according to an embodiment of the present application;
[0030] Fig. 9 This is an optional schematic diagram of displaying corresponding indicator lights according to the optical fiber access status of each optical fiber access terminal according to an embodiment of the present application;
[0031] Fig.10 This is an optional schematic diagram of generating abnormal prompt information according to an embodiment of the present application;
[0032] Fig.11 It is a flow chart of an optional terminal status management method of an optical handover device according to an embodiment of the present application;
[0033] Fig.12 It is a flowchart of an optional terminal status management method of an optical cross-connection device according to an embodiment of the present application;
[0034] Fig.13 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0036] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0037] Example 1
[0038] According to an embodiment of the present application, a terminal status management system for an optical cross-connection device is provided, such as Figure 1 As shown, the system includes: a terminal state detection device 11 and a terminal state management platform 12, the terminal state detection device includes: an on-off detection module 111 arranged at each optical fiber access terminal of the optical handover device, and a state detection module 112 that determines the optical fiber access state of the corresponding optical fiber access terminal according to the on-off state of each on-off detection module, wherein when there is optical fiber access at the optical fiber access terminal, the corresponding on-off detection module is in the on state; the terminal state detection device is used to determine the target terminal state information including the optical fiber access state of all optical fiber access terminals in the optical handover device; encode and protocol encapsulate the target terminal state information to obtain a first data packet; transmit the first data packet to the terminal state management platform; the terminal state management platform is used to protocol unpack and decode the first data packet to obtain the target terminal state information; and display the optical fiber access state of each optical fiber access terminal according to the target terminal state information.
[0039] The functions of each module of the terminal status management system of the optical cross-connection equipment are described below in conjunction with specific implementation methods.
[0040] As an optional implementation, the terminal status detection device includes: a power supply module, a terminal status acquisition module, a first data processing module and a first data transmission module, the terminal status acquisition module includes: multiple on-off detection modules and status detection modules, and the terminal status management platform includes: a second data transmission module, a second data processing module and a data application module; wherein the power supply module is used to supply power to the terminal status acquisition module, the first data processing module and the first data transmission module respectively; the terminal status acquisition module is used to determine the target terminal status information and send the target terminal status information to the first data processing module; the first data processing module is used to encode and protocol encapsulate the target terminal status information to obtain a first data packet, and send the first data packet to the first data transmission module; the first data transmission module is used to transmit the first data packet to the second data transmission module; the second data transmission module is used to send the first data packet to the second data processing module; the second data processing module is used to protocol unpack and decode the first data packet to obtain the target terminal status information, and send the target terminal status information to the data application module; the data application module is used to display the optical fiber access status of each optical fiber access terminal according to the target terminal status information.
[0041] As an optional implementation, the optical cross-connection device includes a plurality of fiber splicing trays arranged in a vertically stacked manner, and the fiber splicing tray structure is as follows: Figure 2 As shown, each fiber splicing tray includes multiple fiber access terminals, and each fiber access terminal includes multiple flanges for fixing access optical fibers. The flange is a device for fixing and connecting optical fibers to ensure the stability and accuracy of optical fibers when they are inserted and removed. The three-view diagram of an optional flange is shown in the figure below. Figure 3 shown.
[0042] Each on-off detection module includes: an insulating gasket fixed on the flange of the corresponding optical fiber access terminal to isolate the metal patch and the flange to avoid direct contact and short circuit, at least two metal patches fixed on the insulating gasket and not in contact with each other, and two wires welded on the two metal patches, wherein the two wires are connected to the status detection module, and when the optical fiber is connected to the optical fiber access terminal, the two wires pass through the metal shell of the optical fiber pigtail to form a path, such as Figure 2 As shown, each pair of wires welded on the two metal patches are led out from the rear end of the flange through-hole and then through the bottom of the fiber splicing plate. The led-out wires will be welded and fixed to the welding points of the scanning matrix according to the corresponding positions, ensuring that the welding points of each optical fiber terminal correspond one-to-one to the corresponding positions in the scanning matrix.
[0043] In the above structure, adding metal patches, insulating gaskets and other components to the flange to form a circuit trigger device is a key part for realizing automatic identification of the terminal occupancy status of the optical cross-connection equipment. The specific structural improvement part can refer to the following example: After the pigtail is inserted into the flange and tightened, there is a 2mm gap between the pigtail shell and the middle base of the flange. In order to build the circuit, it is necessary to add an insulating nylon flat gasket in this gap. Its specifications are 8mm inner diameter, 13mm outer diameter, and 2mm thickness. This insulating gasket can prevent the metal patch in the circuit from directly contacting the flange to avoid short circuit, and also provides an insulating environment for the positive and negative poles of the circuit to contact the pigtail shell. Next, the copper gasket (metal patch) is cut and installed. The specifications of the copper gasket are 8mm inner diameter, 12mm outer diameter, and the thickness is between 0.1-0.3mm. The role of the copper gasket is to serve as the positive and negative poles in the circuit and provide a contact point for contact with the pigtail metal shell. The copper gasket is cut into four 90-degree arcs, and each arc must match the inner diameter edge of the insulating nylon flat gasket to ensure that when the gasket contacts the pigtail housing, the contact is not unstable or the contact area is insufficient due to the shape of the gasket. Apply 502 glue between the cut copper gasket and the insulating nylon flat gasket to bond the two together. Before the glue solidifies, fine-tune to ensure that the gasket and the inner diameter edge of the insulating gasket are tightly matched to complete the installation of the positive electrode. After that, the negative electrode is constructed at a symmetrical position on the other side of the insulating nylon flat gasket, and the copper gasket is installed in the same way. In order to ensure the stability and positioning accuracy of the positive and negative electrodes and insulating gaskets on the flange, use 502 glue to fix the insulating gasket with positive and negative metal patches on the flange base. During the fixing process, first evenly apply 502 glue not more than 1mm thick on the base, and then insert the gasket to ensure that the inner diameter edges of the positive and negative metal sheets are accurately aligned with the flange base. After applying the glue and inserting the gasket, the pigtail needs to be kept tightened for 5-10 minutes until the glue is completely solidified, thereby ensuring a firm connection between the gasket and the flange. Through this series of steps, the modified flange is equipped with a circuit trigger device, that is, when the pigtail is inserted into the flange, the metal shell of the pigtail contacts the copper gasket, forming a closed circuit, thereby generating a low voltage signal (less than or equal to 1.5V in the embodiment), indicating that the terminal is occupied; when the pigtail is not inserted into the flange, the circuit is disconnected, and a high voltage signal (greater than 1.5V in the embodiment) is generated, indicating that the terminal is not occupied. In this way, the single-chip microcomputer can accurately determine the occupation status of each optical fiber terminal by detecting voltage changes through the I / O port. The structural diagram of adding metal patches, insulating gaskets and other components to the flange is shown in the figure. Figure 4a and Figure 4b shown.
[0044] As an optional implementation, the state detection module includes: a single-chip microcomputer and a decoder; the single-chip microcomputer includes: a plurality of first I / O ports connected to the decoder and a plurality of second I / O ports connected to a plurality of on-off detection modules, the output signal types of the plurality of first I / O ports include: an enable signal, an address selection signal of the decoder, one end of each second I / O port is connected to the power supply module via a pull-up resistor, and the other end is connected to the first wire in the on-off detection module on all the optical fiber access terminals in the same column of the optical handover device; each output port of the decoder is connected to the second wire in the on-off detection module on all the optical fiber access terminals in the same row of the optical handover device, and in order to ensure that the current flows in the same direction when powered on, a unidirectional conducting device such as a diode can also be provided between each output port of the decoder and the second wire in the on-off detection module on all the optical fiber access terminals in the same row of the optical handover device, and the conducting direction is that the current flows from the second I / O port of the single-chip microcomputer to the output port of the decoder. The overall structural schematic diagram of the terminal state management system of the optical handover device including the above modules is shown as follows. Figure 5 shown.
[0045] Among them, the single-chip microcomputer is used to apply a preset voltage to each on-off detection module in turn by controlling the decoder and each second I / O port, and determine the on-off state of the corresponding on-off detection module by detecting the level state on the second I / O port side, and determine the fiber access state of the corresponding fiber access terminal according to the on-off state of the on-off detection module, wherein if the second I / O port side is a preset high level, it means that the corresponding on-off detection module is turned on, and there is fiber access to the corresponding fiber access terminal, and if the second I / O port side is a preset low level, it means that the corresponding on-off detection module is open, and there is no fiber access to the corresponding fiber access terminal; it is also used to form a fiber access state matrix of the fiber access state of each fiber access terminal according to the row and column information of the corresponding fiber access terminal in the optical handover device, and use the fiber access state matrix as the target terminal state information, wherein the formation of the fiber access state matrix is based on the coordinated work of the single-chip microcomputer and the decoder, and the occupancy state of all fiber access terminals on the optical handover device is detected by matrix scanning technology.
[0046] The specific process may include the following steps: the single-chip microcomputer is first powered on and the relevant I / O ports are configured. The decoder is also initialized and is ready to receive the enable signal and address selection signal of the single-chip microcomputer. The single-chip microcomputer outputs the enable signal and the address selection signal of the decoder through multiple first I / O ports connected to the decoder. When the decoder receives the enable signal and its address is selected, the corresponding output port of the decoder will be activated, which is actually selecting a row of optical fiber access terminals of the optical handover device. When the optical fiber access terminal of a row is selected, the single-chip microcomputer performs column value detection on each terminal in the row through the second I / O port connected to the on-off detection module. The second I / O port applies a preset voltage to each on-off detection module, usually by detecting whether a circuit loop is formed to determine the occupation state of the optical fiber access terminal. When the optical fiber is connected to the terminal, the metal shell of the pigtail contacts the metal sheet pre-set in the on-off detection module to form a path. At this time, the level state detected by the second I / O port is a preset high level, indicating that the on-off detection module is in a conducting state, and then it is determined that there is optical fiber access to the corresponding optical fiber access terminal. When there is no optical fiber access to the terminal, the on-off detection module is in an open circuit state. At this time, the level state detected by the second I / O port is a preset low level, indicating that there is no optical fiber access to the corresponding optical fiber access terminal. After the microcontroller completes scanning of all rows and columns, it will integrate the optical fiber access status information obtained for each optical fiber access terminal. Since the optical fiber access terminals on the optical handover equipment are arranged in rows and columns, the microcontroller arranges the detected occupancy status data into a two-dimensional matrix according to the corresponding row and column positions, namely, the optical fiber access status matrix, as shown in FIG. Figure 6 As shown in the figure. In the matrix, each row represents a fiber splice tray on the optical cross-connection device, and each column represents a fiber access terminal on the fiber splice tray. Each element in the matrix is marked as occupied or idle according to the above detection results, such as: the occupied state is marked as 1, and the idle state is marked as 0. The fiber access state matrix is finally used as the target terminal state information, which is the result of the integration processing by the single-chip microcomputer, and contains the fiber access state of all fiber access terminals in the optical cross-connection device.
[0047] Optionally, the first data processing module is used to encode the target terminal status information into a binary array according to a preset coding rule, in which 1 bit corresponds to the fiber access status of a fiber access terminal; encapsulate the binary array based on the target protocol to obtain a first data packet, and transmit the first data packet to the second data processing module through the first data transmission module and the second data transmission module; the second data processing module is used to unpack the first data packet according to the target protocol to obtain a binary array, and decode the binary array into target terminal status information according to the preset coding rule, and send the target terminal status information to the data application module.
[0048] Optionally, a data application module is used to obtain historical terminal status information obtained from the last terminal status collection of this terminal status collection, and combine the historical terminal status information and the target terminal status information to display the fiber access status of each fiber access terminal using a target display method; in the target display method, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein a fiber access terminal that corresponds to no fiber access status in both the historical terminal status information and the target terminal status information corresponds to a first color indicator light, a fiber access terminal that corresponds to a fiber access status in both the historical terminal status information and the target terminal status information corresponds to a second color indicator light, a fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a third color indicator light, and a fiber access terminal that corresponds to a fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a fourth color indicator light, and the row and column order of the indicator lights corresponding to each fiber access terminal is the same as the row and column order of each fiber access terminal in the optical handover equipment.
[0049] Optionally, a data application module is used to compare the target terminal status information with the terminal status record table corresponding to the optical handover equipment stored in the resource database, determine the abnormal optical fiber access terminal whose corresponding optical fiber access status in the target terminal status information is different from that in the terminal status record table, and generate abnormal prompt information, wherein the abnormal prompt information is used to prompt the operation and maintenance personnel that the terminal status information of the abnormal optical fiber access terminal is abnormal and needs to be modified.
[0050] Optionally, the data application module is also used to determine the terminal configuration information for the optical handover equipment, and send the terminal configuration information to the second data processing module; the second data processing module is used to encode and protocol encapsulate the terminal configuration information to obtain a second data packet, and transmit the second data packet to the first data processing module through the second data transmission module and the first data transmission module; the first data processing module is used to protocol unpack and decode the second data packet to obtain the terminal configuration information, and send the terminal configuration information to the single-chip microcomputer; the single-chip microcomputer is used to configure the optical fiber access terminals of the optical handover equipment according to the terminal configuration information.
[0051] The following example illustrates the specific working process of the above structure:
[0052] First, after the system is powered on, the power supply module provides power for the entire detection device to ensure that the terminal state acquisition module, the first data processing module and the first data transmission module can operate normally. In this embodiment, the power supply module can be a power supply device such as a mobile power supply with a 5V voltage output port, a solar circuit board or a self-made power supply device. For example, a power bank with a power of 10000mW can be used to provide a stable 5V power supply to components such as a single-chip microcomputer.
[0053] After the power supply module provides power to the system, the terminal status acquisition module starts working. This module includes multiple on-off detection modules and status detection modules. The on-off detection module is responsible for real-time detection of the occupancy status of each optical fiber access terminal. It constructs a circuit by adding components such as metal patches and insulating gaskets on the flange. An insulating gasket is fixed on the flange of each optical fiber access terminal. Its function is to isolate the metal patch from the flange to avoid short circuit caused by direct contact. Two metal patches that do not contact each other are fixed on the insulating gasket. The two metal patches serve as the positive and negative poles of the circuit respectively, and are used to detect the on-off status when the optical fiber pigtail is inserted. Two wires are welded on each pair of metal patches. When the optical fiber is connected or unplugged, the on-off state of the circuit will change, and then the occupancy of the terminal will be detected. Specifically, when the optical fiber pigtail is inserted into the optical fiber access terminal, the metal shell of the pigtail will touch the two metal patches to form a path, so that the wire connected to it forms a low voltage state at the status detection module (single-chip microcomputer), indicating that the terminal is occupied; when the optical fiber pigtail is not inserted or unplugged, there is no path between the two metal patches, and the single-chip microcomputer detects a high voltage state, indicating that the terminal is not occupied. The schematic diagram of the pigtail plug-in flange is shown in the figure. Figure 7 shown.
[0054] The status detection module in the terminal status acquisition module is composed of a single-chip microcomputer and a decoder. The connection between the single-chip microcomputer and the decoder can be as follows: Figure 8 As shown, the single-chip microcomputer is connected to the decoder and the on-off detection module through its I / O port to form a row and column scanning matrix. The single-chip microcomputer controls the decoder to select the row signal and reads the column signal through the I / O port at the same time. In this way, each terminal can be traversed to detect its electrical signal state (conduction or open circuit), so as to determine the occupation state of the optical fiber access terminal. If the second I / O port detects a low-level signal, it means that the terminal is occupied; if a high level is detected, it means that the terminal is not occupied. The following example describes the specific steps in detail:
[0055] The rows and columns corresponding to the scanning matrix correspond to the arrangement positions of the optical cross-connection box one by one. The 288 optical fiber terminals in the entire optical cross-connection box are divided into a matrix of 24 rows × 12 columns. Each row corresponds to a fiber splice tray, with a total of 24 fiber splice trays; each column corresponds to 12 terminals on a single fiber splice tray. For example, the first row and the first column represent the first terminal on the first fiber splice tray from top to bottom and from left to right, and the fifth row and the eighth column represent the eighth terminal on the fifth fiber splice tray. The flange conductors are welded and fixed to the welding points of the scanning matrix according to the corresponding positions to ensure that the positive and negative welding points of each optical fiber terminal correspond to the corresponding positions in the scanning matrix. This layout method makes it easy for the single-chip microcomputer to quickly locate and obtain the occupation status of each terminal through matrix scanning.
[0056] By detecting the voltage, it is determined whether the optical fiber terminal is occupied. The metal shell of each optical fiber terminal is close to two copper patches, forming a simple switch circuit. When the optical fiber pigtail is inserted into the flange, the metal shell of the pigtail contacts the two copper patches to form a path. At this time, the I / O port of the microcontroller detects a low level (0V). When the optical fiber pigtail is not inserted into the flange, there is no path between the two copper patches and it is in a disconnected state. At this time, the I / O port of the microcontroller detects a high level (usually 3.3V or 5V). By reading the level value of the microcontroller I / O port, the occupancy of each optical fiber terminal can be determined in real time.
[0057] Among them, the decoder is used for row selection to reduce the number of control lines required and realize matrix scanning. The 74LS138N decoder can be used. Each decoder can control 8 rows of output. In order to achieve 24 rows of output, 3 decoders are needed. The microcontroller controls the address selection signal (A, B, C) of the decoder through 3 signal lines (PA5, PA6, PA7), and controls the enable signal (EN) of each decoder through 3 independent enable pins (PA0, PA1, PA4). The VCC and GND of the decoder can be directly connected to the power line, while the enable signal (EN) is controlled separately by the GPIO port of the microcontroller to avoid wasting IO resources. By reading the level value of the microcontroller I / O port, the occupation status of each optical fiber terminal is obtained, and these raw data are stored or transmitted to the host computer for further processing.
[0058] The single-chip microcomputer module uses a core board with a stm32f103c8T6 chip. The maximum operating frequency of stm32f103c8t6 is 72Mhz. It has 48 pins, 32 GPIO port pins, and other power supply and crystal oscillator related pins. After passing through the core board, there are 40 pin outputs, including 32 GPIO port pins, and the others are fixed as power supply and reset signal pins. Among them, PA9 and PA10 are set as the transceiver pins of serial port 1, which are connected to the computer through USB-A after the signal is converted by the serial port chip. PA2 and PA3 are set as the transceiver pins of serial port 2 for subsequent use; PB10 and PB11 are set as the transceiver pins of serial port 3 for communication with the 4G wireless module; 2 GPIO ports are reserved as I2C ports for subsequent use; PA0, PA1, and PA4 are used as the EN enable pins of 3 decoders, and PA5, PA6, and PA7 are used as the address selection signal input pins of 3 decoders. PB1, PB3-PB9, PB12-PB15, a total of 12 ports, are used as 12 column input detection ports of the scan matrix. Currently, a total of 26 GPIO ports are used, and the remaining 6 are standby.
[0059] The peripheral board is connected to the STM32F103C8T6 core board through a socket, integrating 3 decoders to output 24 row selection signals, and centrally leading out 12 GPIO ports as column selection signals. In addition, an I2C interface, a serial port interface, and 6 standby GPIO ports are reserved for subsequent expansion. This design not only reduces the clutter of wires, but also allows the functional boards to be flexibly combined according to needs, improving the maintainability and scalability of the system.
[0060] The matrix scanning circuit board is connected to the peripheral board through 24 row outputs and 12 column outputs to form a complete scanning matrix. According to the layout of the scanning matrix, the positive and negative solder joints of each terminal are reserved to facilitate the welding of the wires led out from the fiber splicing tray to the corresponding solder joints, ensuring that the status of each optical fiber terminal can be accurately detected.
[0061] The first data processing module processes the received target terminal status information. It uses a preset coding rule to encode the occupation status information into a binary array. The status of each optical fiber access terminal occupies one bit (1 bit), which is 0 when occupied and 1 when not occupied. Then, based on the defined data transmission protocol, the binary array is encapsulated, and information such as the protocol header and protocol tail are added to form a first data packet, which is waiting for transmission.
[0062] Each fiber optic disc contains 12 terminals, and the occupied state (occupied or unoccupied) of the terminals is mutually exclusive, that is, a terminal can only be in one of the two states at the same time. Since the occupied state and the unoccupied state can be represented by one bit, for 12 terminals, 12 bits can be used to represent the state of all terminals. However, for the integrity of the data and possible future scalability, the data structure uses 1 word (16 bits) to save the state of the 12 terminals, of which the extra 4 bits are used as redundant bits and are not used temporarily. This can provide a more stable foundation for subsequent data transmission, and at the same time facilitate the handling of possible changes in data packet size or the need to add additional information. Therefore, for a total of 24 fiber optic discs, 24 words (i.e. 48 bytes) are required to represent the occupied state of all terminals, and these data are arranged in sequence to form the original data stream.
[0063] The first data transmission module is responsible for sending the first data packet from the optical handover device side to the terminal status management platform through the wireless network. In the embodiment, the Internet of Things 4G full network access small size CAT1 module (EC800M) is used for data transmission, and the single chip microcomputer controls the module through the serial port command to send the first data packet to the wireless network.
[0064] In order to ensure the accuracy and security of data transmission, the data transmission module needs to encapsulate the data before sending it. The encapsulation process involves adding a protocol header, protocol length, protocol number, and CRC check bit to form a structured data packet. The protocol header is used to identify the beginning of the data packet, the protocol length indicates the size of the data packet, the protocol number ensures the type and priority of the data packet, and the CRC check bit is used to detect errors during data transmission. This encapsulation method enables the data packet to be correctly identified and parsed during the transmission process, and can also detect and correct potential transmission errors to ensure the integrity and accuracy of the data.
[0065] The second data transmission module is on the terminal status management platform side. This module receives the first data packet and prepares to pass it to the second data processing module for decapsulation and parsing.
[0066] The second data processing module performs protocol decapsulation on the received first data packet, removes additional information such as the protocol header and protocol tail, obtains a binary array, and then decodes it according to the encoding rules to restore the terminal status information of the optical handover device. The processed data will be sent to the data application module for application.
[0067] The data application module receives the target terminal status information from the second data processing module, compares it with the historical terminal status information (from the last status collection), and uses the color separation rules to display the latest fiber access status of each fiber access terminal through the preset color indicator light. The color separation rules are as follows: 4 colors are used to represent the 4 states of the terminal, where red and blue represent the changing state, that is, the state transmitted this time is compared with the state last recorded in the system. Red indicates that the terminal was idle last time, and the terminal is occupied this time, recorded as idle to occupied; blue indicates that the terminal was occupied last time, and the terminal is idle this time, recorded as occupied to idle; yellow and green indicate that the current terminal state is consistent with the last terminal state. If there is no record of the last terminal state in the XOR system, yellow indicates that the current terminal state is occupied, and green indicates that the current terminal state is idle. The results are as follows Fig. 9 shown.
[0068] According to the above definition of color, the terminal status of the device number SLX.SLJ / GJ340 is displayed, such as Fig. 9 As shown in the left figure, 24 rows and 12 columns, totaling 288 rectangles, represent the terminal status of the device number SLX.SLJ / GJ340. Fig. 9 The right picture in the figure is a simplified diagram of the left picture. Compare the terminal status of the device number SLX.SLJ / GJ340 obtained through real-time scanning with the terminal status of the device in the resource system. The result is as follows Fig.10 As shown, differentiated terminal status information is obtained, and resource personnel are notified through instant messaging to make resource corrections, thereby realizing remote management of dynamic fibers.
[0069] In the embodiment of the present application, the on-off detection module equipped with each optical fiber terminal can automatically detect the on-off state of the circuit when the optical fiber is connected or removed, and immediately feedback the occupancy of the optical fiber terminal. A self-made trigger device is added to the flange structure, including positive and negative metal sheets, insulating blocks and gaskets, which is used to create a circuit trigger device. When the optical fiber pigtail is inserted or unplugged, it can trigger the change of the circuit state, which is then captured by the on-off detection module. Through low-cost device transformation, the automatic identification of the optical fiber terminal state is realized, reducing the overall implementation cost. The state detection module works in coordination with the single-chip microcomputer and the decoder to complete the detection of the occupancy state of all optical fiber terminals on the entire optical handover device. The single-chip microcomputer controls the decoder to select rows, and detects the terminal state in the column through the second I / O port, thereby constructing an efficient matrix scanning detection system that can automatically and quickly collect a large amount of optical fiber terminal status information. The data collected by the state detection module is integrated, encoded and protocol encapsulated by the data processing module to form a first data packet. The terminal state management platform receives the first data packet, performs protocol unpacking and decoding, and then visualizes the occupancy state information of the optical fiber terminal, and allows resource management personnel to check and manage. The color separation rule is used to visualize the occupancy status of the optical fiber terminal, which makes it easier for resource management personnel to intuitively understand the changes in the terminal status, thereby solving the technical problems of low manual detection efficiency and high cost of related automated detection solutions in the terminal occupancy detection scenario of optical handover equipment.
[0070] Example 2
[0071] According to an embodiment of the present application, a terminal status management method for an optical handover device applied to the terminal status management system of the optical handover device in Example 1 is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that herein.
[0072] Fig.11 is a flow chart of a terminal status management method for an optical handover device provided in an embodiment of the present application, such as Fig.11 As shown, the method comprises the following steps:
[0073] Step S112, obtaining the on-off state of the on-off detection module provided at each optical fiber access terminal of the optical handover device, and determining the optical fiber access state of the corresponding optical fiber access terminal according to the on-off state of each on-off detection module, wherein when there is optical fiber access to the optical fiber access terminal, the corresponding on-off detection module is in the on state;
[0074] Step S114, determining target terminal status information including the optical fiber access status of all optical fiber access terminals in the optical cross-connection device, and encoding and protocol encapsulating the target terminal status information to obtain a first data packet;
[0075] Step S116, transmitting the first data packet to the terminal status management platform, wherein the terminal status management platform is used to perform protocol decapsulation and decoding on the first data packet, obtain target terminal status information, and display the fiber access status of each fiber access terminal according to the target terminal status information.
[0076] The following describes each step of the terminal status management method of the optical cross-connection device in conjunction with a specific implementation process.
[0077] The single-chip microcomputer is connected to the wires in the on-off detection module through its multiple second I / O ports, and outputs enable signals and address selection signals through multiple first I / O ports connected to the decoder to control the corresponding row output of the decoder. When the single-chip microcomputer applies a preset voltage to the on-off detection module, if there is optical fiber access on the optical fiber access terminal, the metal shell of the optical fiber pigtail will contact at least two metal patches pre-set on the flange, so that the two metal patches form a path through the metal shell of the optical fiber pigtail, and then the two wires (the first and the second) are turned on. At this time, the single-chip microcomputer detects a low level through the second I / O port, which indicates that the corresponding on-off detection module is in the on state and there is optical fiber access to the optical fiber access terminal. On the contrary, if a high level is detected, it indicates that the on-off detection module is not turned on, that is, there is no optical fiber access to the corresponding terminal. In this way, the state detection module can scan the entire optical handover equipment and determine the optical fiber access state of each optical fiber access terminal.
[0078] The status detection module (single-chip microcomputer) collects the fiber access status information of each fiber access terminal and forms a fiber access status matrix according to the row and column information in the optical handover device, that is, the target terminal status information. Subsequently, the first data processing module encodes the target terminal status information into a binary array according to the preset encoding rules, where 1 bit corresponds to the fiber access status of a fiber access terminal. For example, if the fiber access status is occupied, the corresponding 1 bit in the binary array is 1; if the fiber access status is idle, the 1 bit is 0. Afterwards, based on the target protocol, the first data processing module encapsulates the binary array to form a first data packet including a protocol header and a tail, so as to facilitate subsequent wireless transmission.
[0079] The first data transmission module transmits the first data packet to the second data transmission module of the terminal status management platform through a wireless network. After receiving the first data packet, the second data transmission module sends it to the second data processing module. The second data processing module unpacks the first data packet according to the target protocol, restores the binary array, and then decodes the binary array into the target terminal status information, that is, the fiber access status of all fiber access terminals according to the preset coding rules. After the data application module obtains the decoded target terminal status information, it will compare it with the terminal status record table corresponding to the optical handover equipment stored in the resource database to determine the difference in fiber access status and mark the difference. The marking method adopts the color separation rule, and different colors correspond to indicator lights with different state changes, such as:
[0080] The first color indicator light (eg, green) indicates that both the history and current states are idle.
[0081] The second color indicator light (eg, yellow) indicates that both the history and current status are occupied.
[0082] A third color indicator light (eg, red) indicates a change from an idle state to an occupied state.
[0083] A fourth color indicator light (eg, blue) indicates a change from an occupied state to an idle state.
[0084] It should be noted that each module in the terminal status management method of the optical handover equipment in the embodiment of the present application corresponds one by one to each implementation step of the terminal status management system of the optical handover equipment in Example 1. Since a detailed description has been given in Example 1, some details not reflected in this embodiment can be referred to Example 1 and will not be elaborated here.
[0085] Example 3
[0086] According to an embodiment of the present application, a terminal status management method for an optical handover device applied to the terminal status management system of the optical handover device in Example 1 is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that herein.
[0087] Fig.12 is a flow chart of a terminal status management method for an optical handover device provided in an embodiment of the present application, such as Fig.12 As shown, the method comprises the following steps:
[0088] Step S122, receiving target terminal status information including the optical fiber access status of all optical fiber access terminals in the optical handover device obtained by the terminal status collection sent by the terminal status detection device;
[0089] Step S124, obtaining the historical terminal status information obtained from the last terminal status collection of this terminal status collection, and combining the historical terminal status information and the target terminal status information, using the target display method to display the fiber access status of each fiber access terminal; wherein, in the target display method, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein the fiber access terminal that corresponds to no fiber access status in both the historical terminal status information and the target terminal status information corresponds to a first color indicator light, the fiber access terminal that corresponds to a fiber access status in both the historical terminal status information and the target terminal status information corresponds to a second color indicator light, the fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a third color indicator light, the fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a fourth color indicator light, and the row and column order of the indicator lights corresponding to each fiber access terminal is the same as the row and column order of each fiber access terminal in the optical handover device.
[0090] The following describes each step of the terminal status management method of the optical cross-connection device in conjunction with a specific implementation process.
[0091] The second data transmission module of the terminal status management platform receives the first data packet sent by the first data transmission module (located in the terminal status detection device) through the wireless network. The first data packet contains the target terminal status information, that is, the fiber access status data of all fiber access terminals in the optical handover device obtained by this terminal status collection. The second data processing module performs protocol unpacking and decoding on the first data packet, restores the target terminal status information, and prepares it for subsequent processing and display.
[0092] The data application module first receives the target terminal status information from the second data processing module, and then obtains the historical terminal status information obtained from the last terminal status collection from the resource database. The data application module compares the target terminal status information with the historical terminal status information to identify changes in the fiber access status, that is, which terminals change from idle to occupied, which change from occupied to idle, and which terminal statuses do not change.
[0093] Based on the comparison results, the data application module uses color separation rules to visualize the state changes. Specifically:
[0094] For a terminal for which no optical fiber access is detected in the history and target terminal status information, that is, a terminal that remains in an idle state, the corresponding indicator light displays a first color (eg, green).
[0095] For the terminal in which optical fiber access is detected in both the historical and target terminal status information, that is, the terminal that continues to be in the occupied state, the corresponding indicator light displays a second color (eg, yellow).
[0096] For terminals that are displayed as idle in the historical terminal status information but become occupied in the target terminal status information, that is, terminals that change from idle to occupied, the corresponding indicator light displays a third color (for example, red), indicating that new optical fiber access has been added.
[0097] For terminals that are displayed as occupied in the historical terminal status information but become idle in the target terminal status information, that is, terminals that change from occupied to idle, the corresponding indicator light displays a fourth color (for example, blue), indicating that the optical fiber is removed.
[0098] In this way, the data application module uses preset color indicators in the remote server interface to display the real-time fiber access status of each terminal according to the actual row and column order of the fiber access terminals in the optical handover equipment. In this way, operation and maintenance personnel can see at a glance the fiber resource usage of the optical handover equipment, especially the dynamic changes of fiber resources, such as new fiber access or fiber removal, and which terminal status remains unchanged.
[0099] In addition, the data application module will generate abnormal prompt information for abnormal terminal status information, and notify the operation and maintenance personnel to make resource corrections to ensure that the resource database is consistent with the actual fiber occupancy. This real-time comparison and visual display, coupled with the timely feedback mechanism of abnormal status, greatly improves the efficiency and accuracy of fiber resource management, reduces human errors, and realizes remote automated management of fiber resources.
[0100] It should be noted that each module in the terminal status management method of the optical handover equipment in the embodiment of the present application corresponds one by one to each implementation step of the terminal status management system of the optical handover equipment in Example 1. Since a detailed description has been given in Example 1, some details not reflected in this embodiment can be referred to Example 1 and will not be elaborated here.
[0101] Example 4
[0102] According to an embodiment of the present application, a computer program product is also provided, which includes a computer program, wherein when the computer program is executed by a processor, the terminal status management method of the optical handover device in Example 2 or Example 3 is implemented.
[0103] According to an embodiment of the present application, a non-volatile storage medium is also provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the terminal status management method of the optical handover device in Example 2 or Example 3 by running the computer program.
[0104] According to an embodiment of the present application, a processor is further provided, which is used to run a computer program, wherein the terminal status management method of the optical handover device in Example 2 or Example 3 is executed when the computer program is running.
[0105] According to an embodiment of the present application, an electronic device is also provided, which includes: a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the terminal status management method of the optical handover device in Example 2 or Example 3 through the computer program.
[0106] Specifically, when the computer program is running, the following steps can be executed: obtaining the on-off state of the on-off detection module arranged at each optical fiber access terminal of the optical handover device, and determining the fiber access state of the corresponding optical fiber access terminal according to the on-off state of each on-off detection module, wherein when there is optical fiber access at the optical fiber access terminal, the corresponding on-off detection module is in the on state; determining target terminal state information including the fiber access state of all optical fiber access terminals in the optical handover device, and encoding and protocol encapsulating the target terminal state information to obtain a first data packet; transmitting the first data packet to a terminal state management platform, wherein the terminal state management platform is used to perform protocol unpacking and decoding on the first data packet to obtain the target terminal state information, and display the fiber access state of each optical fiber access terminal according to the target terminal state information.
[0107] Specifically, when the computer program is running, the following steps can also be executed: receiving the target terminal status information including the fiber access status of all fiber access terminals in the optical handover device obtained by the current terminal status collection sent by the terminal status detection device; obtaining the historical terminal status information obtained by the previous terminal status collection of the current terminal status collection, and combining the historical terminal status information and the target terminal status information, using the target display method to display the fiber access status of each fiber access terminal; wherein, in the target display method, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein the historical terminal status information and the target terminal status information are displayed. The optical fiber access terminals that correspond to no optical fiber access status in the historical terminal status information correspond to the first color indicator light, the optical fiber access terminals that correspond to optical fiber access status in both the historical terminal status information and the target terminal status information correspond to the second color indicator light, the optical fiber access terminals that correspond to no optical fiber access status in the historical terminal status information and optical fiber access status in the target terminal status information correspond to the third color indicator light, the optical fiber access terminals that correspond to optical fiber access status in the historical terminal status information and no optical fiber access status in the target terminal status information correspond to the fourth color indicator light, and the row and column order of the indicator lights corresponding to each optical fiber access terminal is the same as the row and column order of each optical fiber access terminal in the optical handover equipment.
[0108] As an optional implementation, the electronic device may be in the form of a mobile terminal, a computer terminal or a similar computing device. Fig.13 The hardware structure block diagram of an electronic device for implementing a terminal status management method of an optical handover device is shown. Fig.13 As shown, the electronic device 130 may include one or more (shown as 1302a, 1302b, ..., 1302n in the figure) processors 1302 (the processor 1302 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1304 for storing data, and a transmission device 1306 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.13 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.13 More or fewer components as shown, or with Fig.13 Different configurations are shown.
[0109] It should be noted that the one or more processors 1302 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the electronic device 130. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0110] The memory 1304 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the terminal state management method of the optical handover device in the embodiment of the present application. The processor 1302 executes various functional applications and data processing by running the software programs and modules stored in the memory 1304, that is, realizing the vulnerability detection method of the above-mentioned application. The memory 1304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1304 may further include a memory remotely arranged relative to the processor 1302, and these remote memories may be connected to the electronic device 130 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0111] The transmission device 1306 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the electronic device 130. In one example, the transmission device 1306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 1306 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0112] The display may be, for example, a touch screen liquid crystal display (LCD) that may enable a user to interact with a user interface of the electronic device 130 .
[0113] The serial numbers of the above embodiments are only for description and do not represent the advantages or disadvantages of the embodiments.
[0114] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk, disk or optical disk, etc., which can store program code.
[0119] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A terminal status management system for optical handover equipment, characterized in that: include: A terminal state detection device and a terminal state management platform, wherein the terminal state detection device comprises: an on-off detection module arranged at each optical fiber access terminal of an optical handover device, and a state detection module that determines the optical fiber access state of a corresponding optical fiber access terminal according to the on-off state of each on-off detection module, wherein when an optical fiber is connected to the optical fiber access terminal, the corresponding on-off detection module is in a conducting state; The terminal status detection device is used to determine the target terminal status information including the optical fiber access status of all the optical fiber access terminals in the optical cross-connection device; encode and protocol encapsulate the target terminal status information to obtain a first data packet; and transmit the first data packet to the terminal status management platform; The terminal status management platform is used to perform protocol decapsulation and decoding on the first data packet to obtain the target terminal status information; and display the optical fiber access status of each optical fiber access terminal according to the target terminal status information.
2. The system according to claim 1, characterized in that The terminal status detection device includes: a power supply module, a terminal status acquisition module, a first data processing module and a first data transmission module, the terminal status acquisition module includes: a plurality of the on-off detection modules and the status detection module; the terminal status management platform includes: a second data transmission module, a second data processing module and a data application module; wherein, The power supply module is used to supply power to the terminal status acquisition module, the first data processing module and the first data transmission module respectively; The terminal status acquisition module is used to determine the target terminal status information and send the target terminal status information to the first data processing module; The first data processing module is used to encode and protocol-encapsulate the target terminal status information to obtain a first data packet, and send the first data packet to the first data transmission module; The first data transmission module is used to transmit the first data packet to the second data transmission module; The second data transmission module is used to send the first data packet to the second data processing module; The second data processing module is used to perform protocol decapsulation and decoding on the first data packet to obtain the target terminal status information, and send the target terminal status information to the data application module; The data application module is used to display the optical fiber access status of each optical fiber access terminal according to the target terminal status information.
3. The system according to claim 2, characterized in that The optical cross-connection device includes a plurality of fiber splicing trays placed in a vertically stacked manner, each of the fiber splicing trays includes a plurality of optical fiber access terminals, and each of the optical fiber access terminals includes a flange for fixing the access optical fiber; Each of the on-off detection modules includes: an insulating gasket fixed on the flange of the corresponding optical fiber access terminal, at least two metal patches fixed on the insulating gasket and not in contact with each other, and two wires respectively welded on the two metal patches, wherein the two wires are connected to the status detection module, and when the optical fiber is connected to the optical fiber access terminal, the two wires pass through the metal casing of the optical fiber pigtail to form a passage.
4. The system according to claim 3, characterized in that The state detection module includes: a single chip microcomputer and a decoder; The single-chip computer includes: a plurality of first input / output I / O ports connected to the decoder and a plurality of second I / O ports connected to the plurality of on / off detection modules, the output signal types of the plurality of first I / O ports include: an enable signal, an address selection signal of the decoder, one end of each of the second I / O ports is connected to the power supply module through a pull-up resistor, and the other end is connected to the first wire in the on / off detection module on all the optical fiber access terminals in the same column of the optical cross-connection device; Each output port of the decoder is connected to the second wire in the continuity detection module on all the optical fiber access terminals in the same row of the optical cross-connection device; The single-chip computer is used to apply a preset voltage to each of the on-off detection modules in turn by controlling the power supply module, the decoder and each of the second I / O ports, and determine the on-off state of the corresponding on-off detection module by detecting the level state on the second I / O port side, and determine the fiber access state of the corresponding fiber access terminal according to the on-off state of the on-off detection module, wherein if the second I / O port side is a preset high level, it indicates that the corresponding on-off detection module is turned on and there is fiber access to the corresponding fiber access terminal, and if the second I / O port side is a preset low level, it indicates that the corresponding on-off detection module is open and there is no fiber access to the corresponding fiber access terminal; it is also used to form a fiber access state matrix of the fiber access state of each of the fiber access terminals according to the row and column information of the corresponding fiber access terminal in the optical handover device, and use the fiber access state matrix as the target terminal state information.
5. The system according to claim 2, characterized in that The first data processing module is used to encode the target terminal status information into a binary array according to a preset encoding rule, in which 1 bit corresponds to the optical fiber access status of an optical fiber access terminal; encapsulate the binary array based on the target protocol to obtain the first data packet, and transmit the first data packet to the second data processing module through the first data transmission module and the second data transmission module; The second data processing module is used to decapsulate the first data packet according to the target protocol to obtain the binary array, and decode the binary array into the target terminal status information according to the preset encoding rule, and send the target terminal status information to the data application module.
6. The system according to claim 2, characterized in that The data application module is used to obtain the historical terminal status information obtained from the last terminal status collection of the current terminal status collection, combine the historical terminal status information with the target terminal status information, and display the optical fiber access status of each optical fiber access terminal in a target display manner; In the target display mode, the fiber optic access status of each fiber optic access terminal is displayed using an indicator light of a preset color corresponding to the fiber optic access status, wherein a fiber optic access terminal that corresponds to no fiber optic access status in both the historical terminal status information and the target terminal status information corresponds to an indicator light of a first color, a fiber optic access terminal that corresponds to a fiber optic access status in both the historical terminal status information and the target terminal status information corresponds to an indicator light of a second color, a fiber optic access terminal that corresponds to no fiber optic access status in the historical terminal status information and a fiber optic access status in the target terminal status information corresponds to an indicator light of a third color, and a fiber optic access terminal that corresponds to a fiber optic access status in the historical terminal status information and no fiber optic access status in the target terminal status information corresponds to an indicator light of a fourth color, and the row and column order of the indicator lights corresponding to each fiber optic access terminal is the same as the row and column order of each fiber optic access terminal in the optical handover device.
7. The system according to claim 2, characterized in that The data application module is used to compare the target terminal status information with the terminal status record table corresponding to the optical handover equipment stored in the resource database, determine the abnormal optical fiber access terminal whose corresponding optical fiber access status in the target terminal status information is different from that in the terminal status record table, and generate abnormal prompt information, wherein the abnormal prompt information is used to prompt the operation and maintenance personnel that the terminal status information of the abnormal optical fiber access terminal is abnormal and needs to be modified.
8. The system according to claim 4, characterized in that The data application module is further used to determine terminal configuration information for the optical cross-connection device and send the terminal configuration information to the second data processing module; The second data processing module is used to encode and protocol-encapsulate the terminal configuration information to obtain a second data packet, and transmit the second data packet to the first data processing module through the second data transmission module and the first data transmission module; The first data processing module is used to perform protocol decapsulation and decoding on the second data packet to obtain the terminal configuration information, and send the terminal configuration information to the single chip microcomputer; The single chip microcomputer is used to configure the optical fiber access terminal of the optical handover device according to the terminal configuration information.
9. A terminal status management method for an optical cross-connection device, characterized in that: include: Obtaining the on-off state of an on-off detection module at each optical fiber access terminal of the optical handover device, and determining the optical fiber access state of the corresponding optical fiber access terminal according to the on-off state of each on-off detection module, wherein when there is optical fiber access to the optical fiber access terminal, the corresponding on-off detection module is in the on state; Determine target terminal status information including the optical fiber access status of all the optical fiber access terminals in the optical cross-connection device, and encode and protocol-encapsulate the target terminal status information to obtain a first data packet; The first data packet is transmitted to a terminal status management platform, wherein the terminal status management platform is used to perform protocol decapsulation and decoding on the first data packet to obtain the target terminal status information, and display the fiber access status of each fiber access terminal based on the target terminal status information.
10. A terminal status management method for an optical cross-connection device, characterized in that: include: Receive the target terminal status information including the optical fiber access status of all optical fiber access terminals in the optical handover device obtained by the terminal status collection sent by the terminal status detection device; Obtain historical terminal status information obtained from the last terminal status collection of this terminal status collection, and combine the historical terminal status information and the target terminal status information to display the fiber access status of each fiber access terminal in a target display manner; wherein, in the target display manner, the fiber access status of each fiber access terminal is displayed using an indicator light of a preset color corresponding to the fiber access status, wherein a fiber access terminal that corresponds to no fiber access status in both the historical terminal status information and the target terminal status information corresponds to a first color indicator light, a fiber access terminal that corresponds to a fiber access status in both the historical terminal status information and the target terminal status information corresponds to a second color indicator light, a fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a third color indicator light, a fiber access terminal that corresponds to no fiber access status in the historical terminal status information and a fiber access status in the target terminal status information corresponds to a fourth color indicator light, and the row and column order of the indicator lights corresponding to each fiber access terminal is the same as the row and column order of each fiber access terminal in the optical handover device.
11. A computer program product, characterized in that include: A computer program, wherein when the computer program is executed by a processor, the terminal status management method of the optical cross-connection device according to claim 9 or 10 is implemented.
12. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the terminal status management method of the optical cross-connection device according to claim 9 or 10 through the computer program.