CN105511582B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105511582B CN105511582B CN201410492127.XA CN201410492127A CN105511582B CN 105511582 B CN105511582 B CN 105511582B CN 201410492127 A CN201410492127 A CN 201410492127A CN 105511582 B CN105511582 B CN 105511582B
- Authority
- CN
- China
- Prior art keywords
- power supply
- supply unit
- state
- unit
- electronic device
- 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
Links
Images
Landscapes
- Power Sources (AREA)
- Secondary Cells (AREA)
Abstract
The invention discloses an information processing method and electronic equipment, wherein the electronic equipment is provided with a first power supply unit and a second power supply unit; when the first power supply unit is used as a main power supply unit of the electronic equipment and the second power supply unit is used as a slave power supply unit of the electronic equipment, the method comprises the following steps: detecting a first signal, wherein the first signal represents output voltage information of the second power supply unit; analyzing the state of power supply connection between the second power supply unit and a power supply port of the electronic equipment based on the first signal; and controlling the state of the second power supply unit for outputting electric energy based on the obtained analysis result so as to stabilize the output voltage of the first power supply unit. According to the invention, the state of the second power supply unit for outputting electric energy can be controlled in time, the voltage output by the first power supply unit is stabilized, and the stable work of the electronic equipment is ensured.
Description
Technical Field
The present invention relates to electronic device power supply technologies, and in particular, to an information processing method and an electronic device.
Background
Currently, when a master power supply unit (PSU1) and a slave power supply unit (PSU2) in an electronic device supply power to power supply ports (e.g., a motherboard power supply port and a CPU power supply port) of the electronic device, if a hot plug operation is performed on PSU2, outputs of PSU1 and PSU2 are shorted, so that PSU1 charges a power-down holding capacitor of PUS2, and thus the output voltage of PSU1 is pulled low, which causes a shutdown, a restart or a blue screen problem of the electronic device.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, which can ensure that the voltage output by a main power supply unit in the electronic equipment is stable, so that the electronic equipment can stably work.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment is provided with a first power supply unit and a second power supply unit;
when the first power supply unit is used as a main power supply unit of the electronic equipment and the second power supply unit is used as a slave power supply unit of the electronic equipment, the method comprises the following steps:
detecting a first signal, wherein the first signal represents output voltage information of the second power supply unit;
analyzing the state of power supply connection between the second power supply unit and a power supply port of the electronic equipment based on the first signal;
and controlling the state of the second power supply unit for outputting electric energy based on the obtained analysis result so as to stabilize the output voltage of the first power supply unit.
Preferably, the analyzing the state of the power supply connection between the second power supply unit and the power supply port of the electronic device based on the first signal includes:
when the first signal is overturned from a first level to a second level, determining that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state;
determining that a power supply connection between the second power supply unit and a power supply port of the electronic device is in a connected state when the first signal maintains the first level; wherein the first level is higher than the second level.
Preferably, the controlling the state of the second power supply unit to output the electric energy based on the obtained analysis result includes:
when the analysis result represents that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state, controlling the power supply connection to be switched from a first state to a second state; wherein,
the first state is a state in which the second power supply unit is turned on, and the second state is a state in which the second power supply unit is turned off.
Preferably, the controlling the state of the second power supply unit to output the electric energy based on the obtained analysis result includes:
when the analysis result represents that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a connected state, controlling the power supply connection to keep a first state; wherein,
the first state is a state in which the second power supply unit is turned on.
Preferably, the first signal comprises at least one of:
a voltage signal of a first terminal, the first terminal being connected to a first power supply at a motherboard terminal of the electronic device through a first resistor;
and the second end of the voltage signal of the second end is grounded at the output end of the second power supply unit through a second resistor.
The embodiment of the invention also provides electronic equipment, which is provided with a first power supply unit and a second power supply unit;
the first power supply unit is a main power supply unit of the electronic equipment, and the second power supply unit is a slave power supply unit of the electronic equipment; the electronic device further includes:
the detection unit is used for detecting a first signal, and the first signal represents the output voltage information of the second power supply unit;
the control unit is used for analyzing the state of power supply connection between the second power supply unit and a power supply port of the electronic equipment based on the first signal;
the control unit is further configured to control a state of the second power supply unit for outputting the electric energy based on the obtained analysis result, so that the output voltage of the first power supply unit is stable.
Preferably, the control unit includes:
the first judging unit is used for judging that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state when the first signal is overturned from a first level to a second level;
a second determination unit configured to determine that a power supply connection between the second power supply unit and a power supply port of the electronic device is in a connected state when the first signal maintains the first level; wherein the first level is higher than the second level.
Preferably, the control unit is further configured to control the power supply connection to be switched from a first state to a second state when the analysis result indicates that the power supply connection between the second power supply unit and the power supply port of the electronic device is in a disconnected state; wherein,
the first state is a state in which the second power supply unit is turned on, and the second state is a state in which the second power supply unit is turned off.
Preferably, the control unit is further configured to control the power supply connection to maintain a first state when the analysis result indicates that the power supply connection between the second power supply unit and the power supply port of the electronic device is in a connected state; wherein,
the first state is a state in which the second power supply unit is turned on.
Preferably, the first signal comprises the following signals:
a voltage signal of a first terminal, the first terminal being connected to a first power supply at a motherboard terminal of the electronic device through a first resistor;
and the second end of the voltage signal of the second end is grounded at the output end of the second power supply unit through a second resistor.
In the embodiment of the invention, the state of the second power supply unit for outputting the electric energy is controlled based on the analysis result of the detected first signal, the state of the second power supply unit for outputting the electric energy can be controlled in time, the voltage output by the first power supply unit is stabilized, and the electronic equipment is ensured to work stably.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a second implementation flow of the information processing method according to the embodiment of the present invention;
FIG. 2b is a diagram illustrating a first exemplary embodiment of detecting a first signal;
FIG. 2c is a diagram illustrating a second exemplary embodiment of detecting a first signal;
FIG. 2d is a schematic diagram of a switch unit according to an embodiment of the present invention;
FIG. 2e is a diagram illustrating a first signal level inversion according to an embodiment of the present invention;
FIG. 2f is a schematic diagram of the voltage output by the first power supply unit in the related art;
FIG. 2g is a schematic diagram of the voltage output by the second power supply unit in the related art;
fig. 2h is a schematic diagram of the voltage output by the first power supply unit according to the embodiment of the invention;
FIG. 2i is a schematic diagram of the voltage output by the second power supply unit according to the embodiment of the invention;
FIG. 3a is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 3b is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 3c is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 3d is a fourth schematic structural diagram of the control unit 34 according to the embodiment of the present invention;
FIG. 3e is a diagram illustrating a first signal level inversion according to an embodiment of the present invention;
FIG. 3f is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 3g is a schematic diagram of the voltage output by the first power supply unit in the related art;
FIG. 3h is a schematic diagram of the voltage output by the second power supply unit in the related art;
FIG. 3i is a schematic diagram of the voltage output by the first power supply unit according to an embodiment of the present invention;
FIG. 3j is a schematic diagram of the voltage output by the second power supply unit according to the embodiment of the invention;
fig. 3k is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
The inventor finds out in the process of implementing the invention that: when a main power supply unit (set as PSU1) and a slave power supply unit (set as PSU2) supply power to an electronic device such as a server, the PUS2 is in a Smart standby (i.e. a mode of supporting power supply to the electronic device at any time) by default, and as the power supply of the PSU2 is realized by the power supply output of a power supply module of the PSU2, and the output end of the power supply module of the PSU2 is provided with a capacitor to realize a power-down maintaining function; if the PSU2 is subjected to hot plug operation at this time, the output of the PSU1 is shorted with the output of the PSU2 (the PSU1 charges a capacitor), so that the voltage output by the PSU1 is pulled down, and when the operating voltage of the electronic device is pulled down, the electronic device is shut down, restarted or blue-screened;
the inventors have also found in the course of carrying out the present invention that, as shown in fig. 1, in step 101, if the electronic device supports detecting the first signal; in step 102, the state of the power connection between the second power supply unit, i.e., PSU2, and the power supply port of the electronic device is analyzed by using the detected first signal, and when a hot plug operation to PSU2 is performed, the state of the power supply connection between the second power supply unit and the power supply port of the electronic device is analyzed by using step 103 based on the first signal, and a change in the state of the power supply connection between PSU2 and the power supply port of the electronic device is detected, so that in step 104, the state of the power output from the second power supply unit is controlled based on the obtained analysis result, the state of the power output from the second power supply unit can be controlled in time, the voltage output from PSU1 is stabilized, and the operation of the electronic device is ensured to be stable.
The invention is described in further detail below with reference to the figures and specific examples.
Example one
The embodiment describes an information processing method, which can be applied to electronic equipment such as a server and a switch, which have high requirements on continuous and stable operation, so as to ensure data security and continuity of service provision, and a first power supply unit and a second power supply unit are arranged on the electronic equipment so as to ensure stable power supply;
in this embodiment, the first power supply unit is configured to be a master power supply unit of the electronic device, and the second power supply unit is configured to be a slave power supply unit of the electronic device, where the first power supply unit provides electric energy to the electronic device through a power supply port (disposed on a motherboard) of the electronic device, for example, the first power supply unit may convert 220v ac power into 12v dc power to be provided to the motherboard, and may also convert 220v ac power into 5v dc power to be provided to the power supply port of a CPU according to an operating voltage (set to 5v) of another device (e.g., a CPU) on the motherboard; the second power supply unit is in an intelligent standby mode (namely, a mode for supporting power supply to the electronic equipment at any time) by default, and when the first power supply unit breaks down, the second power supply unit can ensure that the electronic equipment is continuously supplied with electric energy;
it should be noted that, before the first power supply unit fails, the second power supply unit may provide the electric energy to the power supply port together with the first power supply unit, or may provide the electric energy to the power supply port separately by the first power supply unit, depending on the load conditions of the first power supply unit and the second power supply unit; when the first power supply unit fails, the second power supply unit supplies power to the power supply port independently, that is, the second power supply unit needs to have a power supply load capacity for supplying power to the power supply port independently.
As shown in fig. 2a, the information processing method according to the present embodiment includes the steps of:
As an example, as shown in fig. 2b, the first signal may be a voltage signal of a first terminal, and the first terminal is connected to a first power source (e.g. a 3.3v power source) through a first resistor at a motherboard terminal of the electronic device; as another example, if 2c shows, the first signal may be a voltage signal of a second terminal, which is grounded through a second resistor at the output terminal of the first power supply unit; in this way, the first signal and the voltage output by the second power supply unit can keep changing synchronously, so that the output state of the second power supply unit can be represented.
In practical applications, as shown in fig. 2d, a switch unit, such as a Metal-Oxide-Semiconductor Field-effect transistor (MOSFET), may be disposed between the second power supply unit and the power supply port of the electronic device, and the switch unit is controlled to be in a cut-off state with respect to the second power supply unit, so as to achieve the effect of cutting off the second power supply unit.
In practical applications, as shown in fig. 2d, a switch unit, such as a Metal-Oxide-Semiconductor Field-effect transistor (MOSFET), may be disposed between the second power supply unit and the power supply port of the electronic device, and the switch unit is controlled to be in a conducting state with respect to the second power supply unit, so as to achieve an effect of conducting the second power supply unit; the second power supply unit is conducted by the control switch unit, so that the effect of conducting the second power supply unit is achieved.
The following describes steps 203 to 207:
referring to fig. 2b, when the power supply connection between the second power supply unit and the power supply port of the electronic device is connected, the first terminal exhibits the first level, and when the second power supply unit is pulled out (performs hot pull operation), that is, the power supply connection between the second power supply unit and the power supply port of the electronic device is disconnected, the first terminal is triggered to exhibit the second level, and the first level is higher than the second level, and a schematic diagram of turning the first level to the second level is shown in fig. 2 e;
referring to fig. 2c, when the power supply connection between the second power supply unit and the power supply port of the electronic device is connected, the first terminal exhibits the first level, and when the second power supply unit is pulled out (performs hot pull-out operation), that is, the power supply connection between the second power supply unit and the power supply port of the electronic device is disconnected, the first terminal is triggered to exhibit the second level, and the first level is higher than the second level, and a schematic diagram of turning the first level to the second level is shown in fig. 2 e.
To further illustrate the beneficial effects of the present embodiment, the inventor detects the voltages at the output terminals of the first power supply unit and the second power supply unit when the hot plug operation is performed on the second power supply unit in the related art; the voltages output by the first power supply unit and the second power supply unit in the embodiment are detected;
in the related art, the schematic diagram of the voltage output by the first power supply unit is shown in fig. 2f, the schematic diagram of the voltage input by the second power supply unit is shown in fig. 2g, when the hot-plug operation is not performed on the second power supply unit before the time T2 as shown in fig. 2f, the voltage output by the first power supply unit to the power supply port of the electronic device is kept stable (12v), when the hot-plug operation is performed on the second power supply unit at the time T1 as shown in fig. 2g, and the power-down holding capacitor is provided in the second power supply unit, and since the capacitor is discharged, the voltage applied to the power supply port of the electronic device at the side of the second power supply unit decreases from 12v from the time T1 until the time T2, the hot-plug operation is performed on the second power supply unit, and the voltage applied to the power supply port of the electronic device at the side starts to increase to 12v (since the capacitor needs to, so the voltage does not reach 12v immediately); referring to fig. 2f again, at time T2, due to the hot plug operation performed on the second power supply unit, the first power supply unit and the second power supply unit are shorted, so that the first power supply unit charges the capacitor, and the voltage (lower than 12v) applied to the power supply port of the electronic device by the first power supply unit is reduced, which results in unstable operation of the electronic device, and problems such as restart and blue screen occur;
in the embodiment, a schematic diagram of the voltage output by the first power supply unit is shown in fig. 2h, a schematic diagram of the voltage input by the second power supply unit is shown in fig. 2i, when the hot-plug operation is not performed on the second power supply unit before the time T2 as shown in fig. 2h, the voltage output by the first power supply unit to the power supply port of the electronic device is kept stable (12v), and when the hot-plug operation is performed on the second power supply unit at the time T1 as shown in fig. 2i, the power-down holding capacitor is arranged in the second power supply unit, and the voltage applied to the power supply port of the electronic device by the second power supply unit decreases from 12v from the time T1 because the capacitor discharges; at this time, with the technical solution of this embodiment, it can be determined that the power supply connection between the second power supply unit and the power supply port of the electronic device is in the disconnected state through analyzing the first signal, so as to control the switch unit to present the off state to the second power supply unit, so that, when the hot plug operation is performed on the second power supply unit at time T2, the second power supply unit is reset, and after the reset is completed, the power down holding capacitor is charged by the second power supply unit, so that the voltage applied to the power supply port of the electronic device at the second power supply unit side starts to rise (up to 12v), it should be noted that, since the second power supply unit starts the reset operation at time T2, the second power supply unit cannot start charging the capacitor immediately at time T2, and therefore, as shown in fig. 2i, the voltage (level such as the power down holding capacitor) applied to the power supply port of the electronic device by the second power supply unit is delayed for a while after time T2 Start rising (up to 12 v); when the hot plug operation is performed on the second power supply unit at the time of T2, the switch unit is in a cut-off state to the second power supply unit, so that the output of the first power supply unit is not in short circuit with the output of the second power supply unit, the condition that the first power supply unit charges the power-down holding capacitor is avoided, the voltage applied to the power supply port of the electronic equipment by the first power supply unit side is stabilized, and the stability of the working voltage of the electronic equipment is ensured.
Example two
In practical application, the electronic device may be an electronic device with higher requirements for continuous and stable operation, such as a server and a switch, so as to ensure data security and continuity of providing services; as shown in fig. 3a, a first power supply unit 31 and a second power supply unit 32 are provided in the electronic device to ensure stable power supply;
in this embodiment, the first power supply unit 31 is set as a main power supply unit of the electronic device, and the second power supply unit 32 is set as a slave power supply unit of the electronic device, the first power supply unit 31 provides electric energy to the electronic device through a power supply port (which may be disposed on a motherboard) of the electronic device, for example, the first power supply unit 31 may convert 220v ac power into 12v dc power to be provided to the motherboard, and of course, may convert 220v ac power into 5v dc power to be provided to the power supply port of a CPU according to a working voltage (set to 5v) of another device (such as a CPU) on the motherboard; the second power supply unit 32 is in an intelligent standby mode (i.e. a mode supporting power supply to the electronic device at any time) by default, and when the first power supply unit 31 fails, the second power supply unit can ensure that the electronic device continues to be supplied with electric energy;
it should be noted that before the first power supply unit 31 fails, the second power supply unit 32 may provide power to the power supply port together with the first power supply unit 31, or may provide power to the power supply port by the first power supply unit 31 alone, depending on the load conditions of the first power supply unit 31 and the second power supply unit 32; when the first power supply unit 31 fails, the second power supply unit 32 alone supplies power to the power supply port, that is, the second power supply unit 32 needs to have a power supply load capability of supplying power to the power supply port alone.
The electronic device further includes:
a detection unit 33, configured to detect a first signal, where the first signal represents output voltage information of the second power supply unit 32;
a control unit 34 configured to analyze a state of power supply connection between the second power supply unit 32 and a power supply port of the electronic device based on the first signal;
the control unit 34 is further configured to control a state where the second power supply unit 32 outputs electric energy based on the obtained analysis result, so as to stabilize the output voltage of the first power supply unit 31.
A schematic diagram of the electronic device provided with the detecting unit 33 and the controlling unit 34 is shown in fig. 3b, in this case, the first signal detected by the detecting unit 33 may be a voltage signal of a first terminal, and the first terminal is connected to a first power supply (e.g. a 3.3v power supply) through a first resistor at a motherboard end of the electronic device;
a schematic diagram of the electronic device provided with the detecting unit 33 and the control unit 34 is shown in fig. 3c, where the first signal detected by the detecting unit 33 may be a voltage signal of a second terminal, and the second terminal is grounded through a second resistor at the output terminal of the first power supply unit 31; in this way, the first signal and the voltage output by the second power supply unit 32 can be changed synchronously, so that the output state of the second power supply unit 32 can be represented.
As shown in fig. 3d, as an embodiment, the control unit 34 includes:
a first determination unit 341, configured to determine that a power supply connection between the second power supply unit 32 and a power supply port of the electronic device is in a disconnected state when the first signal is inverted from a first level to a second level;
a second determination unit 342 configured to determine that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a connected state when the first signal maintains the first level; wherein the first level is higher than the second level.
The processing of the first determination unit 341 and the second determination unit 342 is explained below: as shown in fig. 3b, when the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is connected, the first terminal assumes a first level, and accordingly, the second determination unit 342 determines that the first signal maintains the first level, and determines that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a connected state; when the second power supply unit 32 is unplugged (performs a hot unplugging operation), that is, the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is disconnected, the first terminal is triggered to present the second level, and the first level is higher than the second level, accordingly, when the first determination unit 341 determines that the first signal is flipped from the first level to the second level, it is determined that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a disconnected state, and a schematic diagram of flipping of the first level to the second level is shown in fig. 3 e.
Referring to fig. 3c, when the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is connected, the second terminal assumes a first level, and accordingly, the second determination unit 342 determines that the first signal maintains the first level, and determines that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a connected state;
when the second power supply unit 32 is unplugged (performs a hot unplugging operation), that is, the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is disconnected, triggering the second terminal to present a second level, wherein the first level is higher than the second level; accordingly, when the first determination unit 341 determines that the first signal is inverted from the first level to the second level, it determines that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in the disconnected state; the schematic diagram of the first level flipping to the second level is shown in fig. 3 e. .
As an embodiment, the control unit 34 is further configured to control the power supply connection to be switched from a first state to a second state when the analysis result indicates that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a disconnected state; the first state is a state of turning on the second power supply unit 32, and the second state is a state of turning off the second power supply unit 32.
As an embodiment, the control unit 34 is further configured to control the power supply connection to maintain a first state when the analysis result indicates that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in a connected state; the first state is a state of turning on the second power supply unit 32.
In practical applications, as shown in fig. 3f, a switch unit 36, such as a MOSFET, may be disposed between the second power supply unit 32 and the power supply port of the electronic device, and the switch unit 36 is controlled to turn off the second power supply unit 32, so as to turn off the second power supply unit 32; the second power supply unit 32 is turned off by controlling the switch unit 36, so that the second power supply unit 32 is turned off.
In practical applications, the first power supply unit and the second power supply unit may adopt a Power Supply Unit (PSU) provided in the related art, and the detection unit 33 and the control unit 34 may be implemented by a logic programmable gate array (FPGA) of the electronic device.
To further illustrate the beneficial effects of the present embodiment, the inventor detects the voltages at the output terminals of the first power supply unit and the second power supply unit when the hot plug operation is performed on the second power supply unit in the related art; and detects the voltages output by the first power supply unit 31 and the second power supply unit 32 in the present embodiment;
in the related art, the schematic diagram of the voltage output by the first power supply unit is shown in fig. 3g, the schematic diagram of the voltage input by the second power supply unit is shown in fig. 3h, when the hot-plug operation is not performed on the second power supply unit before the time T2 as shown in fig. 3g, the voltage output by the first power supply unit to the power supply port of the electronic device is kept stable (12v), the hot-plug operation is performed on the second power supply unit 32 at the time T1 as shown in fig. 3i, the power-down holding capacitor is provided in the second power supply unit 32, and since the capacitor is discharged, the voltage applied to the power supply port of the electronic device on the side of the second power supply unit decreases from 12v from the time T1 until the hot-plug operation is performed on the second power supply unit at the time T2, the voltage applied to the power supply port of the electronic device on the side starts to increase to 12v (since the capacitor needs to be charged, so the voltage does not reach 12v immediately); with reference to fig. 3g, at time T2, due to the hot plug operation performed on the second power supply unit, the first power supply unit and the second power supply unit are shorted, so that the first power supply unit charges the capacitor, and the voltage (lower than 12v) applied to the power supply port of the electronic device by the first power supply unit is reduced, which results in unstable operation of the electronic device, and problems such as restart and blue screen occur;
in the present embodiment, a schematic diagram of the voltage output by the first power supply unit 31 is shown in fig. 3i, and a schematic diagram of the voltage input by the second power supply unit 32 is shown in fig. 3 j; as shown in fig. 3i, before time T2, the hot plug operation is not performed on the second power supply unit 32, the voltage output from the first power supply unit 31 to the power supply port of the electronic device remains stable (12v), as shown in fig. 3j, the hot plug operation is performed on the second power supply unit 32 at time T1, as shown in fig. 3k, a power down holding capacitor is provided on the second power supply unit 32 side, and since the power down holding capacitor is discharged, the voltage applied to the power supply port of the electronic device on the second power supply unit 32 side decreases from time T1 from 12 v; at this time, with the solution of this embodiment, it can be determined that the power supply connection between the second power supply unit 32 and the power supply port of the electronic device is in the disconnected state through the analysis of the first signal, so as to control the switch unit to present the off state to the second power supply unit 32, so that, when the hot plug operation is performed on the second power supply unit 32 at time T2, the second power supply unit 32 is reset, and after the reset is completed, the power-down holding capacitor is charged by the second power supply unit 32, so that the voltage applied to the power supply port of the electronic device on the side of the second power supply unit 32 starts to rise (up to 12v), it should be noted that, because the reset operation is started by the second power supply unit 32 at time T2, the second power supply unit 32 cannot immediately charge the capacitor at time T2, and therefore, as shown in fig. 3j, the voltage (level equal to the power-down holding capacitor) applied to the power supply port of the electronic device by the second power supply unit 32 at time T2 After that, the rising is started after a certain time delay (until 12 v); when the hot plug operation is performed on the second power supply unit 32 at time T2, the switch unit turns off the second power supply unit 32, so that the output of the first power supply unit 31 is not short-circuited with the output of the second power supply unit 32, the condition that the first power supply unit 31 charges the power-down holding capacitor is avoided, the voltage applied to the power supply port of the electronic device at the side of the first power supply unit 31 is stabilized, and the stability of the operating voltage of the electronic device is ensured.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. An information processing method is applied to electronic equipment and is characterized in that the electronic equipment is provided with a first power supply unit and a second power supply unit;
when the first power supply unit is used as a main power supply unit of the electronic equipment and the second power supply unit is used as a slave power supply unit of the electronic equipment, the method comprises the following steps:
detecting a first signal, wherein the first signal represents output voltage information of the second power supply unit;
analyzing the state of power supply connection between the second power supply unit and a power supply port of the electronic equipment based on the first signal;
based on the obtained analysis result, controlling the state of electric energy output of the second power supply unit through a switch unit so as to stabilize the output voltage of the first power supply unit, wherein the second power supply unit can supply electric energy to the power supply port together with the first power supply unit or independently supply electric energy to the power supply port;
the switch unit is arranged between the second power supply unit and the power supply port of the electronic equipment.
2. The method of claim 1, wherein the resolving the status of the power connection between the second power supply unit and the power supply port of the electronic device based on the first signal comprises:
when the first signal is overturned from a first level to a second level, determining that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state;
determining that a power supply connection between the second power supply unit and a power supply port of the electronic device is in a connected state when the first signal maintains the first level; wherein the first level is higher than the second level.
3. The method according to claim 1, wherein the controlling the state of the second power supply unit for power output based on the obtained analysis result comprises:
when the analysis result represents that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state, controlling the power supply connection to be switched from a first state to a second state; wherein,
the first state is a state in which the second power supply unit is turned on, and the second state is a state in which the second power supply unit is turned off.
4. The method according to claim 1, wherein the controlling the state of the second power supply unit for power output based on the obtained analysis result comprises:
when the analysis result represents that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a connected state, controlling the power supply connection to keep a first state; wherein,
the first state is a state in which the second power supply unit is turned on.
5. The method of any one of claims 1 to 4, wherein the first signal comprises at least one of:
a voltage signal of a first terminal, the first terminal being connected to a first power supply at a motherboard terminal of the electronic device through a first resistor;
and the second end of the voltage signal of the second end is grounded at the output end of the second power supply unit through a second resistor.
6. An electronic device, characterized in that the electronic device is provided with a first power supply unit and a second power supply unit;
the first power supply unit is a main power supply unit of the electronic equipment, and the second power supply unit is a slave power supply unit of the electronic equipment; the electronic device further includes:
the detection unit is used for detecting a first signal, and the first signal represents the output voltage information of the second power supply unit;
the control unit is used for analyzing the state of power supply connection between the second power supply unit and a power supply port of the electronic equipment based on the first signal;
the control unit is further configured to control, based on the obtained analysis result, a state of the second power supply unit for outputting electric energy through the switch unit, so as to stabilize an output voltage of the first power supply unit, where the second power supply unit may provide electric energy to the power supply port together with the first power supply unit, or provide electric energy to the power supply port separately;
the switch unit is arranged between the second power supply unit and the power supply port of the electronic equipment.
7. The electronic device according to claim 6, wherein the control unit includes:
the first judging unit is used for judging that the power supply connection between the second power supply unit and the power supply port of the electronic equipment is in a disconnected state when the first signal is overturned from a first level to a second level;
a second determination unit configured to determine that a power supply connection between the second power supply unit and a power supply port of the electronic device is in a connected state when the first signal maintains the first level; wherein the first level is higher than the second level.
8. The electronic device according to claim 6, wherein the control unit is further configured to control the power supply connection to switch from a first state to a second state when the analysis result indicates that the power supply connection between the second power supply unit and the power supply port of the electronic device is in a disconnected state; wherein,
the first state is a state in which the second power supply unit is turned on, and the second state is a state in which the second power supply unit is turned off.
9. The electronic device of claim 6,
the control unit is further configured to control the power supply connection to maintain a first state when the analysis result indicates that the power supply connection between the second power supply unit and the power supply port of the electronic device is in a connected state; wherein,
the first state is a state in which the second power supply unit is turned on.
10. The electronic device of any of claims 6-9, wherein the first signal comprises:
a voltage signal of a first terminal, the first terminal being connected to a first power supply at a motherboard terminal of the electronic device through a first resistor;
and the second end of the voltage signal of the second end is grounded at the output end of the second power supply unit through a second resistor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410492127.XA CN105511582B (en) | 2014-09-23 | 2014-09-23 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410492127.XA CN105511582B (en) | 2014-09-23 | 2014-09-23 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105511582A CN105511582A (en) | 2016-04-20 |
CN105511582B true CN105511582B (en) | 2020-03-24 |
Family
ID=55719635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410492127.XA Active CN105511582B (en) | 2014-09-23 | 2014-09-23 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105511582B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467969A (en) * | 2010-11-08 | 2012-05-23 | 三星电子株式会社 | Methods of charging auxiliary power supplies in data storage devices and related devices |
CN103944420A (en) * | 2013-01-18 | 2014-07-23 | 台达电子工业股份有限公司 | Power supply system and control method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5956240A (en) * | 1996-11-15 | 1999-09-21 | Thomson Consumer Electronics, Inc. | Quick-reset circuit for auxiliary power supply |
CN102156525B (en) * | 2011-03-11 | 2012-09-12 | 福建星网锐捷网络有限公司 | Method, circuit and device for controlling hot plug of power supply |
-
2014
- 2014-09-23 CN CN201410492127.XA patent/CN105511582B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467969A (en) * | 2010-11-08 | 2012-05-23 | 三星电子株式会社 | Methods of charging auxiliary power supplies in data storage devices and related devices |
CN103944420A (en) * | 2013-01-18 | 2014-07-23 | 台达电子工业股份有限公司 | Power supply system and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105511582A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5791007B2 (en) | Power supply apparatus and method, and user apparatus | |
US10564697B2 (en) | OTG peripheral, power supply method, terminal and system | |
US9430008B2 (en) | Apparatus and method for optimizing use of NVDC chargers | |
US10079498B2 (en) | Charging circuit, power management circuit, and electronic device using the same | |
TWI620404B (en) | Power converter for external hard drive | |
KR20170095189A (en) | Techniques to route power to a usb host in dead battery condition | |
US9099881B2 (en) | Method and apparatus for charging over-discharged battery in booting process | |
CN108123509B (en) | Charging control method and related device thereof | |
CN103810958A (en) | Driving circuit, working method of driving circuit and display device | |
CN106603861A (en) | Power display method, device and terminal | |
WO2018036238A1 (en) | Control circuit, method, and computer storage medium | |
WO2023061333A1 (en) | Bleeder circuit control method and apparatus, bleeder device, and electronic device | |
TWI534600B (en) | A power management device of a touchable control system | |
CN108241425A (en) | Electronic device, electronic system, and control method | |
WO2018076653A1 (en) | Charging method and device, and terminal | |
CN105511582B (en) | Information processing method and electronic equipment | |
CN110112805B (en) | Battery charging and discharging control method and system, mobile terminal and storage medium | |
US20100275041A1 (en) | Computer power supply and power status signal generating circuit thereof | |
TW201415318A (en) | A power management device of a touchable control system | |
CN104578744B (en) | Load stepped starting circuit and corresponding earth leakage protective device | |
CN116760154A (en) | Power supply control circuit and method | |
US9966778B2 (en) | Electronic apparatus and method | |
JP2017537544A (en) | Output discharge technique for load switch | |
US20150123875A1 (en) | Power management device and method | |
US11322975B1 (en) | Power source switching |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |