Identification method and system based on cooperative communication of OLT and PLC chip

Through the collaborative communication between OLT and PLC chips, dynamically binding logical identifiers and physical channel numbers solves the problem of delay and high operation and maintenance costs of ONU device access path recognition in the FTTx network, and achieves rapid identification and fault location, improving the scalability and reliability of the network.

CN120499535APending Publication Date: 2025-08-15YUHONG COMM TECH (WUHAN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510807482.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The prior art cannot automatically identify the physical access path of the ONU device in the FTTx network, resulting in high identification delay and operation and maintenance costs, and it is impossible to deal with scenarios such as device replacement and misconnection of optical cables.

Method used

Through the collaborative communication between OLT and PLC chip, the physical channel number of the logical identifier and the photoelectric composite cable are dynamically bound, and the logical identifier is automatically obtained by using the device serial number to realize automatic identification and binding, and support rapid identification when network topology changes and equipment increase and decrease.

Benefits of technology

It improves the scalability and deployment speed of the network, reduces operation and maintenance costs, ensures the accuracy and reliability of network management, can quickly locate faults and prevent unauthorized optical network units from accessing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499535A_ABST
    Figure CN120499535A_ABST
Patent Text Reader

Abstract

The invention provides an identification method and system based on cooperative communication of an OLT (optical line terminal) and a PLC (programmable logic controller) chip, and relates to the technical field of optical communication, and the method comprises the following steps: an optical line terminal receives a data packet sent by a first optical network unit connected with a first photoelectric composite cable through a PLC main chip, the data packet comprises a device serial number corresponding to a PLC slave chip in the first optical network unit; the optical line terminal obtains a logic identifier corresponding to the equipment serial number according to the mapping relation between the equipment serial number and the identifier; and the optical line terminal binds the logic identifier with a first physical channel number corresponding to the first photoelectric composite cable, and performs information identification on a data packet sent by the first optical network unit. According to the invention, the expansibility and deployment speed of the network are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of optical communication technology, and in particular to an identification method and system based on cooperative communication between an OLT and a PLC chip. Background Art

[0002] In modern FTTx networks, the Optical Line Terminal (OLT) manages multiple optical network units (ONUs) through the PON interface, assigning each unit a unique ONU ID (onuid) and identifying its serial number (SN) through a registration process. However, in actual operations and maintenance, OLT management alone cannot determine the specific physical optical branch path to which each ONU is connected. Existing methods typically rely on manual recording, optical splitter numbering, or complex OTDR optical reflectance testing to infer ONU locations. This leads to identification delays, high maintenance costs, and low accuracy. Therefore, a technical solution is urgently needed that can automatically establish a mapping relationship between ONUs and their physical access paths (such as PLC ports) without modifying the existing network architecture.

[0003] Chinese patent publication number CN104022901B discloses a PLC configuration management method for the ONU module of a State Grid concentrator. The method includes: a PC communicates with a meter meter via a serial port, USB, or WiFi, adding the meter meter to the concentrator's meter reading network. The PC sends a Telnet connection message to the concentrator via the meter meter. The concentrator receives the Telnet connection request via a carrier module and establishes a Telnet link between the concentrator and the ONU module, forming a carrier-RJ45 network. After the carrier-RJ45 network is established, the PC sends message data to the ONU module along the path from PC to meter meter, then to concentrator, and finally to ONU. The ONU receives the Telnet request from the concentrator and establishes a connection. The PC can then transmit configuration instructions to the ONU along the path from PC to meter meter, then to concentrator, and finally to ONU. However, this solution uses manual point-to-point configuration and cannot automatically discover and verify the correspondence between the ONU and the upstream physical port, making it difficult to handle scenarios such as equipment replacement and misconnected optical cables. Therefore, it is very necessary to provide an identification method and system based on the collaborative communication between OLT and PLC chip to improve the scalability and deployment speed of the network. Summary of the Invention

[0004] In light of this, the present invention proposes an identification method and system based on collaborative communication between the OLT and PLC chips. This method dynamically binds the logical identifier to the physical channel number corresponding to the optical / electrical composite cable. When network topology changes, or when devices are added, removed, or replaced, the optical line terminal simply reports the device serial number for automatic identification and binding, significantly improving network scalability and deployment speed.

[0005] The present invention provides an identification method based on cooperative communication between an OLT and a PLC chip, the method comprising: The optical line terminal receives a data packet sent by a first optical network unit connected to the first optoelectronic composite cable through the PLC master chip, wherein the data packet includes a device serial number corresponding to the PLC slave chip in the first optical network unit; The optical line terminal obtains a logical identifier corresponding to the device serial number according to the mapping relationship between the device serial number and the identifier; The optical line terminal binds the logical identifier with the first physical channel number corresponding to the first optoelectronic composite cable, and performs information identification on the data packet sent by the first optical network unit.

[0006] On the basis of the above technical solution, preferably, the optical line terminal and the PLC main chip exchange messages through a TLV format communication protocol, wherein the message structure includes a message type, a physical channel number, a serial number length, a serial number content corresponding to the first optical network unit, a logical identifier assigned to the device serial number by the optical line terminal, a message timestamp, and message integrity check information.

[0007] On the basis of the above technical solution, preferably, the optical line terminal obtains the logical identifier corresponding to the device serial number according to the mapping relationship between the device serial number and the identifier, specifically including: The optical line terminal parses the data packet to obtain a first physical channel number and a message timestamp in the data packet; The optical line terminal queries a mapping table between device serial numbers and logical identifiers in a local database according to the received device serial number; If a logical identifier corresponding to the device serial number is found in the local database, a triplet binding relationship is constructed among the first physical channel number, the device serial number, and the logical identifier; If no logical identifier corresponding to the device serial number is found in the local database, a logical identifier is assigned to the first optical network unit, and a triplet binding relationship is constructed between the first physical channel number, the device serial number and the logical identifier.

[0008] More preferably, the information identification includes replacement identification, troubleshooting and network reconstruction.

[0009] More preferably, the replacement identification specifically includes: The optical line terminal receives a data packet sent by a first optical network unit connected to a second optoelectronic composite cable, wherein the data packet includes a device serial number corresponding to a PLC slave chip in the first optical network unit; The optical line terminal determines that a device serial number corresponding to the PLC slave chip in the first optical network unit has a matching logical identifier in the optical line terminal; The optical line terminal receives the second physical channel number sent by the PLC slave chip in the first optical network unit, and determines that the device serial number is bound to both the first physical channel number and the second physical channel number.

[0010] More preferably, the network reconstruction specifically includes: The optical line terminal performs an unbinding operation on the binding relationship between the first physical channel number and the device serial number; Based on the second physical channel number, the device serial number and the logical identifier, a triplet binding relationship is constructed to replace the binding relationship among the first physical channel number, the device serial number and the logical identifier.

[0011] More preferably, the method further comprises: The optical line terminal compares the device serial number received in the data packet with the device serial number recorded in the local database for consistency; If the device serial number in the data packet is inconsistent with the device serial number recorded in the local database, it is determined that the device serial number in the data packet has changed, and an exception handling process is triggered.

[0012] More preferably, the exception handling process includes: If the device serial number in the data packet is not registered in the local database, determining that the optical network unit corresponding to the device serial number is an illegal device access; If the device serial number in the data packet already exists but is associated with another physical channel number, it is determined that the optical network unit corresponding to the device serial number has undergone device migration or wrong connection; If the device serial number in the data packet is abnormal or has an incorrect format, it is determined that the optical network unit corresponding to the device serial number has a device failure or a link abnormality.

[0013] In a second aspect of the present application, an identification system based on cooperative communication between an OLT and a PLC chip is provided, wherein the identification system includes an optical line terminal, a first optoelectronic composite cable, and a first optical network unit, wherein: The optical line terminal is used to receive a data packet sent by a first optical network unit connected to a first optical optical composite cable through a PLC main chip, and obtain a logical identifier corresponding to the device serial number according to a mapping relationship between the device serial number and the identifier, bind the logical identifier to a first physical channel number corresponding to the first optical optical composite cable, and perform information identification on the data packet sent by the first optical network unit; The first optical-electrical composite cable is used to connect the optical line terminal and the first optical network unit, so that the optical line terminal and the first optical network unit are in communication connection; The first optical network unit is used to send a data packet to the optical line terminal, wherein the data packet includes a device serial number corresponding to the PLC slave chip in the first optical network unit.

[0014] In a third aspect of the present application, an electronic device is provided, comprising a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory.

[0015] The present invention provides an identification method and system based on cooperative communication between OLT and PLC chip, which has the following advantages over the prior art: (1) The optical line terminal does not need to be pre-configured manually. It can automatically obtain the corresponding logical identifier from the device serial number on the chip according to the PLC, eliminating the errors and workload caused by manual entry or manual verification. The logical identifier is dynamically bound to the physical channel number corresponding to the optoelectronic composite cable, ensuring that each optical network unit corresponds to its physical access port one by one, eliminating cross-matching and mismatching, and improving the accuracy of network management. In addition, when the network topology changes, equipment is added, reduced or replaced, the optical line terminal only needs to report the device serial number to complete automatic identification and binding, without the need for rewiring or manual adjustment, greatly shortening the maintenance cycle and reducing operation and maintenance costs. In large-scale PON network scenarios, "plug and play" is achieved through software logical mapping, which significantly improves the scalability and deployment speed of the network. At the same time, the unique physical identity authentication based on the device serial number can prevent unauthorized optical network unit access. Dynamic binding and real-time identification also help to quickly locate and isolate faults, improving the reliability of the entire network.

[0016] (2) By parsing the physical channel number and timestamp in the message, the accurate perception of the online timing of the optical network unit and the event recording are guaranteed. In addition, by using the local device serial number and logical identifier mapping table, it is possible to immediately determine whether the device has been registered to avoid duplicate configuration or mismatching. At the same time, the physical channel, device serial number and logical identifier are constructed into a triplet to ensure the one-to-one correspondence between physical access and logical identification, which is convenient for subsequent tracking and auditing. By recording the timestamp and triplet binding relationship, the abnormal optical network unit and its access port can be quickly locked, thereby improving network reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A flow chart of an identification method based on collaborative communication between an OLT and a PLC chip provided by the present invention; Figure 2 A schematic diagram of the structure of the identification system provided by the present invention; Figure 3 This is a schematic structural diagram of the electronic device provided by the present invention.

[0019] Explanation of the accompanying drawings: 1. Identification system; 11. Optical line terminal; 12. First optoelectronic composite cable; 13. First optical network unit; 2. Electronic device; 21. Processor; 22. Communication bus; 23. User interface; 24. Network interface; 25. Memory. DETAILED DESCRIPTION

[0020] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0021] Before introducing the embodiments of the present invention, some terms and their abbreviations involved in the embodiments of the present invention are first defined and explained.

[0022] The Optical Line Terminal (OLT) is the core equipment of the entire fiber optic network, typically deployed in the operator's central equipment room. The OLT is the network's "master control center" or "central office equipment." It controls and manages all downstream user equipment (ONUs) and connects to the upper-layer core network.

[0023] A PON port (Passive Optical Network Port) is the physical interface on the OLT device, essentially the port where the fiber optic cable plugs into the OLT. A PON port can connect and manage multiple downstream ONUs via an optical splitter, serving as the "master outlet" for the entire passive optical network.

[0024] The ONU SN (ONU Serial Number) is the serial number of an ONU device. It is a globally unique hardware identifier written by the device manufacturer during production. It is the device's "ID number" and is used to uniquely identify each ONU device.

[0025] POF (Photoelectric Composite Cable) is a special cable that contains both optical fibers for transmitting network data and copper wires for delivering power. Therefore, it functions as both a "network cable" and an "electrical wire," providing both signal transmission and power to remote devices (ONUs).

[0026] Onuid (ONU Identifier) is the logical identifier of an optical network unit (ONU). When an ONU successfully registers with the optical line terminal (OLT) in a fiber optic network, the OLT assigns it a temporary, network-unique ID. This ID is used for data management and differentiation between the OLT and multiple ONUs. It can be thought of as a "temporary employee number" or "seat number" assigned by the OLT to the ONU.

[0027] The present invention discloses an identification method based on cooperative communication between OLT and PLC chip, referring to Figure 1 , the steps of the method include S1~S3.

[0028] Step S1: The optical line terminal receives a data packet sent by a first optical network unit connected to a first optoelectronic composite cable through a PLC master chip, wherein the data packet includes a device serial number corresponding to a PLC slave chip in the first optical network unit.

[0029] In this embodiment, the optical line terminal and the PLC main chip exchange messages using a TLV format communication protocol. The message structure includes the message type, physical channel number, sequence number length, the serial number content corresponding to the first optical network unit, the logical identifier assigned to the device serial number by the optical line terminal, the message timestamp, and message integrity check information. The device serial number is a factory-preset unique identification code corresponding to the first optical network unit, and its length ranges from 8 to 16 bytes.

[0030] In an example, as shown in Table 1, a typical message structure includes: Msg_Type (1B) indicates the message type, such as query, response, and report; Channel_ID (1B) physical channel number, that is, PLC branch ID; ONU_SN_Len (1B) sequence number length; ONU_SN (N) ONU device serial number content; ONU_ID (2B) onuid assigned by the OLT; Timestamp (4B) message timestamp; CRC16 (2B, optional) message integrity check.

[0031] Table 1

[0032] The OLT device connects to several POF (photoelectric composite cable) lines through the PON port. The lines contain optical signal channels and power channels. Each power channel integrates a PLC communication chip (master end) to communicate with the PLC slave chip built into each ONU. After the ONU is powered on, it can send its unique device serial number (SN) through the PLC channel.

[0033] Step S2: The optical line terminal obtains a logical identifier corresponding to the device serial number according to a mapping relationship between the device serial number and the identifier.

[0034] This step also includes steps S21 to S24.

[0035] Step S21: The optical line terminal parses the data packet to obtain the first physical channel number and the message timestamp in the data packet.

[0036] Step S22: The optical line terminal searches a mapping table between device serial numbers and logical identifiers in a local database according to the received device serial number.

[0037] Step S23: If the local database is found to have a logical identifier corresponding to the device serial number, a triplet binding relationship is constructed with the first physical channel number, the device serial number, and the logical identifier.

[0038] Step S24: If no logical identifier corresponding to the device serial number is found in the local database, a logical identifier is allocated to the first optical network unit, and a triplet binding relationship is constructed between the first physical channel number, the device serial number, and the logical identifier.

[0039] In this embodiment, by parsing the physical channel number and timestamp in the message, accurate perception of the optical network unit's online timing and event recording are guaranteed, and by using the local device serial number and logical identifier mapping table, it is possible to instantly determine whether the device has been registered to avoid duplicate configuration or mismatching. At the same time, the physical channel, device serial number and logical identifier are constructed into a triplet to ensure a one-to-one correspondence between physical access and logical identification, which is convenient for subsequent tracking and auditing. By recording the timestamp and triplet binding relationship, abnormal optical network units and their access ports can be quickly locked, thereby improving network reliability.

[0040] In step S3, the optical line terminal binds the logical identifier to the first physical channel number corresponding to the first optoelectronic composite cable, and performs information identification on the data packet sent by the first optical network unit.

[0041] In this embodiment, information identification includes replacement identification, troubleshooting, and network reconstruction. Specifically, replacement identification includes: the optical line terminal receiving a data packet sent by a first optical network unit connected to a second optoelectronic composite cable, wherein the data packet includes a device serial number corresponding to a PLC slave chip in the first optical network unit; the optical line terminal determining that a matching logical identifier exists in the optical line terminal for the device serial number corresponding to the PLC slave chip in the first optical network unit; and the optical line terminal receiving a second physical channel number sent by the PLC slave chip in the first optical network unit, and determining that the device serial number is bound to both the first physical channel number and the second physical channel number.

[0042] In one example, an ONU device powered on and started up on a new branch. It registered with the OLT via the OMCI protocol, and the OLT recognized that its SN matched an existing onuid. The ONU reported its SN and current channel number (Channel_ID) to the OLT via its built-in PLC slave chip. The system then searched the database and found that the SN already existed and was bound to the original Channel_ID = A. However, the current channel number reported by the PLC was Channel_ID = B. The system determined that the physical connection to which the SN belonged had changed and initiated the migration and reconstruction process.

[0043] Furthermore, network reconstruction specifically includes: the optical line terminal unbinding the binding relationship between the first physical channel number and the device serial number; and constructing a triple binding relationship based on the second physical channel number, the device serial number, and the logical identifier to replace the binding relationship between the first physical channel number, the device serial number, and the logical identifier. The binding relationship is stored in a database and used for subsequent operation and maintenance positioning, device identification, and topology display.

[0044] In one example, a new triplet binding relationship (SN↔onuid↔Channel_ID=B) is established between the currently reported Channel_ID=B and the original SN and onuid. The system updates the record in the persistent database, including the change timestamp, history chain, and migration reason. The system can record a "device migration event" and push it to the NMS or alarm interface through the alarm module.

[0045] Implementation principle: The OLT starts to initialize the PLC main chip and waits for the ONU to go online. After the ONU is powered on, the PLC slave chip sends an online packet containing the SN. The PLC main chip captures the data and records the physical channel number. The OLT receives and parses the data packet and matches it with the SN-onuid mapping table. If the match is successful, the channel is bound to the unique channel of the SN-onuid. If the SN is not recognized, it is recorded as a new device and prompted for manual confirmation.

[0046] Furthermore, the method also includes: the optical line terminal compares the device serial number in the received data packet with the device serial number recorded in the local database for consistency; if the device serial number in the data packet is inconsistent with the device serial number recorded in the local database, it is determined that the device serial number in the data packet has changed, and the exception handling process is triggered.

[0047] In this embodiment, the ONU device is powered on and establishes basic communication with the OLT via the OMCI protocol, enabling the PLC thread. Specifically, after the ONU device is powered on and booted up, it first establishes communication with the OLT device via the standard OMCI protocol. The OMCI protocol is used to exchange basic device information between the ONU and OLT, such as the device serial number (SN), device status, and supported service types.

[0048] At this point, the ONU device has not yet reported its physical connection information. Once the ONU device successfully establishes a connection with the OLT through the OMCI protocol and is in a normal online state, the OLT will send a specified message to the message queue of the PLC communication module, instructing the PLC thread to start and wait for the device's physical branch information to be reported.

[0049] The ONU device uses the PLC chip to identify and report the physical branch. Specifically, based on OMCI protocol communication, the PLC chip built into the ONU generates a data packet containing physical channel information (Channel_ID). This information represents the physical branch number to which the ONU device is connected (for example, the specific branch connected via optical fiber or power lines). This data packet is encapsulated using a custom TLV format (Type-Length-Value) and transmitted to the OLT via the PLC communication channel. The data packet content includes: SN (Device Serial Number): A unique device identifier (8 to 16 bytes). Channel_ID (Physical Channel Number): Identifies the physical branch to which the ONU device is located (1 byte). Timestamp: Records the specific time the data packet was sent (4 bytes). Upon receiving a request message from the PLC channel, this data packet is reported to the OLT.

[0050] The OLT receives and parses PLC data packets, establishing a mapping between SN and onuid. Specifically, the OLT receives PLC data packets from the ONU through the PLC master chip and parses the SN (device serial number), Channel_ID (physical channel number), and Timestamp. Based on the received SN information, the OLT queries the SN↔onuid (ONUID) mapping table in its local database to find the corresponding onuid for the device. If a corresponding onuid is found, a mapping between SN↔onuid↔Channel_ID is established.

[0051] If the ONU is a new device (unregistered), the OLT assigns it a new onuid and creates a new mapping record. This successfully establishes a three-tuple mapping relationship between the device and the physical branch (SN↔onuid↔Channel_ID). This ensures precise binding of device identity and physical location, facilitating subsequent network management, fault location, and device replacement.

[0052] The device serial number (SN) changes are as follows (Scenario Type | Description): 1. ONU device replacement | The original ONU device is manually replaced with a new ONU device due to failure, aging, or performance upgrade. The new device has a different SN.

[0053] 2. ONU device migration | Due to construction, adjustment, or misoperation, the original ONU is connected to another branch line, resulting in a different SN on the original branch.

[0054] 3. Illegal access device | Unauthorized ONU device is connected to the PON network, and the SN is not registered in the OLT pre-maintenance database.

[0055] 4. ONU device failure causes SN abnormality | ONU storage device damage or software and hardware abnormalities cause the reported SN content to be incorrect or randomly changed.

[0056] 5. PLC communication link abnormality | In rare cases, PLC physical channel interference or bit errors may cause the wrong SN to be collected and reported.

[0057] Any change in the SN of a device on the same physical channel that is inconsistent with the database record on the OLT side is considered an abnormal SN change.

[0058] The PLC communication channel monitoring and database comparison mechanism includes: the OLT side continuously receives TLV format data packets reported by the ONU device through the PLC main chip, parses and extracts the fields: device SN, physical channel number Channel_ID and timestamp Timestamp. The OLT uses the physical channel number (Channel_ID) as an index to query the local database for the bound device SN record of the corresponding channel.

[0059] The device SN in the received data packet is compared with the SN recorded in the database. If they are consistent, it is considered normal and no action is required. If they are inconsistent, it is considered that the SN has changed, triggering the exception handling process.

[0060] In one example, the exception handling process includes: If the device serial number in the data packet is not registered in the local database, the optical network unit corresponding to the device serial number is determined to be an illegal device access; If the device serial number in the data packet already exists but is associated with another physical channel number, it is determined that the optical network unit corresponding to the device serial number has undergone device migration or wrong connection; If the device serial number in the data packet is abnormal or has an incorrect format, it is determined that the optical network unit corresponding to the device serial number has a device failure or a link abnormality.

[0061] That is, if the new SN is not registered in the database, it is preliminarily determined to be an illegal device access; if the new SN already exists but is bound to another channel, it is preliminarily determined to be device migration or wrong connection; if the new SN is abnormal or in the wrong format, it is preliminarily determined to be a device failure or link abnormality.

[0062] In one example, the system generates a standardized alarm event record, including the physical channel number (Channel_ID), the original bound device SN, the newly detected device SN, the change detection timestamp, and the original and new onuids. It then preliminarily determines the cause of the change (device replacement, migration, unauthorized access, or anomaly), and issues an alarm via a real-time pop-up window on the local web management interface or reports it to the NMS (network management system) via SNMP trap. Table 2 shows a description of the status of the identification method.

[0063] Table 2

[0064] If the PLC channel is abnormally unresponsive, it means that there is a fault in the optical path of the physical branch (such as a broken fiber, damage, or poor contact), or the ONU device connected to the branch has a power outage, hardware failure, or communication interruption.

[0065] In one example, if the optical cable on a branch is disconnected or the junction box fault is located, the target branch is directly reached based on the branch number, and a local detection is performed using an optical power meter or OTDR short-range tester to quickly determine the fault point. If the ONU device on the branch goes offline and responds quickly, it is further determined whether it is a line fault or the ONU device itself has lost power or is damaged, shortening the recovery time. If the branch has a large-scale fault, it is confirmed whether the fault is limited to a single branch to avoid misjudging the entire PON port as a fault. The branch number can also be traced back to the specific responsible area or contractor unit to assist in the subsequent division of responsibilities.

[0066] In this embodiment, the optical line terminal can automatically obtain the corresponding logical identifier from the device serial number on the chip according to the PLC without manual pre-configuration, eliminating the errors and workload caused by manual entry or manual verification, and dynamically binding the logical identifier to the physical channel number corresponding to the optoelectronic composite cable, ensuring that each optical network unit corresponds to its physical access port, eliminating cross-matching and mismatching, and improving the accuracy of network management. In addition, when the network topology changes, equipment is added, reduced, or replaced, only the device serial number needs to be reported to the optical line terminal for automatic identification and binding, without the need for rewiring or manual adjustment, greatly shortening the maintenance cycle and reducing operation and maintenance costs. In large-scale PON network scenarios, "plug and play" is achieved through software logical mapping, which significantly improves the scalability and deployment speed of the network. At the same time, the unique physical identity authentication based on the device serial number can prevent unauthorized optical network unit access. Dynamic binding and real-time identification also help to quickly locate and isolate faults, improving the reliability of the entire network.

[0067] Based on the above method, the embodiment of the present application discloses an identification system 1 based on cooperative communication between OLT and PLC chip, referring to Figure 2, the identification system 1 includes an optical line terminal 11, a first optical-electrical composite cable 12 and a first optical network unit 13, wherein, The optical line terminal 11 is used to receive a data packet sent by the first optical network unit 13 connected to the first optical network cable 12, and obtain a logical identifier corresponding to the device serial number according to the mapping relationship between the device serial number and the identifier, bind the logical identifier to the first physical channel number corresponding to the first optical network cable 12, and perform information identification on the data packet sent by the first optical network unit 13; The first optical-electrical composite cable 12 is used to connect the optical line terminal 11 and the first optical network unit 13, so that the optical line terminal 11 and the first optical network unit 13 are in communication connection; The first optical network unit 13 is used to send a data packet to the optical line terminal 11 , where the data packet includes a device serial number corresponding to the PLC slave chip in the first optical network unit 13 .

[0068] In one example, the optical line terminal 11 and the PLC main chip interact with each other through a TLV format communication protocol, wherein the message structure includes the message type, the physical channel number, the serial number length, the serial number content corresponding to the first optical network unit 13, the logical identifier assigned to the device serial number by the optical line terminal 11, the message timestamp, and the message integrity check information.

[0069] In one example, the optical line terminal 11 is used to parse the data packet to obtain the first physical channel number and the message timestamp in the data packet; the optical line terminal 11 queries the mapping table between the device serial number and the logical identifier in the local database according to the received device serial number; if the local database is found to have a logical identifier corresponding to the device serial number, the first physical channel number, the device serial number and the logical identifier are constructed into a triple binding relationship; if the local database is not found to have a logical identifier corresponding to the device serial number, a logical identifier is assigned to the first optical network unit 13, and the first physical channel number, the device serial number and the logical identifier are constructed into a triple binding relationship.

[0070] In one example, information identification includes replacement identification, troubleshooting, and network reconfiguration.

[0071] In one example, replacement identification specifically includes: The optical line terminal 11 receives a data packet sent by the first optical network unit 13 connected to the second optical-electrical composite cable, wherein the data packet includes a device serial number corresponding to the PLC slave chip in the first optical network unit 13; The optical line terminal 11 determines that a device serial number corresponding to the PLC slave chip in the first optical network unit 13 has a matching logical identifier in the optical line terminal 11; The optical line terminal 11 receives the second physical channel number sent by the PLC slave chip in the first optical network unit 13, and determines that the device serial number is bound to both the first physical channel number and the second physical channel number.

[0072] In one example, network reconstruction specifically includes: The optical line terminal 11 unbinds the binding relationship between the first physical channel number and the device serial number; Based on the second physical channel number, the device serial number and the logical identifier, a triplet binding relationship is constructed to replace the binding relationship among the first physical channel number, the device serial number and the logical identifier.

[0073] In one example, the optical line terminal 11 compares the device serial number in the received data packet with the device serial number recorded in the local database for consistency; If the device serial number in the data packet is inconsistent with the device serial number recorded in the local database: it is determined that the device serial number in the data packet has changed, and the exception handling process is triggered.

[0074] In one example, the exception handling process includes: If the device serial number in the data packet is not registered in the local database, the optical network unit corresponding to the device serial number is determined to be an illegal device access; If the device serial number in the data packet already exists but is associated with another physical channel number, it is determined that the optical network unit corresponding to the device serial number has undergone device migration or wrong connection; If the device serial number in the data packet is abnormal or has an incorrect format, it is determined that the optical network unit corresponding to the device serial number has a device failure or a link abnormality.

[0075] See Figure 3 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the electronic device 2 may include: at least one processor 21 , at least one network interface 24 , a user interface 23 , a memory 25 , and at least one communication bus 22 .

[0076] The communication bus 22 is used to realize the connection and communication between these components.

[0077] The user interface 23 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 23 may also include a standard wired interface and a wireless interface.

[0078] The network interface 24 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0079] The processor 21 may include one or more processing cores. Using various interfaces and circuits, the processor 21 connects to various components within the server. It executes instructions, programs, code sets, or instruction sets stored in the memory 25, as well as accesses data stored in the memory 25, to perform various server functions and process data. Optionally, the processor 21 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 21 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 21 but implemented as a separate chip.

[0080] Among them, the memory 25 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 25 includes a non-transitory computer-readable storage medium. The memory 25 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 25 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 25 may also be optionally at least one storage device located away from the aforementioned processor 21. As Figure 3 As shown, the memory 25 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program based on an identification method for cooperative communication between an OLT and a PLC chip.

[0081] exist Figure 3In the electronic device 2 shown, the user interface 23 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 21 can be used to call an application stored in the memory 25 for an identification method based on collaborative communication between the OLT and the PLC chip. When executed by one or more processors, the electronic device executes one or more methods in the above embodiments.

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

Claims

1. An identification method based on cooperative communication between OLT and PLC chip, characterized in that: The method comprises: The optical line terminal receives a data packet sent by a first optical network unit connected to the first optoelectronic composite cable through the PLC master chip, wherein the data packet includes a device serial number corresponding to the PLC slave chip in the first optical network unit; The optical line terminal obtains a logical identifier corresponding to the device serial number according to the mapping relationship between the device serial number and the identifier; The optical line terminal binds the logical identifier with the first physical channel number corresponding to the first optoelectronic composite cable, and performs information identification on the data packet sent by the first optical network unit.

2. The identification method based on cooperative communication between OLT and PLC chip according to claim 1, characterized in that: The optical line terminal and the PLC main chip exchange messages through a TLV format communication protocol, wherein the message structure includes a message type, a physical channel number, a serial number length, a serial number content corresponding to the first optical network unit, a logical identifier assigned to the device serial number by the optical line terminal, a message timestamp, and message integrity check information.

3. The identification method based on cooperative communication between OLT and PLC chip according to claim 1, characterized in that: The optical line terminal obtains the logical identifier corresponding to the device serial number according to the mapping relationship between the device serial number and the identifier, specifically including: The optical line terminal parses the data packet to obtain a first physical channel number and a message timestamp in the data packet; The optical line terminal queries a mapping table between device serial numbers and logical identifiers in a local database according to the received device serial number; If a logical identifier corresponding to the device serial number is found in the local database, a triplet binding relationship is constructed among the first physical channel number, the device serial number, and the logical identifier; If no logical identifier corresponding to the device serial number is found in the local database, a logical identifier is assigned to the first optical network unit, and a triplet binding relationship is constructed between the first physical channel number, the device serial number and the logical identifier.

4. The identification method based on cooperative communication between OLT and PLC chip according to claim 1, characterized in that: The information identification includes replacement identification, troubleshooting and network reconstruction.

5. The identification method based on cooperative communication between OLT and PLC chip according to claim 4, characterized in that: The replacement identification specifically includes: The optical line terminal receives a data packet sent by a first optical network unit connected to a second optoelectronic composite cable, wherein the data packet includes a device serial number corresponding to a PLC slave chip in the first optical network unit; The optical line terminal determines that a device serial number corresponding to the PLC slave chip in the first optical network unit has a matching logical identifier in the optical line terminal; The optical line terminal receives the second physical channel number sent by the PLC slave chip in the first optical network unit, and determines that the device serial number is bound to both the first physical channel number and the second physical channel number.

6. The identification method based on cooperative communication between OLT and PLC chip according to claim 5, characterized in that: The network reconstruction specifically includes: The optical line terminal performs an unbinding operation on the binding relationship between the first physical channel number and the device serial number; Based on the second physical channel number, the device serial number and the logical identifier, a triplet binding relationship is constructed to replace the binding relationship among the first physical channel number, the device serial number and the logical identifier.

7. The identification method based on cooperative communication between OLT and PLC chip according to claim 1, characterized in that: The method further comprises: The optical line terminal compares the device serial number received in the data packet with the device serial number recorded in the local database for consistency; If the device serial number in the data packet is inconsistent with the device serial number recorded in the local database, it is determined that the device serial number in the data packet has changed, and an exception handling process is triggered.

8. The identification method based on cooperative communication between OLT and PLC chip according to claim 7, characterized in that: The exception handling process includes: If the device serial number in the data packet is not registered in the local database, determining that the optical network unit corresponding to the device serial number is an illegal device access; If the device serial number in the data packet already exists but is associated with another physical channel number, it is determined that the optical network unit corresponding to the device serial number has undergone device migration or wrong connection; If the device serial number in the data packet is abnormal or has an incorrect format, it is determined that the optical network unit corresponding to the device serial number has a device failure or a link abnormality.

9. An identification system based on collaborative communication between OLT and PLC chip, characterized in that: The identification system (1) comprises an optical line terminal (11), a first optical-electrical composite cable (12) and a first optical network unit (13), wherein: The optical line terminal (11) is used to receive a data packet sent by a first optical network unit (13) connected to a first optical-electrical composite cable (12) through a PLC main chip, and obtain a logical identifier corresponding to the device serial number according to a mapping relationship between the device serial number and the identifier, bind the logical identifier to a first physical channel number corresponding to the first optical-electrical composite cable (12), and perform information identification on the data packet sent by the first optical network unit (13); The first optical-electrical composite cable (12) is used to connect the optical line terminal (11) and the first optical network unit (13), so that the optical line terminal (11) and the first optical network unit (13) are in communication connection; The first optical network unit (13) is used to send a data packet to the optical line terminal (11), wherein the data packet includes a device serial number corresponding to a PLC slave chip in the first optical network unit (13).

10. An electronic device, characterized in that: The electronic device (2) comprises a processor (21), a memory (25), a user interface (23) and a network interface (24), wherein the memory (25) is used to store instructions, the user interface (23) and the network interface (24) are used to communicate with other devices, and the processor (21) is used to execute the instructions stored in the memory (25) so that the electronic device (2) executes the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • The plc configuration management method of the onu module of the national network concentrator

    CN104022901B