CN109218857B - Method and system for detecting port state of network equipment - Google Patents

Method and system for detecting port state of network equipment Download PDF

Info

Publication number
CN109218857B
CN109218857B CN201810707313.9A CN201810707313A CN109218857B CN 109218857 B CN109218857 B CN 109218857B CN 201810707313 A CN201810707313 A CN 201810707313A CN 109218857 B CN109218857 B CN 109218857B
Authority
CN
China
Prior art keywords
port
preset
tail fiber
alarm information
plugging
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.)
Active
Application number
CN201810707313.9A
Other languages
Chinese (zh)
Other versions
CN109218857A (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.)
Beijing MetarNet Technologies Co Ltd
Original Assignee
Beijing MetarNet 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 Beijing MetarNet Technologies Co Ltd filed Critical Beijing MetarNet Technologies Co Ltd
Priority to CN201810707313.9A priority Critical patent/CN109218857B/en
Publication of CN109218857A publication Critical patent/CN109218857A/en
Application granted granted Critical
Publication of CN109218857B publication Critical patent/CN109218857B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Abstract

The embodiment of the invention provides a method and a system for detecting the port state of network equipment. The method comprises the following steps: after a tail fiber of any downlink port of a passive network device is plugged within a preset first time length, acquiring alarm information of an active network device connected to the passive network device within the preset first time length; if the alarm information is judged to be the alarm information generated by plugging and unplugging the tail fiber of the port, the optical network terminal corresponding to the alarm information is obtained, and the corresponding optical network terminal is determined as the optical network terminal of the downstream port. The method and the system for detecting the port state of the network equipment can quickly and accurately obtain the corresponding relation between the downlink port of the passive network equipment and the optical network terminal, and improve the detection efficiency and the detection accuracy of the port state of the network equipment.

Description

Method and system for detecting port state of network equipment
Technical Field
The embodiment of the invention relates to the technical field of network communication, in particular to a method and a system for detecting the port state of network equipment.
Background
In the whole Optical Distribution Network (ODN), there are a lot of Network resources that need to be managed, and resources in which self information cannot be automatically reported are called "dummy resources".
The dumb resources are mostly passive network equipment, information cannot be acquired, modified and monitored through the network equipment, and the dumb resources exist in underground and field environments in large quantity, and information acquisition is difficult. At present, the dummy resource management is mainly completed manually, and the efficiency and the accuracy are low. On-site assembly and maintenance and jumper connection of the dummy resources are finished manually, and due to frequent change of assembly and maintenance personnel and the quality problems of the assembly and maintenance personnel, the problems of jumper connection confusion, mark confusion or no mark, difficult management and even resource loss can occur. The traditional operation mode ensures the integrity and accuracy of resource information through resource checking and sorting, but with the rapid expansion of network scale, the work becomes increasingly difficult or even infeasible.
One common resource among the broadband dumb resources of telecommunications is an optical splitter. A splitter (Optical splitter), also known as an Optical splitter, is a passive device that does not require external energy, as long as there is input light. Optical splitters, which are commonly fiber-optic splicing devices having a plurality of inputs and a plurality of outputs, are commonly used for coupling, branching, and distributing optical signals. In a mobile communication network, an optical splitter is used as a special probe for signaling monitoring, and the acquisition of original signaling data is mainly realized. The optical splitter is matched with a signaling analysis system to perform real-time monitoring and deep fault positioning on the network, provide powerful support for network maintainers, market developers and clients, and realize the evaluation of the network and the service quality and improve the service quality through index statistical analysis reports of various dimensions.
When checking network resources, it is necessary to determine the occupation status of each port of the network device and the corresponding relationship between the ports and the optical network terminal. Because the passive network device can not be maintained and managed through the network, the port occupation condition can not be collected. For example, when checking broadband network resources, it is necessary to determine a mapping relationship between a port of an optical splitter and a broadband account of a user, but since the optical splitter cannot be maintained and managed through a network, the port occupation situation cannot be collected, and broadband maintenance personnel cannot accurately know optical network terminals such as an optical modem accessing to each port of the optical splitter, the network resources, that is, the broadband account of the user, carried by each port of the optical splitter cannot be determined.
In the prior art, a network maintainer acquires a mapping relation between a port of an optical splitter and a broadband account by methods of interviewing for an entrance, memory of the maintainer, field labeling and the like, and the method has the defects of low efficiency, poor accuracy and the like.
Disclosure of Invention
Aiming at the problem of low detection efficiency in the prior art, the embodiment of the invention provides a method and a system for detecting the port state of network equipment.
According to a first aspect of the present invention, an embodiment of the present invention provides a method for detecting a port state of a network device, including:
after a tail fiber of any downlink port of a passive network device is plugged within a preset first time length, acquiring alarm information of an active network device connected to the passive network device within the preset first time length;
if the alarm information is judged to be the alarm information generated by plugging and unplugging the tail fiber of the port, the optical network terminal corresponding to the alarm information is obtained, and the corresponding optical network terminal is determined as the optical network terminal of the downstream port.
According to a second aspect of the present invention, an embodiment of the present invention provides a system for detecting a port status of a network device, including:
the alarm acquisition module is used for acquiring alarm information of active network equipment which is connected with the passive network equipment in an uplink manner within a preset first time length after a tail fiber of any downlink port of the passive network equipment is plugged within the preset first time length;
and the terminal determining module is used for acquiring the optical network terminal corresponding to the alarm information and determining the corresponding optical network terminal as the optical network terminal connected with the downlink port in a downlink manner if the alarm information is judged to be the alarm information generated by plugging and unplugging the tail fiber of the downlink port.
According to the method and the system for detecting the port state of the network equipment, provided by the embodiment of the invention, after the tail fiber of the lower connection port of the passive network equipment is plugged, the corresponding alarm information generated by the active network equipment of the upper connection of the passive network equipment is obtained, and the optical network terminal connected with the lower connection port of the passive network equipment is determined according to the corresponding alarm information, so that the corresponding relation between the lower connection port of the passive network equipment and the optical network terminal can be quickly and accurately obtained, false resource clearing is avoided, and the detection efficiency and the accuracy of the port state of the network equipment are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for detecting a port state of a network device according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a method for detecting a port state of a network device according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a system for detecting a port status of a network device according to an embodiment of the present invention;
fig. 4 is a block diagram of a system for detecting a port state of a network device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for detecting a port state of a network device according to an embodiment of the present invention. As shown in fig. 1, a method for detecting a port state of a network device includes: step S101, after the pigtail of any port of the passive network device is plugged in a preset first time length, the alarm information of the active network device connected with the passive network device in the preset first time length is obtained.
It should be noted that the method for detecting a port state of a network device provided in the embodiment of the present invention is suitable for detecting a port state of a passive network device in an optical fiber communication network. The passive network equipment is connected to the active network equipment through an uplink port of the passive network equipment; connected to the optical network terminal by an optical fiber inserted into the downstream port. Thus, the optical network terminal is connected to the active network device through the passive network device.
The execution main body of the method for detecting the port state of the network equipment provided by the embodiment of the invention is a system for detecting the port state of the network equipment.
Preferably, the detection system of the port state of the network device is a mobile intelligent terminal, but is not limited thereto. Correspondingly, the method for detecting the port state of the network equipment provided by the embodiment of the invention is realized by an application program (APP) installed on the mobile intelligent terminal.
Specifically, after the timing is started, the worker plugs and unplugs the pigtail inserted into a certain downlink port of the passive network device within a preset first time period, so that the connection between the passive network device and the active network device is disconnected, and the pigtail is recovered after disconnection, so that the direct connection between the optical network terminal and the active network device is disconnected, and the pigtail is recovered after disconnection.
When the connection between the optical network terminal and the active network equipment is disconnected, the active network equipment can detect the disconnection of the network connection, alarm occurs, and the alarm occurrence time is recorded; when the connection between the optical network terminal and the active network equipment is recovered, the active network equipment can detect the recovery of the network connection, clear the alarm and record the alarm clearing time. Through the above process, the alarm information of the active network device is generated.
The detection system of the port state of the network equipment acquires the alarm information of the active network equipment which is connected to the passive network equipment in the preset first time after the start of timing because the tail fiber which is inserted into the downstream port of the passive network equipment is plugged in and unplugged from the tail fiber in the preset first time.
For example, the timing start time is 16 minutes and 25 seconds at 16 hours, and the preset first duration is 20 seconds, then the alarm information of the active network device connected to the passive network device is acquired between 16 minutes and 25 seconds at 16 hours and 16 minutes and 45 seconds at 16 hours.
The detection system of the port state of the network equipment can be connected to the active network equipment through a network to directly acquire the alarm information of the active network equipment; or, the network device may be connected to an integrated Resource Management System (IRMS for short) through a network, and query, through a corresponding query interface, Information reported to the integrated Resource Management System by the active network device to obtain alarm Information of the active network device within a preset first time after the start of the timing.
The comprehensive resource management system is used for managing resources in a network and can realize management functions of basic information maintenance, state monitoring, alarm processing and the like of various network devices.
When the information reported to the integrated resource management system by the active network device is queried, the query can be performed through the uplink PON port of the passive network device (i.e., the port where the active network device gives an alarm), the IP address of the active network device, and the time for pulling out the pigtail.
The alarm information of the active network equipment at least comprises: alarm occurrence time, alarm clearing time, port where alarm occurs, information of the optical network terminal causing the alarm.
Step S102, if the alarm information is judged and obtained to be the alarm information generated by plugging the tail fiber of the port, the optical network terminal corresponding to the alarm information is obtained, and the corresponding optical network terminal is determined to be the optical network terminal of the port downlink.
Specifically, after acquiring alarm information of an active network device connected to a passive network device within a preset first time after starting timing, judging whether the alarm information is generated by plugging and unplugging a pigtail of the port.
When the alarm information is generated by plugging the tail fiber of the port, because the alarm information is generated by disconnecting the active network device from a certain optical network terminal due to plugging the tail fiber of the port, the optical network terminal corresponding to the alarm information can be obtained, so that the optical network terminal is determined to be accessed to the downstream port of the passive network device through the optical fiber, that is, the optical network terminal corresponding to the downstream port of the passive network device is determined.
Generally, the information of the optical network terminal causing the alarm is a Serial Number (SN) and/or a MAC address of the optical network terminal. Because the serial number and the MAC address of the optical network terminal are unique, the corresponding optical network terminal can be determined according to the serial number or the MAC address.
It can be understood that, when the alarm information is not the alarm information generated by plugging the tail fiber of the port, the status of the downstream port of the passive network device is detected again.
It should be noted that before plugging and unplugging the pigtail of any downstream port of the passive network device within the preset first duration, it is necessary to determine whether the pigtail of any downstream port of the other passive network device is being plugged and unplugged, and if the pigtail of any downstream port of the other passive network device is being plugged and unplugged, the situation that the status detection of the downstream port of the passive network device is interfered and the detection fails or the detection is wrong is avoided after waiting for the completion of the ongoing plugging and unplugging.
According to the embodiment of the invention, after the tail fiber of the lower connection port of the passive network equipment is plugged, the corresponding alarm information generated by the active network equipment of the upper connection of the passive network equipment is obtained, and the optical network terminal connected with the lower connection port of the passive network equipment is determined according to the corresponding alarm information, so that the corresponding relation between the lower connection port of the passive network equipment and the optical network terminal can be quickly and accurately obtained, false resource clearing is avoided, and the detection efficiency and accuracy of the port state of the network equipment are improved.
Based on the above embodiment, as a preferred embodiment, the specific step of plugging and unplugging the pigtail of any downstream port of the passive network device within a preset first time period includes: performing multi-group plugging and unplugging on the tail fiber of any downlink port of the passive network equipment within a preset first time length; the time interval between two adjacent groups of plugs and unplugs does not exceed the preset first interval time; and each group of plugging and unplugging comprises the step of unplugging the tail fiber from the lower connection port, and plugging the tail fiber into the lower connection port within a preset first interval time after the tail fiber is unplugged.
Preferably, when the pigtail of any downstream port of the passive network device is unplugged and plugged within a preset first time period, multiple groups of pigtails of the downstream port are continuously unplugged and plugged within the preset first time period.
Preferably, 3 to 5 groups of pulling and plugging are continuously carried out on the tail fiber of the downstream port within a preset first time length.
Each group of pulling and inserting comprises pulling out and inserting operations, namely pulling out the tail fiber from the lower connection port, and inserting the tail fiber into the lower connection port within a preset first interval time after the tail fiber is pulled out.
The time interval between two adjacent groups of plugs and unplugs does not exceed the preset first interval time. That is, the tail fiber is pulled out from the lower connection port in the next group of plug and unplug within the preset first interval time after the tail fiber is inserted into the lower connection port in the previous group of plug and unplug.
Based on the above embodiment, the specific step of determining whether the alarm information is generated by plugging the pigtail of the downstream port includes: and if the number of times of alarming in the alarming information is judged to be the same as the number of groups for plugging and unplugging the tail fiber of the downstream port, judging whether the time intervals between two adjacent alarms in the alarming information are all smaller than the preset second interval time.
Specifically, when judging whether the alarm information is generated by plugging and unplugging the pigtail of the downstream port, firstly, judging whether the number of alarms in the alarm information is the same as the number of groups for plugging and unplugging the pigtail of the downstream port.
If the number of times of alarming is different from the group number of pulling and plugging the tail fiber of the downlink port, it is indicated that the alarming information does not correspond to the pulling and plugging of the tail fiber of the downlink port, and the alarming information is not the alarming information generated by pulling and plugging the tail fiber of the downlink port.
Because the time interval between the extraction of the tail fiber of the lower connection port in each group of the plugs and the insertion of the tail fiber into the lower connection port is less than the preset first interval time, and the time interval between the two groups of the plugs is less than the preset first interval time, the time interval between two adjacent alarms is less than the specific time interval. If the number of the alarms is the same as the number of groups for plugging and unplugging the tail fiber of the downstream port, which indicates that the alarm information may correspond to the plugging and unplugging of the tail fiber of the downstream port, it is further determined whether the time intervals between two adjacent alarms are all smaller than a preset second interval time.
Preferably, the second interval time is not less than 2 times the first interval time.
And if the time intervals between two adjacent alarms are smaller than the preset second interval time, judging whether the time duration of each alarm is larger than the preset second time duration.
Specifically, if it is determined that the time interval between two adjacent alarms is greater than the preset second interval time, it is indicated that the alarm information does not correspond to the plugging and unplugging of the tail fiber of the downstream port, and at least one of the two adjacent alarms is not generated by plugging and unplugging the tail fiber of the downstream port.
Because the time interval between the tail fiber of the downlink port being pulled out in each group of plugs and the tail fiber being inserted into the downlink port is less than the preset first interval time, the time length of each alarm, namely the time interval between the alarm clearing time and the alarm generating time corresponding to the alarm, is not more than the specific interval time. If the time interval between two adjacent alarms is smaller than the preset second interval time, which indicates that the alarm information may correspond to the plugging and unplugging of the tail fiber of the downstream port, it is further determined whether the time length of each alarm is greater than the preset second time length.
The second duration is slightly longer than the first interval, taking into account possible delays in the alarm recovery.
And if the time length of each alarm is not greater than the preset second time length, determining the alarm information as the alarm information generated by plugging and unplugging the tail fiber of the downlink port.
Specifically, if the alarm duration in any piece of alarm information is greater than the preset second duration, it is indicated that the piece of alarm information does not correspond to the plugging and unplugging of the pigtail of the downstream port, and the alarm information is not alarm information generated by plugging and unplugging the pigtail of the downstream port.
If the alarm time length in any piece of alarm information is less than the preset second time length, the alarm information is corresponding to the plugging and unplugging of the tail fiber of the downstream port, and the alarm information is determined to be the alarm information generated by plugging and unplugging the tail fiber of the downstream port.
The invention can avoid the interference of the alarm caused by misoperation and other faults of the optical network terminal, the passive network equipment and the active network equipment, and further improve the accuracy of the detection of the port state of the network equipment by carrying out multi-group plugging and unplugging on the tail fiber of any downlink port of the passive network equipment within the preset first time length and judging the times of the alarm, the time interval between two adjacent alarms and the time length of each alarm in the alarm information.
Based on the above embodiment, as a preferred embodiment, the first period of time is 20 to 30 seconds.
Based on the above embodiment, as a preferred embodiment, the first interval time is 1 to 2 seconds; the second interval time is 2 to 4 seconds; the second time period is 3 seconds.
Based on the above embodiment, as a preferred embodiment, the passive network device is an optical splitter; the active network equipment is an optical line terminal.
Fig. 2 is a schematic view of an application scenario of the method for detecting a port state of a network device according to an embodiment of the present invention. As shown in fig. 2, the optical transmission network is connected to an optical splitter via an optical line terminal, and the optical splitter is connected to an optical network unit of a subscriber. The optical fiber of the lower link of the optical line terminal is inserted into the upper link port of the optical splitter, the optical splitter splits the optical signal inserted into the optical fiber of the upper link port of the optical splitter, and transmits the split optical signal to the optical network unit of the user through the optical fiber inserted into the upper link port of the optical splitter.
An Optical Line Terminal (OLT for short) is an active network device. The optical line terminal is a terminal device for connecting an optical fiber trunk line.
An Optical Network Unit (Optical Network Unit, abbreviated as ONU) is divided into an active Optical Network Unit and a passive Optical Network Unit. The ONU provides data, IPTV (i.e., interactive network television), voice (using IAD (Integrated Access Device) services), and the like.
The user is a terminal of the optical network, and therefore, the optical network unit used by the user is the optical network terminal.
An Optical line Terminal (ONT) is one of Optical Network units. The ONT is different from the ONU in that the ONT is a terminal of the optical network and is directly located at a user side.
The optical line terminal is generally an optical modem.
Preferably, the embodiment of the invention is used for detecting the state of the downstream port of the optical splitter. Correspondingly, the active network equipment connected to the optical splitter is an optical line terminal.
The format of the upper PON port of the optical splitter is as follows: rack-subrack-slot-port.
Based on the above embodiment, determining the corresponding optical network terminal as the optical network terminal connected downstream from the downstream port further includes: and acquiring a broadband account corresponding to the optical network terminal, and determining the corresponding broadband account as the broadband account corresponding to the downlink port.
Specifically, after the corresponding optical network terminal is determined as the optical network terminal with the port connected downstream, the broadband account corresponding to the optical network terminal may be obtained according to the information of the optical network terminal, and the information of the user is determined according to the broadband account.
After the broadband account corresponding to the optical network terminal is obtained, because the optical network terminal corresponds to the broadband account and the corresponding relationship between the optical network terminal and the downlink port of the optical splitter is determined, the broadband account corresponding to the downlink port of the optical splitter can be determined, and the user corresponding to the downlink port of the optical splitter can also be determined.
According to the embodiment of the invention, the broadband account corresponding to the optical splitter downlink port is determined through the broadband account corresponding to the optical network terminal, the optical splitter downlink port corresponding to the broadband account of the user can be accurately determined when the user broadband is dismounted and moved, and the influence on the service of other users caused by mistakenly pulling out the tail fiber when the user broadband is dismounted and moved is avoided.
Further, in the detection of the port state of the actual network device, it is necessary to detect the state of each downstream port into which a passive network device such as an optical splitter has been inserted into a pigtail. Because a certain time delay exists between the alarm and the alarm information of the active network equipment connected with the passive network equipment, generally 1 to 2 minutes, the state of each downlink port of the optical splitter can be detected in one step, namely, when the obtained alarm information is judged and analyzed, the tail fiber of the next port is plugged.
Fig. 3 is a functional block diagram of a system for detecting a port state of a network device according to an embodiment of the present invention. Based on the foregoing embodiments, as shown in fig. 3, a system for detecting a port status of a network device includes: the alarm obtaining module 301 is configured to obtain alarm information within a preset first time duration of an active network device that is connected to the passive network device, after a pigtail of any downlink port of the passive network device is plugged within the preset first time duration; the terminal determining module 302 is configured to, if it is determined that the alarm information is alarm information generated by plugging and unplugging a pigtail of the downlink port, obtain an optical network terminal corresponding to the alarm information, and determine the corresponding optical network terminal as the optical network terminal of the downlink port.
The specific method and flow for realizing the corresponding functions of each module included in the system for detecting the port state of the network device provided by the present invention are described in the above embodiments of the method for detecting the port state of the network device, and are not described herein again.
Fig. 4 is a block diagram of a device for detecting a port state of a network device according to an embodiment of the present invention. Based on the above embodiments, as shown in fig. 4, the device for detecting the port status of the network device includes: a processor (processor)401, a memory (memory)402, and a bus 403; wherein, the processor 401 and the memory 402 complete the communication with each other through the bus 403; processor 401 is configured to call program instructions in memory 402 to perform the methods provided by the various method embodiments described above, including, for example: a method for detecting the port state of the network equipment; judging whether the alarm information is generated by plugging and unplugging a tail fiber of a downstream port of the passive network equipment; and determining a broadband account corresponding to the downlink port of the passive network device.
Another embodiment of the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments, for example, including: a method for detecting the port state of the network equipment; judging whether the alarm information is generated by plugging and unplugging a tail fiber of a downstream port of the passive network equipment; and determining a broadband account corresponding to the downlink port of the passive network device.
Another embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the methods provided by the above method embodiments, for example, including: a method for detecting the port state of the network equipment; judging whether the alarm information is generated by plugging and unplugging a tail fiber of a downstream port of the passive network equipment; and determining a broadband account corresponding to the downlink port of the passive network device.
The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for detecting the port state of a network device is characterized by comprising the following steps:
after a tail fiber of any downlink port of a passive network device is plugged within a preset first time length, acquiring alarm information of an active network device connected to the passive network device within the preset first time length;
if the alarm information is judged and obtained to be the alarm information generated by plugging and unplugging the tail fiber of the port, acquiring the optical network terminal corresponding to the alarm information, and determining the corresponding optical network terminal as the optical network terminal of the downstream port;
the specific steps of plugging and unplugging the tail fiber of any downlink port of the passive network device within a preset first time length comprise:
performing multi-group plugging and unplugging on the tail fiber of any downlink port of the passive network equipment within a preset first time length; the time interval between two adjacent groups of plugs and unplugs does not exceed the preset first interval time; each group of plugging and unplugging comprises the steps of unplugging the tail fiber from the lower connection port, and plugging the tail fiber into the lower connection port within the preset first interval time after the tail fiber is unplugged;
the specific steps of judging whether the alarm information is generated by plugging the tail fiber of the downstream port include:
if the number of times of alarming in the alarming information is judged to be the same as the number of groups for plugging and unplugging the tail fiber of the downstream port, whether the time intervals between two adjacent alarming in the alarming information are all smaller than a preset second interval time is judged;
if the time intervals between the two adjacent alarms are smaller than the preset second interval time, judging whether the time length of each alarm in the alarm information is larger than the preset second time length;
and if the time length of each alarm is not greater than the preset second time length, determining the alarm information as the alarm information generated by plugging and unplugging the tail fiber of the downlink port.
2. The method of claim 1, wherein the first duration is 20 to 30 seconds.
3. The method according to claim 2, wherein the first interval time is 1 to 2 seconds; the second interval time is 2 to 4 seconds; the second time period is 3 seconds.
4. The method for detecting the port status of the network device according to any one of claims 1 to 3, wherein the passive network device is an optical splitter; the active network equipment is an optical line terminal.
5. The method according to claim 4, wherein determining the corresponding onu as the onu connected downstream to the downstream port further comprises:
and acquiring a broadband account corresponding to the optical network terminal, and determining the corresponding broadband account as the broadband account corresponding to the downlink port.
6. A system for detecting a port status of a network device, comprising:
the alarm acquisition module is used for acquiring alarm information of active network equipment which is connected with the passive network equipment in an uplink manner within a preset first time length after a tail fiber of any downlink port of the passive network equipment is plugged within the preset first time length;
the terminal determining module is used for acquiring an optical network terminal corresponding to the alarm information and determining the corresponding optical network terminal as the optical network terminal connected with the downstream port in the downstream direction if the alarm information is judged to be the alarm information generated by plugging and unplugging the tail fiber of the downstream port;
the specific steps of plugging and unplugging the tail fiber of any downlink port of the passive network device within a preset first time length comprise:
performing multi-group plugging and unplugging on the tail fiber of any downlink port of the passive network equipment within a preset first time length; the time interval between two adjacent groups of plugs and unplugs does not exceed the preset first interval time; each group of plugging and unplugging comprises the steps of unplugging the tail fiber from the lower connection port, and plugging the tail fiber into the lower connection port within the preset first interval time after the tail fiber is unplugged;
the terminal determining module is specifically configured to:
if the number of times of alarming in the alarming information is judged to be the same as the number of groups for plugging and unplugging the tail fiber of the downstream port, whether the time intervals between two adjacent alarming in the alarming information are all smaller than a preset second interval time is judged;
if the time intervals between the two adjacent alarms are smaller than the preset second interval time, judging whether the time length of each alarm in the alarm information is larger than the preset second time length;
and if the time length of each alarm is not greater than the preset second time length, determining the alarm information as the alarm information generated by plugging and unplugging the tail fiber of the downlink port.
7. A device for detecting a port status of a network device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 5.
CN201810707313.9A 2018-07-02 2018-07-02 Method and system for detecting port state of network equipment Active CN109218857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810707313.9A CN109218857B (en) 2018-07-02 2018-07-02 Method and system for detecting port state of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810707313.9A CN109218857B (en) 2018-07-02 2018-07-02 Method and system for detecting port state of network equipment

Publications (2)

Publication Number Publication Date
CN109218857A CN109218857A (en) 2019-01-15
CN109218857B true CN109218857B (en) 2021-08-13

Family

ID=64989838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810707313.9A Active CN109218857B (en) 2018-07-02 2018-07-02 Method and system for detecting port state of network equipment

Country Status (1)

Country Link
CN (1) CN109218857B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113684B (en) * 2019-05-16 2022-07-05 上海光维通信技术股份有限公司 Active tandem resource checking instrument for PON (passive optical network) and resource acquisition method
CN110493669B (en) * 2019-07-17 2022-05-10 中国移动通信集团黑龙江有限公司 Network resource checking method, device, equipment and computer storage medium
CN112448757B (en) * 2019-09-04 2022-09-23 中国电信股份有限公司 Port occupation testing method and system, user terminal, background system and medium
CN111601329B (en) * 2020-04-15 2023-08-18 网宿科技股份有限公司 Port interrupt alarm processing method and device
CN112039881B (en) * 2020-08-31 2022-06-17 中邮科通信技术股份有限公司 Method for automatically and rapidly identifying port connected with set top box
CN113765699A (en) * 2021-07-20 2021-12-07 北京思特奇信息技术股份有限公司 Detection method for real-time rolling update of passive equipment port
CN114244427B (en) * 2021-12-22 2024-03-01 中国电信股份有限公司 Method and device for checking optical fiber network port resource and computer readable medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130627A (en) * 2016-08-08 2016-11-16 中国电信股份有限公司广东传送网络运营中心 Optical access network faulty section makes a decision method for position and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107529101B (en) * 2016-06-21 2022-05-13 中兴通讯股份有限公司 Mobile terminal, passive optical network information collection method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130627A (en) * 2016-08-08 2016-11-16 中国电信股份有限公司广东传送网络运营中心 Optical access network faulty section makes a decision method for position and system

Also Published As

Publication number Publication date
CN109218857A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109218857B (en) Method and system for detecting port state of network equipment
CN102752042B (en) Optical line monitoring apparatus and optical line monitoring method
CN102035599A (en) FTTH passive optical link monitoring system and method
CN110493670B (en) Optical cable interruption judgment method and device
CN109819352B (en) Optical fiber data processing system architecture and processing method
HUE030539T2 (en) Optical distribution method, device and system
CN112448757B (en) Port occupation testing method and system, user terminal, background system and medium
KR20090100109A (en) The optical fiber monitoring apparatus and method using optical pulse pattern
KR101965403B1 (en) Apparatus and method for monitoring optical line
CN101540936A (en) Station terminal device, communication system, subscriber device management method
JP2014121009A (en) Communication monitoring device, communication monitoring method and optical line test system
WO2016202044A1 (en) Method and apparatus for detecting fault point of optical fiber
KR20110061254A (en) Detecting apparatus and method for optical line in passive optical network system
CN106788701B (en) A kind of method and system positioning the segment fault of ODN network
JP5315269B2 (en) Optical equipment judgment system and judgment method
CN109995428A (en) The optical path detection method and device of passive optical network
US11349563B2 (en) Communication monitor method and communication monitor device
CN110113684B (en) Active tandem resource checking instrument for PON (passive optical network) and resource acquisition method
EP4181424A1 (en) Systems and methods for mapping optical connections in a fiber distribution hub of a passive optical network
EP4180848A1 (en) Passive optical couplers having passive optical activity indicators and methods of operating the same
CN108882061B (en) ODN resource combing method, device and system
CN214125291U (en) Performance monitoring device and system of optical fiber network
CN109547117B (en) Optical fiber user information acquisition device, method and system
JP5661199B2 (en) Communication failure detection device
US11496714B1 (en) Systems and methods for collecting information regarding optical connections in a fiber distribution hub of a passive optical network

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