CN113360345A - Redundant current value monitoring method and device, electronic equipment and readable storage medium - Google Patents

Redundant current value monitoring method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113360345A
CN113360345A CN202110688734.3A CN202110688734A CN113360345A CN 113360345 A CN113360345 A CN 113360345A CN 202110688734 A CN202110688734 A CN 202110688734A CN 113360345 A CN113360345 A CN 113360345A
Authority
CN
China
Prior art keywords
current
total
board card
board
power module
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
Application number
CN202110688734.3A
Other languages
Chinese (zh)
Inventor
薄伟国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tricolor Technology Co ltd
Original Assignee
Beijing Tricolor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tricolor Technology Co ltd filed Critical Beijing Tricolor Technology Co ltd
Priority to CN202110688734.3A priority Critical patent/CN113360345A/en
Publication of CN113360345A publication Critical patent/CN113360345A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3031Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3044Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is the mechanical casing of the computing system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The application provides a redundant current value monitoring method, a redundant current value monitoring device, electronic equipment and a readable storage medium, wherein the redundant current value monitoring method comprises the following steps: acquiring the total board card current of target equipment; acquiring the current of a power module of target equipment; comparing the total board card current with the power module current to determine whether the board card current is matched with the power module current; and if the total current of the board card is matched with the current of the power supply module, updating the overcurrent threshold according to the change of the board card. According to the embodiment of the application, the current of the power module of the target equipment and the current of the board card are monitored in real time, the two currents are compared, the overcurrent threshold value is updated when the two currents are matched, the target equipment can be protected in time when the burst current of the target equipment rises, and burning is prevented.

Description

Redundant current value monitoring method and device, electronic equipment and readable storage medium
Technical Field
The application relates to the field of equipment safety, in particular to a redundant current value monitoring method and device, electronic equipment and a readable storage medium.
Background
In the field of display control, a card-insertion type chassis is generally used for an equipment chassis, and a backplane, and board cards and power supplies arranged in an orthogonal configuration on the front side and the rear side of the backplane are arranged in the chassis.
The chassis converts external 220V voltage into voltage required by the chassis through the power supply module to supply power to the chassis, and one or more main power supplies are additionally arranged on the chassis.
Because the power consumption of the chassis is large, and because of the card-inserting type requirement, the redundant current provided by the chassis power supply module is generally large. In this case, if a short circuit occurs at the backplane, the socket, the chassis cable, or the like, the power module cannot be rapidly triggered and enters an overcurrent protection state or a short-circuit protection state due to a preset large redundant current, which may cause a large amount of heat to accumulate on the backplane, the socket, and the chassis cable, resulting in burnout, and further may cause a more serious accident.
Disclosure of Invention
In view of the above, an object of the embodiments of the present application is to provide a method and an apparatus for monitoring a redundant current value, an electronic device and a readable storage medium. The redundant current in the target equipment can be monitored in real time, so that the redundant current in the target equipment is ensured to be in a normal range, and the target equipment is prevented from being burnt due to overlarge redundant current.
In a first aspect, an embodiment of the present application provides a method for monitoring a redundant current value, including: acquiring the total board card current of target equipment; acquiring the current of a power module of target equipment; comparing the total board card current with the power module current to determine whether the total board card current is matched with the power module current; and if the total current of the board card is matched with the current of the power supply module, updating the overcurrent threshold according to the change of the board card.
The embodiment of the application compares the total current of the board card with the current of the power module, and can update the overcurrent threshold value in real time according to the change of the board card when the total current of the board card and the current of the power module are matched, so that the overcurrent threshold value can be always matched with the total current of the board card, the redundant current value is within a proper range, the condition that the total current of the board card and the current of the power module are inconsistent in the normal working process cannot be reported to the police in time is ensured, and the power supply can be directly cut off through the overcurrent protection mechanism of the power module.
With reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where: comparing the board total current with the power module current to determine whether the board total current matches the power module current, comprising: calculating the difference value between the current of the power module and the total current of the board card; comparing the difference to an over-current threshold to determine whether the difference exceeds the over-current threshold; and if the difference value is larger than the overcurrent threshold value, indicating that the total current of the board card is not matched with the current of the power supply module.
According to the embodiment of the application, whether the total current of the board card is matched with the current of the power module is judged by comparing the difference value of the output current of the power module and the total current of the board card with the overcurrent threshold value, and the real-time current information of the total current of the board card can be accurately and quickly reflected by the judgment of the method, so that the redundant current can be detected in real time.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where: comparing the difference value to an over-current threshold to determine whether the difference value exceeds the over-current threshold comprises: determining an overcurrent threshold according to the current total current of the board card; comparing the difference value with the over-current threshold value to determine whether the difference value exceeds the over-current threshold value.
According to the embodiment of the application, the overcurrent threshold value is determined through the total current of the board card, so that the overcurrent threshold value of the power module is adjusted in real time through the total current of the board card, and the preset redundant current value of the power module can be properly adjusted according to the real-time condition.
With reference to the second possible implementation manner of the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, where: determining an overcurrent threshold according to the current total current of the board card, including: obtaining the current of a single board card; calculating the ratio of the current of a single board card to the total current of the board cards; and determining an overcurrent threshold according to the ratio.
According to the embodiment of the application, the overcurrent threshold value is determined by the ratio of the current of a single board card to the total current of the board cards, so that the overcurrent threshold value can be determined in real time according to the change of the number of the board cards, and the timeliness and the accuracy of the overcurrent threshold value are guaranteed.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where: the acquiring of the total board card current and the power module current of the target device comprises the following steps: acquiring the total board card current and the power module current of the target equipment according to a set time period; or, after the last monitoring period is completed, the total board card current and the power module current of the target device are acquired within a specified time.
According to the embodiment of the application, the total board card current and the power module current of the target device are acquired by setting a period of time, the required current data can be detected in time, and the timeliness and the accuracy of the acquired current data are guaranteed.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a fifth possible implementation manner of the first aspect, where: the acquiring of the total board card current of the target device includes: acquiring real-time current of each board card of target equipment; accumulating and adding the real-time current of each board card to obtain the total current of the board cards; or acquiring the board card type of the target equipment; acquiring a first total current of the same type of board card according to the type of the board card; and adding the plurality of first total currents to obtain the total current of the board card.
According to the embodiment of the application, the total board card current is obtained through the single board card current or the plurality of first total currents, and the obtained board card total current can be obtained more timely and accurately.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present application provides a sixth possible implementation manner of the first aspect, where: if the total board card current is matched with the power module current, updating an overcurrent threshold value according to board card change, including: detecting whether the number of the board cards changes or not; and if the change of the number of the board cards is detected, updating the overcurrent threshold value.
According to the embodiment of the application, the overcurrent threshold value is updated by detecting the change of the number of the board cards, so that the overcurrent threshold value can be always matched with the total current of the board cards, and the power module can be ensured to be equivalent to the preset redundant current value.
In a second aspect, an embodiment of the present application further provides a redundant current value monitoring apparatus, including: the first acquisition module is used for acquiring the total board card current of the target equipment; the second acquisition module is used for acquiring the current of the power module of the target equipment; the judging module is used for comparing the total board card current with the power module current so as to determine whether the total board card current is matched with the power module current; and the updating module is used for updating the overcurrent threshold according to the board card change.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions, when executed by the processor, performing the steps of the method of the first aspect described above, or any possible implementation of the first aspect, when the electronic device is run.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method in the first aspect or any one of the possible implementation manners of the first aspect.
According to the redundant current value monitoring method, the redundant current value monitoring device, the electronic equipment and the readable storage medium, the overcurrent threshold value of the power module is adjusted in real time according to the number of the board cards and the total current of the board cards, so that the preset redundant current value of the power module is equivalent, when the board cards and other parts in the case are in short circuit, the power module can be rapidly triggered and enters an overcurrent protection or short circuit protection state, heat accumulated on a back plate, a socket and a case cable is reduced, and the case is prevented from being burnt.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram of an example functional module of a redundant current value monitoring apparatus according to an embodiment of the present disclosure.
Fig. 3 is a flowchart of a redundant current value monitoring method according to an embodiment of the present application.
Fig. 4 is a detailed flowchart of step 203 of the redundant current value monitoring method according to the embodiment of the present application.
Fig. 5 is a functional block diagram of a redundant current value monitoring apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
In the working process of the case, too long operation time or too many board cards often occur, and because the power consumption of the case is large and is based on the card insertion requirement, the redundant current provided by the power module of the case is generally very large. In this case, if a short circuit occurs at the backplane, the socket, the chassis cable, or the like, the power module cannot be rapidly triggered and enters an overcurrent protection state or a short-circuit protection state due to a preset large redundant current, which may cause a large amount of heat to accumulate on the backplane, the socket, and the chassis cable, resulting in burnout, and further may cause a more serious accident. Based on this, it is desirable to provide a method for preventing the chassis from being burned out during use.
This application embodiment is through carrying out real-time supervision to quick-witted case power supply current and integrated circuit board electric current to comparing two electric currents, overflowing threshold setting to power module, the control is predetermined redundant current value in suitable within range, and alarm when both mismatch can in time protect quick-witted case when quick-witted case burst current risees, prevents that the backplate from burning out.
Example one
To facilitate understanding of the present embodiment, an electronic device for performing a redundant current value monitoring method disclosed in the embodiments of the present application will be described in detail first.
As shown in fig. 1, is a block schematic diagram of an electronic device. The electronic device 100 may include a processor 111, an input-output unit 112, a display unit 113. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely exemplary and is not intended to limit the structure of the electronic device 100. For example, electronic device 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The aforementioned components of the storage processor 111, the input/output unit 112 and the display unit 113 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 111 described above is used to execute executable modules stored in the memory.
The processor 111 may be an integrated circuit chip having signal processing capabilities. The Processor 111 may be a general-purpose Processor, and includes 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 device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input/output unit 112 is used for providing input data to the user. The input/output unit 112 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 113 provides an interactive interface (e.g., a user operation interface) between the electronic device 100 and the user or is used to display image data for the user to refer to. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. The support of single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor for calculation and processing.
Alternatively, the electronic device 100 may comprise a chassis within which the processor 111 may be mounted. The processor 111 may be integrated on a board 120 (see fig. 2).
Illustratively, the chassis may also include a backplane, power module 130. The board card and the power module 130 can be plugged on the backboard.
Optionally, the number of the board cards on the chassis may be greater than one or equal to one; the number of power modules 130 in the chassis may be greater than or equal to one. The power module 130 is used for converting the externally plugged 220V voltage into a power voltage required by the chassis and outputting the power voltage to the backplane, and the board card gets electricity through the backplane.
The display unit 113 may be a display screen connected to the housing.
Optionally, the electronic device 100 may further include a signal light for prompting an alarm.
In this embodiment, as shown in fig. 2, the board card 120 includes a control card 121 and a service card 122, where the control card 121 has a processing system, and the control card 121 may also be used to communicate with an external device. For example, the control card 121 may communicate with an external server through a network port, and the control card 121 may also be directly connected to other alarm devices. The alarm device may be a device capable of emitting a sound or a flash of light, and is not limited herein.
Optionally, the control card 121 reads the real-time current of the chassis board through the bus. The board card real-time current comprises a control card real-time current and a service card real-time current. The bus may be, for example, an Integrated Circuit (Inter-Integrated Circuit, IIC).
The electronic device 100 in this embodiment may be configured to perform each step in each method provided in this embodiment. The implementation of the redundant current value monitoring method is described in detail below by way of several embodiments.
Example two
Please refer to fig. 3, which is a flowchart illustrating a method for monitoring a redundant current value according to an embodiment of the present application. The specific flow shown in fig. 3 will be described in detail below.
Step 201, obtaining the total board card current of the target device.
In one embodiment, step 201 may include: acquiring real-time current of each board card of target equipment; and accumulating and adding the real-time current of each board card to obtain the total current of the board cards. Or acquiring the board card type of the target equipment; acquiring a first total current of the same type of board card according to the type of the board card; and adding the plurality of first total currents to obtain the total current of the board card.
Optionally, a hot plug module capable of reading current may be adopted, and the current of each board card is read and then summed to obtain the total real-time current of the board card.
Optionally, a common hot plug module may be adopted, and since the control card has a function of identifying the number and the types of the boards, and the energization current of each type of board is known, the energization current of each type of board may be calculated by multiplying the known current by the number of the boards, and then the total real-time current of the boards is obtained by summing the currents of all the types of boards. The control card communicates with the CPU of the board card to obtain the number and the type data of the board card, or the control card directly obtains the number and the type data of the board card through a communication bus.
Optionally, a current reading module may be added to directly read the current of each board card for summation calculation, so as to obtain the total board card real-time current. The method is mainly applied to the card-inserting type chassis which does not need hot plug.
Step 202, obtaining a power module current of the target device.
In one embodiment, the total board current and the power module current of the target device may be obtained according to a set time period.
Alternatively, the time period may be set to the time required to average the cards. Alternatively, the time period may be set to a time less than the time required for an average card insertion. The setting of the specific time period can select reasonable intervals according to actual conditions.
Optionally, the total board current of the target device and the power module current of the target device may be acquired once every 0.3 second, 0.5 second, and 0.8 second.
In another embodiment, after the last monitoring period is completed, the total board current and the power module current of the target device are obtained within a specified time.
The monitoring period may be a monitoring period formed by a result of obtaining the total current of the board card and the current of the power module and determining whether the total current of the board card is matched with the current of the power module.
The target device in this embodiment includes, but is not limited to, a chassis, a display.
Alternatively, the power module real-time current may be read through the control card bus.
Optionally, a power reading module may be disposed on the power module for obtaining the power module current.
Step 203, comparing the total current of the board card with the current of the power module to determine whether the total current of the board card is matched with the current of the power module.
In one embodiment, as shown in fig. 4, step 203 may include the following steps 2031 to 2032.
Step 2031, calculating a difference between the current of the power module and the total current of the board card.
For example, the total board current may be subtracted from the obtained power module current to obtain a difference therebetween.
Step 2032, comparing the difference value with an over-current threshold value to determine whether the difference value exceeds the over-current threshold value.
Optionally, the overcurrent threshold may be determined according to the current total board current.
For example, the determining the overcurrent threshold according to the current board total current may include: and obtaining the current of a single board card, calculating the ratio of the current of the single board card to the total current of the board card, and determining the overcurrent threshold according to the ratio.
Optionally, a single board current may be obtained through the control card.
Optionally, a power reading module may be disposed on the board card to enable the obtaining module to obtain the board card current.
For example, the ratio of the individual board current to the total board current in the chassis may be calculated, and the over-current threshold may be set to be twice the ratio. The current of the single board card can be the maximum current value of the single board card.
Specifically, the current of a single board card (the maximum current value of the single board card can be taken) is calculated to be I% of the total board card current in the chassis, and the threshold value can be set to be 2I% or (I + 5)%.
Optionally, the over-current threshold may also be set to the ratio.
Optionally, the over-current threshold may also be set to be three times the ratio.
Optionally, the over-current threshold may also be set to increase the ratio by five percent.
Optionally, the over-current threshold may also be set to increase the ratio by six percent.
Alternatively, the above threshold setting is only a few examples, and the setting of the threshold may be adjusted according to actual conditions.
And if the difference value is larger than the overcurrent threshold value, indicating that the total current of the board card is not matched with the current of the power supply module.
And if the difference value is smaller than the overcurrent threshold value, representing that the total current of the board card is matched with the current of the power supply module.
And 204, if the total current of the board card is matched with the current of the power supply module, updating an overcurrent threshold according to the change of the board card.
Optionally, the overcurrent threshold may be updated according to a change in the number of boards.
Optionally, the overcurrent threshold may be updated according to a change of the real-time total current of the board.
Optionally, the updated overcurrent threshold may be higher than the total board current in the chassis within a certain range.
Optionally, if the total current of the board card is not matched with the current of the power supply module, an alarm signal is output.
Alternatively, the alarm signal may be output by the control card.
Alternatively, the alarm signal may be output to a server, a terminal, a display or a signal lamp connected to the target device, an alarm, or the like. The specific output equipment needs to be determined according to actual conditions, and the specific output equipment and the specific output mode are not limited in the application.
Optionally, different target devices may have different determination conditions, and the output current of the power supply module is equal to the total output current of the board card within a certain range.
In one embodiment, if the total board current matches the power module current, updating the overcurrent threshold according to board variation includes: detecting whether the number of the board cards changes or not; and if the change of the number of the board cards is detected, updating the overcurrent threshold value.
Optionally, the number of boards can be detected through the control card. When the number of the board cards changes, the real-time current of the board cards is acquired.
Illustratively, as shown in fig. 2, the control card reads the current of the service card through the IIC Bus, reads the current output by the AC/DC (Alternating current-Direct current) Power module through the PMBUS (Power Management Bus) in real time, sends an alarm signal to the server through the internet access when the current output by the PMBUS and the current output by the PMBUS do not match, and sets the overcurrent threshold of the AC/DC Power module when the current output by the PMBUS and the PMBUS do not match.
Specifically, when a new service card is inserted or a service card is replaced, the control card is set to scan the board card in the chassis every 0.5s according to the time interval of the continuous operation step. When the service card is inserted, the control card reads the type of the newly added card through the IIC, reads the current of the card, and recalculates the total current of the card in the case. When the service card is pulled out, the control card can also detect the operation through the IIC and renew the total current of the board card in the computer box. And after the control card detects the plugging operation, the control card can read the real-time output current of the AC/DC power supply module, compare the real-time output current with the total current of the board card in the case, and update the overcurrent threshold of the power supply module according to the comparison result.
Optionally, for a chassis that does not support hot plugging, after power off, a service card is inserted or replaced, and when the chassis is powered on again, the control card reads the real-time output current of the AC/DC power module, compares the real-time output current with the total current of the board cards in the chassis, and then updates the overcurrent threshold of the power module according to the comparison result.
Optionally, when a plurality of power modules exist in the enclosure, each power module averages output current according to its own mechanism, and accordingly, each power module simultaneously sets the current source overcurrent threshold by the above method.
The method provided by the embodiment of the application can adjust the overcurrent threshold of the power module in real time according to the number of the board cards and the total current of the board cards in the case, so that the preset redundant current value of the power module is equivalent, when the board cards in the case are short-circuited with other parts (such as a back plate, a service card socket, a power socket, cables in the case and the like), the power module can be quickly triggered and enters an overcurrent protection or short-circuit protection state, the heat accumulated on the back plate, the socket and the cables in the case is reduced, and the case is prevented from being burnt.
EXAMPLE III
Based on the same application concept, a redundant current value monitoring device corresponding to the redundant current value monitoring method is further provided in the embodiment of the present application, and since the principle of solving the problem of the device in the embodiment of the present application is similar to that of the embodiment of the redundant current value monitoring method, the implementation of the device in the embodiment of the present application can refer to the description in the embodiment of the method, and repeated details are omitted.
Fig. 5 is a schematic diagram of functional modules of a redundant current value monitoring apparatus according to an embodiment of the present disclosure. Each module in the redundant current value monitoring apparatus in this embodiment is configured to perform each step in the above-described method embodiment. The redundant current value monitoring device comprises a first obtaining module 301, a second obtaining module 302, a judging module 303 and an output module 304; wherein,
the first obtaining module 301 is configured to obtain a total board card current of the target device;
a second obtaining module 302, configured to obtain a power module current of the target device;
a judging module 303, configured to compare the board total current with a power module current to determine whether the board total current matches the power module current;
and the updating module 304 is configured to update the overcurrent threshold according to the board change.
In a possible implementation, the determining module 303 is configured to: calculating the difference value between the output current of the power supply module and the total current of the board card; comparing the difference to an over-current threshold to determine whether the difference exceeds the over-current threshold; and if the difference value is larger than the overcurrent threshold value, indicating that the total current of the board card is not matched with the current of the power supply module.
In a possible implementation, the determining module 303 is further configured to: determining an overcurrent threshold according to the current total current of the board card; comparing the difference value with the over-current threshold value to determine whether the difference value exceeds the over-current threshold value.
In a possible implementation, the determining module 303 is further configured to: obtaining the current of a single board card; calculating the ratio of the current of a single board card to the total current of the board cards; and determining an overcurrent threshold according to the ratio.
In a possible implementation manner, the first obtaining module 301 or the second obtaining module 302 is configured to obtain a total board current and a power module current of the target device according to a set time period; or, after the last monitoring period is completed, the total board card current and the power module current of the target device are acquired within a specified time.
In a possible implementation, the first obtaining module 301 is configured to: acquiring real-time current of each board card of target equipment; and accumulating and adding the real-time current of each board card to obtain the total current of the board cards.
In a possible implementation, the first obtaining module 301 is further configured to: detecting whether the number of the board cards changes or not; and if the change of the number of the board cards is detected, acquiring the real-time current of each board card of the target equipment.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the redundant current value monitoring method in the foregoing method embodiment.
The computer program product of the redundant current value monitoring method provided in the embodiment of the present application includes a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the redundant current value monitoring method described in the above method embodiment, which may be referred to in the above method embodiment specifically, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A redundant current value monitoring method, comprising:
acquiring the total board card current of target equipment;
acquiring the current of a power module of target equipment;
comparing the total board card current with the power module current to determine whether the total board card current is matched with the power module current;
and if the total current of the board card is matched with the current of the power supply module, updating the overcurrent threshold according to the change of the board card.
2. The method of claim 1, wherein comparing the board total current and the power module current to determine whether the board total current matches the power module current comprises:
calculating the difference value between the current of the power module and the total current of the board card;
comparing the difference to an over-current threshold to determine whether the difference exceeds the over-current threshold;
and if the difference value is larger than the overcurrent threshold value, indicating that the total current of the board card is not matched with the current of the power supply module.
3. The method of claim 2, wherein comparing the difference value to an over-current threshold to determine whether the difference value exceeds the over-current threshold comprises:
determining an overcurrent threshold according to the current total current of the board card;
comparing the difference value with the over-current threshold value to determine whether the difference value exceeds the over-current threshold value.
4. The method of claim 3, wherein determining the over-current threshold based on the current board total current comprises:
obtaining the current of a single board card;
calculating the ratio of the current of a single board card to the total current of the board cards;
and determining an overcurrent threshold according to the ratio.
5. The method of claim 1, wherein the obtaining of the total board current and the power module current of the target device comprises:
acquiring the total board card current and the power module current of the target equipment according to a set time period; or,
and after the last monitoring period is finished, acquiring the total board card current and the power module current of the target equipment within a specified time.
6. The method of claim 1, wherein the obtaining of the total board current of the target device comprises:
acquiring real-time current of each board card of target equipment;
accumulating and adding the real-time current of each board card to obtain the total current of the board cards;
or acquiring the board card type of the target equipment;
acquiring a first total current of the same type of board card according to the type of the board card;
and adding the plurality of first total currents to obtain the total current of the board card.
7. The method of claim 1, wherein updating the overcurrent threshold based on the board change if the board total current matches the power module current comprises:
detecting whether the number of the board cards changes or not;
and if the change of the number of the board cards is detected, updating the overcurrent threshold value.
8. A redundant current value monitoring apparatus, comprising:
the first acquisition module is used for acquiring the total board card current of the target equipment;
the second acquisition module is used for acquiring the current of the power module of the target equipment;
the judging module is used for comparing the total board card current with the power module current so as to determine whether the total board card current is matched with the power module current;
and the updating module is used for updating the overcurrent threshold according to the board card change.
9. An electronic device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions when executed by the processor performing the steps of the method of any of claims 1 to 7 when the electronic device is run.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 7.
CN202110688734.3A 2021-06-21 2021-06-21 Redundant current value monitoring method and device, electronic equipment and readable storage medium Pending CN113360345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110688734.3A CN113360345A (en) 2021-06-21 2021-06-21 Redundant current value monitoring method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110688734.3A CN113360345A (en) 2021-06-21 2021-06-21 Redundant current value monitoring method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113360345A true CN113360345A (en) 2021-09-07

Family

ID=77535578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110688734.3A Pending CN113360345A (en) 2021-06-21 2021-06-21 Redundant current value monitoring method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113360345A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430596A (en) * 2021-12-23 2022-05-03 深圳市崧盛电子股份有限公司 Current-sharing control system and method of LED power supply and multifunctional lamp pole

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150086026A1 (en) * 2013-09-26 2015-03-26 Motorola Solutions, Inc Intrinsically safe audio circuit for a portable two-way radio
CN104849527A (en) * 2015-03-13 2015-08-19 沈阳中科博微自动化技术有限公司 Function-safety-oriented redundant current input module
CN107066067A (en) * 2017-01-25 2017-08-18 郑州云海信息技术有限公司 A kind of board Over Current Protection System, method, computer-readable recording medium and storage control
CN107272858A (en) * 2017-05-26 2017-10-20 郑州云海信息技术有限公司 A kind of server adaptive overcurrent protection circuit and adaptive approach
CN110718893A (en) * 2019-10-18 2020-01-21 苏州浪潮智能科技有限公司 Overcurrent protection method and device
CN111400136A (en) * 2020-03-13 2020-07-10 浪潮商用机器有限公司 Server-dedicated GPU fault protection device, method, equipment and medium
CN112003247A (en) * 2020-07-28 2020-11-27 苏州浪潮智能科技有限公司 Redundant power supply protection method using current-sharing signal and redundant power supply

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150086026A1 (en) * 2013-09-26 2015-03-26 Motorola Solutions, Inc Intrinsically safe audio circuit for a portable two-way radio
CN104849527A (en) * 2015-03-13 2015-08-19 沈阳中科博微自动化技术有限公司 Function-safety-oriented redundant current input module
CN107066067A (en) * 2017-01-25 2017-08-18 郑州云海信息技术有限公司 A kind of board Over Current Protection System, method, computer-readable recording medium and storage control
CN107272858A (en) * 2017-05-26 2017-10-20 郑州云海信息技术有限公司 A kind of server adaptive overcurrent protection circuit and adaptive approach
CN110718893A (en) * 2019-10-18 2020-01-21 苏州浪潮智能科技有限公司 Overcurrent protection method and device
CN111400136A (en) * 2020-03-13 2020-07-10 浪潮商用机器有限公司 Server-dedicated GPU fault protection device, method, equipment and medium
CN112003247A (en) * 2020-07-28 2020-11-27 苏州浪潮智能科技有限公司 Redundant power supply protection method using current-sharing signal and redundant power supply

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张鑫;师进;韦文;王欣;: "通信平台中的高可靠电源模块设计", 铁路通信信号工程技术 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114430596A (en) * 2021-12-23 2022-05-03 深圳市崧盛电子股份有限公司 Current-sharing control system and method of LED power supply and multifunctional lamp pole

Similar Documents

Publication Publication Date Title
EP3190599A1 (en) Charging method and device
US20140159497A1 (en) Universal power supply system
CN112506330B (en) Board burning prevention method and system for board level server and board level server
US8456149B2 (en) Electronic apparatus and method of calculating input power value of power supply unit in electronic apparatus
US10132695B2 (en) Determining an extreme temperature location from a plurality of locations
CN113360345A (en) Redundant current value monitoring method and device, electronic equipment and readable storage medium
CN106100007A (en) Cable protecting device
CN104007353A (en) Interface detection circuit
CN107112471B (en) Battery module with detection connector and related system
US20240126639A1 (en) Server board card apparatus, detection method therefor, and detection device thereof, and storage medium
CN110843598B (en) Temperature acquisition compensation method and circuit and battery management system of electric equipment
US20130166937A1 (en) Universal serial bus hub
TW202016941A (en) Power quality detecting system and power quality detecting module
US8872521B2 (en) Electrical parameter detection device for peripheral component interconnect devices
JP2010181331A (en) DEVICE AND METHOD FOR PREVENTING ERRONEOUS CONNECTION OF AC ADAPTER FOR VoIP ADAPTER
CN112670948A (en) Board card protection method, system and device
JP2015224907A (en) Current load detection device and current load detection method
CN106647958A (en) Server rack
US9013200B2 (en) Circuitry for hot-swappable circuit boards
CN110912791B (en) System management bus link and pull-up resistance determination method, device and equipment thereof
US9128839B2 (en) Numerical control system having removable filter circuit
CN111614138B (en) Interface protection circuit and electronic equipment
CN113721747B (en) Server and burn-in prevention circuit and method thereof
CN210515273U (en) Indicating circuit and data line
KR102091532B1 (en) Integration management system for distribution panel

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: 20210907

RJ01 Rejection of invention patent application after publication