CN117666745A - Power supply control method, system and first equipment - Google Patents

Power supply control method, system and first equipment Download PDF

Info

Publication number
CN117666745A
CN117666745A CN202311873544.4A CN202311873544A CN117666745A CN 117666745 A CN117666745 A CN 117666745A CN 202311873544 A CN202311873544 A CN 202311873544A CN 117666745 A CN117666745 A CN 117666745A
Authority
CN
China
Prior art keywords
display device
equipment
state
power
connector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311873544.4A
Other languages
Chinese (zh)
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 CN202311873544.4A priority Critical patent/CN117666745A/en
Publication of CN117666745A publication Critical patent/CN117666745A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a power supply control method, a power supply control system and first equipment, wherein the first equipment is switched from a first state to a second state in response to the connection of the first equipment and second equipment through a connector; in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.

Description

Power supply control method, system and first equipment
Technical Field
The present disclosure relates to the field of control, and in particular, to a power supply control method, a system, and a first device.
Background
When the first device is connected with the second device for use, if the display screen of the first device displays the content to be displayed of the second device, meanwhile, the display screen of the first device is powered by the power module of the first device.
When the first device and the second device remain connected and the second device is in a power-off or sleep state, the display screen of the first device is still powered by the power module of the first device, so that the display screen of the first device is not powered off following the power-off or sleep state of the second device, thereby causing unnecessary increase of energy consumption.
Disclosure of Invention
In view of this, the present application provides a power supply control method, a system and a first device, and the specific scheme is as follows:
a power supply control method comprising:
switching a first device from a first state to a second state in response to the first device being connected to a second device through a connector;
in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
Further, the method further comprises the following steps:
and in response to disconnection between the first device and the second device through a connector, powering a display device of the first device by a control module of the display device.
Further, in the second state, the display device of the first device is powered by the second device, including:
and in the second state, the control modules of the second equipment and the display device are connected in parallel to supply power for the display device of the first equipment.
Further, the method further comprises the following steps:
And switching the first device to the first state under the condition that the time period for which the control module of the display device supplies power to the display device of the first device reaches a specific time period is determined.
Further, the power supply for the display device of the first device by the control module of the display device in response to the disconnection between the first device and the second device through the connector includes:
monitoring an output level of a control module of the display device;
and if the output level of the control module of the display device is monitored to be high, determining that the connection between the first equipment and the second equipment is disconnected through a connector, and supplying power to the display device of the first equipment by the control module of the display device.
Further, the method further comprises the following steps:
monitoring a detection pin connected with the connector on the first device;
and determining that the first device and the second device are connected through a connector or disconnected through the connector based on the level change of the detection pin.
Further, the method comprises the steps of,
a first operating system is operated in the first equipment;
a second operating system is operated in the second equipment, and the information to be displayed of the second equipment is an operating interface of the second operating system;
And in the first state, the display device displays an operation interface of the first operation system.
A first device, comprising:
a display device capable of displaying information to be displayed;
the power supply module can supply power for the display device;
a processor for switching a first device from a first state to a second state in response to the first device being connected to a second device through a connector;
in the first state, the display device is powered by a power supply of the first device, in the second state, the display device is powered by the second device, and the display device displays information to be displayed of the second device.
Further, the first device further includes:
and the processor is used for controlling the control module of the display device to supply power to the display device in response to the disconnection of the first equipment and the second equipment through the connector.
A power supply system, comprising:
a first device;
a second device;
a connector through which the first device can be connected with the second device;
the first device is used for responding to the connection of the first device and the second device through the connector, and switching the first device from a first state to a second state;
In the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
According to the technical scheme, the power supply control method, the power supply control system and the first equipment are used for switching the first equipment from the first state to the second state in response to the fact that the first equipment is connected with the second equipment through the connector; in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a power supply control method disclosed in an embodiment of the present application;
fig. 2 is a detailed schematic diagram of a power supply system according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a power supply control method disclosed in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a first apparatus disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a power supply system according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The application discloses a power supply control method, which comprises the following steps:
switching the first device from the first state to the second state in response to the first device being connected to the second device through the connector;
in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
The first device and the second device may be two independent devices, which may be connected by a connector, or used independently.
The first equipment at least comprises a display device and a power supply module, and the power supply module supplies power to the display device; the second device may also include its own power module.
When the first device is connected with the second device through the connector, the first device can be controlled to switch the state of the first device from a first state to a second state, wherein the first state is as follows: the display device of the first device is powered by the power module of the first device, and the second state is: the display device of the first device is powered by the second device and the display device of the first device displays information to be displayed of the second device.
If the first device is not connected to the second device, and at this time, the first device is not connected to the other device, the display device of the first device is for displaying information to be displayed of the first device, and if the first device does not have the information to be displayed, the display device may not display the content. If the electronic device displays content at the moment, the electronic device inevitably displays information to be displayed of the first device, and the power supply module of the first device supplies power to the display device so as to support the display device to display the information to be displayed of the first device.
If the first device is connected with the second device through the connector, the display device of the first device displays information to be displayed of the second device, and if the display device of the first device is still powered by the power module of the first device at this time, when the connection between the first device and the second device is disconnected, the display device of the first device cannot follow the on-off state, the dormant state and the like of the second device to realize power failure, so that the energy consumption is higher.
Therefore, in this solution, if the first device is connected to the second device through the connector, the display device of the first device is adjusted to be powered by the second device by supplying power to the power module of the first device.
If the first equipment is connected with the second equipment through the connector, the display device of the first equipment not only can display the information to be displayed of the second equipment, but also is adjusted to be powered by the second equipment, and when the second equipment is adjusted to be in a power-off state, the second equipment does not have the information to be displayed, and the display device of the first equipment does not output content any more; and when the second equipment is shut down, if the second equipment is still in a connection state with the first equipment, at the moment, the display device of the first equipment can be powered off along with the shutdown of the second equipment, so that the problem that the power consumption is increased due to the fact that the display device of the first equipment still supplies power when the second equipment is shut down is solved.
Further, a first operating system can be operated in the first device, a second operating system is operated in the second device, and information to be displayed of the second device is an operating interface of the second operating system; in the first state, the display device displays an operation interface of the first operation system.
If the first device can operate the first operating system, the first device needs to include a processor, and the first device is an independently operable electronic device with the first operating system, and the display device on the first device can display information to be displayed of the first device, that is, the display device of the first device can display an operation interface of the first operating system.
If the second equipment can be operated with a second operating system, the second equipment also needs to comprise a processor, the second equipment can comprise a display device or not, and if the second equipment comprises the display device, the second equipment can display information to be displayed through the display device which is internally arranged when the second equipment is not connected with the first equipment; if the second device does not include a display device, the second device can only process background data and cannot display the process of data processing when the second device is not connected with the first device.
When the second equipment is connected with the first equipment, the display channel and the power supply channel of the display device of the first equipment are switched, the display channel is switched to be provided with information to be displayed by the second equipment for displaying, and the power supply channel is switched to be provided with power for the display device by the second equipment. Therefore, when the second device is connected with the first device, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device; when the second equipment is in a shutdown or dormant state, the display device of the first equipment can be powered off along with the state of the second equipment, so that unnecessary energy consumption is avoided; when the second device is switched from the shutdown state or the dormant state to the wake-up state, the display device of the first device is powered on along with the state of the second device, so that the display device of the first device can be powered off or powered on along with the state of the second device.
Specifically, when the first device and the second device are connected through the connector, it may specifically be formed that: the product form of the notebook computer under the Hybrid architecture is provided with two parts, namely a first device and a second device, wherein the two parts are respectively provided with corresponding processors, the first device is provided with a display device, a touch screen and the like, the second device is provided with a keyboard, a mouse and the like, when the first device and the second device are in physical connection through a connector, the second device supplies power for the display device of the first device, and the display device of the first device displays information to be displayed of the second device.
According to the power supply control method disclosed by the embodiment, the first equipment is switched from the first state to the second state in response to the connection of the first equipment and the second equipment through the connector, wherein in the first state, a display device of the first equipment is powered by a power module of the first equipment, in the second state, a display device of the first equipment is powered by the second equipment, and the display device of the first equipment displays information to be displayed of the second equipment. According to the scheme, when the first equipment is connected with the second equipment, the display device of the first equipment is adjusted to be powered by the second equipment by the power supply module of the first equipment, so that the display device of the first equipment can be used as an extension equipment to display information to be displayed of the second equipment, meanwhile, the second equipment is used for powering the display device of the first equipment, when the display device of the first equipment displays the information to be displayed of the second equipment, the display device of the first equipment can be powered or powered off along with the state of the second equipment, and the situation that energy consumption is increased due to the fact that the display device of the first equipment cannot be powered off along with the state of the second equipment when the display device of the first equipment displays the information to be displayed of the second equipment is avoided.
The embodiment discloses a power supply control method, a flowchart of which is shown in fig. 1, comprising:
step S11, responding to the connection of the first equipment and the second equipment through the connector, and switching the first equipment from the first state to the second state; in a first state, the display device of the first device is powered by the power module of the first device, in a second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device;
and step S12, responding to disconnection between the first equipment and the second equipment through a connector, and supplying power to the display device of the first equipment by a control module of the display device.
If the first device is connected with the second device, the display device of the first device displays information to be displayed of the second device, and the display device of the first device is powered by the power module of the first device and adjusted to be powered by the second device, so that the display device of the first device can be powered off following the shutdown state or the dormancy state of the second device when the first device is connected with the second device.
Because the first equipment and the second equipment are in physical connection through the connector, the second equipment supplies power for the display device of the first equipment, when the first equipment and the second equipment are in the physical connection process, the physical connection between the first equipment and the second equipment is disconnected, and at the moment of the physical connection between the first equipment and the second equipment being disconnected, the second equipment can not supply power for the display device of the first equipment any more, and meanwhile, the second equipment can not supply information to be displayed for the display device of the first equipment any more.
If the display device of the first device displays the information to be displayed of the second device, in a state that the display device of the first device is powered by the second device, a situation that the physical connection between the first device and the second device is suddenly disconnected occurs, in general, the display device of the first device is suddenly powered off, which results in abnormal power on and power off time sequence of the display device of the first device.
In order to avoid this problem, in this solution, the control module of the display device may supply power to the display device of the first device when the physical connection between the first device and the second device via the connector is broken.
The display device of the first equipment is provided with a control module, and the control module can supply power to the display device briefly after the physical connection between the first equipment and the second equipment is disconnected, so that the display device completes a power-down time sequence, and the problem of disordered power-up and power-down time sequences is avoided.
The control module of the display device is directly connected with the display device, and the physical connection between the first device and the second device is disconnected only when the display device of the first device is powered by the second device, so that the control module of the display device can supply power to the display device of the first device to ensure the power-down time sequence and the discharge time sequence of the display device in order to avoid sudden power failure of the display device.
When the first equipment is not connected with the second equipment, namely the display device of the first equipment can only display the information to be displayed of the first equipment, at the moment, the power supply module of the first equipment directly supplies power to the display device of the first equipment, the control module of the display device is not required to be controlled, and the control module is not required to supply power to the display device;
when the first equipment is connected with the second equipment through the connector, the display device of the first equipment displays information to be displayed of the second equipment, the display device of the first equipment is powered by the second equipment, and at the moment, a control module of the display device can be omitted;
when the connection between the first equipment and the second equipment is disconnected through the connector, the physical connection between the first equipment and the second equipment is suddenly disconnected, at the moment, the second equipment can not supply power to the display device of the first equipment any more, and at the moment of disconnection of the physical connection between the first equipment and the second equipment, the control module of the display device is switched to supply power to the display device.
In the process that the control module of the display device supplies power to the display device, the display device can execute the power-down time sequence aiming at the second equipment and execute the discharge time sequence, after the discharge is completed, if the power module of the first equipment is required to supply power to the display device, the power-up time sequence aiming at the first equipment is required to be executed, so that the display device can be switched to supply power to the display device by the power module of the first equipment after the normal power-up and power-down time sequence is executed, and the risk of reduction of service life caused by abnormal power-up and power-down time sequences is avoided.
If the power-on time sequence and the discharging time sequence are finished, the power supply of the display device is not needed, and the control module of the display device stops supplying power to the display device; if the power supply to the display device is still needed after the power-down time sequence and the discharge time sequence are executed, the control module of the display device can be stopped to supply power to the display device when the power-up time sequence of the power supply module of the first equipment to the display device is executed, namely, the control module of the display device supplies power to the display device temporarily, and only the purpose of ensuring the normal power-up time sequence and power-down time sequence of the display device is ensured.
Specifically, it may be:
and switching the first device to the first state in case it is determined that the time period for which the display device of the first device is powered by the control module of the display device reaches a certain time period.
Because the controller module of the display device supplies power to the display device, the controller module of the display device only supplies power required by the power on and off time sequence for the display device when the physical connection between the first equipment and the second equipment is disconnected, so that the controller module of the display device only supplies power to the display device for a specific time.
The specific time length is a time length required by the display device to execute the power-down operation and the discharging operation of the display device for the second equipment, and the first equipment is switched into the first state as long as the display device executes the power-down operation and the discharging operation of the display device for the second equipment, and the first state is that the display device of the first equipment is powered by the power module of the first equipment. The time period required for the display device to perform the power-down operation and the discharge operation of the display device for the second device is less than or equal to the specific time period.
The embodiment discloses a power supply control method, which responds to the connection of first equipment and second equipment through a connector, and switches the first equipment from a first state to a second state; in a first state, the display device of the first device is powered by the power module of the first device, in a second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device; the display device of the first device is powered by the control module of the display device in response to a disconnection between the first device and the second device via the connector. The scheme realizes that the display device of the first equipment can be used as the extension equipment to display the information to be displayed of the second equipment, meanwhile, the second equipment supplies power to the display device of the first equipment, so that when the display device of the first equipment displays the information to be displayed of the second equipment, the display device of the first equipment can supply power or cut off power along with the state of the second equipment, and the situation that when the display device of the first equipment displays the information to be displayed of the second equipment, the display device of the first equipment cannot cut off power along with the state of the second equipment, so that the energy consumption is increased is avoided; in addition, when the connection between the first equipment and the second equipment is disconnected, the control module of the display device can supply power to the display device, so that abnormal power-down time sequence caused by sudden power failure of the display device is avoided, normal running of the power-on and power-off time sequence of the display device is ensured, and the service life of the display device is ensured.
Further, in the power supply control method disclosed in this embodiment, in the second state, the display device of the first device is powered by the second device, which may specifically be:
in the second state, the control modules of the second device and the display device are connected in parallel to supply power to the display device of the first device.
When the first device is connected with the second device through the connector and the second device supplies power for the display device of the first device, the control module not only comprises the second device but also can comprise the display device of the first device, wherein the display device of the first device displays the information to be displayed of the second device.
When the first equipment is connected with the second equipment through the connector, the second equipment and the control module of the display device are connected in parallel to supply power for the display device, wherein the electric energy of the control module of the display device is derived from the electric energy stored by the control module of the display device, or the first equipment, or the second equipment.
Specifically, the control module of the display device may have an electric energy storage function, so that when the control module of the display device is required to be used as a power source, the electric energy stored in the control module can be directly output to the display device, so that the display device can complete power-down and discharge time sequences.
If the first device is in the first state, that is, the power supply module of the first device supplies power to the display device of the first device, the power supply module of the first device supplies power to the display device and can also supply a part of electric energy to the control module of the display device, so that the control module of the display device can store the electric energy;
if the first equipment is in a second state, namely, the control modules of the second equipment and the display device are connected in parallel to supply power to the display device, if the electric energy of the control module of the display device is derived from the second equipment, the second equipment supplies power to the display device of the first equipment and simultaneously supplies power to the control module of the display device, the control module can store a part of electric energy, and the electric energy stored by the control module can supply power to the display device;
when the connection between the first equipment and the second equipment is disconnected through the connector, the second equipment cannot supply power to the display device of the first equipment any more, and cannot supply power to the control module of the display device any more, however, when the first equipment is connected with the second equipment through the connector, not only the second equipment supplies power to the display device of the first equipment, but also the control module of the display device supplies power to the display device, and at the moment that the physical connection between the first equipment and the second equipment is disconnected, the second equipment stops supplying power to the display device of the first equipment, but the control module of the display device does not influence the power supply path of the display device, namely, at the moment, the control module of the display device can continue to supply power to the display device so as to ensure that the display device can execute the power-down time sequence and the power-up time sequence aiming at the second equipment, thereby realizing that the power-up time sequence can be smoothly executed when the display device needs to be normally powered.
Then, as shown in fig. 2, a schematic diagram of a power supply system on which the power supply control method disclosed in the embodiment of the present application is based includes: a first device 21, a second device 22 and a connector 23, wherein the first device 21 comprises: the display device comprises a first processor 211, a display device 212, a control module 213 of the display device, a power module 214, a power switch 215 and a display switch 216; the second device 22 includes: a second processor 221.
If the first equipment is not connected with the second equipment through the connector, the first processor controls the content displayed by the display device, and at the moment, the display change-over switch controls the conduction of a passage between the first processor and the display device; the first processor controls the power supply module to supply power to the display device, and at the moment, the power supply change-over switch controls the conduction of a passage between the power supply module and the display device;
if the first equipment is connected with the second equipment through the connector, the second processor controls the content displayed by the display device, and at the moment, the display change-over switch controls the conduction of a passage between the second processor and the display device; the second processor controls the second equipment and the control module of the display device to be connected in parallel to supply power to the display device, and at the moment, the power supply change-over switch controls the second equipment and the display device, and a passage between the control module of the display device and the display device is conducted;
If the connection between the first equipment and the second equipment is disconnected through the connector, the second equipment is not used for supplying power to the display device, and at the moment, only the control module of the display device supplies power to the display device, so that the normal running of the power on and off time sequence of the display device is ensured, and the service life of the display device is prolonged.
The embodiment discloses a power supply control method, a flowchart of which is shown in fig. 3, including:
step S31, responding to the connection of the first equipment and the second equipment through the connector, switching the first equipment from a first state to a second state, wherein in the first state, a display device of the first equipment is powered by a power module of the first equipment, in the second state, the display device of the first equipment is powered by the second equipment, and the display device of the first equipment displays information to be displayed of the second equipment;
step S32, monitoring the output level of a control module of the display device;
step S33, if it is determined that the connection between the first device and the second device is disconnected through the connector under the condition that the output level of the control module of the display device is monitored to be high level, the control module of the display device supplies power to the display device of the first device.
When it is determined that the connection between the first device and the second device is disconnected through the connector, the physical connection between the first device and the second device is disconnected, and it is further determined whether the display device is powered down before the physical connection between the first device and the second device is disconnected, so that it is determined whether the display device needs to be powered by the control module of the display device based on the determination result of whether the display device is powered down.
If the display device is powered down before the physical connection between the first device and the second device is broken, then no adjustment or control is required at this time; if the display device is not powered down before the physical connection between the first device and the second device is disconnected, that is, the display device still displays the information to be displayed of the second device, the physical connection disconnection between the first device and the second device is indicated to belong to a hot-drawing process, that is, the physical connection between the first device and the second device is disconnected in the normal operation process of the device, and at this time, in order to ensure that the display device can normally execute the power-on and power-off time sequence, the control module of the display device is required to continuously supply power to the display device.
When the physical connection between the first device and the second device is disconnected, the control module of the display device continues to supply power to the display device to avoid abnormal power-on and power-off time sequence caused by hot drawing of the display device, so when the physical connection between the first device and the second device is determined to be disconnected, the display device is powered down, for example: when the second device is in an off or standby state, the physical connection between the first device and the second device is disconnected, at this time, the display device does not display any content any more, and the display device is powered down, so that the control module of the display device does not need to be kept to supply power to the display device.
Correspondingly, if it is determined that the physical connection between the first device and the second device is disconnected, the display device of the first device still displays the information to be displayed of the second device, and at this time, the second device is directly not powered any more, so that in order to ensure smooth power-down time sequence of the display device, the power supply module of the display device needs to continue to supply power to the display device, so that the display device can complete power-down and discharge time sequences.
Specifically, whether the display device is displaying information to be displayed of the second apparatus may be determined based on an output level of the control module of the display device.
Because the control module of the display device is powered by the second equipment, as long as the second equipment is in a state of powering the display device, the level of powering the display device by the second equipment is high, the control module of the display device is in a state of powering the display device, and at this time, the output level of the control module of the display device is powered by the second equipment, namely, is necessarily high;
if the second device does not supply power to the display device of the first device due to operations such as shutdown or standby, the display device normally executes the power-down and discharge time sequence, the level of the second device for supplying power to the display device is low, and meanwhile, the output level of the control module of the display device follows the level of the second device for supplying power to the display device, namely, the output level is necessarily low.
Therefore, whether the control module of the display device continues to supply power to the display device can be determined based on whether the output level of the control module is high or low, if the output level of the control module of the display device is low, the control module of the display device does not supply power to the display device any more, and if the output level of the control module of the display device is high, the control module of the display device continues to supply power to the display device, at this time, the control module of the display device does not need to consider whether the second device supplies power to the display device, as long as the output level of the control module of the display device is guaranteed to follow the level of the second device supplying power to the display device.
Upon determining that the connection between the first device and the second device via the connector is broken, a determination may be made as to the output level of the control module of the display device to determine whether power needs to be supplied to the display device by the control module of the display device.
In addition, when the first equipment and the second equipment are in a connection state through the connector, whether the level of the second equipment for supplying power to the display device changes or not can be monitored in real time, when the level of the second equipment for supplying power to the display device is not changed, no adjustment is needed, when the level of the second equipment for supplying power to the display device is changed, delay shake removal is performed, whether the connection state of the first equipment and the second equipment through the connector changes or not is further judged, if the connection state is not changed, the output level of the control module of the display device is not needed, and if the connection state is changed, the control module of the display device follows the level of the second equipment for supplying power to the display device.
In the power supply control method disclosed by the embodiment, in response to the connection of the first device and the second device through the connector, the first device is switched from a first state to a second state, in the first state, a display device of the first device is powered by a power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device; monitoring an output level of a control module of the display device; if the output level of the control module of the display device is monitored to be high, the connection between the first equipment and the second equipment through the connector is determined to be disconnected, and the control module of the display device supplies power for the display device of the first equipment. According to the scheme, whether the output level of the control module based on the display device and the connection between the first equipment and the second equipment through the connector are disconnected or not is determined, whether the control module of the display device supplies power to the display device or not is determined, so that whether the control module of the display device is required to supply power to the display device or not is determined based on accurate judgment when the physical connection between the first equipment and the second equipment is disconnected, and the detection accuracy is ensured.
Further, in the power supply control method disclosed in this embodiment, the method may further include:
monitoring a detection pin connected with the connector on the first device; the first device is determined to be connected to the second device through the connector or disconnected from the connector based on the level change of the detection pin.
The determination of whether the first device is connected to the second device via the connector may be performed by monitoring a sense pin on the first device that is connected to the connector, and determining based on a change in a level of the sense pin.
Firstly determining whether the detection pin has a change, judging whether the level of the detection pin is pulled up or pulled down if the level of the detection pin is changed, if the level of the detection pin is pulled down, determining that the first equipment is connected with the second equipment through a connector, at the moment, controlling a display device of the first equipment to execute a power-down time sequence and a discharge time sequence aiming at the first equipment, switching a power supply switching switch and a display switching switch after the power-down time sequence and the discharge time sequence are executed, switching the power supply switching switch into a mode that a control module of the second equipment and the display device supplies power for the display device, switching the display switching switch into a mode that the second equipment supplies power for the display device, and executing a power-up time sequence aiming at the second equipment to complete the power-up time sequence of the display device, and then, supplying power for the display device by the second equipment and a control module of the display device, and displaying the information to be displayed of the second equipment by the display device;
In the process that the second equipment supplies power to the display device, whether the level of the second equipment for supplying power to the display device changes or not can be monitored in real time, if the level of the second equipment for supplying power to the display device does not change, no control is needed, if the level of the second equipment for supplying power to the display device does not change, after the delay and the shake removal are carried out, whether the state of physical connection between the first equipment and the second equipment through the connector changes or not is detected, if the state of physical connection does not change, no control is needed, if the state of physical connection does not change, the level of the second equipment for supplying power to the display device is determined, if the state of the second equipment is high, the output level of a control module of the display device is adjusted to be high, and if the state of the second equipment for supplying power to the display device is low, the output level of the control module of the display device is adjusted to be low.
If the level of the detection pin is determined to be pulled high, it can be determined that the physical connection between the first device and the second device is disconnected through the connector, at this time, whether the output level of the control module of the display device is high or low needs to be further detected, and if the output level of the control module of the detection device is low, it indicates that the display device is in a power-down state when the physical connection between the first device and the second device is disconnected through the connector, at this time, no operation needs to be performed; if the output level of the control module of the detection device is determined to be high, it indicates that the display device is in a power-on state when the physical connection between the first device and the second device is disconnected through the connector, that is, the disconnection belongs to hot drawing, at this time, power-down and discharge time sequences are required to be executed on the display device, therefore, the control module of the display device is controlled to supply power to the display device so as to ensure that the power-down time sequences and the discharge time sequences of the display device are completed for the second device, when the power-down time sequences and the discharge time sequences of the second device are executed, the power supply switch and the display switch are switched to supply power to the display device by the first device, the display switch is switched to provide information to be displayed for the display device by the first device, when the switching is completed, the power-up time sequences of the display device for the first device are executed again so as to realize the power-up and power-down time sequences of the display device, and then the display device is powered by the first device, and the display device displays the information to be displayed by the first device.
By the power supply control method disclosed by the embodiment, when the power supply equipment of the display device changes, the requirements of the power-down time sequence, the discharge time sequence and the power-up time sequence of the display device are met, and the problem that the service life of the display device is influenced due to the fact that the power-up time sequence and the power-down time sequence do not meet the requirements is solved.
The embodiment discloses a first device, the structure of which is shown in fig. 4, and the first device comprises:
a display device 41, a power module 42 and a processor 43.
Wherein the display device 41 is capable of displaying information to be displayed;
the power module 42 is capable of powering the display device;
the processor 43 is configured to switch the first device from the first state to the second state in response to the first device being connected to the second device through the connector;
in the first state, the display device is powered by a power supply of the first device, in the second state, the display device is powered by the second device, and the display device displays information to be displayed of the second device.
Further, the first device disclosed in this embodiment may further include:
and a control module of the display device.
The processor controls power to be supplied to the display device by the control module of the display device in response to disconnection between the first device and the second device through the connector.
Further, the processor is used for
In the second state, the control module of the second device and the display device are controlled to supply power to the display device of the first device in parallel.
Further, the processor is further configured to:
and switching the first device to the first state in case it is determined that the time period for which the display device of the first device is powered by the control module of the display device reaches a certain time period.
Further, the processor is configured to:
monitoring an output level of a control module of the display device; if the output level of the control module of the display device is monitored to be high, the connection between the first equipment and the second equipment through the connector is determined to be disconnected, and the control module of the display device supplies power for the display device of the first equipment.
Further, the processor is further configured to:
monitoring a detection pin connected with the connector on the first device; the first device is determined to be connected to the second device through the connector or disconnected from the connector based on the level change of the detection pin.
Further, the method comprises the steps of,
the first device is provided with a first operating system; the second equipment is internally provided with a second operating system in an operation mode, and information to be displayed of the second equipment is an operating interface of the second operating system; in the first state, the display device displays an operation interface of the first operation system.
The first device disclosed in this embodiment is implemented based on the power supply control method disclosed in the foregoing embodiment, and will not be described herein.
The first device disclosed in the embodiment responds to the connection of the first device and the second device through the connector, and switches the first device from a first state to a second state, wherein in the first state, a display device of the first device is powered by a power module of the first device, in the second state, a display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device. According to the scheme, when the first equipment is connected with the second equipment, the display device of the first equipment is adjusted to be powered by the second equipment by the power supply module of the first equipment, so that the display device of the first equipment can be used as an extension equipment to display information to be displayed of the second equipment, meanwhile, the second equipment is used for powering the display device of the first equipment, when the display device of the first equipment displays the information to be displayed of the second equipment, the display device of the first equipment can be powered or powered off along with the state of the second equipment, and the situation that energy consumption is increased due to the fact that the display device of the first equipment cannot be powered off along with the state of the second equipment when the display device of the first equipment displays the information to be displayed of the second equipment is avoided.
The embodiment discloses a power supply system, the schematic structural diagram of which is shown in fig. 5, comprising:
first device 51, second device 52 and connector 53.
Wherein the first device is connectable with the second device via the connector;
the first device is used for responding to the connection of the first device and the second device through the connector, and switching the first device from the first state to the second state;
in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
The specific schematic diagram of the power supply system disclosed in this embodiment may be shown in fig. 2.
The power supply system disclosed in this embodiment is implemented based on the power supply control method disclosed in the foregoing embodiment, and will not be described herein.
In the power supply system disclosed in this embodiment, in response to the first device being connected to the second device through the connector, the first device is switched from a first state to a second state, where in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device. According to the scheme, when the first equipment is connected with the second equipment, the display device of the first equipment is adjusted to be powered by the second equipment by the power supply module of the first equipment, so that the display device of the first equipment can be used as an extension equipment to display information to be displayed of the second equipment, meanwhile, the second equipment is used for powering the display device of the first equipment, when the display device of the first equipment displays the information to be displayed of the second equipment, the display device of the first equipment can be powered or powered off along with the state of the second equipment, and the situation that energy consumption is increased due to the fact that the display device of the first equipment cannot be powered off along with the state of the second equipment when the display device of the first equipment displays the information to be displayed of the second equipment is avoided.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A power supply control method comprising:
switching a first device from a first state to a second state in response to the first device being connected to a second device through a connector;
in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
2. The method of claim 1, further comprising:
and in response to disconnection between the first device and the second device through a connector, powering a display device of the first device by a control module of the display device.
3. The method of claim 2, the display device of the first device being powered by the second device in the second state, comprising:
and in the second state, the control modules of the second equipment and the display device are connected in parallel to supply power for the display device of the first equipment.
4. The method of claim 2, further comprising:
and switching the first device to the first state under the condition that the time period for which the control module of the display device supplies power to the display device of the first device reaches a specific time period is determined.
5. The method of claim 2, the powering, by the control module of the display device, the display device of the first device in response to a disconnection between the first device and the second device via a connector, comprising:
monitoring an output level of a control module of the display device;
and if the output level of the control module of the display device is monitored to be high, determining that the connection between the first equipment and the second equipment is disconnected through a connector, and supplying power to the display device of the first equipment by the control module of the display device.
6. The method of claim 2, further comprising:
monitoring a detection pin connected with the connector on the first device;
and determining that the first device and the second device are connected through a connector or disconnected through the connector based on the level change of the detection pin.
7. The method of claim 1, wherein,
a first operating system is operated in the first equipment;
a second operating system is operated in the second equipment, and the information to be displayed of the second equipment is an operating interface of the second operating system;
and in the first state, the display device displays an operation interface of the first operation system.
8. A first device, comprising:
a display device capable of displaying information to be displayed;
the power supply module can supply power for the display device;
a processor for switching a first device from a first state to a second state in response to the first device being connected to a second device through a connector;
in the first state, the display device is powered by a power supply of the first device, in the second state, the display device is powered by the second device, and the display device displays information to be displayed of the second device.
9. The apparatus of claim 8, the first apparatus further comprising:
and the processor is used for controlling the control module of the display device to supply power to the display device in response to the disconnection of the first equipment and the second equipment through the connector.
10. A power supply system, comprising:
a first device;
a second device;
a connector through which the first device can be connected with the second device;
the first device is used for responding to the connection of the first device and the second device through the connector, and switching the first device from a first state to a second state;
in the first state, the display device of the first device is powered by the power module of the first device, in the second state, the display device of the first device is powered by the second device, and the display device of the first device displays information to be displayed of the second device.
CN202311873544.4A 2023-12-29 2023-12-29 Power supply control method, system and first equipment Pending CN117666745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311873544.4A CN117666745A (en) 2023-12-29 2023-12-29 Power supply control method, system and first equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311873544.4A CN117666745A (en) 2023-12-29 2023-12-29 Power supply control method, system and first equipment

Publications (1)

Publication Number Publication Date
CN117666745A true CN117666745A (en) 2024-03-08

Family

ID=90073381

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311873544.4A Pending CN117666745A (en) 2023-12-29 2023-12-29 Power supply control method, system and first equipment

Country Status (1)

Country Link
CN (1) CN117666745A (en)

Similar Documents

Publication Publication Date Title
US6618042B1 (en) Display brightness control method and apparatus for conserving battery power
US5721934A (en) Retrofit external power saving system and method for use
US5825100A (en) Intelligent battery power system
US5504908A (en) Power saving control system for computer system
US9021288B2 (en) Method and apparatus for recovery from low power state
KR20080032764A (en) Computer system and control method thereof capable of changing battery charging mode according to user's selection
KR20010027087A (en) Apparatus and method for power management of computer system
CN111984108B (en) Control method, circuit and system for reducing standby power consumption of computer mainboard
EP2479640B1 (en) Portable electronic device and method for adjusting system performance thereof
US8996897B2 (en) Automatic backlight intensity adjustment in an embedded operating system environment
CN108227900B (en) Electronic device, energy-saving control method, energy-saving device, and readable storage medium
KR20030059373A (en) Apparatus and method for managing power
CN117666745A (en) Power supply control method, system and first equipment
TWI667569B (en) Computer wake-up method and computer power saving method
JP2023107757A (en) Method for controlling operation state of computer system and corresponding computer system
TWI775109B (en) Electronic apparatus and power management method thereof
CN115061561A (en) Power saving method, device and system for equipment and storage medium
KR101033944B1 (en) Apparatus and method for controling System operation based on battery state
CN214380147U (en) Touch screen power supply system, touch screen and electrical equipment
JP2000222074A (en) Computer system and method for controlling power saving
CN217607523U (en) Power supply management device and handheld terminal equipment
KR100472177B1 (en) Power recovery method using a power switch
JP2006338174A (en) Information processor, and start control method and power supply control method thereof
CN112491113A (en) Touch screen power supply system, touch screen and electrical equipment
JPH06335172A (en) Information processor

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