CN114244688A - Method, storage medium and device for realizing Ethernet power failure notification by LLDP - Google Patents
Method, storage medium and device for realizing Ethernet power failure notification by LLDP Download PDFInfo
- Publication number
- CN114244688A CN114244688A CN202111586151.6A CN202111586151A CN114244688A CN 114244688 A CN114244688 A CN 114244688A CN 202111586151 A CN202111586151 A CN 202111586151A CN 114244688 A CN114244688 A CN 114244688A
- Authority
- CN
- China
- Prior art keywords
- power failure
- power
- ethernet
- lldp
- processor
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 11
- 238000012423 maintenance Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010561 standard procedure Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- 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
- H04L41/0604—Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
- H04L41/0627—Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time by acting on the notification or alarm source
-
- 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
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- 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
- H04L41/0677—Localisation of faults
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method, a storage medium and a device for realizing Ethernet power failure notification by utilizing LLDP, wherein the method comprises the following steps: s100, a power supply module of the Ethernet equipment generates a power failure reason and informs an internal software system of the equipment; s200, the internal software system of the device sends an LLDP message with a power state TLV on links of all LLDP neighbors, wherein the power state TLV is provided with a power failure reason mark for artificially turning off a power switch or interrupting an external power supply; s300, the neighbor Ethernet equipment receives the LLDP message with the power state TLV, acquires the power failure reason mark of the power state TLV, and S400, the neighbor Ethernet equipment reports the power failure reason of the Ethernet equipment finally according to the power failure reason mark of the power state TLV. Compared with the power failure alarm notification of the existing Ethernet equipment, the invention utilizes the LLDP to increase a method for realizing the power failure alarm notification of the Ethernet equipment.
Description
Technical Field
The invention relates to the technical field of Ethernet equipment power failure management, in particular to a method, a storage medium and equipment for realizing Ethernet power failure notification by utilizing LLDP.
Background
In modern communication networks, the end ethernet devices are located closer and closer to the client desktop, and the location and environment cannot be effectively managed and controlled, so many factors can cause the end ethernet devices to be disconnected from the monitoring center. A common factor is that the ethernet device is powered off and the device is not working (including manually turning off the device power switch and the external power source off). Due to the fact that Ethernet equipment is disconnected for many reasons, professional maintenance personnel are generally required to check one by one. Therefore, it is necessary to know whether the ethernet device is unavailable or not because power is unavailable, which can save a lot of manpower and material costs for enterprises and maintenance personnel, so that the power failure alarm notification information of the ethernet device is important at this time.
LLDP (Link Layer Discovery Protocol) provides a standard Link Layer Discovery mode, which can organize Information such as main capability, Management IP, device identifier, interface identifier, etc. of a local device into different TLVs (Type/Length/Value), encapsulate the TLVs into LLDPDU (Link Layer Discovery Protocol Data Unit), and distribute the TLVs to neighbors directly connected to the neighbor, and store the Information in the form of a standard MIB (Management Information Base) after the neighbor receives the Information, so as to allow a network Management system to query and determine a communication status of a Link.
In brief, LLDP is a proximity discovery protocol. It defines a standard method for ethernet network devices, such as switches, routers and wlan access points, to advertise their presence to other nodes in the network and to maintain discovery information for each neighboring device. Detailed information such as device configuration and device identification may be advertised using the protocol.
Currently, LLDP has been widely supported link layer protocol of ethernet network device, so LLDP also provides a new implementation method for power failure alarm of ethernet network device.
Disclosure of Invention
The invention provides a method, a storage medium and equipment for realizing Ethernet power failure notification by utilizing LLDP, which can at least solve one of the technical problems in the background art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for realizing Ethernet power failure notification by utilizing LLDP comprises the following steps,
firstly, after a power supply module of the Ethernet equipment is powered off, sending a power-off notification to an internal software system of the Ethernet equipment, wherein the notification contains an identifier of a power-off reason;
secondly, the internal software system of the Ethernet equipment receives a power-down notification sent by the power module, and the platform immediately sends an LLDP message with a power state TLV in all LLDP session neighbors, wherein the power state TLV has a power-down reason mark, for example, 1 represents that a power switch is manually turned off, and 2 represents that an external power supply is interrupted;
thirdly, if the receiving port of the neighbor device of the Ethernet device receives the LLDP carrying the TLV field of the power state, acquiring a power failure reason mark in the TLV field of the power state;
step four, if the power failure reason in the power state TLV is marked as 1, reporting that the broken link of the Ethernet equipment is caused by manually turning off a power switch; and if the power failure reason in the power state TLV is marked as 2, reporting that the broken link of the Ethernet device is caused by the interruption of the external power supply.
In yet another aspect, the present invention also discloses a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the steps of the method as described above.
In yet another aspect, the present invention also discloses a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
According to the technical scheme, the method for realizing the power failure notification of the Ethernet by utilizing the LLDP is characterized in that the LLDP is used as a wide link layer protocol of the Ethernet equipment, the method for realizing the power failure warning notification of the Ethernet equipment is provided, and the network maintenance cost can be reduced.
In summary, the present invention detects whether the received LLDP message carries the ethernet power-down flag through the sink device, and finally accurately obtains the power-down reason of the end ethernet device through the ethernet power-down flag, so that the network maintenance personnel can quickly locate the fault reason, and the labor and material costs are saved for the operation and maintenance enterprise.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention;
FIG. 2 is an introduction view of a usage scenario of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
As shown in fig. 1, the method for implementing power down notification of ethernet by using LLDP according to this embodiment executes the following steps by a computer device,
firstly, a power module of the Ethernet equipment sends a power failure reason notice to an internal software system of the Ethernet equipment;
secondly, an internal software system of the Ethernet equipment sends LLDP messages with power supply state TLVs (threshold value limit) at all LLDP neighbor ports according to the power failure notification of the power supply module, wherein the power supply state TLVs are provided with power failure reason marks, for example, 1 represents that a power supply switch is manually turned off, and 2 represents that an external power supply is interrupted;
thirdly, if the receiving port of the neighbor device of the Ethernet device receives the LLDP carrying the TLV field of the power state, acquiring a power failure reason mark in the TLV field of the power state;
fourthly, the neighbor equipment of the Ethernet equipment checks that the reason mark of power failure in the power state TLV is 1, and reports that the broken link of the Ethernet equipment is caused by manually turning off a power switch; and if the power failure reason in the power state TLV is marked as 2, reporting that the broken link of the Ethernet equipment is caused by the interruption of the external power supply.
The method for realizing the power failure notification of the Ethernet equipment by utilizing the LLDP adds a method for realizing the power failure warning notification of the Ethernet equipment.
In yet another aspect, the present invention also discloses a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to perform the steps of the method as described above.
In yet another aspect, the present invention also discloses a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above method.
It is understood that the system provided by the embodiment of the present invention corresponds to the method provided by the embodiment of the present invention, and the explanation, the example and the beneficial effects of the related contents can refer to the corresponding parts in the method.
The embodiment of the application also provides an electronic device, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus,
a memory for storing a computer program;
the processor is used for realizing the method for realizing the Ethernet power failure notification by utilizing the LLDP when executing the program stored in the memory;
the communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, or discrete hardware components.
In yet another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the above-mentioned methods for implementing power down ethernet notification using LLDP.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (3)
1. A method for realizing Ethernet power failure notification by utilizing LLDP is characterized by comprising the following steps,
s100, a power supply module of the Ethernet equipment sends a power failure reason notice to an internal software system of the Ethernet equipment;
s200, the internal software system of the Ethernet equipment receives a power failure sending notice of the power supply module, and the platform immediately sends an LLDP message with a power state TLV in all LLDP session neighbors, wherein the power state TLV is provided with a power failure reason mark;
s300, if the receiving port of the neighbor device of the Ethernet device receives the LLDP carrying the TLV field of the power state, acquiring a power failure reason mark in the TLV field of the power state;
s400, if the power failure reason in the power state TLV is marked as 1, reporting that the broken link of the Ethernet equipment is caused by manually turning off a power switch; and if the power failure reason in the power state TLV is marked as 2, reporting that the broken link of the Ethernet device is caused by the interruption of the external power supply.
2. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method as claimed in claim 1.
3. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111586151.6A CN114244688A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and device for realizing Ethernet power failure notification by LLDP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111586151.6A CN114244688A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and device for realizing Ethernet power failure notification by LLDP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114244688A true CN114244688A (en) | 2022-03-25 |
Family
ID=80761718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111586151.6A Pending CN114244688A (en) | 2021-12-23 | 2021-12-23 | Method, storage medium and device for realizing Ethernet power failure notification by LLDP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114244688A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045107A (en) * | 2009-04-22 | 2011-05-04 | 华为技术有限公司 | Methods and apparatus for reception of dynamic information by inactive receivers |
CN102238066A (en) * | 2010-04-27 | 2011-11-09 | 杭州华三通信技术有限公司 | Real-time traffic reporting method, media endpoint and system |
CN102281167A (en) * | 2010-06-13 | 2011-12-14 | 北京润光泰力科技发展有限公司 | Method and system for detecting power failure of network equipment |
CN104009943A (en) * | 2013-02-21 | 2014-08-27 | 中兴通讯股份有限公司 | LLDP (Link Layer Discovery Protocol) message transmission method and DCB (Data Center Bridging) device |
US20180317175A1 (en) * | 2017-04-27 | 2018-11-01 | Lenovo (Singapore) Pte. Ltd. | Method for securing availability of mobile terminal device and information processing device |
EP3637675A1 (en) * | 2017-05-26 | 2020-04-15 | Huawei Technologies Co., Ltd. | Power sourcing management method, device and system |
-
2021
- 2021-12-23 CN CN202111586151.6A patent/CN114244688A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045107A (en) * | 2009-04-22 | 2011-05-04 | 华为技术有限公司 | Methods and apparatus for reception of dynamic information by inactive receivers |
CN102238066A (en) * | 2010-04-27 | 2011-11-09 | 杭州华三通信技术有限公司 | Real-time traffic reporting method, media endpoint and system |
CN102281167A (en) * | 2010-06-13 | 2011-12-14 | 北京润光泰力科技发展有限公司 | Method and system for detecting power failure of network equipment |
CN104009943A (en) * | 2013-02-21 | 2014-08-27 | 中兴通讯股份有限公司 | LLDP (Link Layer Discovery Protocol) message transmission method and DCB (Data Center Bridging) device |
US20180317175A1 (en) * | 2017-04-27 | 2018-11-01 | Lenovo (Singapore) Pte. Ltd. | Method for securing availability of mobile terminal device and information processing device |
EP3637675A1 (en) * | 2017-05-26 | 2020-04-15 | Huawei Technologies Co., Ltd. | Power sourcing management method, device and system |
Non-Patent Citations (2)
Title |
---|
THORSTEN SCHOLZ; JANIS KRUSE: "Tracing of hardware addresses in layer two bridged networks" * |
王志军,杨世盛,仲惟师,丛宽堂,栗丽明,葛祖郁: "合理配置PoE保障公司IMS安全稳定运行" * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8086721B2 (en) | Network resource management in a network device | |
WO2020020144A1 (en) | Link switching method, link switching device, network communication system and computer readable storage medium | |
EP2947907B1 (en) | Startup configuration method in base station, base station and server | |
US8495428B2 (en) | Quality of service management of end user devices in an end user network | |
CN101083557B (en) | SNMP based IP network cluster managerial approach | |
US11223555B2 (en) | Link health forecast—predictive Ethernet link monitoring using DOM with ELOAM | |
CN107124315B (en) | Multi-server monitoring system and monitoring method based on SNMP and IPMI protocol | |
CN101170593B (en) | A VoIP phone terminal and online failure detection device and method | |
CN105450472A (en) | Method and device for automatically acquiring states of physical components of servers | |
US10581697B2 (en) | SDN controlled PoE management system | |
CN102263651A (en) | Method for detecting connection state of local end equipment in SNMP (simple network management protocol) network management system (NMS) | |
CN109802879B (en) | Data stream routing method and device | |
CN114244688A (en) | Method, storage medium and device for realizing Ethernet power failure notification by LLDP | |
EP1622310A2 (en) | Administration system for network management systems | |
TWI740210B (en) | Method for terminal device management and server | |
CN115514719B (en) | Message sending method, device, switch and readable storage medium | |
US20170243473A1 (en) | Information Sending Method, Managed System, and Management System | |
JP6057470B2 (en) | Network alarm processing system | |
US8458529B2 (en) | Logical entity fault isolation in network systems management | |
JP2004086522A (en) | Communication network monitoring system | |
CN114244694A (en) | Intelligent management method, system and equipment for network port and readable storage medium | |
CN114205264A (en) | Method, system and medium for inhibiting frequent L2VPN switching caused by BFD frequent oscillation | |
US9948499B2 (en) | Location of unidirectional handover relationships | |
CN116634016A (en) | ND proxy configuration system, ND proxy configuration method, ND proxy configuration device, ND proxy configuration communication device and ND proxy storage medium | |
JP2023131535A (en) | Local 5g monitoring system using wireless terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220325 |