Power management method and network equipment

The event queue is generated through the producer-consumer model and FIFO rules, and combined with the multi-point fault handling rules, the problem of slow response and incomplete multi-fault handling in power management is solved, and the timely response and accurate display of power failures is achieved, ensuring the stability and reliability of the system.

CN120447718APending Publication Date: 2025-08-08NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510563513.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The prior art has problems such as slow response, no protection and no recovery methods in the power management of the server side, which leads to untimely handling of system faults and incomplete multi-fault processing procedures on the power unit side, making it difficult for users to accurately judge the fault type and implement correct protection measures.

Method used

The producer-consumer model and FIFO rules are used to generate an event queue, and the power operation status abnormal parameters are processed in sequence. Combined with the preset multi-point fault handling rules, the orderly processing and accurate display of multi-point faults are achieved through the fault display priority rules and the fault handling priority rules.

Benefits of technology

It realizes timely response and correct handling of power failures, ensures stable operation of the system, provides accurate display and protection measures for multiple failures, and reduces system downtime and business interruption risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447718A_ABST
    Figure CN120447718A_ABST
Patent Text Reader

Abstract

The invention provides a power supply management method and network equipment, and the method comprises the steps: obtaining a power supply operation state abnormal parameter, generating an event queue which is an event sequence generated for the obtained power supply operation state abnormal parameter according to an FIFO rule, obtaining the event sequence in the event queue according to the sequence, and generating a power supply operation state abnormal parameter according to the event sequence. And processing the event sequence according to a preset multi-point fault processing rule. Through the method, multi-point faults of the power supply can be processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of communication technology, and in particular to a power management method and network device. Background Art

[0002] Power modules serve as the fundamental energy source for electronic systems or devices, providing the necessary power for all system components. Their stability and reliability are prerequisites for proper system operation. Any voltage fluctuations, power outages, or power quality issues can cause system malfunction or even a crash. Therefore, safety measures such as overcurrent protection, short-circuit protection, and voltage regulation are often considered in power supply design.

[0003] A power supply fault management system monitors the power supply's operating status in real time through sensors such as voltage, current, and temperature to monitor faults. It then uses algorithms to identify abnormal conditions, identifying faults such as overvoltage, undervoltage, overcurrent, overtemperature, and short circuits, completing fault detection. It automatically executes predefined protection measures to isolate the fault and complete the protection mechanism. It also uses audio and visual signals or network notifications to notify users of faults and alert them. Detailed parameters of fault events, such as timestamps, fault types, and environmental parameters, are recorded for fault logging and diagnosis. Therefore, good power supply design can reduce the risk of data loss and system damage, ensuring long-term stable system operation. Summary of the Invention

[0004] This specification provides a power management method and network device, which can handle multiple power failures.

[0005] According to a first aspect of an embodiment of this specification, a power management method is provided, the method comprising:

[0006] Acquire power supply operation state abnormality parameters and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired power supply operation state abnormality parameters;

[0007] Obtain the event sequence in the event queue in order and process the event sequence according to the preset multi-point fault processing rules;

[0008] The event queue includes: fault occurrence events and fault recovery events.

[0009] The obtaining of abnormal power supply operation status parameters includes:

[0010] Obtain abnormal power supply operation status parameters through primary side detection and / or secondary side detection.

[0011] The step of obtaining abnormal power supply operation status parameters and generating an event queue includes:

[0012] Obtain power supply operation status abnormality parameters according to the producer model and generate an event queue.

[0013] The sequentially acquiring the event sequence in the event queue includes:

[0014] Get the event sequence in the event queue in order according to the consumer model.

[0015] The processing of the event sequence according to the preset multi-point fault processing rules includes:

[0016] The sequence of events is processed according to the fault display priority rules, and / or the sequence of events is processed according to the fault processing priority rules.

[0017] It can be seen from the above embodiments that by introducing the producer-consumer model and generating an event queue through the FIFO rule, fault occurrence events and fault recovery events can be processed in an orderly manner to prevent errors in processing results caused by timing errors. At the same time, through preset multi-point fault processing rules, such as fault display priority rules, multi-point faults can be processed to achieve the processing results of "who comes first, who is processed first" and "who has a higher priority, who is displayed".

[0018] According to a second aspect of an embodiment of this specification, a network device is provided, the network device including a power supply unit, the power supply unit including:

[0019] An acquisition module, configured to acquire parameters indicating abnormal power supply operation status and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired parameters indicating abnormal power supply operation status;

[0020] A processing module is used to sequentially obtain the event sequence in the event queue and process the event sequence according to the preset multi-point fault processing rules;

[0021] The event queue includes: fault occurrence events and fault recovery events.

[0022] The acquisition module is specifically configured to acquire abnormal power supply operation status parameters through primary side detection and / or secondary side detection.

[0023] The acquisition module is specifically configured to acquire abnormal power supply operation status parameters according to a producer model and generate an event queue.

[0024] The acquisition module is specifically used to sequentially acquire the event sequence in the event queue according to the consumer model.

[0025] The acquisition module is specifically configured to process an event sequence according to a fault display priority rule, and / or process an event sequence according to a fault processing priority rule.

[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.

[0028] Figure 1 This is a flowchart of a power management method according to an exemplary embodiment of this specification.

[0029] Figure 2 This is a schematic diagram of a power supply hardware block diagram according to an exemplary embodiment of this specification.

[0030] Figure 3 This is a schematic diagram of a producer-consumer model according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION

[0031] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of this specification, as detailed in the appended claims.

[0032] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. As used in this specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0033] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information without departing from the scope of this specification. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to determining."

[0034] Among the current processing methods, some solutions are applied to the server, and the specific implementation is as follows:

[0035] 1. Obtain information about the corresponding power supply model from the storage medium and set the power supply health standard.

[0036] 2. Obtain the current operating parameters of the power supply and compare them with the power supply health standards.

[0037] 3. If the power supply operating parameters do not meet the standards, an alarm message will be generated to inform the user of the risk.

[0038] In the above solution, the power supply fault monitoring, fault detection, and fault notification functions implemented mainly on the server side have problems such as slow response, no protection, and no recovery means. Specifically:

[0039] Slow response: Compared to fault handling models that directly detect and respond to fault sources on the power supply side, the server requires communication with the power supply via a specific protocol, such as SMBus or a serial bus. Furthermore, the server periodically polls the power supply to obtain its current status. If faults fluctuate during the polling cycle, the server may miss the fault, resulting in a risk of delayed detection.

[0040] No protection: When the system fails, the server cannot shut down the power supply or adjust the voltage in time for protection. It only adds a patrol mechanism to reduce manual intervention and automatically monitor the occurrence of failures.

[0041] No recovery: Like no protection, the server also cannot perform power recovery procedures and can only directly replace the power supply. This will increase system downtime and cause business interruption.

[0042] In another implementation, multiple fault detection circuits are used in the power supply unit to detect different types of faults, such as undervoltage, short circuit, and overtemperature. The digital control unit is then used to upload and process the fault information. This type of solution not only provides fault protection and executes preset fault actions, but also identifies the type of fault. For example, it can be divided into drive power supply fault, power device short circuit fault, and overtemperature fault. The specific implementation is as follows:

[0043] 1. Detect external faults through the fault detection circuit and upload them to the digital control unit.

[0044] 2. The digital control unit protects the fault and compares it with the preset type range.

[0045] 3. Determine the type of fault by judging and classifying it.

[0046] While the aforementioned solutions offer faster response and better protection than server-side power management, they rarely mention recovery processes, multi-fault handling procedures, or multi-fault warning modes.

[0047] For example, as shown in Table 1, power supply design often includes the following design requirements: a list of faults, criteria for determining fault status, requirements for fault status indicators, and requirements for fault pin control. As can be seen from the table, different fault types have corresponding preset actions. If the system encounters multiple faults, which one should be executed? Simply looking at the LED status display during a fault can be quite confusing for users, making it difficult to accurately determine the current system fault.

[0048]

[0049] Table 1

[0050] In order to solve the problem that the power supply may have multiple faults when it is running in the system due to the influence of complex environment, the more faults there are, the more combinations there are. And each fault often has its own corresponding different preset actions, some of which are even conflicting technical problems, the present disclosure provides a power management method, which is applied to the power supply unit side, such as Figure 1 As shown, the method includes:

[0051] S101: Acquire power supply operation state abnormality parameters and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired power supply operation state abnormality parameters;

[0052] S102 sequentially obtains the event sequence in the event queue and processes the event sequence according to a preset multi-point fault processing rule;

[0053] The event queue includes: fault occurrence events and fault recovery events.

[0054] like Figure 2 Figure 1 shows a power supply hardware block diagram. MCU2 uses the ADC to collect and detect information such as the primary PFC output voltage and primary input voltage. By comparing these information with standard power supply status parameters, it determines whether a normal-to-fault event or a fault-to-normal recovery event has occurred. Whenever a state change occurs, the event is proactively sent to MCU1 for unified processing.

[0055] MCU1 collects and detects information such as the output 12V voltage, output 12V current, and output 3.3V voltage through external interrupts and ADCs. By comparing it with standard power supply status parameters, it determines whether a normal-to-fault event or a fault-to-normal recovery event has occurred, and performs corresponding fault processing or recovery processing.

[0056] The main control board CPU uses the I2C PMBUS protocol to query the power status and fault events in real time and complete the power status inspection.

[0057] In step S101 , the abnormal power supply operation status parameter may be obtained through primary side detection and / or secondary side detection.

[0058] Among them, Primary Side Regulation (PSR) is a technology that indirectly regulates the output voltage or current by detecting the primary side parameters (such as voltage or current) of the transformer in a switching power supply (such as a flyback converter).

[0059] Among them, the core of secondary-side detection is to directly collect the output voltage or current signal through the secondary-side circuit, and transmit the feedback signal to the primary-side controller through isolation devices (such as optocouplers and transformer coupling), thereby adjusting the driving signal of the switching tube (such as PWM duty cycle) to achieve precise voltage regulation or constant current output.

[0060] In this embodiment, it is not limited to the primary side detection and the secondary side detection of the power supply, and other detection methods may also be included.

[0061] In this step, the power supply operation status abnormal parameters are obtained according to the producer model, and an event queue is generated, such as Figure 3 As shown, the producer model is used to obtain abnormal operating status parameters including temperature, voltage (input, output), current (input, output), fan status, etc.

[0062] The events in the event queue in this embodiment may include: a fault occurrence event and a fault recovery event.

[0063] In this embodiment, the acquired event queue is generated into a FIFO event queue according to the FIFO rule. According to the FIFO queue characteristics, the first-in-first-out rule can be implemented. Any event generated by the producer is stored in the queue, waiting for processing by the consumer.

[0064] In this embodiment, step S102 can be implemented by a fault processing unit, which can be understood as a consumer in the producer-consumer production model.

[0065] For ease of understanding, this example introduces the producer-consumer model. The Producer-Consumer Model is a classic design pattern in concurrent programming, used to coordinate collaboration between multiple threads or processes and address the mismatch between data generation and processing speeds. Its core concept is to decouple producers and consumers through a shared buffer, enabling asynchronous collaboration between them. Producers generate data or tasks and place them into a shared buffer, while consumers retrieve and process data from the shared buffer. The buffer can be understood as an event queue in this example.

[0066] In step S102, since the event sequences in the FIFO are arranged in order and processed by the consumer in order, the correct processing result can still be output for the event intersection situation, for example, Figure 3 The event queue in includes: event 1, event 2, event 3, and event 4. Assume that event 1 is an overvoltage alarm, event 2 is a high temperature alarm, event 3 is an overvoltage recovery, and event 4 is a current alarm. Since events 1 to 4 are arranged in sequence, the fault processing unit can recognize that the fault has been recovered after obtaining event 1 and then event 3.

[0067] In this embodiment, when executing step S102, processing can be performed according to preset multi-point fault processing rules. For example, the event sequence is processed according to the fault display priority rule. The principle is that according to the priority of the fault, when there are multiple point faults, the fault with the highest priority is displayed.

[0068] In one example, the fault display can be implemented by light (in other examples, it can also be implemented by sound, which is not limited here), as shown in Table 2, which shows the light display and processing methods corresponding to common faults.

[0069]

[0070]

[0071]

[0072] Table 2

[0073] As shown in Table 3, the configured preset multi-point fault processing rule is to display the highest priority fault according to the fault priority, where the smaller the sequence number, the higher the priority, that is, the system is required to display the fault light first.

[0074]

[0075] Table 3

[0076] In the specific implementation process, additional settings can be made according to actual needs, as shown in Table 4. Among them, the smaller the sequence number, the priority is executed. This is a special requirement for setting the entrance of the light. Some faults do not allow the light state to switch.

[0077]

[0078]

[0079] Table 4

[0080] During the specific implementation process, special restrictions on pins can also be set according to actual needs. As shown in Table 5, when setting special restrictions on the entry of the pins, some faults do not allow the switching of the pin levels.

[0081]

[0082] Table 5

[0083] As can be seen from the above embodiments, the technical solutions provided by this disclosure allow for the correct handling of multiple failure points and their recovery, requiring only the development of multiple fault priority strategies. Regardless of the number of fault event combinations, the order of failure events, or the overlapping nature of failure and recovery events, the system can accurately respond to failures. This reduces coupling and enhances scalability.

[0084] At the same time, the current fault level and specific fault event details can be warned through LED, I2C, UART and other buses to provide users with a basis for decision-making.

[0085] Based on the above method embodiments, an embodiment of the present disclosure further provides a network device, wherein the network device includes a power supply unit, and the power supply unit includes:

[0086] An acquisition module, configured to acquire parameters indicating abnormal power supply operation status and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired parameters indicating abnormal power supply operation status;

[0087] A processing module is used to sequentially obtain the event sequence in the event queue and process the event sequence according to the preset multi-point fault processing rules;

[0088] The event queue includes: fault occurrence events and fault recovery events.

[0089] The acquisition module is specifically configured to acquire abnormal power supply operation status parameters through primary side detection and / or secondary side detection.

[0090] The acquisition module is specifically configured to acquire abnormal power supply operation status parameters according to a producer model and generate an event queue.

[0091] The acquisition module is specifically used to sequentially acquire the event sequence in the event queue according to the consumer model.

[0092] Wherein, the acquisition module is specifically used to process the event sequence according to the fault display priority rule. For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this specification. Those of ordinary skill in the art can understand and implement it without paying any creative work.

[0093] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0094] Other embodiments of the present invention will readily occur to those skilled in the art upon consideration of the present invention and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present invention being indicated by the following claims.

[0095] It should be understood that the present description is not limited to the exact structure that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.

[0096] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

Claims

1. A power management method, characterized in that: The method comprises: Acquire power supply operation state abnormality parameters and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired power supply operation state abnormality parameters; Obtain the event sequence in the event queue in order and process the event sequence according to the preset multi-point fault processing rules; The event queue includes: fault occurrence events and fault recovery events.

2. The method according to claim 1, characterized in that The obtaining of abnormal power supply operation status parameters includes: Obtain abnormal power supply operation status parameters through primary side detection and / or secondary side detection.

3. The method according to claim 1, characterized in that The obtaining of abnormal power supply operation status parameters and generating an event queue includes: Obtain power supply operation status abnormality parameters according to the producer model and generate an event queue.

4. The method according to claim 1, wherein The sequentially obtaining the event sequence in the event queue includes: Get the event sequence in the event queue in order according to the consumer model.

5. The method according to claim 1, wherein The processing of the event sequence according to the preset multi-point fault processing rules includes: The sequence of events is processed according to the fault display priority rules, and / or the sequence of events is processed according to the fault processing priority rules.

6. A network device, characterized in that: The network device includes a power supply unit, and the power supply unit includes: An acquisition module, configured to acquire parameters indicating abnormal power supply operation status and generate an event queue, wherein the event queue is an event sequence generated according to a FIFO rule for the acquired parameters indicating abnormal power supply operation status; A processing module is used to sequentially obtain the event sequence in the event queue and process the event sequence according to the preset multi-point fault processing rules; The event queue includes: fault occurrence events and fault recovery events.

7. The network device according to claim 6, wherein: The acquisition module is specifically configured to acquire power supply operation status abnormality parameters through primary side detection and / or secondary side detection.

8. The network device according to claim 6, wherein: The acquisition module is specifically used to acquire power supply operation status abnormality parameters according to the producer model and generate an event queue.

9. The network device according to claim 6, wherein: The acquisition module is specifically used to sequentially acquire the event sequence in the event queue according to the consumer model.

10. The network device according to claim 6, wherein: The acquisition module is specifically configured to process an event sequence according to a fault display priority rule, and / or process an event sequence according to a fault processing priority rule.