CN113835516A - Equipment management method, equipment and medium - Google Patents

Equipment management method, equipment and medium Download PDF

Info

Publication number
CN113835516A
CN113835516A CN202010578998.9A CN202010578998A CN113835516A CN 113835516 A CN113835516 A CN 113835516A CN 202010578998 A CN202010578998 A CN 202010578998A CN 113835516 A CN113835516 A CN 113835516A
Authority
CN
China
Prior art keywords
equipment
command
power
powered
voltage
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
CN202010578998.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010578998.9A priority Critical patent/CN113835516A/en
Publication of CN113835516A publication Critical patent/CN113835516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The embodiment of the application discloses a device management method, which comprises the following steps: the first equipment acquires an operation command; the first device is connected with the second device through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second device to be powered on, and the power-off command is used for indicating the second device to be powered off; and the first equipment operates the second equipment according to the operation command. The embodiment of the application further provides a device and a medium, wherein the first device manages the power-on or power-off of the second device, so that the second device does not generate extra energy consumption in the dormant state, the dormant energy consumption of the second device is reduced, and meanwhile, the energy consumption of the system in the dormant state is not increased along with the increase of the number of the second devices.

Description

Equipment management method, equipment and medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a device management method, device, and medium.
Background
The computer device includes: the device comprises a storage node, a computing node, an interactive machine or a server and the like, and under the working scene of the devices, when the devices do not need to work, the devices can be switched into a standby state. The electric energy that equipment consumed when the standby has become a serious energy waste, becomes consensus along with energy-concerving and environment-protective, and lower standby power consumption technique also receives attention, seeks lower standby power consumption and can effectively promote product competitiveness.
In the prior art, when a device is in a sleep state, a Baseboard Management Controller (BMC) of the device keeps a power-on state and monitors an activation command, and other components are powered off; when the BMC listens to the activation command, the BMC controls various components of the device to power up to activate the device from a dormant state. Thereby reducing power consumption of the device in the sleep state.
However, in the prior art, the device needs to keep the BMC turned on in the sleep state, the BMC may operate to generate energy consumption, and as the number of devices in the system increases, the total energy consumption generated when the whole system is in the sleep state increases accordingly. Therefore, the problems in the prior art have yet to be improved.
Disclosure of Invention
The embodiment of the application provides a device management method, device and medium, which are used for solving the problem of energy consumption management in a device dormant state.
In view of the above, a first aspect of the present application provides a device management method, including: the first equipment acquires an operation command; the first device is connected to the second device through an interface, optionally, the first device may be a management substrate, and the second device may be: the system comprises storage nodes, computing nodes, cluster equipment, interaction machines or servers; the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second equipment to be powered on, and the power-off command is used for indicating the second equipment to be powered off; and the first equipment operates the second equipment according to the operation command.
In this embodiment, the first device obtains the operation command, and then operates the second device according to the operation command. The first device manages the power-on or power-off of the second device, so that the second device cannot generate extra energy consumption in the dormant state, the dormant energy consumption of the second device is reduced, and meanwhile, the energy consumption of the system in the dormant state cannot increase along with the increase of the number of the second devices.
With reference to the first aspect, in a first possible implementation manner, the acquiring, by the first device, an operation command includes: the first equipment acquires the operation command from the second equipment or third equipment, and the third equipment is remotely connected with the first equipment; optionally, the third device is a remote management server.
In this embodiment, the remote management server may send the operation command to the first device remotely through the network, thereby implementing remote management of the first device, and meanwhile, the remote management server may implement management of the plurality of second devices only by being connected to the first device, thereby improving management efficiency.
With reference to the first aspect and the first possible implementation manner, in a second possible implementation manner, when the operation command is a shutdown command, the operating, by the first device, the second device according to the operation command includes: the first device sends the shutdown command to the second device; the first equipment acquires a first feedback message from the second equipment, wherein the first feedback message is used for indicating that the second equipment is successfully powered off; the first device sends a first instruction to a power supply device, the power supply device is used for supplying power to the second device, the first instruction is used for instructing the power supply device to adjust the output first voltage to a second voltage, and the voltage value of the second voltage is different from that of the first voltage.
In this embodiment, after the first device determines that the second device is powered off according to the first feedback message, the power supply device is controlled to adjust the output voltage value, so that the second device can determine that the current state is not powered off according to the obtained voltage value.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, when the operation command is a power-on command, the operating, by the first device, the second device according to the operation command includes: the first device sends a second instruction to the power supply device, wherein the second instruction is used for instructing the power supply device to adjust the output second voltage to the first voltage, so that the second device is powered on after receiving the first voltage.
In this embodiment, when the second device is in the sleep state, all devices of the second device are powered off, at this time, the voltage can only be acquired through the power supply device, and when the voltage value is changed from the first voltage to the second voltage, the second device can be waken from the sleep state according to the change of the voltage, so as to enter the power-on state, thereby realizing wakening of the second device from the complete sleep state.
With reference to the first aspect, in a fourth possible implementation manner, when the operation command is a power-on command, the operating, by the first device, the second device according to the operation command includes: the first device sends the starting-up instruction to the second device, so that the second device is powered on after receiving the starting-up instruction.
In this embodiment, different from the third possible implementation manner, the second execution device in the second device is in a power-on state in the dormant state of the second device, and when the first device obtains the power-on command, the power-on command is directly sent to the second execution device, so that the second execution device activates the second device to execute a power-on process after receiving the power-on command.
With reference to the first aspect and the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner, the number of the second devices is multiple.
In this embodiment, the number of the second devices is multiple, so that the first device can manage multiple second devices at the same time, and energy consumption of the second devices in a sleep state is reduced.
With reference to the first aspect and the first to fifth possible implementation manners of the first aspect, in a sixth possible implementation manner, the first device includes a first control device, where the first control device is configured to control the first device to power on or power off, and optionally, the first control device is a Baseboard Management Controller (BMC); before the first device controls the second device to power up, the method further includes: when the first equipment acquires the starting command, the first control device controls the first equipment to be powered on; when the first device acquires the shutdown command, the first control device controls the first device to power off, and when the first device powers off, the first control device keeps a power-on state.
In this embodiment, in the sleep state, the first device also enters a power-off state, and only the first control device is kept powered on for monitoring the power-on command. In this way, the power consumption of the device in the standby state is further received.
A second aspect of the present application provides a device management method, including: the method comprises the steps that a second device obtains a shutdown command from a first device, and the first device is connected with the second device through an interface; optionally, the first device may be a management baseboard, and the second device may be: the system comprises storage nodes, computing nodes, cluster equipment, interaction machines or servers; the second device is powered off; the second device sends a first feedback message to the first device, wherein the first feedback message is used for indicating that the second device is successfully powered down so that the first device instructs a power supply device to regulate the output first voltage into a second voltage, and the power supply device is used for supplying power to the second device; when the voltage that the second device acquires from the power supply device changes from the second voltage to the first voltage, the second device powers up.
In this embodiment, the second device is activated by changing the voltage value output by the power supply device, so that the second device can be in a completely powered-off state in the sleep state, and the retention component is not required to be powered on to monitor an external activation command, thereby further reducing the energy consumption of the second device in the sleep state.
With reference to the second aspect, in a first possible implementation manner, after the second device is powered off, the method further includes: the second device obtains a starting command from the local switch; the second device sends the power-on command to the first device, so that the first device instructs the power supply device to regulate the output voltage from the second voltage to the first voltage according to the power-on command.
In this embodiment, the second device local apparatus includes a switch device, and when a user controls the second device to start up through the switch device of the second device local apparatus, the second device sends a start-up command to the first device, so that the first device controls the power supply apparatus to change the output voltage, and the second device is activated from the sleep state according to the change of the voltage.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the second apparatus includes a second execution device and a second control device, and the second device powers down and includes: the second executing device and the second control device are powered off; alternatively, the second execution device may be a Complex Programmable Logic Device (CPLD), and the second control device may be a Baseboard Management Controller (BMC). When the voltage obtained by the second device from the power supply device is changed from the second voltage to the first voltage, the second device is powered on, and the method comprises the following steps: when the voltage acquired by the second execution device from the power supply equipment is changed from the second voltage to the first voltage, the second execution device is powered on; the second execution device controls the second control device to be powered on; the second control device controls the second equipment to be powered on.
In this embodiment, in the sleep state, the second executing device activates the second control device to control the second device to be activated from the sleep state by sensing the change in the obtained voltage value, and in this way, it is ensured that the second device can still be activated in the completely powered-off state.
A third aspect of the present application provides a device management method, including: the method comprises the steps that a second device obtains a shutdown command from a first device, and the first device is connected with the second device through an interface; the second device is powered off; the second equipment acquires a starting command from the first equipment; the second device powers up.
In this embodiment, the second device is provided with a second control device, which may be a Complex Programmable Logic Device (CPLD), and when the second device is powered off, the second control device is in a powered on state, so that when the first device sends a power-on command to the second device, the second control device may obtain the power-on command and drive the second device to perform a subsequent power-on process.
With reference to the third aspect, in a first possible implementation manner, the second device includes a second execution unit and a second control unit; optionally, the second executing device may be a Complex Programmable Logic Device (CPLD), the second controlling device may be a Baseboard Management Controller (BMC), and the second device obtains a shutdown command from the first device, where the second executing device includes: the second device obtains the shutdown command through the second execution device; the second equipment controls the second control device to be powered down through the second execution device; the second equipment is controlled by the second control device to be powered off, and when the second equipment is powered off, the second execution device keeps a powered-on state.
In this embodiment, when the second device is in the sleep state, the second control device is powered down, and the second execution device is kept in the power-up state when in the sleep state, so that only the second execution device is kept in the standby state when in the sleep state, thereby reducing energy consumption of the second device in the sleep state.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, the acquiring, by the second device, the boot command from the first device includes: the second equipment acquires the starting command from the first equipment through the second execution device; the second device is powered on and comprises: the second equipment controls the second control device to be powered on through a second execution device; the second device is powered up under the control of the second control means.
In this embodiment, when the second device is in the sleep state, and the second execution device obtains the power-on command, the second execution device controls the second execution device to power on, and then the second execution device controls the second device to power on, so that the second device is activated from the sleep state.
A fourth aspect of the present application provides an electronic device, comprising: an acquisition unit configured to acquire an operation command; the electronic equipment is connected with second equipment through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second equipment to be powered on, and the power-off command is used for indicating the second equipment to be powered off; and the operating unit is used for operating the second equipment according to the operating command acquired by the acquiring unit.
In this embodiment, the electronic device obtains the operation command, and then operates the second device according to the operation command. The electronic device manages the power-on or power-off of the second device, so that the second device cannot generate extra energy consumption in the dormant state, the dormant energy consumption of the second device is reduced, and meanwhile, the energy consumption of the system in the dormant state cannot increase along with the increase of the number of the second devices.
With reference to the fourth aspect, in a first possible implementation manner, the obtaining unit is configured to: and the second equipment or the third equipment acquires the operation command, and the third equipment is remotely connected with the electronic equipment.
In this embodiment, the remote management server may send the operation command to the electronic device remotely through the network, thereby implementing remote management of the electronic device, and meanwhile, the remote management server may implement management of the plurality of second devices only by being connected to the electronic device, thereby improving management efficiency.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, when the operation command is a shutdown command, the operation unit is further configured to: the second device sends the shutdown command; acquiring a first feedback message from the second equipment, wherein the first feedback message is used for indicating that the second equipment is successfully powered off; and sending a first instruction to a power supply device, wherein the power supply device is used for supplying power to the second device, and the first instruction is used for instructing the power supply device to regulate the output first voltage to a second voltage.
In this embodiment, after the electronic device determines that the second device is powered off according to the first feedback message, the electronic device controls the power supply device to adjust the output voltage value, so that the second device can determine that the current state is not powered off according to the obtained voltage value.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, when the operation command is a power-on command, the operation unit is further configured to: and sending a second instruction to the power supply equipment, wherein the second instruction is used for instructing the power supply equipment to adjust the output second voltage to the first voltage, so that the second equipment is powered on after receiving the first voltage.
In this embodiment, when the second device is in the sleep state, all devices of the second device are powered off, at this time, the voltage can only be acquired through the power supply device, and when the voltage value is changed from the first voltage to the second voltage, the second device can be waken from the sleep state according to the change of the voltage, so as to enter the power-on state, thereby realizing wakening of the second device from the complete sleep state.
With reference to the fourth aspect, in a fourth possible implementation manner, when the operation command is a power-on command, the operation unit is further configured to: and sending the starting-up instruction to the second equipment so that the second equipment is powered on after receiving the starting-up instruction.
In this embodiment, different from the third possible implementation manner, the second execution device in the second device is in a power-on state in the dormant state of the second device, and when the electronic device obtains the power-on command, the electronic device directly sends the power-on command to the second execution device, so that the second execution device activates the second device to execute a power-on process after receiving the power-on command.
With reference to the fourth aspect and the first to fourth possible implementation manners of the fourth aspect, in a fifth possible implementation manner, the number of the second devices is multiple.
In this embodiment, the number of the second devices is multiple, so that the electronic device can simultaneously manage multiple second devices, and energy consumption of the second devices in a sleep state is reduced.
With reference to the fourth aspect and the first to fifth possible implementation manners of the fourth aspect, in six possible implementation manners, the electronic device includes a first control device, where the first control device is configured to control the electronic device to power on or power off; the operating unit is further configured to: when the obtaining unit obtains the starting command, the electronic equipment is controlled to be powered on through the first control device; when the obtaining unit obtains the shutdown command, the first control device controls the electronic equipment to be powered off, and when the electronic equipment is powered off, the first control device keeps a powered-on state.
In this embodiment, in the sleep state, the electronic device also enters a power-off state, and only the first control device is kept powered on for monitoring the power-on command. In this way, the power consumption of the device in the standby state is further received.
A fifth aspect of the present application provides an electronic device, comprising: the system comprises an acquisition unit, a control unit and a display unit, wherein the acquisition unit is used for acquiring a shutdown command from first equipment, and the first equipment is connected with the electronic equipment through an interface; the power-down unit is used for controlling the electronic equipment to be powered down; a sending unit, configured to send a first feedback message to the first device, where the first feedback message is used to indicate that the electronic device is powered off successfully, so that the first device instructs a power supply device to adjust an output first voltage to a second voltage, and the power supply device is used to supply power to the electronic device; and the power-on unit is used for controlling the electronic equipment to be powered on when the voltage acquired by the electronic equipment from the power supply equipment is changed from the second voltage to the first voltage.
In this embodiment, the electronic device is activated by changing the voltage value output by the power supply device, so that the electronic device can be in a completely powered-off state in the sleep state, and the component does not need to be powered on to monitor an external activation command, thereby further reducing the energy consumption of the electronic device in the sleep state.
With reference to the fifth aspect, in a first possible implementation manner, the obtaining unit is further configured to: acquiring a starting command from a local switch; the sending unit is further configured to send the power-on command to the first device, so that the first device instructs, according to the power-on command, the power supply device to adjust the output voltage from the second voltage to the first voltage.
In this embodiment, the electronic device local apparatus includes a switch device, and when a user controls the electronic device to start up through the switch device local to the electronic device, the electronic device sends a start-up command to the first apparatus, so that the first apparatus controls the power supply apparatus to change the output voltage, and the electronic device is activated from the sleep state according to the change of the voltage.
With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner, the second apparatus includes a second execution apparatus and a second control apparatus, and the power-down unit is configured to: controlling the second executing device and the second control device to be powered off; when the voltage obtained by the electronic device from the power supply device changes from the second voltage to the first voltage, the power-on unit is further configured to: when the voltage acquired by the second execution device from the power supply equipment is changed from a second voltage to a first voltage, controlling the second execution device to be powered on; controlling the second control device to be powered on through the second execution device; and controlling the electronic equipment to be powered on through the second control device.
In this embodiment, in the sleep state, the second executing device activates the second control device to control the electronic device to be activated from the sleep state by sensing the change of the obtained voltage value, so as to ensure that the electronic device can still be activated in the completely powered-off state.
A sixth aspect of the present application provides an electronic device, comprising: the system comprises an acquisition unit, a control unit and a display unit, wherein the acquisition unit is used for acquiring a shutdown command from first equipment, and the first equipment is connected with the electronic equipment through an interface; the power-down unit is used for controlling the electronic equipment to be powered down; the obtaining unit is further configured to obtain a power-on command from the first device; and the power-on unit is used for controlling the electronic equipment to be powered on.
In this embodiment, the electronic device is provided with a second control device, which may be a Complex Programmable Logic Device (CPLD), and when the electronic device is powered off, the second control device is in a power-on state, so that when the first device sends a power-on command to the electronic device, the second control device may obtain the power-on command and drive the electronic device to perform a subsequent power-on process.
With reference to the sixth aspect, in a first possible implementation manner, the electronic device includes a second execution device and a second control device; the obtaining unit is further configured to: obtaining the shutdown command through the second execution device; the power down unit is further configured to: controlling the second control device to power down through the second execution device; the electronic equipment is controlled by the second control device to be powered off, and when the electronic equipment is powered off, the second execution device keeps a powered-on state.
In this embodiment, when the electronic device is in the sleep state, the second control device is powered off, and the second execution device is kept in the power-on state when the electronic device is in the sleep state, so that only the second execution device is kept in the standby state when the electronic device is in the sleep state, and energy consumption of the electronic device in the sleep state is reduced.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, the obtaining unit is further configured to: acquiring the starting command from the first equipment through the second execution device; the power-on unit is further configured to: controlling the second control device to be powered on through a second execution device; the second control device controls the power-on.
In this embodiment, when the electronic device is in the sleep state, and the second execution device obtains the power-on command, the second execution device controls the second execution device to power on, and then the second execution device controls the electronic device to power on, so that the electronic device is activated from the sleep state.
According to the technical scheme, the embodiment of the application has the following advantages:
an embodiment of the present application provides an apparatus management method, including: the first equipment acquires an operation command; the first device is connected with the second device through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second device to be powered on, and the power-off command is used for indicating the second device to be powered off; and the first equipment operates the second equipment according to the operation command. The first device manages the power-on or power-off of the second device, so that the second device cannot generate extra energy consumption in the dormant state, the dormant energy consumption of the second device is reduced, and meanwhile, the energy consumption of the system in the dormant state cannot increase along with the increase of the number of the second devices.
An embodiment of the present application provides an apparatus management method, including: the second equipment acquires a shutdown command from the first equipment, and the first equipment is connected with the second equipment through an interface; powering off the second equipment; the second equipment sends a first feedback message to the first equipment, wherein the first feedback message is used for indicating that the second equipment is successfully powered off so that the first equipment indicates the power supply equipment to regulate the output first voltage into a second voltage, and the power supply equipment is used for supplying power to the second equipment; when the voltage that the second device acquires from the power supply device changes from the second voltage to the first voltage, the second device powers on. In this embodiment, the second device is completely powered off in the sleep state, and the first device activates the second device through a change in the output voltage of the power supply device, thereby reducing energy consumption of the second device in the sleep state.
An embodiment of the present application provides an apparatus management method, including: the second equipment acquires a shutdown command from the first equipment, and the first equipment is connected with the second equipment through an interface; powering off the second equipment; the second equipment acquires a starting-up command from the first equipment; the second device powers up. In this embodiment, the second device executes the power-on or power-off operation according to the power-on command or the power-off command sent by the first device, so that the first device can manage the standby state of the second device through the power-on command or the power-off command, thereby improving the convenience of device management.
Drawings
FIG. 1 is a system architecture diagram of a prior art device management solution;
fig. 2 is an architecture diagram of a device management method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating an embodiment of a device management method according to an embodiment of the present application;
fig. 4 is an architecture diagram of a device management method according to an embodiment of the present application;
fig. 5 is a schematic diagram of another embodiment of a device management method provided in an embodiment of the present application;
fig. 6 is a schematic diagram of another embodiment of a device management method according to an embodiment of the present application;
fig. 7 is a specific application scenario architecture diagram of the device management method according to the embodiment of the present application;
fig. 8 is a schematic device diagram of an electronic apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of another electronic device provided in an embodiment of the present application;
fig. 11 is a schematic view of another electronic device provided in an embodiment of the present application.
Detailed Description
Embodiments of the present invention provide an apparatus management method, an apparatus, and a medium, which can manage a sleep state of a second apparatus through a first apparatus, and solve a problem that the second apparatus consumes more energy in the sleep state.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The computer device includes: the device comprises a storage node, a computing node, an interactive machine or a server and the like, and under the working scene of the devices, when the devices do not need to work, the devices can be switched into a standby state. The electric energy that equipment consumed when the standby has become a serious energy waste, becomes consensus along with energy-concerving and environment-protective, and lower standby power consumption technique also receives attention, seeks lower standby power consumption and can effectively promote product competitiveness.
As shown in fig. 1, when the device 101 is in a sleep state, a substrate management controller (BMC) 1011 of the device 101 keeps a power-on state and listens for an activation command, and the rest of the components are powered off; the remote management server 102 manages the device 101 through the network 103, and when the BMC1011 monitors an activation command transmitted by the remote management server 102 through the network 103, the BMC1011 controls the power on of various components of the device 101 to activate the device 101 from a sleep state. Thereby reducing power consumption of device 101 in the sleep state.
However, in the scheme of fig. 1, the device needs to keep the BMC turned on in the sleep state, and the operation of the BMC generates energy consumption, and as the number of devices in the system increases, the total energy consumption generated by the whole system in the sleep state correspondingly increases.
In order to solve the above problem, an embodiment of the present application provides an apparatus management method, where a power-up/down state of a second apparatus is managed by a first apparatus, so as to solve an energy consumption management problem in an apparatus dormant state. For the sake of understanding, the method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2 first, an architecture of the device management method provided in the embodiment of the present application is shown in fig. 2, and includes a first device 201, a second device 202, a third device 203, and a power device 204, where the third device 203 is a remote management server, and the third device 203 is connected to the first device 201 through a network and can send a power-on command or a power-off command to the first device 201; the first device 201 may be interfaced with one or more second devices 202, and the first device 201 manages powering up and powering down of the one or more second devices 202. Optionally, the first device 201 may be a management board, which is specifically configured by a circuit board structure, and the second device 202 may be a cluster device, which may be a switch, a server, a storage node, a computing node, or the like, which is not limited in this embodiment of the present application.
Referring to fig. 3 based on the architecture shown in fig. 2, as shown in fig. 3, an embodiment of the present application includes the following steps.
301. The first device obtains an operation command.
In this embodiment, the operation command includes a power-on command or a power-off command, and the first device may obtain the operation command from the second device or the third device, where the first device is connected to the second device through an interface, and the first device is remotely connected to the third device; the third device can send an operation command to the first device through the network, the second device is provided with a switch device locally, and the second device obtains the operation command from the local switch device and then sends the operation command to the first device through the interface.
302. And the first equipment operates the second equipment according to the operation command.
In this embodiment, optionally, the operation may specifically include the following steps.
1. And when the first equipment acquires the starting command, the first equipment controls the second equipment to be powered on.
In this embodiment, the number of the second devices may be one or multiple, and when the number of the second devices is multiple, the first device may select to control all the second devices to be powered on, or the first device may also control a specified portion of the second devices to be powered on.
2. When the first equipment acquires the shutdown command, the first equipment controls the second equipment to power off.
In this embodiment, the number of the second devices may be one or multiple, and when the number of the second devices is multiple, the first device may selectively control all the second devices to power down, or the first device may also control a designated part of the second devices to power down.
In this embodiment, the second device is connected to the first device, and the first device manages the power state of the second device. When the first device acquires a shutdown command, the first device instructs the second device to power down, each part of the second device can be completely powered off in the power down state, the BMC module does not need to be started, and because the first device and the second device are connected through the interface, the second device in the dormant state can be directly activated through the interface when the first device acquires the startup command.
Furthermore, the mode that the first device is connected with the second device through the interface can be applied to most devices in the prior art, and the device management method provided by the embodiment of the application can be realized by externally connecting the first device through the interface no matter whether the first device is a storage node, a computing node, a switch or a server, so that the device management method has better compatibility.
Please refer to fig. 4, as shown in fig. 4, a more specific architecture of the device management method provided in the embodiment of the present application includes a first device 401, a second device 402, a third device 403, and a power device 404. The third device 403 may be a remote management server, and each second device 402 includes a second executing device 4021 and a second controlling device 4022, respectively, where the second executing device 4021 is used for communication between devices, and the second controlling device 4022 is used for controlling power on and power off of the second device 402. The first device 401 includes a first execution device 4011 and a first control device 4012, wherein the first execution device 4011 is used for communication between devices, and the first control device 4012 is used for controlling power on and power off of the second device 402. Alternatively, the first execution device 4011 and the second execution device 4021 may be Complex Programmable Logic Devices (CPLDs), the first control device 4012 and the second control device 4022 may be Baseboard Management Controllers (BMCs), as a preferred embodiment, in the following embodiments of the present application, the first execution device 4011 is denoted as a first BMC, the second execution device 4021 is a second BMC, the first control device 4012 is a first CPLD, and the second control device 4022 is a second CPLD, but the present application does not limit the above devices, and those skilled in the art may select the execution devices and the control devices according to actual needs.
Based on the architecture shown in fig. 4, the device management method provided by the present application provides two different solutions, i.e., in the sleep state, only the power of the first device BMC is reserved; in this scheme, when the first device BMC obtains the power-on command, all the dormant second devices are activated. Keeping the first equipment BMC and the second equipment CPLD to supply power in the dormant state; in this scheme, when the first device BMC obtains the power-on command, the first device is awakened, and the first device CPLD may awaken a designated portion of the second device by communicating with the second device CPLD. For the sake of understanding, the two modes are described in detail below with reference to the accompanying drawings.
Firstly, in the dormant state, only the power supply of the first device BMC is reserved.
Referring to fig. 5, as shown in fig. 5, an embodiment of a device management method provided in the present application includes the following steps.
501. The first device obtains a shutdown command.
In this embodiment, the first device obtains the shutdown command through the first BMC, the first BMC may obtain the shutdown command from the second device or obtain the shutdown command from the third device, and the first device is remotely connected to the third device; the third device can send a shutdown command to the first BMC through the network, the second device is locally provided with a switch device, and the second device obtains the shutdown command from the local switch device and then sends the shutdown command to the first BMC through the interface.
502. The first device sends a shutdown command to the second device.
In this embodiment, a specific working manner for the first device to send the shutdown command to the second device may be as follows: the first CPLD sends a shutdown command to the second CPLD.
503. The second device is powered down.
In this embodiment, after the second device obtains the shutdown command, each component of the second device is powered off according to the shutdown command. It is noted that after powering down the second device, a component, e.g. a chip, is kept powered up for performing the following step 504, thereby sending the first feedback message to the second device. Further, in step 506, when the second device receives the second voltage output by the power supply device, the chip is powered down.
504. The second device sends a first feedback message to the first device.
In this embodiment, the first feedback message is used to indicate that the second device is powered off successfully, the second device sends the first feedback message to the first device through the second CPLD, and after the first feedback message is sent, the second CPLD is powered off, so that all components in the second device are powered off and enter a sleep state.
505. The first device sends a first instruction to the power supply device.
In this embodiment, the power supply device is configured to supply power to the second device, and the first instruction is configured to instruct the power supply device to adjust the output first voltage to a second voltage, where the first voltage is a voltage of the second device in an active state, and the second voltage is a voltage of the second device in a sleep state, for example, the first voltage is 12V, and the second voltage is 6V.
506. The power supply device outputs a second voltage to the second device.
In this embodiment, it should be noted that, the second device is currently in a sleep state, and the second voltage output by the power supply device to the second device is not used for supplying power to the second device, but is used as an electrical signal, so that the second device knows that the second device is in the sleep state in the current voltage state.
507. The first device is powered down.
In this embodiment, the first device also enters the sleep state after the second device enters the sleep state, but when the first device is in the sleep state, the first BMC remains in the power-on state, thereby monitoring the power-on command. At this time, in the entire system, the number of the second devices may be one or more, all of the second devices are in the power-down state, and the first devices except the first BMC are also in the power-down state. In the whole system, no matter how many second devices are connected to the first device, in the dormant state, only one device of the first BMC is required to be maintained in the power-on state, so that the energy consumption of the whole system in the standby state is greatly reduced.
Assuming that there are eight second devices in the system, according to the working mode in the prior art, each second device needs to turn on its own BMC to monitor the power-on command, and the power consumption of each BMC is 10W, the system in the hibernation state needs 80W to maintain the monitoring in the hibernation state. In the scheme, the eight second devices are connected in the first device, and in the dormant state, only one first BMC of the first device is required to be in the monitoring state, and the monitoring of the system in the dormant state can be maintained only by the power consumption of 10W, so that the energy consumption of the system in the dormant state is reduced.
508. The first device obtains a power-on command.
In this embodiment, the first device obtains the boot command through the first BMC in the hibernation state. The first BMC can acquire the starting command in two ways, wherein one way is the starting command sent by the remotely connected third equipment to the first BMC through the network; and the other is that after a local switch of the second device is started, the second device acquires a starting command from the local switch, activates the second CPLD and sends the starting command to the first BMC. At this time, the first BMC controls the first device to be powered on according to the starting command, so that the first CPLD is switched from a dormant state to an activated state.
509. The first device sends a second instruction to the power supply device.
In this embodiment, the first device sends a second instruction to the power supply device through the first CPLD, where the second instruction is used to instruct the power supply device to adjust the output second voltage to the first voltage, for example, the power supply device adjusts the output voltage from 6V in the sleep state to 12V as described in step 505.
510. The power supply device outputs a first voltage to the second device.
In this embodiment, whether in the sleep state or the active state, the power supply device continuously supplies power to the second device, and after receiving the second instruction, the power supply device switches the output voltage from the second voltage to the first voltage, and then the voltage output by the power supply device to the second device is the first voltage at this time, for example, in the sleep state of the second device, the voltage output by the power supply device is 6V, and after receiving the second instruction, the power supply device outputs 12V.
511. The second device powers up according to the first voltage.
In this embodiment, in the sleep state of the second device, the power supply device continuously outputs the second voltage to the second device, and when the power supply device outputs the first voltage to the second device, the second device can activate the second device to start powering up according to the preset program according to the change of the voltage value. For example, in the sleep state, the second device obtains a voltage of 6V from the power supply device, and when the second device obtains a voltage of 12V from the power supply device, the second device is powered on and activated from the sleep state.
Optionally, a specific manner of powering on the second device includes the following steps.
When the voltage that the second CPLD obtains from the power supply device changes from the second voltage to the first voltage, the second CPLD powers up.
And the second CPLD controls the second BMC to be powered on.
And the second BMC controls the second equipment to be powered on.
In this embodiment, in the hibernation state, the first device only reserves the first BMC, and one device is kept in the power-on state, and the second device is completely hibernated. The number of the second devices can be one or more, all the second devices are connected with the same first device through interfaces, in a dormant state, when the first BMC of the first device obtains a starting command, the first BMC controls the first device to be activated, the first device indicates the power supply device to change output voltage through the first CPLD, and therefore the second devices are activated from the dormant state according to the change of the voltage. Through the working mode, the first equipment manages the dormant state of the second equipment, so that the dormant energy consumption of the system cannot be increased along with the increase of the second equipment, and the energy consumption of the system in the dormant state is greatly saved.
It should be noted that the operating method provided in the second embodiment can greatly save energy consumption of the system in the sleep state, but has a disadvantage that, because one first device is connected with a plurality of second devices, when receiving a power-on command, the first device sends an instruction to the power device, and the power device activates the sleep second devices by changing the output voltage, because all the second devices are powered by the same power device, this operating method can only activate all the sleep second devices at one time, and if only a part of the second devices connected to the first device needs to be activated, the method provided in the first embodiment cannot meet this requirement. To solve this problem, the present application proposes the following third embodiment.
And secondly, in the dormant state, the first device BMC and the second device CPLD are kept to supply power.
Referring to fig. 6, as shown in fig. 6, a third embodiment of the device management method according to the embodiment of the present application includes the following steps.
601. The first device obtains a shutdown command.
In this embodiment, this step may refer to step 501, which is not described herein again.
602. And the first device sends a shutdown command to all or part of the second devices through the first CPLD.
In this embodiment, the number of the second devices is multiple, where each of the second devices includes a second CPLD and a second BMC, and the first CPLD may send a shutdown command to all the second CPLDs so as to indicate that all the second devices are in a sleep state, and meanwhile, the first CPLD may also send a shutdown command to some second CPLDs among the multiple second CPLDs so as to indicate that some second devices are in a sleep state.
Further, if the shutdown command is from the third device, when the third device sends the shutdown command to the first device, the third device may also send a first range instruction, where the first range instruction is used to indicate which part of the second devices in the plurality of second devices needs to be hibernated, so that the first CPLD may send the shutdown command to part of the second CPLDs according to the first range instruction.
603. And the second device which acquires the shutdown instruction controls the second BMC to be powered off through the second CPLD.
In this embodiment, the second CPLD is used for communicating with the first CPLD of the first device, and after the first CPLD sends a shutdown command to the second CPLD, the second CPLD controls the second BMC to power down.
604. And the second equipment which acquires the shutdown instruction is controlled by the respective second control device to be powered off.
In this embodiment, the second BMC is responsible for controlling the power down of the entire second device, so when the second BMC receives a power down instruction, the second BMC controls the power down of the entire second device, and it should be noted that when the second device is powered down, the second CPLD maintains a power-up state for monitoring the power-on command sent by the first device.
605. The first device is powered down.
In this embodiment, the first device also enters the sleep state after the second device enters the sleep state, but when the first device is in the sleep state, the first BMC remains in the power-on state, thereby monitoring the power-on command. At this time, in the whole system, the number of the second devices may be one or more, wherein the first BMC of the first device maintains a power-on state and is configured to monitor a power-on command sent by the third device or the second device; the second CPLDs of the second devices are kept for monitoring the boot commands sent by the first CPLD, and because the operating energy consumption of the CPLDs is far lower than that of the BMC, compared with the mode that the second devices monitor through the BMC in the prior art, the mode provided by the third embodiment of the present application can still achieve the effect of energy saving.
Assuming that there are eight second devices in the system, according to the working mode in the prior art, each second device needs to turn on its own BMC to monitor the power-on command, and the power consumption of each BMC is 10W, the system in the hibernation state needs 80W to maintain the monitoring in the hibernation state. In the scheme, the eight second devices are connected in the first device, in the dormant state, only one first BMC of the first device is required to be in the monitoring state, the CPLDs of the eight second devices are in the monitoring state, the power consumption of each CPLD is 1W, at the moment, the system can maintain the monitoring of the system in the dormant state only by the power consumption of 18W, and therefore the energy consumption of the system in the dormant state is reduced.
606. The first device obtains a power-on command.
In this embodiment, the first device obtains the boot command through the first BMC in the hibernation state. The first BMC can acquire the starting command in two ways, wherein one way is the starting command sent by the remotely connected third equipment to the first BMC through the network; and the other is that after a local switch of the second device is started, the second device acquires a starting command from the local switch, activates the second CPLD and sends the starting command to the first BMC. At this time, the first BMC controls the first device to be powered on according to the starting command, so that the first CPLD is switched from a dormant state to an activated state.
607. And the first device sends a starting command to all or part of the second device through the first CPLD.
In this embodiment, the number of the second devices is multiple, where each of the second devices includes a second CPLD and a second BMC, and the first CPLD may send a shutdown command to all the second CPLDs, so as to activate all the second devices, and meanwhile, the first CPLD may also send a shutdown command to some second CPLDs in the multiple second CPLDs, so as to activate some second devices.
Further, if the power-on command is from the third device, when the third device sends the power-off command to the first device, the third device may also send a second range instruction, where the second range instruction is used to indicate which part of the second devices in the plurality of second devices needs to be activated, so that the first CPLD may send the power-on command to part of the second CPLDs according to the second range instruction.
608. And the second equipment receiving the starting command controls the second BMC to be electrified through the second CPLD.
In this embodiment, in the sleep state, the second CPLD still keeps monitoring, and when the second CPLD monitors the power-on command, the second BMC is controlled to be powered on.
609. And the second equipment receiving the starting-up command is controlled to be powered on by the second BMC.
In this embodiment, after the second BMC is powered on, the second device is controlled to be powered on according to the power-on instruction, so that activation of the second device is achieved.
In this embodiment, in the sleep state, the first device only keeps the first BMC and one device remains in the power-on state, the second CPLD of the second device remains in the power-on state, and all the other devices are powered off. The first BMC is used for monitoring a starting command, when the first BMC monitors the starting command, the first BMC activates the dormant first device, so that the first CPLD is powered on, and then the first CPLD sends the starting command to the monitoring second CPLD, so that the second CPLD can control the corresponding second BMC to be powered on, and the dormant second device is activated by the second BMC. Because the second CPLD has the capability of independently receiving the power-on command, the first device can control part of the second devices in the plurality of second devices to be activated from the dormant state, thereby realizing the accurate control of the device management.
Compared with the second embodiment, in the second embodiment, only one first BMC is kept in the power-on state in the sleep state, so that the energy consumption in the sleep state is lower; in the third embodiment, the first BMC and the second CPLD of each second device in the sleep state are in the power-on state, so that the first device can control the second device to be activated.
Further, the following describes in detail signaling transmission of the device management method in the hardware device according to the embodiment of the present application with reference to the drawings.
Referring to fig. 7, a specific application scenario architecture of the device management method provided in the embodiment of the present application is shown in fig. 7, and includes a management board 71 (i.e., the first device), a power supply device 707, and at least one cluster device 73 (i.e., the second device), where the cluster device 73 is connected to the management board 71 through an interface, the management board 71 includes a first CPLD701, and each cluster device 73 includes a second CPLD704 and a switch device 702.
Optionally, in the architecture shown in fig. 7, the first CPLD701 is connected to the switch device 702 through a first interface 703, and the switch device 702 is configured to send a switch signal to the first CPLD701 through the first interface 703, so as to implement any one of the above steps 301, 501, 508, 601, or 608. The first CPLD701 and the second CPLD704 are connected through a second interface 705 and a third interface 706, wherein the second CPLD704 sends the first feedback message to the first CPLD701 through the second interface 705, so that the first CPLD701 knows that the second device has successfully powered off according to the first feedback message; the third interface 706 is a Serial Gigabit Media Independent Interface (SGMII), and the first CPLD701 sends a shutdown command or a startup command to the second CPLD704 through the third interface 706.
Further, the first CPLD701 is connected to the power supply device 707 through a fourth interface 708, the fourth interface 708 may be a power supply-on interface (PSON), and the first CPLD701 sends the first instruction and the second instruction to the power supply device 707 through the fourth interface 708.
Optionally, the power supply device 707 is connected to the second CPLD704 through the fifth interface 709, the power supply device 707 detects an in-place signal sent by the second CPLD704 through the fifth interface 709, and simultaneously outputs a voltage to the second CPLD704 through the fifth interface 709, when the power supply device 707 cannot acquire the in-place signal through the fifth interface 709, it is described that a connected target second device is not in place, where the target second device is a second device that is not in place in the plurality of second devices, at this time, the power supply device 707 sends a notification message to the first CPLD701 through the sixth interface 710, where the notification message is used to notify the first device 71 that the current target second device is not in place, so that the first device 71 does not execute the device management method provided in the embodiment of the present application to the target second device.
Further, the architecture shown in fig. 7 further includes a standby management board 72 (standby first device 71), and the standby CPLD711 of the standby management board 72 is connected to the switch device 702 of the second device through the first interface 703, connected to the second CPLD704 through the second interface 705 and the third interface 706, and connected to the power supply device 707 through the fourth interface 708 and the sixth interface 710, like the first CPLD701 of the management board. The standby management board 72 and the management board are connected to each other and receive and transmit heartbeat signals in real time, when the heartbeat signals received by the standby management board 72 are abnormal, the standby management board 72 determines that the management board is abnormal in operation, at this time, the standby management board 72 replaces the management board to execute the device management method provided in the embodiment of the present application, and at this time, the standby management board 72 becomes the first device 71. Therefore, the device management method provided by the application is prevented from failing to work due to abnormal work of the management board, and the stability of the device is improved.
In the device management method provided in this embodiment, the second device is connected to the first device, and the first device manages the power state of the second device. When the first device acquires a shutdown command, the first device instructs the second device to power down, each part of the second device can be completely powered off in the power down state, the BMC module does not need to be started, and because the first device and the second device are connected through the interface, the second device in the dormant state can be directly activated through the interface when the first device acquires the startup command. Furthermore, the mode that the first device is connected with the second device through the interface can be applied to most devices in the prior art, and the device management method provided by the embodiment of the application can be realized by externally connecting the first device through the interface no matter whether the first device is a storage node, a computing node, a switch or a server, so that the device management method has better compatibility.
An embodiment of the present application provides an apparatus management method, including: the first equipment acquires an operation command; the first device is connected with the second device through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second device to be powered on, and the power-off command is used for indicating the second device to be powered off; and the first equipment operates the second equipment according to the operation command. The first device manages the power-on or power-off of the second device, so that the second device cannot generate extra energy consumption in the dormant state, the dormant energy consumption of the second device is reduced, and meanwhile, the energy consumption of the system in the dormant state cannot increase along with the increase of the number of the second devices.
An embodiment of the present application provides an apparatus management method, including: the second equipment acquires a shutdown command from the first equipment, and the first equipment is connected with the second equipment through an interface; powering off the second equipment; the second equipment sends a first feedback message to the first equipment, wherein the first feedback message is used for indicating that the second equipment is successfully powered off so that the first equipment indicates the power supply equipment to regulate the output first voltage into a second voltage, and the power supply equipment is used for supplying power to the second equipment; when the voltage that the second device acquires from the power supply device changes from the second voltage to the first voltage, the second device powers on. In this embodiment, the second device is completely powered off in the sleep state, and the first device activates the second device through a change in the output voltage of the power supply device, thereby reducing energy consumption of the second device in the sleep state.
An embodiment of the present application provides an apparatus management method, including: the second equipment acquires a shutdown command from the first equipment, and the first equipment is connected with the second equipment through an interface; powering off the second equipment; the second equipment acquires a starting-up command from the first equipment; the second device powers up. In this embodiment, the second device executes the power-on or power-off operation according to the power-on command or the power-off command sent by the first device, so that the first device can manage the standby state of the second device through the power-on command or the power-off command, thereby improving the convenience of device management.
Described in terms of hardware structures, the device management method may be implemented by one entity device, may also be implemented by multiple entity devices together, and may also be a logic function module in one entity device, which is not specifically limited in this embodiment of the present application.
For example, the device management method may be implemented by the electronic device in fig. 8. Fig. 8 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure; the electronic device may be the first device, the second device or the third device in the embodiment of the present invention, and the electronic device includes at least one processor 801, a communication line 802, a memory 803 and at least one communication interface 804.
The processor 801 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (server IC), or one or more ICs for controlling the execution of programs in accordance with the present invention.
The communication link 802 may include a path for transmitting information between the aforementioned components.
The communication interface 804 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc.
The memory 803 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication line 802. The memory may also be integral to the processor.
The memory 803 is used for storing computer-executable instructions for executing the present invention, and is controlled by the processor 801. The processor 801 is configured to execute computer-executable instructions stored in the memory 803, thereby implementing the method for billing management provided by the embodiments described below in the present application.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
In particular implementations, processor 801 may include one or more CPUs such as CPU0 and CPU1 in fig. 8, for example, as an example.
In particular implementations, an electronic device may include multiple processors, such as processor 801 and processor 805 in FIG. 8, for example, as an example. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In particular implementations, the electronic device may also include an output device 805 and an input device 806, as one embodiment. The output device 805 is in communication with the processor 801 and may display information in a variety of ways. For example, the output device 805 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, a Cathode Ray Tube (CRT) display device, a projector (projector), or the like. The input device 806 is in communication with the processor 801 and may receive user input in a variety of ways. For example, the input device 806 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
The electronic device may be a general-purpose device or a special-purpose device. In particular implementations, the electronic device may be a server, a wireless terminal device, an embedded device, or a device having a similar structure as in fig. 8. The embodiment of the application does not limit the type of the electronic equipment.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
For example, in a case that each functional unit is divided in an integrated manner, fig. 9 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
As shown in fig. 9, an electronic device provided in an embodiment of the present application includes:
an acquisition unit 901, the acquisition unit 901 being configured to acquire an operation command; the electronic equipment is connected with second equipment through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second equipment to be powered on, and the power-off command is used for indicating the second equipment to be powered off;
an operation unit 902, where the operation unit 902 is configured to operate the second device according to the operation command acquired by the acquisition unit 901.
Optionally, the obtaining unit 901 is configured to:
and the second equipment or the third equipment acquires the operation command, and the third equipment is remotely connected with the electronic equipment.
Optionally, when the operation command is a shutdown command, the operation unit 902 is further configured to:
the second device sends the shutdown command;
acquiring a first feedback message from the second equipment, wherein the first feedback message is used for indicating that the second equipment is successfully powered off;
and sending a first instruction to a power supply device, wherein the power supply device is used for supplying power to the second device, and the first instruction is used for instructing the power supply device to regulate the output first voltage to a second voltage.
Optionally, when the operation command is a power-on command, the operation unit 902 is further configured to:
and sending a second instruction to the power supply equipment, wherein the second instruction is used for instructing the power supply equipment to adjust the output second voltage to the first voltage, so that the second equipment is powered on after receiving the first voltage.
Optionally, when the operation command is a power-on command, the operation unit 902 is further configured to:
and sending the starting-up instruction to the second equipment so that the second equipment is powered on after receiving the starting-up instruction.
Optionally, the number of the second devices is plural.
Optionally, the electronic device includes a first control device, where the first control device is used to control the electronic device to power on or power off; the operation unit 902 is further configured to:
when the obtaining unit 901 obtains the power-on command, the electronic device is controlled to be powered on by the first control device;
when the obtaining unit 901 obtains the shutdown command, the electronic device is controlled to be powered off by the first control device, and when the electronic device is powered off, the first control device keeps a powered on state.
Further, fig. 10 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
As shown in fig. 10, an electronic device provided in an embodiment of the present application includes:
an obtaining unit 1001, where the obtaining unit 1001 is configured to obtain a shutdown command from a first device, and the first device is connected to the electronic device through an interface;
the power-down unit 1002, the power-down unit 1002 is used for controlling the electronic equipment to power down;
a sending unit 1003, where the sending unit 1003 is configured to send a first feedback message to the first device, where the first feedback message is used to indicate that the electronic device is successfully powered off, so that the first device instructs a power supply device to adjust an output first voltage to a second voltage, and the power supply device is used to supply power to the electronic device;
a power-on unit 1004, configured to control the electronic device to power on when the voltage obtained by the electronic device from the power supply device changes from the second voltage to the first voltage.
Optionally, the obtaining unit 1001 is further configured to: acquiring a starting command from a local switch;
the sending unit 1003 is further configured to send the power-on command to the first device, so that the first device instructs the power supply device to adjust the output voltage from the second voltage to the first voltage according to the power-on command.
Optionally, the second device comprises a second executing device and a second controlling device, and the power-down unit 1002 is configured to: controlling the second executing device and the second control device to be powered off;
when the voltage obtained by the electronic device from the power device changes from the second voltage to the first voltage, the power-on unit 1004 is further configured to:
when the voltage acquired by the second execution device from the power supply equipment is changed from a second voltage to a first voltage, controlling the second execution device to be powered on;
controlling the second control device to be powered on through the second execution device;
and controlling the electronic equipment to be powered on through the second control device.
Further, fig. 11 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
As shown in fig. 11, an electronic device provided in an embodiment of the present application includes:
an obtaining unit 1101, where the obtaining unit 1101 is configured to obtain a shutdown command from a first device, where the first device is connected to the electronic device through an interface;
a power-down unit 1102, wherein the power-down unit 1102 is used for controlling the electronic equipment to power down;
the obtaining unit 1101 is further configured to obtain a power-on command from the first device;
a power-on unit 1103, where the power-on unit 1103 is used to control the electronic device to power on.
Optionally, the electronic device comprises a second executing device and a second controlling device; the obtaining unit 1101 is further configured to:
obtaining the shutdown command through the second execution device;
the power down unit 1102 is further configured to:
controlling the second control device to power down through the second execution device;
the electronic equipment is controlled by the second control device to be powered off, and when the electronic equipment is powered off, the second execution device keeps a powered-on state.
Optionally, the obtaining unit 1101 is further configured to:
acquiring the starting command from the first equipment through the second execution device;
the power-on unit 1103 is further configured to:
controlling the second control device to be powered on through a second execution device;
the second control device controls the power-on.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed communication method, relay device, host base station, and computer storage medium may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes 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.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (22)

1. A device management method, comprising:
the first equipment acquires an operation command; the first device is connected with a second device through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second device to be powered on, and the power-off command is used for indicating the second device to be powered off;
and the first equipment operates the second equipment according to the operation command.
2. The method of claim 1, wherein the first device obtaining an operation command comprises:
the first device acquires the operation command from the second device or a third device, and the third device is remotely connected with the first device.
3. The method according to claim 1 or 2, wherein when the operation command is a shutdown command, the first device operating the second device according to the operation command comprises:
the first device sends the shutdown command to the second device;
the first equipment acquires a first feedback message from the second equipment, wherein the first feedback message is used for indicating that the second equipment is powered off successfully;
the first device sends a first instruction to a power supply device, the power supply device is used for supplying power to the second device, and the first instruction is used for instructing the power supply device to adjust the output first voltage to a second voltage.
4. The method according to claim 3, wherein when the operation command is a power-on command, the first device operating the second device according to the operation command comprises:
the first device sends a second instruction to the power supply device, wherein the second instruction is used for instructing the power supply device to adjust the output second voltage to the first voltage, so that the second device is powered on after receiving the first voltage.
5. The method of claim 1, wherein when the operation command is a power-on command, the first device operating the second device according to the operation command comprises:
and the first equipment sends the starting-up instruction to the second equipment so that the second equipment is powered on after receiving the starting-up instruction.
6. The method according to any one of claims 1 to 5, wherein the number of the second devices is plural.
7. The method according to any one of claims 1 to 6, wherein the first device comprises a first control means for controlling the first device to power up or power down; before the first device controls the second device to be powered on, the method further includes:
when the first equipment acquires the starting-up command, the first control device controls the first equipment to be powered on;
when the first device acquires the shutdown command, the first control device controls the first device to power off, and when the first device powers off, the first control device keeps a power-on state.
8. A device management method, comprising:
the method comprises the steps that a second device obtains a shutdown command from a first device, and the first device is connected with the second device through an interface;
powering off the second equipment;
the second device sends a first feedback message to the first device, wherein the first feedback message is used for indicating that the second device is successfully powered down, so that the first device instructs a power supply device to regulate the output first voltage to a second voltage, and the power supply device is used for supplying power to the second device;
when the voltage acquired by the second device from the power supply device changes from the second voltage to the first voltage, the second device powers up.
9. The method of claim 8, wherein after powering down the second device, further comprising:
the second equipment acquires a starting-up command from a local switch;
and the second equipment sends the starting-up command to the first equipment, so that the first equipment instructs the power supply equipment to regulate the output voltage from the second voltage to the first voltage according to the starting-up command.
10. The method according to claim 8 or 9, wherein the second device comprises a second execution device and a second control device, and the powering down of the second apparatus comprises: the second executing device and the second control device are powered off;
when the voltage obtained by the second device from the power supply device is changed from the second voltage to the first voltage, the powering on of the second device comprises:
when the voltage acquired by the second execution device from the power supply equipment is changed from a second voltage to a first voltage, the second execution device is powered on;
the second execution device controls the second control device to be powered on;
and the second control device controls the second equipment to be powered on.
11. A device management method, comprising:
the method comprises the steps that a second device obtains a shutdown command from a first device, and the first device is connected with the second device through an interface;
powering off the second equipment;
the second equipment acquires a starting-up command from the first equipment;
the second device is powered on.
12. The method of claim 11, wherein the second device comprises a second execution means and a second control means; the second device obtaining a shutdown command from the first device, including:
the second equipment acquires the shutdown command through the second execution device;
the second device controls the second control device to be powered down through the second execution device;
the second equipment is controlled by the second control device to be powered off, and when the second equipment is powered off, the second execution device keeps a powered-on state.
13. The method of claim 11 or 12, wherein the second device obtaining the power-on command from the first device comprises:
the second equipment acquires the starting-up command from the first equipment through the second execution device;
the second device is powered on and comprises:
the second equipment controls the second control device to be powered on through a second execution device;
the second device is controlled to be powered up by the second control device.
14. An electronic device, comprising:
the electronic equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an operation command, the electronic equipment is connected with second equipment through an interface, the operation command comprises a power-on command or a power-off command, the power-on command is used for indicating the second equipment to be powered on, and the power-off command is used for indicating the second equipment to be powered off;
and the operating unit is used for operating the second equipment according to the operating command acquired by the acquiring unit.
15. An electronic device, comprising:
the system comprises an acquisition unit, a control unit and a processing unit, wherein the acquisition unit is used for acquiring a shutdown command from first equipment, and the first equipment is connected with the electronic equipment through an interface;
the power-down unit is used for controlling the electronic equipment to be powered down;
a sending unit, configured to send a first feedback message to the first device, where the first feedback message is used to indicate that the electronic device is powered off successfully, so that the first device instructs a power supply device to adjust an output first voltage to a second voltage, and the power supply device is used to supply power to the electronic device;
and the power-on unit is used for controlling the electronic equipment to be powered on when the voltage acquired by the electronic equipment from the power supply equipment is changed from a second voltage to a first voltage.
16. An electronic device, comprising:
the system comprises an acquisition unit, a control unit and a processing unit, wherein the acquisition unit is used for acquiring a shutdown command from first equipment, and the first equipment is connected with the electronic equipment through an interface;
the power-down unit is used for controlling the electronic equipment to be powered down;
the obtaining unit is further configured to obtain a power-on command from the first device;
and the power-on unit is used for controlling the electronic equipment to be powered on.
17. An electronic device, characterized in that the electronic device comprises: an interaction device, an input/output (I/O) interface, a processor, and a memory having program instructions stored therein;
the interaction device is used for acquiring an operation instruction input by a user;
the processor is configured to execute program instructions stored in the memory to perform the method of any of claims 1-7.
18. An electronic device, characterized in that the electronic device comprises: an interaction device, an input/output (I/O) interface, a processor, and a memory having program instructions stored therein;
the interaction device is used for acquiring an operation instruction input by a user;
the processor is configured to execute program instructions stored in the memory to perform the method of any of claims 8-10.
19. An electronic device, characterized in that the electronic device comprises: an interaction device, an input/output (I/O) interface, a processor, and a memory having program instructions stored therein;
the interaction device is used for acquiring an operation instruction input by a user;
the processor is configured to execute program instructions stored in the memory to perform the method of any of claims 11-13.
20. A computer-readable storage medium comprising instructions that, when executed on a computer device, cause the computer device to perform the method of any of claims 1-7.
21. A computer-readable storage medium comprising instructions that, when executed on a computer device, cause the computer device to perform the method of any of claims 8-10.
22. A computer-readable storage medium comprising instructions that, when executed on a computer device, cause the computer device to perform the method of any of claims 11-13.
CN202010578998.9A 2020-06-23 2020-06-23 Equipment management method, equipment and medium Pending CN113835516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010578998.9A CN113835516A (en) 2020-06-23 2020-06-23 Equipment management method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010578998.9A CN113835516A (en) 2020-06-23 2020-06-23 Equipment management method, equipment and medium

Publications (1)

Publication Number Publication Date
CN113835516A true CN113835516A (en) 2021-12-24

Family

ID=78963802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010578998.9A Pending CN113835516A (en) 2020-06-23 2020-06-23 Equipment management method, equipment and medium

Country Status (1)

Country Link
CN (1) CN113835516A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936044A (en) * 2022-06-15 2022-08-23 北京东土科技股份有限公司 Computing equipment and awakening method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936044A (en) * 2022-06-15 2022-08-23 北京东土科技股份有限公司 Computing equipment and awakening method thereof

Similar Documents

Publication Publication Date Title
US10261572B2 (en) Technologies for managing power during an activation cycle
US8977880B2 (en) Method for managing power supply of multi-core processor system involves powering off main and slave cores when master bus is in idle state
US9703357B2 (en) Power management method and apparatus, and power supply system
US9588571B2 (en) Dynamic power supply management
US5560022A (en) Power management coordinator system and interface
KR101519082B1 (en) Sleep processor
CN111488048B (en) Power supply management method and system
US20060242438A1 (en) Multiple computer equipment and management method thereof
KR20160091065A (en) SoC, METHOD FOR MANAGING POWER OF THEREOF AND ELECTRONIC DEVICE
US9037878B2 (en) Server rack system
JP2008083841A (en) Blade server, blade device, and power management method for blade server
US10394307B2 (en) Information processing apparatus, information processing method, and program
TW201430541A (en) Power management circuit, server and power management method thereof
CN113835516A (en) Equipment management method, equipment and medium
CN105549723A (en) Electricity saving control method and device of server, and energy-saving control device of electronic equipment
US10649515B2 (en) Power management of computing and communications systems during power fluctuation and sudden power failure events
CN108495361B (en) Electronic tag, data exchange host and electronic tag system
US10860076B2 (en) Computer system, client device and display device
CN115237684A (en) Power supply system and data center of multi-node server
CN115442355A (en) Remote device control system, method, electronic apparatus, and storage medium
CN109976490B (en) Power supply control method and electronic equipment
CN111381659A (en) Computer system and power management method
CN113342572B (en) Automatic watchdog overloading system, method, equipment and storage medium
JP5483465B2 (en) Computer system and power saving control method
CN215494926U (en) Storage device, hardware cluster, server and server cluster

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