Binding method and unbinding method for optical fiber device and optical fiber port

By generating an overview interface for fiber optic ports and using Bluetooth broadcasting technology, the identification information of fiber optic devices and fiber optic ports is automatically bound, solving the problem of easy binding errors in existing technologies, improving binding efficiency and success rate, and enhancing the accuracy and efficiency of operation and maintenance processes.

CN121664898APending Publication Date: 2026-03-13SHENZHEN XINGGAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The existing binding process between fiber optic equipment and fiber optic ports is prone to errors and inefficient, resulting in inaccurate data mapping, which affects the efficiency of troubleshooting and the traceability of maintenance records.

Method used

By generating an overview interface for fiber optic ports, using port controls with different display styles to represent the binding status, and sending binding requests via Bluetooth broadcast, the device identification information and port identification information are automatically bound, simplifying user operations.

Benefits of technology

It improves binding efficiency and success rate, reduces manual input errors, and enables visual binding and unbinding of fiber optic ports and fiber-to-fiber devices, thereby improving the efficiency and accuracy of operation and maintenance processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664898A_ABST
    Figure CN121664898A_ABST
Patent Text Reader

Abstract

The invention discloses a binding method and an unbinding method for fiber aligning equipment and an optical fiber port. The binding method comprises the following steps: executing an application program through a processor to generate an optical fiber port overview interface; the optical fiber port overview interface contains a port control; each port control corresponds to one optical fiber port; when the optical fiber port is in a binding state, the display style of the corresponding port control is a first display style, and when the optical fiber port is in an unbinding state, the display style of the corresponding port control is a second display style. Under the condition that a binding request sent by fiber equipment is received, analyzing the binding request, and obtaining equipment identification information of the fiber equipment; binding the equipment identification information with an optical fiber port to be bound; the to-be-bound optical fiber port is determined after a user selects a port control presenting a second display style on an optical fiber port overview interface. According to the invention, the binding efficiency and success rate can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fiber optic operation and maintenance, and in particular to a method for binding and unbinding fiber optic equipment and fiber optic ports. Background Technology

[0002] In fiber optic operation and maintenance (O&M) scenarios, it is typically necessary to establish a mapping between portable fiber-to-the-cable devices used on-site and a specific port within the fiber optic cable resource. The purpose is to ensure that subsequently collected data such as optical power and link status are accurately mapped to the specific fiber optic object, thereby avoiding data-port mismatch issues. Through this binding, the system can not only quickly locate the corresponding resource when an anomaly occurs, improving troubleshooting efficiency, but also create traceable O&M records, reducing manual annotation and human error, making the entire O&M process more efficient and standardized.

[0003] In existing technologies, a common method is manual data entry. Users manually input the device identifier of the fiber optic cable via a mobile maintenance app to establish a relationship between the cable and the target port. However, manual entry typically requires users to input the complete serial number digit by digit, which is error-prone and inefficient. Summary of the Invention

[0004] This invention provides a method for binding and unbinding fiber optic devices and fiber optic ports. The binding method can solve the problems of easy errors and low efficiency in the binding of fiber optic devices and fiber optic ports in the prior art.

[0005] An embodiment of the present invention discloses a method for binding fiber optic equipment to fiber optic ports, comprising: generating a fiber optic port overview interface by executing an application through a processor; the fiber optic port overview interface is provided with a plurality of port controls; each port control corresponds to a fiber optic port, and when the corresponding fiber optic port is in a bound state, the port control presents a first display style, and when the corresponding fiber optic port is in an unbound state, the port control presents a second display style, wherein the first display style is different from the second display style; Upon receiving a binding request from a fiber optic device, the binding request is parsed to obtain the device identification information of the fiber optic device. The device identification information is bound to the fiber optic port to be bound; wherein, the fiber optic port to be bound is determined by the user by selecting the port control with the second display style on the fiber optic port overview interface.

[0006] Furthermore, the processor executes a software program to generate a fiber optic port overview interface, including: Obtain port information for all fiber optic ports in the computer room and generate a port information table. The port information table contains several port records, each corresponding to a fiber optic port. Each port record includes: port identification information and port status identifier. The port status identifier is used to characterize the fiber optic port binding status; the port status identifier includes: bound or unbound. The port information table is read. For each port record, the port identifier information in the port record is associated with the control identifier of the corresponding port control in the interface, and the display style of the associated port control is determined according to the port status identifier. Wherein, when the port status identifier is bound, the display style of the port control is the first display style; when the port status identifier is not bound, the display style of the port control is the second display style. The interface of each port control is presented according to the display style of each port control, and the overall interface of the fiber optic ports is generated.

[0007] Furthermore, the fiber-to-the-line device sends the binding request via Bluetooth broadcast, and the binding request carries a field for identifying the message type and a field for carrying device identification information.

[0008] Furthermore, the fiber optic port to be bound is determined by the user through selecting a port control displaying the second style on the fiber optic port overview interface, including: When the system detects that a user has selected a port control displayed in the second display style in the fiber optic port overview interface, the fiber optic port corresponding to the selected port control will be used as the fiber optic port to be bound. The selected port control is presented with an interface according to a third display style; wherein the third display style is different from both the first and second display styles.

[0009] Furthermore, if the fiber optic port to be bound has been determined before receiving the binding request sent by the fiber optic device, then after obtaining the device identification information of the fiber optic device, a binding confirmation interface containing the device identification information of the fiber optic device and the port identification information of the fiber optic port to be bound is generated; after detecting the user's binding confirmation operation based on the binding confirmation interface, a binding relationship is established between the device identification information and the port identification information of the fiber optic port to be bound. If the fiber optic port to be bound is not determined before receiving the binding request sent to the fiber optic device, the obtained device identification information is used as candidate device identification information. Then, after the fiber optic port to be bound is determined, a binding confirmation interface containing the candidate device identification information and the port identification information of the fiber optic port to be bound is generated. After detecting the user's binding confirmation operation based on the binding confirmation interface, the binding relationship between the candidate device identification information and the port identification information of the fiber optic port to be bound is established.

[0010] Furthermore, after binding the device identification information with the port identification information of the fiber optic port to be bound, the method further includes: A first instruction indicating successful bonding is sent to the fiber pairing device, so that the fiber pairing device stops broadcasting after receiving the first instruction.

[0011] Accordingly, the present invention provides a method for unbinding fiber optic equipment and fiber optic port, wherein the fiber optic equipment and fiber optic port are bound based on the above-mentioned binding method for fiber optic equipment and fiber optic port; The unbinding method includes: Determine the port identification information of one or more fiber optic ports to be unbound, and the device identification information of the fiber pair device to be unbound corresponding to each fiber optic port to be unbound; For each fiber optic port to be unbound, generate an unbinding confirmation interface that includes the port identification information to be unbound and the corresponding device identification information to be unbound. After detecting the unbinding confirmation operation performed by the user based on the unbinding confirmation interface, the identification information of the device to be unbound is unbound from the port to be unbound; Change the display style of the port control corresponding to the fiber optic port to be unbound from the first display style to the second display style.

[0012] Optionally, determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: Upon receiving an unbinding request from a fiber optic device, the fiber optic device is identified as the device to be unbound, and the device identification information of the fiber optic device to be unbound is used as the device identification information to be unbound. Match the identification information of the corresponding fiber optic port to be unbound with the identification information of the device to be unbound.

[0013] Optionally, determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: After detecting that the user has selected one or more port controls displaying the first display style and selected the unbinding control located in the fiber optic port overview interface, the port control displaying the first display style selected by the user is used as the fiber optic port control to be unbound. The fiber optic port corresponding to the fiber optic port control to be unbound is designated as the fiber optic port to be unbound. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.

[0014] Optionally, determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: Receive a filtering instruction for the fiber optic port to be unbound, wherein the filtering instruction contains the binding time rules that the fiber optic port to be unbound must meet; Based on the binding time rules in the filtering instructions, the fiber optic ports to be unbound are filtered out. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.

[0015] The following benefits can be obtained by implementing the present invention: This invention provides a method for binding and unbinding fiber optic devices and fiber optic ports. The method first generates a fiber optic port overview interface by executing an application program through a processor. This interface contains multiple port controls; each port control corresponds to an actual fiber optic port. The display style of the port controls varies depending on the binding state of the fiber optic port. When the fiber optic port is bound, its corresponding port control displays a first display style. When the fiber optic port is unbound, its corresponding port control displays a second display style. This allows users to intuitively see which fiber optic ports are bound and which are unbound through the overview interface. When binding is required, the user simply selects any port control with the second display style from the overview interface; the fiber optic port corresponding to this control is then the port to be bound. Upon receiving a binding request from the fiber optic device, the device identification information is extracted from the binding request. The port identification information of the fiber optic port to be bound is then bound to the extracted device identification information, thus achieving the binding of the fiber optic device and the fiber optic port. Compared to existing technologies, this invention uses a visual binding operation through an overview interface of the fiber optic port, eliminating the need to manually input the device identifier for the fiber optic equipment, thus improving binding efficiency and success rate. Attached Figure Description

[0016] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0017] Figure 1 This is a schematic flowchart illustrating a method for binding fiber optic equipment to an optical fiber port according to an embodiment of the present invention. Figure 2 This is a schematic diagram of an optical fiber port overview interface provided in an embodiment of the present invention.

[0018] Figure 3 This is a schematic diagram of the message structure for a binding request provided in an embodiment of the present invention.

[0019] Figure 4 This is a schematic diagram illustrating the interaction between a mobile terminal and a fiber optic device according to an embodiment of the present invention.

[0020] Figure 5 This is another schematic diagram of the fiber optic port overview interface provided in an embodiment of the present invention.

[0021] Figure 6 This is another schematic diagram of the fiber optic port overview interface provided in an embodiment of the present invention. Figure 7 This is another interactive schematic diagram of a mobile terminal and a fiber optic device as provided in an embodiment of the present invention.

[0022] Figure 8 This is another interactive schematic diagram of a mobile terminal and a fiber optic device as provided in an embodiment of the present invention.

[0023] Figure 9 This is a schematic diagram of an unbinding method provided in an embodiment of the present invention.

[0024] Figure 10 This is another interactive diagram of the mobile terminal and the fiber optic device provided in one embodiment of the present invention.

[0025] Figure labeling: Port control 1, Unbind control 2. Detailed Implementation

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

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0028] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0030] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0031] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0032] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0033] See Figure 1 An embodiment of the present invention provides a method for binding fiber optic equipment to an optical fiber port, comprising: Step S1: Generate a fiber optic port overview interface by executing the application through the processor; the fiber optic port overview interface is provided with several port controls; each port control corresponds to a fiber optic port, and when the corresponding fiber optic port is in a bound state, the port control presents a first display style, and when the corresponding fiber optic port is in an unbound state, the port control presents a second display style, and the first display style is different from the second display style.

[0034] In a preferred embodiment, a software program executed by a processor generates a fiber optic port overview interface, including: The process involves acquiring port information of fiber optic ports within the equipment room and generating a port information table. Acquiring this port information includes collecting or receiving port-related information used to generate the table. The methods of collection or reception include, but are not limited to, acquiring data from a resource system, patch panel management module, local storage files, or externally imported data. The port information table contains several port records, each corresponding to a fiber optic port. Each port record includes at least: port identification information and port status information. Optionally, each port record may also include the equipment room number. Preferably, the port identification information includes at least: a port ID. The port ID is used to uniquely identify the fiber optic port and can be a unique code generated by the resource system, a database primary key, a GUID / UUID, or other logical identifier that uniquely identifies the port. In other optional embodiments, the port identification information may also include any one or a combination of the following: chassis number, chassis number, and port number. The port status identifier is used to characterize the status of the fiber optic port, and the port status identifier includes: bound or unbound; Preferably, if the specific value of the port status identifier is not recorded in the port record, the port status identifier of the port is set to unbound by default.

[0035] The port information table is read. For each port record, the port identifier information in the port record is associated or matched with the control identifier of the corresponding port control in the interface, and the display style of the associated port control is determined according to the port status identifier. Wherein, when the port status identifier is bound, the display style of the port control is the first display style; when the port status identifier is unbound, the display style of the port control is the second display style. The interface of each port control is presented according to the display style of each port control, and the overall interface of the fiber optic ports is generated.

[0036] In a preferred embodiment, when the port identification information includes the chassis number and port number, before presenting the interface of each port control according to the display style of each port control, the method further includes: Arrange the port controls corresponding to each fiber optic port in order, with the chassis number as the row and the port number as the column.

[0037] Specifically, in this invention, the above-mentioned method for binding fiber optic equipment to fiber optic ports is applicable to be executed in a mobile terminal, which runs an application (APP) for optical cable resource management. The mobile terminal includes smartphones, tablets, or industrial handheld terminals with Bluetooth communication capabilities.

[0038] In practical fiber optic maintenance scenarios, data centers typically contain numerous fiber optic ports. To ensure the correct fiber optic port is bound before binding, the mobile app pre-loads port information for all fibers within the data center. This port information is imported from the server-side fiber optic resource database or manually imported by the user from a configuration file (e.g., CSV, Excel, JSON). After data parsing, the app creates a local port information table (e.g., SQLite / JSON). This table contains several port records, each corresponding to a fiber optic port, including a unique port ID, chassis number, chassis number, port number, fiber optic cable name, data center location, status identifier, and other fields. The port ID, chassis number, chassis number, and port number are subsequently used as the port identification information for the fiber optic port. The mobile app executes the corresponding application and generates the following based on the aforementioned fiber optic port information: Figure 2 The fiber optic port overview interface is shown. In a preferred embodiment, the mobile terminal reads port data from the port information table and generates corresponding port controls on the fiber optic port overview interface; each record of port data corresponds to one port control. The display style of the port controls can be preset. Illustratively, in an optional example, such as... Figure 2 As shown, the port control is circular; the mobile device controls different port controls to present different effects based on the "port status identifier" field: when the port status identifier is "unbound", it is displayed as a hollow circle (i.e., the second display style mentioned above), and when the port status identifier is "bound", it is displayed as a solid circle or a highlighted area (i.e., the first display style mentioned above).

[0039] Port controls within the same chassis are arranged in order of chassis number and port number, forming a fiber optic port overview interface. In other preferred embodiments, the fiber optic port overview interface may also include an unbinding control for triggering unbinding, a port details control for displaying port information, and a binding record control for querying binding records. To support subsequent port selection operations, the mobile device maintains a mapping table between control identifiers and port records, ensuring a one-to-one mapping between each port control in the interface and the records in the port information table.

[0040] Step S2: Upon receiving a binding request sent by the fiber optic device, parse the binding request to obtain the device identification information of the fiber optic device.

[0041] In a preferred embodiment, the fiber-to-the-line device sends the binding request via Bluetooth broadcast. The binding request carries a field for identifying the message type and a field for carrying device identification information, so that the mobile terminal can distinguish whether it is a binding request and parse the device identification information.

[0042] In one optional embodiment, the binding request is encapsulated according to the Bluetooth Low Energy protocol; the binding request includes: fixed fields and custom fields; the fixed fields include the BLE header and protocol identification information; the custom fields include: a device identification field and a type field for indicating the message type; the device identification field includes the device identification information.

[0043] Specifically, during the binding process, after the user operates the binding control button on the fiber optic device, the device detects the operation command and generates a binding message according to a preset message format. The generated binding message is encapsulated according to the Bluetooth Low Energy (BLE Advertising) protocol and includes two parts: fixed fields and custom fields. The fixed fields include the standard BLE message header and protocol identification information (message length, device name, protocol version number, etc.); the custom fields include a type field and a device identifier field. The type field indicates the message type (used to determine whether it is a binding request), and the device identifier field carries the device's unique device identification information. This device identification information may include one or more combinations of fields such as SN number, MAC address, CRC check bit, device model, firmware version, or battery status. Figure 3 An example message structure for a binding request is provided. The custom fields include a data length field, a type field, and a device identifier field. The device identifier field contains the device name, MAC address, and CRC checksum to ensure data integrity. After generating a binding request for the fiber device, it is broadcast via the wireless communication interface. Preferably, the broadcast is sent via Bluetooth Low Energy (BLE). Of course, in other optional embodiments, Wi-Fi Beacon, NFC messages, or communication methods such as ZigBee or LoRa can also be used.

[0044] In other alternative embodiments, the binding request can also be implemented by the fiber-to-fiber device through any wireless communication interface, near-field communication method, or by the mobile terminal actively obtaining the identification information of the fiber-to-fiber device, and the present invention does not limit this.

[0045] The mobile device is in Bluetooth broadcast listening mode, continuously receiving Bluetooth broadcasts from surrounding devices. Upon receiving a broadcast message from a fiber optic device, the mobile device parses fixed fields in the broadcast message to confirm the message's origin and determines whether it is a binding request broadcast based on the type field. If it is identified as a binding broadcast to a fiber optic device, the mobile device further parses the device identifier field to extract the device identifier information of the fiber optic device.

[0046] Step S3: Bind the device identification information to the port identification information of the fiber optic port to be bound; wherein, the fiber optic port to be bound is determined by the user by selecting the port control with the second display style on the fiber optic port overview interface.

[0047] In a preferred embodiment, the fiber optic port to be bound is determined by the user selecting a port control displaying a second style on the fiber optic port overview interface, including: When the system detects that a user has selected a port control displayed in the second display style in the fiber optic port overview interface, the fiber optic port corresponding to the selected port control will be used as the fiber optic port to be bound. The selected port control is presented with an interface according to a third display style; wherein the third display style is different from both the first and second display styles.

[0048] Binding the device identification information to the fiber optic port to be bound includes: If the fiber optic port to be bound has been determined before receiving the binding request from the fiber optic device, a binding confirmation interface containing the device identification information of the fiber optic device and the port identification information of the fiber optic port to be bound is generated after obtaining the device identification information of the fiber optic device; after detecting the binding confirmation operation of the user based on the binding confirmation interface, the device identification information and the port identification information of the fiber optic port to be bound are bound together. If the fiber optic port to be bound is not determined before receiving the binding request sent to the fiber optic device, the obtained device identification information is used as candidate device identification information. Then, after the fiber optic port to be bound is determined, a binding confirmation interface containing the candidate device identification information and the port identification information of the fiber optic port to be bound is generated. After detecting the user's binding confirmation operation based on the binding confirmation interface, the binding relationship between the candidate device identification information and the port identification information of the fiber optic port to be bound is established.

[0049] Furthermore, in some embodiments, the order in which the user selects the fiber optic port to be bound and receives the binding request may occur simultaneously or without a fixed order; this invention covers both without limitation. The binding confirmation interface may be presented in the form of a pop-up window, a prompt box, a page jump, or other interface forms; this invention is also not limited thereto.

[0050] Specifically, this invention includes several quick binding methods. The first method is an interactive mode where the device first selects the terminal via the APP, and then confirms the connection via broadcast to the fiber optic device. The overall process is as follows: Figure 4 As shown.

[0051] Users can select a port control with a second display style on the fiber optic port overview interface via the app. The fiber optic port corresponding to the selected port control will then be designated as the fiber optic port to be bound. Simultaneously, the control will be highlighted using a third display style (e.g., dashed outline, highlight, or flashing), as illustrated below. Figure 5The image shows a dashed box highlighting "Disk 1, Port 1", indicating that it is selected. Simultaneously, the mobile device obtains the unique identifier information (such as port ID) of the fiber optic port to be bound based on the mapping relationship.

[0052] Next, the user operates the binding control button on the fiber optic device (e.g., double-clicking or long-pressing) according to the process in step S2 above, sending a broadcast message requesting binding. The mobile device is in Bluetooth broadcast listening mode, continuously receiving Bluetooth broadcasts from surrounding devices. Upon receiving the broadcast message sent by the fiber optic device, it parses the device identification information. After parsing, the mobile device generates a binding confirmation interface (which can be a pop-up, prompt box, interface pop-up, or page jump, etc.). The interface simultaneously displays the port identification information of the fiber optic port to be bound and the device identification information of the fiber optic device parsed from the broadcast (device name, MAC address, SN number, etc.), and prompts the user to confirm whether to perform the binding. After the user confirms the binding operation, the mobile device establishes a correspondence between the device identification information of the fiber optic device and the port identification information of the port to be bound. For example, it writes the bound fiber optic device identification to the port record to be bound in the port information table, or it writes the associated port number to the corresponding fiber optic device record in the device information table, thereby realizing the association between the fiber optic port and the fiber optic device. Once the binding relationship is established, the mobile device saves the detailed binding information to the local database, generating a binding relationship record. This record includes the port number, fiber optic device identifier, binding time, current status, and operator information. The record can be stored in a structured data format (such as JSON or XML) and can be synchronously uploaded to the server-side database when necessary to support subsequent queries, management, and data traceability.

[0053] After the binding relationship is written, the mobile terminal will synchronously update the interface display status, switching the port control, which was previously represented by an empty circle, to a solid circle or a highlighted state to indicate that the binding is complete. Figure 6 The port control for disk number 1 in the middle is shown.

[0054] Subsequently, the fiber optic device can upload collected data via Bluetooth or other communication links. The mobile device retrieves the corresponding port information from the binding relationship table based on the device identifier in the uploaded data, and writes the collected results into the record of that port, thereby achieving automatic mapping between collected data and port information.

[0055] In an optional embodiment, after binding the device identification information with the port identification information of the fiber optic port to be bound, the method further includes: A first instruction indicating successful bonding is sent to the fiber pairing device, so that the fiber pairing device stops broadcasting after receiving the first instruction.

[0056] Specifically, the mobile device can send a "binding successful" command to the fiber optic cable after the binding is completed. Once the fiber optic cable receives the command, it will stop broadcasting to reduce power consumption and channel interference.

[0057] The second binding method involves first broadcasting to the fiber optic device, and then the mobile device passively listening. The difference from the first method is that the binding process is initiated by the fiber optic device, while the app only continuously listens in the background (see the overall interaction flow). Figure 7 ).

[0058] After a user presses the binding control button on the fiber optic device, the device detects the command and generates a binding broadcast message according to the preset message format. The message structure, encapsulation method, and field meanings are the same as described above and will not be repeated here.

[0059] The mobile device is in Bluetooth broadcast listening mode, continuously receiving Bluetooth broadcasts from surrounding devices. Upon receiving a binding broadcast message for a fiber optic device, the mobile device performs the same parsing process as described above to determine the message source and extract the fiber optic device identifier, temporarily storing the unique identifier information as a record for the fiber optic device to be bound. Subsequently, the user selects the fiber optic port to be bound in the fiber optic port overview interface on the mobile device. The mobile device retrieves the port record based on the control identifier and pops up a binding confirmation interface, displaying the device identifier and port identifier information, prompting the user to confirm the binding operation. After the user confirms the binding operation, the mobile device establishes an association between the device identifier and port identifier information using the same mechanism as described above. For example, it can write the corresponding device identifier information into the port information table, or it can write the associated port number into the device information table. After the binding relationship is established, the mobile device generates and saves the binding relationship record. The record format can be JSON or XML, and it can be synchronized to the server-side database.

[0060] After the binding relationship is written, the mobile terminal updates the interface display status, switching the port control from an unbound state to a bound state (e.g., changing from an empty circle to a solid circle or highlighting it) to indicate that the binding is complete.

[0061] The third binding method allows for a flexible order of port selection and device broadcast triggering; either the app can select the port first, or the fiber optic cable reader can initiate the binding broadcast first. The overall interaction flow is as follows: Figure 8 As shown.

[0062] When a user operates the binding control button on the fiber optic device, the device detects the operation command and generates a binding broadcast message according to a preset message format. The message structure, encapsulation method, and field meanings are as described above and will not be repeated here. The fiber optic device sends binding broadcasts at set intervals, which can be achieved through BLE, Wi-Fi Beacon, NFC, ZigBee, or LoRa.

[0063] Meanwhile, the mobile device continuously listens for broadcast signals in the background. Upon receiving a broadcast request to bind the fiber optic device, the mobile device uses the same parsing mechanism as described above to confirm the message source, determine the message type, and extract the unique device identifier information. Depending on the timing of the triggering, the system employs two processing logics: First, if the mobile device has detected that the user has selected a port to bind before receiving the broadcast, the mobile device immediately establishes a correspondence between the device identifier and the port identifier and displays a binding confirmation interface to prompt the user for confirmation; second, if the broadcast arrives before the port selection, the mobile device temporarily saves the device identifier information as a candidate record (i.e., the aforementioned candidate device identifier information). When the user subsequently selects a port on the interface, the mobile device then matches the device identifier with the port identifier information of the selected fiber optic port to be bound and displays a binding confirmation interface, thus entering the same confirmation and binding process as described above.

[0064] After the user performs the binding operation on the confirmation screen, the mobile device establishes a two-way association between the port and the device using the same mechanism as the aforementioned method.

[0065] Correspondingly, in another embodiment of the present invention, a method for unbinding fiber optic equipment from fiber optic ports is provided, including: determining the unbinding port identification information of one or more fiber optic ports to be unbound, and the unbinding device identification information of the fiber optic equipment to be unbound corresponding to each fiber optic port to be unbound; For each fiber optic port to be unbound, generate an unbinding confirmation interface (which can be in the form of a pop-up, prompt box, pop-up layer, or page jump, etc.) containing the port identification information to be unbound and the corresponding device identification information to be unbound. After detecting the unbinding confirmation operation performed by the user based on the unbinding confirmation interface, the identification information of the device to be unbound is unbound from the port to be unbound; Change the display style of the port control corresponding to the fiber optic port to be unbound from the first display style to the second display style.

[0066] In an optional embodiment, determining the unbinding port identification information of one or more fiber optic ports to be unbound, and the unbinding device identification information of the fiber-to-fiber pair device corresponding to each fiber optic port to be unbound, includes: Upon receiving an unbinding request from a fiber optic device, the fiber optic device is identified as the device to be unbound, and the device identification information of the fiber optic device to be unbound is used as the device identification information to be unbound. Match the identification information of the corresponding fiber optic port to be unbound with the identification information of the device to be unbound.

[0067] In an optional embodiment, determining the unbinding port identification information of one or more fiber optic ports to be unbound, and the unbinding device identification information of the fiber-to-fiber pair device corresponding to each fiber optic port to be unbound, includes: After detecting that the user has selected one or more port controls displaying the first display style and selected the unbinding control located in the fiber optic port overview interface, the port control displaying the first display style selected by the user is used as the fiber optic port control to be unbound. The fiber optic port corresponding to the fiber optic port control to be unbound is designated as the fiber optic port to be unbound. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.

[0068] In an optional embodiment, determining the unbinding port identification information of one or more fiber optic ports to be unbound, and the unbinding device identification information of the fiber-to-fiber pair device corresponding to each fiber optic port to be unbound, includes: Receive a filtering instruction for the fiber optic port to be unbound, wherein the filtering instruction contains the binding time rules that the fiber optic port to be unbound must meet; Based on the binding time rules in the filtering instructions, the fiber optic ports to be unbound are filtered out. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.

[0069] Specifically, in this invention, the fiber optic device and the fiber optic port can be unbound in the following four ways.

[0070] The first unbinding method is triggered directly on the mobile device, such as... Figure 9 As shown, after a user selects a bound port in the fiber optic port overview interface and clicks the unbind control, the mobile app deletes the corresponding mapping data from the binding relationship table based on the port identifier information of the fiber optic port to be unbound, and updates the status field of the port to be unbound to "unbound" in the port information table. After the data update is complete, the mobile app triggers a layout refresh, restoring the port icon from solid or highlighted to hollow or the default state to reflect the unbinding result. Simultaneously, the mobile app writes this unbinding operation to its local database to form a log record, which can be synchronized to the server as needed for traceability.

[0071] The second unbinding method, as shown in Figure 10, is actively triggered by the fiber-to-the-line device. In this method, the user operates the control button on the fiber-to-the-line device. The device detects this operation command and generates a message according to a preset message format. The message format is the same as the binding broadcast message format. The generated message is encapsulated according to the Bluetooth Low Energy (BLE) Advertising protocol and periodically sent via BLE. When parsing the message, the mobile terminal determines the binding relationship: if the fiber-to-the-line device is not yet bound, it is considered a binding request; if the device is already bound, it is considered an unbinding request. After determining it to be an unbinding request, the fiber-to-the-line device is identified as the device to be unbound, and its device identification information is used as the identification information of the device to be unbound. Subsequent unbinding confirmation, interface status update, database writing, and historical tracing processes can refer to the implementation of the aforementioned unbinding method. Optionally, the fiber-to-the-line device can immediately stop broadcasting after receiving the unbinding success command from the mobile terminal, thereby reducing interference and power consumption.

[0072] The third unbinding method supports batch or full unbinding. Users can select multiple port controls on the mobile device and then click to unbind control 2, or execute "One-Click Unbinding." The mobile device will then batch delete multiple records in the binding relationship table based on the selection results and simultaneously refresh the interface display, restoring the corresponding fiber optic ports to an unbound state on the screen. The unbinding results can be written to the database in batches and can also be uploaded to the server for archiving.

[0073] The fourth unbinding method is based on binding time filtering. The mobile app filters fiber optic ports that meet the binding time rules from the binding relationship table by the time field, and these are designated as the fiber pairs to be unbound. For illustration, the binding time rules can be: "bound within the last hour," "within a specified date range," or "binding duration exceeds a preset duration," and the selected entries are deleted all at once. In a preferred implementation, the time filtering conditions can be set by the user in the interface or preset by a backend policy to achieve automated unbinding and data cleanup.

[0074] This invention combines broadcast triggering on the fiber optic device with automatic parsing on the mobile device, replacing the traditional manual input method. This significantly simplifies the binding process and improves operational efficiency. It also supports multiple modes such as sequential binding, parallel binding, batch unbinding, and time-based fast unbinding, which can flexibly adapt to different operation and maintenance scenarios and reduce misoperation.

[0075] Furthermore, the present invention adopts a unified structure in message design. The system distinguishes between binding and unbinding by using custom identifiers and binding record status. The message content can carry unique identifiers, security verification and device attribute information, thereby ensuring the uniqueness and security of the binding relationship, and supporting historical tracing, database records and multi-terminal synchronization, effectively improving the reliability and availability of the system.

[0076] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for binding fiber optic equipment to an optical fiber port, characterized in that, include: The application is executed by the processor to generate a fiber optic port overview interface; the fiber optic port overview interface is provided with several port controls; each port control corresponds to a fiber optic port, and when the corresponding fiber optic port is in a bound state, the port control presents a first display style, and when the corresponding fiber optic port is in an unbound state, the port control presents a second display style, and the first display style is different from the second display style. Upon receiving a binding request from a fiber optic device, the binding request is parsed to obtain the device identification information of the fiber optic device. The device identification information is bound to the fiber optic port to be bound; wherein, the fiber optic port to be bound is determined by the user by selecting the port control with the second display style on the fiber optic port overview interface.

2. The method for binding fiber optic equipment to an optical fiber port as described in claim 1, characterized in that, The processor executes a software program to generate a fiber optic port overview interface, including: Obtain the port information of the fiber optic ports in the computer room and generate a port information table; wherein, the port information table records a number of port records, each port record corresponds to a fiber optic port, and each port record includes: port identification information and port status identifier; the port status identifier is used to characterize the binding status of the fiber optic port; the port status identifier includes: bound or unbound. The port information table is read. For each port record, the port identifier information in the port record is associated with the control identifier of the corresponding port control in the interface, and the display style of the associated port control is determined according to the port status identifier. Wherein, when the port status identifier is bound, the display style of the port control is the first display style; when the port status identifier is not bound, the display style of the port control is the second display style. The interface of each port control is presented according to the display style of each port control, and the overall interface of the fiber optic ports is generated.

3. The method for binding fiber optic equipment to fiber optic ports as described in claim 2, characterized in that, The fiber-to-fiber device sends the binding request via Bluetooth broadcast. The binding request carries a field for identifying the message type and a field for carrying device identification information.

4. The method for binding fiber optic equipment to fiber optic ports as described in claim 3, characterized in that, The fiber optic port to be bound is determined by the user through selecting the port control in the fiber optic port overview interface, which displays the second style. When the system detects that a user has selected a port control displayed in the second display style in the fiber optic port overview interface, the fiber optic port corresponding to the selected port control will be used as the fiber optic port to be bound. The selected port control is presented with an interface according to a third display style; wherein the third display style is different from both the first and second display styles.

5. The method for binding fiber optic equipment to an optical fiber port as described in claim 4, characterized in that, Binding the device identification information to the port of the fiber optic port to be bound includes: If the fiber optic port to be bound has been determined before receiving the binding request from the fiber optic device, a binding confirmation interface containing the device identification information of the fiber optic device and the port identification information of the fiber optic port to be bound is generated after obtaining the device identification information of the fiber optic device; after detecting the binding confirmation operation of the user based on the binding confirmation interface, the device identification information and the port identification information of the fiber optic port to be bound are bound together. If the fiber optic port to be bound is not determined before receiving the binding request sent to the fiber optic device, the obtained device identification information is used as candidate device identification information. Then, after the fiber optic port to be bound is determined, a binding confirmation interface containing the candidate device identification information and the port identification information of the fiber optic port to be bound is generated. After detecting the user's binding confirmation operation based on the binding confirmation interface, the binding relationship between the candidate device identification information and the port identification information of the fiber optic port to be bound is established.

6. The method for binding fiber optic equipment to an optical fiber port as described in claim 5, characterized in that, After binding the device identification information with the port identification information of the fiber optic port to be bound, the method further includes: A first instruction indicating successful bonding is sent to the fiber pairing device, so that the fiber pairing device stops broadcasting after receiving the first instruction.

7. A method for unbinding fiber optic equipment from fiber optic ports, characterized in that, The fiber optic pairing device and the fiber optic port are bonded based on the bonding method of any one of claims 1-6; The unbinding method includes: Determine the port identification information of one or more fiber optic ports to be unbound, and the device identification information of the fiber pair device to be unbound corresponding to each fiber optic port to be unbound; For each fiber optic port to be unbound, generate an unbinding confirmation interface that includes the port identification information to be unbound and the corresponding device identification information to be unbound. After detecting the unbinding confirmation operation performed by the user based on the unbinding confirmation interface, the identification information of the device to be unbound is unbound from the port to be unbound; Change the display style of the port control corresponding to the fiber optic port to be unbound from the first display style to the second display style.

8. The method for unbinding fiber optic equipment from fiber optic ports as described in claim 7, characterized in that, Determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: Upon receiving an unbinding request from a fiber optic device, the fiber optic device is identified as the device to be unbound, and the device identification information of the fiber optic device to be unbound is used as the device identification information to be unbound. Match the identification information of the corresponding fiber optic port to be unbound with the identification information of the device to be unbound.

9. The method for unbinding fiber optic equipment from fiber optic ports as described in claim 7, characterized in that, Determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: After detecting that the user has selected one or more port controls displaying the first display style and selected the unbinding control located in the fiber optic port overview interface, the port control displaying the first display style selected by the user is used as the fiber optic port control to be unbound. The fiber optic port corresponding to the fiber optic port control to be unbound is designated as the fiber optic port to be unbound. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.

10. The method for unbinding fiber optic equipment from fiber optic ports as described in claim 7, characterized in that, Determine the port identification information for one or more fiber optic ports to be untied, and the device identification information for the fiber-to-fiber pair corresponding to each fiber optic port to be untied, including: Receive a filtering instruction for the fiber optic port to be unbound, wherein the filtering instruction contains the binding time rules that the fiber optic port to be unbound must meet; Based on the binding time rules in the filtering instructions, the fiber optic ports to be unbound are filtered out. For each fiber optic port to be unbound, match the corresponding unbound device identification information of the fiber pair device to be unbound based on the port identification information.