CN113296442B - Power supply control device, power supply control method and system - Google Patents

Power supply control device, power supply control method and system Download PDF

Info

Publication number
CN113296442B
CN113296442B CN202110563333.5A CN202110563333A CN113296442B CN 113296442 B CN113296442 B CN 113296442B CN 202110563333 A CN202110563333 A CN 202110563333A CN 113296442 B CN113296442 B CN 113296442B
Authority
CN
China
Prior art keywords
event
power
power supply
module
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110563333.5A
Other languages
Chinese (zh)
Other versions
CN113296442A (en
Inventor
丁皓
江广浪
陈志列
庞观士
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
EVOC Intelligent Technology Co Ltd
Original Assignee
EVOC Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by EVOC Intelligent Technology Co Ltd filed Critical EVOC Intelligent Technology Co Ltd
Priority to CN202110563333.5A priority Critical patent/CN113296442B/en
Publication of CN113296442A publication Critical patent/CN113296442A/en
Application granted granted Critical
Publication of CN113296442B publication Critical patent/CN113296442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a power supply control device, a power supply control method and a power supply control system, wherein the power supply control device comprises: the device comprises a protocol conversion module, an event reporting module, a target event detection module and a power supply control module; the target event detection module is in communication connection with the event reporting module and the power control module, and the protocol conversion module is in communication connection with the event reporting module; the target event detection module is used for sending a target event signal to the event reporting module and the power supply control module; the protocol conversion module is used for analyzing a communication frame protocol of the operating system and the power supply control device; the event reporting module is used for informing the operating system of the event executed by the target event through the protocol conversion module so as to enable the operating system to carry out safe shutdown operation and send a power supply control signal; the power supply control module is used for powering off the main board power supply. The invention can prevent data loss and system damage when the power supply of the mainboard is powered off.

Description

Power supply control device, power supply control method and system
Technical Field
The invention relates to the technical field of digital integrated circuits, in particular to a power supply control device, a power supply control method and a power supply control system.
Background
In the process of performing shutdown control on an electronic device by using a CPLD (Complex programmable logic device), the CPLD directly controls a power supply of a motherboard to be powered off through a power supply control module when the CPLD detects a shutdown trigger signal. Wherein, the shutdown trigger signal includes: the power supply control method comprises the steps of generating a signal by pressing a power supply key of the electronic equipment and generating a signal which can trigger the electronic equipment to be powered off by carrying out cover closing operation on the electronic equipment.
However, in the existing CPLD, the power control part is only designed with a key detection module and a power control module, and there is no information feedback channel from the CPLD to the CPU.
This makes the electronic device, especially, the computer based on some CPU platforms, such as the enclave platform, the XX platform, etc., in the power-on state, where the CPLD detects the signal generated by pressing the power key of the computer based on some CPU platforms, the computer based on some CPU platforms usually has two processing modes for pressing the power key, the first is that the computer does not respond any more, and the user presses the power button is equal to not pressing. The second is that the CPLD directly controls the power supply of the motherboard to be powered off through the power control module, and at this time, the operating system of the computer based on some CPU platforms does not know that the motherboard is powered off, so that most computers, especially computers based on some CPU platforms, do not perform operations such as program shutdown and data saving before shutdown, and thus, the risk of data loss and system damage easily exists.
Disclosure of Invention
In order to solve the above problems, the power control apparatus, the power control method and the system provided by the present invention can enable the operating system to perform a safe shutdown operation before powering off the main board power supply, so as to prevent data loss and system damage.
In a first aspect, the present invention provides a power control apparatus comprising: the device comprises a protocol conversion module, an event reporting module, a target event detection module and a power supply control module;
the target event detection module is respectively in communication connection with the event reporting module and the power control module, and the protocol conversion module is in communication connection with the event reporting module;
the target event detection module is used for detecting whether a target event on the equipment is executed or not, and respectively sending a target event signal to the event reporting module and the power supply control module when the target event is executed;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with the operating system through the protocol conversion module, notifying the operating system of an event executed by a target event through the protocol conversion module when the target event signal is received so as to enable the operating system to carry out safe shutdown operation, and enabling the operating system to send a power supply control signal after the safe shutdown operation is finished;
the power supply control module is used for acquiring power supply state information of a mainboard power supply on the equipment when receiving the target event signal, and powering off the mainboard power supply according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to the mainboard power supply, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power supply of the mainboard to power off.
Optionally, the power control module is further configured to control the motherboard power to be powered on when the target event signal is received and the power status information is in a power-off state;
the power supply control module is further configured to control the power supply of the motherboard to power down when the target event signal is received, the power supply state information is a power-on state, and the system state flag identifies that the operating system is in a non-power-on state;
the power control module is further configured to control the power supply of the motherboard to power down when the target event signal is received, the power status information is in a power-on state, the system status flag identifies that the operating system is in a power-on state, and the power control signal is received.
Optionally, the event reporting module includes: a signal generating unit;
the signal generating unit is respectively in communication connection with the target event detection module and the power supply control module;
the signal generating unit is used for receiving the target event signal and the power state information and judging whether the system state mark marks that the operating system is in a starting state or not and whether the power state information is in a starting state or not.
Optionally, the event reporting module further includes: the system comprises a state mark unit, an event number inquiry unit and a port unit;
the signal generating unit, the event number inquiring unit and the port unit are all in communication connection with the state marking unit, and the port unit is in communication connection with the protocol conversion module and the event number inquiring unit respectively;
the state flag unit is used for storing a first flag and a second flag;
the signal generating unit is also used for setting the first mark when receiving a target event signal, judging that the system state mark identifies that the operating system is in an open state and the power state information is in a power-on state, sending a target event execution signal to the event number query unit, and sending an interrupt signal to the operating system, so that when the operating system queries that the first mark is set, an inquiry event command code is sent to the event number query unit according to the interrupt signal;
the event number inquiry unit is used for setting the second mark when receiving an inquiry event command code, sending an event number signal corresponding to the target event to the port unit according to a target event execution signal, so that the operating system acquires the event number signal from the port unit when inquiring that the second mark is set, performs safe shutdown operation according to the event number, and sends a power supply control signal to the power supply control module after completing the safe shutdown operation.
Optionally, the port unit comprises: a first port subunit and a second port subunit;
the first port subunit is respectively in communication connection with the protocol conversion module and the event number query unit, and the second port subunit is respectively in communication connection with the protocol conversion module and the event number query unit;
the first port subunit is used for receiving the event number signal sent by the event number inquiry unit;
and the second port subunit is used for receiving the inquiry event command code sent by the operating system and sending the inquiry event command code to the event number inquiry unit.
Optionally, the event reporting module further includes: a storage unit;
the storage unit is in communication connection with the second port subunit;
the storage unit is used for storing system data, and the system data comprises the system state mark;
the second port subunit is further configured to send a storage control command code to the storage unit;
the storage unit is also used for modifying the system state mark according to the storage control command code;
the storage control command code includes: a command code for setting the system status flag and a command code for clearing the system status flag.
Optionally, the event reporting module further includes: a selection unit;
the selection unit is in selective communication connection with the storage unit and the event number inquiry unit respectively, and the first port subunit is in communication connection with the selection unit;
the selection unit is used for being in communication connection with the event number inquiry unit when the second port subunit receives an inquiry event command code sent by an operating system, and is in communication connection with the storage unit when the second port subunit receives a storage control command code sent by the operating system.
Optionally, the target event includes: a power button press event and a device cover event.
In a second aspect, the present invention provides a power control method, applied to a logic control device, where the logic control device includes: the device comprises a protocol conversion module, an event reporting module and a power control module;
the protocol conversion module is in communication connection with the event reporting module, and the power supply control module is in communication connection with the event reporting module;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with an operating system through the protocol conversion module;
the method comprises the following steps:
when a target event on the equipment is executed, sending a target event signal to an event reporting module so as to inform an operating system of the executed event of the target event through a protocol conversion module, so that the operating system performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to a power control module;
when a target event on the equipment is executed, sending a target event signal to a power control module to acquire power state information of a mainboard power on the equipment;
acquiring a system state mark and sending the system state mark to a power supply control module;
the control power supply control module is used for powering off the main board power supply according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to the mainboard power supply, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power supply of the mainboard to power off.
Optionally, the method further comprises:
when the control power supply control module receives the target event signal and the power supply state information is in a power-off state, the control power supply control module powers on a mainboard power supply;
when the control power supply control module receives the target event signal, the power supply state information is in a starting state, and the system state mark marks that the operating system is in an unopened state, the power supply of the mainboard is powered off;
control power control module according to power state information, power control signal and system status sign, cuts off the power to the mainboard power, includes:
and the control power supply control module powers off the power supply of the mainboard when receiving the target event signal, the power supply state information is in a starting state, the system state mark marks that the operating system is in a starting state and the power supply control signal is received.
Optionally, the method comprises: detecting whether a target event on a device is executed;
when the target event on the device is executed, sending a target event signal to an event reporting module to notify the executed event of the target event to an operating system through a protocol conversion module, so that the operating system performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to a power control module, including:
when detecting that a target event on the equipment is executed, setting a first flag in the logic control device, and sending an interrupt signal to an operating system so that the operating system inquires whether the first flag is set;
when the operating system inquires that the first flag is set, receiving an inquiry event command code;
and inquiring the event number corresponding to the target event according to the inquiry event command code, setting the second mark, so that when the operating system inquires that the second mark is set, the operating system acquires an event number signal corresponding to the event number from the logic control device, performs safe shutdown operation according to the event number, and sends a power supply control signal to the power supply control module after the safe shutdown operation is completed.
In a third aspect, the present invention provides a power control system, applied to a logic control device, the logic control device including: the device comprises a protocol conversion module, an event reporting module and a power control module;
the protocol conversion module is in communication connection with the event reporting module, and the power supply control module is in communication connection with the event reporting module;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with an operating system through the protocol conversion module;
the system comprises:
the first sending module is configured to send a target event signal to the event reporting module when a target event on the device is executed, so as to notify the executed event of the target event to the operating system through the protocol conversion module, so that the operating system performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to the power control module;
the second sending module is configured to send a target event signal to the power control module when a target event on the device is executed so as to acquire power state information of a mainboard power on the device;
the first acquisition module is configured to acquire the system state mark and send the system state mark to the power supply control module;
the first control module is configured to control the power supply control module and power off the main board power supply according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to the mainboard power supply, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power supply of the mainboard to power off.
Optionally, the system further comprises:
the second control module is configured to control the power supply control module to power on the main board power supply when the target event signal is received and the power supply state information is in a power-off state;
the third control module is configured to control the power supply control module to power off the main board power supply when the power supply state information is in a power-on state and the system state mark identifies that the operating system is in a non-on state after receiving the target event signal;
the first control module is further configured to control the power control module to power down the motherboard power supply when the power control module receives the target event signal, the power state information is in a power-on state, the system state flag identifies that the operating system is in a power-on state, and the power control signal is received.
Optionally, the system comprises: a detection module configured to detect whether a target event on a device is executed;
the first transmitting module comprises:
a sending submodule configured to set a first flag in the logic control device and send an interrupt signal to the operating system when it is detected that a target event on the device is executed, so that the operating system inquires whether the first flag is set;
the receiving submodule is configured to receive an inquiry event command code when the first flag is set in the inquiry of the operating system;
and the query submodule is configured to query the event number corresponding to the target event according to the query event command code, set the second flag, so that the operating system acquires an event number signal corresponding to the event number from the logic control device when querying that the second flag is set, performs safe shutdown operation according to the event number, and sends a power control signal to the power control module after completing the safe shutdown operation.
According to the power supply control device, the power supply control method and the power supply control system provided by the embodiment of the invention, the function of informing the operating system of a target event to perform key soft-off is realized through the power supply control device or the logic control device; therefore, before the power supply of the main board is powered off, the operation system can be safely shut down to prevent data loss and system damage.
Drawings
Fig. 1 is a schematic structural diagram of a power supply control device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram showing a connection relationship between a power control device and an operating system according to an embodiment of the present application;
fig. 3 is a schematic logic block diagram of an event reporting module according to an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a power control method according to an embodiment of the present application;
FIG. 5 is a schematic block diagram of a first power control system according to an embodiment of the present application;
FIG. 6 is a schematic flow chart diagram of a power control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a second power control system according to an embodiment of the present application.
Reference numerals
1. A power supply control device; 2. a protocol conversion module; 3. an event reporting module; 31. a signal generating unit; 32. a status flag unit; 33. an event number query unit; 34. a storage unit; 35. a selection unit; 36. a second setting unit; 37. a first setting unit; 38. a port resolution unit; 39. a second port command code unit; 40. other SCI event elements; 41. a port unit; 411. a first port subunit; 412. a second port subunit; 5. a target event detection module; 6. a power supply control module; 71. a main board power supply; 72. a power supply key; 73. a central processing unit; 74. and (4) operating the system.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
First, the terms referred to in the present application are explained as follows:
LPC: and the CPU is connected with a communication Bus of the Low-speed peripheral.
And (EC): embedded Controller, embedded Controller.
ACPI: advanced Configuration and Power Management Interface.
SCI event: serial Communications Interface, which is an EC event conforming to the ACPI specification, includes a power key press event.
Soft shutdown: in the power-on state, a mouse is used for clicking a power-off button on a start menu of the operating system, and then the operating system controls the power supply of the mainboard to be powered off after performing pre-power-off operations such as data storage and the like.
Soft shutdown of the key: in the power-on state, a power key on the computer is pressed, after the operating system recognizes that the power key is pressed, the operating system executes data storage and other operations before power-off, and then the power supply of the mainboard is controlled to be powered off.
In a first aspect, with reference to fig. 1 and fig. 2, the present invention provides a power supply control apparatus, where the power supply control apparatus 1 implements corresponding operation control based on a logic control device, and is specifically applicable to a soar platform to complete a case soft-off function. Wherein the logic control device includes: CPLDs and other Programmable logic chips such as FPGAs (Field Programmable Gate arrays). The power supply control device 1 includes: the device comprises a protocol conversion module 2, an event reporting module 3, a target event detection module 5 and a power control module 6.
The target event detection module 5 is respectively connected with the event reporting module 3 and the power control module 6 in a communication way, and the protocol conversion module 2 is connected with the event reporting module 3 in a communication way. The target event detecting module 5 is configured to detect whether a target event on the device is executed, and send a target event signal to the event reporting module 3 and the power control module 6 when the target event is executed. The protocol conversion module 2 is configured to analyze a communication frame protocol between the operating system 74 on the device and the power control apparatus 1, so as to enable the event reporting module 3 to communicate with the operating system 74. The event reporting module 3 is configured to perform ACPI information interaction with the operating system 74 through the protocol conversion module 2, and notify the operating system 74 of an event in which the target event is executed through the protocol conversion module 2 when the target event signal is received, so that the operating system 74 performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system 74 sends a power control signal. The power control module 6 is configured to obtain power state information of the motherboard power supply 71 on the device when receiving the target event signal, and power down the motherboard power supply 71 according to the power state information, the power control signal, and the system state flag.
Wherein the operation of the secure shutdown comprises: data retention and application shutdown. The operating system 74 is located within the central processor 73; the system status flag is used for identifying the working status of the operating system 74, the motherboard power supply 71 is used for supplying power to the motherboard power supply 71, and the power status information is used for identifying the working status of the motherboard power supply 71; the target event is an event for triggering the power-off of the main board power supply 71 in the SCI event; the target event comprises: a power key press event and a device cover close event.
In this embodiment, the system status flag is an ACPI flag; the target event is a power key press event. The logic control device is a CPLD; the protocol conversion module 2 is an LPC module, and the LPC module is a communication interface between the CPLD and the central processing unit 73, and is used for analyzing an LPC communication frame protocol, converting the LPC communication frame protocol into an internal bus, transmitting the internal bus to other modules inside the CPLD, and communicating the CPLD with the CPU, and using the internal bus as an ACPI information transmission channel. The target event detection module 5 is a power key detection module, and is configured to detect whether the power key 72 is pressed, and generate a power button signal to the ACPI event reporting module 3 and the power control module 6 when the power key is pressed. The event reporting module 3 is an ACPI event reporting module 3, and is configured to implement a power button event reporting function conforming to the ACPI specification, perform ACPI information interaction with the operating system 74, and notify the operating system 74 of the power button event. The power control module 6 is further configured to control the motherboard power supply 71 to power down when the target event signal is received, the power status information is in a power-on state, the system status flag identifies that the operating system 74 is in a power-on state, and the power control signal is received.
In this embodiment, the power control module 6 is further configured to control the motherboard power supply 71 to be powered on when the target event signal is received and the power status information is in the power-off status. The power control module 6 is further configured to control the motherboard power supply 71 to power down when the target event signal is received, the power status information is in a power-on state, and the system status flag identifies that the operating system 74 is in a non-power-on state.
Specifically, the power control module 6 receives a power control signal output by the central processing unit 73, and performs operations such as restarting and powering down on the motherboard power supply 71. The power control module 6 sends the current power state of the motherboard power 71 to the ACPI event reporting module 3 to indicate whether the current power state of the motherboard power 71 is a power-on state or a power-off state.
When the power control module 6 receives the power button signal sent by the target event detection module 5, the corresponding operation is performed on the motherboard power supply 71 according to the ACPI flag and the current power state of the motherboard power supply 71, which is specifically as follows:
1. when the power state of the front motherboard power supply 71 is the power-off state, the power-on and power-on of the motherboard are directly controlled.
2. When the power state of the main board power supply 71 is the power-on state and the ACPI flag is not set, that is, ACPI =0, the main board is directly controlled to power down and power off.
3. When the power state of the main board power supply 71 is the power-on state and the ACPI flag is set, that is, ACPI =1, only the power control signal output by the central processing unit 73 is allowed to the power control module 6, so as to control the power-off of the main board power supply 71, that is, perform a soft-off operation.
After the operating system 74 is started, a corresponding command code is sent to set the ACPI flag, the CPLD determines whether the operating system 74 is started or not from the flag, the operating system 74 notifies the operating system 74 of a power button event when started, and the operating system 74 is powered down directly when not started. Because the operating system 74 is not started, there are no operations to notify the operating system 74 and close programs to save files, etc. In this way, the power control device 1 can perform corresponding power-off operation according to different situations by setting the ACPI flag, thereby improving the efficiency of the power-off operation.
Further, with reference to fig. 3, the event reporting module 3 includes: signal generating unit 31, status flag unit 32, event number query unit 33, storage unit 34, selection unit 35, second setting unit 36, first setting unit 37, port resolution unit 38, second port command code unit 39, other SCI event unit 40, and port unit 41.
Wherein the port unit 41 includes: a first port subunit 411 and a second port subunit 412. The signal generating unit 31 is in communication connection with the target event detecting module 5, the first setting unit 37, the storage unit 34 and the power control module 6 respectively; the first setting unit 37 and the second setting unit 36 are both connected to the status flag unit 32 in communication; the status flag unit 32 is communicatively connected to the second port subunit 412, and the status flag unit 32, the first port subunit 411, and the second port subunit 412 are all communicatively connected to the storage unit 34; the storage unit 34 is in communication connection with the second setting unit 36; the first port subunit 411 and the second port subunit 412 are both in communication connection with the port resolution unit 38; the port analysis unit 38 is in communication connection with the LPC module; the selection unit 35 is in communication connection with the second port command code unit 39, and the selection unit 35 is in selective communication connection with the event number inquiry unit 33 and the storage unit 34 respectively; the selection unit 35 is communicatively connected to the second port subunit 412, the signal generation unit 31 and the other SCI event units 40, respectively.
Further, the signal generating unit 31 is configured to receive the target event signal and the power status information, and determine whether the system status flag identifies that the operating system 74 is in an on state and whether the power status information is in an on state. The signal generating unit 31 is further configured to, when receiving the target event signal, determine that the system state flag identifies that the operating system 74 is in an on state and the power state information is in a power-on state, set the first flag, send a target event execution signal to the event number querying unit 33, and send an interrupt signal to the operating system 74, so that when the operating system 74 queries that the first flag is set, the event number querying unit 33 sends an event querying command code according to the interrupt signal.
The status flag unit 32 is configured to store a first flag and a second flag. In the present embodiment, the first flag is the SCI _ EVT flag; the second flag is an OBF flag. The signal generating unit 31 is an SCI signal generating unit 31. The interrupt signal is an SCI interrupt signal. The first port is a 62-port and the second port is a 66-port. Event number lookup unit 33 is an SCI event number truth table module.
Specifically, when the SCI signal generating unit 31 receives the power key 72 signal, the SCI signal generating unit 31 determines whether the ACPI flag is set at this time and whether the current status of the motherboard power 71 is on. If the ACPI flag is set and the current status of the motherboard power supply 71 is on, the first setting unit 37 sets the SCI _ EVT flag on port 66, and generates a power button signal to the SCI event number truth table module and an SCI interrupt signal to the cpu 73 to notify the operating system 74 of the interrupt. Where the ACPI flag is present at the 0x43 address of the RAM, the SCI signal generating unit 31 knows whether the ACPI flag is set by looking up the value at the 0x43 address.
When the operating system 74 receives the SCI interrupt signal, it queries the 66 port through the LPC module for the SCI _ EVT flag. If yes, the flow is continued, otherwise the interrupt is ignored. By setting the second flag in this manner, the operating system 74 can be confirmed again and the occurrence of the target event is confirmed, and the stability of the performance of the power supply control device 1 can be improved.
When the state flag unit 32 receives the set OBF flag signal sent by the second setting unit 36, the OBF flag is set; the SCI _ EVT flag is set when the state flag unit 32 receives the set SCI _ EVT flag signal transmitted from the first setting unit 37. When the OBF flag or SCI _ EVT flag is set, the operating system 74 signals the set OBF flag or SCI _ EVT flag from the corresponding bit from port 66 and returns it to the original state.
The 66 port flags in the ACPI specification are as in table one:
watch 1
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
IGN SMI_EVT SCI_EVT BURST CMD IGN IBF OBF
Wherein, the SCI _ EVT flag indicates whether an SCI event occurs, and the OBF flag indicates whether an output Buffer is full. Specifically, when the SCI _ EVT flag is set, bit5 stores a 1, i.e., bit5 is in a high state, indicating that an SCI event has occurred; from the SCI _ EVT flag in Bit5, which is to be set by operating system 74, bit5 stores a 0, i.e., bit5 is in a low state. When the OBF flag is set, bit0 stores 1, that is, bit0 is in a high state, indicating that the output Buffer is full; from the OBF flag to be set in Bit0, the operating system 74 stores 0 in Bit0, i.e., bit0 is in a low state.
In the present embodiment, the storage unit 34 is a Random Access Memory (RAM) unit. The memory unit 34 is used for providing 256 bytes of RAM space which can be read and written by the operating system 74 and conforms to the ACPI specification, and the RAM space stores system data including: version number, ACPI flag, power up reason, etc. The power-on reason is read when the operating system 74 is started, and if the power-on reason is not read, the power control apparatus 1 is considered to be offline, the operating system 74 ignores the power control apparatus 1, and then no communication with the power control apparatus 1 is performed. The version number is used for the operating system 74 to identify the power control apparatus 1 so as to operate the power control apparatus 1.
The storage unit 34 is used to store system data, i.e., RAM data. The system data includes the system status flag. The first port subunit 411 is used to transfer the operating system 74 to the RAM unit with RAM addresses and data on the 62 ports. The second port subunit 412 is further configured to send a storage control command code to the storage unit 34. The storage unit 34 is further configured to modify the system status flag according to a storage control command code. The storage control command code includes: a command code for setting the system status flag and a command code for clearing the system status flag.
Specifically, when the storage unit 34 receives a RAM read command code of the 66 port, that is, 0x80, and then receives a RAM address transmitted from the 62 port, the system data on the corresponding RAM address is sent to the 62 port through the selection unit 35, and the OBF flag of the 66 port is set through the second setting unit 36; the operating system 74 reads the OBF flag on port 66 and reads the system data from port 62. As such, the operating system 74 is facilitated to efficiently read system data in a timely manner by setting the OBF flag.
After the storage unit 34 receives the write RAM command code of the 66 ports, that is, 0x81, the RAM address and the RAM data transmitted from the 62 ports are received, and the RAM data is written to the corresponding RAM address. After the memory unit 34 receives the set ACPI command code on port 66, i.e., 0x86, it sets the ACPI flag on RAM address 0x43 to 1. After the memory unit 34 receives the clear ACPI code on port 66, i.e., 0x87, the ACPI flag on RAM address 0x43 is set to 0.
Further, the first port subunit 411 is configured to receive the event number signal sent by the event number query unit 33. The second port subunit 412 is configured to receive the query event command code sent by the operating system 74, and send the query event command code to the event number query unit 33. The event number query unit 33 is configured to, when receiving the inquiry event command code, set the second flag, and send an event number signal corresponding to the target event to the port unit 41 according to the target event execution signal, so that the operating system 74 obtains the event number signal from the port unit 41 when querying that the second flag is set, performs a safe shutdown operation according to the event number, and sends a power control signal to the power control module 6 after completing the safe shutdown operation. The other SCI event unit 40 is configured to detect whether other target events on the device, i.e. SCI events, are executed, and send other target event signals to the event number query unit 33 and the power control module 6, respectively, when other target events are executed.
Specifically, the event number query unit 33 is an SCI event number truth table unit. Wherein the SCI event number truth table element stores an SCI event number that includes a power button event number: 0xB5, closed event number: 0xD0, and the like.
After the SCI event number truth table unit receives the 66-port query SCI event command code, it queries its truth table according to the input target event execution signal. If the input signal is the power button signal from SCI signal generating unit 31, then the SCI event number truth table unit outputs the power button event number: 0xB5; if the input signal is an alternate SCI event signal from alternate SCI event unit 40, then the SCI event number truth table unit outputs the corresponding event number. The output event number is signaled to port 62 through the selection unit 35, and the OBF flag of port 66 is set, so that the event number is read from port 62 by the operating system 74 after the OBF flag on port 66 is read, and then the operating system 74 executes the corresponding event response. For example, when the operating system 74 reads the power button event number 0xB5, it performs a pre-shutdown operation such as data saving, and then the operating system 74 controls the central processing unit 73 to output a power control signal to the CPLD and notify the CPLD to power down the motherboard.
The selecting unit 35 is configured to be communicatively connected to the event number querying unit 33 when the second port sub-unit 412 receives the query event command code sent by the operating system 74, and to be communicatively connected to the storage unit 34 when the second port sub-unit 412 receives the storage control command code sent by the operating system 74.
In the present embodiment, the selection unit 35 is a RAM data/event number selection unit 35. Specifically, the RAM data/event number selection unit 35 passes the RAM data or event number to the port 62 according to a command code strobe issued by the operating system 74 to the port 66. Among them, the 66 port sends the corresponding command code to the RAM data/event number selection unit 35 through the second port command code unit 39. If the command code is a read RAM command 0x80, gating the data of the RAM unit; if the command code is the interrogate SCI event number command 0x84, the data for the SCI event truth table element is strobed. By arranging the selection unit 35, the operating system 74 can be ensured to read data from the power control device 1 in order, and the space utilization rate of the power control device 1 is improved.
The power control device 1 adopts a mode that an LPC interface reports SCI event numbers in ACPI specifications to an operation system, and solves the problems that data loss and system damage are caused by direct power failure because a desktop power button based on some CPUs cannot be powered off or the power button cannot be used for powering off and informing an operation system 74. In this way, with the power control apparatus 1, when the occurrence of the power key press event is detected, the operating system 74 is directly notified to perform the safe shutdown operation of data retention and program shutdown before controlling the main board power supply 71 to power down; therefore, software does not need to be installed in the operating system 74 or the operating system 74 does not need to be machined and designed, the universality of the power supply control device 1 is further improved, and the power supply control device 1 can be applied to various operating systems 74 to control the power-off of the main board power supply 71. Meanwhile, the power control device 1 of the present invention is also suitable for uploading other ACPI event numbers to the operating system 74, for example, when the target event is a device cover closing event, the power control device 1 may power down the motherboard power supply 71 in the notebook computer when the notebook computer performs a cover closing operation.
In a second aspect, in conjunction with fig. 4, the present invention provides a power control method, which is applied to the logic control device as described above.
The method comprises steps S101 to S104, as follows:
step S101: when a target event on the device is executed, a target event signal is sent to the event reporting module 3, so as to notify the event of the executed target event to the operating system 74 through the protocol conversion module 2, so that the operating system 74 performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system 74 sends a power control signal to the power control module 6.
Step S102: when a target event on the device is executed, a target event signal is sent to the power control module 6 to obtain power status information of the on-device motherboard power supply 71.
Specifically, when a target event on the device is executed, a target event signal is sent to the power control module 6, so that the motherboard where the motherboard power supply 71 is located acquires power state information of the motherboard power supply 71 from the power control unit, and sends the acquired power state information of the motherboard power supply 71 to the power control module 6.
Step S103: and acquiring a system state flag, and sending the system state flag to the power control module 6.
Step S104: and the control power supply control module 6 powers off the main board power supply 71 according to the power supply state information, the power supply control signal and the system state mark.
The system state flag is used to identify the operating state of the operating system 74, the motherboard power supply 71 is used to supply power to the motherboard, and the power state information is used to identify the operating state of the motherboard power supply 71; the target event is an event for triggering the main board power supply 71 to power down.
In an optional embodiment, the method further comprises:
when the control power supply control module 6 receives the target event signal and the power supply state information is in the power-off state, the power supply control module powers on the main board power supply 71;
when the control power control module 6 receives the target event signal, the power status information is in the power-on state, and the system status flag identifies that the operating system 74 is in the non-power-on state, the power supply control module powers off the main board power supply 71;
the control power supply control module 6 powers off the main board power supply 71 according to the power supply state information, the power supply control signal and the system state flag, and includes:
the control power supply control module 6 powers off the main board power supply 71 when receiving the target event signal, the power supply status information is in the power-on state, the system status flag identifies that the operating system 74 is in the power-on state, and the power supply control signal is received.
In an alternative embodiment, the method comprises: detecting whether a target event on a device is executed;
when the target event on the device is executed, sending a target event signal to the event reporting module 3, so as to notify the event executed by the target event to the operating system 74 through the protocol conversion module 2, so that the operating system 74 performs a security shutdown operation, and after the security shutdown operation is completed, the operating system 74 sends a power control signal to the power control module 6, including:
upon detecting that a target event on the device is executed, setting a first flag in the logic control device and sending an interrupt signal to the operating system 74 to cause the operating system 74 to query whether the first flag is set;
receiving an interrogation event command code when the operating system 74 queries that the first flag is set;
and inquiring the event number corresponding to the target event according to the inquiry event command code, setting the second mark, so that when the operating system 74 inquires that the second mark is set, the operating system acquires an event number signal corresponding to the event number from the logic control device, performs the operation of safe shutdown according to the event number, and sends a power supply control signal to the power supply control module 6 after the operation of safe shutdown is completed.
In a third aspect, with reference to fig. 5, the present invention provides a first power control system 300, which is applied to the logic control device.
The first power control system 300 includes:
a first sending module 301, configured to send a target event signal to the event reporting module 3 when a target event on the device is executed, so as to notify the executed event of the target event to the operating system 74 through the protocol conversion module 2, so that the operating system 74 performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system 74 sends a power control signal to the power control module 6;
a second sending module 302 configured to send a target event signal to the power control module 6 to obtain power status information of the motherboard power 71 on the device when the target event on the device is executed;
a first obtaining module 303, configured to obtain the system status flag, and send the system status flag to the power control module 6;
a first control module 304 configured to control the power control module 6 to power down the motherboard power supply 71 according to the power status information, the power control signal, and the system status flag;
the system state flag is used to identify the operating state of the operating system 74, the motherboard power supply 71 is used to supply power to the motherboard power supply 71, and the power state information is used to identify the operating state of the motherboard power supply 71; the target event is an event for triggering the main board power supply 71 to power down.
In an alternative embodiment, the first power control system 300 further comprises:
a second control module, configured to control the power control module 6 to power on the motherboard power supply 71 when the target event signal is received and the power status information is in a power-off state;
a third control module, configured to control the power control module 6 to power down the motherboard power supply 71 when the target event signal is received, the power status information is in a power-on state, and the system status flag identifies that the operating system 74 is in a non-power-on state;
the first control module 304 is further configured to control the power control module 6 to power down the motherboard power supply 71 when the target event signal is received, the power status information is in the power-on state, the system status flag identifies that the operating system 74 is in the power-on state, and the power control signal is received.
In an alternative embodiment, the first power control system 300 includes: a detection module configured to detect whether a target event on a device is executed;
the first transmitting module 301 includes:
a sending submodule configured to set a first flag in the logic control device and send an interrupt signal to the operating system 74 upon detecting that a target event on the device is executed, so that the operating system 74 queries whether the first flag is set;
a receiving submodule configured to receive an interrogation event command code when the operating system 74 queries that the first flag is set;
and the query submodule is configured to query an event number corresponding to the target event according to the query event command code, set the second flag, so that when querying that the second flag is set, the operating system 74 obtains an event number signal corresponding to the event number from the logic control device, performs a safe shutdown operation according to the event number, and sends a power control signal to the power control module 6 after the safe shutdown operation is completed.
In a fourth aspect, with reference to fig. 6, the present invention provides a power control method applied to the operating system 74 as described above.
The method includes steps S201 to S205 as follows:
step S201: the interrupt signal transmitted from the power supply control apparatus 1 as described above is received.
Step S202: the first flag is inquired from the power supply control device 1, and whether the subsequent steps are performed or not is judged according to the first flag.
If the first flag is inquired to be set, the subsequent steps are carried out, and if the first flag is inquired to be not set, the interrupt signal is ignored.
Step S203: an inquiry event command code is transmitted to the power supply control device 1.
Step S204: the event number is acquired from the power supply control apparatus 1.
Step S205: if the event number is the event number corresponding to the target event, the operation of safe shutdown is performed, and after the operation of safe shutdown is completed, a power control signal is sent to power off the main board power supply 71.
In a fifth aspect, in conjunction with fig. 7, the present invention provides a second power control system 400, which is applied to the operating system 74 as described above.
The second power supply control system 400 includes:
the receiving module 401 is configured to receive the interrupt signal sent by the power control apparatus 1 as described above.
The query module 402 is configured to query the power control apparatus 1 for the first flag, and determine whether to perform a subsequent operation according to the first flag.
If the first flag is inquired to be set, subsequent operation is carried out, and if the first flag is inquired not to be set, the interrupt signal is ignored.
A third sending module 403 configured to send an inquiry event command code to the power control apparatus 1 when the first flag is set in the inquiry module.
A second obtaining module 404 configured to obtain the event number from the power control apparatus 1.
A fourth sending module 405, configured to perform a safe shutdown operation if the event number is the event number corresponding to the target event, and send a power control signal after the safe shutdown operation is completed, so as to power off the motherboard power supply 71.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A power supply control device, comprising: the device comprises a protocol conversion module, an event reporting module, a target event detection module and a power supply control module;
the target event detection module is respectively in communication connection with the event reporting module and the power control module, and the protocol conversion module is in communication connection with the event reporting module;
the target event detection module is used for detecting whether a target event on the equipment is executed or not and respectively sending a target event signal to the event reporting module and the power supply control module when the target event is executed;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with the operating system through the protocol conversion module, notifying the operating system of an event executed by a target event through the protocol conversion module when the target event signal is received so as to enable the operating system to carry out safe shutdown operation, and enabling the operating system to send a power supply control signal after the safe shutdown operation is finished;
the power supply control module is used for acquiring power supply state information of a mainboard power supply on the equipment when receiving the target event signal, and powering off the mainboard power supply according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to a mainboard, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power supply of the mainboard to power off.
2. The power control device according to claim 1, wherein the power control module is further configured to control the motherboard power to power on when the target event signal is received and the power status information is in a power-off state;
the power supply control module is also used for controlling the power supply of the mainboard to power off when the target event signal is received, the power supply state information is in a starting state, and the system state mark marks that the operating system is in an unopened state;
the power control module is further configured to control the power supply of the motherboard to power down when the target event signal is received, the power status information is in a power-on state, the system status flag identifies that the operating system is in a power-on state, and the power control signal is received.
3. The power control device of claim 1, wherein the event reporting module comprises: a signal generating unit;
the signal generating unit is respectively in communication connection with the target event detection module and the power supply control module;
the signal generating unit is used for receiving the target event signal and the power state information and judging whether the system state mark marks that the operating system is in the starting state or not and whether the power state information is in the starting state or not.
4. The power control device of claim 3, wherein the event reporting module further comprises: the system comprises a state mark unit, an event number inquiry unit and a port unit;
the signal generating unit, the event number inquiring unit and the port unit are all in communication connection with the state marking unit, and the port unit is in communication connection with the protocol conversion module and the event number inquiring unit respectively;
the state flag unit is used for storing a first flag and a second flag;
the signal generating unit is also used for setting the first mark when receiving a target event signal, judging that the system state mark identifies that the operating system is in an open state and the power state information is in a power-on state, sending a target event execution signal to the event number query unit, and sending an interrupt signal to the operating system, so that when the operating system queries that the first mark is set, an inquiry event command code is sent to the event number query unit according to the interrupt signal;
the event number inquiry unit is used for setting the second mark when receiving an inquiry event command code, sending an event number signal corresponding to a target event to the port unit according to a target event execution signal, so that the operating system acquires the event number signal from the port unit when inquiring that the second mark is set, performs safe shutdown operation according to the event number, and sends a power supply control signal to the power supply control module after completing the safe shutdown operation.
5. The power supply control device according to claim 4, wherein the port unit includes: the first port subunit is respectively in communication connection with the protocol conversion module and the event number inquiry unit, and the second port subunit is respectively in communication connection with the protocol conversion module and the event number inquiry unit;
the first port subunit is used for receiving the event number signal sent by the event number inquiry unit;
and the second port subunit is used for receiving the inquiry event command code sent by the operating system and sending the inquiry event command code to the event number inquiry unit.
6. The power control device of claim 5, wherein the event reporting module further comprises: a storage unit;
the storage unit is in communication connection with the second port subunit;
the storage unit is used for storing system data, and the system data comprises the system state mark;
the second port subunit is further configured to send a storage control command code to the storage unit;
the storage unit is also used for modifying the system state mark according to the storage control command code;
the storage control command code includes: a command code for setting the system status flag and a command code for clearing the system status flag.
7. The power control device of claim 6, wherein the event reporting module further comprises: the selection unit is in selective communication connection with the storage unit and the event number inquiry unit respectively, and the first port subunit is in communication connection with the selection unit;
the selection unit is used for being in communication connection with the event number inquiry unit when the second port subunit receives an inquiry event command code sent by an operating system, and is in communication connection with the storage unit when the second port subunit receives a storage control command code sent by the operating system.
8. The power supply control device according to any one of claims 1 to 7, wherein the target event includes: a power button press event and a device cover close event.
9. A power control method applied to a logic control device, the logic control device comprising: the device comprises a protocol conversion module, an event reporting module and a power control module;
the protocol conversion module is in communication connection with the event reporting module, and the power supply control module is in communication connection with the event reporting module;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with an operating system through the protocol conversion module;
the method comprises the following steps:
when a target event on the equipment is executed, sending a target event signal to an event reporting module so as to inform an operating system of the executed event of the target event through a protocol conversion module, so that the operating system performs safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to a power control module;
when a target event on the equipment is executed, sending a target event signal to a power control module to acquire power state information of a mainboard power on the equipment;
acquiring a system state mark and sending the system state mark to a power supply control module;
the control power supply control module is used for powering off the power supply of the mainboard according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to a mainboard, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power supply of the mainboard to power off.
10. The power control method of claim 9, further comprising:
when the control power supply control module receives the target event signal and the power supply state information is in a power-off state, powering on a main board power supply;
when the control power supply control module receives the target event signal, the power supply state information is in a starting state, and the system state mark marks that the operating system is in an unopened state, the power supply of the mainboard is powered off;
the control power supply control module powers off the main board power supply according to the power supply state information, the power supply control signal and the system state mark, and comprises:
and the control power supply control module is used for powering off the power supply of the mainboard when receiving the target event signal, the power supply state information is in a starting state, the system state mark marks that the operating system is in a starting state, and the power supply control signal is received.
11. The power control method according to claim 9, characterized in that the method comprises: detecting whether a target event on a device is executed;
when the target event on the device is executed, sending a target event signal to an event reporting module to notify the executed event of the target event to an operating system through a protocol conversion module, so that the operating system performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to a power control module, including:
when detecting that a target event on the equipment is executed, setting a first flag in the logic control device, and sending an interrupt signal to an operating system so that the operating system inquires whether the first flag is set;
when the operating system inquires that the first flag is set, receiving an inquiry event command code;
and inquiring the event number corresponding to the target event according to the inquiry event command code, setting the second mark, so that when the operating system inquires that the second mark is set, the operating system acquires an event number signal corresponding to the event number from the logic control device, performs safe shutdown operation according to the event number, and sends a power supply control signal to the power supply control module after the safe shutdown operation is completed.
12. A power control system for use in a logic control device, the logic control device comprising: the device comprises a protocol conversion module, an event reporting module and a power control module;
the protocol conversion module is in communication connection with the event reporting module, and the power supply control module is in communication connection with the event reporting module;
the protocol conversion module is used for analyzing a communication frame protocol between an operating system on the equipment and the power control device so as to enable the event reporting module to communicate with the operating system;
the event reporting module is used for carrying out ACPI information interaction with the operating system through the protocol conversion module;
the system comprises:
the first sending module is configured to send a target event signal to the event reporting module when a target event on the device is executed, so as to notify the executed event of the target event to the operating system through the protocol conversion module, so that the operating system performs a safe shutdown operation, and after the safe shutdown operation is completed, the operating system sends a power control signal to the power control module;
the second sending module is configured to send a target event signal to the power control module when a target event on the device is executed so as to acquire power state information of a mainboard power on the device;
the first acquisition module is configured to acquire the system state mark and send the system state mark to the power supply control module;
the first control module is configured to control the power supply control module and power off the main board power supply according to the power supply state information, the power supply control signal and the system state mark;
the system state mark is used for marking the working state of an operating system, the mainboard power supply is used for supplying power to the mainboard power supply, and the power state information is used for marking the working state of the mainboard power supply; the target event is an event for triggering the power-off of the mainboard power supply.
13. The power control system of claim 12, further comprising:
the second control module is configured to control the power supply control module to electrify the mainboard power supply when the target event signal is received and the power supply state information is in a shutdown state;
the third control module is configured to control the power supply control module to power off the main board power supply when the power supply state information is in a power-on state and the system state mark identifies that the operating system is in a non-on state after receiving the target event signal;
the first control module is further configured to control the power control module to power down the motherboard power supply when the power control module receives the target event signal, the power state information is in a power-on state, the system state flag identifies that the operating system is in a power-on state, and the power control signal is received.
14. The power control system of claim 12, wherein the system comprises: a detection module configured to detect whether a target event on a device is executed;
the first transmitting module includes:
a sending submodule configured to set a first flag in the logic control device and send an interrupt signal to the operating system when it is detected that a target event on the device is executed, so that the operating system inquires whether the first flag is set;
the receiving sub-module is configured to receive the inquiry event command code when the operating system inquires that the first flag is set;
and the query submodule is configured to query an event number corresponding to the target event according to the query event command code, set the second mark, acquire an event number signal corresponding to the event number from the logic control device when the second mark is queried to be set by the operating system, perform safe shutdown operation according to the event number, and send a power control signal to the power control module after the safe shutdown operation is completed.
CN202110563333.5A 2021-05-21 2021-05-21 Power supply control device, power supply control method and system Active CN113296442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110563333.5A CN113296442B (en) 2021-05-21 2021-05-21 Power supply control device, power supply control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110563333.5A CN113296442B (en) 2021-05-21 2021-05-21 Power supply control device, power supply control method and system

Publications (2)

Publication Number Publication Date
CN113296442A CN113296442A (en) 2021-08-24
CN113296442B true CN113296442B (en) 2022-10-28

Family

ID=77324097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110563333.5A Active CN113296442B (en) 2021-05-21 2021-05-21 Power supply control device, power supply control method and system

Country Status (1)

Country Link
CN (1) CN113296442B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396243B (en) * 2022-10-27 2023-03-14 武汉思创易控科技有限公司 PoE power supply control method, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038671A (en) * 1998-03-12 2000-03-14 Compaq Computer Corporation Power management of a computer system using a power button
US6301711B1 (en) * 1993-11-30 2001-10-09 International Business Machines Corporation System and method for the network support of full motion video using a redundant array of inexpensive disks
CN107608828A (en) * 2017-09-21 2018-01-19 郑州云海信息技术有限公司 Method, system, device and the storage medium that data center's power down recovers automatically

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200428190A (en) * 2003-06-03 2004-12-16 Icp Electronics Inc Safe power-off system and method thereof
CN1287255C (en) * 2003-06-25 2006-11-29 威达电股份有限公司 Safety shutdown system and method
CN1766792A (en) * 2004-10-29 2006-05-03 林焕章 Safety buffer device for shut down of computer
CN201717969U (en) * 2009-07-08 2011-01-19 北京市警视达机电设备研究所 Device for realizing video character superposition function
US8842993B2 (en) * 2011-03-29 2014-09-23 Source Photonics, Inc. Operational status flag generation in an optical transceiver
CN109460324B (en) * 2017-12-30 2019-12-17 深圳北芯生命科技有限公司 Data recovery system and data recovery method of FFR (fringe field switching) host
CN110399153B (en) * 2019-07-25 2023-11-03 Oppo广东移动通信有限公司 System upgrading method, device, terminal and computer readable storage medium
CN112596444A (en) * 2020-12-21 2021-04-02 苏州科达科技股份有限公司 Electronic equipment shutdown control method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6301711B1 (en) * 1993-11-30 2001-10-09 International Business Machines Corporation System and method for the network support of full motion video using a redundant array of inexpensive disks
US6038671A (en) * 1998-03-12 2000-03-14 Compaq Computer Corporation Power management of a computer system using a power button
CN107608828A (en) * 2017-09-21 2018-01-19 郑州云海信息技术有限公司 Method, system, device and the storage medium that data center's power down recovers automatically

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Semi-Preemptive Computational Service System with Limited Resources and Dynamic Resource Ranking;Leu F Y;《Algorithms》;20121231;全文 *
家庭用电智能控制与节能评估管理系统设计;刘侠等;《电源世界》;20160515(第05期);全文 *
数字车载音响系统设计;石鑫焱等;《微型机与应用》;20111010(第19期);全文 *

Also Published As

Publication number Publication date
CN113296442A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
KR20100090513A (en) Low power system-on-chip
CN100378617C (en) Network wakening device and method
CN105225316A (en) A kind of dormancy of electron key low-power consumption power supply plan and awakening method
CN113296442B (en) Power supply control device, power supply control method and system
US20050114723A1 (en) Interruption control system and method
CN111913669B (en) SSD power-down speed improving method and device, computer equipment and storage medium
CN110764973A (en) Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host
US20090091538A1 (en) Computer system and a method for determining whether a hot key is triggered
US7802119B2 (en) Method and system for saving power of central processing unit
CN112347017A (en) PS/2 keyboard dual-host plug-in system with LPC bus interface and switching method
CN110308940B (en) Method for realizing remote soft-off by simulating keyboard soft-off key
US20230367508A1 (en) Complex programmable logic device and communication method
CN210639458U (en) Device for converting network interface of numerical control machine tool into USB interface
CN104750551A (en) A computer system and user-defined responding method thereof
US8826056B2 (en) Circuit protection system and method
US20080294922A1 (en) Matching system of electronic device and peripheral device and matching method thereof
CN101739115A (en) Simplified type host computer and method for wakening same
CN1266569C (en) Interrupt signal control method
CN100394357C (en) Power-saving mode adjusting method and its logic chip and computer system
CN101281418B (en) Method for setting general-purpose serial bus equipment as well as computer readable recording medium
CN111857319A (en) Intelligent optimization method and system for server power consumption
CN219831808U (en) Wake-up device
CN210488284U (en) Independent third-party monitoring system based on dual processors
CN214795825U (en) Computer expansion card based on internet of things technology
KR100677121B1 (en) Apparatus and method for controlling status battery in low voltage

Legal Events

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