CN111679601B - Control method of multi-board card device, multi-board card device and medium - Google Patents

Control method of multi-board card device, multi-board card device and medium Download PDF

Info

Publication number
CN111679601B
CN111679601B CN202010473334.6A CN202010473334A CN111679601B CN 111679601 B CN111679601 B CN 111679601B CN 202010473334 A CN202010473334 A CN 202010473334A CN 111679601 B CN111679601 B CN 111679601B
Authority
CN
China
Prior art keywords
board card
power
management component
board
electromechanical
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.)
Active
Application number
CN202010473334.6A
Other languages
Chinese (zh)
Other versions
CN111679601A (en
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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202010473334.6A priority Critical patent/CN111679601B/en
Publication of CN111679601A publication Critical patent/CN111679601A/en
Application granted granted Critical
Publication of CN111679601B publication Critical patent/CN111679601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Abstract

The invention discloses a control method of multi-board card equipment, which comprises the following steps: the host electromechanical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component; when the power output power and the total operating power meet preset power-on conditions, the host electric management assembly controls the board card to be powered on; and the master electrical management component sends a power-on message to each slave electrical management component so as to control the board card to be powered on when the slave electrical management components receive the power-on message. The invention also discloses multi-board card equipment and a computer readable storage medium, and achieves the effect of improving the reliability of the multi-board card equipment.

Description

Control method of multi-board card device, multi-board card device and medium
Technical Field
The present invention relates to the field of electronic information technologies, and in particular, to a method for controlling a multi-board card device, and a computer-readable storage medium.
Background
Similar to high-power multi-board card equipment such as a core switch and a server, the full-distribution power of the whole equipment can reach several kilowatts, and if all boards in the equipment are powered on simultaneously, because a large load capacitor exists, impact current exceeding 100A can occur at the moment of powering on, and the impact current can cause large damage to an equipment power supply, a power supply connector, the boards and a power distribution system.
In order to avoid the phenomenon that the equipment is damaged due to the fact that all board cards in the equipment are powered on at the same time, the power-on and power-off control of the whole equipment is generally carried out through a centralized management module, the power-on and power-off strategy processing of the whole equipment is completed through the management module, if the management module fails, the whole equipment cannot be powered on normally, and therefore the defect that the reliability of multi-board card equipment is poor exists.
Disclosure of Invention
The present invention mainly aims to provide a control method for a multi-board card device, and a computer readable storage medium, and aims to achieve the effect of improving the reliability of the multi-board card device.
In order to achieve the above object, the present invention provides a method for controlling a multi-card device, including the steps of:
the host electromechanical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component;
when the power output power and the total operating power meet preset power-on conditions, the host electric management assembly controls the board card to be powered on;
and the master electrical management component sends a power-on message to each slave electrical management component so as to control the board card to be powered on when the slave electrical management components receive the power-on message.
Optionally, the preset power-on condition includes: the total operating power is less than a first value, wherein the first value is determined according to the power output power; the control method of the multi-board card device further comprises the following steps:
and when the power output power and the total operating power do not meet the preset power-on condition, the host electrical management component outputs prompt information according to the power output power and the total operating power.
Optionally, the method for controlling a multi-card device further includes:
when the host computer is powered on for the first time, the host computer electrical management assembly acquires preset board card priority and a board card identification corresponding to a board card where the host computer electrical management assembly is located;
and when the board card identification and the board card priority meet preset conditions, executing the step that the host computer electric management component acquires the power output power of the multi-board card equipment and the total operating power of the multi-board card equipment from the electromechanical management component.
Optionally, after the step of setting itself as a host electrical management component, the method further includes:
the master electromechanical management component sends in-place information to the slave electromechanical management component at regular time;
and the slave electromechanical management component writes a bit identifier in a first register of the slave electromechanical management component according to the bit information.
Optionally, the step of acquiring the power output power of the power board and the operating power of the functional board by the host electrical management component includes:
the master electromechanical management component acquires first power information corresponding to the board card and acquires second power information of other board cards through the slave electromechanical management component;
and determining the power supply output power of the power supply board card and the operating power of the functional board card according to the first power information and the second power information.
Optionally, the method for controlling a multi-card device further includes:
when the host electromechanical management component receives a power-on request, acquiring the operating power of a board card where the electromechanical management component sending the power-on request is located, wherein when the board card is newly inserted, a power-on request signal is sent;
acquiring target power according to the total power operation rate of the currently powered-on board card and the operation power of the board card sending the power-on request;
and when the target power is larger than a second numerical value, sending a power-on message to the electromechanical management component which sends the power-on request board card, so that the electromechanical management component controls the board card where the electromechanical management component is located to be powered on when receiving the power-on message.
In addition, the control method of the multi-board card device comprises the following steps:
sending the operating power from the electromechanical management component to the host electromechanical management component;
and controlling the board card to be electrified when receiving the electrifying message sent by the host computer electricity management component.
Optionally, the method for controlling a multi-card device further includes:
when the power is firstly powered on, the slave electromechanical management component acquires a preset board card priority and a board card identification corresponding to a board card where the slave electromechanical management component is located;
and when the board card identification and the board card priority do not meet the preset conditions, executing the step of sending the operating power from the slave electric management assembly to the host electric management assembly.
Optionally, the method for controlling a multi-card device further includes:
when detecting that the in-place identification of the host computer electricity management component in the first register is not updated within a preset time length, acquiring a preset board card priority and a board card identification corresponding to a board card where the board card is located;
and when the board card identification and the board card priority do not meet the preset conditions, setting the board card identification and the board card priority as an electromechanical management component.
In addition, to achieve the above object, the present invention further provides a multi-board device, including:
the acquisition module is used for acquiring the power output power of the multi-board card equipment and the total operating power of the multi-board card equipment from the electromechanical management component by the host electromechanical management component;
the power-on module is used for controlling the board card to be powered on by the host electric management assembly when the power output power and the total operating power meet preset power-on conditions;
and the control module is used for sending a power-on message to each slave electromechanical management component by the master electromechanical management component so as to control the board card to be powered on when the slave electromechanical management component receives the power-on message.
In addition, in order to achieve the above object, the present invention further provides a multi-board card device, where the multi-board card device includes a memory, a processor, and a control program of the multi-board card device that is stored in the memory and is executable on the processor, and when the control program of the multi-board card device is executed by the processor, the steps of the control method of the multi-board card device are implemented.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a control program of a multi-board card device, which when executed by a processor, implements the steps of the control method of the multi-board card device as described above.
According to the control method of the multi-board card device, the multi-board card device and the computer readable storage medium provided by the embodiment of the invention, the host electrical management component obtains the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component, then when the power output power and the total operating power meet the preset power-on condition, the host electrical management component controls the board card to be powered on, and the host electrical management component sends power-on information to each slave electrical management component so as to control the board card to be powered on when the slave electrical management component receives the power-on information. Because the electromechanical management component corresponding to any board card of the multi-board card equipment can be used as the main control of the multi-board card equipment for controlling power-on and power-off, the phenomenon that the whole machine cannot be normally powered on if the management module fails is avoided because the centralized management module is used for controlling the power-on and power-off of the whole machine, and the power-on and power-off strategy processing of the whole machine is completed by the management module, so that the effect of improving the reliability of the multi-board card equipment is achieved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling a multi-card device according to an embodiment of the present invention;
fig. 3 is a board topology diagram of a multi-board card device according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating hardware results of an electromechanical management component of a multi-card device according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for controlling a multi-card device according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for controlling a multi-card device according to another embodiment of the present invention
Fig. 7 is a modular block diagram of a multi-card device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to avoid the phenomenon that the equipment is damaged due to the fact that all board cards in the equipment are powered on at the same time, the power-on and power-off control of the whole equipment is generally carried out through a centralized management module, the power-on and power-off strategy processing of the whole equipment is completed through the management module, if the management module fails, the whole equipment cannot be powered on normally, and therefore the defect that the reliability of multi-board card equipment is poor exists.
To solve the above-mentioned determination of the prior art, the present invention proposes a control method of a multi-board card device, which solves the above-mentioned disadvantages and mainly comprises the following steps:
the host electromechanical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component;
when the power output power and the total operating power meet preset power-on conditions, the host electric management assembly controls the board card to be powered on;
and the master electrical management component sends a power-on message to each slave electrical management component so as to control the board card to be powered on when the slave electrical management components receive the power-on message.
Because the electromechanical management component corresponding to any board card of the multi-board card equipment can be used as the main control of the multi-board card equipment for controlling power-on and power-off, the phenomenon that the whole machine cannot be normally powered on if the management module fails is avoided because the centralized management module is used for controlling the power-on and power-off of the whole machine, and the power-on and power-off strategy processing of the whole machine is completed by the management module, so that the effect of improving the reliability of the multi-board card equipment is achieved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a central switch or a terminal device such as a blade server and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. The communication bus 1002 is used to implement connection communication between the components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1003, which is a kind of computer storage medium, may include therein an operating system and a control program of the multi-card device.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a control program of the multi-card device stored in the memory 1003, and perform the following operations:
the host electromechanical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component;
when the power output power and the total operating power meet preset power-on conditions, the host electric management assembly controls the board card to be powered on;
and the master electrical management component sends a power-on message to each slave electrical management component so as to control the board card to be powered on when the slave electrical management components receive the power-on message.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
and when the power output power and the total operating power do not meet the preset power-on condition, the host electrical management component outputs prompt information according to the power output power and the total operating power.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
when the host computer is powered on for the first time, the host computer electrical management assembly acquires preset board card priority and a board card identification corresponding to a board card where the host computer electrical management assembly is located;
and when the board card identification and the board card priority meet preset conditions, executing the step that the host computer electric management component acquires the power output power of the multi-board card equipment and the total operating power of the multi-board card equipment from the electromechanical management component.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
the master electromechanical management component sends in-place information to the slave electromechanical management component at regular time;
and the slave electromechanical management component writes a bit identifier in a first register of the slave electromechanical management component according to the bit information.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
the master electromechanical management component acquires first power information corresponding to the board card and acquires second power information of other board cards through the slave electromechanical management component;
and determining the power supply output power of the power supply board card and the operating power of the functional board card according to the first power information and the second power information.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
when the host electromechanical management component receives a power-on request, acquiring the operating power of a board card where the electromechanical management component sending the power-on request is located, wherein when the board card is newly inserted, a power-on request signal is sent;
acquiring target power according to the total power operation rate of the currently powered-on board card and the operation power of the board card sending the power-on request;
and when the target power is larger than a second numerical value, sending a power-on message to the electromechanical management component which sends the power-on request board card, so that the electromechanical management component controls the board card where the electromechanical management component is located to be powered on when receiving the power-on message.
In the terminal shown in fig. 1, the processor 1001 may be configured to call a control program of the multi-card device stored in the memory 1003, and perform the following operations:
sending the operating power from the electromechanical management component to the host electromechanical management component;
and controlling the board card to be electrified when receiving the electrifying message sent by the host computer electricity management component.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
when the power is firstly powered on, the slave electromechanical management component acquires a preset board card priority and a board card identification corresponding to a board card where the slave electromechanical management component is located;
and when the board card identification and the board card priority do not meet the preset conditions, executing the step of sending the operating power from the slave electric management assembly to the host electric management assembly.
Further, the processor 1001 may call the control program of the multi-card device stored in the memory 1003, and also perform the following operations:
when detecting that the in-place identification of the host computer electricity management component in the first register is not updated within a preset time length, acquiring a preset board card priority and a board card identification corresponding to a board card where the board card is located;
and when the board card identification and the board card priority do not meet the preset conditions, setting the board card identification and the board card priority as an electromechanical management component.
Referring to fig. 2, in an embodiment of the method for controlling a multi-card device of the present invention, the method for controlling a multi-card device includes the following steps:
step S21, the host electrical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component;
step S22, when the power output power and the total operating power meet preset power-on conditions, the host electric management component controls the board card to be powered on;
and step S23, the master electrical management component sends a power-on message to each slave electrical management component, so that the slave electrical management components control the board card to be powered on when receiving the power-on message.
Referring to fig. 3-4, as an embodiment, referring to fig. 3, a multi-board device may include a fan board 310, a line card 320, a management board 330, and a power board 340. Each board is provided with an electromechanical management component 311, 321, 331 or 341. Referring to fig. 4, the electromechanical management component 311 includes an MCU (microprocessor Unit) 3111, a ROM (Read Only Memory) 3112, a temperature sensor 3113, and an ADC (Analog to Digital Converter) 3114. The microprocessor 3111 is connected to the load 360 of the board corresponding to the electromechanical management component 311. Specifically, the microprocessor 3111 is communicatively connected to the main processor of the board corresponding to the electromechanical management component 311. An isolation chip 312 is also disposed between the microprocessor 3111 and the main processor. The microprocessor 3111 is further connected to a board power switch corresponding to the electromechanical management component 311 through a slow start circuit, and is configured to control the board corresponding to the electromechanical management component 311 to be powered on or powered off through the slow start circuit. The microprocessor 3111 may perform data communication with the main processor to obtain board information and an on-site status corresponding to the board. The ROM112 may be configured as an E2PROM (Electrically Erasable Programmable random access memory), and the ROM3112 is configured to store board manufacturing information, board maximum power, and other board information. Temperature 3113, set up to detect the ambient temperature that the integrated circuit board position corresponds. ADC3114 is configured to collect voltage and current on the board.
The microprocessor 3111 is further connected to the backplane 350 through two redundant backup buses, wherein an isolation chip 312 is also disposed between the microprocessor 3111 and the backplane 350. In addition, the multi-board card equipment is connected with the backboard 350 through an address line, so that each board card of the multi-board card equipment corresponds to the electromechanical management component, and communication connection is realized through the backboard 350.
In this embodiment, the electromechanical management component of the board card of the multi-board card device is independently arranged from the corresponding load, the electromechanical management component controls the powering on and powering off of the corresponding board card, and the load realizes the preset function of the corresponding board card.
The electromechanical management assemblies corresponding to the boards of the multi-board card device can be in communication connection through an I2C bus, so that any one of the electromechanical management assemblies corresponding to the boards of the multi-board card device can be used as a master electromechanical management host, and the other electromechanical management assemblies can be used as slave electromechanical management assemblies.
It is understood that in the multi-board card device described in the present application, any one of the electromechanical management components on the bus may become a master electrical management host for controlling the multi-board card device to be powered on, and when the master electrical management component determines that any other electromechanical management component than the master electrical management component becomes a slave electrical management component. That is to say, in the technical solution disclosed in this embodiment, the power-on management system of the multi-board card device may be composed of electromechanical management components on each board of the multi-board card device, and in the power-on management system, a host electromechanical management component is a master device, and other electromechanical management components are slave devices.
It should be noted that the multi-board device refers to a device that can add functions by plugging and unplugging a function card and a management card, and may be a blade server, for example. The power-on means that a power supply is connected to a power supply interface of each board card of the multi-board card equipment.
Further, the multi-board device sets the electromechanical management component corresponding to the target board as a master electromechanical management component, and sets the electromechanical management components corresponding to other boards of the multi-board device as slave electromechanical management components.
Specifically, when the multi-board card device is powered on for the first time, the electromechanical management components corresponding to all the board cards of the multi-board card device may be set as the electromechanical management components, and then each electromechanical management component acquires a preset priority and a board card identifier corresponding to the board card where the electromechanical management component is located, where the board card identifier includes a slot number where the electromechanical management component is located and a board card type.
When the preset priority and the board card identification are obtained, if the priority corresponding to the board card identification where the host computer is located is the highest priority, the host computer electricity management component is set to the host computer electricity management component. Illustratively, the priority of the board cards is set from high to low to be higher than that of the board cards, wherein when a plurality of management boards and/or a plurality of board cards exist, the lower the corresponding slot sequence number in the plurality of management boards, the higher the priority of the management boards, and the lower the corresponding slot sequence number in the plurality of board cards, the higher the priority of the board cards.
Further, after the host electrical management component itself becomes the host electrical management component, an arbitrary value can be written into the first register of the slave electrical management component at regular time, and the arbitrary value is used as the in-place identification of the host electrical management component. Furthermore, in order to enable the master electrical management component to occupy the I2C bus as a master, a preset value (e.g., 1) may also be written in a second register of the slave electrical management component, so that the slave electrical management component may determine that the current bus is occupied by the master electrical management component. In addition, the host electrical management component can write the slot position serial number of the board card corresponding to the host electrical management component into a third register of the slave electrical management component, so that the slave electrical management component can determine the communication address of the host electrical management component according to the numerical value stored in the third register. The communication address is determined according to the address line, and the address number of the address line can be based on the slot number of each board card. The time interval for timing the writing of any value into the first register of the slave electromechanical management component may be set to 1-2 seconds, for example, to 1 second.
Optionally, when the board card with the highest priority is not in place, the electromechanical management component corresponding to the board card with the highest priority cannot become the host electrical management component of the multi-board card device, so that when the electromechanical management component is not detected to become the host electrical management component within the first time period, the electromechanical management component corresponding to the board card with the next highest priority is set as the host electrical management component. The first time period is a preset fixed value, and may be set to 30s-80s, for example, to 50 seconds. The specific detection mode is to obtain whether a host electrical management component is written in an in-place identifier in a first register of the host electrical management component, whether a preset value is written in a second register and/or whether a slot position serial number of a board card corresponding to the host electrical management component is written in a third register. Further, whether the host electrical management component exists currently is determined according to the detected values of the first register, the second register and/or the third register.
Further, after the multi-board card device determines the master electrical management component, the master electrical management component may communicate with the slave electrical management components to obtain second power information of the board card where each slave electrical management component is located. And acquiring first power information of the board card where the board card is located.
After the host electrical management component acquires the first power information and the second power information, the total operating power of the functional board card and the power output power of the power supply board card can be determined based on the first power information and the second power information. And then judging that the power output power and the total operating power meet a preset power-on condition, wherein the preset power-on condition comprises that the total operating power is smaller than a first numerical value, and the first numerical value is determined according to the power output power. Illustratively, the first value WYCan be determined according to the following formula:
WY=w*a
wherein w is the power output power, a is a fixed coefficient, and a is within the interval (0, 1). For example, 0.7 may be set.
When the output power and the total operating power of the power supply meet preset power-on conditions, the multi-board card device sequentially controls the board card to be powered on and sends power-on messages to each slave electrical management assembly through host electrical management according to preset power-on rules, so that the slave electrical management assemblies control the board card to be powered on when receiving the power-on messages.
Specifically, when the board card where the host electrical management component is located is the fan control board card, the host electrical management component controls the board card where the host electrical management component is located to be powered on, otherwise, a power-on message is sent to a slave machine corresponding to the fan control board card, so that the slave electrical management host located on the fan control board card controls the fan to be powered on, and the fan starts to operate.
The host electromechanical management component may first send a power-on notification to the electromechanical management component corresponding to the fan control board. After receiving the power-on notification, the electromechanical management assembly corresponding to the fan control board controls the fan to be powered on through a slow start circuit connected with the wind speed.
After the fan control board card is controlled to be powered on, the host electric management assembly can acquire the wind speed running state through the electromechanical management assembly corresponding to the fan control board card. When the running state meets the preset requirement, the multi-board card equipment is sequentially electrified by controlling other board cards except the fan control board card in the multi-board card equipment. The preset requirements comprise that the fans are in normal operation states. And when the running state does not meet the preset requirement, determining the number of the fans of which the running state is in the abnormal state. When the number of the fans in the abnormal operation state is smaller than a first value, the line cards of the fan partitions corresponding to the fans in the abnormal operation state are not electrified, and the remaining main/standby management boards and the line cards are sequentially electrified. When the number of the fans in the abnormal state in the running state is larger than or equal to a first numerical value, the multi-board card equipment stops the current power-on operation so as to avoid the equipment from being overheated and causing the equipment to be damaged. And the prompt message of the abnormal fan can be output when the power-on operation is stopped.
Optionally, when the power output power and the total operating power do not meet the preset power-on condition, outputting a prompt message according to the power output power and the total operating power.
Specifically, when the power output power and the total operating power do not meet the preset power-on condition, a prompt message that the power of the power supply is too low may be output. Or calculating the value of the current power which needs to be increased according to the power output power and the total operating power, and then outputting prompt information according to the value of the power which needs to be increased. The manner of outputting the prompt information includes, but is not limited to, controlling the brightness of the response indicator light or sending the prompt information to the network management terminal.
In the technical scheme disclosed in this embodiment, the power output power of the multi-board device and the total operating power of the multi-board device are obtained by the host electrical management component from the electromechanical management component, then when the power output power and the total operating power meet a preset power-on condition, the host electrical management component controls the board where the host electrical management component is located to be powered on, and the host electrical management component sends a power-on message to each slave electrical management component so as to control the board where the slave electrical management component is located to be powered on when receiving the power-on message. Because the electromechanical management component corresponding to any board card of the multi-board card equipment can be used as the main control of the multi-board card equipment for controlling power-on and power-off, the phenomenon that the whole machine cannot be normally powered on if the management module fails is avoided because the centralized management module is used for controlling the power-on and power-off of the whole machine, and the power-on and power-off strategy processing of the whole machine is completed by the management module, so that the effect of improving the reliability of the multi-board card equipment is achieved.
Referring to fig. 5, based on any one of the above embodiments, in another embodiment, the method for controlling a multi-card device further includes:
step S25, when the host electromechanical management component receives a power-on request, acquiring the operating power of a board card where the electromechanical management component sending the power-on request is located, wherein when the board card is newly inserted, a power-on request signal is sent;
step S26, acquiring target power according to the total power operation rate of the currently electrified board card and the operation power of the board card sending the electrifying request;
step S27, when the target power is greater than a second value, sending a power-on message to the electromechanical management component that sends the power-on request board, so that the electromechanical management component controls the board where the electromechanical management component is located to be powered on when receiving the power-on message.
In this embodiment, when a multi-board card device is inserted into a new board card, the electromechanical management host of the newly inserted board card is set as the electromechanical management host by default. A power-up request may be sent to the host electrical management host. The host power management host can know that a new board card is inserted based on the power-on request.
When a newly inserted board card is detected in the operation process of the multi-board card device, the operation power of the newly inserted board card can be obtained. And determining a target power according to the operating power and the total operating power of the newly-inserted board card, wherein the target power can be set as the sum of the operating power and the total operating power of the newly-inserted board card. And when the target power is greater than the second value, controlling the newly-inserted board card to be electrified, otherwise, outputting prompt information according to the target power and the power output power. In particular, the second value is also determined in the same way as the first value and may be equal to the first value.
In the technical scheme disclosed in this embodiment, when a newly inserted board card is detected in the operation process of the multi-board card device, the operation power of the newly inserted board card is obtained, then the target power is determined according to the operation power and the total operation power of the newly inserted board card, and when the target power is greater than a second numerical value, the newly inserted board card is controlled to be powered on, wherein the second numerical value is determined according to the power output power, so that the phenomenon that the multi-board card device fails due to the fact that the multi-board card device exceeds the voltage load capacity due to the fact that the new board card is inserted is avoided, and the effect of improving the hot plug stability of the multi-board card device is achieved.
Referring to fig. 6, in still another embodiment of the control method of the multi-board card apparatus of the present invention, the control method of the multi-board card apparatus includes the steps of:
step S61, sending the running power from the electromechanical management component to the host electromechanical management component;
and step S62, controlling the board card to be electrified when receiving the electrifying message sent by the host computer electricity management component.
In this embodiment, the operating power is sent from the slave electrical management component to the master electrical management component, so that the master electrical management component determines the total operating power of the multi-board card device.
When receiving a power-on message sent by the host electromechanical management component, the slave electromechanical management component can input an on signal to the slow start circuit to control the board card to be powered on.
Optionally, when the board card corresponding to the host electrical management component is pulled out or is not in place due to other factors, the host electrical management component cannot write the in-place identifier to the slave electrical management component at regular time, so that when the in-place identifier in the first register of the slave electrical management component is not updated within the preset time, the preset board card priority and the board card identifier corresponding to the board card in which the preset board card priority is obtained from the slave electrical management component, and when the board card identifier and the board card priority do not meet the preset condition, the slave electrical management component is set. The preset time length is longer than the preset time length for the host electrical management component to write the bit identifier at regular time, and may be set to (2s-4s), for example.
Referring to fig. 7, an embodiment of the present invention further provides a multi-board card device 7100, where the multi-board card device 7100 includes:
an obtaining module 7101, a power-on module 7102 and a control module 7103, wherein the obtaining module 7101 is used for a host computer electrical management component to obtain power output power of the multi-board card device and total operating power of the multi-board card device from the electrical management component; the power-on module 7102 is used for controlling the board card to be powered on by the host electric management component when the power output power and the total operating power meet preset power-on conditions; the control module 7103 is configured to send a power-on message to each slave electrical management component by the master electrical management component, so that the slave electrical management component controls the board card to be powered on when receiving the power-on message.
In addition, an embodiment of the present invention further provides a multi-board card device, where the multi-board card device includes a memory, a processor, and a control program of the multi-board card device that is stored in the memory and is executable on the processor, and when the control program of the multi-board card device is executed by the processor, the steps of the control method of the multi-board card device according to the above embodiments are implemented.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a control program of a multi-board card device is stored on the computer-readable storage medium, and when the control program of the multi-board card device is executed by a processor, the steps of the control method of the multi-board card device according to the above embodiments are implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above and includes several instructions for enabling a terminal device (e.g. a blade server or a central switch, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. The control method of the multi-board card equipment is characterized in that the multi-board card equipment comprises at least two board cards provided with electromechanical management components, any one of the electromechanical management components arranged in the at least two board cards is used as a host electromechanical management component, and other electromechanical management components are used as slave electromechanical management components; the control method of the multi-board card equipment comprises the following steps:
the host electromechanical management component acquires the power output power of the multi-board card device and the total operating power of the multi-board card device from the electromechanical management component;
when the power output power and the total operating power meet preset power-on conditions, the host electric management assembly controls the board card to be powered on;
and the master electrical management component sends a power-on message to each slave electrical management component so as to control the board card to be powered on when the slave electrical management components receive the power-on message.
2. The method for controlling a multi-card device according to claim 1, wherein the preset power-on condition includes: the total operating power is less than a first value, wherein the first value is determined according to the power output power; the control method of the multi-board card device further comprises the following steps:
and when the power output power and the total operating power do not meet the preset power-on condition, the host electrical management component outputs prompt information according to the power output power and the total operating power.
3. The method for controlling a multi-board card apparatus according to claim 1, further comprising:
when the host computer is powered on for the first time, the host computer electrical management assembly acquires preset board card priority and a board card identification corresponding to a board card where the host computer electrical management assembly is located;
and when the board card identification and the board card priority meet preset conditions, executing the step that the host computer electric management component acquires the power output power of the multi-board card equipment and the total operating power of the multi-board card equipment from the electromechanical management component.
4. The method for controlling a multi-card device according to claim 3, further comprising, after the step of setting itself as a host electrical management component:
the master electromechanical management component sends in-place information to the slave electromechanical management component at regular time;
and the slave electromechanical management component writes a bit identifier in a first register of the slave electromechanical management component according to the bit information.
5. The method for controlling a multi-board device according to claim 1, wherein the step of acquiring the power output power of the power board and the operating power of the functional board by the host electrical management component comprises:
the master electromechanical management component acquires first power information corresponding to the board card and acquires second power information of other board cards through the slave electromechanical management component;
and determining the power supply output power of the power supply board card and the operating power of the functional board card according to the first power information and the second power information.
6. The method for controlling a multi-board card apparatus according to claim 1, further comprising:
when the host electromechanical management component receives a power-on request, acquiring the operating power of a board card where the electromechanical management component sending the power-on request is located, wherein when the board card is newly inserted, a power-on request signal is sent;
acquiring target power according to the total power operation rate of the currently powered-on board card and the operation power of the board card sending the power-on request;
and when the target power is larger than a second numerical value, sending a power-on message to the electromechanical management component which sends the power-on request board card, so that the electromechanical management component controls the board card where the electromechanical management component is located to be powered on when receiving the power-on message.
7. The control method of the multi-board card equipment is characterized in that the multi-board card equipment comprises at least two board cards provided with electromechanical management components, any one of the electromechanical management components arranged in the at least two board cards is used as a host electromechanical management component, and other electromechanical management components are used as slave electromechanical management components; the control method of the multi-board card device comprises the following steps:
sending the operating power from the electromechanical management component to the host electromechanical management component;
and controlling the board card to be electrified when receiving the electrifying message sent by the host computer electricity management component.
8. The method for controlling a multi-board card apparatus according to claim 7, further comprising:
when the power is firstly powered on, the slave electromechanical management component acquires a preset board card priority and a board card identification corresponding to a board card where the slave electromechanical management component is located;
and when the board card identification and the board card priority do not meet the preset conditions, executing the step of sending the operating power from the slave electric management assembly to the host electric management assembly.
9. The method for controlling a multi-board card apparatus according to claim 7, further comprising:
when detecting that the in-place identification of the host computer electricity management component in the first register is not updated within a preset time length, acquiring a preset board card priority and a board card identification corresponding to a board card where the board card is located;
and when the board card identification and the board card priority do not meet the preset conditions, setting the board card identification and the board card priority as an electromechanical management component.
10. The multi-board card equipment is characterized by comprising at least two board cards provided with electromechanical management components, wherein any one of the electromechanical management components arranged in the at least two board cards is used as a host electromechanical management component, and the other electromechanical management components are used as slave electromechanical management components; the multi-board card device further comprises:
the acquisition module is used for acquiring the power output power of the multi-board card equipment and the total operating power of the multi-board card equipment from the electromechanical management component by the host electromechanical management component;
the power-on module is used for controlling the board card to be powered on by the host electric management assembly when the power output power and the total operating power meet preset power-on conditions;
and the control module is used for sending a power-on message to each slave electromechanical management component by the master electromechanical management component so as to control the board card to be powered on when the slave electromechanical management component receives the power-on message.
11. A multi-board card apparatus, comprising: memory, a processor and a control program of a multi-board card device stored on the memory and executable on the processor, the control program of the multi-board card device implementing the steps of the method of controlling a multi-board card device according to any one of claims 1 to 6 or 7 to 9 when executed by the processor.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a control program of a multi-board card device, which when executed by a processor implements the steps of the control method of the multi-board card device according to any one of claims 1 to 6 or 7 to 9.
CN202010473334.6A 2020-05-28 2020-05-28 Control method of multi-board card device, multi-board card device and medium Active CN111679601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010473334.6A CN111679601B (en) 2020-05-28 2020-05-28 Control method of multi-board card device, multi-board card device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010473334.6A CN111679601B (en) 2020-05-28 2020-05-28 Control method of multi-board card device, multi-board card device and medium

Publications (2)

Publication Number Publication Date
CN111679601A CN111679601A (en) 2020-09-18
CN111679601B true CN111679601B (en) 2021-11-19

Family

ID=72453176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010473334.6A Active CN111679601B (en) 2020-05-28 2020-05-28 Control method of multi-board card device, multi-board card device and medium

Country Status (1)

Country Link
CN (1) CN111679601B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256628A (en) * 2020-10-26 2021-01-22 山东超越数控电子股份有限公司 Multi-unit server fault management method based on domestic single chip microcomputer
CN112202525B (en) * 2020-10-29 2022-11-01 电信科学技术第五研究所有限公司 PPS delay automatic measurement and compensation method of multi-board card equipment
CN113671538A (en) * 2021-08-25 2021-11-19 上海系德信息技术有限公司 Multi-board-card control device and method of GNSS signal simulation system
CN117239687A (en) * 2022-06-08 2023-12-15 华为技术有限公司 Protection circuit, power supply system and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194321B2 (en) * 2004-10-29 2007-03-20 Dynacity Technology (Hk) Limited Modular multi-axis motion control and driving system and method thereof
CN101246361A (en) * 2008-03-26 2008-08-20 杭州华三通信技术有限公司 Electric power management method and system
CN203218961U (en) * 2013-02-04 2013-09-25 南京丰泰通信技术股份有限公司 Low voltage DC power pack power strip backup apparatus for communication device group
CN106789108A (en) * 2016-12-06 2017-05-31 迈普通信技术股份有限公司 A kind of communication equipment and its method for managing power supply
CN107632566A (en) * 2017-09-19 2018-01-26 新华三技术有限公司 A kind of board identification device, method and the network equipment
CN109753138A (en) * 2018-12-14 2019-05-14 新华三技术有限公司 Power consumption management method, device, electronic equipment and computer readable storage medium
CN110120875A (en) * 2018-02-06 2019-08-13 杭州海康威视数字技术股份有限公司 Method of supplying power to, device, power supply unit and storage medium
CN209312010U (en) * 2018-12-25 2019-08-27 西安翔迅科技有限责任公司 Processor subcard based on POWER PC processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4905182A (en) * 1987-03-13 1990-02-27 Apple Computer, Inc. Self-configuring memory management system with on card circuitry for non-contentious allocation of reserved memory space among expansion cards
US6925516B2 (en) * 2001-01-19 2005-08-02 Raze Technologies, Inc. System and method for providing an improved common control bus for use in on-line insertion of line replaceable units in wireless and wireline access systems
CN104572534B (en) * 2014-12-06 2017-12-26 呼和浩特铁路局科研所 Locomotive information monitoring device and its operation method
CN107329537B (en) * 2017-06-27 2019-07-09 杭州迪普科技股份有限公司 A kind of electrification control method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194321B2 (en) * 2004-10-29 2007-03-20 Dynacity Technology (Hk) Limited Modular multi-axis motion control and driving system and method thereof
CN101246361A (en) * 2008-03-26 2008-08-20 杭州华三通信技术有限公司 Electric power management method and system
CN203218961U (en) * 2013-02-04 2013-09-25 南京丰泰通信技术股份有限公司 Low voltage DC power pack power strip backup apparatus for communication device group
CN106789108A (en) * 2016-12-06 2017-05-31 迈普通信技术股份有限公司 A kind of communication equipment and its method for managing power supply
CN107632566A (en) * 2017-09-19 2018-01-26 新华三技术有限公司 A kind of board identification device, method and the network equipment
CN110120875A (en) * 2018-02-06 2019-08-13 杭州海康威视数字技术股份有限公司 Method of supplying power to, device, power supply unit and storage medium
CN109753138A (en) * 2018-12-14 2019-05-14 新华三技术有限公司 Power consumption management method, device, electronic equipment and computer readable storage medium
CN209312010U (en) * 2018-12-25 2019-08-27 西安翔迅科技有限责任公司 Processor subcard based on POWER PC processor

Also Published As

Publication number Publication date
CN111679601A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN111679601B (en) Control method of multi-board card device, multi-board card device and medium
CN104954145A (en) Method for power over Ethernet, power sourcing equipment and system for power over Ethernet
CN103853678A (en) Board management device and board management system and control card using same
CN110825204A (en) Mainboard of electronic equipment and power supply information management method
US9817456B2 (en) Method and module for providing instructions for setting a supply voltage
US9558137B2 (en) Card control device and control card of computer system having card control device
US8423809B2 (en) Power consumption measuring and power transmission monitoring for data transfer
CN113687707A (en) Power supply voltage control device of mainboard and server
CN111475343B (en) Computer state outage restoration method and device and terminal equipment
CN117331423A (en) Power supply method and device of PCIE equipment, storage medium and electronic device
CN218824636U (en) Power supply detection device for server hard disk backboard
CN209821822U (en) Control circuit and computer of PCIE equipment hot plug
CN113835507B (en) Server and hard disk power-on control system and method thereof
US7190267B2 (en) System and method for managing power control and data communication among devices
CN115952122A (en) I2C device hot plug method, system, device, medium and product
CN114564095A (en) Intelligent network card charging control system and server
CN101697094A (en) Double-power power supply unit and method
CN109792151B (en) Controlling an energy storage system
CN107741733B (en) Fieldbus system and fieldbus identification method
CN1980228A (en) Method and system for reading computer platform internal memory stale data at subscriber end
CN117033063B (en) Server liquid leakage processing method, system, device, electronic equipment and medium
TWI754941B (en) Electronic equipment and operation method thereof
CN102866764B (en) The method for managing power supply of terminal device and internal storage location thereof
TWI817714B (en) Server, adapter card and control method thereof
CN114020219B (en) Power backup device and power backup method and medium thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant