CN114157350A - Optical fiber misconnection detection method and system - Google Patents

Optical fiber misconnection detection method and system Download PDF

Info

Publication number
CN114157350A
CN114157350A CN202111249114.6A CN202111249114A CN114157350A CN 114157350 A CN114157350 A CN 114157350A CN 202111249114 A CN202111249114 A CN 202111249114A CN 114157350 A CN114157350 A CN 114157350A
Authority
CN
China
Prior art keywords
optical fiber
station
site
detection
misconnection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111249114.6A
Other languages
Chinese (zh)
Other versions
CN114157350B (en
Inventor
黄丽艳
郑毓勇
刘兵
张美青
刘海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accelink Technologies Co Ltd
Original Assignee
Accelink Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accelink Technologies Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN202111249114.6A priority Critical patent/CN114157350B/en
Publication of CN114157350A publication Critical patent/CN114157350A/en
Application granted granted Critical
Publication of CN114157350B publication Critical patent/CN114157350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of optical communication, and provides an optical fiber misconnection detection method and an optical fiber misconnection detection system. The method comprises the steps that a site A carries an interconnection port, an IP (Internet protocol) website and a subnet mask of a site B which is connected with an optical fiber line established by the site A in a first detection message and sends the first detection message to an opposite-end site; and the opposite terminal station verifies whether the interconnection port, the IP address and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station, if so, the optical fiber line connection is verified to be correct, otherwise, the optical fiber misconnection is verified, and a first detection response is returned to the station A. The invention realizes the purpose of automatic detection.

Description

Optical fiber misconnection detection method and system
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of optical communication, in particular to an optical fiber misconnection detection method and an optical fiber misconnection detection system.
[ background of the invention ]
Link Layer Discovery Protocol (LLDP), which is defined in 802.1ab, provides a standard Link Layer Discovery approach. The protocol transmits the management address, the device identification, the interface identification and other information of the device to other devices in the same network. When the opposite terminal equipment runs the same protocol, the opposite terminal equipment can be analyzed from the LLDP protocol message in the same way, and automatic discovery of the port is realized by inserting the negotiated data into the specific field.
With the continuous development of optical communication technology, more and more access devices and more complex configuration are provided, and with more and more data ports, the technical requirements on engineering personnel are higher and higher. When an engineer installs the equipment, it is necessary to check whether the connection of the optical fiber lines of the ports is correct one by one in the networking, which consumes time and labor. Once a connection error occurs, great effort is required for engineers to troubleshoot links by links. This situation is more prominent with the increasing size of networks.
In view of the above, overcoming the drawbacks of the prior art is an urgent problem in the art.
[ summary of the invention ]
The technical problem to be solved by the invention is to automatically and rapidly detect the optical fiber misconnection in the optical network under the condition of not increasing the labor cost of engineering personnel.
The invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for detecting a misconnection of optical fibers, including:
the site A carries an interconnection port, an IP website and a subnet mask of a site B which is connected with the site A by an optical fiber line in a first detection message and sends the first detection message to an opposite site;
the opposite terminal station verifies whether the interconnection port, the IP website and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station, if the interconnection port, the IP website and the subnet mask are matched with the attributes of the opposite terminal station, the correct connection of the optical fiber circuit is verified, otherwise, the misconnection of the optical fiber is verified, and a first detection response is returned to the station A; wherein the first detection response carries a verification result.
Preferably, when the station a confirms the incoming optical fiber misconnection detection, the method further includes:
the site A sends an interconnection information request to a database;
and receiving an interconnection response message returned by the database, wherein the interconnection response message carries an interconnection port, an IP (Internet protocol) website and a subnet mask of a site B which is maintained by the database and is connected with the site A through an optical fiber line.
Preferably, one or more groups are obtained in the database by using the same site of the fiber line connection established by the single board as an allocation basis, and the method specifically includes:
the station A acquires a first group of single boards which are connected with the station B by the optical fiber line according to the station relation of the optical fiber line connection recorded by the database;
the site A carries the interconnection port, the IP website and the subnet mask of the site B in a first detection message through a first single board in the first group of single boards and sends the first detection message to an opposite-end site; after receiving a result of verifying that the optical fiber line connection is correct, which is returned by the opposite terminal, the method further includes:
the station A sends a second detection message carrying heartbeat message identification codes of the rest single boards in the first group of single boards to the opposite end through the first single board in the first group of single boards, wherein the identification code of one heartbeat message is uniquely corresponding to one single board in the first group of single boards;
obtaining heartbeat messages carrying corresponding unique identification codes corresponding to the rest single boards belonging to the first group of single boards in the site A, and sending respective heartbeat messages to an opposite terminal by taking the rest single boards as main bodies;
the station a obtains the second detection response returned by the opposite-end station, and the second detection response is generated when the opposite end confirms that other single boards of the opposite end receive heartbeat messages with the same identification code carried in the corresponding second detection message and/or receive overtime after the opposite end obtains the second detection message.
Preferably, the method further comprises:
when the opposite end confirms that other single boards of the opposite end receive heartbeat messages with the same identification codes carried in corresponding second detection messages, the second detection response carries information for verifying that the optical fiber circuit connection of all the single boards in the first group of single boards is correct;
when the opposite terminal confirms that the heartbeat message received by other single boards of the opposite terminal is overtime, the second detection correspondingly carries information of verifying optical fiber misconnection of the corresponding single board in the opposite terminal.
Preferably, the database further stores records of the corresponding optical fiber line connection operators of each board in each station, specifically:
when the plugging operation is performed on each single board, the plugging personnel connected with the single board optical fiber line on each station records the station and/or single board information where the plugging operation executed by the plugging personnel is located into the database by scanning the two-dimensional codes on the corresponding station and/or single board in advance.
Preferably, when the returned first detection response carries a detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, the method further includes:
the site A acquires a current optical fiber misconnection site from a database, and executes the record of a wire plugging operator X in history;
searching a relevant data object of a station needing optical fiber line connection verification in the current round in a database by taking the plug-in personnel X as a keyword, thereby positioning one or more stations or one or more single boards which are taken as the plug-in personnel X to execute plug-in operation;
and taking the positioned wire plugging personnel X as one or more stations for executing wire plugging operation or one or more single boards as main bodies, and sending corresponding detection messages to respective opposite end stations.
Preferably, the station that needs to perform the fiber line connection verification in this round is further calibrated according to the machine room as a second division dimension, and then the method further includes:
and searching a relevant data object of a database of the station needing optical fiber line connection verification in the same machine room area range in the current round by taking the wire plugging person X as a keyword, thereby positioning one or more stations or one or more single boards which are taken as the wire plugging person X to execute wire plugging operation.
Preferably, when the returned first detection response carries a detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, the method further includes:
and directly updating the state of the optical fiber line connection corresponding to the site C in the database to be optical fiber misconnection, and skipping the subsequent process of initiating the detection message by taking the site C as a main body.
Preferably, when the port state is DOWN, the optical fiber misconnection detection is not performed, and the optical fiber misconnection alarm is not reported;
when the port state is UP, the optical fiber misconnection is detected, and when the optical fiber misconnection is verified, an optical fiber misconnection alarm is reported.
In a second aspect, the present invention further provides an optical fiber misconnection detection system, including a station a and a station X, specifically:
the site A carries an interconnection port, an IP website and a subnet mask of a site B which is connected with the site A by an optical fiber line in a first detection message and sends the first detection message to an opposite site X;
the opposite terminal station X verifies whether the interconnection port, the IP website and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station X, if the interconnection port, the IP website and the subnet mask are matched with the attributes of the opposite terminal station X, the correct connection of the optical fiber circuit is verified, otherwise, the misconnection of the optical fiber is verified, and a first detection response is returned to the station A; wherein the first detection response carries a verification result.
The invention sends the opposite end information which should establish the optical fiber line connection in the logic theory to the opposite end through the optical fiber line connection between the station and the station, verifies whether the actually established optical fiber line connection is consistent with the logic theory or not based on the matching of the opposite end and the local related information, if so, verifies the optical fiber line connection is correct, otherwise, verifies the optical fiber misconnection, thereby realizing the purpose of automatic detection.
In the preferred scheme of the invention, the veneer, the station, the machine room and the working characteristics of the matched plug-in personnel are utilized to establish the associated database, and the optical fiber misconnection in the optical network is automatically and rapidly detected under the condition of not increasing the labor cost of engineering personnel by matching with the optical fiber line connection detection of the station.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of an optical fiber misconnection detection method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for detecting a misconnection of optical fibers according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for detecting a misconnection of optical fibers according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for detecting a misconnection of optical fibers according to an embodiment of the present invention;
FIG. 5 is a diagram of a normal fiber optic connection provided by an embodiment of the present invention;
fig. 6 is a same port self-loop scenario of a same site according to an embodiment of the present invention;
fig. 7 is a self-loop scenario of different ports of the same site according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an unmated IN and OUT connection of a port with a fiber optic connection error according to an embodiment of the present invention;
FIG. 9 is a block diagram illustrating a site connection error in accordance with an embodiment of the present invention;
FIG. 10 shows a two-port connection error with an optical fiber connection error according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an optical fiber misconnection detection device according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the description of the present invention, the terms "inner", "outer", "longitudinal", "lateral", "upper", "lower", "top", "bottom", and the like indicate orientations or positional relationships based on those shown in the drawings, and are for convenience only to describe the present invention without requiring the present invention to be necessarily constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1:
embodiment 1 of the present invention provides an optical fiber misconnection detection method, as shown in fig. 1, including:
in step 201, a station a sends an interconnection port, an IP address, and a subnet mask of a station B, which establishes an optical fiber line connection with itself, to an opposite station by carrying them in a first detection message.
In step 202, the opposite-end site verifies whether the interconnection port, the IP address and the subnet mask of the site B carried in the first detection message are matched with its own attributes, if the matching is performed to verify that the connection of the optical fiber line is correct, otherwise, the misconnection of the optical fiber is verified, and a first detection response is returned to the site a; wherein the first detection response carries a verification result.
According to the embodiment of the invention, the opposite end information of the optical fiber line connection which should be established logically is sent to the opposite end through the optical fiber line connection between the station and the station, whether the actually established optical fiber line connection is consistent with the logic theory is verified based on the matching of the opposite end and the local related information, if so, the optical fiber line connection is verified to be correct, otherwise, the optical fiber misconnection is verified, and thus, the purpose of automatic detection is realized.
With reference to the embodiment of the present invention, when the station a determines that the incoming optical fiber is misconnected, as shown in fig. 2, the method further includes:
in step 301, station a sends a request for interconnection information to the database.
In the embodiment of the present invention, the database may be a database service provided by a third party platform independently from each site; before the database used in the embodiment of the present invention is used specifically, it must be satisfied that once each station relates to the optical fiber line connection of its own included board, the corresponding connection information is synchronously updated to the database, so that it can be ensured that the information included in the corresponding database can be accurately utilized in each association extension scheme of the present invention.
In step 302, an interconnection response message returned by the database is received, where the interconnection response message carries an interconnection port, an IP address, and a subnet mask of a site B that is maintained by the database and is connected to the site a by an optical fiber line.
In practical situations, the connection information of the optical fiber lines between the stations in the database may be pre-imported into the database when the network architecture model is planned, that is, the connection information of the optical fiber lines in the data may be ahead of the connection information of the optical fiber lines already established in the actual scene. However, another preferred implementation exists in which the fiber line connection information between sites in the database is synchronized to the database after the relevant plug-in physical scenario operation is completed. The former has the advantage that once a connection error of a certain station is detected, other associated stations causing chain reaction due to optical fiber misconnection of the station can be found according to the complete optical fiber line connection information stored in the database, wherein the associated stations may include some stations which do not currently physically complete optical fiber line connection, so that the possibility of misconnection of the corresponding station and the complexity of error arrangement of the corresponding station can be saved, that is, after a source station which finds out the optical fiber line connection error is eliminated, the optical fiber line connection operation of the associated station which does not physically establish optical fiber line connection is performed.
With reference to the embodiment of the present invention, one or more groups are obtained in the database by using the same site of the fiber line connection established by the single board as an allocation basis, as shown in fig. 3, the association steps in embodiment 1 are further fused to perform relatively complete logic display:
in step 200, the station a obtains a first group of boards that establish an optical fiber connection with the station B according to the station relationship of the optical fiber connection recorded in the database.
In the embodiments of the present invention, the first, second, etc. restrictive descriptions are not intended to refer to a specific order, but only to allow the correspondingly restricted objects to be separated from the same class, and are used for convenience in describing two or more different objects in the same class, and should not be interpreted in a further restrictive sense.
The site A carries the interconnection port, the IP website and the subnet mask of the site B in a first detection message through a first single board in the first group of single boards and sends the first detection message to an opposite-end site; after receiving a result of verifying that the optical fiber line connection returned by the opposite end is correct, that is, the implementation subject of step 201 to step 202 in embodiment 1 directly appears as a first board in the first group of boards in the station a in this embodiment (the corresponding descriptions of step 201 and step 202 in fig. 3 are also modified appropriately), the method further includes:
in step 203, the station a sends a second detection message carrying the identification codes of the heartbeat messages of the remaining boards in the first group of boards to the opposite end through the first board in the first group of boards, where the identification code of one heartbeat message uniquely corresponds to one board in the first group of boards.
It should be noted that, the second detection message and the first detection message are only for their purpose to complete the detection, but there is a large difference between them. In the embodiment of the invention, the first detection message mainly carries the interconnection port of the opposite terminal, the IP address and the subnet mask, the second detection message mainly carries the heartbeat message of the related single board in the first group of single boards, and at the moment, the second detection message does not need to carry the interconnection port of the opposite terminal, the IP address and the subnet mask, so that the message content can be compressed to the utmost extent.
In the embodiment of the invention, although the heartbeat message is used for expression, the actual meaning of the heartbeat message is different from the heartbeat message described by the conventional method; in the conventional internet category, the understood heartbeat message is sent at preset periodic intervals, and a means for keeping a connection channel between two nodes alive or not is provided.
In step 204, the station a obtains the heartbeat messages carrying the corresponding unique identification codes corresponding to the remaining single boards belonging to the first group of single boards, and sends respective heartbeat messages to the opposite end by using the remaining single boards as main bodies.
In step 205, the station a obtains the second detection response returned by the peer station, where the peer determines that other boards of the peer station have received heartbeat messages with the same identification code carried in the corresponding second detection message and/or receive timeout after the peer obtains the second detection message.
The embodiment of the invention utilizes the single board, the station, the machine room and the working characteristics of the matched plug-in personnel to establish the associated database, and the optical fiber misconnection in the optical network is automatically and rapidly detected under the condition of matching with the optical fiber line connection detection of the station without increasing the labor cost of engineering personnel.
The modes embodied in steps 200 to 205 can further reduce the bandwidth occupation of the links between the sites, because the authentication mechanism of the corresponding heartbeat message is only the identification code, the list of the boards under the matched sites is mapped one by one through the corresponding list of the identification codes, and the transmission of the list of the identification codes is also completed through the pair of boards which completes the correct connection check of the optical fiber line in embodiment 1.
When the opposite end confirms that other single boards of the opposite end receive heartbeat messages with the same identification codes carried in corresponding second detection messages, the second detection response carries information for verifying that the optical fiber circuit connection of all the single boards in the first group of single boards is correct; when the opposite terminal confirms that the heartbeat message received by other single boards of the opposite terminal is overtime, the second detection correspondingly carries information of verifying optical fiber misconnection of the corresponding single board in the opposite terminal.
In a preferred implementation scheme, the database further stores records of the corresponding fiber line connection operators of each board in each site, specifically:
when the plugging operation is performed on each single board, the plugging personnel connected with the single board optical fiber line on each station records the station and/or single board information where the plugging operation executed by the plugging personnel is located into the database by scanning the two-dimensional codes on the corresponding station and/or single board in advance.
When the returned first detection response carries a detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, as shown in fig. 4, the method further includes:
in step 501, the station a obtains the current station with the misconnected optical fibers from the database, and performs the plugging operation on the plug wire operator X in the history.
In step 502, the plug-in personnel X is used as a keyword to search for associated data objects in a database of the station requiring fiber circuit connection verification in this round, so as to locate one or more stations or one or more boards using the plug-in personnel X as a site for performing plug-in operations.
In step 503, the located personnel X for plugging the cable is used as one or more stations for performing the plugging operation, or one or more single boards are used as main bodies, and corresponding detection messages are sent to respective opposite end stations.
This has the advantage that the work careful nature of the patch personnel is further subdivided and associated with the detection of fibre optic line connections; this process is effectively realized through the above steps 501 to 503 in the embodiment of the present invention. The implementation of the method is still based on the application of the embodiment of the invention to the database, and the storage and maintenance of the data relation in the database.
The station which needs to perform the fiber line connection verification in this round is also calibrated according to the machine room as a second division dimension, where the second division dimension is relative to the above-indicated division dimension of the single boards belonging to the same group, and the single boards of the same group have been used as a clear definition above, that is, a plurality of single boards establishing fiber line connection with the same station at the opposite end are logically and theoretically confirmed in one station to form a group. In an embodiment of the present invention, after the second division dimension is further introduced, the method further includes:
and searching a relevant data object of a database of the station needing optical fiber line connection verification in the same machine room area range in the current round by taking the wire plugging person X as a keyword, thereby positioning one or more stations or one or more single boards which are taken as the wire plugging person X to execute wire plugging operation.
When the returned detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, which is carried in the first detection response, is carried, the result of the description herein is that the optical fiber circuit connection of the site a has the optical fiber misconnection (the unit of misconnection may be a single board, or may refer to the entire site a, and the actual situation is applicable to which expression, according to the above extended implementation schemes, the method further includes:
and directly updating the state of the optical fiber line connection corresponding to the site C in the database to be optical fiber misconnection, and skipping the subsequent process of initiating the detection message by taking the site C as a main body. Here, it is to be noted that, once the response message of the first detection message includes the detection result of the optical fiber misconnection of the interconnection port, the IP address and the subnet mask of the other site C, according to the optical fiber line connection between the sites, especially, a one-to-one connection characteristic between the ports, at this time, the site C that can directly and definitely respond must also have the optical fiber misconnection, and the effect of such processing is that, when the detection of the optical fiber misconnection of the interconnection port, the IP address and the subnet mask of the site C is further involved later, the corresponding detection conclusion can be directly obtained from the database, thereby improving the detection efficiency in the entire system.
When the port state is DOWN, the detection of optical fiber misconnection is not carried out, and an optical fiber misconnection alarm is not reported; when the port state is UP, the optical fiber misconnection is detected, and when the optical fiber misconnection is verified, an optical fiber misconnection alarm is reported. The port status of the station is also described in embodiment 3 for different situations.
Example 2:
the embodiment of the invention provides an optical fiber misconnection detection system, which comprises a station A and a station X, wherein the station A is only used for forming description individuality with each station of the same type, and similarly, the station A can also be described as a station B, a station C, a station D and the like, and the character X in the corresponding station X is also only used for indicating that the corresponding station is used as an opposite station which establishes a physical optical fiber line connection with the station A before the optical fiber line connection is verified to be correct by verification, and is not necessarily the station B which establishes an optical fiber line connection with the station A in the following text description, so that the uncertainty existing in the corresponding station A and the characteristic to be confirmed are represented by X, and once the optical fiber line connection is confirmed to be correct, the station X is also the corresponding station B. Specifically, the method comprises the following steps:
and the site A carries the interconnection port, the IP website and the subnet mask of the site B which is connected with the site A by the optical fiber line in a first detection message and sends the first detection message to the opposite site X.
The opposite terminal station X verifies whether the interconnection port, the IP website and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station X, if so, the optical fiber line connection is verified to be correct, otherwise, the optical fiber misconnection is verified, and a first detection response is returned to the station A; wherein the first detection response carries a verification result.
The embodiment of the present invention and the embodiment 1 are system-side embodiments proposed based on the same inventive concept, and therefore, the related extended technical solutions related to the embodiment 1 are also applicable to the embodiments of the present invention, and are not described in detail herein. Next, typical several stations, and the fiber line connection situation between stations will be presented through embodiment 3.
Example 3:
referring to fig. 5, an embodiment of the present invention provides an optical fiber misconnection detection system based on the LLDP protocol, where the LLDP protocol can be regarded as a protocol example supporting the first detection message and the second detection message in embodiment 1 of the present invention. For a single site, the single site includes a control unit and a plurality of boards, where the control unit may be configured to complete functions, such as grouping boards, generating a second detection message, and the like, in steps 200 to 205 in embodiment 1, that is, to collectively manage the boards. And on Site-A, setting remote Site information for a port needing optical fiber connection, and simultaneously setting an IP address and a subnet mask of the port. And carrying out the same configuration operation on the port on the Site-B, transmitting port configuration information to the Site-B through an LLDP message protocol by the port on the Site-A after the optical fiber is normally connected, analyzing the LLDP message by the Site-B, comparing the LLDP message with the information of the local terminal, and reporting an optical fiber misconnection alarm if the LLDP message is not matched with the local terminal.
Referring to fig. 6, after the port of Site-a is looped, the link layer is not on, and the port is DOWN, and at this time, the control unit does not perform port optical fiber misconnection detection.
Referring to fig. 7, after looping different ports of Site-a, the link layer is not on, and the port is DOWN, and at this time, the control unit does not perform port optical fiber misconnection detection.
Referring to fig. 8, when the IN and OUT ports of Site-a are connected to different devices, at this time, the UP port enables the devices to perform optical fiber misconnection detection and can detect that an optical fiber misconnection occurs.
Referring to fig. 9, the Site of Site-a is originally connected to Site-C through an optical fiber, but is misconnected to the port of Site-B, at this time, the port UP can perform optical fiber misconnection detection, and since the Site-B receives Site information and is not matched with the local Site, the optical fiber misconnection can be detected.
Referring to fig. 10, the Site is originally connected to the port of the Board2 of the Site through an optical fiber, but is misconnected to the port of the Board1, at this time, the port UP can perform optical fiber misconnection detection, and since the IP and subnet source code information of the port of the Board1 are not matched with the information transmitted by the Site, the optical fiber misconnection detection can be performed
Example 4:
fig. 11 is a schematic structural diagram of an optical fiber misconnection detection device according to an embodiment of the present invention. The optical fiber misconnection detection apparatus of the present embodiment includes one or more processors 21 and a memory 22. In fig. 11, one processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or other means, and fig. 11 illustrates the connection by a bus as an example.
The memory 22, which is a non-volatile computer-readable storage medium, can be used to store non-volatile software programs and non-volatile computer-executable programs, such as the optical fiber misconnection detection method in embodiment 1. The processor 21 executes the optical fiber misconnection detection method by executing a non-volatile software program and instructions stored in the memory 22.
The memory 22 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory 22 may optionally include memory located remotely from the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22 and, when executed by the one or more processors 21, perform the method for detecting a fiber misconnection in embodiment 1 described above, for example, perform the steps shown in fig. 1-4 described above.
It should be noted that, for the information interaction, execution process and other contents between the modules and units in the apparatus and system, the specific contents may refer to the description in the embodiment of the method of the present invention because the same concept is used as the embodiment of the processing method of the present invention, and are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments may be implemented by associated hardware as instructed by a program, which may be stored on a computer-readable storage medium, which may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An optical fiber misconnection detection method, comprising:
the site A carries an interconnection port, an IP website and a subnet mask of a site B which is connected with the site A by an optical fiber line in a first detection message and sends the first detection message to an opposite site;
the opposite terminal station verifies whether the interconnection port, the IP website and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station, if so, the optical fiber line connection is verified to be correct, otherwise, the optical fiber misconnection is verified, and a first detection response is returned to the station A; wherein the first detection response carries a verification result.
2. The method according to claim 1, wherein when the station a confirms the incoming optical fiber misconnection detection, the method further comprises:
the site A sends an interconnection information request to a database;
and receiving an interconnection response message returned by the database, wherein the interconnection response message carries an interconnection port, an IP (Internet protocol) website and a subnet mask of the site B which is maintained by the database and is connected with the site A through the optical fiber line.
3. The method according to claim 2, wherein one or more groups are obtained in the database by using the same site of the fiber line connection established by the single board as an allocation basis, and the method specifically includes:
the station A acquires a first group of single boards which are connected with the station B by the optical fiber line according to the station relation of the optical fiber line connection recorded by the database;
the site A carries the interconnection port, the IP website and the subnet mask of the site B in a first detection message through a first single board in the first group of single boards and sends the first detection message to the opposite-end site; after receiving a result of verifying that the optical fiber line connection is correct, which is returned by the opposite-end station, the method further includes:
the station A sends a second detection message carrying heartbeat message identification codes of the rest single boards in the first group of single boards to the opposite-end station through the first single board in the first group of single boards, wherein the identification code of one heartbeat message is uniquely corresponding to one single board in the first group of single boards;
obtaining heartbeat messages carrying corresponding unique identification codes corresponding to the remaining single boards belonging to the first group of single boards in the site A, and sending respective heartbeat messages to the opposite-end site by taking the remaining single boards as main bodies;
the station a obtains the second detection response returned by the peer station, where the second detection response is generated when the peer station determines that other boards of the peer station receive heartbeat messages with the same identification code carried in the corresponding second detection message and/or receive timeout after the peer station obtains the second detection message.
4. The method of claim 3, further comprising:
when the opposite-end site confirms that other single boards of the opposite-end site receive heartbeat messages with the same identification codes carried in corresponding second detection messages, the second detection response carries information for verifying that the optical fiber circuit connection of all the single boards in the first group of single boards is correct;
when the opposite-end site confirms that the heartbeat message received by other single boards of the opposite-end site is overtime, the second detection response carries information of verifying optical fiber misconnection by the corresponding single board in the opposite-end site.
5. The method according to claim 2, wherein the database further stores records of corresponding fiber line connection operators of each board in each station, specifically:
when performing the plugging operation on each single board, the plugging personnel connected with the single board optical fiber line on each station records the station and/or single board information where the plugging operation executed by the plugging personnel is located into the database by scanning the two-dimensional codes on the corresponding station and/or single board in advance.
6. The method according to claim 5, wherein when the returned first detection response carries the detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, the method further comprises:
the site A acquires the current site with the optical fiber misconnected from the database, and executes the record of a wire plugging operator X in history;
searching a relevant data object of a station needing optical fiber line connection verification in the current round in the database by taking the plug-in personnel X as a keyword, thereby positioning one or more stations or one or more single boards which are taken as the plug-in personnel X to execute plug-in operation;
and taking the positioned wire plugging personnel X as one or more stations for executing wire plugging operation or one or more single boards as main bodies, and sending corresponding detection messages to respective opposite end stations.
7. The method according to claim 6, wherein the station that needs to perform the fiber line connection verification in the current round is further calibrated according to the machine room as a second division dimension, and the method further comprises:
and searching a relevant data object of a database of the station needing optical fiber line connection verification in the same machine room area range in the current round by taking the wire plugging person X as a keyword, thereby positioning one or more stations or one or more single boards which are taken as the wire plugging person X to execute wire plugging operation.
8. The method according to claim 5, wherein when the returned first detection response carries the detection result of the optical fiber misconnection including the interconnection port of the site C, the IP address, and the subnet mask, the method further comprises:
and directly updating the state of the optical fiber line connection corresponding to the site C in the database to be optical fiber misconnection, and skipping the subsequent process of initiating the detection message by taking the site C as a main body.
9. The method according to any of claims 1-8, wherein when the port state is DOWN, the optical fiber misconnection is not detected and an optical fiber misconnection alarm is not reported;
when the port state is UP, the optical fiber misconnection is detected, and when the optical fiber misconnection is verified, an optical fiber misconnection alarm is reported.
10. An optical fiber misconnection detection system is characterized by comprising a station A and a station X, and specifically comprises the following steps:
the site A carries an interconnection port, an IP website and a subnet mask of a site B which is connected with the site A by an optical fiber line in a first detection message and sends the first detection message to an opposite site X;
the opposite terminal station X verifies whether the interconnection port, the IP website and the subnet mask of the station B carried in the first detection message are matched with the attributes of the opposite terminal station X, if the interconnection port, the IP website and the subnet mask are matched with the attributes of the opposite terminal station X, the correct connection of the optical fiber circuit is verified, otherwise, the misconnection of the optical fiber is verified, and a first detection response is returned to the station A; wherein the first detection response carries a verification result.
CN202111249114.6A 2021-10-26 2021-10-26 Optical fiber misconnection detection method and system Active CN114157350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111249114.6A CN114157350B (en) 2021-10-26 2021-10-26 Optical fiber misconnection detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111249114.6A CN114157350B (en) 2021-10-26 2021-10-26 Optical fiber misconnection detection method and system

Publications (2)

Publication Number Publication Date
CN114157350A true CN114157350A (en) 2022-03-08
CN114157350B CN114157350B (en) 2023-02-03

Family

ID=80458719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111249114.6A Active CN114157350B (en) 2021-10-26 2021-10-26 Optical fiber misconnection detection method and system

Country Status (1)

Country Link
CN (1) CN114157350B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333616A (en) * 2022-10-17 2022-11-11 中兴通讯股份有限公司 Optical fiber misconnection detection method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917763B1 (en) * 2002-03-05 2005-07-12 Nortel Networks Limited Technique for verifying fiber connectivity in a photonic network
CN101345584A (en) * 2008-08-22 2009-01-14 中兴通讯股份有限公司 Automatic detection method for optical fiber connection status of optical fiber communication equipments
CN101834663A (en) * 2010-04-08 2010-09-15 中兴通讯股份有限公司 Detection method and system of optical fiber connection
CN103916272A (en) * 2014-03-31 2014-07-09 大唐移动通信设备有限公司 Main control single board and fault detecting method thereof
WO2016062086A1 (en) * 2014-10-23 2016-04-28 中兴通讯股份有限公司 Method and device for processing fiber connection
WO2018001228A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Fibre connection detection method, network management server, receiving-end network element and computer storage medium
CN108123830A (en) * 2017-12-15 2018-06-05 新华三技术有限公司 A kind of port status control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917763B1 (en) * 2002-03-05 2005-07-12 Nortel Networks Limited Technique for verifying fiber connectivity in a photonic network
CN101345584A (en) * 2008-08-22 2009-01-14 中兴通讯股份有限公司 Automatic detection method for optical fiber connection status of optical fiber communication equipments
CN101834663A (en) * 2010-04-08 2010-09-15 中兴通讯股份有限公司 Detection method and system of optical fiber connection
CN103916272A (en) * 2014-03-31 2014-07-09 大唐移动通信设备有限公司 Main control single board and fault detecting method thereof
WO2016062086A1 (en) * 2014-10-23 2016-04-28 中兴通讯股份有限公司 Method and device for processing fiber connection
WO2018001228A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Fibre connection detection method, network management server, receiving-end network element and computer storage medium
CN108123830A (en) * 2017-12-15 2018-06-05 新华三技术有限公司 A kind of port status control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333616A (en) * 2022-10-17 2022-11-11 中兴通讯股份有限公司 Optical fiber misconnection detection method and device, storage medium and electronic device
CN115333616B (en) * 2022-10-17 2023-02-24 中兴通讯股份有限公司 Method and device for detecting optical fiber misconnection, storage medium and electronic device

Also Published As

Publication number Publication date
CN114157350B (en) 2023-02-03

Similar Documents

Publication Publication Date Title
JP4527157B2 (en) Network documentation system with electronic modules
CN109698758B (en) Network resource information checking method and system
WO2015058497A1 (en) Method, device, and system for optical fiber link identification
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN101222366B (en) Communication equipment failure location device and method
CN114157350B (en) Optical fiber misconnection detection method and system
CN111405059B (en) Cloud device data transmission method, electronic device and Internet of things system
CN106685734B (en) Intelligent configuration method and system based on Ethernet
CN109981404B (en) Ad hoc network structure and diagnosis method thereof
CN106452880B (en) Network wiring detection method and device
JP2018522480A (en) Method and apparatus for searching a fronthaul topology
US20050111063A1 (en) Modular scanning system for cabling systems
CN100592714C (en) Method for establishing a wireless network
CN107769964B (en) Special line checking method and system
CN103840879B (en) A kind of optical fiber office is to recognition methods, device and system
CN113259918A (en) Equipment binding method and system
CN108270638B (en) Error correction method and device based on internet access transmission and internet access transmission equipment
CN114576828B (en) Communication management method, bifurcation box, multi-split air conditioning system and storage medium
CN104579757B (en) A kind of method and apparatus for detecting failure
CN105959393A (en) Automatic card production method and device
CN105871917A (en) Transmission control protocol TCP connection scheduling method and device
CN112000054B (en) Equipment monitoring system based on thing networking
CN109379133A (en) The processing method and system of PON network packet loss
CN103346832B (en) A kind of detection method of Fiber connection state and device
CN114143825B (en) RRU management method and system based on multimode base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant