CN106506074A - A kind of method and apparatus of detection optical port state - Google Patents

A kind of method and apparatus of detection optical port state Download PDF

Info

Publication number
CN106506074A
CN106506074A CN201610889803.6A CN201610889803A CN106506074A CN 106506074 A CN106506074 A CN 106506074A CN 201610889803 A CN201610889803 A CN 201610889803A CN 106506074 A CN106506074 A CN 106506074A
Authority
CN
China
Prior art keywords
optical port
cpu
value
programmable logic
logic chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610889803.6A
Other languages
Chinese (zh)
Other versions
CN106506074B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201610889803.6A priority Critical patent/CN106506074B/en
Publication of CN106506074A publication Critical patent/CN106506074A/en
Application granted granted Critical
Publication of CN106506074B publication Critical patent/CN106506074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0791Fault location on the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

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

Abstract

The application provides a kind of method and apparatus of detection optical port state, is applied to frame-type switch equipment, and methods described includes:The RX_LOS signals of programmable logic chip real-time detection optical module;If RX_LOS signal values change, programmable logic chip is by the addressable default memory headrooms of value write CPU corresponding to the RX_LOS signals for detecting;By programmable logic chip interrupt signal, the value in the default memory headroom is reported to CPU, optical port link down detections are carried out with the optical port state by CPU according to indicated by the value in the default memory headroom.The technical scheme provided using the application, can accelerate optical port link down detection speeds, reduce the utilization rate of CPU and the reliability of raising equipment.

Description

A kind of method and apparatus of detection optical port state
Technical field
The application is related to network communication technology field, more particularly to a kind of method and apparatus of detection optical port state.
Background technology
In Layer2 switching network, constantly circulate and hyperplasia in loop once there is looped network and will result in message, produce Broadcast storm, so as to occupy all of effective bandwidth, becomes unavailable network, and in this case, Spanning-Tree Protocol should Transport and give birth to.Spanning-Tree Protocol reaches the purpose for eliminating network double-layer loop by selectively clogging networks redundant link, It is provided simultaneously with the function of link backup.
However, Spanning-Tree Protocol is higher for convergence rate is usually required that, such as usually require that convergence rate reach 1 second with Interior.In actual applications, due to by hardware, interface type, software optical port Scanning Detction mechanism between networking equipment equal because The impact of element so that the convergence rate of the switch device of some 10,000,000,000 optical ports is extremely difficult to this requirement.
Content of the invention
In view of this, the application provides a kind of method and apparatus of detection optical port state, is applied to frame-type switch equipment, Accelerate the speed of the link down event detections of optical port.
Specifically, the application is achieved by the following technical solution:
A kind of method of detection optical port state, is applied to frame-type switch equipment, in the CPU of the frame-type switch equipment Between media access control MAC chip, a piece of programmable logic chip is used as interface bridge piece, including:
The RX_LOS signals of programmable logic chip real-time detection optical module;
If RX_LOS signal values change, programmable logic chip is by corresponding to the RX_LOS signals for detecting In the addressable default memory headrooms of value write CPU;
Value in the default memory headroom is reported to CPU by interrupt signal by programmable logic chip, with by Optical port states of the CPU according to indicated by the value in the default memory headroom carries out optical port link down detections.
A kind of device of detection optical port state, is applied to frame-type switch equipment, in the CPU of the frame-type switch equipment Between media access control MAC chip, a piece of programmable logic chip is used as interface bridge piece, including:
Detector unit, for the RX_LOS signals of programmable logic chip real-time detection optical module;
Read-write cell, if changed for RX_LOS signal values, programmable logic chip is by the RX_ for detecting In the addressable default memory headrooms of value write CPU corresponding to LOS signals;
Reporting unit, for programmable logic chip by interrupt signal, by the value in the default memory headroom Report to CPU, optical port link down is carried out with the optical port state by CPU according to indicated by the value in the default memory headroom Detection.
In the application, by the RX_LOS signals of programmable logic chip real-time detection optical module;If RX_LOS signals Value changes, and programmable logic chip will be addressable pre- for the value write CPU corresponding to the RX_LOS signals for detecting If in memory headroom;Then the value in the default memory headroom is reported to by programmable logic chip by interrupt signal CPU, carries out optical port link down detections with the optical port state by CPU according to indicated by the value in the default memory headroom.
As programmable logic chip can pass through when the RX_LOS signals for detecting optical module in real time change Interrupt signal is produced by the value change events active reporting of optical port to CPU, without passing through to start in software view by CPU The value of thread periodic polling optical port come complete optical port link down detect, therefore can accelerate optical port link down events Detection speed, effectively reduce the convergence rate of equipment, reduce the utilization rate of CPU, and reduce the wrong report of link down events The reliability of probability lifting means
Description of the drawings
Fig. 1 is a kind of method flow diagram of the detection optical port state shown in one exemplary embodiment of the application;
Fig. 2 is a kind of hardware structure diagram of the frame-type switch in correlation technique shown in an exemplary embodiment;
Fig. 3 is a kind of hardware structure diagram of the frame-type switch shown in one exemplary embodiment of the application;
Fig. 4 is that a kind of device place frame-type switch of the detection optical port state shown in one exemplary embodiment of the application sets A kind of standby hardware structure diagram;
Fig. 5 is a kind of device of the detection optical port state shown in one exemplary embodiment of the application.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and is wrapped Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
In the related, RX_LOS signal reportings are typically given by optical module by equipment when the state of optical port is detected PHY chip in network interface card is completed to carry out detecting;PHY chip when the RX_LOS signals reported by optical module are detected, If the value of the RX_LOS signals for receiving is high level 1, the link states for representing optical port are normal condition;If received The value of the RX_LOS signals for arriving is low level 0, then the link states for representing optical port are down states;Meanwhile, CPU can start One thread is to PHY chip periodic polling optical port link state.
But, on the one hand, CPU carrys out the link states of periodic polling optical port so that CPU can not be right by starting thread The link down events of optical port are detected in real time, after needing the timing cycle for waiting until the thread to reach, can just remove poll light Mouthful value, the link down events that therefore can cause to detect optical port slow, so as to cause Spanning-Tree Protocol giving birth to Into network topology during, equipment convergence rate becomes very slow.
On the other hand, value of the equipment using thread periodic polling optical port, if before next polling cycle is reached, should The corresponding RX_LOS signals of optical port there occurs change, and CPU cannot be when the value of optical port changes, and the very first time detects This change, consequently, it is possible to cause the wrong report of the link down events of optical port.
In addition, then equipment carry out the link of optical port according to scanning result using thread periodic polling optical port value The mode of down detections, it may appear that when optical port value does not change, CPU still can pass through the poll optical port of thread cycle Value, so as to cause the waste of CPU process resources.
In order to solve problem present in correlation technique, this application provides a kind of method of detection optical port state, application In frame-type switch equipment, between CPU the and MAC chips of the frame-type switch equipment, using a piece of FPGA core Piece as interface bridge piece, by the RX_LOS signals of programmable logic chip real-time detection optical module;If RX_LOS signals take Value changes, and programmable logic chip will be addressable default for the value write CPU corresponding to the RX_LOS signals for detecting In memory headroom;Then the value in the default memory headroom is reported to by programmable logic chip by interrupt signal CPU, carries out optical port link down detections with the optical port state by CPU according to indicated by the value in the default memory headroom.
On the one hand, RX_LOS aspect of the programmable logic chip using real-time detection optical module, when detecting RX_ When the value of LOS signals changes, can pass through to produce interrupt signal, CPU is according to corresponding to RX_LOS signal values for notice Optical port state come carry out optical port link down detection, without ranking in the configuration processor of CPU, waiting for CPU Process, it is achieved that accelerate the target of optical port link down detection speeds, so as to generate network topology in Spanning-Tree Protocol During, lifting means convergence rate.
On the other hand, programmable logic chip is by the way of the RX_LOS signals of real-time detection optical module, in RX_LOS Signal there occurs that change, CPU can detect the value of each optical port in default internal memory at once, so that optical port link down things Part can be detected in time, be not result in the wrong report of the link down events of optical port.
In addition, by programmable logic chip interrupt signal, the value in default memory headroom is reported to CPU, then CPU is processed to this interrupt signal by interrupt task context, and does not adopt thread periodic polling optical port value, so Carry out the mode of the link down detections of optical port afterwards according to scanning result, optical port value therefore can be avoided not become During change, CPU still using thread poll optical port value, causes the situation of the waste of cpu resource, such that it is able to reduce making for CPU With rate.
Refer to Fig. 1, a kind of method of the detection optical port state shown in exemplary embodiments of the Fig. 1 shown in the application Flow chart, is applied to frame-type switch equipment, between CPU the and MAC chips of the frame-type switch equipment, using a piece of can Programmed logic chip specifically executes following steps as interface bridge piece:
Step 101:The RX_LOS signals of programmable logic chip real-time detection optical module;
Step 102:If RX_LOS signal values change, programmable logic chip is by the RX_LOS signals for detecting In the corresponding addressable default memory headrooms of value write CPU;
Step 103:By programmable logic chip interrupt signal, the value in the default memory headroom is reported to CPU, carries out optical port link down detections with the optical port state by CPU according to indicated by the value in the default memory headroom.
Fig. 2 is referred to, Fig. 2 is a kind of hardware configuration of the frame-type switch in correlation technique shown in an exemplary embodiment Figure;
In fig. 2, equipment detect optical port state when, typically by optical module by RX_LOS signal reportings to network interface card in PHY chip carrying out detecting to complete;PHY chip when the RX_LOS signals reported by optical module are detected, if The value of the RX_LOS signals for receiving is high level 1, then the link states for representing optical port are normal condition;If received The value of RX_LOS signals is low level 0, then the link states for representing optical port are down states;Meanwhile, CPU can start one Thread is to PHY chip periodic polling optical port link state.
In this example, can be to the hardware configuration of above-mentioned frame-type switch illustrated in fig. 2, and the detection of optical port state Flow process is improved, it is possible to use a piece of programmable logic chip, makees PCIE bridge pieces, carries out data with PCIE and instructs exchange Chip, the RX_LOS signals of optical module will report programmable logic chip and be processed, and programmable logic chip has been processed Cheng Hou, if the value of RX_LOS signals changes, can produce interruption, then report to the value of RX_LOS signals The addressable memory headrooms of CPU.And CPU can no longer enable thread and carry out periodic polling optical port link state, such that it is able to accelerate The detection speed of optical port link down events, lifting means run the convergence rate of Spanning-Tree Protocol.
Fig. 3 is referred to, Fig. 3 is a kind of hardware structure diagram of the frame-type switch shown in one exemplary embodiment of the application.
In this example, programmable logic chip can be with the RX_LOS signals of real-time detection optical module, when FPGA core Piece detects the value of RX_LOS signals when being 1, then show the corresponding optical port of RX_LOS signals for normal condition, such In the case of, then programmable logic chip can continue the real-time detection state for keeping the RX_LOS signals to optical module.
If RX_LOS signal values change, i.e., now programmable logic chip is detected RX_LOS signals take It is worth for 0, then shows the corresponding optical port of RX_LOS signals for down states, in this case, then programmable logic chip Value corresponding to the RX_LOS signals of detection can be write in the addressable default memory headrooms of CPU, the default internal memory Space can be the memory headroom of the memory headroom, or programmable logic chip in CPU, as long as CPU can have access to The memory headroom.
In a kind of embodiment for illustrating, optical port scanning thread, institute can be created in the CPU of frame-type switch equipment Optical port scanning thread is stated specifically for when CPU receives interrupt requests, then CPU can start light with interrupt task context Mouth scanning thread, is scanned to each optical port in the default memory headrooms of CPU, then according to the value of each optical port, to each light The link states of mouth are detected accordingly.
Under normal circumstances, the optical port of optical module is high level, and the value corresponding to optical port in CPU internal memories is 1, if Optical port is down states, then the value corresponding to optical port in CPU internal memories is 0.
When the value that programmable logic chip detects RX_LOS signals changes, programmable logic chip can be produced Interrupt signal, the interrupt signal is sent to CPU, and, in response to the interrupt signal, CPU just can be with interrupt task context, so for CPU Wake up optical port scanning thread afterwards, thread scanned by optical port the corresponding value of each optical port in default memory headroom is scanned, Detect to carry out the link down of each optical port.
If the value of scanning to arbitrary optical port is 0, now can determine that the optical port there occurs link down events, this When further the link down reporting events of the optical port for detecting can be proceeded to process to the kernel protocol stack of CPU. The kernel protocol stack of CPU can re-start association based on Spanning-Tree Protocol after the link down events that CPU is reported are received View process, recalculates network topology.
In this way, as the state-detection of optical port will be no longer dependent on the automatic regular polling of CPU, but by may be programmed Logic chip active reporting, therefore can lift the detection speed of link down events, reduce the convergence speed of Spanning-Tree Protocol Degree.
Wherein, in a kind of embodiment for illustrating, CPU is scanning all light of the thread to optical module by above-mentioned optical port When mouth is scanned, the optical port scanning thread can be swept so that whether all of optical port in real-time judge memory headroom is fully completed Retouch, if all of optical port is fully completed scanning in internal memory, terminates the optical port scanning thread, enter sleep state, wait Wake-up next time;If all optical ports do not complete to scan in internal memory, optical port scanning thread can continue to remaining light Mouth is scanned, until all of optical port is fully completed scanning.
The technical scheme provided from above the application, by the RX_ of programmable logic chip real-time detection optical module LOS signals;If RX_LOS signal values change, programmable logic chip is by corresponding to the RX_LOS signals for detecting In the addressable default memory headrooms of value write CPU;Then programmable logic chip, will be described default interior by interrupt signal The value that deposits in space reports to CPU, is entered with the optical port state by CPU according to indicated by the value in the default memory headroom Row optical port link down is detected.
On the one hand, RX_LOS aspect of the programmable logic chip using real-time detection optical module, when detecting RX_ When the value of LOS signals changes, can pass through to produce interrupt signal, CPU is according to corresponding to RX_LOS signal values for notice Optical port state come carry out optical port link down detection, without ranking in the configuration processor of CPU, waiting for CPU Process, it is achieved that accelerate the target of optical port link down detection speeds, so as to generate network topology in Spanning-Tree Protocol During, lifting means convergence rate.
On the other hand, programmable logic chip is by the way of the RX_LOS signals of real-time detection optical module, if RX_ LOS signals there occurs change, and CPU can detect the value of each optical port in default internal memory at once, so that the link of optical port Down events can be detected in time, be not result in the wrong report of the link down events of optical port.
In addition, by programmable logic chip interrupt signal, the value in default memory headroom is reported to CPU, then CPU is processed to this interrupt signal by interrupt task context, and does not adopt thread periodic polling optical port value, so Carry out the mode of the link down detections of optical port afterwards according to scanning result, optical port value therefore can be avoided not become During change, CPU still using thread poll optical port value, causes the situation of the waste of cpu resource, such that it is able to reduce making for CPU With rate.
Corresponding with a kind of aforementioned embodiment of the method for detection optical port state, present invention also provides a kind of detection optical port The embodiment of the device of state.
A kind of embodiment of the device of detection optical port state of the application can be applied on frame-type switch equipment.Device reality Apply example to realize by software, it is also possible to realize by way of hardware or software and hardware combining.As a example by implemented in software, make For the device on a logical meaning, being will be right in nonvolatile memory by the processor of its place frame-type switch equipment The computer program instructions that answers read what operation in internal memory was formed.From for hardware view, as shown in figure 4, being the application one A kind of hardware structure diagram of the device place frame-type switch equipment of kind of detection optical port state, except the processor shown in Fig. 4, interior Deposit, outside network interface and nonvolatile memory, the frame-type switch equipment that device is located in embodiment is generally according to this The actual functional capability of detection optical port state, can also include other hardware, this is repeated no more.
Fig. 5 is refer to, a kind of device of detection optical port states of the Fig. 5 shown in the application is applied to frame-type switch and sets Standby, between CPU the and MAC chips of the frame-type switch equipment, a piece of programmable logic chip is used as interface bridge piece, Described device includes:Detector unit 510, read-write cell 520, reporting unit 530.
Wherein, detector unit 510, for the RX_LOS signals of programmable logic chip real-time detection optical module.
Read-write cell 520, if changed for RX_LOS signal values, programmable logic chip will be detected In the addressable default memory headrooms of value write CPU corresponding to RX_LOS signals.
Reporting unit 530, for programmable logic chip by interrupt signal, by the value in the default memory headroom CPU is reported to, optical port link is carried out with the optical port state by CPU according to indicated by the value in the default memory headroom Down is detected.
In this example, described device also includes:
Creating unit, for creating optical port scanning thread in CPU.
Scanning element, for CPU in response to the interrupt signal for receiving, starts the optical port scanning thread to described default In memory headroom, the corresponding value of each optical port is scanned;
Performance element, for working as the optical port shape indicated by the value for detecting the arbitrary optical port recorded in the memory headroom When state is Down states, the link down events for detecting the optical port are determined.
Judging unit, for judging whether each optical port is fully completed scanning;If each optical port is fully completed swept Retouch, then terminate the optical port scanning thread.
In the present embodiment, the performance element, is further used for the link down events of the optical port that will be detected The kernel protocol stack of CPU is reported, network topology is recalculated based on Spanning-Tree Protocol.
In said apparatus, the function of unit and effect realizes that process specifically refers in said method corresponding step Process is realized, be will not be described here.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematically, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not in order to limiting the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements that is done etc. are should be included within the scope of the application protection.

Claims (10)

1. a kind of method of detection optical port state, is applied to frame-type switch equipment, it is characterised in that in the frame-type switch Between the CPU of equipment and media access control MAC chip, a piece of programmable logic chip is used as interface bridge piece, including:
The RX_LOS signals of programmable logic chip real-time detection optical module;
If RX_LOS signal values change, programmable logic chip is by the value corresponding to the RX_LOS signals for detecting In the addressable default memory headrooms of write CPU;
Value in the default memory headroom is reported to CPU, with by CPU roots by interrupt signal by programmable logic chip Optical port link down detections are carried out according to the optical port state indicated by the value in the default memory headroom.
2. method according to claim 1, it is characterised in that by CPU according to the value in the default memory headroom Before indicated optical port state carries out optical port link down detections, methods described also includes:
Optical port scanning thread is created in CPU.
3. method according to claim 2, it is characterised in that described by CPU according to taking in the default memory headroom The indicated optical port state of value carries out optical port link down detections, including:
CPU starts the optical port scanning thread to each optical port in the default memory headroom in response to the interrupt signal for receiving Corresponding value is scanned;
When the optical port state indicated by the value of arbitrary optical port that scanning is recorded in the memory headroom is Down states, really Regular inspection measures the link down events of the optical port.
4. method according to claim 3, it is characterised in that methods described also includes:
By the link down reporting events of the optical port for detecting to the kernel protocol stack of CPU, counted based on Spanning-Tree Protocol again Calculate network topology.
5. method according to claim 4, it is characterised in that methods described also includes:
Judge whether each optical port is fully completed scanning in the internal memory;
If each optical port is fully completed scanning in the internal memory, terminate the optical port scanning thread.
6. a kind of device of detection optical port state, is applied to frame-type switch equipment, it is characterised in that in the frame-type switch Between the CPU of equipment and media access control MAC chip, a piece of programmable logic chip is used as interface bridge piece, including:
Detector unit, for the RX_LOS signals of programmable logic chip real-time detection optical module;
Read-write cell, if changed for RX_LOS signal values, the RX_LOS for detecting is believed by programmable logic chip In the addressable default memory headrooms of value write CPU corresponding to number;
Reporting unit, for programmable logic chip by interrupt signal, the value in the default memory headroom is reported to CPU, carries out optical port link down detections with the optical port state by CPU according to indicated by the value in the default memory headroom.
7. device according to claim 6, it is characterised in that described device also includes:
Creating unit, for creating optical port scanning thread in CPU.
8. method according to claim 7, it is characterised in that described device also includes:
Scanning element, for CPU in response to the interrupt signal for receiving, starts the optical port scanning thread to the default internal memory In space, the corresponding value of each optical port is scanned;
Performance element, for working as the optical port state indicated by the value for detecting the arbitrary optical port recorded in the memory headroom be During Down states, the link down events for detecting the optical port are determined.
9. device according to claim 8, it is characterised in that include:
The performance element is further used for:
By the link down reporting events of the optical port for detecting to the kernel protocol stack of CPU, counted based on Spanning-Tree Protocol again Calculate network topology.
10. device according to claim 9, it is characterised in that described device also includes:
Judging unit, for judging whether value corresponding with each optical port is fully completed scanning in the internal memory;If described interior In depositing, value corresponding with each optical port is fully completed scanning, then terminate the optical port scanning thread.
CN201610889803.6A 2016-10-12 2016-10-12 A kind of method and apparatus detecting optical port state Active CN106506074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610889803.6A CN106506074B (en) 2016-10-12 2016-10-12 A kind of method and apparatus detecting optical port state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610889803.6A CN106506074B (en) 2016-10-12 2016-10-12 A kind of method and apparatus detecting optical port state

Publications (2)

Publication Number Publication Date
CN106506074A true CN106506074A (en) 2017-03-15
CN106506074B CN106506074B (en) 2019-02-19

Family

ID=58295181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610889803.6A Active CN106506074B (en) 2016-10-12 2016-10-12 A kind of method and apparatus detecting optical port state

Country Status (1)

Country Link
CN (1) CN106506074B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547303A (en) * 2017-07-06 2018-01-05 中国南方电网有限责任公司 The method for supporting the IED equipment processing NodesTable of PRP or HSR agreements
CN111131936A (en) * 2019-12-28 2020-05-08 苏州浪潮智能科技有限公司 Optical module monitoring method, monitoring device, switch and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477797A (en) * 2002-08-23 2004-02-25 华为技术有限公司 Method for implementing quick optical fibre protective inversion in ring network and its equipment
JP2005151479A (en) * 2003-11-20 2005-06-09 Nec Engineering Ltd Optical module performance monitoring system
US20070036541A1 (en) * 2005-08-10 2007-02-15 Sumitomo Electric Industries, Ltd. Optical receiver with monitoring unit and a method for detecting consecutive identical state of optical signal
CN102723988A (en) * 2012-06-12 2012-10-10 迈普通信技术股份有限公司 Control method and communication device of optical module
CN103095487A (en) * 2012-11-13 2013-05-08 瑞斯康达科技发展股份有限公司 Indication method and indication device for multiple-internet-access status
US20150358076A1 (en) * 2014-06-09 2015-12-10 Ubiquoss Inc. Port-dualized optical line terminal and passive optical network system capable of measuring rssi of standby line in standby port, and method of determining stability of standby line using the same
CN105634807A (en) * 2015-12-30 2016-06-01 北京东土科技股份有限公司 Method and apparatus for port state synchronization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477797A (en) * 2002-08-23 2004-02-25 华为技术有限公司 Method for implementing quick optical fibre protective inversion in ring network and its equipment
JP2005151479A (en) * 2003-11-20 2005-06-09 Nec Engineering Ltd Optical module performance monitoring system
US20070036541A1 (en) * 2005-08-10 2007-02-15 Sumitomo Electric Industries, Ltd. Optical receiver with monitoring unit and a method for detecting consecutive identical state of optical signal
CN102723988A (en) * 2012-06-12 2012-10-10 迈普通信技术股份有限公司 Control method and communication device of optical module
CN103095487A (en) * 2012-11-13 2013-05-08 瑞斯康达科技发展股份有限公司 Indication method and indication device for multiple-internet-access status
US20150358076A1 (en) * 2014-06-09 2015-12-10 Ubiquoss Inc. Port-dualized optical line terminal and passive optical network system capable of measuring rssi of standby line in standby port, and method of determining stability of standby line using the same
CN105634807A (en) * 2015-12-30 2016-06-01 北京东土科技股份有限公司 Method and apparatus for port state synchronization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547303A (en) * 2017-07-06 2018-01-05 中国南方电网有限责任公司 The method for supporting the IED equipment processing NodesTable of PRP or HSR agreements
CN107547303B (en) * 2017-07-06 2021-07-09 中国南方电网有限责任公司 Method for processing NodesTable by IED equipment supporting PRP or HSR protocol
CN111131936A (en) * 2019-12-28 2020-05-08 苏州浪潮智能科技有限公司 Optical module monitoring method, monitoring device, switch and storage medium

Also Published As

Publication number Publication date
CN106506074B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
US20200104484A1 (en) Iot security service
CN103200128B (en) The methods, devices and systems that a kind of network packet processes
JP4763405B2 (en) Network-on-chip semi-automatic communication architecture for data flow applications
EP2868045B1 (en) A method of and network server for detecting data patterns in an input data stream
CN102307134B (en) For the method, apparatus and system of operation platform power rating
US6665275B1 (en) Network device including automatic detection of duplex mismatch
CN103984768B (en) A kind of data-base cluster manages method, node and the system of data
CN101635652A (en) Method and equipment for recovering fault of multi-core system
CN106776054A (en) A kind of deadlock detection method, device and circuit
US20070041332A1 (en) Mirroring of a random subset of network traffic
CN110535715B (en) Linux-based port state real-time detection method, circuit and switch
US10409620B2 (en) Spanning tree protocol warm reboot system
CN106506074A (en) A kind of method and apparatus of detection optical port state
WO2021197128A1 (en) Traffic rate-limiting method and apparatus
WO2020027878A1 (en) Flow control visibility
US6732212B2 (en) Launch raw packet on remote interrupt
CN105281939A (en) Method and device for reporting RXLOS (Receive Loss of Signal Alarm)
CN106357688B (en) A kind of method and apparatus for defending ICMP flood attack
CN115622945A (en) Message processing method and device
EP2698949A1 (en) Method and system for setting detection frame timeout duration of ethernet node
CN111177028B (en) Method and equipment for dynamic multi-level caching
CN112965970A (en) Abnormal flow parallel detection method and system based on Hash algorithm
CN111083072A (en) Switch message transmission device and method
CN110519098A (en) A kind of processing method and processing device of abnormal single-board
CN110471814A (en) The control method of the error reporting function of server unit

Legal Events

Date Code Title Description
C06 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