CN109976490B - Power supply control method and electronic equipment - Google Patents
Power supply control method and electronic equipment Download PDFInfo
- Publication number
- CN109976490B CN109976490B CN201711405734.8A CN201711405734A CN109976490B CN 109976490 B CN109976490 B CN 109976490B CN 201711405734 A CN201711405734 A CN 201711405734A CN 109976490 B CN109976490 B CN 109976490B
- Authority
- CN
- China
- Prior art keywords
- power supply
- control unit
- power
- sleep
- notification
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/263—Arrangements for using multiple switchable power supplies, e.g. battery and AC
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
Abstract
The application provides a power supply control method and electronic equipment. The primary power supply comprises a main power supply, and the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are electrically connected with the main power supply. The main power supply supplies power to the memory bank through the memory secondary power supply, and supplies power to other components in the electronic equipment through other secondary power supplies. The primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit. And the sleep control unit sends a system sleep notification to the power supply control unit when receiving a sleep control instruction input by a user. And when receiving the system sleep notification, the power supply control unit sends a power supply stop notification to other secondary power supplies so as to control the other secondary power supplies to stop supplying power to other parts. Therefore, the electronic equipment can be ensured to enter the sleep state of only power supply of the memory, and the power consumption is reduced.
Description
Technical Field
The application relates to the technical field of computers, in particular to a power supply control method and electronic equipment.
Background
The existing electronic device (e.g., a server, a computer, etc.) can usually support a sleep function, where sleep refers to that all other components (e.g., a CPU, a hard disk, etc.) enter a power-off state except a memory and a sleep control component of the electronic device continue to operate, and when necessary, the whole electronic device can be quickly awakened to continue to operate before entering the sleep state.
The electronic device generally includes a primary power supply and a secondary power supply, wherein the primary power supply is a power grid commercial power which is converted by a power converter and then input into the electronic device, and the power grid commercial power is generally 12V direct current; the secondary power source is a direct current power source obtained by converting the primary power source and usable for each component of the electronic device, and may be generally 5V, 3.3V, or the like. The primary power supply comprises a front power supply for supplying power in a standby state and a main power supply for supplying power in a normal working state.
In the prior art, when an electronic device is in a sleep state, a front power supply generally supplies power to a memory, however, the power of the front power supply is relatively small, and when the number of memory of the electronic device is large, the front power supply is not enough to support the memory of the electronic device to work, so that a main power supply is required to supply power to the memory. When the main power supply is turned on, all components in the electronic device are still in working states, and the power consumption is large.
Disclosure of Invention
In view of the above, an object of the present application is to provide a power control method and an electronic device to solve the above problem.
In order to achieve the above object, an embodiment of the present invention provides a power control method applied to an electronic device, where the electronic device includes a primary power supply, a secondary power supply, a power control unit, a sleep control unit, and at least one memory bank;
the primary power supply comprises a main power supply, the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are respectively electrically connected with the main power supply, the main power supply supplies power to the memory bank through the memory secondary power supply, and the main power supply supplies power to other components except the memory bank in the electronic equipment through the other secondary power supplies; the primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit; the method comprises the following steps:
the sleep control unit sends a system sleep notification to the power control unit when receiving a sleep control instruction input by a user;
and the power supply control unit sends a power supply stopping notification to the other secondary power supplies when receiving the system sleep notification so as to control the other secondary power supplies to stop supplying power to the other parts.
Optionally, the method further comprises:
and the power supply control unit sends a notification of finishing sleep control to the sleep control unit when receiving feedback information sent by the other secondary power supplies after receiving the power supply stop notification.
Optionally, the primary power supply further comprises a front power supply, and the method further comprises:
the power supply control unit detects whether preset mark information exists or not when receiving the system sleep notification;
when the preset mark information exists, the power supply control unit controls the secondary power supply of the memory to be disconnected with the main power supply, establish connection with the front power supply, and issue a power supply stopping notification to the primary power supply so as to control the primary power supply to close the main power supply;
and when the preset mark information does not exist, sending a power supply stopping notification to the other secondary power supplies.
Optionally, the method further comprises:
the electronic equipment acquires the number of the currently configured memory banks when being started, and when the number is smaller than a first preset value, the marking information is preset in the power supply control unit.
Optionally, the electronic device includes a configuration module, the configuration module is electrically connected to the power control unit through a system bus, and the configuration module configures a register of the power control unit through the system bus, so as to preset the flag information in the register.
The embodiment of the application also provides electronic equipment which comprises a primary power supply, a secondary power supply, a power supply control unit, a sleep control unit and at least one memory bank;
the primary power supply comprises a main power supply, the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are respectively electrically connected with the main power supply, the main power supply supplies power to the memory bank through the memory secondary power supply, and the main power supply supplies power to other components except the memory bank in the electronic equipment through the other secondary power supplies; the primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit;
the sleep control unit sends a system sleep notification to the power control unit when receiving a sleep control instruction input by a user;
and the power supply control unit sends a power supply stopping notification to the other secondary power supplies when receiving the system sleep notification so as to control the other secondary power supplies to stop supplying power to the other parts.
Optionally, the power supply control unit sends a notification of completing sleep control to the sleep control unit when receiving feedback information sent by the other secondary power supplies after receiving the power supply stop notification.
Optionally, the primary power supply further comprises a front power supply;
the power supply control unit detects whether preset mark information exists or not when receiving the system sleep notification; when the preset mark information exists, the power supply control unit controls the secondary power supply of the memory to be disconnected with the main power supply, establish connection with the front power supply, and issue a power supply stopping notification to the primary power supply so as to control the primary power supply to close the main power supply; and when the preset mark information does not exist, the operation of sending a power supply stopping notification to the other secondary power supplies is executed again.
Optionally, the electronic device obtains the number of currently configured memory banks when being started, and when the number is smaller than a first preset value, the flag information is preset in the power control unit.
Optionally, the electronic device includes a configuration module, the configuration module is electrically connected to the power control unit through a system bus, and the configuration module configures a register of the power control unit through the system bus, so as to preset the flag information in the register.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a power supply control method and electronic equipment. The primary power supply comprises a main power supply, and the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are electrically connected with the main power supply. The main power supply supplies power to the memory bank through the memory secondary power supply, and supplies power to other components in the electronic equipment through other secondary power supplies. The primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit. And the sleep control unit sends a system sleep notification to the power supply control unit when receiving a sleep control instruction input by a user. And when receiving the system sleep notification, the power supply control unit sends a power supply stop notification to other secondary power supplies so as to control the other secondary power supplies to stop supplying power to other parts. Therefore, the electronic equipment can be ensured to enter the sleep state of only power supply of the memory, and the power consumption is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a power control method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another power control method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another power control method according to an embodiment of the present disclosure.
Icon: 100-an electronic device; 110-primary power supply; 111-main power supply; 112-front power supply; 121-memory secondary power supply; 122-other secondary power source; 130-a power supply control unit; 140-a sleep control unit; 150-memory; k1 — first switch; k2 — second switch; 170-other components.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the prior art, after receiving a sleep control instruction input by a user, an electronic device issues a power supply stop notification to a primary power supply, and the primary power supply shuts down a main power supply to supply power to a memory. However, as the performance requirements of software applications are higher and higher, the memory configuration of the electronic device is also more and more, for example, the number of memory banks configured for each processor is increased from the original mainstream of 4 to the maximum current 12, and the number of processors of a single node is increased from the original 1 to the current 4, that is, there may be a case where 48 memory banks are configured in a single node at the same time. In addition, as the density of the current server is higher and higher, a plurality of nodes are often integrated on one server, and thus, the memory required for configuring one server may be more. Therefore, the front power supply cannot meet the electric quantity requirement of memory operation, so that power can be supplied only through the main power supply, and when the power is supplied through the main power supply, all parts in the electronic equipment are in a power supply state, and the waste of electric energy can be caused.
In order to solve the above problem, it is a conventional practice to control each component of the electronic device to enter a low power consumption state when the electronic device enters a sleep state to save energy. But even in the low power consumption state, the power consumption still generates and consumes, causing unnecessary waste.
Based on the above research, the present embodiment provides a power control method and an electronic device, so as to control the electronic device to enter a sleep state in which only the memory supplies power under the condition that the memory of the electronic device is sufficiently powered, thereby reducing unnecessary power consumption.
As shown in fig. 1, the block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown, where the electronic device 100 may be a Personal Computer (PC), a server, or other device with a data processing function. The electronic device 100 includes a primary power source 110, a secondary power source, a power control unit 130, a sleep control unit 140, and at least one memory bank. Wherein the at least one memory bank constitutes the memory 150 of the electronic device 100.
In this embodiment, the primary power source 110 includes a primary power source 111, and the primary power source 111 refers to an output end of the primary power source 110 for supplying power to various components of the electronic apparatus 100 when the electronic apparatus 100 is in a normal operating state. In addition, the primary power source 110 may further include a front power source 112, where the front power source 112 is an output terminal of the primary power source 110 for supplying power to various components of the electronic device 100 when the electronic device 100 is in a standby state.
The secondary power supply is a power supply module that converts the dc power output from the primary power supply 110 and outputs the converted dc power to the corresponding other component 170. The secondary power source includes a memory secondary power source 121 and other secondary power sources 122 electrically connected to the main power source 111, respectively. The main power source 111 supplies power to the memory bank through the memory secondary power source 121, that is, supplies power to the memory 150 of the electronic device 100. The main power source 111 supplies power to other components 170 in the electronic device 100 through the other secondary power source 122. Note that the sleep control unit 140 is also one of the other components 170.
In this embodiment, the memory secondary power source 121 is electrically connected between the main power source 111 and the memory 150. The other secondary power sources 122 are multiple and correspond to the other components 170 one by one, and each of the other secondary power sources 122 is electrically connected between the corresponding other component 170 and the main power source 111.
The sleep control unit 140 is a component, typically an integrated chip, of the electronic device 100, which is used for responding to a sleep control instruction input by a user and controlling a system of the electronic device 100 to sleep. When the sleep control unit 140 receives the sleep control instruction, a system sleep notification is issued to control the corresponding power to be turned off.
The primary power source 110 and the secondary power source are electrically connected to the sleep control unit 140 through the power source control unit 130, that is, the power source control unit 130 is electrically connected between the primary power source 110 and the sleep control unit 140, and the power source control unit 130 is electrically connected between the secondary power source and the sleep control unit 140. Optionally, the power control unit 130 may be a single chip, an integrated chip, a logic circuit, or other devices, which is not limited in this embodiment.
It should be understood that the configuration shown in fig. 1 is merely illustrative and that electronic device 100 may have more or fewer components than fig. 1 or a completely different configuration than fig. 1. Further, the components shown in FIG. 1 may be implemented in software, hardware, or a combination thereof.
Fig. 2 is a schematic flow chart of a power control method provided in an embodiment of the present application, where the power control method is applied to the electronic device 100 shown in fig. 1. The specific steps and flow of the power control method are described in detail below with reference to fig. 1.
In step S110, the sleep control unit 140 sends a system sleep notification to the power control unit 130 when receiving a sleep control instruction input by a user.
When the user inputs the sleep control command in the electronic device 100, the sleep control unit 140 receives the sleep control command.
In the prior art, when the sleep control unit 140 receives the sleep control command, it issues a system sleep notification to the primary power source 110 to control the primary power source 110 to turn off the primary power source 111 and supply power to the memory 150 through the front power source 112.
In this embodiment, a system power status line is connected between the sleep control unit 140 and the power control unit 130, and the sleep control unit 140 issues a system sleep notification to the power control unit 130 through the system power status line, that is, the system sleep notification issued to the primary power supply 110 by the sleep control unit 140 is intercepted by the power control unit 130, and the system sleep notification is processed correspondingly. In this way, the primary power supply 110 can be prevented from directly turning off the main power supply 111 after receiving the system sleep notification.
In step S120, when receiving the system sleep notification, the power control unit 130 sends a power supply stop notification to the other secondary power source 122 to control the other secondary power source 122 to stop supplying power to the other component 170.
The inventor has analyzed that the sleep state is to supply power only to the memory 150. In this embodiment, in order to ensure that the amount of power required by the memory 150 is sufficient, the memory 150 is powered by the main power source 111 in the sleep state. In this case, in order to avoid the consumption of power by the other components 170 in the electronic apparatus 100, the power supply control unit 130 transmits a power supply stop notification to the other secondary power supply 122 upon receiving the system sleep notification transmitted by the sleep control unit 140. When the other secondary power source 122 receives the power supply stop notification, it stops supplying power to the corresponding other component 170, and sends feedback information corresponding to the power supply stop notification to the power supply control unit 130.
The power control unit 130 may be electrically connected to the other secondary power sources 122 through other power status lines, and after the power control unit 130 receives the system sleep notification, the power supply stop notification is sent to the other secondary power sources 122 through the other power status lines.
Through the above process, it is possible to cause the electronic apparatus 100 to enter a sleep state in which only the memory 150 is powered, and to ensure that the memory 150 is sufficiently powered.
In one embodiment, the electronic device 100 is provided with a corresponding sleep control key (a hardware key or a virtual key), and when the user presses the sleep control key, the sleep control unit 140 receives a sleep control command. In implementation, the sleep control unit 140 monitors a click event corresponding to the sleep control button, sends the system sleep notification when the event that the sleep control button is clicked is monitored, and ends the click event when the sleep control unit 140 receives feedback information corresponding to the click event. At this time, the sleep control unit 140 may continue to monitor the click event of the sleep control button.
Therefore, in order to ensure that the key for the user to perform sleep control can continuously operate, after the power control unit 130 issues the system sleep notification to the other secondary power sources 122 and the other secondary power sources 122 stop supplying power, a notification of completing sleep control may be reported to the sleep control unit 140.
In order to achieve the above object, as shown in fig. 3, in the present embodiment, the power control method may further include step S130.
In step S130, the power supply control unit 130 sends a notification of completion of sleep control to the sleep control unit 140 when receiving the feedback information sent by the other secondary power supply 122 after receiving the power supply stop notification.
After receiving the power supply stop notification, the other secondary power supplies 122 stop outputting the direct current, and send a response instruction corresponding to the power supply stop notification, where the response instruction is the feedback information. When the power control unit 130 receives the feedback information, it indicates that the other secondary power sources 122 have stopped supplying power, that is, the electronic device 100 is currently in a sleep state of supplying power only to the memory 150, and thus, a notification (i.e., a notification of completing sleep control) may be sent to the sleep control unit 140 to inform the sleep control unit 140 that sleep control has been completed.
Further, the content included in the notification of completion of sleep control may be the same as the notification that the primary power supply 110 feeds back to the sleep control unit 140 after the main power supply 111 is turned off in the conventional practice.
The inventor has also found that in some cases, the number of memory banks configured by the electronic device 100 is not always large, for example, the number of memory banks configured by the electronic device 100 may be small at first, and the number of memory banks configured by the electronic device 100 is gradually increased as the application software needs change, that is, the number of memory banks configured by the electronic device 100 is dynamically changed, and accordingly, the power supply amount required by the memory 150 of the electronic device 100 is also dynamically changed.
Based on the above research, as shown in fig. 4, the power control method provided in this embodiment may further include step S140 and step S150.
In step S140, the power control unit 130 detects whether there is preset flag information when receiving the system sleep notification. If yes, go to step S150; if not, step S120 is executed again.
The preset flag information may indicate that a preset bit of a preset register of the power control unit 130 is a preset value. The preset register, the preset bit and the preset value can be set according to actual conditions as long as the marking function can be achieved. Accordingly, the power control unit 130 may determine whether the preset flag information exists by detecting whether the preset bit of the preset register is the preset value.
Optionally, in this embodiment, the power control method may further include a step by which the flag information may be preset.
The electronic device 100 obtains the number of currently configured memory banks at the time of starting, and when the number is smaller than a preset value, the flag information is preset in the power control unit 130.
Wherein the preset value can be determined according to the actual power supply capacity of the front power supply 112. In general, the preset value may be 8, that is, when the number of currently configured memory banks of the electronic device 100 is less than 8, the flag information may be preset in the power control unit 130.
As a specific implementation manner, the electronic device 100 may include a configuration module, where the configuration module may be an application installed in an Operating System (OS), a Basic Input/Output System (BIOS), or a Unified Extensible Firmware Interface (UEFI) of the electronic device 100, and the application detects, during a boot phase of the electronic device 100, the number of memory banks currently configured by the electronic device 100.
The configuration module may be electrically connected to the power control unit 130 through a system bus, and when the configuration module detects that the number of currently configured memory banks of the electronic device 100 is smaller than the preset value, the configuration module may configure a preset register of the power control unit 130 through the system bus, so as to preset the flag information in the preset register.
In detail, the configuration module may issue a command to the power control unit 130 through the system bus, and after receiving the command, the power control unit 130 modifies the preset bit of the preset register to the preset value according to the command.
Through the above process, when the preset flag information exists in the power control unit 130, it indicates that the front power 112 of the electronic device 100 is sufficient to supply power to the memory 150 of the electronic device 100, that is, the power may also be supplied by the existing sleep power supply method.
In step S150, the power control unit 130 controls the memory secondary power supply 121 to disconnect from the main power supply 111, establish connection with the front power supply 112, and issue a power supply stop notification to the primary power supply 110, so as to control the primary power supply 110 to turn off the main power supply 111.
Alternatively, the main power source 111 and the front power source 112 may be electrically connected to the memory secondary power source 121 through a switch circuit, and the power control unit 130 is electrically connected to the switch circuit through a memory power source switching line. The switch circuit includes a first switch K1 and a second switch K2, the first switch K1 is electrically connected between the main power source 111 and the memory secondary power source 121, and the second switch K2 is electrically connected between the front power source 112 and the memory secondary power source 121.
When detecting that the preset flag information exists, the power control unit 130 controls the first switch K1 to be turned off through the memory power switching line, and controls the second switch K2 to be turned off, so that the memory secondary power supply 121 is disconnected from the main power supply 111, and is connected to the front power supply 112.
The power control unit 130 may be electrically connected to the memory secondary power supply 121 through a memory power status line, where the memory power status line is equivalent to a communication interface between the memory secondary power supply 121 and the power control unit 130, and the power control unit 130 may obtain and control a working state of the memory secondary power supply 121 through the memory power status line. In this embodiment, the power control unit 130 may determine whether the memory secondary power supply 121 is connected to the front power supply 112 through the memory power status line, and issue a power supply stop notification to the primary power supply 110 if the connection is established. When the primary power supply 110 receives the power supply stop notification, the primary power supply 111 is turned off.
Thus, when the electronic device 100 is in the sleep state, the memory 150 of the electronic device 100 is powered by the front power source 112, and the main power source 111 is turned off, so that the other components 170 in the electronic device 100 do not consume power any more.
When the preset flag information does not exist in the power control unit 130, it indicates that the front power 112 of the electronic device 100 is not sufficient to support the operation of the memory 150 thereof, and therefore the sleep control is still performed in step S120. That is, when the preset flag information does not exist in the power control unit 130, the step of sending the power supply stop notification to the other secondary power source 122 in step S120 is executed again.
Through the above process, the sleep control mode of the electronic device 100 can be regulated according to the number of memory banks actually configured by the electronic device 100.
In summary, the embodiment of the present application provides a power control method and an electronic device 100, where the electronic device 100 includes a primary power source 110, a secondary power source, a power control unit 130, a sleep control unit 140, and at least one memory bank. The primary power source 110 includes a primary power source 111, and the secondary power source includes a memory secondary power source 121 electrically connected to the primary power source 111 and other secondary power sources 122. The main power source 111 supplies power to the memory bank through the memory secondary power source 121, and supplies power to other components 170 in the electronic device 100 through the other secondary power sources 122. The primary power source 110 and the secondary power source are electrically connected to the sleep control unit 140 through the power control unit 130. The sleep control unit 140 transmits a system sleep notification to the power control unit 130 upon receiving a sleep control instruction input by a user. When receiving the system sleep notification, the power control unit 130 issues a power supply stop notification to the other secondary power supply 122 to control the other secondary power supply 122 to stop supplying power to the other component 170. In this manner, the electronic device 100 can be ensured to enter a sleep state in which only the memory 150 is powered, thereby reducing power consumption.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A power supply control method is applied to electronic equipment and is characterized in that the electronic equipment comprises a primary power supply, a secondary power supply, a power supply control unit, a sleep control unit and at least one memory bank;
the primary power supply comprises a main power supply and a front power supply, the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are respectively electrically connected with the main power supply, the main power supply supplies power to the memory bank through the memory secondary power supply, and the main power supply supplies power to other parts except the memory bank in the electronic equipment through the other secondary power supplies; the primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit; the method comprises the following steps:
the sleep control unit sends a system sleep notification to the power control unit when receiving a sleep control instruction input by a user;
and the power supply control unit sends a power supply stopping notification to the other secondary power supplies when receiving the system sleep notification so as to control the other secondary power supplies to stop supplying power to the other parts.
2. The method of claim 1, further comprising:
and the power supply control unit sends a notification of finishing sleep control to the sleep control unit when receiving feedback information sent by the other secondary power supplies after receiving the power supply stop notification.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the power supply control unit detects whether preset mark information exists or not when receiving the system sleep notification;
when the preset mark information exists, the power supply control unit controls the secondary power supply of the memory to be disconnected with the main power supply, establish connection with the front power supply, and issue a power supply stopping notification to the primary power supply so as to control the primary power supply to close the main power supply;
and when the preset mark information does not exist, sending a power supply stopping notification to the other secondary power supplies.
4. The method of claim 3, further comprising:
the electronic equipment acquires the number of the currently configured memory banks when being started, and when the number is smaller than a preset value, the marking information is preset in the power supply control unit.
5. The method according to claim 3, wherein the electronic device includes a configuration module, the configuration module is electrically connected to the power control unit through a system bus, and the configuration module configures a preset register of the power control unit through the system bus, so as to preset the flag information in the preset register.
6. An electronic device is characterized by comprising a primary power supply, a secondary power supply, a power supply control unit, a sleep control unit and at least one memory bank;
the primary power supply comprises a main power supply and a front power supply, the secondary power supply comprises a memory secondary power supply and other secondary power supplies which are respectively electrically connected with the main power supply, the main power supply supplies power to the memory bank through the memory secondary power supply, and the main power supply supplies power to other parts except the memory bank in the electronic equipment through the other secondary power supplies; the primary power supply and the secondary power supply are electrically connected with the sleep control unit through the power supply control unit;
the sleep control unit sends a system sleep notification to the power control unit when receiving a sleep control instruction input by a user;
and the power supply control unit sends a power supply stopping notification to the other secondary power supplies when receiving the system sleep notification so as to control the other secondary power supplies to stop supplying power to the other parts.
7. The electronic device of claim 6,
and the power supply control unit sends a notification of finishing sleep control to the sleep control unit when receiving feedback information sent by the other secondary power supplies after receiving the power supply stop notification.
8. The electronic device of claim 6 or 7,
the power supply control unit detects whether preset mark information exists or not when receiving the system sleep notification; when the preset mark information exists, the power supply control unit controls the secondary power supply of the memory to be disconnected with the main power supply, establish connection with the front power supply, and issue a power supply stopping notification to the primary power supply so as to control the primary power supply to close the main power supply; and when the preset mark information does not exist, the operation of sending a power supply stopping notification to the other secondary power supplies is executed again.
9. The electronic device of claim 8, wherein the electronic device obtains a number of currently configured memory banks at startup, and when the number is less than a preset value, the flag information is preset in the power control unit.
10. The electronic device according to claim 9, wherein the electronic device includes a configuration module, the configuration module is electrically connected to the power control unit through a system bus, and the configuration module configures a register of the power control unit through the system bus, so as to preset the flag information in the register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711405734.8A CN109976490B (en) | 2017-12-22 | 2017-12-22 | Power supply control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711405734.8A CN109976490B (en) | 2017-12-22 | 2017-12-22 | Power supply control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109976490A CN109976490A (en) | 2019-07-05 |
CN109976490B true CN109976490B (en) | 2021-03-09 |
Family
ID=67071004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711405734.8A Active CN109976490B (en) | 2017-12-22 | 2017-12-22 | Power supply control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109976490B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416449A (en) * | 2020-12-15 | 2021-02-26 | 北京梧桐车联科技有限责任公司 | Electronic equipment and starting method and starting device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1530795A (en) * | 2003-03-12 | 2004-09-22 | 联想(北京)有限公司 | Method for saving and restoring computer system operation state |
CN102360244A (en) * | 2011-09-28 | 2012-02-22 | 深圳市卓怡恒通电脑科技有限公司 | Standby method for lengthening standby time of computer |
CN103281498A (en) * | 2013-05-28 | 2013-09-04 | 深圳创维-Rgb电子有限公司 | Rapid power-on control system and television |
CN105045370A (en) * | 2015-07-01 | 2015-11-11 | 三星半导体(中国)研究开发有限公司 | Method for executing sleep state management in electronic terminal and electronic terminal for same |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9766675B2 (en) * | 2015-12-04 | 2017-09-19 | Intel Corporation | Methods and apparatuses to provide power in idle states |
-
2017
- 2017-12-22 CN CN201711405734.8A patent/CN109976490B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1530795A (en) * | 2003-03-12 | 2004-09-22 | 联想(北京)有限公司 | Method for saving and restoring computer system operation state |
CN102360244A (en) * | 2011-09-28 | 2012-02-22 | 深圳市卓怡恒通电脑科技有限公司 | Standby method for lengthening standby time of computer |
CN103281498A (en) * | 2013-05-28 | 2013-09-04 | 深圳创维-Rgb电子有限公司 | Rapid power-on control system and television |
CN105045370A (en) * | 2015-07-01 | 2015-11-11 | 三星半导体(中国)研究开发有限公司 | Method for executing sleep state management in electronic terminal and electronic terminal for same |
Also Published As
Publication number | Publication date |
---|---|
CN109976490A (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5165652B2 (en) | Power-saving electronic device for computer motherboard in standby state | |
JP5707321B2 (en) | Sleep processor | |
US8032773B2 (en) | Power-saving control apparatus and method for computer system in standby mode | |
JP3150567U (en) | Electronic device that reduces power consumption when computer motherboard shuts down | |
US20100185884A1 (en) | Standby power saving system and computer power-on and power-off method thereof | |
US20100095146A1 (en) | Personal computer power control method and device | |
US20100306563A1 (en) | Computer system for saving power consumption of a stand-by/power-off state and method thereof | |
WO2010124607A1 (en) | Control device, main board and computer | |
US7062668B2 (en) | Method and system for information handling system component power management sequencing | |
TW201432432A (en) | Power management circuit and method thereof and computer system | |
US8219842B2 (en) | Computer system and method for energy-saving operation of a computer system | |
JP2016189179A (en) | Power supply management system | |
US11086390B2 (en) | Method and apparatus for improving power management by controlling a system input current in a power supply unit | |
CN116700468A (en) | Server power supply design scheme capable of meeting independent power supply of DPU card | |
CN102437917A (en) | Network wake-up method, network wake-up device and computer | |
CN109976490B (en) | Power supply control method and electronic equipment | |
KR102129563B1 (en) | An apparatus and method for saving the consumption energy of a computer system by optimizing system resources | |
TW201541803A (en) | Portable electronic apparatus and charging control method thereof | |
KR20160105209A (en) | Electronic apparatus and method for contorolling power thereof | |
CN106301804A (en) | A kind of realize the server of WOL, system and method | |
US9466982B2 (en) | System and method for control of power consumption of information handling system devices | |
WO2017052830A1 (en) | High definition multimedia interface power management | |
CN109298892B (en) | Device and method for controlling startup and shutdown of server | |
CN113835516A (en) | Equipment management method, equipment and medium | |
KR20210012114A (en) | Switching mode power supply built-in standby power cut-off apparatus and method |
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 |