Equipment power failure prompting method based on FPGA capacitor discharge

Through the FPGA capacitor discharge method, power-down prompt message is sent using the energy storage capacitor discharge time window, which solves the problem of indistinguishable equipment power-down and fiber interruption in the communication network, and achieves fast and accurate fault location and alarms, reducing hardware costs.

CN120455257APending Publication Date: 2025-08-08FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510834111.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-20
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The prior art is difficult to quickly distinguish between power failure of equipment in communication networks and fiber interruptions, resulting in low fault positioning efficiency, and conventional channels cannot complete message transmission within capacitor discharge time, resulting in lost power failure alarms.

Method used

Through the FPGA capacitor discharge method, the energy storage capacitor discharge time window is used to send a preset power-down prompt message through the preset private network management path, and the neighbor network element generates a remote power-down alarm and reports it to the private network management server, including the power-down network element identifier.

Benefits of technology

It realizes the rapid transmission and accurate positioning of instant power-down packets, improves the real-time and accuracy of power-down alarms, reduces hardware costs, and provides efficient fault location solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455257A_ABST
    Figure CN120455257A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment power failure prompting method based on FPGA capacitor discharge. The method comprises the following steps: acquiring a preset power failure prompt message through an FPGA message cache module based on an equipment interrupt signal; sending a preset power-down prompt message to a neighbor network element through a preset private network management path by using the discharge time window of the energy storage capacitor; and according to an analysis result of the neighbor network element on the preset power failure prompt message, a far-end power failure alarm is generated, the far-end power failure alarm is reported to the private network management server, and the far-end power failure alarm comprises a power failure network element identifier. According to the method, the alarm message is pre-stored through the FPGA, the capacitor discharge time window is utilized, the alarm message is sent to the neighbor network element through the private channel, and the neighbor network element reports the alarm message to the private network manager, so that a power failure event can be quickly positioned, equipment power failure and optical fiber interruption faults are distinguished, the real-time performance and accuracy of power failure alarm are improved, and the power failure alarm efficiency is improved. And an efficient and low-cost power failure fault positioning solution is provided for communication network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of mobile communications and the Internet, and in particular relates to a device power-off prompting method based on FPGA capacitor discharge. Background Art

[0002] In the field of communication network management, both device power failure and fiber interruption will lead to network element communication interruption, but existing technologies have difficulty in quickly distinguishing between the two, resulting in low fault location efficiency. Specifically, traditional network element communication interruption detection solutions usually rely on heartbeat packets to detect communication status, but when the device loses power or the fiber is interrupted, it will manifest as a communication timeout, and the root cause of the fault cannot be accurately identified, which may cause maintenance personnel to misjudge and prolong the fault handling time. In addition, some solutions in the existing technology attempt to send power failure alarm messages through DCC (Data Communication Channel) or GCC (General Communication Channel), but are limited by the bandwidth of DCC / GCC, which is usually at the kbit / s to Mbit / s level. It takes a long time to send a 128-byte alarm message, and the capacitor discharge time window at the moment the device loses power is extremely short, usually only a few milliseconds, resulting in the inability of conventional channels to complete message sending within the capacitor discharge time, resulting in the loss of power failure alarms. Summary of the Invention

[0003] Based on this, it is necessary to provide a device power-off prompt method based on FPGA capacitor discharge to address the above technical problems, aiming to achieve rapid message sending at the moment of power off, accurately locate the power off fault, and shorten the fault handling time.

[0004] In a first aspect, the present application provides a device power-off prompt method based on FPGA capacitor discharge, comprising:

[0005] Obtaining a device interrupt signal, and obtaining a preset power-off prompt message through the FPGA message cache module based on the device interrupt signal. The device interrupt signal is used to trigger a power-off interrupt;

[0006] Using the energy storage capacitor discharge time window, a preset power-off reminder message is sent to the neighboring network element through a preset private network management path;

[0007] According to the analysis result of the preset power-off prompt message by the neighboring network element, a remote power-off alarm is generated and reported to the private network management server. The remote power-off alarm includes the identifier of the power-off network element.

[0008] In one embodiment, the device interrupt signal is obtained by the following steps:

[0009] When the voltage drop of the main control panel bus detected by the power module exceeds the preset threshold, a device interrupt signal is generated and a power-off interrupt is triggered.

[0010] In one embodiment, before obtaining the device interrupt signal, the method further includes:

[0011] generating, according to the power-off prompt enabling configuration read by the first network management unit, an alarm message including a device identifier, and obtaining an organized alarm message;

[0012] Based on the organized warning message, fill the message information attribute to mark the message type through the first IP protocol stack message to obtain the marked message, and send the marked message to the system communication kernel module;

[0013] The marked message is parsed through the system communication kernel module to obtain the message information attribute field;

[0014] According to the message information attribute field, calling the interface of the first IP protocol stack to encapsulate the MAC-in-MAC header to obtain the encapsulated message;

[0015] Based on the power-off warning flag in the MAC-in-MAC header, the encapsulated message is judged. When the judgment result shows that the encapsulated message is a power-off warning alarm message, the encapsulated message is stored in the FPGA message cache module and the encapsulated message is used as the preset power-off warning message.

[0016] In one embodiment, a preset power-off prompt message is sent to a neighboring network element via a preset private network management path using a discharge time window of an energy storage capacitor, including:

[0017] According to the device interrupt signal, confirm the power status of the dual disk and obtain the confirmation result of the power status of the dual disk;

[0018] If the power status confirmation result of the dual disk is that there is a power alarm, based on the preset dedicated communication chip identification conditions, the preset power failure prompt message is encapsulated in the format of the frame transmission management header and the packet protocol header to obtain a message in the encapsulated format;

[0019] Based on the encapsulated message, the encapsulated message is sent to the packet transport network service port of the neighboring network element through the management communication channel within the energy storage capacitor discharge time window, wherein the management communication channel is a preset private network management path.

[0020] In one embodiment, generating a remote power-off alarm based on the result of parsing a preset power-off prompt message by a neighboring network element includes:

[0021] Converting the preset power-off prompt message into a MAC-in-MAC format through a dedicated communication chip of a neighboring network element to obtain a converted message;

[0022] Parsing the power failure indication dedicated flag in the MAC-in-MAC header of the converted message through the second IP protocol stack of the neighboring network element to obtain a parsing result, which includes a source IP address;

[0023] Sending the parsing result to the second network management unit of the neighboring network element based on the system communication kernel stub interface of the neighboring network element;

[0024] The second network management unit of the neighboring network element identifies the power failure prompt message type in the parsing result and generates a remote power failure alarm, wherein the power failure network element identifier includes a source IP address and / or a network element ID.

[0025] In one embodiment, it further includes:

[0026] When the powered-off device is powered on again, the third network management unit of the powered-off device is synchronized with the private network management server to obtain the alarm synchronization result;

[0027] Based on the alarm synchronization result, if the private network management server does not detect the power failure alarm, the remote power failure alarm is eliminated, wherein the alarm message information sent when eliminating the remote power failure alarm is the same as the alarm message information sent when generating the remote power failure alarm.

[0028] In one embodiment, within the energy storage capacitor discharge time window, sending an encapsulated message to a packet transport network service port of a neighboring network element through a management communication channel includes:

[0029] According to the frame transmission management header and the packet protocol header in the encapsulated message, the corresponding management communication channel is selected, and three frames of 128-byte encapsulated messages are continuously sent within the time window of 0.8ms when the energy storage capacitor discharges.

[0030] In a second aspect, the present application also provides a device power-off prompt system based on FPGA capacitor discharge, comprising:

[0031] The power-off detection and message acquisition module is used to obtain the device interrupt signal and obtain the preset power-off prompt message through the FPGA message cache module according to the device interrupt signal. The device interrupt signal is used to trigger the power-off interrupt;

[0032] The capacitor discharge and message sending module is used to use the energy storage capacitor discharge time window to send a preset power-off prompt message to the neighboring network element through a preset private network management path;

[0033] The message parsing and alarm generation module is used to generate a remote power-off alarm based on the parsing result of the preset power-off prompt message by the neighboring network element, and report the remote power-off alarm to the private network management server. The remote power-off alarm includes the identifier of the power-off network element.

[0034] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the first aspect when executing the computer program.

[0035] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps in the first aspect when the computer program is processed.

[0036] The above-mentioned device power-off prompt method based on FPGA capacitor discharge can quickly respond at the moment of device power-off by obtaining the device interrupt signal and triggering the FPGA message cache module to call the preset message. It uses the hardware characteristics of the FPGA pre-stored message to avoid data generation delay after power-off and ensure the real-time availability of the alarm message. Secondly, by using the energy storage capacitor discharge time window to send messages through the preset private network management path, it can avoid the bandwidth bottleneck of the conventional DCC / GCC channel and complete the message transmission in the extremely short time maintained by the capacitor discharge, thereby ensuring the reliability of the power-off alarm. In addition, when the neighboring network element parses the message and generates a remote alarm containing the identifier of the power-off network element, it can accurately distinguish between device power-off and fiber interruption failures.

[0037] Compared with traditional power-off alarm solutions, this method not only improves the real-time and accuracy of power-off alarms, but also reduces hardware costs through technical means such as FPGA hardware cache, capacitor transient power supply, and dedicated network management paths, providing an efficient and low-cost power-off fault location solution for communication network equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A flow chart of a device power-off prompt method based on FPGA capacitor discharge provided by an exemplary embodiment of the present invention;

[0040] Figure 2 A flowchart of a method for sending a preset power-off prompt message to a neighboring network element is provided as an exemplary embodiment of the present invention;

[0041] Figure 3 A schematic diagram of the structure of a device power-off prompt system based on FPGA capacitor discharge is provided as an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0043] In one embodiment, Figure 1 As shown, a device power-off notification method based on FPGA capacitor discharge is provided. This embodiment uses the method applied to a terminal as an example. It is understandable that the method can also be applied to a server, or to a system including a terminal and a server, and implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0044] S101: Obtain a device interrupt signal, and obtain a preset power-off prompt message through an FPGA message buffer module according to the device interrupt signal. The device interrupt signal is used to trigger a power-off interrupt.

[0045] Specifically, during normal operation of the device, its power module continuously monitors the device's power supply status to ensure stable operation. Furthermore, when a power outage occurs, the power module generates a device interrupt signal to prompt the device to enter the power-off protection process, requiring timely action to ensure necessary information transmission and status reporting are completed before the device completely loses power. Upon receiving the device interrupt signal, the FPGA rapidly responds and activates the power-off interrupt handling mechanism. The FPGA message buffer module pre-stores a preset power-off notification message. This message, pre-organized by the Network Management Unit (NMU) during normal operation, may contain key information related to the device power-off, such as the device ID and network element type. The FPGA message buffer module then rapidly retrieves the preset power-off notification message, eliminating the need to wait for the message to be generated. This ensures that accurate message information is promptly retrieved at the moment of a power-off, effectively preventing information transmission failures caused by sudden power outages.

[0046] S102: Using the energy storage capacitor discharge time window, a preset power-off prompt message is sent to a neighboring network element through a preset private network management path.

[0047] Specifically, when a power outage is detected, the energy storage capacitor in the device's power module can immediately power the FPGA and private network management interface. To ensure that power-off notification messages are accurately and promptly sent to neighboring network elements, a private network management path with higher priority and reliability can be pre-set to avoid congestion or failures that may occur in conventional communication channels. Through this path, the FPGA can encapsulate the power-off notification message into an Ethernet frame in a specific format and send it to the neighboring network element. Furthermore, during the process of sending the power-off notification message, some redundant measures can be taken, such as continuously sending multiple frames of messages in a short period of time, to further increase the probability of successful message delivery and enhance the reliability of the power-off notification.

[0048] S103: Generate a remote power failure alarm according to the result of the neighboring network element parsing the preset power failure prompt message, and report the remote power failure alarm to the private network management server. The remote power failure alarm includes the power failure network element identifier.

[0049] Specifically, upon receiving a power outage notification message sent via the private network management path, the neighboring network element can immediately parse the message. This parsing process may include formatting checks, content verification, and key information extraction, obtaining information such as the identifier of the power element that has experienced power outages. Based on this information, the neighboring network element can generate a remote power outage alarm. This generated remote power outage alarm can then be reported to the private network management server. This private network management server is the core of the entire network management system, centrally managing and processing various alarm information in the network, namely, recording, analyzing, and displaying alarms. Network administrators can promptly access device power outage alarm information through the network management server interface, allowing them to quickly implement appropriate maintenance measures, such as arranging technicians to visit the location of the power-outage device for inspection or troubleshooting. This allows for timely troubleshooting and network recovery, minimizing the impact of the power outage on the entire communication network and ensuring stable operation and service continuity.

[0050] In the above method, by obtaining the device interrupt signal and triggering the power-off interrupt, the FPGA message cache module is used to obtain the preset power-off prompt message, so that the corresponding prompt information can be quickly prepared at the moment when the device is about to lose power. Secondly, the discharge time window of the energy storage capacitor is used to send the power-off prompt message to the neighboring network element through the preset private network management path, making full use of the short time for capacitor discharge and ensuring that the power-off information can be transmitted in time before the device is completely powered off. In addition, the neighboring network element parses the preset power-off prompt message and generates a remote power-off alarm containing the power-off network element identifier and reports it to the private network management server, thereby accurately distinguishing between device power-off and fiber optic interruption faults, and allowing network management personnel to quickly locate the specific location of the power-off device and take timely measures for maintenance and processing.

[0051] In one embodiment, the device interrupt signal may be obtained by the following steps:

[0052] When the voltage drop of the main control panel bus detected by the power module exceeds the preset threshold, a device interrupt signal is generated and a power-off interrupt is triggered.

[0053] Specifically, the main control panel bus is a critical power supply circuit within the device, and changes in its voltage directly reflect the device's power supply stability. The power module uses a built-in high-precision voltage sensor and real-time monitoring circuit to obtain the main control panel bus voltage value and convert it into a digital signal using an analog-to-digital converter to monitor changes in the main control panel bus voltage in real time. A preset threshold can be set based on the main control panel bus voltage range during normal device operation and the device's designed minimum safe operating voltage to distinguish between normal voltage fluctuations and voltage drops that could indicate a power outage. Illustratively, this preset threshold can be set when the main control panel bus voltage drops by more than 10% of the normal operating voltage. For example, if the main control panel bus voltage is 12V during normal device operation, when the voltage drops below 10.8V, the power module will determine that the voltage drop has reached the preset threshold, generating a device interrupt signal and triggering a power-off interrupt, preventing uncontrolled power outages due to low voltage, which could lead to data loss or device damage.

[0054] In one embodiment, before obtaining the device interrupt signal, the method further includes:

[0055] generating, according to the power-off prompt enabling configuration read by the first network management unit, an alarm message including a device identifier, and obtaining an organized alarm message;

[0056] Based on the organized warning message, fill the message information attribute to mark the message type through the first IP protocol stack message to obtain the marked message, and send the marked message to the system communication kernel module;

[0057] The marked message is parsed through the system communication kernel module to obtain the message information attribute field;

[0058] According to the message information attribute field, calling the interface of the first IP protocol stack to encapsulate the MAC-in-MAC header to obtain the encapsulated message;

[0059] Based on the power-off warning flag in the MAC-in-MAC header, the encapsulated message is judged. When the judgment result shows that the encapsulated message is a power-off warning alarm message, the encapsulated message is stored in the FPGA message cache module and the encapsulated message is used as the preset power-off warning message.

[0060] Specifically, before obtaining the device interrupt signal, a message generation and storage operation can be performed first to ensure that the device can quickly and accurately send a power-off prompt message at the moment of power failure, thereby realizing an efficient and reliable power-off prompt mechanism. Among them, the first network management unit can read the power-off prompt enable configuration of the device to determine whether the power-off prompt function has been enabled for the device. If the function is enabled, the first network management unit can generate an alarm message containing a device identifier. The alarm message is used to issue an alarm prompt when the device loses power. The device identifier can be the IP address and / or network element ID of the device, which is used to uniquely identify the device identity and help network management personnel quickly locate the specific device that has lost power. Subsequently, based on the generated alarm message, the message information attributes are filled in through the first IP protocol stack message, such as adding a specific attribute field in the message to clearly indicate that the message is a power-off prompt message to mark the type of the message. After the marking is completed, the message is sent to the system communication kernel module (SCK, System Communication Kernel Module). As the core communication module inside the device, SCK can parse the message and extract the message information attribute field, thereby confirming the message type and related details. Furthermore, based on the message information attribute field parsed by SCK, the interface of the first IP protocol stack can be called to encapsulate the message, that is, to add a MAC-in-MAC header. This MAC-in-MAC encapsulation is an Ethernet encapsulation technology that can provide additional protection and management functions during message transmission, ensuring that the message can be reliably transmitted in complex network environments. The encapsulated message contains a specific flag bit for marking the power-off prompt message.

[0061] Finally, based on the power-off prompt flag in the MAC-in-MAC header, the encapsulated message can be judged to determine whether there is a power-off prompt. If the judgment result confirms that the encapsulated message is a power-off prompt alarm message, the message will be stored in the FPGA message cache module and formally marked as a preset power-off prompt message. Schematically, the FPGA message cache module is a high-performance, low-latency storage unit used to quickly provide message data at the moment the device loses power. By storing the preset power-off prompt message in the FPGA message cache module, it is ensured that the power-off prompt message can be quickly obtained and sent when the device loses power, thereby achieving timely notification and alarm of the device's power-off status.

[0062] In one embodiment, Figure 2 As shown, the energy storage capacitor discharge time window is used to send a preset power-off prompt message to the neighboring network element through a preset private network management path, including:

[0063] S201: confirming the power status of the dual disk according to the device interrupt signal and obtaining the confirmation result of the power status of the dual disk;

[0064] S202: If the power status confirmation result of the dual disk is that a power alarm exists, based on the preset dedicated communication chip identification condition, the preset power failure prompt message is encapsulated in the format of the frame transmission management header and the packet protocol header to obtain a message in the encapsulated format;

[0065] S203: Based on the encapsulated message, the encapsulated message is sent to the packet transport network service port of the neighboring network element through the management communication channel within the energy storage capacitor discharge time window, wherein the management communication channel is a preset private network management path.

[0066] Specifically, when the device detects an interrupt signal, it can read the voltage sampling value of the dual disk power module through the bus and confirm the power status of the dual disk. If the voltage sampling value exceeds the preset normal range, it can be determined that there is a power alarm on the dual disk. After confirming the existence of a power alarm, the preset dedicated communication chip identification conditions can be used, such as instruction set requirements, to encapsulate a 16-byte frame transmission management header (Frame Transmission Management Header, FTMH) and an 8-byte packet protocol header (Packet Protocol Header, PPH) in the preset power-off prompt message header. Among them, the frame transmission management header can include a device priority tag and a timestamp. The packet protocol header can carry the physical address of the target neighbor network element. Based on the message after encapsulation format, the encapsulated message can be sent to the packet transmission network service port of the neighboring network element through the management communication channel (Management Communication Channel, MCC) within the energy storage capacitor discharge time window. As a preset private network management path, this management communication channel can use time division multiplexing technology and a bandwidth of 1Gbit / s, thereby breaking through the bandwidth limitations of DCC / GCC, avoiding congestion or delays that may occur in conventional communication paths, and ensuring that power-off prompt messages can be delivered to neighboring network elements in a timely manner, further improving the security and reliability of message transmission.

[0067] In one embodiment, within the energy storage capacitor discharge time window, sending an encapsulated message to a packet transport network service port of a neighboring network element through a management communication channel includes:

[0068] According to the frame transmission management header and the packet protocol header in the encapsulated message, the corresponding management communication channel is selected, and three frames of 128-byte encapsulated messages are continuously sent within the time window of 0.8ms when the energy storage capacitor discharges.

[0069] Specifically, by parsing the channel selection field in the frame transmission management header and the destination port identifier in the packet protocol header, the encapsulated message can be scheduled to the dedicated sending queue of the corresponding MCC channel, and the queue can use a priority preemption mechanism to ensure that the power-off prompt message takes precedence over the regular management message transmission. Subsequently, the preset dedicated communication chip can use the priority tag in the frame transmission management header to send the message in burst mode, that is, continuously sending 3 frames of 128-byte messages to the Packet Transport Network (PTN) service port within 0.8ms, and transmitting it to the neighboring network element through the backplane high-speed differential line to ensure that the message is sent before the capacitor discharge is completed.

[0070] In one embodiment, generating a remote power-off alarm based on the result of the neighboring network element parsing the preset power-off prompt message includes:

[0071] Converting the preset power-off prompt message into a MAC-in-MAC format through a dedicated communication chip of a neighboring network element to obtain a converted message;

[0072] Parsing the power failure indication dedicated flag in the MAC-in-MAC header of the converted message through the second IP protocol stack of the neighboring network element to obtain a parsing result, which includes a source IP address;

[0073] Sending the parsing result to the second network management unit of the neighboring network element based on the system communication kernel stub interface of the neighboring network element;

[0074] The second network management unit of the neighboring network element identifies the power failure prompt message type in the parsing result and generates a remote power failure alarm, wherein the power failure network element identifier includes a source IP address and / or a network element ID.

[0075] Specifically, after the neighboring network element receives the power-off prompt message encapsulated with the FTMH+PPH header, it can convert the format of the message into a MAC-in-MAC format through its dedicated communication chip, such as a QUMRAN chip, that is, by parsing the protocol type field in the FTMH header used to identify the power-off prompt message, and according to the conversion instruction in the PPH header, convert the FTMH+PPH header structure into a standard MAC-in-MAC frame format to ensure that the message can be seamlessly transmitted between different network devices and protocols. In addition, during the conversion process, the protocol mapping table inside the chip can map the priority tag in the FTMH to the DSCP (Differentiated Services Code Point) field of the MAC-in-MAC header to ensure that the message maintains a high priority in subsequent processing. Subsequently, the converted message can be parsed by the second IP protocol stack of the neighboring network element, that is, the power-off prompt dedicated flag bit in the MAC-in-MAC header is identified. This flag bit is the key identifier for identifying whether the message is a power-off prompt message. It is bit 0 and triggers the alarm process when it is set to 1. During the parsing process, the second IP protocol stack can extract key information from the message, such as the source IP address, to generate a parsing result. This source IP address is crucial for locating the power-off network element, helping network administrators quickly determine the specific location of the device. Schematically, this source IP address information can be written to a shared buffer in the system communication kernel stub interface via a memory mapping mechanism. Subsequently, the second network management unit of the neighboring network element can read the source IP address from the shared buffer via an interrupt trigger and query the local device registry to obtain the corresponding network element ID. Furthermore, the alarm generation module within the second network management unit can combine the source IP address and network element ID into a power-off network element identifier, generating a remote power-off alarm containing the alarm type, timestamp, and physical location. Finally, this remote power-off alarm can be encrypted using a proprietary network management protocol and reported to the proprietary network management server. Upon receiving the alarm, the server can notify operations and maintenance personnel through audio and visual prompts and text messages.

[0076] In one embodiment, the method further comprises:

[0077] When the powered-off device is powered on again, the third network management unit of the powered-off device is synchronized with the private network management server to obtain the alarm synchronization result;

[0078] Based on the alarm synchronization result, if the private network management server does not detect the power failure alarm, the remote power failure alarm is eliminated, wherein the alarm message information sent when eliminating the remote power failure alarm is the same as the alarm message information sent when generating the remote power failure alarm.

[0079] Specifically, when the powered-off device is powered back on to above 95% of the rated voltage, its third network management unit can complete initialization via a hardware reset signal and initiate an alarm synchronization mechanism, performing alarm synchronization operations with the private network management server to further verify the device's current status and confirm whether a power-off warning alarm has been generated during the power-off period. Illustratively, the third network management unit can initiate an alarm synchronization request to the private network management server via a preset communication protocol and receive the alarm synchronization result from the server. After receiving the synchronization request, the private network management server can check whether its alarm database contains any remote power-off warning records related to the device. If no power-off warning alarm is detected, it indicates that the device is operating normally and the previous power-off event has been processed or there are no false alarms. The private network management server can then send a confirmation message to the third network management unit, indicating that the remote power-off warning alarm does not need to be displayed again. After the third network management unit parses the confirmation frame, it triggers the alarm clearing process, generating an alarm message with the exact same structure as the original power outage alarm, including the same network element identifier, alarm type, and timestamp. This message is then sent to the private network management server. Upon receiving the clearing message, the private network management server compares the network element identifier in the message with the database record. If the information matches, the private network management server marks the power outage alarm as "cleared" and updates the alarm status display. This avoids misjudgments caused by residual alarms after the power-down device is restored, improving network management reliability.

[0080] like Figure 3 As shown, based on the same inventive concept, the embodiment of the present application also provides a device power-off prompt system 300 based on FPGA capacitor discharge for implementing the above-mentioned device power-off prompt method based on FPGA capacitor discharge. The implementation solution provided by this system is similar to the implementation solution described in the above-mentioned method. Therefore, the specific limitations of one or more embodiments of the device power-off prompt system based on FPGA capacitor discharge provided below can be found in the above-mentioned limitations of the device power-off prompt method based on FPGA capacitor discharge, and will not be repeated here. The system includes:

[0081] The power-off detection and message acquisition module 301 is used to obtain a device interrupt signal and, based on the device interrupt signal, obtain a preset power-off prompt message through the FPGA message buffer module. The device interrupt signal is used to trigger a power-off interrupt.

[0082] The capacitor discharge and message sending module 302 is used to use the energy storage capacitor discharge time window to send a preset power failure prompt message to the neighboring network element through a preset private network management path;

[0083] The message parsing and alarm generating module 303 is used to generate a remote power failure alarm according to the parsing result of the preset power failure prompt message by the neighboring network element, and report the remote power failure alarm to the private network management server. The remote power failure alarm includes the identifier of the power failure network element.

[0084] In the above system, the power-off detection and message acquisition module 301 monitors the device's operating status in real time. Upon detecting a device interrupt signal, it triggers a power-off interrupt and retrieves a preset power-off notification message via the FPGA message buffer module, ensuring timely access to critical information at the moment the device loses power. The capacitor discharge and message transmission module 302 leverages the discharge time window of the energy storage capacitor to quickly transmit the power-off notification message to neighboring network elements via a preset private network management path. This not only avoids communication interruptions caused by a complete device power outage but also ensures that the message can be successfully transmitted within a limited timeframe. The use of a private network management path further improves the security and reliability of message transmission, avoids potential instability associated with public networks, and ensures that the power-off notification message is accurately delivered to the target network element. The message parsing and alarm generation module 303 parses the power-off notification message received by the neighboring network element and generates a remote power-off alarm based on the parsing results. By reporting the remote power-off alarm containing the identifier of the power element to the private network management server, network management personnel can quickly locate the specific location of the faulty equipment and take timely measures for maintenance and processing, reducing equipment downtime and the impact on network operations.

[0085] In an exemplary embodiment, the present invention further provides a computer device comprising a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the device power-off prompt method based on FPGA capacitor discharge. A multi-core processor is preferred to improve the system's parallel processing capabilities. Memory: Provides sufficient temporary storage space to support program execution and data processing. The memory capacity should be large enough to accommodate large amounts of supply information and computing tasks.

[0086] In an exemplary embodiment, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a device power-off prompt method based on FPGA capacitor discharge according to the present application.

[0087] The above-described embodiments merely represent several implementation methods of the embodiments of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the concept of the embodiments of the present application, and these modifications and improvements fall within the scope of protection of the embodiments of the present application.

Claims

1. A device power-off prompt method based on FPGA capacitor discharge, characterized in that: The method comprises: Obtaining a device interrupt signal, and obtaining a preset power-off prompt message through an FPGA message cache module according to the device interrupt signal, wherein the device interrupt signal is used to trigger a power-off interrupt; Utilizing the energy storage capacitor discharge time window, the preset power-off prompt message is sent to the neighboring network element through the preset private network management path; According to the result of the neighbor network element parsing the preset power-off prompt message, a remote power-off alarm is generated, and the remote power-off alarm is reported to a private network management server. The remote power-off alarm includes a power-off network element identifier.

2. The method according to claim 1, characterized in that Obtain the device interrupt signal by following the steps below: When the voltage drop of the main control disk bus detected by the power module is greater than a preset threshold, the device interrupt signal is generated and the power-off interrupt is triggered.

3. The method according to claim 1, characterized in that Before obtaining the acquisition device interrupt signal, the method further includes: generating, according to the power-off prompt enabling configuration read by the first network management unit, an alarm message including a device identifier, and obtaining an organized alarm message; Based on the organized warning message, fill in the message information attribute to mark the message type through the first IP protocol stack message to obtain a marked message, and send the marked message to the system communication kernel module; Parsing the marked message through the system communication kernel module to obtain a message information attribute field; Calling the interface of the first IP protocol stack to encapsulate the MAC-in-MAC header according to the message information attribute field to obtain an encapsulated message; Based on the power-off prompt flag in the MAC-in-MAC header, the encapsulated message is judged. When the judgment result is that the encapsulated message is a power-off prompt alarm message, the encapsulated message is stored in the FPGA message cache module, and the encapsulated message is used as the preset power-off prompt message.

4. The method according to claim 1, wherein The method of utilizing the energy storage capacitor discharge time window to send the preset power-off prompt message to the neighboring network element through a preset private network management path includes: confirming the power status of the dual disk according to the device interrupt signal and obtaining a confirmation result of the power status of the dual disk; If the power status confirmation result of the dual disk is that there is a power alarm, based on the preset dedicated communication chip identification condition, the preset power failure prompt message is encapsulated in the format of the frame transmission management header and the packet protocol header to obtain a message in the encapsulated format; Based on the message in the encapsulated format, within the energy storage capacitor discharge time window, the message in the encapsulated format is sent to the packet transport network service port of the neighboring network element through the management communication channel, wherein the management communication channel is the preset private network management path.

5. The method according to claim 1, characterized in that The generating a remote power-off alarm according to a result of parsing the preset power-off prompt message by the neighboring network element includes: Converting the preset power-off prompt message into a MAC-in-MAC format through a dedicated communication chip of the neighboring network element to obtain a converted message; Parsing the power failure prompt dedicated flag in the MAC-in-MAC header of the converted message through the second IP protocol stack of the neighboring network element to obtain the parsing result, wherein the parsing result includes the source IP address; Sending the parsing result to the second network management unit of the neighboring network element based on the system communication kernel stub interface of the neighboring network element; The second network management unit of the neighboring network element identifies the power-off prompt message type in the parsing result and generates the remote power-off alarm, wherein the power-off network element identifier includes the source IP address and / or network element ID.

6. The method according to claim 1, characterized in that The method further comprises: When the powered-off device is powered on again, synchronizing the third network management unit of the powered-off device with the private network management server to obtain an alarm synchronization result; Based on the alarm synchronization result, if the private network management server does not detect the power-off alarm, the remote power-off alarm is eliminated, wherein the alarm message information sent when eliminating the remote power-off alarm is the same as the alarm message information sent when generating the remote power-off alarm.

7. The method according to claim 4, characterized in that The sending of the message in the encapsulated format to the packet transport network service port of the neighboring network element through the management communication channel within the energy storage capacitor discharge time window includes: According to the frame transmission management header and the packet protocol header in the message after encapsulation, the corresponding management communication channel is selected, and 3 frames of 128-byte messages in the encapsulation format are continuously sent within the time window of 0.8ms when the energy storage capacitor discharge time window is 0.8ms.

8. A device power-off prompt system based on FPGA capacitor discharge, characterized in that: The system comprises: A power-off detection and message acquisition module, configured to acquire a device interrupt signal and, based on the device interrupt signal, acquire a preset power-off prompt message through the FPGA message cache module. The device interrupt signal is used to trigger a power-off interrupt. A capacitor discharge and message sending module, configured to utilize the energy storage capacitor discharge time window to send the preset power-off prompt message to a neighboring network element via a preset private network management path; The message parsing and alarm generating module is used to generate a remote power-off alarm according to the parsing result of the preset power-off prompt message by the neighboring network element, and report the remote power-off alarm to the private network management server. The remote power-off alarm includes the power-off network element identifier.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Scale out network backup path fast switching notification system and method

    CN120935101A