Power supply control method and apparatus for power strip, and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorYan Xie
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and apparatus for providing power supply control of a power strip. The method includes: acquiring a charge state or a working state of an electronic device; and controlling a power supply state of a socket of the power strip according to the charge state or the working state of the electronic device, the socket being connected with the electronic device.
Claims16
A method of power supply control for a power strip, comprising:
- acquiring a charge state or a working state of an electronic device;
- controlling a power supply state of a socket of the power strip according to the charge state or the working state of the electronic device, the socket being connected with the electronic device;
- and
- when it is detected that the electronic device is plugged in the power strip, performing at least one of:
- determining the socket according to a sensing signal detected by a sensor provided on a metal sheet of the socket, or
- determining the socket and device identification information of the electronic device, establishing a correspondence between the device identification information and the socket, and when the electronic device is in a preset charge state or a preset working state, determining the socket according to the correspondence.
A power supply control apparatus of a power strip, comprising:
- a processor;
- and
- a memory configured to store instructions executable by the processor,
- wherein the processor is configured to:
- acquire a charge state or a working state of an electronic device;
- control a power supply state of a socket of the power strip according to the charge state or the working state of the electronic device, the socket being connected with the electronic device;
- and
- when it is detected that the electronic device is plugged in the power strip, the processor is further configured to:
- determine the socket according to a sensing signal detected by a sensor provided on a metal sheet of the socket, or
- determine the socket and device identification information of the electronic device, establish a correspondence between the device identification information and the socket, and when the electronic device is in a preset charge state or a preset working state, determine the socket according to the correspondence.
A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of an apparatus, cause the apparatus to perform a power supply control method for a power strip, the method comprising:
- acquiring a charge state or a working state of an electronic device;
- controlling a power supply state of a socket of the power strip according to the charge state or working state of the electronic device, the socket being connected with the electronic device;
- and
- when it is detected that the electronic device is plugged in the power strip, performing at least one of:
- determining the socket according to a sensing signal detected by a sensor provided on a metal sheet of the socket, or
- determining the socket and device identification information of the electronic device, establishing a correspondence between the device identification information and the socket, and when the electronic device is in a preset charge state or a preset working state, determining the socket according to the correspondence.
Dependencies are inferred from the claim text.