CN108196481B - Power supply adjusting method and electronic equipment - Google Patents

Power supply adjusting method and electronic equipment Download PDF

Info

Publication number
CN108196481B
CN108196481B CN201810000584.0A CN201810000584A CN108196481B CN 108196481 B CN108196481 B CN 108196481B CN 201810000584 A CN201810000584 A CN 201810000584A CN 108196481 B CN108196481 B CN 108196481B
Authority
CN
China
Prior art keywords
power
electronic
voltage
power supply
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810000584.0A
Other languages
Chinese (zh)
Other versions
CN108196481A (en
Inventor
李志勇
严志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810000584.0A priority Critical patent/CN108196481B/en
Publication of CN108196481A publication Critical patent/CN108196481A/en
Application granted granted Critical
Publication of CN108196481B publication Critical patent/CN108196481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Abstract

The invention provides a power supply adjusting method and electronic equipment, wherein the method comprises the following steps: acquiring working state information; and adjusting the output voltage of the power supply based on the working state information. The invention has the advantages of being capable of adaptively controlling the output voltage of the power supply equipment according to the working state of the electronic equipment, thereby realizing the effects of energy saving and environmental protection.

Description

Power supply adjusting method and electronic equipment
Technical Field
The embodiment of the invention relates to the field of energy-saving control, in particular to a power supply adjusting method and electronic equipment.
Background
With the development of energy-saving and environment-friendly concepts and technologies, the energy-saving requirements of various countries and international electrotechnical committees on the whole electronic equipment are higher and higher. For example, ES7.0 now requires the power supply to be raised from the copper (85%) of ES6.0 to gold (90%), ErP 2013 requires the shutdown loss of the whole machine to be reduced from 1.0W to 0.5W, the adapter is reduced from 0.5W to 0.21W under no load, and so on.
In view of the above, the technical means adopted in the prior art is generally to increase the efficiency of the power supply terminals (including standby and power-on efficiencies) as much as possible, or increase the efficiency of the D2D at the motherboard terminal (to reduce the loss), and also to reduce the operating loss of each device in the electronic device as much as possible. Although the above technical means can meet the energy saving requirement at present, with the stricter energy saving requirement, it is more and more difficult to meet the requirement only by adjusting each device of the electronic equipment, and the energy saving requirement of the electronic equipment can be usually realized only under a specific working configuration.
Disclosure of Invention
The embodiment of the invention provides a power supply adjusting method and electronic equipment capable of simply and conveniently realizing energy-saving requirements.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solutions:
a power supply regulation method, comprising:
acquiring working state information;
and adjusting the output voltage of the power supply based on the working state information.
In a preferred embodiment, the acquiring the operating state information includes:
monitoring the received control instruction;
and acquiring the working state information based on the control instruction.
In a preferred embodiment, the adjusting the output voltage of the power supply based on the operating state information includes:
determining a first voltage required in the working state based on the working state;
adjusting an output voltage of a power supply based on the determined first voltage.
In a preferred embodiment, the determining the first voltage required in the operating state based on the operating state includes:
acquiring a preset relation table;
inquiring a first power parameter corresponding to the acquired working state based on the preset relation table;
determining the first voltage based on the queried first power parameter.
In a preferred embodiment, the operating states include at least: at least one of a power-off state, a power-on state, a standby state, a dormant state and a sleeping state.
An embodiment of the present invention further provides an electronic device, which includes:
a processor configured to obtain operating state information and adjust an output voltage of a power supply based on the operating state information.
In a preferred embodiment, the processor is further configured to monitor the received control command, and obtain the operating state information based on the control command.
In a preferred embodiment, the processor further determines a first voltage required in the operating state based on the operating state, and adjusts an output voltage of the power supply based on the determined first voltage.
In a preferred embodiment, the method further comprises: the memory is internally stored with a preset relation table of the corresponding relation between the working state and the first power parameter;
the processor is further configured to query a first power parameter corresponding to the acquired working state based on the preset relation table, and determine the first voltage based on the queried first power parameter.
In a preferred embodiment, the operating status includes at least: at least one of a power-off state, a power-on state, a standby state, a dormant state and a sleeping state.
Based on the embodiments disclosed above, it can be seen that the embodiments of the present invention have the following advantages:
according to the embodiment of the invention, the output power of the power supply can be adjusted in real time according to the working state of the electronic equipment, so that the electronic equipment always works under an optimal voltage, the system and the power supply are supported to be in the most appropriate and most energy-saving state, and finally, energy conservation and environmental protection are realized.
Drawings
FIG. 1 is a schematic flow chart of a power regulation method in an embodiment of the present invention;
FIG. 2 is a schematic block diagram of an electronic device in an embodiment of the invention;
fig. 3 is a schematic block diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
The following detailed description of specific embodiments of the present invention is provided in connection with the accompanying drawings, which are not intended to limit the invention.
It will be understood that various modifications may be made to the embodiments disclosed herein. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Other modifications will occur to those skilled in the art within the scope and spirit of the disclosure.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above, and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It should also be understood that, although the invention has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of the invention, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure that may be embodied in various forms. Well-known and/or repeated functions and structures have not been described in detail so as not to obscure the present disclosure with unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
Hereinafter, embodiments of the present invention are described in detail with reference to the accompanying drawings, and embodiments of the present invention provide a power supply adjustment method and an electronic device, where the method may be applied to a power supply device terminal serving as a power supply source, and may also be applied to a terminal device terminal that performs an operation by using power supplied by the power supply device. According to the embodiment of the invention, the output voltage of the power supply equipment can be adjusted in real time according to the working state or power consumption requirement of the terminal equipment, so that the power requirement of the terminal equipment is matched with the output power of the power supply equipment, and the effects of energy conservation and environmental protection are achieved.
As shown in fig. 1, a schematic flow chart of a power supply adjusting method in an embodiment of the present invention is shown, where the method may include:
acquiring working state information; acquiring the operating state information of the powered electronic equipment;
and adjusting the output voltage of a power supply for supplying power to the electronic equipment based on the working state information.
Specifically, in an embodiment of the present invention, the method may be applied to an electronic device to be powered, that is, the operating state of the electronic device is obtained in real time, and an operating voltage required by the electronic device is determined, so as to control an output voltage of a power supply device serving as a power supply.
The method specifically comprises the following steps: acquiring the working state of the electronic equipment, wherein the electronic equipment is powered;
determining a first voltage required by the electronic equipment to operate based on the acquired working state;
generating and outputting a first instruction for adjusting an output voltage of a power supply based on the determined first voltage.
The electronic device in the embodiment of the present invention may be a device such as a mobile phone or a computer device, but is not limited to the embodiment of the present invention, and any device that can be supplied with power may be used as the electronic device in the embodiment of the present invention.
The electronic device may obtain a working state of the electronic device in real time, where the working state may include at least one of a shutdown state, a startup state, a standby state, a hibernation state, a sleep state, or a normal working state, and each working state may correspond to a voltage value or a voltage range required to maintain the state. That is, after the current operating state of the electronic device is obtained, the voltage value or the voltage range corresponding to the operating state may be correspondingly determined, so that the first instruction for adjusting the output voltage of the power supply device may be correspondingly sent to the power supply device.
Specifically, the processor of the electronic device may monitor, in real time, that the electronic device receives a control instruction, where the control instruction may include a power-on instruction, a power-off instruction, a standby instruction, a hibernation instruction, a sleep instruction, or a control instruction of an operating program, and based on the control instruction, the current operating state of the electronic device may be determined. For example, when a power-on instruction is received, it may be determined that the electronic device is in a power-on state, when a power-off instruction is received, it may be determined that the electronic device is in a state of being ready to be powered off or in a powered off state, and when a hibernation or sleep instruction is received, it may be determined that the electronic device is in a hibernation or sleep state. In addition, the embodiment of the present invention may also determine the current working state by detecting the running program of the electronic device, for example, when it is detected that the electronic device is running a program such as video playback, text editing, or web browsing, or other application programs, it may be determined that the electronic device is in a normal working state, that is, the electronic device is in a state of being operated or used by a user. After the current working state of the electronic device is determined or when the working state of the electronic device is determined to be changed, a first voltage required by the current working state may be further determined, where the first voltage may be a determined voltage value or a voltage range.
In addition, the corresponding relationship between the operating state and the first voltage may be stored in the memory of the electronic device, for example, the corresponding relationship between the operating state and the first power parameter may also be stored, the first power parameter may include the first voltage, and may also include other parameters of power and current, and a person skilled in the art may set the parameter information in the first power parameter according to a requirement, which is not limited herein.
After determining the operating state, the processor of the electronic device may obtain a first voltage corresponding to the operating state according to the correspondence stored in the memory, so that a first instruction for determining output power according to the first voltage may be sent to the power supply device through a connection port connected to the power supply device. The first command sent by the electronic device may include the first voltage, or may also include information about the operating state and the first voltage, and the power supply device may adjust the voltage value of its output power based on the first voltage in the first command, that is, adjust the output power to the first voltage or to a voltage within a range of the first voltage, thereby implementing matching between the supply power and the power required by the electronic device, and having the characteristic of energy saving.
The following illustrates the correspondence relationship between the operating state of the electronic device and the first low voltage in the embodiment of the present invention, but the present invention is not limited thereto.
1) When the system is shut down (S5, ready for shutdown or shutdown state), the required voltage is restored to the minimum voltage of 3V, i.e., the first voltage may be 3V;
2) the system is powered on (S0, power on state), and a first instruction is sent to the power supply device through the power connection port, where the first instruction includes information that the required first voltage is 20V;
3) the system enters an idle mode (or monitor turn off), the first voltage is 12V;
4) the system enters a standby state or S3/S4, determining that the first voltage is 5V;
5) when the electronic device is disconnected from the device when powered, the first voltage is 0V.
Therefore, the electronic equipment can always work under the optimal voltage in different working states, so that the system and the power supply are all in the most appropriate and most energy-saving state, and finally, energy conservation and environmental protection are realized.
In addition, in the embodiment of the present invention, the electronic device may also monitor the current power consumption value of the electronic device in real time, determine a required first voltage according to the power consumption value, and further adjust the power supply device to adjust the output voltage of the output power of the electronic device according to the first voltage.
That is, the processor of the electronic device may monitor the system power consumption in real time, and the system power consumption may be calculated by the difference between the output power and the input power of each electronic device in the electronic device. The processor may correspondingly determine the first voltage corresponding to the current system power consumption after detecting the system power consumption value or when detecting that the amount of change in the system power consumption of the electronic device exceeds a change threshold. The change threshold may be a value preset according to a requirement, and may be a different magnitude in different embodiments, and in addition, a correspondence between system power consumption and a first voltage or a correspondence between system power consumption and a first power parameter may also be stored in the memory, so that the processor may query the first voltage corresponding to the system power consumption value, and generate a first instruction for controlling a voltage value of output power of the power supply device based on the first voltage, thereby implementing matching between the output power of the power supply device and power required by the electronic device.
Based on the configuration, the output voltage of the power supply equipment can be adjusted by the power-supplied electronic equipment based on the working state or system power consumption of the power-supplied electronic equipment, so that the electronic equipment always works under the optimal voltage, the system and the power supply are all in the most appropriate and most energy-saving state, and finally energy conservation and environmental protection are realized.
In another embodiment of the present invention, the power supply adjusting method may also be applied to a power supply device as a power supply source, and the power supply device may include a power adapter or a power adjusting device.
Specifically, the power supply device executing the power supply adjusting method may include:
acquiring working state information of the electronic equipment;
and adjusting the output voltage of a power supply for supplying power to the electronic equipment based on the working state information of the electronic equipment.
Specifically, the power supply device may be connected to the electronic device through a power connection port, so as to output the output power provided by the power supply device to the electronic device for power supply application, and meanwhile, data communication between the electronic device and the power supply device may also be implemented, where the power connection port may include a TYPE C port.
The method for acquiring the operating state of the electronic device by the power supply device may include: the working state information transmitted by the electronic equipment is received through the power connection port, as described in the above embodiment, the electronic equipment can acquire the working state of the electronic equipment in real time, and when the working state is acquired and the switching of the working state is performed, the current working state can be at least sent to the power supply equipment, and at this time, the power supply equipment can correspondingly adjust the output voltage of the output power of the power supply equipment according to the working state of the electronic equipment.
Similarly, the power supply device in the embodiment of the present invention may also include a memory, where a corresponding relationship between the operating state of the electronic device and the first voltage may be stored in the memory, for example, the corresponding relationship between the operating state and the first power parameter may also be stored, the first power parameter may include the first voltage, and may also include other parameters of power and current, and a person skilled in the art may set parameter information in the first power parameter according to a requirement, which is not limited herein. The power supply device can adjust the voltage value of the output power of the power supply device based on the determined first voltage, namely, the output power is adjusted to the first voltage or adjusted to a voltage within the range of the first voltage, so that the matching of the power supply power and the power required by the electronic device is realized, and the power supply device has the characteristic of energy conservation.
In addition, the method for the power supply device to acquire the operating state of the electronic device may also include:
monitoring the received control instruction;
and acquiring the working state information based on the control instruction.
As described above, the electronic device may monitor the control instruction received by the electronic device in real time, such as a control instruction for turning off, turning on, sleeping, or running a program. For example, when a power-on instruction is received, it may be determined that the electronic device is in a power-on state, when a power-off instruction is received, it may be determined that the electronic device is in a state of being ready to be powered off or in a powered off state, and when a hibernation or sleep instruction is received, it may be determined that the electronic device is in a hibernation or sleep state. That is, the memory of the power supply device may store a corresponding relationship between the control command and the operating state, and determine the operating state according to the received control command, or may directly store a corresponding relationship between the control command and the first voltage, so as to directly determine the required first voltage and correspondingly adjust the voltage of the output power.
In addition, the power supply device may also obtain power consumption information of the electronic device, specifically, the electronic device may also transmit real-time power consumption information thereof to the power supply device, and the power supply device may adjust a voltage value of output power thereof correspondingly based on the power consumption value.
As described in the foregoing embodiment, the electronic device may further monitor a current power consumption value of the electronic device in real time, and transmit the power consumption value to the power supply device through the power connection port, and the power supply device may determine a first voltage required by the electronic device according to the power consumption value, and further adjust an output voltage of the output power of the electronic device according to the first voltage.
Specifically, the memory of the power supply device may further store a corresponding relationship between the power consumption value and the first voltage or the first power parameter, and after receiving the system power consumption value of the electronic device or when detecting that a variation of the system power consumption of the electronic device exceeds a variation threshold, the power supply device may correspondingly determine the first voltage corresponding to the current system power consumption, and output the corresponding output power according to the first voltage, so as to implement matching between the output power of the power supply device and the power required by the electronic device. Wherein the variation threshold can be a preset value according to the requirement, can be a different magnitude in different embodiments,
based on the configuration, the power supply equipment can adjust the output voltage of the power supply equipment based on the working state of the supplied electronic equipment or the system power consumption, so that the electronic equipment always works under an optimal voltage, and the power supply equipment always outputs the most appropriate output power, so that the system and the power supply are all in the most appropriate and most energy-saving states, and finally, energy conservation and environmental protection are realized.
In addition, an embodiment of the present invention may further provide an electronic device, where the power supply adjustment method described in the above embodiment may be applied to the electronic device, so as to implement reasonable application and adjustment of power between a power supply device and a device to be powered, and achieve the effects of energy saving and environmental protection.
As shown in fig. 2, a schematic structure diagram of an electronic device in an embodiment of the present invention is shown, where the electronic device is hereinafter referred to as a first electronic device, and the first electronic device may be a terminal device that supplies power to a power-supplied device, and may be a device such as a mobile phone and a computer device, but is not limited to the embodiment of the present invention, and any device that can be supplied with power may be used as the electronic device in the embodiment of the present invention.
As shown in fig. 2, the first electronic device in the embodiment of the present invention may include: a first memory 1, a first processor 2 and at least one first power connection port 3.
Wherein the at least one first power connection port 3 can be used for electrically connecting with the power supply device to receive and transfer power transmitted by the power supply device to provide the required power for the first electronic device. At the same time, the first power connection port 3 may also be used to establish a data connection between the power supply device and the first electronic device, i.e. to perform a data communication connection between the two. For example, the first power connection port 3 in the embodiment of the present invention may include a TYPE C port, or may be another TYPE of interface, and the embodiment of the present invention is not limited.
In addition, the first processor 2 may obtain operating state information of the first electronic device, and adjust the output voltage of the power supply based on the operating state information.
Specifically, the first processor 2 of the first electronic device in the embodiment of the present invention may obtain an operating state of the electronic device, determine a first voltage required for the electronic device to operate based on the obtained operating state, and generate and output a first instruction for adjusting an output voltage of the power supply based on the determined first voltage.
The first processor 2 may obtain its own working state in real time, where the working state may include at least one of a power-off state, a power-on state, an idle state, a standby state, a hibernation state, a sleep state, or a normal working state, and each working state may correspond to a voltage value or a voltage range required to maintain the state. That is, after acquiring the current operating state of the electronic device, the first processor 2 may correspondingly determine the voltage value or the voltage range corresponding to the operating state, so as to correspondingly send the first instruction for adjusting the output voltage of the power supply device to the power supply device.
Specifically, the first processor 2 of the electronic device may monitor, in real time, that the electronic device receives a control instruction, where the control instruction may include a power-on instruction, a power-off instruction, a standby instruction, a hibernation instruction, a sleep instruction, or a control instruction for running a program. The manner of receiving the control instruction by the first processor 2 may be to receive a received control instruction transmitted by an input/output device of the first electronic device, or may also be to receive the control instruction through a communication module, which is not specifically limited herein, and as long as the control instruction related to the switching of the operating state of the electronic device can be received, the embodiment of the present invention may be implemented.
Then, the first processor 2 may determine the current operating state of the first electronic device based on the acquired control instructions. For example, when a power-on instruction is received, it may be determined that the first electronic device is in a power-on state, when a power-off instruction is received, it may be determined that the first electronic device is in a state of being ready to be powered off or in a powered-off state, and when a hibernation or sleep instruction is received, it may be determined that the first electronic device is in a hibernation or sleep state. In addition, the embodiment of the present invention may also determine the current working state by detecting the running program of the electronic device, for example, when it is detected that the first electronic device is running a program such as video playback, text editing, or web browsing, or another application program, it may be determined that the first electronic device is in a normal working state, that is, at this time, the first electronic device is in a state operated or used by a user, or it may be determined that the first electronic device is in an idle state when no application program runs. For example, the first electronic device in the embodiment of the present invention may further include a program monitoring module, where the program monitoring module may monitor an application program currently run by the first electronic device, and the first processor 2 may be connected to the program monitoring module, so as to obtain a currently running program of the first electronic device through the program monitoring module, and further determine the working state.
After determining the current operating state of the first electronic device or when determining that the operating state of the first electronic device changes, the first processor 2 may further determine a first voltage required for the current operating state, where the first voltage may be a certain voltage value or a voltage range.
In addition, the first memory 1 of the first electronic device may store a corresponding relationship between the operating state and the first voltage, or may store a corresponding relationship between the operating state and the first power parameter, where the first power parameter may include the first voltage, and may also include other parameters of power and current, and a person skilled in the art may set parameter information in the first power parameter according to a requirement, which is not limited herein.
After determining the operating state or switching the operating state of the first electronic device, the first processor 2 of the first electronic device may obtain a first voltage corresponding to the operating state according to the correspondence stored in the first memory 1, so that a first instruction for determining output power according to the first voltage may be sent to the power supply device through the first power connection port connected to the power supply device. The first instruction sent by the first electronic device may include the first voltage, or may also include information of the operating state and the first voltage, and the power supply device may adjust the voltage value of the output power thereof based on the first voltage in the first instruction, that is, adjust the output power to the first voltage or to a voltage within a range of the first voltage, thereby implementing matching between the power supply power and the power required by the electronic device, and having the characteristic of energy saving.
The following illustrates, but is not limited to, the corresponding relationship between the operating state of the first electronic device and the first low voltage in the embodiment of the present invention.
1) When the system is shut down (S5, ready for shutdown or shutdown state), the required voltage is restored to the minimum voltage of 3V, i.e., the first voltage may be 3V;
2) the system is powered on (S0, power on state), and a first instruction is sent to the power supply device through the first power connection port, where the first instruction includes information that the required first voltage is 20V;
3) the system enters an idle mode (or monitor turn off), the first voltage is 12V;
4) the system enters a standby state or S3/S4, determining that the first voltage is 5V;
5) when the electronic device is disconnected from the device when powered, the first voltage is 0V.
Therefore, the electronic equipment can always work under the optimal voltage in different working states, so that the system and the power supply are all in the most appropriate and most energy-saving state, and finally, energy conservation and environmental protection are realized.
In addition, in the embodiment of the present invention, the first processor 2 may also monitor a current power consumption value of the first electronic device in real time, determine a required first voltage according to the power consumption value, and further adjust the power supply device to adjust the output voltage of the output power thereof according to the first voltage.
That is, the first processor 2 of the first electronic device may monitor the system power consumption in real time, and the system power consumption may be calculated by the difference between the output power and the input power of each electronic device in the first electronic device. The first processor 2 may correspondingly determine the first voltage corresponding to the current system power consumption after detecting the system power consumption value or when detecting that the amount of change in the system power consumption of the electronic device exceeds a change threshold. The change threshold may be a preset value according to a requirement, and may be a different magnitude in different embodiments, and in addition, a corresponding relationship between system power consumption and a first voltage, or a corresponding relationship between system power consumption and a first power parameter may also be stored in the first memory 1, so that the first processor 2 may query a first voltage corresponding to the system power consumption value, and generate a first instruction for controlling a voltage value of output power of the power supply device based on the first voltage, thereby implementing matching between the output power of the power supply device and power required by the electronic device.
Based on the configuration, the output voltage of the power supply equipment can be adjusted by the power-supplied electronic equipment based on the working state or system power consumption of the power-supplied electronic equipment, so that the electronic equipment always works under the optimal voltage, the system and the power supply are all in the most appropriate and most energy-saving state, and finally energy conservation and environmental protection are realized.
In addition, as shown in fig. 3, an embodiment of the present invention further provides a second electronic device, where the second electronic device may be a power supply device applying the power supply adjusting method, that is, a power supply operation may be performed on the first electronic device by the second electronic device.
As shown in fig. 3, the second electronic device in the embodiment of the present invention may include a second memory 4, a second processor 5, and a second power connection port 6, and may further include a power input terminal connected to an external power supply.
The second power connection port 6 of the second electronic device may be connected to the electronic device to be powered through the second power connection port 6, so as to output the output power provided by the second electronic device to the electronic device for power supply application, and meanwhile, data communication between the electronic device and the power supply device may also be implemented, where the power connection port 6 may include a TYPE C port.
Specifically, the second processor 5 in the second electronic device (power supply device) according to the embodiment of the present invention may execute the power supply adjustment method described above, including: acquiring working state information of the electronic equipment; and adjusting the output voltage of a power supply for supplying power to the electronic equipment based on the working state information of the electronic equipment.
The manner of acquiring the operating state of the electronic device by the second processor 5 may include: the second power connection port 6 receives the operating state information transmitted by the powered electronic device, as described in the above embodiment, the powered electronic device may obtain the operating state thereof in real time, and when the operating state is obtained and the operating state is switched, at least the current operating state may be sent to the second electronic device, and at this time, the second electronic device may correspondingly adjust the output voltage of the output power thereof according to the operating state of the electronic device.
Similarly, the second memory 4 in the embodiment of the present invention may store a corresponding relationship between the operating state of the electronic device and the first voltage, or may store a corresponding relationship between the operating state and the first power parameter, where the first power parameter may include the first voltage, and may also include other parameters of power and current, and a person skilled in the art may set parameter information in the first power parameter according to a requirement, which is not limited herein. The second processor 5 may then adjust the voltage value of its output power based on the determined first voltage, i.e., adjust the output power to the first voltage or to a voltage within a range of the first voltage, so as to achieve matching of the power supply power and the power required by the electronic device, and thus has the characteristic of energy saving.
In addition, the manner of acquiring the operating state of the electronic device by the second processor 5 may also include:
monitoring the received control instruction;
and acquiring the working state information based on the control instruction.
As described above, the electronic device to be powered may monitor the control instruction received by the electronic device in real time, such as a control instruction of shutdown, startup, hibernation, sleep, or running a program. For example, when a power-on instruction is received, it may be determined that the electronic device is in a power-on state, when a power-off instruction is received, it may be determined that the electronic device is in a state of being ready to be powered off or in a powered off state, and when a hibernation or sleep instruction is received, it may be determined that the electronic device is in a hibernation or sleep state. That is, the second memory 4 of the power supply device may store a corresponding relationship between the control command and the operating state, and determine the operating state according to the received control command, or may directly store a corresponding relationship between the control command and the first voltage, so as to directly determine the required first voltage and correspondingly adjust the voltage of the output power.
In addition, the second processor 5 may also obtain power consumption information of the electronic device, specifically, the first electronic device may also transmit real-time power consumption information thereof to the power supply device, and the second processor 5 of the power supply device may adjust the voltage value of the output power thereof based on the power consumption value.
As described in the foregoing embodiment, the electronic device may also monitor the current power consumption value of the electronic device in real time, and may transmit the power consumption value to the power supply device through the power connection port, and the second processor 5 of the power supply device may determine a first voltage required by the electronic device according to the power consumption value, and further adjust the output voltage of the output power of the electronic device according to the first voltage.
Specifically, the second memory 4 of the power supply device may further store a corresponding relationship between the power consumption value and the first voltage or the first power parameter, and after receiving the system power consumption value of the electronic device or when detecting that a variation of the system power consumption of the electronic device exceeds a variation threshold, the power supply device may correspondingly determine the first voltage corresponding to the current system power consumption, and output the corresponding output power according to the first voltage, so as to implement matching between the output power of the power supply device and the power required by the electronic device. Wherein the variation threshold can be a preset value according to the requirement, can be a different magnitude in different embodiments,
based on the configuration, the power supply equipment can adjust the output voltage of the power supply equipment based on the working state of the supplied electronic equipment or the system power consumption, so that the electronic equipment always works under an optimal voltage, and the power supply equipment always outputs the most appropriate output power, so that the system and the power supply are all in the most appropriate and most energy-saving states, and finally, energy conservation and environmental protection are realized.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the electronic device to which the data processing method described above is applied may refer to the corresponding description in the foregoing product embodiments, and details are not repeated herein.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.

Claims (6)

1. A power supply regulation method, comprising:
acquiring working state information of the electronic equipment;
adjusting the output voltage of the power supply based on the working state information;
the acquiring of the working state information of the electronic device includes the following steps:
monitoring system power consumption of the electronic equipment, wherein the system power consumption is obtained by calculating the difference between the output power and the input power of each electronic device in the electronic equipment;
after detecting a system power consumption value or when detecting that the variation of the system power consumption exceeds a variation threshold, acquiring the current working state information;
wherein adjusting the output voltage of the power supply based on the operating state information comprises:
determining a first voltage corresponding to the current system power consumption based on the current system power consumption;
adjusting an output voltage of a power supply based on the determined first voltage.
2. The method of claim 1, wherein the determining, based on the current system power consumption, the first voltage corresponding to the current system power consumption comprises:
acquiring a preset relation table;
inquiring a first power parameter corresponding to the acquired system power consumption based on the preset relation table;
determining the first voltage based on the queried first power parameter.
3. The method of claim 1, wherein the operational state of the electronic device comprises at least: at least one of a power-off state, a power-on state, a standby state, a dormant state and a sleeping state.
4. An electronic device, comprising:
a processor configured to obtain operating state information and adjust an output voltage of a power supply based on the operating state information;
wherein the processor is further configured to monitor a system power consumption of the electronic device, the system power consumption being calculated by a difference between an output power and an input power of each electronic device within the electronic device; after detecting a system power consumption value or when detecting that the variation of the system power consumption exceeds a variation threshold, acquiring the current working state information; and determining a first voltage corresponding to the current system power consumption based on the current system power consumption, and adjusting the output voltage of the power supply based on the determined first voltage.
5. The electronic device of claim 4, further comprising: the memory is internally stored with a preset relation table of the corresponding relation between the working state and the first power parameter;
the processor is further configured to query a first power parameter corresponding to the acquired system power consumption based on the preset relation table, and determine the first voltage based on the queried first power parameter.
6. The electronic device of claim 4, wherein the operational state of the electronic device comprises at least: at least one of a power-off state, a power-on state, a standby state, a dormant state and a sleeping state.
CN201810000584.0A 2018-01-02 2018-01-02 Power supply adjusting method and electronic equipment Active CN108196481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810000584.0A CN108196481B (en) 2018-01-02 2018-01-02 Power supply adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810000584.0A CN108196481B (en) 2018-01-02 2018-01-02 Power supply adjusting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108196481A CN108196481A (en) 2018-06-22
CN108196481B true CN108196481B (en) 2021-08-17

Family

ID=62587974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810000584.0A Active CN108196481B (en) 2018-01-02 2018-01-02 Power supply adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108196481B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435267A (en) * 2019-01-15 2020-07-21 海信集团有限公司 Method, device and equipment for automatically adjusting power consumption and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7793125B2 (en) * 2007-01-10 2010-09-07 International Business Machines Corporation Method and apparatus for power throttling a processor in an information handling system
CN102156527B (en) * 2010-02-11 2014-07-30 联想(北京)有限公司 Power adapter and portable computer
CN102520782A (en) * 2011-12-15 2012-06-27 江苏中科梦兰电子科技有限公司 Power supply management method based on automatic adjustment of processor nuclear number
TWI475368B (en) * 2012-11-21 2015-03-01 Giga Byte Tech Co Ltd Power control system and method thereof

Also Published As

Publication number Publication date
CN108196481A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
US8954767B2 (en) Standby current reduction through a switching arrangement with multiple regulators
EP3071980B1 (en) Dynamic voltage adjust circuits and methods
US20100185884A1 (en) Standby power saving system and computer power-on and power-off method thereof
CN103105918A (en) Electronic device and power management method thereof
CN203643943U (en) Multifunctional starting circuit and Bluetooth product
CN108196481B (en) Power supply adjusting method and electronic equipment
CN103294159A (en) Method and device for realizing shutdown zero power consumption of electronic equipment
CN105932733B (en) OTG power supply and its method of supplying power to, OTG equipment and mobile communication equipment
CN101853064A (en) Energy-saving control system
KR101741225B1 (en) A power saving apparatus and method of a computer system using SIO
CN101661728B (en) Display, method for controlling power supply thereof and computer
CN202948395U (en) USB (Universal Serial Bus) power supply circuit and device thereof
CN107590087B (en) Electronic equipment and hard disk access method of electronic equipment
CN105376420A (en) System and method for saving power consumption of SIM card in sleep mode
US9477300B2 (en) Bridging device and power saving method thereof
CN107561991A (en) A kind of switching on and shutting down management circuit and terminal
US10216253B2 (en) Universal serial bus hub and control method thereof
CN212838521U (en) Voice control circuit of fan
CN211701852U (en) Voltage reduction module and mobile terminal
KR102244643B1 (en) Switching mode power supply built-in standby power cut-off apparatus and method
KR101852501B1 (en) An apparatus and method for optimizing a power supply according to the usage of the system resources
KR101972917B1 (en) A power saving method of a computer system by automatically controlling registry setting values according to the idle resource
CN210744818U (en) Power supply system
US8667307B2 (en) Power control circuit and method of computer system
US8542001B2 (en) Power circuit for reducing standby power consumption

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