Shutdown method, shutdown device and electronic equipment

By introducing normal shutdown and complete shutdown processes into electronic devices, the problem of power consumption of the equipment under normal shutdown is solved, and a shutdown method that saves battery power is achieved, improving the user experience.

CN119065486APending Publication Date: 2024-12-03SHANGHAI INNOVATECH INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411129432.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing electronic devices still consume power when they are shut down, causing the battery to be quickly exhausted and affecting the user experience.

Method used

By introducing two processes: normal shutdown and full shutdown in electronic devices, users can choose one of them. The normal shutdown process shuts down the main system of the device but continues to supply power to the PLL module. The complete shutdown process disconnects the power of the PLL module to reduce power consumption .

Benefits of technology

It effectively reduces the power consumption of electronic devices, avoids the problem of long-term charging or disassembly activation due to battery feed protection, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065486A_ABST
    Figure CN119065486A_ABST
Patent Text Reader

Abstract

The invention provides a shutdown method, a shutdown device and electronic equipment. The electronic equipment comprises a first control used for triggering a normal shutdown process of the electronic equipment and a second control used for triggering a complete shutdown process of the electronic equipment. The method comprises the following steps: in response to an operation on a second control, executing a normal shutdown process; after the normal shutdown process is executed, a power supply of a first module of the electronic equipment is turned off to achieve complete shutdown of the electronic equipment, and the first module is used for running at least one of the following functions: a shutdown alarm clock and a real-time alarm clock. According to the power-off method, the power-off device, the electronic device and the electronic device, when the electronic device responds to the operation of the user on the complete power-off control, the normal power-off process is executed firstly, and then the power supply of the module providing the functions of the power-off alarm clock, the real-time clock and the like is turned off, so that complete power-off is achieved, and power consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic equipment, and more specifically, to a shutdown method, a shutdown device and an electronic equipment. Background Art

[0002] With the development of science and technology, the shells of most electronic devices are designed to be non-detachable. The batteries are inside the electronic devices. Even if the electronic devices are shut down normally, there will be a certain amount of power consumption. Generally speaking, electronic devices that have just left the factory have a certain initial power. If consumers find that the battery is exhausted when they turn it on for the first time, it will greatly affect the user experience.

[0003] Therefore, how to reduce the power consumption of electronic devices to avoid the impact of power exhaustion on user experience is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a shutdown method, a shutdown device and an electronic device. The method can reduce the power consumption of the electronic device to avoid the impact of power exhaustion on user experience.

[0005] In a first aspect, a shutdown method is provided, which is applied to an electronic device, the electronic device comprising a first control and a second control, the first control being used to trigger a normal shutdown process of the electronic device, the second control being used to trigger a complete shutdown process of the electronic device, the complete shutdown process including the normal shutdown process, the method comprising: executing the normal shutdown process in response to an operation on the second control; when the normal shutdown process is completed, turning off the power of a first module of the electronic device to achieve a complete shutdown of the electronic device, the first module being used to run at least one of the following functions: a shutdown alarm, a real-time clock.

[0006] Based on the above scheme, a control for user interaction is set on the display interface of the electronic device. When the user selects the complete shutdown control, the electronic device first executes the normal shutdown process to prevent the electronic device from being abnormally powered off due to accidental touching of physical buttons, thereby preventing the loss of user data. After the normal shutdown process is completed, the electronic device further disconnects the power supply of the module that provides the shutdown alarm clock, real-time clock and other functions to achieve a complete shutdown and further avoid power consumption.

[0007] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: in response to an operation on the first control, executing the normal shutdown process to achieve normal shutdown of the electronic device, the power consumption of the normal shutdown state of the electronic device is greater than the power consumption of the electronic device in a completely shutdown state.

[0008] Based on the above solution, users can choose to shut down the electronic device normally or completely according to actual needs.

[0009] In combination with the first aspect, in certain implementations of the first aspect, the electronic device includes a power button, and before executing the normal shutdown process in response to the operation of the second control, the method also includes: in response to the operation of the power button, displaying a first interface, the first interface including the first control and the second control.

[0010] Exemplarily, in response to a long press operation of the power button by the user, a normal shutdown control and a complete shutdown control may be displayed.

[0011] In combination with the first aspect, in certain implementations of the first aspect, after the normal shutdown process is completed, the power of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device, including: in response to the completion of the normal shutdown process, a second interface is displayed, the second interface includes a first prompt message, and the first prompt message is used to prompt that the normal shutdown process is completed and / or the power of the first module of the electronic device is being turned off to achieve a complete shutdown of the electronic device.

[0012] For example, when the electronic device completes the normal shutdown process, it can display a prompt message, emit a prompt voice, vibrate, etc. to remind the user that the normal shutdown process has been completed, or remind the user that the voltage-controlled oscillator (VDCXO) power supply is being shut down.

[0013] In combination with the first aspect, in some implementations of the first aspect, the power supply of the first module of the electronic device is a voltage-controlled oscillator power supply.

[0014] In a second aspect, an electronic device is provided, which includes a first control and a second control, the first control is used to trigger a normal shutdown process of the electronic device, and the second control is used to trigger a complete shutdown process of the electronic device, the complete shutdown process includes the normal shutdown process, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, the one or more computer programs include instructions, when the instructions are executed by the one or more processors, the electronic device performs the following steps: in response to the operation of the second control, the electronic device executes the normal shutdown process; when the normal shutdown process is completed, the power of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device, the first module is used to run at least one of the following functions: shutdown alarm, real-time clock.

[0015] In combination with the second aspect, in certain implementations of the second aspect, when the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to the operation of the first control, the electronic device executes the normal shutdown process to achieve normal shutdown of the electronic device, and the power consumption of the normal shutdown state of the electronic device is greater than the power consumption of the electronic device in the completely shutdown state.

[0016] In combination with the second aspect, in certain implementations of the second aspect, the electronic device includes a power button, wherein, when the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to operation of the power button, displaying a first interface, the first interface including the first control and the second control.

[0017] In combination with the second aspect, in certain implementations of the second aspect, after the normal shutdown process is completed, the power of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device. When the instruction is executed by the one or more processors, the electronic device performs the following steps: in response to the completion of the normal shutdown process, a second interface is displayed, the second interface includes a first prompt message, and the first prompt message is used to prompt that the normal shutdown process is completed and / or the power of the first module of the electronic device is being turned off to achieve a complete shutdown of the electronic device.

[0018] In combination with the second aspect, in some implementations of the second aspect, the power supply of the first module of the electronic device is a voltage-controlled oscillator power supply.

[0019] According to a third aspect, a shutdown device is provided, which includes a first control and a second control, wherein the first control is used to trigger a normal shutdown process of the device, and the second control is used to trigger a complete shutdown process of the device, wherein the complete shutdown process includes the normal shutdown process. The device includes a processing unit for executing the normal shutdown process in response to an operation on the second control; and for turning off the power supply of a first module of the device after the normal shutdown process is completed to achieve a complete shutdown of the device, wherein the first module is used to run at least one of the following functions: a shutdown alarm clock and a real-time clock.

[0020] In combination with the third aspect, in certain implementations of the third aspect, the processing unit is also used to execute the normal shutdown process in response to an operation on the first control to achieve normal shutdown of the device, and the power consumption of the normal shutdown state of the device is greater than the power consumption of the device in the complete shutdown state.

[0021] In combination with the third aspect, in certain implementations of the third aspect, the device includes a power button, and the device also includes: a display unit, used to display a first interface in response to an operation on the power button, the first interface including the first control and the second control.

[0022] In combination with the third aspect, in certain implementations of the third aspect, the display unit is specifically used to display a second interface in response to the completion of the normal shutdown process, and the second interface includes a first prompt message, and the first prompt message is used to prompt that the normal shutdown process is completed and / or the power of the first module of the device is being turned off to achieve a complete shutdown of the device.

[0023] In combination with the third aspect, in certain implementations of the third aspect, the power supply of the first module of the device is a voltage-controlled oscillator power supply.

[0024] In a fourth aspect, a shutdown device is provided, comprising: a processor coupled to a memory, the memory being used to store a computer program, the processor being used to run the computer program, so that the shutdown device executes the method in the first aspect and any possible implementation thereof.

[0025] In a fifth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a computer, the computer implements the method in the first aspect and any possible implementation thereof.

[0026] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method in the first aspect and any possible implementation thereof.

[0027] In a seventh aspect, a chip is provided, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface to execute the method in the first aspect and any possible implementation thereof.

[0028] In combination with the seventh aspect, in one possible implementation, the processor is coupled to the memory via an interface.

[0029] In combination with the seventh aspect, in a possible implementation, the chip system also includes a memory, in which a computer program or computer instructions are stored. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0031] Figure 2 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0032] Figure 3 is a schematic flow chart of a shutdown method provided in an embodiment of the present application;

[0033] Figure 4 It is a set of GUIs provided by the embodiments of the present application;

[0034] Figure 5 It is a schematic flowchart of a shutdown method provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0036] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: 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 objects associated before and after are in an "or" relationship.

[0037] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0038] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of the electronic device include but are not limited to a device equipped with Or a portable device with other operating systems. The portable device may also be other portable devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable device, but a smart home device such as a desktop computer, a smart host, a smart speaker, a smart refrigerator, etc.

[0039] For example, Figure 1 The structure diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an internal memory 121, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170C, a sensor module 180, a camera 193, and a display screen 194. The sensor module 180 may include an acceleration sensor 180E, a touch sensor 180K, and the like.

[0040] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some 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.

[0041] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc.

[0042] The processor 110 may also be provided with a memory for storing instructions and data.

[0043] The wireless communication function of the device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0044] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in device 100 can be used to cover a single or multiple communication frequency bands.

[0045] The mobile communication module 150 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.

[0046] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.

[0047] The wireless communication module 160 can provide wireless communication solutions applied to the device 100, 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 technology (NFC), infrared technology (IR), etc.

[0048] The device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0049] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.

[0050] The ISP is used to process the data fed back by the camera 193. In some embodiments, the ISP can be set in the camera 193.

[0051] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.

[0052] The internal memory 121 may be used to store program codes, where the program codes include instructions.

[0053] The device 100 can implement audio functions, such as music playback, through the audio module 170, the speaker 170A, the microphone 170C, and the application processor.

[0054] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0055] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.

[0056] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.

[0057] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the device 100, which is different from the position of the display screen 194.

[0058] With the development of science and technology, most of the current electronic devices have non-detachable shells, and the batteries are also fixedly packaged inside the shells. When electronic devices leave the factory, the batteries usually have a certain initial power. But even if the electronic devices are in a normal shutdown state, the electronic devices will still have a system that continues to work and consume power. For a 500mAh battery, even if it is fully charged, it can only support about 3.5 months.

[0059] When the battery is exhausted, the battery will enter the power-feed protection state. If the battery of an electronic device is in the power-feed protection state, it will take a long time to charge, or even need to be disassembled and activated before it can be used again.

[0060] Electronic devices that have just left the factory usually go through a long period of transportation and storage before reaching consumers. If the battery of the electronic device is in a feeding state because it is exhausted, it will greatly affect the consumer experience.

[0061] The power consumed by an electronic device when it is normally turned off is usually to maintain the operation of a phase-locked loop (PLL) module. The functions of the PLL module may include a shutdown alarm clock, a real-time clock (RTC), and the like.

[0062] The shutdown alarm allows the electronic device to sound an alarm at the time set by the user when it is normally shut down. The real-time clock can continue to provide the correct time when the electronic device is normally shut down. It can be seen that when the electronic device is normally shut down, even if the main system is powered off, if the power supply for the PLL module is still powered, the function of the PLL module will continue to run and consume power.

[0063] like Figure 2 As shown, a schematic diagram of a system architecture provided by an embodiment of the present application is shown. The electronic device includes a PLL module and a voltage-controlled oscillator (VDCXO) power supply for powering the PLL module. Generally speaking, when the electronic device is normally shut down, the VDCXO power supply continues to power the PLL module. In the shutdown method provided in an embodiment of the present application, by disconnecting the VDCXO power supply for the PLL module, the functions involved in the PLL module will stop running, thereby reducing power consumption and preventing battery power feeding from affecting the user's experience.

[0064] like Figure 3 As shown, a schematic flowchart of a shutdown method provided in an embodiment of the present application is shown. The method can be applied to electronic devices. The method is described in detail below.

[0065] S301, detecting a user's operation on a complete shutdown control.

[0066] It should be noted that a complete shutdown control may be provided on the display interface of the electronic device.

[0067] Among them, a control is a visual graphical interface element presented to the user. It is a software component included in an application that controls the data processed by the application and the interactive operations on the data. The user can interact with the control through operations such as touch and slide to read and edit the relevant information of the application. Generally speaking, a control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, status bars, etc. In response to the user's operation on different controls (for example, touch operation or click operation), different interfaces can be displayed on the screen of the electronic device.

[0068] For example, a power button or a power button may be provided on the electronic device. In response to a user long pressing the power button or the power button, the electronic device may display a normal shutdown control and a complete shutdown control on a display interface of the electronic device. The user's operation on the normal shutdown control may trigger a normal shutdown process of the electronic device, and the user's operation on the complete shutdown control may trigger a complete shutdown process of the electronic device.

[0069] Among them, normal shutdown can be understood as the main system of the electronic device is shut down, and the VDCXO power supply can continue to supply power to the PLL module. Complete shutdown can be understood as the main system of the electronic device is shut down, and the VDCXO power supply disconnects the power supply to the PLL module.

[0070] Exemplarily, the user's operation on the complete shutdown control may be an operation of the user clicking the complete shutdown control or sliding the complete shutdown control, which is not limited in the embodiments of the present application.

[0071] S302, in response to the user's operation on the complete shutdown control, first execute a normal shutdown process.

[0072] Exemplarily, after the operating system of the electronic device detects the user's operation of completely shutting down, it will start to execute the shutdown procedure. The system will check whether there are any running applications, and try the running application function program to save the status and data of the application. The operating system will save the current system state, including settings, open files, etc., so that it can be restored at the next startup. In addition, the system will shut down peripheral devices in a certain order, such as wireless network (wireless fidelity, WiFi), Bluetooth, global positioning system (global positioning system, GPS), etc. The power management unit in the system begins to intervene and control the gradual shutdown of the power supply to ensure the safe shutdown of the hardware components. The system writes the current time to the RTC to ensure that the time can continue to count after shutdown. It can be seen that when the electronic device is shut down normally, the main system is shut down, but the PLL module used to implement the RTC function will continue to run after normal shutdown, causing a certain amount of power consumption.

[0073] S303, when the normal shutdown process is completed, the VDCXO power supply to the PLL module is disconnected to achieve a complete shutdown of the electronic device.

[0074] It should be noted that, when the electronic device executes a complete shutdown process, it is necessary to first execute a normal shutdown process to prevent data loss caused by abnormal shutdown of the electronic device.

[0075] It can be understood that the complete shutdown process of the electronic device includes a normal shutdown process and a process of disconnecting the VDCXO power supply to the PLL module.

[0076] Based on the above scheme, a control for triggering a complete shutdown process is provided on the electronic device. When the user operates the complete shutdown control, the electronic device first performs a normal shutdown process. After the electronic device is shut down normally, the power supply to the PLL module is disconnected. On the premise of ensuring data security when the electronic device is shut down normally, power consumption is further reduced to prevent the inability to start up due to battery power feeding, thereby reducing the user experience.

[0077] For ease of understanding, illustrative examples are given below. Figure 4 As shown, a set of graphical user interfaces (GUI) is shown, taking a mobile phone terminal as an example, a shutdown method provided in an embodiment of the present application is illustrated.

[0078] like Figure 4 As shown in (a) of FIG. 1 , the display interface of the mobile terminal is displayed. The mobile terminal device is provided with a power button 401. In response to the user's long pressing of the power button 401, the mobile terminal displays a Figure 4 The shutdown interface shown in (a) in FIG. 1 shows a normal shutdown control and a complete shutdown control. If the user selects the normal shutdown control, the mobile terminal will execute the normal shutdown process; if the user selects the complete shutdown control, the mobile terminal will first execute the normal shutdown process, and when the normal shutdown process is completed, the VDCXO power supply to the PLL module is disconnected.

[0079] like Figure 4 As shown in (b), in response to the user's operation of the complete shutdown control 402, the mobile terminal first performs a normal shutdown process. When the normal shutdown process is completed, the mobile terminal displays a prompt message 403, prompting the user that the VDCXO power supply to the PLL module is being turned off.

[0080] It is understandable that when the mobile terminal displays the prompt information 403, it can be considered that the normal shutdown process of the mobile terminal has been completed, and the PLL module will be powered on to achieve complete shutdown of the mobile terminal.

[0081] It should be noted that the above Figure 4 The controls, prompt information, etc. displayed on the display interface of the mobile terminal are only an exemplary description, and the embodiments of the present application do not limit this.

[0082] It is understandable that the electronic device reminds the user that the normal shutdown process has been completed in the following ways, including but not limited to: Figure 4 The method of displaying the prompt information shown in (b) can also remind the user that the normal shutdown process has been completed by prompting voice, vibration, etc. Of course, the electronic device may not remind the user that the normal shutdown process has been completed, so that the complete shutdown process of the electronic device is not perceived by the user, and the embodiments of the present application are not limited to this.

[0083] like Figure 5 As shown, a schematic flowchart of a shutdown method provided in an embodiment of the present application is shown. The method can be applied to electronic devices. The method is described in detail below.

[0084] S501, in response to an operation on a second control, executing a normal shutdown process.

[0085] It should be noted that the electronic device includes a first control and a second control. The first control may be Figure 4 The normal shutdown control shown in (a) in FIG. 1 , the second control may be as follows: Figure 4 The first control is used to trigger the normal shutdown process of the electronic device, and the second control is used to trigger the complete shutdown process of the electronic device, and the complete shutdown process includes the normal shutdown process.

[0086] S502, when the normal shutdown process is completed, turn off the power of the first module of the electronic device to achieve a complete shutdown of the electronic device.

[0087] Exemplarily, the first module is used to run at least one of the following functions: shutdown alarm, real-time clock.

[0088] For example, the first module is a PLL module. The power supply of the first module is a VDCXO power supply.

[0089] It can be seen that there are two kinds of controls arranged on the electronic device, which are used to trigger the normal shutdown process and the complete shutdown process respectively. Since the complete shutdown process includes the normal shutdown process. When the complete shutdown process of the electronic device is triggered, the normal shutdown process is first executed to ensure the normal shutdown of the main system of the electronic device and the security of user data. Then the first module of the electronic device is powered off to achieve the complete shutdown of the electronic device, which further saves battery power and prevents the user experience from being affected by battery power feeding.

[0090] In one implementation, in response to an operation on the first control, a normal shutdown process is executed to achieve normal shutdown of the electronic device, and the power consumption of the normal shutdown state of the electronic device is greater than the power consumption of the electronic device in a completely shutdown state.

[0091] Obviously, this application also supports the normal shutdown process of the electronic device, and the user can choose to shut down the electronic device normally or completely according to actual needs.

[0092] In one implementation, the electronic device includes a power button. Before executing a normal shutdown process in response to an operation on a second control, a first interface is displayed in response to the operation on the power button, and the first interface includes a first control and a second control.

[0093] For example, in response to a user's long press operation on the power button, the electronic device may display the following Figure 4 The first interface shown in (a) in FIG. A first control and a second control may be displayed on the first interface so that the user can trigger a corresponding shutdown process.

[0094] In one implementation, in response to the normal shutdown process being completed, a second interface is displayed, the second interface including a first prompt message, the first prompt message being used to prompt that the normal shutdown process is completed and / or that the power of the first module of the electronic device is being turned off to achieve a complete shutdown of the electronic device.

[0095] For example, when the electronic device completes the normal shutdown process, the electronic device may display the following Figure 4 In the second interface shown in (b), the first prompt information may be prompt information 403 to prompt the user that the normal shutdown process has been completed, or to prompt the user that the VDCXO power supply is being shut down.

[0096] It is understandable that the electronic device prompts the user that the normal shutdown process has been completed, or prompts the user that the VDCXO power supply is being turned off in ways that include but are not limited to displaying prompt information, prompting voice, vibration, etc.

[0097] In the shutdown method provided by the present application, a control for user interaction is set on the display interface of the electronic device. When the user selects the complete shutdown control, the electronic device first executes a normal shutdown process to prevent the electronic device from being abnormally powered off due to accidental touching of a physical button, thereby preventing the loss of user data. After the normal shutdown process is completed, the electronic device further disconnects the power supply of the module that provides the shutdown alarm, real-time clock and other functions to achieve a complete shutdown and further avoid power consumption.

[0098] The embodiment of the present application provides a computer program product, which, when executed on a device, enables the device to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above method-related embodiments, and will not be described in detail here.

[0099] The embodiment of the present application provides a readable storage medium, which contains instructions. When the instructions are executed on a device, the device executes the technical solution of the above embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0100] The embodiment of the present application provides a chip, which is used to execute instructions. When the chip is running, the technical solution in the above embodiment is executed. The implementation principle and technical effect are similar and will not be repeated here.

[0101] 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.

[0102] 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.

[0103] 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.

[0104] 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.

[0105] 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 each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0106] 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 shutdown method, It is characterized in that The method is applied to an electronic device, the electronic device includes a first control and a second control, the first control is used to trigger a normal shutdown process of the electronic device, the second control is used to trigger a complete shutdown process of the electronic device, the complete shutdown process includes the normal shutdown process, and the method includes: In response to the operation on the second control, executing the normal shutdown process; When the normal shutdown process is completed, the power of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device, wherein the first module is used to run at least one of the following functions: Shut down alarm clock, real-time clock.

2. The method according to claim 1, It is characterized in that The method further comprises: In response to the operation of the first control, the normal shutdown process is executed to achieve normal shutdown of the electronic device, and the power consumption of the normal shutdown state of the electronic device is greater than the power consumption of the electronic device in the complete shutdown state.

3. The method according to claim 1 or 2, It is characterized in that The electronic device includes a power button, and before executing the normal shutdown process in response to the operation on the second control, the method further includes: In response to an operation on the power key, a first interface is displayed, where the first interface includes the first control and the second control.

4. The method according to claim 1 or 2, It is characterized in that After the normal shutdown process is completed, the power supply of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device, including: In response to the completion of the normal shutdown process, a second interface is displayed, and the second interface includes a first prompt information, and the first prompt information is used to prompt that the normal shutdown process is completed and / or the power of the first module of the electronic device is being turned off to achieve a complete shutdown of the electronic device.

5. The method according to claim 1 or 2, It is characterized in that The power supply of the first module of the electronic device is a voltage controlled oscillator power supply.

6. An electronic device, It is characterized in that The electronic device includes a first control and a second control, the first control is used to trigger a normal shutdown process of the electronic device, and the second control is used to trigger a complete shutdown process of the electronic device, the complete shutdown process includes the normal shutdown process, including: one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the electronic device performs the following steps: In response to the operation on the second control, the electronic device executes the normal shutdown process; When the normal shutdown process is completed, the power of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device, wherein the first module is used to run at least one of the following functions: Shut down alarm clock, real-time clock.

7. The electronic device according to claim 6, It is characterized in that When the instructions are executed by the one or more processors, the electronic device performs the following steps: In response to the operation of the first control, the electronic device executes the normal shutdown process to achieve normal shutdown of the electronic device, and the power consumption of the normal shutdown state of the electronic device is greater than the power consumption of the electronic device in the complete shutdown state.

8. The electronic device according to claim 6 or 7, It is characterized in that The electronic device comprises a power button, When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to an operation on the power key, a first interface is displayed, where the first interface includes the first control and the second control.

9. The electronic device according to claim 6 or 7, It is characterized in that After the normal shutdown process is completed, the power supply of the first module of the electronic device is turned off to achieve a complete shutdown of the electronic device. When the instruction is executed by the one or more processors, the electronic device performs the following steps: In response to the completion of the normal shutdown process, a second interface is displayed, and the second interface includes a first prompt information, and the first prompt information is used to prompt that the normal shutdown process is completed and / or the power of the first module of the electronic device is being turned off to achieve a complete shutdown of the electronic device.

10. The electronic device according to claim 6 or 7, It is characterized in that The power supply of the first module of the electronic device is a voltage controlled oscillator power supply.

11. A shutdown device, It is characterized in that include: A processor coupled to a memory, wherein the memory is used to store a computer program, and the processor is used to run the computer program so that the shutdown device performs the method according to any one of claims 1 to 5.

12. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the computer program is executed by a computer, the computer is caused to implement the method according to any one of claims 1 to 5.

13. A chip, It is characterized in that The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method according to any one of claims 1 to 5.