CN109257185A - A kind of network equipment, service card, logic device and notification information transmission method - Google Patents
A kind of network equipment, service card, logic device and notification information transmission method Download PDFInfo
- Publication number
- CN109257185A CN109257185A CN201811393267.6A CN201811393267A CN109257185A CN 109257185 A CN109257185 A CN 109257185A CN 201811393267 A CN201811393267 A CN 201811393267A CN 109257185 A CN109257185 A CN 109257185A
- Authority
- CN
- China
- Prior art keywords
- submodule
- notification information
- logic device
- information
- sent
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000005540 biological transmission Effects 0.000 title claims abstract description 12
- 238000012544 monitoring process Methods 0.000 claims abstract description 49
- 230000002159 abnormal effect Effects 0.000 claims abstract description 42
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 230000005611 electricity Effects 0.000 claims description 5
- 238000004146 energy storage Methods 0.000 claims description 5
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims 1
- 238000012545 processing Methods 0.000 description 31
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
- Debugging And Monitoring (AREA)
Abstract
It includes: master control borad and service card that the application, which provides a kind of network equipment, service card, logic device and notification information transmission method, the network equipment, and master control borad includes power module, and service card includes detection module, accumulator, logic device and phy chip;Second exception information is sent to logic device for when detecting that power module is abnormal, the first exception information to be sent to accumulator by detection module;Accumulator, for storing electric energy when power module works normally;It is that logic device and phy chip are powered when receiving the first exception information;Notification information for when receiving the second exception information, reading pre-stored notification information from logic device, and is sent to phy chip by logic device;Phy chip, for sending notification information to monitoring host computer when receiving notification information.By the technical solution of the application, the total power consumption of the network equipment can reduce, reduce the realization difficulty and cost of accumulator.
Description
Technical field
This application involves fields of communication technology, believe more particularly, to a kind of network equipment, service card, logic device and notice
Cease transmission method.
Background technique
The network equipment (such as router, interchanger) can be connect with monitoring host computer, the network equipment after abnormal power-down, to
Monitoring host computer is given notice information, and monitoring host computer knows network equipment abnormal power-down according to the notification information, and positions network and set
The time of network equipment abnormal restoring is shortened in standby position and abnormal time.
After making network equipment abnormal power-down, can give notice information to monitoring host computer, then can be in the network equipment
Middle configuration accumulator.The network equipment during normal operation, the power module of the network equipment is directly the industry of the network equipment
Processing module of being engaged in power supply, and electric energy is stored in the accumulator of the network equipment;In this way, after network equipment abnormal power-down, then
Can use the electric energy in accumulator is Service Processing Module power supply a period of time, and Service Processing Module can be in this period
It is interior to give notice information to monitoring host computer.
Service Processing Module generally includes a large amount of submodules (such as CPU (Central Processing Unit, central processing
Device), memory etc.), using accumulator be Service Processing Module power a period of time when, need to guarantee in Service Processing Module
Each submodule be in normal work, in this way, it is necessary to which accumulator can store a large amount of electric energy, lead to accumulator
Total power consumption is larger, and the realization difficulty of accumulator is larger.
Summary of the invention
The application provides a kind of network equipment, comprising: master control borad and service card, the master control borad include power module, institute
Stating service card includes detection module, accumulator, logic device and phy chip;Wherein:
The detection module, for when detecting that the power module is abnormal, the first exception information to be sent to
Second exception information is sent to the logic device by the accumulator;
The accumulator, for storing electric energy when the power module works normally;It is different receiving described first
It is that the logic device and the phy chip are powered when normal information;
The logic device, for being read from the logic device preparatory when receiving second exception information
The notification information of storage, and the notification information is sent to the phy chip;
The phy chip, for sending the notification information to monitoring host computer when receiving notification information.
The application provides a kind of notification information transmission method, is applied to the network equipment, the network equipment includes: master control borad
And service card, the master control borad include power module, the service card includes detection module, accumulator, logic device and object
Manage chip, which comprises
The detection module is sent to the storage when detecting that the power module is abnormal, by the first exception information
Energy circuit, and the second exception information is sent to the logic device;
The accumulator stores electric energy when the power module works normally;Receiving the described first abnormal letter
It is that the logic device and the phy chip are powered when breath;
The logic device is read pre-stored when receiving second exception information from the logic device
Notification information, and the notification information is sent to the phy chip;
The phy chip sends the notification information when receiving notification information, to monitoring host computer.
The application provides a kind of service card, and the service card is deployed in the network equipment, and the service card includes: detection mould
Block, accumulator, logic device and phy chip;Wherein:
The detection module, it is abnormal by first for when detecting that the power module of the network equipment is abnormal
Information is sent to the accumulator, and the second exception information is sent to the logic device;
The accumulator, for storing electric energy when the power module works normally;It is different receiving described first
It is that the logic device and the phy chip are powered when normal information;
The logic device, for being read from the logic device preparatory when receiving second exception information
The notification information of storage, and the notification information is sent to the phy chip;
The phy chip, for sending the notification information to monitoring host computer when receiving notification information.
The application provides a kind of logic device, and the logic device is deployed in the service card of the network equipment, the logic dress
Set includes: second queue submodule, selector submodule and device submodule of giving out a contract for a project, in which:
The selector submodule, for device submodule and described of giving out a contract for a project when receiving exception information, described in conducting
Two queue submodules;Wherein, the exception information indicates that the power module of the network equipment is abnormal;
The device submodule of giving out a contract for a project is sent to institute for reading pre-stored notification information, and by the notification information
State second queue submodule;
The second queue submodule is sent to the friendship for receiving the notification information, and by the notification information
Chip is changed, so that the exchange chip sends the notification information to monitoring host computer.
Based on the above-mentioned technical proposal, in the embodiment of the present application, when power module is abnormal, accumulator is only business
Logic device and phy chip power supply in card, do not need to power for master control borad, that is, do not need as the business processing in master control borad
Module (such as CPU, memory) power supply, to reduce the total power consumption of the network equipment, reduces the realization difficulty and cost of accumulator.
Notification information can be sent from logic device to monitoring host computer, eliminate the reliance on CPU to monitoring host computer and send notification information, to mention
The transmission reliability of high notification information.
Detailed description of the invention
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is only some embodiments as described in this application, for those of ordinary skill in the art, can also be according to this Shen
Please these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the hardware structure diagram of the network equipment in a kind of embodiment of the application;
Fig. 2 is the hardware structure diagram of the logic device in a kind of embodiment of the application;
Fig. 3 is the hardware structure diagram of the logic device in the application another embodiment;
Fig. 4 is the hardware structure diagram of the logic device in the application another embodiment;
Fig. 5 is the hardware structure diagram of the logic device in the application another embodiment;
Fig. 6 is the flow chart of the notification information transmission method in a kind of embodiment of the application.
Specific embodiment
In term used in this application, merely for the sake of for the purpose of describing particular embodiments, rather than the application is limited.This Shen
Please it is also intended to the "an" of singular used in claims, " described " and "the" including most forms, unless
Context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one or more
The associated any or all possible combinations 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 to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, 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.Depending on context, in addition, used word " if " can be construed to " ... when ", alternatively,
" when ... ", alternatively, " in response to determination ".
A kind of network equipment (such as router, interchanger, server) is proposed in the embodiment of the present application, it is shown in Figure 1,
For the structural schematic diagram of the network equipment, which be can include but is not limited to: master control borad 10, service card 20 and backboard 30,
Master control borad 10 can be connected with service card 20 by backboard 30.
Wherein, master control borad 10 can include but is not limited to: power module 11 and Service Processing Module 12, Service Processing Module
12 may include CPU121 and exchange chip 122, certainly, Service Processing Module 12 can also including memory etc. other submodules,
With no restrictions to the submodule of this Service Processing Module 12.Service card 20 can include but is not limited to: detection module 21, energy storage electricity
Road 22, logic device 23 and phy chip 24.
In the embodiment of the present application, service card 20 can be affixed one's name in network device internal, and service card 20 can pass through backboard 30
It is connect with master control borad 10.Based on this, when the power module 11 of master control borad 10 is abnormal, each module in service card 20 can be with
It cooperates, finally realizes to monitoring host computer and send notification information.
Shown in Figure 1, when power module 11 works normally, power module 11 can be to Service Processing Module 12 and industry
20 power supply of business card, and power module 11 can store electric energy in accumulator 22.
When power module 11 is abnormal, then power module 11 can not supply Service Processing Module 12 and service card 20
Electricity, but powered by accumulator 22.Accumulator 22 is in power supply, only to the logic device 23 and physics core in service card 20
Power supply a period of time of piece 24, so that logic device 23 and phy chip 24 send notification information to monitoring host computer.But energy storage is electric
Road 22 no longer powers to master control borad 10 in power supply, i.e., does not power to the Service Processing Module 12 in master control borad 10, due to being not required to
To power for Service Processing Module 12, to reduce the total power consumption of the network equipment, reduce accumulator 22 realization difficulty and at
This.
In conclusion when power module 11 works normally, by power module 11 to Service Processing Module 12 and service card 20
Power supply.When power module 11 is abnormal, power module 11 can not power to Service Processing Module 12 and service card 20, but by
Accumulator 22 powers to logic device 23 and phy chip 24.
When power module 11 works normally, power module 11 can power to Service Processing Module 12 and service card 20,
And power module 11 can store electric energy in accumulator 22, that is to say, that when power module 11 works normally, energy storage electricity
Road 22 can store electric energy.Since power module 11 powers to Service Processing Module 12, Service Processing Module 12 can be just
Often work, normally receives and dispatches message.
Specifically, message A can be sent to exchange chip 122 by data/address bus by CPU121, exchange chip 122 is being connect
After receiving message A, message A can be sent to by logic device 23 by data/address bus.Logic device 23 is receiving message A
Afterwards, message A can be transmitted to by phy chip 24 by data/address bus, and message A can be transmitted to outside by phy chip 24
Equipment, with no restrictions to the forwarding of this message A.
Message B can be sent to by phy chip 24 after the message B for receiving external equipment transmission by data/address bus
Message B can be transmitted to exchange chip by data/address bus after receiving message B by logic device 23, logic device 23
122, message B is transmitted to CPU121 by data/address bus by exchange chip 122, so that CPU121 handles message B, to this
The repeating process of message B is with no restrictions.
When power module 11 works normally, CPU121 can also obtain the notification information of the network equipment, and notice is believed
Breath is sent to logic device 23.Logic device 23 can store the notification information after receiving notification information, for example, logic
Device 23 can store the notification information in this logic device 23.
Wherein, which can be sent to logic device 23 by management bus by CPU121.
Wherein, which can include but is not limited to following one or any combination: the IP address of the network equipment,
The facility information (such as MIB (Management Information Base, management information bank) information etc.) of the network equipment, notice
Generation time, IP address of monitoring host computer of information etc., it is without limitation.
Wherein, which can include but is not limited to: FPGA (Field Programmable Gate Array,
Field programmable gate array) chip, CPLD (Complex Programmable Logic Device, complicated programmable logic device
Part) chip.Logic device 23 or other chips, it is without limitation.
Wherein, above-mentioned notification information can include but is not limited to: SNMP (Simple Network Management
Protocol, Simple Network Management Protocol) warning information (such as Trap information) or system log message (such as Syslog information
Deng).Specifically, notification information is referred to as Dying Gasp (dying words) information, it is that network equipment abnormal power-down is backward
The information that monitoring host computer issues may include SNMP warning information (information generated using SNMP format) or Syslog letter
Breath (information generated using Syslog format).
Wherein, management bus can include but is not limited to: PCIE (Peripheral Component Interconnect
Express, high speed serialization computer expansion bus standard) bus, SMI (Serial Management Interface, serially
Management interface) bus, local bus etc..In addition, data/address bus can include but is not limited to: ether bus such as can be MII
(Media Independent Interface, Media Independent Interface) bus, GMII (Gigabit Media Independent
Interface, gigabit media independent interface) bus, SGMII (Serial Gigabit Media Independent
Interface, Serial Gigabit Media independent interfaces) bus etc..
When power module 11 is abnormal, then power module 11 can not continue to power, in this way, detection module 21 can be examined
It measures power module 11 to be abnormal, that is, power-off exception occurs, therefore, the first exception information can be sent to accumulator
22, and the second exception information is sent to logic device 23.
Accumulator 22 can power when receiving the first exception information for logic device 23 and phy chip 24.But
It is that accumulator 22 is forbidden powering for master control borad 10, that is, does not need to power for the Service Processing Module 12 in master control borad 10.Specifically
, accumulator 22 knows that power module 11 is abnormal when receiving the first exception information, different from traditional approach
It is that accumulator 22 does not need to power for Service Processing Module 12, but only powers to logic device 23 and phy chip 24.By
In not needing as the power supply of the submodules such as CPU121, memory in Service Processing Module 12, to reduce the realization of accumulator 22
Difficulty.
Logic device 23 can also read from this logic device 23 and be stored in advance when receiving second exception information
Notification information, and the notification information is sent to phy chip 24.Further, phy chip 24 is receiving notice letter
When breath, the notification information can be sent to monitoring host computer.
In the above-described embodiments, notification information is sent from phy chip 24 to monitoring host computer, in order to obtain phy chip 24
Know which outgoing interface notification information is sent to monitoring host computer by, then it can be in the following way:
Mode one, power module 11 work normally when, CPU121 can also obtain characteristic information, and this feature information is used for
Indicate then this feature information is sent to logic device 23 in the outgoing interface of phy chip 24 by notification information;Logic device 23
After receiving this feature information, this feature information can store.
Wherein, CPU121 can by the IP address table of query and routing of monitoring host computer, obtain the IP address it is corresponding go out connect
Mouthful, and the outgoing interface is sent to logic device 23.Alternatively, then CPU121 can when the IP address of monitoring host computer changes
With by the IP address table of query and routing after variation, the corresponding outgoing interface of IP address after being changed, and the outgoing interface is sent out
Give logic device 23.
Logic device 23 can send the notification information and this feature information together when receiving the second exception information
To phy chip 24.Phy chip 24 can be referred to after receiving the notification information and this feature information by this feature information
The outgoing interface shown sends the notification information to monitoring host computer.
Mode two is pre-configured with notification information in the outgoing interface of phy chip 24 in phy chip 24.Logic device 23 exists
When receiving the second exception information, notification information is sent to phy chip 24;Phy chip 24 after receiving notification information,
Notification information is sent to monitoring host computer based on preconfigured outgoing interface.
By above two mode, phy chip 24 can send notification information to monitoring host computer.Moreover, the notice is believed
Breath can also carry the IP address of monitoring host computer, for example, the purpose IP address of the notification information is the IP address of monitoring host computer, this
Sample, each equipment between present networks equipment and monitoring host computer, the IP address that can use monitoring host computer is sent to monitoring host computer leads to
Know information, the notification information is finally sent to monitoring host computer.
Monitoring host computer is after receiving the notification information, since purpose IP address is the IP address of this monitoring host computer,
Notification information can be handled.For example, can know network equipment abnormal power-down according to the notification information, and position network
The position of equipment and abnormal time shorten the time of network equipment abnormal restoring.
In the above-described embodiments, notification information can carry the generation time of the notification information, in order to make the generation time
It is identical or close as the abnormal time of power module 11, then it can be in the following way:
Mode A, CPU121 periodically generates notification information, and the notification information generated every time is sent to logic device
23, so that logic device 23 stores newest notification information, i.e., new notification information is received every time, just replace stored lead to
Know information.Since CPU121 periodically generates notification information, i.e., the generation time in notification information is current time, because
This, once power module 11 is abnormal, then when the generation time in notification information can be similar to the exception of power module 11
Between, guarantee the accuracy for generating the time.
Notification information can be generated in mode B, CPU121, which includes generating time (such as moment A), and this is led to
Know that information is sent to logic device 23, so that logic device 23 stores the notification information.Logic device 23 sends notification information
After monitoring host computer, monitoring host computer can get generation time (such as moment A) from notification information and not make moment A still
For the abnormal time of power module 11, but monitoring host computer is received into the time (such as moment B) of notification information as power supply mould
The abnormal time of block 11.
Mode C, logic device 23 can also include a timer.Notification information can be generated in CPU121, notice letter
Breath may include generating time (such as moment A), and the notification information is sent to logic device 23, so that logic device 23 stores
The notification information, and start the timer of logic device 23.
Logic device 23 can first read the numerical value of timer when needing notification information being sent to monitoring host computer, false
It is set as 200 seconds, then the generation time modification of notification information can be moment A+200 seconds by logic device 23, and will be modified
Notification information is sent to monitoring host computer, in this way, the generation time in notification information can be the abnormal time of power module 11, from
And guarantee to generate the accuracy of time.
Based on the above-mentioned technical proposal, in the embodiment of the present application, when power module 11 is abnormal, accumulator 22 are
Logic device 23 and phy chip 24 in service card 20 are powered, and are not needed to power for master control borad 10, that is, are not needed as master control borad
Service Processing Module 12 (such as CPU121, memory, exchange chip 122) power supply in 10, so as to reduce the network equipment
Total power consumption reduces the realization difficulty, selection difficulty and cost of accumulator 22.Furthermore, it is possible to be led from logic device 23 to monitoring
Machine sends notification information, eliminates the reliance on CPU121 to monitoring host computer and sends notification information, so as to improve the biography of notification information
Defeated reliability.In addition, Dying Gasp function can be deployed on service card 20, master control borad 10 does not need that Dying is implemented separately
Gasp function, that is to say, that even if increasing new master control borad in the network equipment, new master control borad does not need to realize Dying yet
Gasp function, as long as new master control borad is connect with service card 20.
In the above-described embodiments, it is related to logic device 23, the structure of logic device 23 is illustrated below.
Shown in Figure 2, logic device 23 may include: first queue submodule 231, second queue submodule 232, choosing
Select device submodule 233 and device submodule 234 of giving out a contract for a project.Wherein, which can be FIFO (First Input
First Output, First Input First Output) module, and the second queue submodule 232 is also possible to fifo module, the selector
Submodule 233 can be switch module.
Wherein, when power module 11 works normally, selector submodule 233 is for being connected first queue submodule 231
With second queue submodule 232, in this way, message is sent to second queue submodule 232, and by first queue submodule 231
Message is sent to phy chip 24 by two queue submodules 232.
When power module 11 is abnormal, selector submodule 233 can be connected when receiving the second exception information
Give out a contract for a project device submodule 234 and second queue submodule 232, and is no longer turned on first queue submodule 231 and second queue submodule
Block 232, in this way, notification information is sent to second queue submodule 232, second queue submodule 232 by device submodule 234 of giving out a contract for a project
Notification information is sent to phy chip 24.
Shown in Figure 3, logic device 23 can also include: control register 235 and message template submodule 236, be somebody's turn to do
Control register 235 can be used for storing packet sending speed, which can be used for storing notification information.?
On the basis of this, device submodule 234 of giving out a contract for a project can read the packet sending speed from control register 235, and can be from message template
Module 236 reads the notification information, it is then possible to which the notification information is sent to second queue submodule according to the packet sending speed
232, that is to say, that the notification information periodically can be sent to second according to the packet sending speed by device submodule 234 of giving out a contract for a project
Queue submodule 232.Further, second queue submodule 232 often receives a notification information, so that it may believe the notice
Breath is sent to phy chip 24, and the notification information can be sent to monitoring host computer by phy chip 24.
The message template submodule 236 can be also used for storage characteristic information and notification information, this feature information are used for
Indicate the notification information in the outgoing interface of phy chip 24.For example, if phy chip 24 is connected by interface 241 and monitoring host computer
It connects, then this feature information can be interface 241.
On this basis, device submodule 234 of giving out a contract for a project this feature information can be read from message template submodule 236 and this is logical
Know information, and this feature information and the notification information are sent to by second queue submodule 232 according to the packet sending speed.Second team
Column submodule 232, can be by this feature information and the notification information after receiving this feature information and the notification information
It is sent to phy chip 24.Phy chip 24 can be believed after receiving this feature information and the notification information according to this feature
Breath sends the notification information.For example, phy chip 24 can be sent by interface 241 should if this feature information is interface 241
Notification information.
Shown in Figure 4, logic device 23 can also include: management submodule 237;The management submodule 237 is for obtaining
Packet sending speed, characteristic information and notification information are taken, it is then possible to by packet sending speed storage to control register 235, and should
Characteristic information and the notification information are stored to message template submodule 236.
On the basis of Fig. 4 logic device 23, above scheme is illustrated below in conjunction with specific embodiment.
When power module 11 works normally, CPU121 can by message A, (regular traffic needs to send out by data/address bus
Give the data message of external equipment) it is sent to exchange chip 122, exchange chip 122 can pass through after receiving message A
Message A is sent to the first queue submodule 231 of logic device 23 by data/address bus, due to the conducting of selector submodule 233 the
One queue submodule 231 and second queue submodule 232, in this way, first queue submodule 231 receives report by data/address bus
After literary A, message A can be sent to second queue submodule 232, second queue submodule 232 can be incited somebody to action by data/address bus
Message A is transmitted to phy chip 24, and message A can be transmitted to external equipment by phy chip 24.
Phy chip 24 can pass through data/address bus after receiving message B (i.e. the data message of external equipment transmission)
Message B is sent to the second queue submodule 232 of logic device 23, since first queue is connected in selector submodule 233
Module 231 and second queue submodule 232, in this way, second queue submodule 232 is after receiving message B by data/address bus,
Message B can be sent to first queue submodule 231, first queue submodule 231 can turn message B by data/address bus
Exchange chip 122 is issued, message B is transmitted to CPU121 by data/address bus by exchange chip 122, so that CPU121 is to message B
It is handled.
CPU121 can also obtain notification information, and the notification information is sent to logic device 23 by management bus
Submodule 237 is managed, manages submodule 237 after receiving notification information, by notification information storage to message template submodule
Block 236.CPU121 can also obtain characteristic information, and this feature information is sent to the pipe of logic device 23 by management bus
Submodule 237 is managed, manages submodule 237 after receiving characteristic information, by this feature information storage to message template submodule
236。
Wherein, characteristic information is used to indicate notification information in the outgoing interface of phy chip 24, for example, if phy chip 24 is logical
It crosses interface 241 to connect with monitoring host computer, then characteristic information can be interface 241.
Management submodule 237 can also obtain the packet sending speed of notification information, and the packet sending speed is stored to control and is posted
Storage 235 indicates the notification information according to the packet sending speed periodicity sending.Wherein, this packet sending speed can be CPU121
It generates according to actual needs, and is sent to management submodule 237, be also possible to manage submodule 237 itself according to actual needs
It generates, it is without limitation.
Management submodule 237 can also obtain the running parameter of first queue submodule 231 (for example, operating rate, duplex
The running parameters such as mode, queue length), and the running parameter of first queue submodule 231 is stored to control register 235,
Indicate that first queue submodule 231 works according to the running parameter.Moreover, first queue submodule 231 can be with control
Register 235 connects, and the running parameter of first queue submodule 231 is read from control register 235.Wherein, first queue
The running parameter of submodule 231 can be what CPU121 was generated according to actual needs, and be sent to management submodule 237, can also
It itself is generated according to actual needs with managing submodule 237, it is without limitation.
Management submodule 237 can also obtain the running parameter of second queue submodule 232, and by second queue submodule
232 running parameter storage indicates that second queue submodule 232 works according to the running parameter to control register 235.
Second queue submodule 232 can be connect with control register 235, and read second queue submodule from control register 235
232 running parameter.Wherein, the running parameter of second queue submodule 232 can be what CPU121 was generated according to actual needs,
And it is sent to management submodule 237, it is also possible to manage what submodule 237 generated itself according to actual needs.
When power module 11 is abnormal, detection module 21 is able to detect that power module 11 is abnormal, by first
Exception information is sent to accumulator 22, and the second exception information is sent to the selector submodule 233 of logic device 23.Storage
Energy circuit 22 can be logic device 23 and phy chip 24 when receiving first exception information of the transmission of detection module 21
Power supply.Device submodule of giving out a contract for a project can be connected when receiving second exception information in the selector submodule 233 of logic device 23
234 and second queue submodule 232, and it is no longer turned on first queue submodule 231 and second queue submodule 232.
Device submodule 234 of giving out a contract for a project can read packet sending speed from control register 235, and from message template submodule
Characteristic information and notification information are read in 236, then, are sent to this feature information and the notification information according to the packet sending speed
Second queue submodule 232, that is to say, that device submodule 234 of giving out a contract for a project according to the packet sending speed, periodically by characteristic information and
Notification information is sent to second queue submodule 232.
Second queue submodule 232, can be by this feature information after receiving this feature information and the notification information
Phy chip 24 is sent to the notification information.Phy chip 24, can be with after receiving this feature information and the notification information
The notification information is sent according to this feature information.For example, phy chip 24 can pass through if this feature information is interface 241
Interface 241 sends the notification information to monitoring host computer.
In one example, the exchange chip 122 of master control borad 10 may include multiple interfaces, and each interface is exactly an IO
(Input Output, input and output), in order to be connect with multiple interfaces of exchange chip 122, then first queue submodule 231
Quantity can be multiple, the quantity of second queue submodule 232 may be it is multiple, the quantity of first queue submodule 231 with
The quantity of second queue submodule 232 can be identical, as quantity is identical as the interface quantity of exchange chip 122.Referring to Fig. 5 institute
Show, includes the schematic diagram of multiple first queue submodules 231 and multiple second queue submodules 232 for logic device 23.
For example, exchange chip 122 may include two interfaces, in this way, logic device 23 may include two first queues
Submodule 231, and logic device 23 may include two second queue submodules 232.
Under this application scenarios, each interface of exchange chip 122 can correspond to a first queue submodule 231 and one
A second queue submodule 232, that is to say, that the first queue submodule 231 and the second queue submodule 232 can be used
The message of the interface is transmitted.For example, 232A pairs of first queue submodule 231A and second queue submodule can be passed through
The message of interface 1221 is transmitted, can be by first queue submodule 231B and second queue submodule 232B to interface
1222 message is transmitted.
Based on similarly applying conceiving with the above method, the embodiment of the present application also proposes a kind of notification information transmission method,
It can be applied to the network equipment, the network equipment includes: master control borad and service card, and the master control borad includes power module, institute
Stating service card includes detection module, accumulator, logic device and phy chip, shown in Figure 6, is the structure of this method
Figure, this method may include:
Step 601, the first exception information is sent to energy storage electricity when detecting that power module is abnormal by detection module
Road, and the second exception information is sent to logic device.
Step 602, accumulator stores electric energy when power module works normally;Receiving first exception information
When, it is that logic device and phy chip are powered.
Step 603, logic device is read pre-stored logical when receiving second exception information from logic device
Know information, and the notification information is sent to phy chip.
Step 604, phy chip sends the notification information to monitoring host computer when receiving notification information.
The embodiment of the present application also proposes that a kind of service card, the service card are deployed in the network equipment, and the service card includes:
Detection module, accumulator, logic device and phy chip;Wherein:
The detection module, it is abnormal by first for when detecting that the power module of the network equipment is abnormal
Information is sent to the accumulator, and the second exception information is sent to the logic device;
The accumulator, for storing electric energy when the power module works normally;It is different receiving described first
It is that the logic device and the phy chip are powered when normal information;
The logic device, for being read from the logic device preparatory when receiving second exception information
The notification information of storage, and the notification information is sent to the phy chip;
The phy chip, for sending the notification information to monitoring host computer when receiving notification information.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more,
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram
The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys
Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with
A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for
Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set
In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates
Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one
The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer
Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram
The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (11)
1. a kind of network equipment characterized by comprising master control borad and service card, the master control borad includes power module, described
Service card includes detection module, accumulator, logic device and phy chip;Wherein:
The detection module, for the first exception information being sent to described when detecting that the power module is abnormal
Second exception information is sent to the logic device by accumulator;
The accumulator, for storing electric energy when the power module works normally;Receiving the described first abnormal letter
It is that the logic device and the phy chip are powered when breath;
The logic device, for reading and being stored in advance from the logic device when receiving second exception information
Notification information, and the notification information is sent to the phy chip;
The phy chip, for sending the notification information to monitoring host computer when receiving notification information.
2. the network equipment according to claim 1, which is characterized in that the accumulator is also used to:
When receiving first exception information, forbid as master control borad power supply.
3. the network equipment according to claim 1, which is characterized in that
The master control borad further includes central processor CPU;
The CPU, for when the power module works normally, then obtaining the notification information of the network equipment, and by institute
It states notification information and is sent to the logic device;
The logic device is also used to: after receiving the notification information, storing the notification information.
4. the network equipment according to claim 3, which is characterized in that the logic device include: first queue submodule,
Second queue submodule, selector submodule and device submodule of giving out a contract for a project, in which:
The selector submodule, for the first queue submodule when not receiving second exception information, to be connected
With the second queue submodule;The first queue submodule, the message sent for receiving the CPU, by the message
It is sent to second queue submodule;The second queue submodule, the message sent for receiving the first queue submodule,
The message is sent to the phy chip;
The selector submodule, is also used to when receiving second exception information, give out a contract for a project described in conducting device submodule and
The second queue submodule;The device submodule of giving out a contract for a project is believed for reading pre-stored notification information, and by the notice
Breath is sent to the second queue submodule;The second queue submodule is also used to receive the notification information, and will be described
Notification information is sent to the phy chip.
5. the network equipment according to claim 4, which is characterized in that
The logic device further include: control register and message template submodule;
The control register, for storing packet sending speed, the message template submodule, for storing notification information and feature
Information, the characteristic information are used to indicate notification information in the outgoing interface of phy chip;
The device submodule of giving out a contract for a project is also used to from packet sending speed described in the control register read, and from the message template
Submodule reads the notification information and the characteristic information, and according to the packet sending speed by the notification information and the spy
Reference breath is sent to the second queue submodule;
The second queue submodule is also used to the characteristic information and the notification information being sent to the phy chip,
So that the phy chip sends the notification information according to the characteristic information.
6. the network equipment according to claim 5, which is characterized in that
The logic device further include: management submodule;The management submodule, for obtaining the packet sending speed, the spy
Reference breath and the notification information, the packet sending speed are stored to the control register, and by the characteristic information and institute
Notification information storage is stated to the message template submodule.
7. a kind of notification information transmission method, which is characterized in that be applied to the network equipment, the network equipment includes: master control borad
And service card, the master control borad include power module, the service card includes detection module, accumulator, logic device and object
Manage chip, which comprises
The detection module is sent to the energy storage electricity when detecting that the power module is abnormal, by the first exception information
Road, and the second exception information is sent to the logic device;
The accumulator stores electric energy when the power module works normally;When receiving first exception information,
It powers for the logic device and the phy chip;
The logic device reads pre-stored notice when receiving second exception information from the logic device
Information, and the notification information is sent to the phy chip;
The phy chip sends the notification information when receiving notification information, to monitoring host computer.
8. a kind of service card, which is characterized in that the service card is deployed in the network equipment, the service card include: detection module,
Accumulator, logic device and phy chip;Wherein:
The detection module, for when detecting that the power module of the network equipment is abnormal, by the first exception information
It is sent to the accumulator, the second exception information is sent to the logic device;
The accumulator, for storing electric energy when the power module works normally;Receiving the described first abnormal letter
It is that the logic device and the phy chip are powered when breath;
The logic device, for reading and being stored in advance from the logic device when receiving second exception information
Notification information, and the notification information is sent to the phy chip;
The phy chip, for sending the notification information to monitoring host computer when receiving notification information.
9. a kind of logic device, which is characterized in that the logic device is deployed in the service card of the network equipment, the logic device
It include: second queue submodule, selector submodule and device submodule of giving out a contract for a project, in which:
The selector submodule, for device submodule and second team of giving out a contract for a project when receiving exception information, described in conducting
Column submodule;Wherein, the exception information indicates that the power module of the network equipment is abnormal;
The device submodule of giving out a contract for a project is sent to described for reading pre-stored notification information, and by the notification information
Two queue submodules;
The second queue submodule is sent to the exchange core for receiving the notification information, and by the notification information
Piece, so that the exchange chip sends the notification information to monitoring host computer.
10. logic device according to claim 9, which is characterized in that
The logic device further include: control register and message template submodule;
The control register, for storing packet sending speed, the message template submodule, for storing notification information and feature
Information, the characteristic information are used to indicate notification information in the outgoing interface of exchange chip;
The device submodule of giving out a contract for a project is also used to from packet sending speed described in the control register read, and from the message template
Submodule reads the notification information and the characteristic information, and according to the packet sending speed by the notification information and the spy
Reference breath is sent to the second queue submodule;
The second queue submodule is also used to the characteristic information and the notification information being sent to the exchange chip,
So that the exchange chip sends the notification information according to the characteristic information.
11. logic device according to claim 10, which is characterized in that
The logic device further include: management submodule;The management submodule, for obtaining the packet sending speed, the spy
Reference breath and the notification information, the packet sending speed are stored to the control register, and by the characteristic information and institute
Notification information storage is stated to the message template submodule.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811393267.6A CN109257185B (en) | 2018-11-21 | 2018-11-21 | Network equipment, service card, logic device and notification information transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811393267.6A CN109257185B (en) | 2018-11-21 | 2018-11-21 | Network equipment, service card, logic device and notification information transmission method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109257185A true CN109257185A (en) | 2019-01-22 |
| CN109257185B CN109257185B (en) | 2021-01-26 |
Family
ID=65041983
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811393267.6A Active CN109257185B (en) | 2018-11-21 | 2018-11-21 | Network equipment, service card, logic device and notification information transmission method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109257185B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417687A (en) * | 2019-07-23 | 2019-11-05 | 杭州迪普信息技术有限公司 | A kind of message sends and receives method and device |
| CN113835513A (en) * | 2021-09-16 | 2021-12-24 | 新华三信息安全技术有限公司 | Power failure information transmission method, main control board, sub-card, equipment and storage medium |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020032764A1 (en) * | 2000-09-04 | 2002-03-14 | Routrek Networks, Inc. | Technology for managing trouble creating devices in a network |
| CN102647739A (en) * | 2011-02-18 | 2012-08-22 | 鼎桥通信技术有限公司 | Radio remote unit |
| US20120300353A1 (en) * | 2011-05-27 | 2012-11-29 | Hon Hai Precision Industry Co., Ltd. | Network communication device |
| CN103220236A (en) * | 2012-01-21 | 2013-07-24 | 华为技术有限公司 | Management method for exchanging chip ports, main control panel, exchanging panel and system |
| CN104104434A (en) * | 2014-07-24 | 2014-10-15 | 北京华环电子股份有限公司 | Power failure alarm implementation method capable of rapidly inserting alarm frame |
| CN104270803A (en) * | 2014-09-05 | 2015-01-07 | 杭州华三通信技术有限公司 | Adjusting method and device for AP working mode |
| CN104283718A (en) * | 2014-10-27 | 2015-01-14 | 杭州华三通信技术有限公司 | Network device and hardware fault diagnosis method used for network device |
| CN107316659A (en) * | 2017-06-28 | 2017-11-03 | 东信和平科技股份有限公司 | Memory power down time section localization method and system power failure guard method |
| CN107507405A (en) * | 2017-09-22 | 2017-12-22 | 烽火通信科技股份有限公司 | Reduce the method and system of power fail warning handling duration |
| CN107544619A (en) * | 2017-06-27 | 2018-01-05 | 新华三云计算技术有限公司 | Method for synchronizing time and device |
| CN107607803A (en) * | 2016-07-11 | 2018-01-19 | 株洲中车时代电气股份有限公司 | Converter system failure logging method, apparatus and system |
| CN108228428A (en) * | 2018-02-05 | 2018-06-29 | 百度在线网络技术(北京)有限公司 | For the method and apparatus of output information |
-
2018
- 2018-11-21 CN CN201811393267.6A patent/CN109257185B/en active Active
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020032764A1 (en) * | 2000-09-04 | 2002-03-14 | Routrek Networks, Inc. | Technology for managing trouble creating devices in a network |
| CN102647739A (en) * | 2011-02-18 | 2012-08-22 | 鼎桥通信技术有限公司 | Radio remote unit |
| US20120300353A1 (en) * | 2011-05-27 | 2012-11-29 | Hon Hai Precision Industry Co., Ltd. | Network communication device |
| CN103220236A (en) * | 2012-01-21 | 2013-07-24 | 华为技术有限公司 | Management method for exchanging chip ports, main control panel, exchanging panel and system |
| CN104104434A (en) * | 2014-07-24 | 2014-10-15 | 北京华环电子股份有限公司 | Power failure alarm implementation method capable of rapidly inserting alarm frame |
| CN104270803A (en) * | 2014-09-05 | 2015-01-07 | 杭州华三通信技术有限公司 | Adjusting method and device for AP working mode |
| CN104283718A (en) * | 2014-10-27 | 2015-01-14 | 杭州华三通信技术有限公司 | Network device and hardware fault diagnosis method used for network device |
| CN107607803A (en) * | 2016-07-11 | 2018-01-19 | 株洲中车时代电气股份有限公司 | Converter system failure logging method, apparatus and system |
| CN107544619A (en) * | 2017-06-27 | 2018-01-05 | 新华三云计算技术有限公司 | Method for synchronizing time and device |
| CN107316659A (en) * | 2017-06-28 | 2017-11-03 | 东信和平科技股份有限公司 | Memory power down time section localization method and system power failure guard method |
| CN107507405A (en) * | 2017-09-22 | 2017-12-22 | 烽火通信科技股份有限公司 | Reduce the method and system of power fail warning handling duration |
| CN108228428A (en) * | 2018-02-05 | 2018-06-29 | 百度在线网络技术(北京)有限公司 | For the method and apparatus of output information |
Non-Patent Citations (3)
| Title |
|---|
| ZHAOHUI LUO; WEISHENG HE; MINGHUI LIWANG; LIANFEN HUANG; YIFENG: "《Real-time detection algorithm of abnormal behavior in crowds based on Gaussian mixture model》", 《2017 12TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND EDUCATION (ICCSE)》 * |
| 何蓉: "《一种室分电源智能隐患发掘工具》", 《信息通信》 * |
| 陈辉辉,刘琼,丁颖,李文,曹敏: "《三层以太网交换机掉电告警设计及实现》", 《光通信技术》 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110417687A (en) * | 2019-07-23 | 2019-11-05 | 杭州迪普信息技术有限公司 | A kind of message sends and receives method and device |
| CN110417687B (en) * | 2019-07-23 | 2021-07-23 | 杭州迪普信息技术有限公司 | Message sending and receiving method and device |
| 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 |
|---|---|
| CN109257185B (en) | 2021-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107924359B (en) | Management of fault conditions in a computing system | |
| US9477280B1 (en) | Specification for automatic power management of network-on-chip and system-on-chip | |
| WO2019184433A1 (en) | Method and device for monitoring network data | |
| CN103441861B (en) | A kind of data record generation method and device | |
| CN107193681A (en) | Data verification method and device | |
| CN111585821B (en) | High-speed interconnection network topology discovery method, device, medium and high-performance computing system | |
| CN109347685A (en) | A kind of network equipment, logic device and notification information transmission method | |
| CN105379192A (en) | Hardware management communication protocol | |
| US10078678B2 (en) | Data transfer between multiple databases | |
| CN109257185A (en) | A kind of network equipment, service card, logic device and notification information transmission method | |
| CN109257198A (en) | Adapter, management system and the network resource operation method of SDN controller | |
| CN109861869B (en) | Configuration file generation method and device | |
| US10348428B2 (en) | Techniques for synchronized execution of a command at network fabric nodes | |
| CN117176802B (en) | Full-link monitoring method and device for service request, electronic equipment and medium | |
| EP2518939A1 (en) | Data acquisition method in network resource estimation and system thereof | |
| CN103714040A (en) | Dynamic and selective management of integration points using performance metrics | |
| CN109412970B (en) | Data transfer system, data transfer method, electronic device, and storage medium | |
| CN117221104A (en) | Server configuration method and device | |
| CN118055028A (en) | Network topology operation and maintenance method and device and related equipment | |
| WO2023216901A1 (en) | Method and apparatus for configuring slice strategy, network device, and storage medium | |
| CN115914173A (en) | Chip implementation method and application of OAM (operation administration and maintenance) under multi-core architecture | |
| US10897401B2 (en) | Determining the importance of network devices based on discovered topology, managed endpoints, and activity | |
| US20180255157A1 (en) | Network service chains using hardware logic devices in an information handling system | |
| CN118368196B (en) | Traffic execution management method, device, electronic equipment and storage medium | |
| CN113452538A (en) | Control device, execution device, device management method, and device management system |
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 |