CN113325940A - Power consumption control method, system, terminal and storage medium of intelligent device - Google Patents
Power consumption control method, system, terminal and storage medium of intelligent device Download PDFInfo
- Publication number
- CN113325940A CN113325940A CN202110597742.7A CN202110597742A CN113325940A CN 113325940 A CN113325940 A CN 113325940A CN 202110597742 A CN202110597742 A CN 202110597742A CN 113325940 A CN113325940 A CN 113325940A
- Authority
- CN
- China
- Prior art keywords
- intelligent equipment
- sending
- target
- signal
- target intelligent
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000012544 monitoring process Methods 0.000 claims abstract description 40
- 239000000758 substrate Substances 0.000 claims abstract description 36
- 230000005540 biological transmission Effects 0.000 claims description 18
- 238000012795 verification Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 3
- 238000004134 energy conservation Methods 0.000 abstract description 8
- 230000009467 reduction Effects 0.000 abstract description 8
- 230000000694 effects Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Power Sources (AREA)
Abstract
The invention provides a method, a system, a terminal and a storage medium for managing and controlling power consumption of intelligent equipment, wherein the method comprises the following steps: acquiring identity information of the identified intelligent equipment; judging whether the identity information of the target intelligent equipment is in a pre-stored white list: if so, sending a signal for supplying power to the target intelligent equipment to a power supply manager, and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller; and if not, sending a signal which does not supply power for the target intelligent equipment to the power supply manager, and sending a signal for stopping monitoring the intelligent equipment to the substrate management controller. The invention avoids the idling of intelligent equipment which is not in a system white list, greatly reduces the total power consumption of the server and achieves the effects of energy conservation and emission reduction.
Description
Technical Field
The invention relates to the technical field of servers, in particular to a power consumption control method, a power consumption control system, a power consumption control terminal and a storage medium of intelligent equipment.
Background
With the rapid development of information technology and the landing of cloud computing and the internet of things, users have higher requirements on the reliability and the information processing capacity of the server. Compared with the traditional server, the new generation server has great advantages in computing performance and reliability compared with the traditional server, and is more and more widely applied in the field with strict requirements on real-time performance, reliability and usability, so that the new generation server has higher requirements on network services, intelligent storage and the like. Therefore, according to different service requirements, various types of intelligent devices are generated, such as an OCP (Open Computing Project) network card, a PCIE (peripheral component interconnect express) network card, a raid (redundant Arrays of Independent disks) card, and the like.
Most smart device supported media types that computer systems currently support MCTP out-of-band management are PCIe and SMBus. And the SMBus is widely applied with the advantages of simplicity, convenience and the like. The MCTP Over SMBus transmission binding specification defines a communication protocol between intelligent devices based on an SMBus link and the like based on an SMBus Block Write bus protocol. A computer system combined with a Baseboard Management Controller (Baseboard Management Controller) is communicated with a managed device through an out-of-band SMBus physical channel by the Baseboard Management Controller, and assumes the role of monitoring the hardware of the computer system.
The power consumption of these smart devices typically ranges from 25W to 400W, and since they run continuously for 24 hours in a data center, the amount of heat and power consumption is conceivable. By utilizing the hardware monitoring function of the computer system, the power consumption of the intelligent equipment is reduced on the premise of not influencing the normal operation of the system, so that the intelligent equipment has great significance for energy conservation and emission reduction of a data center.
The existing intelligent equipment supervision method is divided into two parts:
1. the baseboard management controller is used as a master, and related information of the PCIe Device, including in-place state, Device measuring point temperature, power state, software configuration information and the like, is obtained through the SMBus.
2. The CPLD detects whether the PCIe Device is in place or not through the Present signal, and if so, the CPLD pulls up the enable signal to enable the VR Controller to start working and provide the PCIe Device with a power supply of P12V; if the PCIe Device is not in place, the enable signal is pulled low, the VR Controller is not active, and no P12V power supply is available.
Information cannot be shared because of incomplete coupling of the two monitoring parts. If the PCIe Device is not in the white list of the system configuration, the Present signal of the PCIe Device is still low (the signal is active low), that is, the CPLD still pulls up the enable signal at this time, so as to enable the VR Controller to normally supply power to the PCIe Device, and as a result, a large amount of energy is consumed, and a lot of heat is generated. Meanwhile, the information communication between the baseboard management controller and the equipment cannot be cut off, and huge hidden danger is caused to the information safety of the system.
Disclosure of Invention
In view of the above deficiencies in the prior art, the present invention provides a method, a system, a terminal and a storage medium for managing and controlling power consumption of an intelligent device, so as to solve the technical problem that a large amount of power consumption is still generated when the intelligent device of the server is detected by a CPLD to be not in a device white list during the system operation process.
In a first aspect, the present invention provides a power consumption control method for an intelligent device, including:
acquiring identity information of the identified intelligent equipment;
judging whether the identity information of the target intelligent equipment is in a pre-stored white list:
if so, sending a signal for supplying power to the target intelligent equipment to a power supply manager, and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller;
and if not, sending a signal which does not supply power for the target intelligent equipment to the power supply manager, and sending a signal for stopping monitoring the intelligent equipment to the substrate management controller.
Further, acquiring the identity information of the identified smart device includes:
storing the identified names of the intelligent devices to an identified list;
taking the plurality of intelligent devices in the identified list as target intelligent devices;
sending configuration information to a target intelligent device through a system management bus based on a management component transmission protocol;
and receiving frame data returned by the target intelligent equipment, and taking the frame data as the identity information of the target intelligent equipment, wherein the target intelligent equipment reads the frame data from a register through a management component transmission protocol according to the configuration information.
Further, the method for the target intelligent device to read the frame data from the register according to the configuration information through the management component transmission protocol includes:
and the management component transmission protocol reads frame data needing to be sent from a register of the target intelligent equipment according to the configuration information, verifies the frame data, converts the frame data passing the verification into sending data meeting the sending format requirement and sends the sending data.
Further, determining whether the identity information of the target smart device is in a pre-stored white list includes:
monitoring the update condition of a system white list;
storing the white list of the latest version to the local;
identity information of the target smart device is retrieved from a local white list using a keyword lookup function.
Further, sending a signal for supplying power to the target intelligent device to a power manager, and sending a signal for triggering monitoring of the intelligent device to a baseboard management controller, includes:
sending a high enable signal of the target intelligent device to a power manager;
and sending a distinguishing signal that the target intelligent equipment belongs to a white list to a substrate management controller, and enabling the substrate management controller to open a system management bus monitoring link with the target intelligent equipment.
Further, sending a signal not supplying power to the target intelligent device to the power manager, and sending a signal stopping monitoring the intelligent device to the baseboard management controller, includes:
sending a low enable signal of the target smart device to a power manager;
and sending a judging signal that the target intelligent equipment does not belong to the white list to a substrate management controller, and enabling the substrate management controller to close a system management bus monitoring link with the target intelligent equipment.
In a second aspect, the present invention provides a power consumption management and control system for an intelligent device, including:
the identity acquisition unit is used for acquiring the identity information of the identified intelligent equipment;
the identity verification unit is used for judging whether the identity information of the target intelligent equipment is in a pre-stored white list or not;
the power supply control unit is used for sending a signal for supplying power to the target intelligent equipment to a power supply manager and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller if the identity information of the target intelligent equipment is in a pre-stored white list;
and the power-off control unit is used for sending a signal which does not supply power for the target intelligent equipment to the power manager and sending a signal which stops monitoring the intelligent equipment to the substrate management controller if the identity information of the target intelligent equipment is not in the pre-stored white list.
Further, the identity acquiring unit includes:
the identification summarizing module is used for storing the identified intelligent equipment names to an identified list;
the target selection module is used for taking the plurality of intelligent devices in the identified list as target intelligent devices;
the information sending module is used for sending configuration information to the target intelligent equipment through a system management bus based on a management component transmission protocol;
and the data receiving module is used for receiving frame data returned by the target intelligent equipment, taking the frame data as the identity information of the target intelligent equipment, and reading the frame data from the register by the target intelligent equipment through a management component transmission protocol according to the configuration information.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the power consumption control method of the intelligent equipment, whether power is supplied to the intelligent equipment is judged by obtaining the identity information of the intelligent equipment and carrying out white list verification on the identity information, the judgment result is sent to the substrate management controller, and the substrate management controller opens or closes a system management bus monitoring link of the intelligent equipment according to the judgment result, so that the intelligent equipment which is not in a system white list is prevented from idling, the overall power consumption of a server is greatly reduced, and the effects of energy conservation and emission reduction are achieved.
The power consumption control system of the intelligent equipment provided by the invention acquires the identity information of the identified intelligent equipment through the identity acquisition unit, and then judges whether the identity information of the target intelligent equipment is in a pre-stored white list through the identity verification unit; if the identity information of the target intelligent equipment is in a pre-stored white list, the power supply control unit sends a signal for supplying power to the target intelligent equipment to a power supply manager, and sends a signal for triggering monitoring of the intelligent equipment to a substrate management controller; and if the identity information of the target intelligent equipment is not in the pre-stored white list, the power-off control unit sends a signal which does not supply power to the target intelligent equipment to the power supply manager, and sends a signal which stops monitoring the intelligent equipment to the substrate management controller. The system avoids idling of intelligent equipment which is not in a system white list, greatly reduces the total power consumption of the server, and achieves the effects of energy conservation and emission reduction.
According to the terminal for executing the power consumption management and control method of the intelligent equipment, whether power is supplied to the intelligent equipment is judged by obtaining the identity information of the intelligent equipment and carrying out white list verification on the identity information, meanwhile, the judgment result is sent to the substrate management controller, and the substrate management controller opens or closes a system management bus monitoring link of the intelligent equipment according to the judgment result, so that the intelligent equipment which is not in a system white list is prevented from idling, the overall power consumption of a server is greatly reduced, and the effects of energy conservation and emission reduction are achieved.
The storage medium stores a program capable of executing the power consumption management and control method of the intelligent equipment, judges whether to supply power to the intelligent equipment or not by acquiring the identity information of the intelligent equipment and performing white list verification on the identity information, and simultaneously sends the judgment result to the substrate management controller, and the substrate management controller opens or closes a system management bus monitoring link of the intelligent equipment according to the judgment result, so that the intelligent equipment which is not in a system white list is prevented from idling, the total power consumption of a server is greatly reduced, and the effects of energy conservation and emission reduction are achieved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
Fig. 2 is a schematic and schematic diagram of a method of one embodiment of the present invention.
FIG. 3 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and 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 invention.
The following explains key terms appearing in the present invention.
PCIe belongs to high-speed serial point-to-point double-channel high-bandwidth transmission, connected devices distribute independent channel bandwidth and do not share bus bandwidth, and the PCIe mainly supports functions of active power management, error reporting, end-to-end reliable transmission, hot plug, quality of service (QOS) and the like.
SMBus, system management bus.
MCTP (Management Component Transport Protocol) is a "data link layer" Protocol established on a physical layer basis and independent of mutual communication between intelligent devices in computers of various media, and facilitates platform Management developers to rapidly and economically develop and deploy platform Management subsystems accessible to CIM (Common Information Model). MCTP defines a transport layer protocol independent of the physical medium, the link layer is defined in the serial MCTP binding protocol, and the supported physical medium types include: PCIe, SMBus, USB (Universal Serial Bus), BT (Block Transfer), KCS (Keyboard Controller Style), and the like. The MCTP controller data receiving and transmitting control method is mainly characterized in that: judging whether the configuration information sent by the processor is received: and if the configuration information is received, reading frame data needing to be sent from a register according to the configuration information, verifying the frame data, and converting the frame data passing the verification into sending data meeting the sending format requirement for sending operation.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a power consumption management and control system of an intelligent device.
As shown in fig. 1, the method includes:
and 140, if not, sending a signal which does not supply power to the target intelligent equipment to the power supply manager, and sending a signal for stopping monitoring the intelligent equipment to the substrate management controller.
In order to facilitate understanding of the present invention, the power consumption management and control method of the intelligent device provided by the present invention is further described below with reference to the principle of the power consumption management and control method of the intelligent device of the present invention and in combination with the process of performing power consumption management and control on the intelligent device in the embodiment.
Referring to fig. 2, the CPLD is used as a carrier of a power consumption management and control method of the intelligent device, the CPLD is connected to the intelligent device at the PCIe end through the SMBus0, and is connected to the baseboard management controller through the SMBus1, and the baseboard management controller is connected to the intelligent device through the SMBus 2. Because the PCIe end is provided with a plurality of communication links and can be connected with a plurality of intelligent devices, the CPLD and the baseboard management controller are both connected with the plurality of intelligent devices. The power consumption control method of the intelligent equipment comprises the following steps:
and the CPLD is used as a master, and sends configuration information to the PCIe Device through the SMBus0, and the PCIe Device reads frame data needing to be sent from the register, verifies the frame data, converts the frame data passing the verification into sending data meeting the sending format requirement and sends the sending data. The CPLD judges whether the PCIe Device is in a white list of the system or not according to the received data; then, the CPLD is used as a master, and the judgment result of the previous step is sent to the substrate management controller through the SMBus 1; and the baseboard management controller determines to open or close the SMBus2 communicated with the PCIe Device information according to the judgment result.
When the CPLD detects that the PCIe Device is in place, namely the Present signal is pulled down, the CPLD pulls up the enable signal to enable the VR Controller, so that the normal working power consumption of the PCIe Device is ensured, and the PCIe Device enters a normal working state.
In the embodiment, an MCTP protocol is used as a support, a CPLD is used as a master, configuration information is sent to a PCIe Device through an SMBus0, the PCIe Device reads frame data needing to be sent from a register, checks the frame data, and converts the frame data passing the checking into sending data meeting the sending format requirement to send. The CPLD judges whether the PCIe Device is in a white list of the system or not according to the received data;
then, the CPLD is used as a master, and the judgment result of the previous step is sent to the substrate management controller through the SMBus 1; unlike the conventional thought MCTP, the CPLD determines the level of the enable signal, i.e., the switch of the VR Controller, according to the determination result. If the PCIe Device is in a white list of the system, continuously raising enable, enabling a VR Controller and ensuring the normal working power consumption of the PCIe Device; and if the PCIe Device is not in the white list of the system, pulling down the enable, closing the VR Controller, and cutting off the power consumption of the normal work of the PCIe Device.
And finally, the baseboard management controller is used as a master, and if the judgment result received from the CPLD is as follows: the PCIe Device is in a white list of the system equipment, and carries out data communication with the PCIe Device through the SMBus 2; if the judgment result received from the CPLD is: the PCIe Device is not in the white list of the system Device, at the moment, the VR Controller is in a closed state, the PCIe Device is powered off, and the baseboard management Controller cannot perform data communication with the PCIe Device through the SMBus2, so that the safety of system data is guaranteed.
Specifically, the power consumption control method of the intelligent device comprises the following steps:
and S1, acquiring the identity information of the identified intelligent device.
First, the CPLD saves the identified smart device name to an identified list, at which point the default CPLD can identify all smart devices. A plurality of intelligent devices in the identified list are used as target intelligent devices, and the mode of multi-target simultaneous control is adopted, so that the supervision efficiency can be improved.
Sending configuration information to a target intelligent device through a system management bus based on a management component transmission protocol; and receiving frame data returned by the target intelligent equipment, taking the frame data as the identity information of the target intelligent equipment, and reading the frame data from the register by the target intelligent equipment through the management component transmission protocol according to the configuration information.
In other embodiments of the present invention, the ID of the smart device may also be collected through a script.
And S2, judging whether the identity information of the target intelligent device is in a pre-stored white list.
Creating a monitoring process for regularly monitoring the updating condition of a system white list; once the white list is found to be updated, the white list of the latest version is synchronously updated to the local (the storage module of the CPLD); and searching the identity information of the target intelligent equipment from the local white list by using a keyword searching function, and if the identity information can be searched, indicating that the target intelligent equipment is in the white list.
And S3, performing power consumption management and control according to the identity judgment result. If so, sending a signal for supplying power to the target intelligent equipment to a power supply manager, and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller; and if not, sending a signal which does not supply power for the target intelligent equipment to the power supply manager, and sending a signal for stopping monitoring the intelligent equipment to the substrate management controller.
Specifically, the CPLD determines the level of the enable signal, that is, the switch of the VR Controller, according to the white list determination result. If the intelligent equipment is in a white list of the system, continuously pulling up an enable signal corresponding to the intelligent equipment (each intelligent equipment corresponds to an own enable signal in the VR Controller, so that independent control over each intelligent equipment can be realized), enabling the VR Controller and ensuring the normal working power consumption of the intelligent equipment; and if the intelligent equipment is not in the white list of the system, lowering enable, closing the VR Controller, and cutting off the power consumption of the normal work of the intelligent equipment.
The CPLD sends the white list to the baseboard management controller, the baseboard management controller is used as a master, if the judgment result received from the CPLD is: the intelligent device is in a white list of the system device, and the intelligent device is monitored through a system management bus monitoring link; if the judgment result received from the CPLD is: the intelligent device is not in the white list of the system device, and the baseboard management controller closes a system management bus monitoring link with the target intelligent device.
According to the power consumption control method of the intelligent device, whether power is supplied to the intelligent device is judged by obtaining the identity information of the intelligent device and performing white list verification on the identity information, the judgment result is sent to the substrate management controller, and the substrate management controller opens or closes a system management bus monitoring link of the intelligent device according to the judgment result, so that the intelligent device which is not in a system white list is prevented from idling, the overall power consumption of a server is greatly reduced, and the effects of energy conservation and emission reduction are achieved.
As shown in fig. 3, the system 300 includes:
an identity obtaining unit 310, configured to obtain identity information of the identified smart device;
the identity verification unit 320 is configured to determine whether the identity information of the target intelligent device is in a pre-stored white list;
the power supply control unit 330 is configured to send a signal for supplying power to the target intelligent device to a power manager if the identity information of the target intelligent device is in a pre-stored white list, and send a signal for triggering monitoring of the intelligent device to a baseboard management controller;
and the power-off control unit 340 is configured to send a signal that does not supply power to the target intelligent device to the power manager if the identity information of the target intelligent device is not in the pre-stored white list, and send a signal that stops monitoring the intelligent device to the baseboard management controller.
Optionally, as an embodiment of the present invention, the identity obtaining unit includes:
the identification summarizing module is used for storing the identified intelligent equipment names to an identified list;
the target selection module is used for taking the plurality of intelligent devices in the identified list as target intelligent devices;
the information sending module is used for sending configuration information to the target intelligent equipment through a system management bus based on a management component transmission protocol;
and the data receiving module is used for receiving frame data returned by the target intelligent equipment, taking the frame data as the identity information of the target intelligent equipment, and reading the frame data from the register by the target intelligent equipment through a management component transmission protocol according to the configuration information.
Fig. 4 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention, where the terminal 400 may be used to execute the power consumption management and control method of an intelligent device according to the embodiment of the present invention.
Among them, the terminal 400 may include: a processor 410, a memory 420, and a communication unit 430. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 420 may be used for storing instructions executed by the processor 410, and the memory 420 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 420, when executed by processor 410, enable terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 410 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 430, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the identity information of the intelligent device is acquired and subjected to white list verification, whether power is supplied to the intelligent device is judged, the judgment result is sent to the substrate management controller, and the substrate management controller opens or closes the system management bus monitoring link of the intelligent device according to the judgment result, so that the intelligent device which is not in the system white list is prevented from idling, the overall power consumption of the server is greatly reduced, and the effects of energy conservation and emission reduction are achieved.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional 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, systems 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 invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A power consumption control method of an intelligent device is characterized by comprising the following steps:
acquiring identity information of the identified intelligent equipment;
judging whether the identity information of the target intelligent equipment is in a pre-stored white list:
if so, sending a signal for supplying power to the target intelligent equipment to a power supply manager, and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller;
and if not, sending a signal which does not supply power for the target intelligent equipment to the power supply manager, and sending a signal for stopping monitoring the intelligent equipment to the substrate management controller.
2. The method of claim 1, wherein obtaining identity information of the identified smart device comprises:
storing the identified names of the intelligent devices to an identified list;
taking the plurality of intelligent devices in the identified list as target intelligent devices;
sending configuration information to a target intelligent device through a system management bus based on a management component transmission protocol;
and receiving frame data returned by the target intelligent equipment, and taking the frame data as the identity information of the target intelligent equipment, wherein the target intelligent equipment reads the frame data from a register through a management component transmission protocol according to the configuration information.
3. The method of claim 2, wherein the method for the target smart device to read the frame data from the register according to the configuration information via the management component transport protocol comprises:
and the management component transmission protocol reads frame data needing to be sent from a register of the target intelligent equipment according to the configuration information, verifies the frame data, converts the frame data passing the verification into sending data meeting the sending format requirement and sends the sending data.
4. The method of claim 1, wherein determining whether the identity information of the target smart device is in a pre-stored white list comprises:
monitoring the update condition of a system white list;
storing the white list of the latest version to the local;
identity information of the target smart device is retrieved from a local white list using a keyword lookup function.
5. The method of claim 1, wherein sending a signal to a power manager to power the target smart device and sending a signal to a baseboard management controller to trigger monitoring of the smart device comprises:
sending a high enable signal of the target intelligent device to a power manager;
and sending a distinguishing signal that the target intelligent equipment belongs to a white list to a substrate management controller, and enabling the substrate management controller to open a system management bus monitoring link with the target intelligent equipment.
6. The method of claim 1, wherein sending a signal to a power manager to not power a target smart device and sending a signal to a baseboard management controller to stop monitoring the smart device comprises:
sending a low enable signal of the target smart device to a power manager;
and sending a judging signal that the target intelligent equipment does not belong to the white list to a substrate management controller, and enabling the substrate management controller to close a system management bus monitoring link with the target intelligent equipment.
7. The utility model provides a power consumption management and control system of smart machine which characterized in that includes:
the identity acquisition unit is used for acquiring the identity information of the identified intelligent equipment;
the identity verification unit is used for judging whether the identity information of the target intelligent equipment is in a pre-stored white list or not;
the power supply control unit is used for sending a signal for supplying power to the target intelligent equipment to a power supply manager and sending a signal for triggering monitoring of the intelligent equipment to a substrate management controller if the identity information of the target intelligent equipment is in a pre-stored white list;
and the power-off control unit is used for sending a signal which does not supply power for the target intelligent equipment to the power manager and sending a signal which stops monitoring the intelligent equipment to the substrate management controller if the identity information of the target intelligent equipment is not in the pre-stored white list.
8. The system of claim 7, wherein the identity acquisition unit comprises:
the identification summarizing module is used for storing the identified intelligent equipment names to an identified list;
the target selection module is used for taking the plurality of intelligent devices in the identified list as target intelligent devices;
the information sending module is used for sending configuration information to the target intelligent equipment through a system management bus based on a management component transmission protocol;
and the data receiving module is used for receiving frame data returned by the target intelligent equipment, taking the frame data as the identity information of the target intelligent equipment, and reading the frame data from the register by the target intelligent equipment through a management component transmission protocol according to the configuration information.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597742.7A CN113325940A (en) | 2021-05-31 | 2021-05-31 | Power consumption control method, system, terminal and storage medium of intelligent device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110597742.7A CN113325940A (en) | 2021-05-31 | 2021-05-31 | Power consumption control method, system, terminal and storage medium of intelligent device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113325940A true CN113325940A (en) | 2021-08-31 |
Family
ID=77422531
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110597742.7A Pending CN113325940A (en) | 2021-05-31 | 2021-05-31 | Power consumption control method, system, terminal and storage medium of intelligent device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113325940A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113970915A (en) * | 2021-09-30 | 2022-01-25 | 武汉小安科技有限公司 | Configuration method and device of intelligent central control equipment, electronic equipment and storage medium |
CN115033172A (en) * | 2022-04-30 | 2022-09-09 | 苏州浪潮智能科技有限公司 | Storage module control method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101441506A (en) * | 2007-11-20 | 2009-05-27 | 中兴通讯股份有限公司 | Blade server system and power consumption management method thereof |
US20120317425A1 (en) * | 2011-06-13 | 2012-12-13 | Hon Hai Precision Industry Co., Ltd. | Power supply control system and method |
CN106557394A (en) * | 2015-09-24 | 2017-04-05 | 鸿富锦精密工业(深圳)有限公司 | Server control system and method |
CN110045923A (en) * | 2019-02-25 | 2019-07-23 | 联想企业解决方案(新加坡)有限公司 | Server and method for identifying unsupported storage device in server |
-
2021
- 2021-05-31 CN CN202110597742.7A patent/CN113325940A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101441506A (en) * | 2007-11-20 | 2009-05-27 | 中兴通讯股份有限公司 | Blade server system and power consumption management method thereof |
US20120317425A1 (en) * | 2011-06-13 | 2012-12-13 | Hon Hai Precision Industry Co., Ltd. | Power supply control system and method |
CN102833083A (en) * | 2011-06-13 | 2012-12-19 | 鸿富锦精密工业(深圳)有限公司 | Data center power supply device control system and method |
CN106557394A (en) * | 2015-09-24 | 2017-04-05 | 鸿富锦精密工业(深圳)有限公司 | Server control system and method |
CN110045923A (en) * | 2019-02-25 | 2019-07-23 | 联想企业解决方案(新加坡)有限公司 | Server and method for identifying unsupported storage device in server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113970915A (en) * | 2021-09-30 | 2022-01-25 | 武汉小安科技有限公司 | Configuration method and device of intelligent central control equipment, electronic equipment and storage medium |
CN115033172A (en) * | 2022-04-30 | 2022-09-09 | 苏州浪潮智能科技有限公司 | Storage module control method, device, equipment and storage medium |
CN115033172B (en) * | 2022-04-30 | 2024-06-25 | 苏州浪潮智能科技有限公司 | Storage module management and control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110594180A (en) | Control method and system of server heat dissipation controller | |
CN105164635B (en) | For the adjusting performance of solid storage device in operation | |
CN113325940A (en) | Power consumption control method, system, terminal and storage medium of intelligent device | |
CN102929224B (en) | Condition acquisition controller (CAC) for power transformer equipment and system control method | |
CN105005363A (en) | Server platform based on universal ARM architecture | |
CN114116378A (en) | Method, system, terminal and storage medium for acquiring PCIe device temperature | |
CN102983989B (en) | Removing method, device and equipment of server virtual address | |
CN103166765B (en) | A kind of PoE power threshold changing method and equipment | |
WO2021190659A1 (en) | System data acquisition method and apparatus, and medium and electronic device | |
CN107085459A (en) | A kind of method for managing power supply and system | |
CN113778918A (en) | USB device management system and management method | |
CN103019905A (en) | Substrate managing controller and data processing method thereof | |
CN103778024A (en) | Server system and message processing method thereof | |
CN111625389A (en) | VR fault data acquisition method and device and related components | |
CN114430366A (en) | Information acquisition application issuing method, related device and computer program product | |
CN116483613B (en) | Processing method and device of fault memory bank, electronic equipment and storage medium | |
CN106933575B (en) | System and method for identifying asset information of server out of band | |
CN203101932U (en) | Power transformation equipment condition acquisition controller | |
CN115934616A (en) | Serial port information storage method and device, server, electronic equipment and storage medium | |
US11347288B2 (en) | Power management in a blade enclosure | |
CN114201439A (en) | Server signal identification optimization method, system and storage medium | |
CN114253573A (en) | PCIe device firmware batch upgrading method, system, terminal and storage medium | |
CN113448417A (en) | Dynamic setting method, system, terminal and storage medium for voltage regulator set value | |
CN110647435A (en) | Server, hard disk remote control method and control assembly | |
CN111542048A (en) | Method and device for restarting acquisition function of code detection equipment, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210831 |
|
RJ01 | Rejection of invention patent application after publication |