Standby control method and device and storage medium

By detecting the duration of the standby state of the electronic device and switching to the second standby state powered by the buck circuit, the problems of long restart time and large battery consumption are solved, and the effects of ready-to-use and battery saving are achieved.

CN119536492APending Publication Date: 2025-02-28GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311103273.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

After the existing electronic devices such as dictionary pens are automatically turned off, users need to restart each time they use it. The waiting time is long, and it cannot be used as soon as possible, and the battery consumption is large.

Method used

By detecting the duration of the electronic device in a standby state, when the preset time threshold is exceeded, the control device enters a second standby state, and power is supplied through a step-down circuit in the second standby state, and the peripheral device is turned off to reduce battery consumption.

Benefits of technology

It achieves the battery consumption saving while ensuring users’ ready-to-use battery life, achieving the effect of saving power and long battery life of the entire machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119536492A_ABST
    Figure CN119536492A_ABST
Patent Text Reader

Abstract

The invention provides a standby control method and device and a storage medium. According to the technical scheme, when the electronic device is in the first standby state, the electronic device detects the duration of the electronic device in the first standby state, and then when the duration of the electronic device in the first standby state is larger than the preset time threshold value, the electronic device is controlled to enter the second standby state. The power consumption of the first standby state is greater than that of the second standby state; wherein in the first standby state, the electronic equipment is powered by a central processing unit (CPU), and in the second standby state, the electronic equipment is powered by a step-down circuit included in the electronic equipment. In the standby control method, the electronic equipment is controlled to enter the second standby state under the condition that the duration of the electronic equipment in the first standby state is greater than the preset time threshold value, so that the battery consumption of the electronic equipment can be saved under the condition of ensuring that the electronic equipment is used while being taken by a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a standby control method, device and storage medium. Background Art

[0002] With the continuous development of the field of computer technology, the application of intelligent electronic devices is becoming more and more extensive. For example, dictionary pens are very popular among users.

[0003] A dictionary pen is a portable digital tool for language query. Currently, dictionary pens on the market usually have a small battery capacity. In order to save battery power, a common design is to automatically shut down after a few hours of non-use. This method can save power to a certain extent, but after the dictionary pen automatically shuts down, the user needs to restart it every time he wants to use it, and the waiting time for restart is also very long, which makes it impossible for the user to use the dictionary pen and solve the current problem he is facing as soon as he gets it.

[0004] Therefore, how to save battery consumption of electronic devices while ensuring that users can use them immediately has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a standby control method, device and storage medium, which can save battery consumption of electronic devices while ensuring that users can use them immediately.

[0006] In a first aspect, the present application provides a standby control method, which is applied to an electronic device, the method comprising: when the electronic device is in a first standby state, detecting the time length that the electronic device is in the first standby state; when the time length that the electronic device is in the first standby state is greater than a preset time threshold, controlling the electronic device to enter a second standby state, the power consumption of the first standby state being greater than the power consumption of the second standby state; wherein, in the first standby state, the electronic device is powered by a central processing unit CPU, and in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

[0007] In some embodiments, when the electronic device is in the first standby state, the peripheral device of the electronic device is in an on state, and when the electronic device is in the second standby state, the peripheral device is in an off state.

[0008] In some embodiments, the electronic device includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to the peripheral device, and the operating voltage of the low-power memory is lower than the operating voltage of the peripheral device, and the electronic device is powered by the step-down circuit, including: powering the low-power memory through the step-down circuit so that the low-power memory sends a power signal with a voltage lower than the operating voltage of the peripheral device to the peripheral device at a preset frequency, so that the peripheral device is in the off state.

[0009] In some embodiments, when the electronic device is in a first standby state, before detecting the length of time the electronic device is in the first standby state, the method further includes: obtaining a device state of the electronic device, the device state including the electronic device being in a screen-on state, a screen-off state, or a power-off state, the screen-off state including a screen-off and background task state or a screen-off and background no task state; when the device state is the screen-off and background no task state, determining that the electronic device is in the first standby state.

[0010] In some embodiments, after controlling the electronic device to enter the second standby state, the method further includes: receiving a wake-up operation on the electronic device; in response to the wake-up operation, controlling the peripherals of the electronic device to restore to the state of the peripherals in the first standby state, and controlling the screen of the electronic device to be in a bright screen state.

[0011] In some embodiments, the step-down circuit is a BUCK circuit.

[0012] In some embodiments, the low power memory is LPDDR.

[0013] In some embodiments, the peripheral device includes Bluetooth or Wireless Fidelity (WiFi).

[0014] In this embodiment, when the electronic device is in the first standby state for a period longer than a preset time threshold, the electronic device is controlled to enter the second standby state. The electronic device is powered by a step-down circuit in the second standby state. The power supply by the step-down circuit can shut down the peripherals of the electronic device, thereby saving battery consumption of the electronic device while ensuring that the user can use it as soon as possible, thereby achieving the effect of saving power and extending the battery life of the entire device.

[0015] In a second aspect, the present application provides a standby control device, comprising: a detection module, for detecting the duration of time that the electronic device is in the first standby state when the electronic device is in the first standby state; a control module, for controlling the electronic device to enter a second standby state when the duration of time that the electronic device is in the first standby state is greater than a preset time threshold, the power consumption of the first standby state being greater than the power consumption of the second standby state; wherein, in the first standby state, the electronic device is powered by a central processing unit CPU, and in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

[0016] In some embodiments, when the electronic device is in the first standby state, the peripheral device of the electronic device is in an on state, and when the electronic device is in the second standby state, the peripheral device is in an off state.

[0017] In some embodiments, the electronic device includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to the peripheral device, and the operating voltage of the low-power memory is lower than the operating voltage of the peripheral device, and the device further includes: a power supply module. The power supply module is used to supply power to the low-power memory through the step-down circuit, so that the low-power memory sends a power signal with a voltage lower than the operating voltage of the peripheral device to the peripheral device at a preset frequency, so that the peripheral device is in the closed state.

[0018] In some embodiments, the apparatus further includes: an acquisition module and a determination module. The acquisition module is used to acquire the device state of the electronic device, wherein the device state includes whether the electronic device is in a screen-on state, a screen-off state, or a power-off state, wherein the screen-off state includes a screen-off state with a background task or a screen-off state with no background task; and the determination module is used to determine that the electronic device is in the first standby state when the device state is the screen-off state with no background task.

[0019] In some embodiments, the device further includes: a receiving module, which is used to receive a wake-up operation on the electronic device; and a control module, which is further used to control the peripherals of the electronic device to be restored to the state of the peripherals in the first standby state in response to the wake-up operation, and to control the screen of the electronic device to be in a bright screen state.

[0020] In some embodiments, the step-down circuit is a BUCK circuit.

[0021] In some embodiments, the low power memory is LPDDR.

[0022] In some embodiments, the peripheral device includes Bluetooth or Wireless Fidelity (WiFi).

[0023] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory is used to store code instructions; the processor is used to execute the code instructions to implement the method in the above-mentioned first aspect and any one of the embodiments.

[0024] Optionally, there are one or more processors and one or more memories.

[0025] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0026] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute the method in the first aspect and any one of the embodiments described above.

[0028] In a fifth aspect, the present application provides a computer program product, comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method in the first aspect and any one of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of a system architecture of an electronic device provided by an embodiment of the present application;

[0030] Figure 2 A flowchart of a standby control method provided by an embodiment of the present application;

[0031] Figure 3 A flowchart of a standby control method provided by another embodiment of the present application;

[0032] Figure 4 An exemplary structural diagram of a step-down circuit provided in one embodiment of the present application connected to a battery and a low-power memory of an electronic device;

[0033] Figure 5 A schematic diagram of a basic topological structure of a BUCK circuit provided in one embodiment of the present application;

[0034] Figure 6 A structural schematic diagram of a standby control device provided by an embodiment of the present application;

[0035] Figure 7 A structural schematic diagram of a standby control device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0036] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0037] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0038] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0039] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0040] With the continuous development of computer technology, the application of intelligent electronic devices is becoming more and more extensive. For example, dictionary pens are very popular among users. Dictionary pens are a portable digital tool for language query. There is no limit on the type of books. You can read any words. It is a very powerful tool. Chinese words have stroke order, pinyin, structure, word group, sentence formation, homophones, etc.; idioms have allusions, sources, translations, synonyms and antonyms, etc.; ancient poems have translations, backgrounds, poet introductions, etc.; English has translations, phonetic symbols, examples, etc. In simple terms, a dictionary pen is a collection of many reference books on a pen, and it is not restricted by the Internet and can be used at any time.

[0041] Taking dictionary pens as an example, the dictionary pens currently on the market are usually not very large in size, so the battery capacity is small. In order to save battery power, the general design is to automatically shut down after a few hours of non-use, where the several hours can be set to 1 hour, 2 hours, 4 hours or 8 hours.

[0042] Although the above solution can save power to a certain extent by shutting down the dictionary pen when the user is not in use, after the dictionary pen automatically shuts down, the user needs to restart it every time he wants to use it. The waiting time for restart is also very long, generally more than 10 seconds. The user cannot use the dictionary pen as soon as he gets it and solve the problem he is currently facing, which greatly affects the user experience.

[0043] Therefore, how to save battery consumption of electronic devices while ensuring that users can use them immediately has become a technical problem that needs to be solved urgently.

[0044] In view of this, the embodiments of the present application provide a standby control method, device and storage medium. In the technical solution of the present application, when the electronic device is in the first standby state, the electronic device detects the duration of the electronic device in the first standby state, and then controls the electronic device to enter the second standby state when the duration of the electronic device in the first standby state is greater than the preset time threshold, and the power consumption of the first standby state is greater than the power consumption of the second standby state; wherein, in the first standby state, the electronic device is powered by the central processing unit CPU, and in the second standby state, the electronic device is powered by the step-down circuit included in the electronic device. In the standby control method, when the electronic device is in the first standby state for a period of time greater than the preset time threshold, the electronic device is controlled to enter the second standby state, and the electronic device is powered by the step-down circuit in the second standby state. The power supply of the step-down circuit can turn off the peripherals of the electronic device, thereby saving the battery consumption of the electronic device while ensuring that the user can use it as soon as possible, and achieving the effect of power saving and long battery life of the whole machine.

[0045] It should be understood that the electronic devices involved in the embodiments of the present application may be dictionary pens, point-reading pens, mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, smart screens, artificial intelligence (AI) speakers, headphones, terminals in industrial control, terminals in self-driving, terminals in remote medical surgery, terminals in smart grids, terminals in transportation safety, terminals in smart cities, terminals in smart homes, personal digital assistants (PDAs), etc., and the specific embodiments of the present application are not limited to this.

[0046] For example, Figure 1 A schematic diagram of the system architecture of an electronic device provided in one embodiment of the present application. Figure 1 As shown, the electronic device includes components such as a processor 110, a memory 120, a transceiver 130, a display unit 140, an input unit 150, a sensor 160, an audio circuit 170, and a power module 180.

[0047] The processor 110 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, the processor 110 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0048] The memory 120 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 120. The memory 120 mainly includes a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0049] The transceiver 130 can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 130 can be one or more devices integrating at least one communication processing module, for example, an antenna and a baseband processor are integrated into the transceiver 130, or an antenna and a modem processor are integrated into the transceiver 130, etc., which are not limited here.

[0050] The display unit 140 may be used to display information input by a user or information provided to a user and various menus of the electronic device. The display unit 140 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.

[0051] The input unit 150 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the input unit 150 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 150 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 150 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0052] The electronic device may also include at least one sensor 160, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications to identify the posture of the electronic device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the electronic device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, a fingerprint sensor, etc., they will not be described in detail here.

[0053] The audio circuit 170 may include a speaker and a microphone, and may provide an audio interface between a user and an electronic device. The audio circuit 170 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and converted into audio data, and then the audio data is output to the processor 110 for processing, and then sent to another electronic device through the video circuit, or the audio data is output to the memory 120 for further processing.

[0054] The electronic device also includes a power module 180 for supplying power to various components. Optionally, the power module 180 can be logically connected to the processor 110 through a power management device, so that the power management device can manage functions such as charging, discharging, and power consumption.

[0055] Although not shown, the electronic device may further include a camera. Optionally, the camera may be located at the front or rear of the electronic device, which is not limited in the present embodiment.

[0056] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0057] In order to make the purpose and technical solution of the present application clearer and more intuitive, the standby control method, device and storage medium provided by the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] Please refer to Figure 2 , is a flow chart of a standby control method provided by an embodiment of the present application. The method can be applied to Figure 1 The electronic equipment shown is described in detail below Figure 2 The various steps in the method shown in the flowchart include:

[0059] S201: When the electronic device is in a first standby state, detect a time length for which the electronic device is in the first standby state.

[0060] Wherein, in the first standby state, the electronic device is powered by a central processing unit (CPU).

[0061] Exemplarily, the first standby state generally refers to an electronic device entering the screen-off state after no operation for a period of time when the screen is on and no tasks are running in the background, or entering the screen-off state by a short press, etc. This application does not specifically limit this.

[0062] In some embodiments, when the electronic device is in the first standby state, it is powered by the CPU and can promptly respond to screen operations, button operations, and notification operations of the electronic device, among which screen operations include double-clicking to turn on the screen, button operations include short pressing the power button, and notification operations include pop-up reminders.

[0063] It should be understood that when the electronic device is powered by the CPU in the first standby state, the power consumption is relatively high because the peripherals of the electronic device may still be turned on.

[0064] In a possible implementation, when the electronic device is in the first standby state, the length of time the electronic device is in the first standby state can be detected by its own sensor, and the length of time the electronic device is in the first standby state can be detected with the help of other devices. This application does not specifically limit this.

[0065] S202: When the duration of the electronic device in the first standby state is greater than a preset time threshold, control the electronic device to enter a second standby state, and the power consumption of the first standby state is greater than the power consumption of the second standby state.

[0066] Wherein, in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

[0067] In some embodiments, when the time duration that the electronic device is in the first standby state is greater than a preset time threshold, it indicates that the electronic device may be temporarily unused, so the electronic device is further controlled to enter the second standby state. It should be understood that the electronic device in the second standby state is still in a state where the screen is off and there are no tasks in the background.

[0068] It should also be understood that the power consumption of the electronic device in the first standby state is greater than that in the second standby state, and the power supply method of the electronic device in the second standby state is different. For example, the electronic device is powered by a step-down circuit in the second standby state.

[0069] The buck circuit is used to convert high voltage input into low voltage output to meet the requirements of various electronic devices for different voltage levels. For example, the output voltage of a high voltage battery or power adapter can be reduced to the operating voltage range required by chips, processors and other electronic components.

[0070] In this embodiment, when the electronic device is in the first standby state for a period longer than a preset time threshold, the electronic device is controlled to enter the second standby state, and the electronic device is powered by a step-down circuit in the second standby state. The use of the step-down circuit will reduce the power supply voltage to the electronic device, and then turn off the peripherals of the electronic device, thereby saving the battery consumption of the electronic device while ensuring that the user can use it as soon as possible, thereby achieving the effect of saving power and extending the battery life of the entire device.

[0071] Based on the above embodiments, Figure 3 A flowchart of a standby control method provided by another embodiment of the present application is described in detail below. Figure 3 The various steps in the method shown in the flowchart include:

[0072] S301, obtaining a device state of the electronic device, where the device state includes whether the electronic device is in a screen-on state, a screen-off state, or a power-off state, where the screen-off state includes a screen-off state with a background task or a screen-off state with no background task.

[0073] It should be understood that the screen-on state generally refers to the state in which the screen of the electronic device is lit, and there may be operations or tasks running on the screen or no operations, etc. The screen-on state of the electronic device can also be understood as the state in which the electronic device is in use. The screen-off state includes the screen-off and background task state or the screen-off and background no task state, where the task can be a download task or a playback task, etc. The screen-off and background task state can also be understood as the state in which the electronic device is in use, and the screen-off and background no task state can be understood as the standby state.

[0074] In some embodiments, the electronic device may detect and obtain the device status through its own tools, or may obtain the device status with the help of other devices, which is not limited in this application.

[0075] S302: When the device is in the screen-off state and there is no background task, determine that the electronic device is in the first standby state.

[0076] For example, the screen-off state can be that the electronic device automatically enters the screen-off state when there is no operation for a period of time when the screen is on, or enters the screen-off state by a short press, or enters the screen-off state by voice control, or enters the screen-off state by gesture operation, etc. The specific method is not limited in this application. Further, when entering the above-mentioned screen-off state and there is no task in the background, it is determined that the electronic device is in the first standby state.

[0077] In some embodiments, when the electronic device is in a first standby state, the peripherals of the electronic device are in an on state, for example, the Bluetooth of the electronic device is in an on state, or the network of the electronic device, such as wireless fidelity (WiFi), is in an on state. In this first standby state, the electronic device still powers various components through the CPU, and can respond to screen operations, button operations, and notification operations of the electronic device in a timely manner, among which screen operations include double-clicking to turn on the screen, button operations include short pressing the power button, and notification operations include pop-up reminders.

[0078] In a possible implementation, the operation of the electronic device entering the shutdown state may be long pressing the power button, or voice control, or gesture control, etc., and the specific method is not limited in this application.

[0079] S303: When the electronic device is in the first standby state, detect the duration of the electronic device being in the first standby state.

[0080] In a possible implementation, when the electronic device is in the first standby state, the length of time the electronic device is in the first standby state can be detected by its own sensor, and the length of time the electronic device is in the first standby state can be detected with the help of other devices. This application does not specifically limit this.

[0081] S304: When the duration of the electronic device in the first standby state is greater than a preset time threshold, control the electronic device to enter a second standby state, and the power consumption of the first standby state is greater than the power consumption of the second standby state.

[0082] In the first standby state, the electronic device is powered by the CPU, and in the second standby state, the electronic device is powered by the step-down circuit included in the electronic device.

[0083] Among them, when the electronic device is in the second standby state, the peripherals of the electronic device are in a turned-off state, for example, WiFi and Bluetooth of the electronic device are in a turned-off state. The peripherals are in a turned-off state to save battery consumption.

[0084] As an example, the preset time threshold may be set to 1 hour or 2 hours, or other values, which are not specifically limited in this application.

[0085] In a possible implementation, the electronic device further includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to a peripheral device, and an operating voltage of the low-power memory is lower than an operating voltage of the peripheral device.

[0086] For example, an exemplary structural diagram of a step-down circuit connected to a battery and a low-power memory of an electronic device is shown in FIG. Figure 4 shown.

[0087] It should be understood that the low-power memory is also connected to peripherals, such as Bluetooth or WiFi, and can be used to send voltage to Bluetooth or WiFi.

[0088] In some implementations, an implementation method of powering an electronic device through a step-down circuit is as follows: powering a low-power memory through a step-down circuit, so that the low-power memory sends a power signal with a voltage lower than the operating voltage of the peripheral to the peripheral at a preset frequency, so that the peripheral is in a closed state. In other words, the electronic device powers the low-power memory through the step-down circuit, and then uses the self-refresh capability of the low-power memory to cut off the power of the peripheral of the electronic device.

[0089] Exemplarily, the low power memory is low power double data rate SDRAM (LPDDR). For example, LPDDR4x can be used in the embodiment of the present application. The operating voltage of LPDDR4x is about 1.1 volts, which is the lowest power consumption storage solution suitable for large-screen smartphones and tablets, and high-performance network systems.

[0090] In some embodiments, the step-down circuit may be a BUCK circuit, which is a DC-to-DC converter based on the principle of inductive energy storage, and applies the basic principles of electromagnetic induction and electric energy conversion in physics. In the BUCK circuit, the DC voltage provided by the input power supply is converted into an adjustable low-voltage output by controlling the on and off states of the switching tube by controlling the input duty cycle of a pulse width modulation (PWM) wave. This can meet the power supply requirements of different circuits.

[0091] For example, the basic topology of the BUCK circuit is as follows: Figure 5As shown in FIG. 1 , the BUCK circuit includes a switch tube Q, a capacitor C, an inductor L, a load R, a diode D and a power supply Vin. The connections of each device are as follows: Figure 5 shown.

[0092] The working principle of BUCK can be divided into four stages: the on stage, the off stage, the free-wheel oscillation stage and the repetition stage. In the on stage, when the switch tube Q is turned on, the inductor L stores electrical energy and the capacitor C is charged; in the off stage, when the switch tube Q is turned off, the energy between the inductor L and the capacitor C is transferred to the load R, and the current in the inductor L still exists at this time, and it will continue to flow to the load R; in the free-wheel oscillation stage, after the current of the inductor L flows to the load R, the switch tube Q is turned off, and the current in the inductor L cannot disappear immediately, so the energy in the inductor L will be reversed back to the switch tube Q, driving the diode D to turn on, and this process is called free-wheel oscillation; in the repetition stage, the above three stages are repeated, and the duty cycle of controlling the conduction of the switch tube Q can be adjusted by the PWM controller, thereby achieving stable regulation of the output voltage.

[0093] Specifically, when the inductor in the BUCK circuit is in the on state, it converts the current through the magnetic field of the inductor's center core into magnetic energy and stores the magnetic energy in the inductor; when it is in the off state, due to the self-inductance of the inductor, the magnetic field will generate voltage, converting electromagnetic energy into electrical energy, and supplying power to the load through the output end. Therefore, by controlling the on and off states of the switch tube, the periodic conversion and regulation of electrical energy between the capacitor and the inductor is achieved, and a stable DC voltage is finally output.

[0094] In addition, the capacitor in the BUCK circuit plays a role in smoothing the output voltage by storing electrical energy when the switch is on and releasing it when it is off, thereby smoothing the output voltage fluctuation. At the same time, in order to ensure a stable output voltage, the BUCK circuit usually adopts negative feedback control, sampling the output voltage and feeding it back to the microcontroller, which then adjusts the duty cycle of the output PWM wave and controls the on and off time of the switch, so that the output voltage remains within a predetermined range.

[0095] In simple terms, the electronic device supplies power to the low-power memory through the BUCK circuit, and then uses the self-refresh capability of the low-power memory to cut off the power of the electronic device's peripherals, thereby saving the battery consumption of the electronic device and achieving the effect of saving power and extending the battery life of the entire device.

[0096] S305: Receive a wake-up operation on the electronic device.

[0097] In some embodiments, the wake-up operation may be a short press of the power button of the electronic device, or voice wake-up, or gesture wake-up, etc., which is not limited in this application. For example, the voice of voice wake-up may be a preset sentence or a word, and the gesture may be a circle drawing gesture, or a three-finger screen swiping gesture, etc.

[0098] S306, in response to the wake-up operation, controlling the peripherals of the electronic device to recover to the state of the peripherals in the first standby state, and controlling the screen of the electronic device to be in a bright screen state.

[0099] Understandably, the electronic device wakes up the electronic device in response to the above-mentioned wake-up operation, and controls the peripherals of the electronic device to restore to the state of the peripherals in the first standby state, for example, automatically synchronizing the connection states of WiFi, Bluetooth, etc. to the state in the first standby state, and then the screen can be turned on to ensure that the user can use it in time.

[0100] Optionally, in response to the wake-up operation, the electronic device may also only control the peripherals of the electronic device to recover to the state of the peripherals in the first standby state, and the screen may remain in the screen-off state, and the screen may be turned on when the user uses it.

[0101] In some embodiments, taking the electronic device as a dictionary pen as an example, after experimental testing, the test data shows that the current of the dictionary pen in the first standby state is about 4 to 5 mA. After using the standby control method in this embodiment, that is, when the duration of the dictionary pen in the first standby state is greater than the preset time threshold, the dictionary pen is controlled to enter the second standby state. After the second standby state is powered by the step-down circuit, all peripherals of the dictionary pen (such as WiFi, Bluetooth, etc.) will be turned off, and the power consumption of the machine is relatively small. The current in the dictionary pen is about 0.4 mA, which is one tenth of the current of the dictionary pen in the first standby state. At the same time, it only takes 800ms to start the dictionary pen in the second standby state, which is very fast and does not affect user use.

[0102] In this embodiment, the electronic device first obtains the device state of the electronic device, and when the device state is the screen-off state and there is no task in the background, it is determined that the electronic device is in the first standby state, and then when the electronic device is in the first standby state, the duration of the electronic device in the first standby state is detected, and then when the duration of the electronic device in the first standby state is greater than the preset time threshold, the electronic device is controlled to enter the second standby state, and the power consumption of the first standby state is greater than the power consumption of the second standby state. Finally, a wake-up operation of the electronic device is received, and in response to the wake-up operation, the peripherals of the electronic device are controlled to be restored to the state of the peripherals in the first standby state, and the screen of the electronic device is controlled to be in the bright screen state. In the standby control method, when the duration of the electronic device in the first standby state is greater than the preset time threshold, the electronic device is controlled to enter the second standby state, and the electronic device is powered by a step-down circuit in the second standby state. The power supply of the step-down circuit can turn off the peripherals of the electronic device, and the current in the electronic device is extremely low, so as to save the battery consumption of the electronic device while ensuring that the user can use it immediately, so as to achieve the effect of power saving and long battery life of the whole machine, and improve the user experience.

[0103] It should also be understood that the above embodiments may be coupled to each other, and this application does not limit this. Moreover, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0104] Combined with the above Figures 1 to 5 , describes in detail the standby control method of the embodiment of the present application, and will be combined with Figure 6 and Figure 7 , describe in detail the standby control device of an embodiment of the present application.

[0105] Figure 6 This is a structural schematic diagram of a standby control device 600 provided in one embodiment of the present application. The device 600 includes: a detection module 601 and a control module 602.

[0106] Among them, the detection module 601 is used to detect the length of time that the electronic device is in the first standby state when the electronic device is in the first standby state; the control module 602 is used to control the electronic device to enter the second standby state when the length of time that the electronic device is in the first standby state is greater than a preset time threshold, and the power consumption of the first standby state is greater than the power consumption of the second standby state; wherein, in the first standby state, the electronic device is powered by the central processing unit CPU, and in the second standby state, the electronic device is powered by the step-down circuit included in the electronic device.

[0107] In some embodiments, when the electronic device is in the first standby state, the peripheral device of the electronic device is in an on state, and when the electronic device is in the second standby state, the peripheral device is in an off state.

[0108] In some embodiments, the electronic device includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to the peripheral device, and the operating voltage of the low-power memory is lower than the operating voltage of the peripheral device, and the device further includes: a power supply module. The power supply module is used to supply power to the low-power memory through the step-down circuit, so that the low-power memory sends a power signal with a voltage lower than the operating voltage of the peripheral device to the peripheral device at a preset frequency, so that the peripheral device is in the closed state.

[0109] In some embodiments, the apparatus further includes: an acquisition module and a determination module. The acquisition module is used to acquire the device state of the electronic device, wherein the device state includes whether the electronic device is in a screen-on state, a screen-off state, or a power-off state, wherein the screen-off state includes a screen-off state with a background task or a screen-off state with no background task; and the determination module is used to determine that the electronic device is in the first standby state when the device state is the screen-off state with no background task.

[0110] In some embodiments, the device further includes: a receiving module. The receiving module is used to receive a wake-up operation on the electronic device; and a control module 602 is further used to control the peripherals of the electronic device to recover to the state of the peripherals in the first standby state in response to the wake-up operation, and control the screen of the electronic device to be in a bright screen state.

[0111] In some embodiments, the step-down circuit is a BUCK circuit.

[0112] In some embodiments, the low power memory is LPDDR.

[0113] In some embodiments, the peripheral device includes Bluetooth or Wireless Fidelity (WiFi).

[0114] It should be understood that the device 600 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the device 600 may be specifically an electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment may be integrated in the device 600, and the device 600 may be used to execute the various processes and / or steps corresponding to the electronic device in the above-mentioned method embodiment, and to avoid repetition, it will not be repeated here.

[0115] The above-mentioned device 600 has the function of implementing the corresponding steps executed by the electronic device in the above-mentioned method; the above-mentioned function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned function.

[0116] Figure 7 A structural schematic diagram of a standby control device provided in another embodiment of the present application. Figure 7 The standby control device shown can be used to execute the method of any one of the aforementioned embodiments.

[0117] like Figure 7 As shown, the standby control device 700 of this embodiment includes: a memory 701, a processor 702, a communication interface 703 and a bus 704. The memory 701, the processor 702 and the communication interface 703 are connected to each other through the bus 704.

[0118] The processor 702 is used to: when the electronic device is in a first standby state, detect the duration of time the electronic device is in the first standby state; when the duration of time the electronic device is in the first standby state is greater than a preset time threshold, control the electronic device to enter a second standby state, and the power consumption of the first standby state is greater than the power consumption of the second standby state; in the first standby state, the electronic device is powered by a central processing unit CPU, and in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

[0119] In some embodiments, when the electronic device is in the first standby state, the peripheral device of the electronic device is in an on state, and when the electronic device is in the second standby state, the peripheral device is in an off state.

[0120] In some embodiments, the electronic device includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to the peripheral device, and the operating voltage of the low-power memory is lower than the operating voltage of the peripheral device, and the processor 702 is used to: supply power to the low-power memory through the step-down circuit so that the low-power memory sends a power signal with a voltage lower than the operating voltage of the peripheral device to the peripheral device at a preset frequency, so that the peripheral device is in the off state.

[0121] In some embodiments, the processor 702 is used to: obtain the device status of the electronic device, the device status including whether the electronic device is in a screen-on state, a screen-off state, or a power-off state, the screen-off state including a screen-off and background task state or a screen-off and background no task state; when the device status is the screen-off and background no task state, determine that the electronic device is in the first standby state.

[0122] In some embodiments, the processor 702 is used to: receive a wake-up operation on the electronic device; in response to the wake-up operation, control the peripherals of the electronic device to restore to the state of the peripherals in the first standby state, and control the screen of the electronic device to be in a bright screen state.

[0123] In some embodiments, the step-down circuit is a BUCK circuit.

[0124] In some embodiments, the low power memory is LPDDR.

[0125] In some embodiments, the peripheral device includes Bluetooth or Wireless Fidelity (WiFi).

[0126] The memory 701 may be a read only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 701 may store a program. When the program stored in the memory 701 is executed by the processor 702, the processor 702 is used to execute each step of the method shown in the above embodiment.

[0127] The processor 702 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs to implement the various methods shown in the embodiments of the present application.

[0128] The processor 702 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the method of the embodiment of the present application may be completed by an integrated logic circuit of hardware in the processor 702 or by instructions in the form of software.

[0129] The processor 702 may also be a general purpose processor, a digital signal processor (DSP), an ASIC, a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0130] The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 702 reads the information in the memory 701, and completes the functions required to be performed by the units included in the device of the present application in combination with its hardware.

[0131] The communication interface 703 may use, but is not limited to, a transceiver or other transceiver device to implement communication between the apparatus 700 and other devices or a communication network.

[0132] The bus 704 may include a path for transmitting information between various components of the device 700 (eg, the memory 701 , the processor 702 , and the communication interface 703 ).

[0133] It should be understood that the device 700 shown in the embodiment of the present application may be an electronic device, or may also be a chip configured in the electronic device.

[0134] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0136] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0137] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0139] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0140] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0141] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A standby control method, characterized in that: Applied to electronic equipment, the method comprises: When the electronic device is in a first standby state, detecting a time length for which the electronic device is in the first standby state; When the duration of the electronic device being in the first standby state is longer than a preset time threshold, controlling the electronic device to enter a second standby state, the power consumption of the first standby state being greater than the power consumption of the second standby state; Wherein, in the first standby state, the electronic device is powered by a central processing unit CPU, and in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

2. The method according to claim 1, characterized in that When the electronic device is in the first standby state, the peripheral device of the electronic device is in an on state, and when the electronic device is in the second standby state, the peripheral device is in an off state.

3. The method according to claim 2, characterized in that The electronic device includes a low-power memory, the step-down circuit is connected to a battery of the electronic device and the low-power memory, the low-power memory is connected to the peripheral device, and the operating voltage of the low-power memory is lower than the operating voltage of the peripheral device, and the electronic device is powered by the step-down circuit, including: The low-power memory is powered by the step-down circuit, so that the low-power memory sends a power signal with a voltage lower than the working voltage of the peripheral to the peripheral at a preset frequency, so that the peripheral is in the closed state.

4. The method according to claim 1, characterized in that: When the electronic device is in the first standby state, before detecting the duration of the electronic device being in the first standby state, the method further includes: Acquire the device state of the electronic device, where the device state includes whether the electronic device is in a screen-on state, a screen-off state, or a power-off state, where the screen-off state includes a screen-off state with a background task or a screen-off state with no background task; When the device state is the screen-off state and there is no background task, it is determined that the electronic device is in the first standby state.

5. The method according to claim 2, characterized in that: After controlling the electronic device to enter the second standby state, the method further includes: Receiving a wake-up operation on the electronic device; In response to the wake-up operation, the peripherals of the electronic device are controlled to recover to the state of the peripherals in the first standby state, and the screen of the electronic device is controlled to be in a bright screen state.

6. The method according to claim 1, characterized in that The step-down circuit is a BUCK circuit.

7. The method according to claim 3, characterized in that The low power memory is LPDDR.

8. The method according to claim 2, characterized in that: The peripheral device includes Bluetooth or Wireless Fidelity WiFi.

9. A standby control device, characterized in that: The device comprises: a detection module, configured to detect a time length during which the electronic device is in the first standby state when the electronic device is in the first standby state; a control module, configured to control the electronic device to enter a second standby state when the duration of the electronic device being in the first standby state is greater than a preset time threshold, wherein the power consumption of the first standby state is greater than the power consumption of the second standby state; Wherein, in the first standby state, the electronic device is powered by a central processing unit CPU, and in the second standby state, the electronic device is powered by a step-down circuit included in the electronic device.

10. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory is used to store code instructions; the processor is used to run the code instructions to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 8.