CN104486262A - Control method and device for achieving Dying Gasp based on switch chip - Google Patents

Control method and device for achieving Dying Gasp based on switch chip Download PDF

Info

Publication number
CN104486262A
CN104486262A CN201410680544.7A CN201410680544A CN104486262A CN 104486262 A CN104486262 A CN 104486262A CN 201410680544 A CN201410680544 A CN 201410680544A CN 104486262 A CN104486262 A CN 104486262A
Authority
CN
China
Prior art keywords
dying gasp
timer
message
gasp message
dying
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
CN201410680544.7A
Other languages
Chinese (zh)
Other versions
CN104486262B (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201410680544.7A priority Critical patent/CN104486262B/en
Publication of CN104486262A publication Critical patent/CN104486262A/en
Application granted granted Critical
Publication of CN104486262B publication Critical patent/CN104486262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention provides a control method and a device for achieving Dying Gasp based on a switch chip. The method comprises the following steps of arranging a timer in the switch chip, wherein the timer is used for controlling transmission start time of Dying Gasp messages, and the quantity of transmitted Dying Gasp messages; presetting the Dying Gasp messages in the switch chip; monitoring whether a Dying Gasp power-down alarm signal needs to be transmitted or not, when monitoring that the Dying Gasp power-down alarm signal needs to be transmitted, triggering enabled control of the timer, and directly transmitting the Dying Gasp messages through the switch chip. According to the control method and device provided by the invention, through arrangement of the timer in the switch chip, and triggering of enabled control of the timer, the switch chip directly transmits the Dying Gasp messages to network management equipment or backup equipment to inform a failure or achieve data switching without software, thus the failure of data disconnection is saved, therefore the transmission speed and success rate of the messages when the failure happens are improved; the processing capacity on the power-down failure is improved.

Description

Chip based on switch realizes control method and the device of Dying Gasp
Technical field
The present invention relates to network communication field, particularly relate to control method and device that a kind of chip based on switch realizes Dying Gasp.
Background technology
In existing switch system, in order to improve the stability of network, and conveniently keeper manages network.Dying Gasp function can be provided usually.Described Dying Gasp function refers to that equipment is when critical failure occurs, last notice can be made, such as when system input voltage cannot meet system worked well, system can automatically be sent out a Dying Gasp signal and notifies fault to Network Management Equipment or alternate device or realize the switching of data, thus the fault that save data disconnects.
The function of the Dying Gasp of current switch, usually realize by means of software, in time the voltage of equipment being detected lower than certain threshold values, have the task of a high priority can send Dying Gasp message by exchange chip at once in system to notify fault to Network Management Equipment or alternate device or realize the switching of data, thus the fault that save data disconnects.
But; software is adopted to send the scheme of Dying Gasp message; because needs are by software group bag; and need software to call the interface that exchange chip sends message transmission; there is the problem of a time like this; so, higher to the capacitance requirements of the electric power storage in switching equipment hardware, usually can exist because the reasons such as design cause Dying Gasp message successfully to send.
Summary of the invention
A kind of chip based on switch is the object of the present invention is to provide to realize control method and the device of Dying Gasp.
One of for achieving the above object, the chip based on switch of an embodiment of the present invention realizes the control method of Dying Gasp, described method comprises: in exchanger chip, arrange a timer, described timer for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message;
Preset Dying Gasp message in described exchanger chip;
Monitor the need of transmission Dying Gasp power fail warning signal;
When monitoring needs to send Dying Gasp power fail warning signal, trigger the enable control of described timer, directly to send Dying Gasp message by described exchanger chip.
As a further improvement on the present invention, describedly " judge whether to need to send Dying Gasp power fail warning signal; " specifically comprise:
Whether the voltage of monitoring equipment is lower than systemic presupposition voltage threshold;
When monitoring equipment lower than systemic presupposition voltage threshold, judge to need to send Dying Gasp power fail warning signal.
As a further improvement on the present invention, described method also comprises: the speed of Dying Gasp message described in timer timed sending according to the frequency configuration of described exchanger chip.
As a further improvement on the present invention, described method also comprises: the mode of operation selecting timer, if select the mode of operation of timer for counting sending mode;
Continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, and record sends the quantity of Dying Gasp message;
Whether the quantity of the described Dying Gasp message that monitoring sends is greater than systemic presupposition outage threshold,
When the quantity of the described Dying Gasp message monitoring transmission is greater than systemic presupposition outage threshold, stop sending described Dying Gasp message.
As a further improvement on the present invention, described method also comprises: the mode of operation selecting timer, if select the mode of operation of timer for continuing sending mode;
Continue to send described Dying Gasp message, until the electricity that device capacitances stores exhausts according to the speed of Dying Gasp message described in described timer timed sending;
Or continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, stop the enable control of described timer by Artificial Control, to stop sending described Dying Gasp message.
As a further improvement on the present invention, described Dying Gasp message comprises: the network port information that Dying Gasp message payload, Dying Gasp message format and Dying Gasp message send.
One of for achieving the above object, the chip based on switch of an embodiment of the present invention realizes the control device of Dying Gasp, and described device comprises:
Preset module, for Dying Gasp message preset in exchanger chip;
Arrange a timer in described preset module, described timer for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message;
Monitoring processing module, for monitoring the need of transmission Dying Gasp power fail warning signal;
When monitoring needs to send Dying Gasp power fail warning signal, trigger the enable control of described timer, directly to send Dying Gasp message by described exchanger chip.
As a further improvement on the present invention, described monitoring processing module specifically for: whether the voltage of monitoring equipment lower than systemic presupposition voltage threshold;
When monitoring equipment lower than systemic presupposition voltage threshold, judge to need to send Dying Gasp power fail warning signal.
As a further improvement on the present invention, described preset module is also for according to the frequency configuration of the described exchanger chip speed of Dying Gasp message described in timer timed sending.
As a further improvement on the present invention, described monitoring processing module also for: select the mode of operation of timer, if select the mode of operation of timer for counting sending mode;
Continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, and record sends the quantity of Dying Gasp message;
Whether the quantity of the described Dying Gasp message that monitoring sends is greater than systemic presupposition outage threshold,
When the quantity of the described Dying Gasp message monitoring transmission is greater than systemic presupposition outage threshold, stop sending described Dying Gasp message.
As a further improvement on the present invention, described monitoring processing module also for: select the mode of operation of timer, if select the mode of operation of timer for continuing sending mode;
Continue to send described Dying Gasp message, until the electricity that device capacitances stores exhausts according to the speed of Dying Gasp message described in described timer timed sending;
Or continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, stop the enable control of described timer by Artificial Control, to stop sending described Dying Gasp message.
Compared with prior art, the invention has the beneficial effects as follows: the chip based on switch of the present invention realizes control method and the device of Dying Gasp, by arranging timer in exchanger chip, and by triggering the enable control of described timer, need not by software, Dying Gasp message is directly sent to Network Management Equipment or alternate device to notify fault or to realize the switching of data to make exchanger chip, thus the fault that save data disconnects, so, when improve fault generation, the transmission speed of message and success rate, improve disconnection fault disposal ability.
Accompanying drawing explanation
Fig. 1 is the flow chart of the control method realizing Dying Gasp in an embodiment of the present invention based on exchanger chip;
Fig. 2 is the module map of the control method realizing Dying Gasp in an embodiment of the present invention based on exchanger chip.
Embodiment
Describe the present invention below with reference to embodiment shown in the drawings.But these execution modes do not limit the present invention, the structure that those of ordinary skill in the art makes according to these execution modes, method or conversion functionally are all included in protection scope of the present invention.
As shown in Figure 1, in one embodiment of the present invention, the described control method realizing Dying Gasp based on exchanger chip, comprising:
In exchanger chip, arrange a timer, described timer for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message; Meanwhile, preset Dying Gasp message in described exchanger chip.
Described Dying Gasp message comprises two parts information; A part is self-defining Dying Gasp message length, message format; Described message length is Dying Gasp message payload; Described Dying Gasp message format is: the MAC Address, vlan information, IP information etc. of Dying Gasp message.
Another part is the network port information that Dying Gasp message sends, and namely Dying Gasp message from which port the chip of described switch sends.
In present embodiment, by triggering the enable control of described timer, determine whether start to send Dying Gasp message, below will introduce in detail.
In present embodiment, described method also comprises: according to the frequency configuration of described exchanger chip, timer sends the speed of described Dying Gasp message.
After starting described switch, namely described timer starts continuous firing according to the predetermined cycle, after the enable control of described timer is triggered, in each cycle of described timer, sends a Dying Gasp message.Certainly, also according to actual needs, the quantity sending Dying Gasp message in each cycle of described timer can be controlled, regulated, to send multiple Dying Gasp message within each cycle of described timer, be not described in detail at this.
Further, described method also comprises: monitor the need of transmission Dying Gasp power fail warning signal;
When monitoring needs to send Dying Gasp power fail warning signal, trigger the enable control of described timer, directly to send Dying Gasp message by described exchanger chip.
In present embodiment, by the voltage of monitoring equipment to judge whether to need to send Dying Gasp power fail warning signal.
Concrete, preset a systemic presupposition voltage threshold in systems in which, described systemic presupposition voltage threshold is a voltage detecting numerical value, namely when system voltage is greater than or equal to system thresholds, described equipment can normally work, when system voltage is lower than system thresholds, namely equipment may break down, such as: can not to equipment normal power supply.
Therefore, in present embodiment, the voltage of real-time watch device, and the voltage of the equipment monitored and systemic presupposition voltage threshold are compared, judge that whether the voltage of the equipment monitored is lower than systemic presupposition voltage threshold;
If so, judge to need to send Dying Gasp power fail warning signal;
If not, indication equipment is in normal operating condition, does not need to send Dying Gasp power fail warning signal.
Certainly, in other execution modes of the present invention, the enable controlled condition triggering described timer is not limited to monitoring to be needed to send Dying Gasp power fail warning signal; When described switch produces other faults, such as: power failure, board failure, port failure etc., also timer can be set in described switch, and by triggering the enable control of described timer, send corresponding alarm signal notice Network Management Equipment or alternate device etc., to realize the switching of data, the fault that save data disconnects, is not described in detail at this.
Further, in present embodiment, described method also comprises: set the mode of operation of described timer.
In present embodiment, the pattern of described timer has two kinds of selections, a kind of for continuing sending mode, and another kind of is counting sending mode.
In an embodiment of the present invention, if select the mode of operation of timer for continuing sending mode, after the enable control of described timer is triggered, continue to send described Dying Gasp message according to the speed of the transmission of described timer described Dying Gasp message; In present embodiment, select within each cycle of described timer, send a Dying Gasp message; Until the electricity that device capacitances stores exhausts, till namely the electric capacity electric power storage of equipment is used up.Certainly, the speed sending described Dying Gasp message according to described timer continues to send in described Dying Gasp message process, also can stop the enable control of described timer by Artificial Control, to stop sending described Dying Gasp message.Such as: sent to by described Dying Gasp message Network Management Equipment or alternate device to notify fault or to realize the switching of data, after Network Management Equipment or alternate device receive Dying Gasp message, the i.e. corresponding power fail warning signal receiving equipment, so, namely can by the artificial enable control stopping described timer; After the enable control of described timer is stopped, namely automatically stop sending described Dying Gasp message.
In another embodiment of the present invention, if select the mode of operation of described timer for counting sending mode, then in described timer, arrange a preset stopping threshold value, described preset stopping threshold value is the numerical value of an expression message amount.After the enable control of described timer is triggered, when the quantity of the message of transmission is less than or equal to preset stopping threshold value, the electric capacity power reservoir capacity of indication equipment can also support more Dying Gasp message and send; When the quantity of message sent is greater than preset stopping threshold value, the electric capacity power reservoir capacity of indication equipment can be about to use up, be not enough to send next Dying Gasp message.Certainly, the size of described preset stopping threshold value is not arrange according to electric capacity power reservoir capacity completely, it also can self-defined setting as required, such as: described preset stopping threshold value is set as 1, after the enable control of described timer is triggered, after sending 1 described Dying Gasp message, namely stop sending described Dying Gasp message, so, more can save system resource, not be described in detail at this.
In present embodiment, after the enable control of described timer is triggered, the speed sending described Dying Gasp message according to described timer continues to send described Dying Gasp message, and record sends the quantity of Dying Gasp message;
Whether the quantity of the described Dying Gasp message that monitoring sends is greater than systemic presupposition outage threshold,
If so, stop sending described Dying Gasp message;
If not, continue to send described Dying Gasp message, until the quantity that record sends Dying Gasp message is greater than preset stopping threshold value.
Further, send in Dying Gasp message process, according to the Dying Gasp message preset, and according to the information that it carries, it is sent according to destination interface.
So, the described control method realizing Dying Gasp based on exchanger chip, before described switch does not start, namely according to the Host of keeper, the information such as destination interface, pre-set the message of Dying Gasp, and the mode of operation of described timer; When systems axiol-ogy is to change in voltage exception time, just can trigger the enable control of described timer, afterwards, Dying Gasp message is sent automatically by exchanger chip, thus ensure that the stable of network.
Shown in composition graphs 2, in one embodiment of the present invention, the described control device realizing Dying Gasp based on exchanger chip comprises: preset module 100, monitoring processing module 200.
Preset module 100 is for Dying Gasp message preset in exchanger chip; Arrange a timer 101 in preset module 100, timer 101 for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message;
Described Dying Gasp message comprises two parts information; A part is self-defining Dying Gasp message length, message format; Described message length is Dying Gasp message payload; Described Dying Gasp message format is: the MAC Address, vlan information, IP information etc. of Dying Gasp message.
Another part is the network port information that Dying Gasp message sends, and namely Dying Gasp message from which port the chip of described switch sends.
In present embodiment, preset module 100 is for sending the speed of described Dying Gasp message according to the frequency configuration timer 2 01 of described exchanger chip.
After starting described switch, namely timer 2 01 starts continuous firing according to the predetermined cycle, and after the enable control of timer 2 01 is triggered, monitoring processing module 200, within each cycle of timer 2 01, sends a Dying Gasp message.Certainly, also according to actual needs, the quantity sending Dying Gasp message in each cycle of timer 2 01 can be controlled, regulated, to send multiple Dying Gasp message within each cycle of timer 2 01, be not described in detail at this.
In present embodiment, monitoring processing module 200, for the enable control by shot timers 201, determines whether start to send Dying Gasp message.
Concrete, monitoring processing module 200 is for monitoring the need of transmission Dying Gasp power fail warning signal; When monitoring needs to send Dying Gasp power fail warning signal, the enable control of shot timers 201, directly to send Dying Gasp message by described exchanger chip.
In present embodiment, monitor the voltage of processing module 200 by monitoring equipment to judge whether to need to send Dying Gasp power fail warning signal.
Concrete, preset a systemic presupposition voltage threshold in systems in which, described systemic presupposition voltage threshold is a voltage detecting numerical value, namely when system voltage is greater than or equal to system thresholds, described equipment can normally work, when system voltage is lower than system thresholds, namely equipment may break down, such as: can not to equipment normal power supply.
Therefore, in present embodiment, the voltage of monitoring processing module 200 real-time watch device, and the voltage of the equipment monitored and systemic presupposition voltage threshold are compared, judge that whether the voltage of the equipment monitored is lower than systemic presupposition voltage threshold;
If so, judge to need to send Dying Gasp power fail warning signal;
If not, indication equipment is in normal operating condition, does not need to send Dying Gasp power fail warning signal.
Certainly, in other execution modes of the present invention, the enable controlled condition of shot timers 201 is not limited to monitoring to be needed to send Dying Gasp power fail warning signal; When described switch produces other faults, such as: power failure, board failure, port failure etc., also timer can be set in described switch, and pass through the enable control of shot timers 201, send corresponding alarm signal notice Network Management Equipment or alternate device etc., to realize the switching of data, the fault that save data disconnects, is not described in detail at this.
Further, in present embodiment, the mode of operation of presetting module 100 pairs of timer 2s 01 sets.
In present embodiment, the pattern of timer 2 01 has two kinds of selections, a kind of for continuing sending mode, and another kind of is counting sending mode.
In an embodiment of the present invention, if monitoring processing module 200 selects the mode of operation of timer for continuing sending mode, then after the enable control of timer 2 01 is triggered, the speed sending described Dying Gasp message according to timer 2 01 continues to send described Dying Gasp message; In present embodiment, select within each cycle of timer 2 01, send a Dying Gasp message; Until the electricity that device capacitances stores exhausts, till namely the electric capacity electric power storage of equipment is used up.Certainly, the speed sending described Dying Gasp message according to timer 2 01 continues to send in described Dying Gasp message process, also can stop the enable control of timer 2 01 by Artificial Control, to stop sending described Dying Gasp message.Such as: sent to by described Dying Gasp message Network Management Equipment or alternate device to notify fault or to realize the switching of data, after Network Management Equipment or alternate device receive Dying Gasp message, the i.e. corresponding power fail warning signal receiving equipment, so, namely can by the artificial enable control stopping timer 2 01; After the enable control of timer 2 01 is stopped, namely automatically stop sending described Dying Gasp message.
In another embodiment of the present invention, if monitoring processing module 200 selects the mode of operation of timer 2 01 for counting sending mode, then in timer 2 01, arrange a preset stopping threshold value, described preset stopping threshold value is the numerical value of an expression message amount.After the enable control of timer 2 01 is triggered, when the quantity of message that monitoring processing module 200 sends is less than or equal to preset stopping threshold value, the electric capacity power reservoir capacity of indication equipment can also support more Dying Gasp message and send; When the quantity of message sent is greater than preset stopping threshold value, the electric capacity power reservoir capacity of indication equipment can be about to use up, be not enough to send next Dying Gasp message.Certainly, the size of described preset stopping threshold value is not arrange according to electric capacity power reservoir capacity completely, it also can self-defined setting as required, such as: described preset stopping threshold value is set as 1, after the enable control of timer 2 01 is triggered, after sending 1 described Dying Gasp message, namely stop sending described Dying Gasp message, so, more can save system resource, not be described in detail at this.
In present embodiment, after the enable control of timer 2 01 is triggered, the speed that monitoring processing module 200 sends described Dying Gasp message according to timer 2 01 continues to send described Dying Gasp message, and record sends the quantity of Dying Gasp message;
Whether the quantity that monitoring processing module 200 monitors the described Dying Gasp message sent is greater than systemic presupposition outage threshold,
If so, stop sending described Dying Gasp message;
If not, continue to send described Dying Gasp message, until the quantity that record sends Dying Gasp message is greater than preset stopping threshold value.
Further, monitoring processing module 200 sends in Dying Gasp message process, according to the Dying Gasp message preset, and according to the information that it carries, it is sent according to destination interface.
In sum, chip based on switch of the present invention realizes control method and the device of Dying Gasp, by arranging timer in exchanger chip, and by triggering the enable control of described timer, need not by software, Dying Gasp message is directly sent to Network Management Equipment or alternate device to notify fault or to realize the switching of data to make exchanger chip, thus the fault that save data disconnects, so, when improve fault generation, the transmission speed of message and success rate, improve disconnection fault disposal ability.
For convenience of description, various module is divided into describe respectively with function when describing above device.Be only limitted to the function of each module to realize in asic chip when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode of general hardware platform.Based on such understanding, the technical scheme of the application embodies with the form of asic chip product the part that prior art contributes in essence in other words.
Device embodiments described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display are logic modules, namely can be arranged in a module of chip logic, or also can be distributed in the multiple processing modules in chip.Some or all of module wherein can be selected according to the actual needs to realize the object of present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used in numerous general or special purpose communication chip.Such as: exchange chip, router chip, server chips etc.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each execution mode also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for feasibility execution mode of the present invention; they are also not used to limit the scope of the invention, all do not depart from the skill of the present invention equivalent implementations done of spirit or change all should be included within protection scope of the present invention.

Claims (10)

1. realize a control method of Dying Gasp based on exchanger chip, it is characterized in that, described method comprises:
In exchanger chip, arrange a timer, described timer for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message;
Preset Dying Gasp message in described exchanger chip;
Monitor the need of transmission Dying Gasp power fail warning signal;
When monitoring needs to send Dying Gasp power fail warning signal, trigger the enable control of described timer, directly to send Dying Gasp message by described exchanger chip.
2. the chip based on switch according to claim 1 realizes the control method of Dying Gasp, it is characterized in that, described " judges whether to need to send Dying Gasp power fail warning signal; " specifically comprise:
Whether the voltage of monitoring equipment is lower than systemic presupposition voltage threshold;
When monitoring equipment lower than systemic presupposition voltage threshold, judge to need to send Dying Gasp power fail warning signal.
3. the chip based on switch according to claim 1 realizes the control method of Dying Gasp, it is characterized in that, described method also comprises:
The speed of Dying Gasp message described in timer timed sending according to the frequency configuration of described exchanger chip.
4. the chip based on switch according to claim 3 realizes the control method of Dying Gasp, it is characterized in that, described method also comprises: the mode of operation selecting timer, if select the mode of operation of timer for counting sending mode;
Continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, and record sends the quantity of Dying Gasp message;
Whether the quantity of the described Dying Gasp message that monitoring sends is greater than systemic presupposition outage threshold,
When the quantity of the described Dying Gasp message monitoring transmission is greater than systemic presupposition outage threshold, stop sending described Dying Gasp message.
5. the chip based on switch according to claim 3 realizes the control method of Dying Gasp, it is characterized in that, described method also comprises: the mode of operation selecting timer, if select the mode of operation of timer for continuing sending mode;
Continue to send described Dying Gasp message, until the electricity that device capacitances stores exhausts according to the speed of Dying Gasp message described in described timer timed sending;
Or continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, stop the enable control of described timer by Artificial Control, to stop sending described Dying Gasp message.
6. realize a control device of Dying Gasp based on exchanger chip, it is characterized in that, described device comprises:
Preset module, for Dying Gasp message preset in exchanger chip;
Arrange a timer in described preset module, described timer for the transmission time started of control Dying Gasp message, and sends the quantity of Dying Gasp message;
Monitoring processing module, for monitoring the need of transmission Dying Gasp power fail warning signal;
When monitoring needs to send Dying Gasp power fail warning signal, trigger the enable control of described timer, directly to send Dying Gasp message by described exchanger chip.
7. the control device realizing Dying Gasp based on exchanger chip according to claim 6, is characterized in that,
Described monitoring processing module specifically for: whether the voltage of monitoring equipment lower than systemic presupposition voltage threshold;
When monitoring equipment lower than systemic presupposition voltage threshold, judge to need to send Dying Gasp power fail warning signal.
8. the control device realizing Dying Gasp based on exchanger chip according to claim 6, is characterized in that,
Described preset module is also for according to the frequency configuration of the described exchanger chip speed of Dying Gasp message described in timer timed sending.
9. the control device realizing Dying Gasp based on exchanger chip according to claim 8, is characterized in that,
Described monitoring processing module also for: select the mode of operation of timer, if select the mode of operation of timer for counting sending mode;
Continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, and record sends the quantity of Dying Gasp message;
Whether the quantity of the described Dying Gasp message that monitoring sends is greater than systemic presupposition outage threshold,
When the quantity of the described Dying Gasp message monitoring transmission is greater than systemic presupposition outage threshold, stop sending described Dying Gasp message.
10. the control device realizing Dying Gasp based on exchanger chip according to claim 8, is characterized in that,
Described monitoring processing module also for: select the mode of operation of timer, if select the mode of operation of timer for continuing sending mode;
Continue to send described Dying Gasp message, until the electricity that device capacitances stores exhausts according to the speed of Dying Gasp message described in described timer timed sending;
Or continue to send described Dying Gasp message according to the speed of Dying Gasp message described in described timer timed sending, stop the enable control of described timer by Artificial Control, to stop sending described Dying Gasp message.
CN201410680544.7A 2014-11-25 2014-11-25 Dying Gasp control method and device are realized based on exchanger chip Active CN104486262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410680544.7A CN104486262B (en) 2014-11-25 2014-11-25 Dying Gasp control method and device are realized based on exchanger chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410680544.7A CN104486262B (en) 2014-11-25 2014-11-25 Dying Gasp control method and device are realized based on exchanger chip

Publications (2)

Publication Number Publication Date
CN104486262A true CN104486262A (en) 2015-04-01
CN104486262B CN104486262B (en) 2017-09-26

Family

ID=52760767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410680544.7A Active CN104486262B (en) 2014-11-25 2014-11-25 Dying Gasp control method and device are realized based on exchanger chip

Country Status (1)

Country Link
CN (1) CN104486262B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512780A (en) * 2017-02-28 2018-09-07 华为技术有限公司 Timer realization method and relevant apparatus
CN109905285A (en) * 2017-12-11 2019-06-18 北京华为数字技术有限公司 A kind of method and the network equipment of network management
CN113835513A (en) * 2021-09-16 2021-12-24 新华三信息安全技术有限公司 Power failure information transmission method, main control board, sub-card, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080304825A1 (en) * 2007-06-08 2008-12-11 Glenn Mark Mahony Methods, Systems, and Computer-Readable Media for Providing Notification of a Power Failure
CN101640941A (en) * 2009-08-06 2010-02-03 华为技术有限公司 Connection resource release processing method and device
CN101697564A (en) * 2009-10-27 2010-04-21 太仓市同维电子有限公司 Circuit structure capable of realizing critical failure signal generation function on network communication terminal equipment
CN102404134A (en) * 2010-09-15 2012-04-04 百维通(苏州)科技有限公司 System and method for realizing Dying gasp signal uploading in communication network system with pluggable module
CN102742118A (en) * 2012-03-06 2012-10-17 华为终端有限公司 Method for power-off alarm and electrical gateway
CN102780566A (en) * 2011-05-13 2012-11-14 正文科技股份有限公司 Network device
US20140009298A1 (en) * 2012-07-03 2014-01-09 Ubiquoss Inc. Transmission System Using Dying Gasp
CN103825594A (en) * 2014-03-27 2014-05-28 广东九博电子科技有限公司 Power failure detection circuit based on field programmable gate array (FPGA) network management system and detection method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080304825A1 (en) * 2007-06-08 2008-12-11 Glenn Mark Mahony Methods, Systems, and Computer-Readable Media for Providing Notification of a Power Failure
CN101640941A (en) * 2009-08-06 2010-02-03 华为技术有限公司 Connection resource release processing method and device
CN101697564A (en) * 2009-10-27 2010-04-21 太仓市同维电子有限公司 Circuit structure capable of realizing critical failure signal generation function on network communication terminal equipment
CN102404134A (en) * 2010-09-15 2012-04-04 百维通(苏州)科技有限公司 System and method for realizing Dying gasp signal uploading in communication network system with pluggable module
CN102780566A (en) * 2011-05-13 2012-11-14 正文科技股份有限公司 Network device
CN102742118A (en) * 2012-03-06 2012-10-17 华为终端有限公司 Method for power-off alarm and electrical gateway
US20140009298A1 (en) * 2012-07-03 2014-01-09 Ubiquoss Inc. Transmission System Using Dying Gasp
CN103825594A (en) * 2014-03-27 2014-05-28 广东九博电子科技有限公司 Power failure detection circuit based on field programmable gate array (FPGA) network management system and detection method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
L.VALCARENGHI: "Cognitive PONs:a Novel Approach toward Energy Efficiency", 《IEEE》 *
沈伟 等: "基于MAX706AT的DSP硬件看门狗与电源监控电路的设计与实现", 《电子技术应用》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512780A (en) * 2017-02-28 2018-09-07 华为技术有限公司 Timer realization method and relevant apparatus
CN108512780B (en) * 2017-02-28 2020-12-15 华为技术有限公司 Timer implementation method and related device
CN109905285A (en) * 2017-12-11 2019-06-18 北京华为数字技术有限公司 A kind of method and the network equipment of network management
CN113835513A (en) * 2021-09-16 2021-12-24 新华三信息安全技术有限公司 Power failure information transmission method, main control board, sub-card, equipment and storage medium
CN113835513B (en) * 2021-09-16 2024-03-01 新华三信息安全技术有限公司 Power-off information transmission method, main control board, sub-card, equipment and storage medium

Also Published As

Publication number Publication date
CN104486262B (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN102307367A (en) Communication equipment and power failure alarming method
CN109104351B (en) Train network node and train network node monitoring method based on CANopen protocol
PT1801984E (en) Passive optical network terminal and method for power supply control and reporting
CN105187249A (en) Fault recovery method and device
CN202696263U (en) Power-down holding circuit and master control apparatus
CN103135732B (en) Server cabinet system
CN101860442A (en) Exchanger, power supply device and method for realizing power-down remote-end alarm
CN102724030A (en) Stacking system with high reliability
CN105429814B (en) Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards
CN104243205A (en) Message processing method and device used during virtual switch fault
CN104429020A (en) Power over ethernet supervision
CN105915426B (en) The fault recovery method and device of loop network
CN102025562A (en) Path detection method and device
CN103490919A (en) Fault management system and fault management method
CN104317679B (en) A kind of SCADA system is based on the communication fault-tolerance method of thread redundancy
CN104079442A (en) Real-time Ethernet based redundancy control device, as well as device redundancy system and method
CN105095008A (en) Distributed task fault redundancy method suitable for cluster system
CN104486262A (en) Control method and device for achieving Dying Gasp based on switch chip
CN103838698A (en) I2C bus architecture and device availability query method
CN103885860A (en) Method for achieving BMC double-management hot redundancy by applying IPMI command
CN109347685B (en) Network equipment, logic device and notification information transmission method
CN109412819A (en) Method and device for warning device power down
CN105207824A (en) SDN based automatic protection switching system and method
CN107948018A (en) A kind of method and system that can detect mains failure and realize server soft-off
CN114335764B (en) Control method and device, energy storage system and non-volatile computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: Xinghan Street Industrial Park of Suzhou city in Jiangsu province 215021 B No. 5 Building 4 floor 13/16 unit

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.