CN110365406B - Method and equipment for evaluating performance of optical port of IP network - Google Patents

Method and equipment for evaluating performance of optical port of IP network Download PDF

Info

Publication number
CN110365406B
CN110365406B CN201910641492.5A CN201910641492A CN110365406B CN 110365406 B CN110365406 B CN 110365406B CN 201910641492 A CN201910641492 A CN 201910641492A CN 110365406 B CN110365406 B CN 110365406B
Authority
CN
China
Prior art keywords
optical
optical port
optical power
port
channel
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
CN201910641492.5A
Other languages
Chinese (zh)
Other versions
CN110365406A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910641492.5A priority Critical patent/CN110365406B/en
Publication of CN110365406A publication Critical patent/CN110365406A/en
Application granted granted Critical
Publication of CN110365406B publication Critical patent/CN110365406B/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
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • 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
    • H04B10/0795Performance monitoring; Measurement of transmission parameters
    • H04B10/07955Monitoring or measuring power

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 embodiment of the invention provides a method and equipment for evaluating the performance of an optical port of an IP network, wherein the method comprises the following steps: receiving optical port data and optical power range data of the optical port, which are returned by the IP network equipment; determining the channel number of the optical port according to the optical port data; acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period; and comparing the maximum value and the minimum value of the current optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port, so that the normal use of IP network equipment is not influenced, the test with service and batch test can be carried out, and the test efficiency is higher.

Description

Method and equipment for evaluating performance of optical port of IP network
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and equipment for evaluating the performance of an optical port of an IP network.
Background
With the continuous promotion of the social information process, the demand for broadband increases day by day, and with the rapid development of public cloud, internet and artificial intelligence, the 100G system is also deployed on a large scale. However, the 100G standard mainly comes from organizations such as IEEE, ITU, and multi-protocol MSA industry alliance, and the like, the mainstream of the port optical module is packaged with various forms such as CXP, CFP2, CFP4, CFP8, QSFP28, and the number of channels, the rate per channel, and the sensitivity of the port optical module are not uniform, so that the port performance is difficult to judge.
At present, the existing off-line testing method mainly detects the interface transmitting end and the interface receiving end respectively through a measuring instrument. The emission end detection adopts a light oscilloscope to form an eye pattern and compares the eye pattern with the template eye pattern; the detection of the receiving end is determined according to the error rates of different optical powers by accessing a standard light source and an attenuator.
However, the inventors found that the prior art has at least the following technical problems: the interface transmitting end and the interface receiving end are respectively detected by the measuring instrument, the service test cannot be carried out, the use of the interface is influenced, the batch test cannot be completed, and the test efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for evaluating the performance of an optical port of an IP network, which aim to solve the problems that in the prior art, a measuring instrument is used for respectively detecting an interface transmitting end and an interface receiving end, the service test cannot be carried out, the use of the port is influenced, the batch test cannot be completed, and the test efficiency is low.
In a first aspect, an embodiment of the present invention provides a method for evaluating performance of an optical port of an IP network, including:
connecting IP network equipment, and determining the equipment type of the IP network equipment according to echoing information of the IP network equipment, wherein the IP network equipment is connected to a network through an optical port;
sending an optical port data extraction instruction to the IP network equipment according to the equipment type, and receiving optical port data and optical power range data of the optical port, which are returned by the IP network equipment;
determining the channel number of the optical port according to the optical port data;
acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period;
and comparing the current maximum value and the current minimum value of the optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port.
In one possible design, the optical power range data of the optical port includes an optical port receiving sensitivity range and a transmitting sensitivity range, a receiving optical power range and a transmitting optical power range;
the current optical power maximum and minimum values include a current received optical power maximum and minimum value and a current transmitted optical power maximum and minimum value.
In a possible design, the determining the optical power performance of the optical port according to the comparison between the maximum value and the minimum value of the optical power in the sampling period corresponding to each channel of the optical port and the optical power range data includes:
if the maximum value and the minimum value of the received light power of any channel exceed the receiving sensitivity range, or the maximum value and the minimum value of the transmitted light power of the channel exceed the transmitting sensitivity range, marking the channel to have channel performance early warning;
and if the maximum value and the minimum value of the received optical power of any channel exceed the received optical power range, or the maximum value and the minimum value of the transmitted optical power of the channel exceed the transmitted optical power range, marking that the channel has channel performance faults.
In one possible design, the method further includes:
acquiring the number of channels with channel performance faults in each channel of the optical port;
and determining the ratio of the number of the channels with the channel performance faults to the total number of the channels of the optical port as the optical power performance reduction ratio of the optical port.
In one possible design, the optical port data includes at least: module encapsulation type, encapsulation standard, link quality level, physical state, and port traffic.
In one possible design, after receiving the optical port data returned by the IP network device, the method further includes:
screening out optical ports with good link quality grade, normal starting physical state and non-zero port flow from all the optical port data as the in-use optical ports;
and continuing to perform the step of determining the number of channels of the optical port and the optical power range data of the optical port according to the optical port data for the optical port.
In a second aspect, an embodiment of the present invention provides an IP network optical port performance evaluation device, including:
the connection module is used for connecting IP network equipment and determining the equipment type of the IP network equipment according to echoing information of the IP network equipment, wherein the IP network equipment is connected to a network through an optical port;
a receiving module, configured to send an optical port data extraction instruction to the IP network device according to the device type, and receive optical port data and optical power range data of the optical port, which are returned by the IP network device;
the channel number determining module is used for determining the channel number of the optical port according to the optical port data;
the current optical power acquisition module is used for acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period and recording the maximum value and the minimum value of the current optical power in the preset sampling period;
and the optical power performance determining module is used for comparing the current maximum value and the current minimum value of the optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port.
In one possible design, the optical power range data of the optical port includes an optical port receiving sensitivity range and a transmitting sensitivity range, a receiving optical power range and a transmitting optical power range;
the current optical power maximum and minimum values include a current received optical power maximum and minimum value and a current transmitted optical power maximum and minimum value.
In a third aspect, an embodiment of the present invention provides an IP network optical port performance evaluation device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the method for evaluating performance of an optical port of an IP network as described above in the first aspect and in various possible designs of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method for evaluating performance of an optical port of an IP network according to the first aspect and various possible designs of the first aspect is implemented.
The method and the device for evaluating the performance of the optical port of the IP network provided by the embodiment of the invention receive the optical port data and the optical power range data of the optical port returned by the IP network device; determining the channel number of the optical port according to the optical port data; acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period; and comparing the maximum value and the minimum value of the current optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port, so that the normal use of IP network equipment is not influenced, the test with service and batch test can be carried out, and the test efficiency is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of an application scenario of performance evaluation of an optical port of an IP network according to an embodiment of the present invention;
fig. 2 is a first schematic flowchart of a method for evaluating performance of an optical port of an IP network according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a second method for evaluating performance of an optical port of an IP network according to an embodiment of the present invention;
fig. 4 is a first schematic structural diagram of an IP network optical port performance evaluation device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram ii of an IP network optical port performance evaluation device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an IP network optical port performance evaluation 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 schematic diagram of an application scenario of performance evaluation of an optical port of an IP network according to an embodiment of the present invention. As shown in fig. 1, the system provided in this embodiment includes a terminal 101, an IP network device 102, and a network 103. The terminal 101 may be a personal computer, a mobile phone, a tablet, or the like. Network device 102 may be an optical network device, such as an optical modem, having an optical port through which data interaction with network 103 is enabled.
The network 103 may be the internet, among others. The terminal 101 may be connected to the IP network device 102 via wired or wireless connection.
Fig. 2 is a flowchart illustrating a first method for evaluating performance of an optical port of an IP network according to an embodiment of the present invention, where an execution main body of the embodiment may be a terminal in the embodiment shown in fig. 1, and the embodiment is not limited herein. As shown in fig. 2, the method includes:
s201: connecting IP network equipment, and determining the equipment type of the IP network equipment according to echoed information of the IP network equipment, wherein the IP network equipment is connected to a network through an optical port.
In this embodiment, the IP network device may be connected in a plurality of ways, such as telnet, ssh, and stelnet. The implemented program may include Python paramiko, getent.
When the terminal is connected with the IP network equipment, the echoing information of the IP network equipment can be displayed on the terminal. Wherein the echoed information comprises the device type of the IP network device. For example, the device types may be IP network device models of different network vendors.
S202: and sending an optical port data extraction instruction to the IP network equipment according to the equipment type, and receiving optical port data and optical power range data returned by the IP network equipment.
In this embodiment, the optical port data extraction instruction is used to extract the optical port data of the optical port corresponding to the IP network device.
The optical port data may include a module encapsulation type, an encapsulation standard, a link quality level, a physical state, port traffic, and the like.
The optical power range data includes an optical port receiving sensitivity range and a transmitting sensitivity range, and a receiving optical power range and a transmitting optical power range.
S203: the number of channels of the optical port is determined according to the optical port data.
In this embodiment, the module encapsulation type may be used as a key field, and the number of channels of the optical port may be determined by the encapsulation standard.
For example, CFP package standards typically consist of 10 x 10G and 4 x 25G lanes, and QSFP packages typically consist of 4 x 25G lanes.
S204: and acquiring the current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period.
In this embodiment, since the forwarding cycle time is usually 15 seconds in order to avoid the generation of network loops in the IP network, the preset sampling period should be greater than or equal to 15 seconds.
And the maximum value and the minimum value of the current optical power are respectively the peak value and the valley value of the current optical power.
Wherein the current maximum and minimum optical powers include current received optical power maximum and minimum, and current transmitted optical power maximum and minimum. That is, the current optical power maximum and minimum values include the peak and valley values of the current received optical power, and the peak and valley values of the current transmitted optical power.
Referring to table 1, table 1 is an example of optical port information provided by an embodiment of the present invention. The optical port information includes optical port data and optical power range data, the number of channels of the optical port, the maximum value and the minimum value of the current optical power in the sampling period, and the like.
Table 1 is an example of optical port information provided by an embodiment of the present invention
Figure BDA0002132029080000061
S205: and comparing the maximum value and the minimum value of the optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port.
In this embodiment, it may be determined whether the optical power performance of the port is early-warning or degraded by determining whether the maximum value and the minimum value of the optical power of each channel exceed the optical power range data.
As can be seen from the above description, the present embodiment receives the optical port data and the optical power range data of the optical port returned by the IP network device; determining the channel number of the optical port according to the optical port data; acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period; and comparing the maximum value and the minimum value of the current optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port, so that the normal use of IP network equipment is not influenced, the test with service and batch test can be carried out, and the test efficiency is higher.
Fig. 3 is a second schematic flowchart of a method for evaluating performance of an optical port of an IP network according to an embodiment of the present invention, and this embodiment describes in detail a specific implementation process of determining optical power performance of the optical port in step S205, based on the embodiment of fig. 2, by comparing a maximum value and a minimum value of optical power in a sampling period corresponding to each channel of the optical port with the optical power range data. As shown in fig. 3, the method includes:
s301: and if the maximum value and the minimum value of the received light power of any channel exceed the receiving sensitivity range, or the maximum value and the minimum value of the transmitted light power of the channel exceed the transmitting sensitivity range, the maximum value and the minimum value of the received light power of the channel do not exceed the receiving light power range, and the maximum value and the minimum value of the transmitted light power of the channel do not exceed the transmitting light power range, marking that the channel performance early warning occurs in the channel.
S302: and if the maximum value and the minimum value of the received optical power of any channel exceed the received optical power range, or the maximum value and the minimum value of the transmitted optical power of the channel exceed the transmitted optical power range, marking that the channel has channel performance faults.
In this embodiment, assume that the receiving sensitivity range Rx Warning range of a certain 100G optical port is [ -10.604,4.499] dBm; transmitting a sensitivity range Tx transmitting range [ -4.300,4.499] dBm; the received optical power range Rx range is [ -12,5] dBm; the transmitted optical power range Tx range is [0,5] dBm.
If the minimum value of the received optical power of a certain channel in the channels of the 100G optical port is rx-11, the minimum value is lower than-10.604, which is the lower limit of the receiving sensitivity range, and is higher than-12, which is the lower limit of the receiving optical power range, it is determined that the channel has no fault but is a performance early warning.
If the minimum value of the received optical power of the other channel in the channels of the 100G optical port is rx-15, which is lower than the lower limit of the receiving sensitivity range-10.604, and is also lower than the lower limit of the receiving optical power range-12, it is determined that the channel has no channel performance fault.
S303: acquiring the number of channels with channel performance faults in each channel of the optical port; and determining the ratio of the number of the channels with the channel performance faults to the total number of the channels of the optical port as the optical power performance reduction ratio of the optical port.
In this embodiment, if a port uses x channels (v1 to vx), and y channels (y ≦ x) of the x channels are channels with channel performance failure, the optical power performance degradation ratio of the optical port is y/x.
As can be seen from the above description, in this embodiment, the optical power of each channel of the optical port, the receiving sensitivity range and the transmitting sensitivity range of the optical port, and the receiving optical power range and the transmitting optical power range are compared to determine the performance early warning and the failure condition of each channel, and further determine the ratio of the number of channels with performance failure to the total number of channels of the optical port, and visually determine the optical power performance degradation ratio of the optical port.
In an embodiment of the present invention, after the receiving, in step S201, the optical port data returned by the IP network device, the method further includes:
screening out optical ports with good link quality grade, normal starting physical state and non-zero port flow from all the optical port data as the in-use optical ports;
and for the optical port being used, the step of determining the number of channels of the optical port and the optical power range data of the optical port based on the optical port data is performed.
In this embodiment, the optical ports with good link quality level screening, normal starting in physical state and non-zero port flow are screened from all the optical port data, so that data acquisition of invalid ports is reduced and processing efficiency is improved.
Fig. 4 is a schematic structural diagram of a first device for evaluating performance of an optical port of an IP network according to an embodiment of the present invention. As shown in fig. 4, the IP network optical port performance evaluation device 40 includes: a connection module 401, a receiving module 402, a channel number determination module 403, a current optical power acquisition module 404, and an optical power performance determination module 405.
A connection module 401, configured to connect to an IP network device, and determine a device type of the IP network device according to echoing information of the IP network device, where the IP network device is connected to a network through an optical port;
a receiving module 402, configured to send an optical port data extraction instruction to the IP network device according to the device type, and receive optical port data and optical power range data of the optical port, which are returned by the IP network device;
a channel number determining module 403, configured to determine the number of channels of the optical port according to the optical port data;
a current optical power acquisition module 404, configured to obtain current optical powers corresponding to channels of the optical port according to a preset sampling period, and record a maximum value and a minimum value of the current optical powers within the preset sampling period;
an optical power performance determining module 405, configured to compare the current maximum and minimum optical powers in the sampling period corresponding to each channel of the optical port with the optical power range data, and determine the optical power performance of the optical port.
The device provided in this embodiment may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In an embodiment of the present invention, the optical power range data of the optical port includes an optical port receiving sensitivity range and a transmitting sensitivity range, a receiving optical power range and a transmitting optical power range;
the current optical power maximum and minimum values include a current received optical power maximum and minimum value and a current transmitted optical power maximum and minimum value.
In one embodiment of the present invention, the optical power performance determining module 405 includes:
a first determining unit 4051, configured to mark that a channel performance early warning occurs in a channel if a maximum value and a minimum value of received optical power of any channel exceed a receiving sensitivity range, or a maximum value and a minimum value of transmitted optical power of the channel exceed a transmitting sensitivity range;
the second determining unit 4052 is configured to mark that a channel performance fault occurs in any channel if the maximum and minimum received optical powers of the channel exceed the received optical power range, or the maximum and minimum transmitted optical powers of the channel exceed the transmitted optical power range.
In an embodiment of the present invention, the optical power performance determining module 405 further includes:
a third determining unit 4053, configured to obtain the number of channels with channel performance failure in each channel of the optical port;
and determining the ratio of the number of the channels with the channel performance faults to the total number of the channels of the optical port as the optical power performance reduction ratio of the optical port.
In one embodiment of the invention, the optical port data comprises at least: module encapsulation type, encapsulation standard, link quality level, physical state, and port traffic.
Referring to fig. 5, in one embodiment of the invention, the apparatus further comprises:
an optical port screening module 406, configured to screen, from all optical port data, an optical port with good link quality level screening, a physical state of normal start, and a non-zero port flow as an active optical port;
and continuing to perform the step of determining the number of channels of the optical port and the optical power range data of the optical port according to the optical port data for the optical port.
The device provided in this embodiment may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic diagram of a hardware structure of an IP network optical port performance evaluation device according to an embodiment of the present invention. As shown in fig. 6, the IP network optical port performance evaluation device 60 of the present embodiment includes: a processor 601 and a memory 602; wherein
A memory 602 for storing computer-executable instructions;
the processor 601 is configured to execute the computer execution instructions stored in the memory to implement the steps performed by the terminal in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 602 may be separate or integrated with the processor 601.
When the memory 602 is separately provided, the IP network optical port performance evaluation apparatus further includes a bus 603 for connecting the memory 602 and the processor 601.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the method for evaluating the performance of the optical port of the IP network is implemented.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An IP network optical port performance evaluation method is characterized by comprising the following steps:
connecting IP network equipment, and determining the equipment type of the IP network equipment according to echoing information of the IP network equipment, wherein the IP network equipment is connected to a network through an optical port;
sending an optical port data extraction instruction to the IP network equipment according to the equipment type, and receiving optical port data and optical power range data of the optical port, which are returned by the IP network equipment;
determining the channel number of the optical port according to the optical port data;
acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period, and recording the maximum value and the minimum value of the current optical power in the preset sampling period;
comparing the current maximum value and the current minimum value of the optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port;
after receiving the optical port data returned by the IP network device, the method further includes:
screening out optical ports with good link quality grade, normal starting physical state and non-zero port flow from all the optical port data as the in-use optical ports;
and continuing to perform the step of determining the number of channels of the optical port and the optical power range data of the optical port according to the optical port data for the optical port.
2. The method of claim 1,
the optical power range data of the optical port comprises an optical port receiving sensitivity range, an optical port transmitting sensitivity range, an optical port receiving optical power range and an optical port transmitting optical power range;
the current optical power maximum and minimum values include a current received optical power maximum and minimum value and a current transmitted optical power maximum and minimum value.
3. The method according to claim 2, wherein the determining the optical power performance of the optical port according to the comparison between the maximum value and the minimum value of the optical power in the sampling period corresponding to each channel of the optical port and the optical power range data comprises:
if the maximum value and the minimum value of the received light power of any channel exceed the receiving sensitivity range, or the maximum value and the minimum value of the transmitted light power of the channel exceed the transmitting sensitivity range, marking the channel to have channel performance early warning;
and if the maximum value and the minimum value of the received optical power of any channel exceed the received optical power range, or the maximum value and the minimum value of the transmitted optical power of the channel exceed the transmitted optical power range, marking that the channel has channel performance faults.
4. The method of claim 3, further comprising:
acquiring the number of channels with channel performance faults in each channel of the optical port;
and determining the ratio of the number of the channels with the channel performance faults to the total number of the channels of the optical port as the optical power performance reduction ratio of the optical port.
5. The method according to any of claims 1 to 4, wherein the optical port data comprises at least: module encapsulation type, encapsulation standard, link quality level, physical state, and port traffic.
6. An IP network optical port performance evaluation device, comprising:
the connection module is used for connecting IP network equipment and determining the equipment type of the IP network equipment according to echoing information of the IP network equipment, wherein the IP network equipment is connected to a network through an optical port;
a receiving module, configured to send an optical port data extraction instruction to the IP network device according to the device type, and receive optical port data and optical power range data of the optical port, which are returned by the IP network device;
the channel number determining module is used for determining the channel number of the optical port according to the optical port data;
the current optical power acquisition module is used for acquiring current optical power corresponding to each channel of the optical port according to a preset sampling period and recording the maximum value and the minimum value of the current optical power in the preset sampling period;
the optical power performance determining module is used for comparing the current maximum value and the current minimum value of the optical power in the sampling period corresponding to each channel of the optical port with the optical power range data to determine the optical power performance of the optical port;
the optical port screening module is used for screening out optical ports with good link quality grade screening, normal starting in a physical state and nonzero port flow as the active optical ports from all the optical port data;
and continuing to perform the step of determining the number of channels of the optical port and the optical power range data of the optical port according to the optical port data for the optical port.
7. The apparatus of claim 6, wherein the optical port optical power range data comprises an optical port receive sensitivity range and a transmit sensitivity range, a receive optical power range and a transmit optical power range;
the current optical power maximum and minimum values include a current received optical power maximum and minimum value and a current transmitted optical power maximum and minimum value.
8. An IP network optical port performance evaluation device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the IP network optical port performance evaluation method of any of claims 1 to 5.
9. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method for evaluating the performance of the optical port of the IP network according to any one of claims 1 to 5 is implemented.
CN201910641492.5A 2019-07-16 2019-07-16 Method and equipment for evaluating performance of optical port of IP network Active CN110365406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910641492.5A CN110365406B (en) 2019-07-16 2019-07-16 Method and equipment for evaluating performance of optical port of IP network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910641492.5A CN110365406B (en) 2019-07-16 2019-07-16 Method and equipment for evaluating performance of optical port of IP network

Publications (2)

Publication Number Publication Date
CN110365406A CN110365406A (en) 2019-10-22
CN110365406B true CN110365406B (en) 2020-11-24

Family

ID=68219652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910641492.5A Active CN110365406B (en) 2019-07-16 2019-07-16 Method and equipment for evaluating performance of optical port of IP network

Country Status (1)

Country Link
CN (1) CN110365406B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132004A (en) * 2021-04-14 2021-07-16 浪潮天元通信信息系统有限公司 Method for counting light receiving and emitting power of network equipment interface and computer readable medium
CN115242610A (en) * 2022-07-20 2022-10-25 中国电信股份有限公司 Link quality monitoring method and device, electronic equipment and computer readable storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640612B (en) * 2009-09-07 2011-12-07 杭州华三通信技术有限公司 Method and device for flow path discovery and fault fast positioning
CN103457791B (en) * 2013-08-19 2016-09-28 国家电网公司 A kind of intelligent substation network samples and the self-diagnosing method of control link
CN103746852B (en) * 2014-01-21 2017-04-19 华为技术有限公司 Service routing configuration method and network management equipment
CN106330299A (en) * 2015-06-16 2017-01-11 中兴通讯股份有限公司 Optical port state judgment method, device and optical communication system
CN105024857B (en) * 2015-07-21 2019-07-19 广州咨元信息科技有限公司 A method of with bypass mode to IP network optical power automated analysis
CN106341181B (en) * 2016-08-26 2019-05-28 成都九洲迪飞科技有限责任公司 Optical fibre link circuit testing method
KR101851128B1 (en) * 2016-11-03 2018-04-23 주식회사 유비쿼스 An apparatus and method for load balancing among multi-ports in reverse power feeding
CN107749778B (en) * 2017-09-20 2019-11-12 北京市天元网络技术股份有限公司 A kind of communications optical cable fault early warning method and device
CN108667511A (en) * 2018-05-18 2018-10-16 国家电网公司信息通信分公司 Optical transport network operation risk method for early warning based on depth finding and system
CN108923850B (en) * 2018-06-14 2020-01-21 烽火通信科技股份有限公司 Parallel multi-channel optical module testing device for 40Gbs, 100Gbs and 120Gbs
CN108900243B (en) * 2018-06-28 2021-06-04 青岛海信宽带多媒体技术有限公司 Method and device for sampling ONU equipment state information and optical line terminal
CN109039451A (en) * 2018-09-18 2018-12-18 武汉恒泰通技术有限公司 A kind of optical module monitoring system

Also Published As

Publication number Publication date
CN110365406A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN110365406B (en) Method and equipment for evaluating performance of optical port of IP network
CN113014339B (en) Quality test method, device and equipment for PCIe external plug-in card receiving channel
CN109660422B (en) Network card bandwidth testing method, device, terminal and storage medium based on multiple processes
CN112269120A (en) Interface signal loop test method and device, computer equipment and storage medium
CN109217922B (en) Method and device for reporting loss alarm of received signal by optical module
CN112953753A (en) Data acquisition method and device, terminal equipment and storage medium
CN114325534A (en) Signal testing method, device, equipment and readable storage medium
CN109428778B (en) Mainboard network connectivity test method and device
CN111157813B (en) Method and device for determining charging current
CN114167132B (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN113676380B (en) Switch port testing method, electronic equipment and system
CN116560889A (en) Data link management method, device, computer equipment and storage medium
CN117271178A (en) Parameter configuration method and board fault diagnosis method
CN111786898A (en) Monitoring equipment information acquisition method, device, equipment and medium
CN116755024A (en) Method and device for testing electric energy meter communication interface and readable storage medium
CN115580359A (en) Method and system for detecting passive intermodulation of base station
US11074384B1 (en) Method for simulating signal integrity of hybrid model
CN115562916A (en) Method, device and medium for evaluating signal quality
CN114448915A (en) Link fault diagnosis method and device, electronic equipment and readable storage medium
US8369392B2 (en) Cable modem
CN112463483A (en) UPI pressure testing method, system, terminal and storage medium
CN110674000B (en) Signal testing method and device
CN108957237B (en) Abnormal line detection method, device, equipment and storage medium
CN107491357B (en) Reliability and efficiency analysis system
CN117155837A (en) Switch chip testing method and device, electronic equipment and storage medium

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