CN115639898A - Electronic equipment control method and device, electronic equipment and storage medium - Google Patents

Electronic equipment control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115639898A
CN115639898A CN202110821146.2A CN202110821146A CN115639898A CN 115639898 A CN115639898 A CN 115639898A CN 202110821146 A CN202110821146 A CN 202110821146A CN 115639898 A CN115639898 A CN 115639898A
Authority
CN
China
Prior art keywords
mode
electronic equipment
preset
electronic device
duration
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
CN202110821146.2A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110821146.2A priority Critical patent/CN115639898A/en
Publication of CN115639898A publication Critical patent/CN115639898A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application provides an electronic equipment control method, an electronic equipment control device, electronic equipment and a storage medium, wherein the method comprises the following steps: after the electronic equipment enters a first mode, detecting whether the duration of the electronic equipment in the first mode meets a preset condition or not; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device; and if the preset condition is met, controlling the electronic equipment to enter a second mode from a first mode, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.

Description

Electronic equipment control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of battery technologies, and in particular, to an electronic device control method and apparatus, an electronic device, and a storage medium.
Background
With the development of communication technology, the functions that can be realized by a portable mobile terminal are increasingly powerful, so that the use frequency of electronic devices which are inconvenient to carry, such as a tablet computer, a notebook computer and the like, is gradually reduced, and the portable mobile terminal becomes a main device support for users in movies, games, offices and the like.
According to statistics, about 70% of the electronic devices which are inconvenient to carry, such as tablet computers, are in an "idle" state, and users who have a stable habit of using tablet computers only account for about 14%. As a result, a large number of electronic devices that are "idle" for long periods of time are often in a state of severe power shortage.
Disclosure of Invention
In view of this, the disclosed embodiments provide an electronic device control method, an electronic device control apparatus, an electronic device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an electronic device control method including:
after an electronic device enters a first mode, detecting whether the duration of the electronic device in the first mode meets a preset condition; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
and if the preset condition is met, controlling the electronic equipment to enter a second mode from a first mode, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.
In one embodiment, after the electronic device enters the first mode, detecting whether a duration of the electronic device in the first mode satisfies a preset condition includes at least one of:
if the duration of the electronic equipment entering the first mode reaches a first preset duration, determining that the electronic equipment meets the preset condition;
if the duration of the electronic equipment entering the first mode reaches a second preset duration and the residual electric quantity of the battery assembly is not greater than a preset value, determining that the electronic equipment meets the preset condition;
and the second preset time length is less than the first preset time length.
In one embodiment, after the electronic device enters the first mode, detecting whether a duration of the electronic device in the first mode satisfies a preset condition includes:
after the electronic equipment enters the first mode, starting a first timer with the timing duration equal to the first preset duration;
and when the first timer is overtime, determining that the electronic equipment meets the preset condition.
In one embodiment, after the electronic device enters the first mode, detecting whether a duration of the electronic device in the first mode satisfies a preset condition includes:
after the electronic equipment enters the first mode, starting a second timer with the timing duration equal to the second preset duration;
periodically detecting the residual electric quantity of the electronic equipment when the second timer is overtime;
and if the residual electric quantity is smaller than the preset value, determining that the electronic equipment meets a preset condition.
In one embodiment, the method further comprises:
after the electronic equipment enters the second mode, detecting a trigger signal for exiting the second mode;
and exiting the second mode after the trigger signal is detected.
In one embodiment, the trigger signal comprises at least one of:
a charging signal to charge the battery assembly;
at least one preset key signal generated when a pressing operation is performed on a preset key is detected.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic device control apparatus including:
the device comprises a first detection module, a second detection module and a control module, wherein the first detection module is used for detecting whether the duration of the electronic equipment in a first mode meets a preset condition or not after the electronic equipment enters the first mode; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
and the judging module is used for controlling the electronic equipment to enter a second mode from a first mode if the preset condition is met, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.
In one embodiment, the first detection module includes:
the first starting unit is used for starting a first timer with the timing duration equal to the first preset duration after the electronic equipment enters the first mode;
and the first determining unit is used for determining that the electronic equipment meets the preset condition when the first timer is overtime.
In one embodiment, the first detection module includes:
the second starting unit is used for starting a second timer with the timing duration equal to the second preset duration after the electronic equipment enters the first mode;
the detection unit is used for periodically detecting the residual electric quantity of the electronic equipment when the second timer is overtime;
and the second determining unit is used for determining that the electronic equipment meets a preset condition if the residual electric quantity is smaller than the preset value.
In one embodiment, the apparatus further comprises:
the second detection module is used for detecting a trigger signal for exiting the second mode after the electronic equipment enters the second mode;
and the exit module is used for exiting the second mode after the trigger signal is detected.
In one embodiment, the trigger signal comprises at least one of:
a charging signal to charge the battery assembly;
at least one preset key signal generated when pressing operation is performed on a preset key is detected.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, the apparatus of the second aspect of the electronic device.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium storing executable instructions for causing a processor to implement the method of the first aspect when executed.
According to the electronic equipment control method provided by the embodiment of the disclosure, when the electronic equipment meets the preset condition, the electronic equipment is controlled to enter the second mode from the first mode, so that the battery pack is disconnected to supply power to the system of the electronic equipment, and power consumption generated by supplying power to the system of the electronic equipment can be further saved through system power failure, so that the power consumption requirement of the electronic equipment can be effectively reduced, shutdown caused by too low power storage of the battery is delayed, meanwhile, the problem of long awakening period of the electronic equipment under low voltage due to too fast power consumption is solved, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the embodiments of the disclosure.
FIG. 1 is a schematic flow chart diagram illustrating a first electronic device control method in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a second method of electronic device control, according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a third method of controlling an electronic device in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a fourth method of electronic device control, in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a first type of electronic device control apparatus in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a second electronic device control apparatus in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating a third electronic device control apparatus in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating a fourth electronic device control apparatus in accordance with an exemplary embodiment;
FIG. 9 is a flowchart illustrating a fifth method of electronic device control in accordance with an exemplary embodiment;
FIG. 10 is a schematic flow chart diagram illustrating a sixth method of electronic device control, according to an exemplary embodiment;
fig. 11 is a block diagram showing a configuration of an electronic device control apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with embodiments of the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosed embodiments, as detailed in the appended claims.
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of embodiments of the present disclosure. The word "if" as used herein may be interpreted as "at" \8230; "or" when 8230; \8230; "or" in response to a determination ", depending on the context.
As shown in fig. 1, the present exemplary embodiment provides an electronic device control method including:
step S101: after an electronic device enters a first mode, detecting whether the duration of the electronic device in the first mode meets a preset condition; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
step S102: and if the preset condition is met, controlling the electronic equipment to enter a second mode from a first mode, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.
In this embodiment, the electronic apparatus includes: notebook computer, panel computer, cell-phone, wearable equipment, bluetooth headset etc..
The first mode may be standby, hibernation, sleep, etc., and the second mode may be a shipping mode.
The power consumption of the electronic device in the second mode is lower than the power consumption of the electronic device in the first mode.
In this embodiment, the preset condition may include at least one of the following:
the electronic equipment receives a trigger instruction, wherein the trigger instruction is used for instructing the electronic equipment to enter a second mode;
the duration of the electronic equipment entering the first mode reaches a first preset duration;
the duration of the electronic equipment entering the first mode reaches a second preset duration, and the remaining capacity of the battery pack is not greater than a preset value.
Here, the trigger instruction includes: the method comprises the steps of setting a click command of an icon preset for a second mode in a start menu, setting a click/touch command of a shortcut key preset for the second mode on a keyboard, setting a pressing signal command of a key, setting a touch command of an icon mark additionally arranged for the second mode, or setting a voice command and the like.
After the electronic equipment detects that the preset condition is met, the electronic equipment can enter a second mode from a first mode where the electronic equipment is currently located. For example, after the electronic device enters the sleep mode, a preset voice command for instructing the electronic device to enter the second mode is received, and the electronic device enters the shipping mode.
For another example, assuming that the first preset time period is 50 minutes, after the electronic device enters the sleep mode for 50 minutes, the electronic device enters the shipping mode; for another example, assuming that the second preset time period is 20 minutes and the preset value is 45%, after the electronic device enters the sleep mode for 20 minutes, when the remaining capacity of the battery assembly is not lower than 45%, the electronic device still remains in the sleep mode, and when the remaining capacity of the battery assembly is lower than 45%, the electronic device enters the shipping mode.
In the present embodiment, in the second mode, the battery pack of the electronic apparatus cuts off power supply to the system of the electronic apparatus. Illustratively, the battery assembly includes at least one battery and a control circuit, and the system of the electronic device includes a system circuit composed of at least a microprocessor, and the control circuit is used for connecting or disconnecting the battery assembly and the system circuit. After the microprocessor detects that the preset condition is met, the control system circuit generates a first signal to enable the control circuit to disconnect the battery assembly from the system circuit, and therefore the battery assembly is disconnected from supplying power to a system of the electronic equipment.
According to the electronic equipment control method provided by the exemplary embodiment, when the electronic equipment meets the preset condition, the electronic equipment is controlled to enter the second mode from the first mode, so that the battery pack is disconnected to supply power to a system of the electronic equipment, the power consumption requirement of the electronic equipment can be effectively reduced, the power-down shutdown of the electronic equipment is delayed, meanwhile, the problem that the awakening period of the electronic equipment is long under low voltage due to too fast power consumption is solved, and the user experience is improved.
In one exemplary embodiment, the first preset duration is greater than the second preset duration.
In this embodiment, first, when the duration of the electronic device entering the first mode reaches a second preset duration, but the remaining capacity of the battery assembly is greater than a preset value, the electronic device does not satisfy the preset condition, so that the electronic device cannot enter the second mode from the first mode; and then, controlling the electronic equipment to enter the second mode from the first mode because the duration of the electronic equipment entering the first mode reaches the first preset duration and meets the preset condition, even if the residual capacity of the battery pack is greater than the preset value, the duration of the electronic equipment entering the first mode reaches the first preset duration.
Here, the preset value is preferably in the range of 40% to 50%.
Of course, it is understood that the preset value may be other values, but it should be noted that it is required to ensure that the preset value is greater than the power threshold for automatic shutdown when the electronic device is in a low power state.
In an exemplary embodiment, when the preset condition satisfied by the electronic device is: when the electronic device receives the trigger instruction, the electronic device can enter a second mode from a first mode comprising standby, sleep and the like.
In another exemplary embodiment, when the preset condition satisfied by the electronic device is: the duration of the electronic equipment entering the first mode reaches a first preset duration; or when the duration of the electronic equipment entering the first mode reaches a second preset duration and the residual electric quantity of the battery assembly is not greater than a preset value, controlling the electronic equipment to enter the second mode from the first mode comprising standby, dormant, sleep and other modes.
In this embodiment, the different first preset durations, the second preset durations and/or the preset values are respectively adopted for different first modes (i.e. for the standby mode, the sleep mode or the sleep mode), and may include at least one of the following cases:
when the duration of the electronic equipment entering the standby mode reaches a third preset duration; or when the duration of the electronic equipment entering the standby mode reaches a fourth preset duration and the residual electric quantity of the battery assembly is not greater than the first preset value, controlling the electronic equipment to enter a second mode from the standby mode;
when the duration of the electronic equipment entering the sleep mode reaches a fifth preset duration; or when the duration of the electronic equipment entering the sleep mode reaches a sixth preset duration and the residual electric quantity of the battery assembly is not greater than a second preset value, controlling the electronic equipment to enter a second mode from the sleep mode;
when the duration of the electronic equipment entering the sleep mode reaches a seventh preset duration; or when the duration of the electronic equipment entering the sleep mode reaches an eighth preset duration and the residual electric quantity of the battery assembly is not greater than a third preset value, controlling the electronic equipment to enter a second mode from the sleep mode.
The third preset time length, the fifth preset time length and the seventh preset time length are reduced in sequence; the fourth preset time, the sixth preset time and the eighth preset time are reduced in sequence; the first preset value, the second preset value and the third preset value can take the same value, or the first preset value, the second preset value and the third preset value are increased in sequence.
As shown in fig. 2 and 3, in an exemplary embodiment, the step S101 includes:
step S1011: after the electronic equipment enters the first mode, starting a first timer with the timing duration equal to the first preset duration;
step S1012: and when the first timer is overtime, determining that the electronic equipment meets the preset condition.
In another exemplary embodiment, the step S101 may further include:
step S1011': after the electronic equipment enters the first mode, starting a second timer with the timing duration equal to the second preset duration;
step S1012': periodically detecting the residual electric quantity of the electronic equipment when the second timer is overtime;
step S1013': and if the residual electric quantity is smaller than the preset value, determining that the electronic equipment meets a preset condition.
In this embodiment, the period for detecting the remaining power of the electronic device may be preset. For example, the remaining power of the electronic device is periodically detected with a period of 2 hours.
In an exemplary embodiment, as shown in fig. 4, the method further comprises:
step S103: after the electronic equipment enters the second mode, detecting a trigger signal for exiting the second mode;
step S104: and exiting the second mode after the trigger signal is detected.
In this embodiment, the trigger signal includes at least one of:
a charge signal to charge the battery assembly;
and the preset key generates at least one preset key signal when detecting the pressing operation.
For example, when the electronic device detects a charging signal for charging the battery pack, the electronic device exits from the second mode and can enter a power-on mode, a standby mode, a sleep mode, and the like according to a preset strategy.
For another example, when the electronic device detects at least one preset key signal generated by pressing on a preset key, the electronic device exits from the second mode and enters into the modes of startup, standby, hibernation, sleep, and the like according to a preset strategy.
Illustratively, the control circuit of the battery assembly includes a charge detection circuit, when the electronic device is charged, the charge detection circuit detects a charge signal, and the charge signal triggers the control circuit to generate a second signal, so that the control circuit conducts the connection between the battery assembly and the system circuit, thereby conducting the battery assembly to supply power to the system of the electronic device.
For example, the preset key generates at least one preset key signal when detecting a pressing operation, and the at least one preset key signal triggers the control circuit to generate a second signal, so that the control circuit switches on the connection between the battery pack and the system circuit, and the battery pack is switched on to supply power to the system of the electronic device.
For example, the preset key is a power-on key, the power-on key generates a power-on key signal when detecting a pressing operation, and the power-on key signal triggers the control circuit to generate a second signal, so that the connection between the battery assembly and the system circuit is conducted.
It is understood that the preset key may also be at least one of a power-on key, a volume-up key, a volume-down key, a home key, and the like.
The present exemplary embodiment also provides an electronic device control apparatus 10, as shown in fig. 5, including:
the first detecting module 300 is configured to detect whether a duration of the electronic device in a first mode satisfies a preset condition after the electronic device enters the first mode; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
the determining module 400 is configured to, if the preset condition is met, control the electronic device to enter a second mode from a first mode, where in the second mode, a battery pack of the electronic device is powered off to supply power to a system of the electronic device.
In an exemplary embodiment, as shown in fig. 6, the first detection module 300 includes:
a first starting unit 310, configured to start a first timer with a timing duration equal to the first preset duration after the electronic device enters the first mode;
a first determining unit 320, configured to determine that the electronic device meets the preset condition when the first timer is expired.
In an exemplary embodiment, as shown in fig. 7, the first detection module 300 includes:
the second starting unit 310' is configured to start a second timer with a timing duration equal to the second preset duration after the electronic device enters the first mode;
a detecting unit 330, configured to periodically detect a remaining power of the electronic device when the second timer expires;
the second determining unit 320' is configured to determine that the electronic device meets a preset condition if the remaining power is less than the preset value.
In an exemplary embodiment, as shown in fig. 8, the apparatus 10 further comprises:
a second detecting module 500, configured to detect a trigger signal for exiting the second mode after the electronic device enters the second mode;
and an exit module 600, configured to exit the second mode after detecting the trigger signal.
In an exemplary embodiment, the trigger signal includes at least one of:
a charge signal to charge the battery assembly;
at least one preset key signal generated when pressing operation is performed on a preset key is detected.
The present exemplary embodiment also provides an electronic device, which includes the apparatus according to any one of the above embodiments.
The present exemplary embodiment also provides a computer-readable storage medium, which stores executable instructions for causing a processor to implement the method according to any one of the above embodiments when executed.
The computer-readable storage medium may be: a storage medium such as a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes, may be a non-transitory storage medium.
One specific example is provided below in connection with any of the embodiments described above:
generally, the sleep power consumption of the existing tablet computer is 10mA, and the shutdown power consumption is 1mA.
When the battery voltage of the tablet computer is lower than 3.4V, the tablet computer is automatically shut down and enters a shutdown state from a sleep mode;
when the voltage is lower than 3.0V, the tablet computer enters a precharge stage (namely, pre-charging) of the battery, and in the precharge stage, in order to protect the chemical system of the battery, the charging current is allowed to be small, and the charging current is generally 100-300mA. Therefore, if the tablet computer is not used for a long time, after the voltage of the tablet computer is lower than 3.0V, the charging of the tablet computer is usually required to be carried out for 15-30 minutes to activate the charging bright screen of the tablet computer.
Therefore, for the equipment such as tablet personal computers and cameras which are idle for a long time, the equipment can be used only after being charged for a long time, and the experience is very poor.
In the exemplary embodiment, after the electronic device meets a certain trigger condition (i.e., the preset condition), the power management chip starts the shutdown process, and enters the shipmode (in which the battery and the BATFET of the system power supply are turned off) to power off the system in the shutdown process. After entering the shipmode, the power consumption of the system is about 10uA, and the power consumption is very low.
When a user needs to use the electronic equipment, the electronic equipment can be activated through a combined key or a charging method, and the charging and starting process is very fast. Therefore, the problem that the user does not use the tablet computer for a long time and can start the computer after being used again for more than 15-30 minutes is solved.
In the present exemplary embodiment, the trigger condition includes:
1. detecting that the user does not use the tablet computer for more than N days (i.e. the first preset time period), for example: setting N as 14 days without considering the electric quantity.
2. It is detected that the user does not use the tablet computer for M days (i.e., the aforementioned second preset duration), and the remaining power of the tablet computer is lower than S (i.e., the aforementioned preset value). Such as: set M to 1 day, S =2%.
After any trigger condition is met, the PMIC of the tablet computer firstly goes through a shutdown process and then enters the shipmode to be powered off, so that the power consumption of the whole electronic equipment is only the static power consumption of the battery, and the static power consumption of the battery is generally in the uA level. At this time, the standby time of the electronic device can be more than half a year.
In a specific implementation, a false death timer calculator (i.e., the first timer or the second timer mentioned above) may be provided on the system. As shown in fig. 9, after the system starts to sleep, the false death timer is started, and if the system is woken up, the false death timer is cleared. When the counting time T of the false death timer calculator is larger than M, starting a polling detection mechanism, polling and detecting the residual electric quantity K (dT can be 2-5 hours) according to a period dT, if the residual electric quantity K < = S, shutting down (namely, starting a shutdown process) and entering a shipmode, otherwise, not entering the shipmode; when the counting time T > = N of the dead timer calculator is met, the computer is directly powered off and enters a shipmode no matter how much the current residual capacity is.
It is to be understood that, in the specific implementation, the determination flow shown in fig. 10 may also be adopted. As shown in fig. 10, when the count time T > M of the fraud timer calculator is satisfied, a polling detection mechanism is started, the remaining power K (dT may be 2-5 hours) is polled according to a period dT, if the remaining power K < = S, the system is shut down (i.e., a shutdown process is started) and enters the shipmode, if the remaining power K > S, it is further determined whether the count time T > = N of the fraud timer calculator is satisfied, and if so, the system is directly shut down and enters the shipmode regardless of the current remaining power.
Here, it is assumed that the battery capacity is 4800mAh. The sleep standby power consumption is 10mA, assuming that the standby power consumption of the shipmode is 10uA.
When the power K of the electronic device is S (e.g. 2% of the power), at this time, the electronic device still has 96mAh, and if the electronic device is in a standby mode according to normal sleep, the electronic device is automatically turned off after 9.6 hours. If the system enters the shipmode mode at this time, the system can be shut down after 9600 hours, which is equivalent to the shutdown can be delayed for 400 days by adopting the technical scheme of the application. Meanwhile, the tablet computer can be awakened quickly in the period by charging and the like, and the tablet computer does not need to be started after charging for more than 15-30 minutes.
If the battery capacity of the electronic equipment is larger, the shutdown delay time is longer by adopting the technical scheme of the application.
In the exemplary embodiment, when it is necessary to exit the shipmode, the following two ways may be adopted for recovery:
shipmode is deactivated by charging power-on.
When the key combination is used to unlock the keypad, for example, the power-off key and the volume-up key (or the volume-down key) are simultaneously pressed for 5 seconds or more.
In the present exemplary embodiment, by controlling the electronic device to enter the shipmode mode, the following benefits can be brought:
(1) When the battery is charged above 3.4V (the system electric quantity is 0%), the system can be immediately activated through a combined key or a charging mode without waiting; by adopting the technical scheme, the product can be ensured to meet the function of immediately charging and activating the mobile phone for at least more than 1 year;
(2) When the battery voltage is 3.0-3.4V, the battery is charged with 250mA in the stage, and the power consumption can be maintained for 25000h for the static power consumption of a battery of 10uA. During the voltage period, the mobile phone can be quickly awakened by charging only for 2-5 min;
(3) When the voltage of the battery is lower than 3.0V, the power-down speed can still be effectively delayed, and the battery can be quickly awakened within 5-15 min.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, each module/Unit in the apparatus may be implemented by one or more Central Processing Units (CPUs), graphics Processing Units (GPUs), baseband Processors (BPs), application Specific Integrated Circuits (ASICs), DSPs, programmable Logic Devices (PLDs), complex Programmable Logic Devices (CPLDs), field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
Fig. 10 is a block diagram illustrating an electronic device control apparatus 800 according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communications component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a Microphone (MIC) configured to receive external audio signals when apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as WiFi,4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosed embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of the disclosure following, in general, the principles of the embodiments of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the embodiments of the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosed embodiments being indicated by the following claims.
It is to be understood that the disclosed embodiments are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present disclosure is limited only by the appended claims.

Claims (13)

1. An electronic device control method, comprising:
after the electronic equipment enters a first mode, detecting whether the duration of the electronic equipment in the first mode meets a preset condition or not; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
and if the preset condition is met, controlling the electronic equipment to enter a second mode from a first mode, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.
2. The control method according to claim 1, wherein the detecting whether the duration of the electronic device in the first mode satisfies a preset condition after the electronic device enters the first mode includes at least one of:
if the duration of the electronic equipment entering the first mode reaches a first preset duration, determining that the electronic equipment meets the preset condition;
if the duration of the electronic equipment entering the first mode reaches a second preset duration and the residual electric quantity of the battery pack is not greater than a preset value, determining that the electronic equipment meets the preset condition;
and the second preset time length is less than the first preset time length.
3. The control method according to claim 2, wherein the detecting whether the duration of the electronic device in the first mode satisfies a preset condition after the electronic device enters the first mode comprises:
after the electronic equipment enters the first mode, starting a first timer with the timing duration equal to the first preset duration;
and when the first timer is overtime, determining that the electronic equipment meets the preset condition.
4. The control method according to claim 2, wherein the detecting whether the duration of the electronic device in the first mode satisfies a preset condition after the electronic device enters the first mode comprises:
after the electronic equipment enters the first mode, starting a second timer with the timing duration equal to the second preset duration;
periodically detecting the residual electric quantity of the electronic equipment when the second timer is overtime;
and if the residual electric quantity is smaller than the preset value, determining that the electronic equipment meets a preset condition.
5. The control method according to claim 1, characterized in that the method further comprises:
after the electronic equipment enters the second mode, detecting a trigger signal for exiting the second mode;
and exiting the second mode after the trigger signal is detected.
6. The control method of claim 5, wherein the trigger signal comprises at least one of:
a charging signal to charge the battery assembly;
at least one preset key signal generated when pressing operation is performed on a preset key is detected.
7. An electronic device control apparatus, comprising:
the device comprises a first detection module, a second detection module and a control module, wherein the first detection module is used for detecting whether the duration of the electronic equipment in a first mode meets a preset condition or not after the electronic equipment enters the first mode; wherein, in the first mode, a battery assembly of the electronic device maintains power to a system of the electronic device;
and the judging module is used for controlling the electronic equipment to enter a second mode from the first mode if the preset condition is met, wherein in the second mode, a battery pack of the electronic equipment is disconnected to supply power to a system of the electronic equipment.
8. The control device of claim 7, wherein the first detection module comprises:
the first starting unit is used for starting a first timer with the timing duration equal to the first preset duration after the electronic equipment enters the first mode;
a first determining unit, configured to determine that the electronic device meets the preset condition when the first timer is overtime.
9. The control device of claim 7, wherein the first detection module comprises:
the second starting unit is used for starting a second timer with the timing duration equal to the second preset duration after the electronic equipment enters the first mode;
the detection unit is used for periodically detecting the residual electric quantity of the electronic equipment when the second timer is overtime;
and the second determining unit is used for determining that the electronic equipment meets a preset condition if the residual electric quantity is smaller than the preset value.
10. The control device of claim 7, wherein the device further comprises:
the second detection module is used for detecting a trigger signal for exiting the second mode after the electronic equipment enters the second mode;
and the exit module is used for exiting the second mode after detecting the trigger signal.
11. The control device of claim 10, wherein the trigger signal comprises at least one of:
a charging signal to charge the battery assembly;
at least one preset key signal generated when a pressing operation is performed on a preset key is detected.
12. An electronic device, characterized in that it comprises the apparatus of any of claims 7 to 11.
13. A computer-readable storage medium having stored thereon executable instructions for causing a processor, when executed, to implement the method of any one of claims 1 to 6.
CN202110821146.2A 2021-07-20 2021-07-20 Electronic equipment control method and device, electronic equipment and storage medium Pending CN115639898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110821146.2A CN115639898A (en) 2021-07-20 2021-07-20 Electronic equipment control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110821146.2A CN115639898A (en) 2021-07-20 2021-07-20 Electronic equipment control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115639898A true CN115639898A (en) 2023-01-24

Family

ID=84940538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110821146.2A Pending CN115639898A (en) 2021-07-20 2021-07-20 Electronic equipment control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115639898A (en)

Similar Documents

Publication Publication Date Title
CN106375604B (en) The method and apparatus of controlling terminal electricity
CN107134823B (en) Charging prompting method and device
US10080194B2 (en) Method, device, and computer-readable storage medium for awaking electronic equipment
CN106774774B (en) Method and device for displaying electric quantity of terminal battery
KR101537621B1 (en) Mobile terminal and method for notifying charging state thereof
US20160378512A1 (en) Circuit, method, and device for waking up master mcu
RU2643516C2 (en) Method and device for controlling power consumption
EP3133466B1 (en) Method and device for reminding in shutdown state
CN104219383A (en) Terminal power information prompting method and device
CN104023129A (en) Power saving method and device thereof
EP3361369B1 (en) Method and device for displaying time on mobile device
CN105807894B (en) Using the treating method and apparatus for holding lock
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
KR101790503B1 (en) Cover for smart devicce, method for controlling the cover and smart device
CN108267972B (en) Electronic equipment control method and device
CN110941321A (en) Power supply method and device for electronic equipment and intelligent equipment
CN105867592B (en) A kind of method and apparatus managing electric quantity consumption
CN111782028A (en) Electronic device, control method thereof, and storage medium
KR20180059405A (en) Cover for smart devicce, method for controlling the cover and smart device
CN107528098B (en) Charging method and device
CN106791089B (en) Method and device for prompting battery electric quantity
CN112492378B (en) Control method, device and equipment of network television box and storage medium
CN115639898A (en) Electronic equipment control method and device, electronic equipment and storage medium
KR101790504B1 (en) Cover for smart devicce, method for controlling the cover and smart device
CN115882529A (en) Terminal control method, device and storage medium

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