Electronic device control method and apparatus, device, and storage medium
By acquiring the status information of electronic devices, the operating modes of the first and second systems are automatically controlled, solving the problem of poor battery life of mobile electronic devices and achieving a reasonable balance between performance and power consumption without affecting the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2026-03-05
AI Technical Summary
Mobile electronic devices have poor battery life, and the power consumption control of existing electronic devices is unreasonable, resulting in an ineffective balance between performance and power consumption.
By acquiring the status information of electronic devices, the operating modes of the first and second systems are automatically controlled. The first system is run by the first processor, and the second system is run by the second processor, realizing the switching of ultra-low power consumption states. The optimal timing is selected according to the usage scenario to reasonably balance performance and power consumption.
Without compromising user experience, effectively reduce the power consumption of electronic devices, ensure performance requirements, and extend device lifespan.
Smart Images

Figure CN2025117765_05032026_PF_FP_ABST
Abstract
Description
Control methods, devices, equipment and storage media for electronic devices
[0001] This application claims priority to Chinese Patent Application No. 202411203534.4, filed on August 29, 2024, entitled “Control Method, Apparatus, Device and Storage Medium for Electronic Equipment”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic devices, and in particular to a control method, apparatus, device, and storage medium for electronic devices. Background Technology
[0003] Mobile electronic devices (such as wearable devices) are easy to carry and use, but due to their size limitations, they typically have poor battery life.
[0004] To improve the battery life of electronic devices, it is necessary to reduce their power consumption. One related technology involves setting up a dual-system architecture for the electronic device. A lower-performance first processor runs a less complex first system, while a higher-performance second processor runs a more complex second system. Through the cooperation of these two systems, the power consumption of the electronic device can be reduced. Summary of the Invention
[0005] This application provides a control method, apparatus, device, and storage medium for an electronic device, which can achieve a reasonable balance between the performance and power consumption of the electronic device. The technical solution is as follows:
[0006] According to one aspect of this application, a control method for an electronic device is provided, the method comprising:
[0007] Obtain the status information corresponding to the electronic device, the status information including first status information and / or second status information, the first status information being related to the status of the user of the electronic device, and the second status information being related to the status of the electronic device;
[0008] Based on the status information, the operating mode of the electronic device is controlled to enter or exit the first mode;
[0009] The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by the first processor, and the second system is run by the second processor.
[0010] According to another aspect of this application, a control device for an electronic device is provided, the device comprising:
[0011] The acquisition module is used to acquire the status information corresponding to the electronic device. The status information includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, and the second status information is related to the status of the electronic device.
[0012] The control module is used to control the operating mode of the electronic device to enter or exit the first mode based on the status information.
[0013] The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by the first processor, and the second system is run by the second processor.
[0014] According to another aspect of this application, an electronic device is provided, the electronic device including a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to implement the control method of the electronic device as described above.
[0015] According to another aspect of this application, a computer-readable storage medium is provided, wherein at least one program is stored therein, the at least one program being loaded and executed by a processor to implement the control method of the electronic device as described above.
[0016] According to another aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the control method for the electronic device provided in the above aspect. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 is a schematic diagram of a process for switching the operating mode of an electronic device according to an exemplary embodiment of this application;
[0019] Figure 2 is a flowchart illustrating a control method for an electronic device provided in an exemplary embodiment of this application;
[0020] Figure 3 is a flowchart illustrating a control method for an electronic device provided in an exemplary embodiment of this application;
[0021] Figure 4 is a schematic diagram of an operating mode provided by an exemplary embodiment of this application;
[0022] Figure 5 is a dual-system architecture diagram provided in an exemplary embodiment of this application;
[0023] Figure 6 is a schematic diagram of a process for switching operating modes provided in an exemplary embodiment of this application;
[0024] Figure 7 is a schematic diagram of the structure of a control device for an electronic device provided in an exemplary embodiment of this application;
[0025] Figure 8 is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application.
[0026] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0028] First, let me introduce the terms used in this application:
[0029] Dual System: A single electronic device has two processors and two different operating systems. For example, an electronic device has a first processor and a second processor, where the first processor runs a first system and the second processor runs a second system. In some embodiments, the first and second processors may be two separately packaged chips; in other embodiments, they may be packaged on the same chip. In some embodiments, the program running on the processor can be understood as a system, including but not limited to an operating system; in other embodiments, a dual system may consist of two operating systems.
[0030] Deep Sleep (DS): For chips, deep sleep is a state / operating mode that electronic devices enter to save power. In some embodiments, deep sleep is a suspend-to-memory state. When an electronic device is in deep sleep, most of the central processing unit (CPU) and hardware processes are paused, device functionality is reduced, and network connections may be lost. Only critical hardware of the electronic device can interrupt the deep sleep state, such as receiving a phone call or pressing the device's power button to wake the device and exit deep sleep. Compared to normal standby, deep sleep can reduce battery consumption (power consumption) significantly. For dual-system electronic devices, deep sleep is a state that one or more systems can enter. In some embodiments, when one system of a dual-system electronic device enters deep sleep, its corresponding processor and hardware processes are paused, overall device functionality is reduced, and network connections for that system may be lost. Due to design differences, the deep sleep behavior of different chips may vary, therefore the modules disabled during deep sleep, power consumption, etc., may differ. The above definition is for illustrative purposes only and is not intended to limit the scope.
[0031] Normal Standby Mode: For chips, normal standby mode (also known as standby state) is a state in which some electronic components of an electronic device are turned off. In this state, some modules can be shut down to save power, while allowing for faster wake-up to respond to business needs. The specific modules that are turned off and those that are kept may vary depending on the chip design, and this is not limited. In some embodiments, standby state can be a state entered when no business is being processed, in which case some background processes can continue to run. In some embodiments, standby state can also be understood as hibernation state and / or sleep state. In some embodiments, when in standby state, the screen of the electronic device may be off, and the network connection may be disconnected, allowing background tasks to run. In some embodiments, for dual-system electronic devices, standby state can be a state that one or more systems can enter. In some embodiments, when one system of a dual-system electronic device enters standby state, that system disconnects from the network and keeps background processes running. Compared to deep sleep state, standby state shuts down fewer modules, and / or the system consumes more power in standby state than in deep sleep state.
[0032] Wearable devices: Wearable devices are portable electronic devices worn directly on the user's body or integrated into the user's clothing or accessories. Wearable devices not only provide hardware, but also offer powerful functions through software (such as an operating system), combined with data interaction and cloud interaction. For example, wearable devices can monitor health indicators, make and receive phone calls, and provide information notifications.
[0033] Smartwatches: Smartwatches are wearable devices that combine the form factor of a watch with an intelligent system. Through built-in systems (such as an operating system), processors, and memory, smartwatches can perform functions such as data processing, information display, and interactive control. In addition to the basic function of telling time, smartwatches can synchronize calls, text messages, emails, photos, music, etc., from other electronic devices (such as mobile phones). They also collect activity and physiological data from the user through various sensors (such as accelerometers, gyroscopes, and heart rate sensors), and connect to mobile phones or other electronic devices via wireless communication technology to achieve functions such as message synchronization and health management.
[0034] The following is an example of power consumption during deep sleep:
[0035] In deep sleep mode, because only memory is retained while other hardware is shut down, information can be directly loaded from memory when exiting deep sleep mode to start the electronic device and put it into operation. However, restarting an electronic device when it is completely powered off takes longer. In one possible scenario, starting an electronic device in deep sleep mode takes approximately 600ms, while starting it when powered off takes approximately 30s. Therefore, starting an electronic device from deep sleep mode is faster than starting it when powered off. Furthermore, because deep sleep mode disables more functions than standby mode, it consumes less power, but waking from deep sleep mode to operation takes longer than waking from standby mode.
[0036] In a possible practical example, wearable devices include small-core processors and large-core processors. The small-core processor can be a microcontroller unit (MCU), while the large-core processor is a CPU with higher performance than the small-core processor. The small-core processor can run embedded systems (small-core systems), while the large-core processor runs the Android system (large-core systems). Small-core systems consume relatively little power, for example, about 0.95mA. The power consumption of large-core systems varies depending on the operating mode / state; for example, it is 0mA in the power-off state, about 0.5mA in deep sleep state, and about 2.2mA in standby state. Therefore, the power consumption of the device is significantly lower in the power-off and deep sleep states compared to standby state. If the large-core system can remain in the power-off or deep sleep state for as long as possible, the usage time of the electronic device will be significantly extended.
[0037] Because electronic devices operating under a small-core system can only support a limited set of functions, such as sleep monitoring and heart rate monitoring, they cannot support some functions provided by a large-core system, such as running Android applications. Therefore, if the large-core system enters a shutdown state, restarting the large-core system / wearable device is required to use Android applications. As mentioned earlier, in some embodiments, restarting the large-core system often takes about 30 seconds, which is unacceptable for applications requiring frequent wearable device use. Exiting deep sleep mode significantly reduces the startup time of the large-core system compared to restarting from a shutdown state. As mentioned earlier, in some embodiments, exiting deep sleep mode takes approximately 600ms to enter the Android system. However, this may not meet the real-time switching needs of users in scenarios requiring real-time switching between dual systems. Furthermore, frequent entry and exit from deep sleep mode increases processor load, which does not have a positive effect on power saving. Moreover, exiting deep sleep mode consumes processor resources, which can limit application resources and slow down application startup on the large-core system.
[0038] In related technologies, for electronic devices supporting dual systems, the user typically selects the operating mode of the electronic device, thereby determining whether one processor or both processors are running simultaneously. While the smaller core system is running, the larger core system is either in standby mode or, to save power, can be shut down. Because users often cannot effectively control the operating mode of the electronic device, this can lead to high power consumption or poor performance.
[0039] The method provided in this application can control a large-core system to automatically enter or exit an ultra-low power state based on the state of the user and / or the state of the electronic device. By reasonably setting the corresponding trigger conditions, the optimal timing for entering and exiting the ultra-low power state can be selected according to the current usage scenario. This reduces the power consumption of the electronic device while ensuring its performance and avoiding impacting the user experience. Thus, a reasonable balance between the performance and power consumption of the electronic device is achieved without affecting the user experience.
[0040] It should be noted that in some embodiments of this application, the ultra-low power state, standby state, and power-off state represent different power consumption states of the device, system, or processor, and the wake-up time may differ between these different states. For example, the power consumption in the ultra-low power state is lower than that in the standby state but higher than that in the power-off state; similarly, the wake-up time in the ultra-low power state is longer than that in the standby state but shorter than that in the power-off state. It is understood that the ultra-low power state and standby state may differ between different chips, and this is not limited to these aspects.
[0041] This application provides a control method for an electronic device, the method comprising:
[0042] The system acquires the status information corresponding to the electronic device, which includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, and the second status information is related to the status of the electronic device. Based on the status information, the system controls the operating mode of the electronic device to enter or exit the first mode. The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by a first processor, and the second system is run by a second processor.
[0043] In some embodiments, controlling the operating mode of the electronic device to enter or exit the first mode according to the state information includes: controlling the operating mode of the electronic device to switch between the first mode and the second mode according to the state information; wherein the second mode is a mode in which the first system is in the running state or the standby state, and the second system is in the standby state, the power consumption of the second system in the ultra-low power state is lower than that in the standby state and higher than that in the power-off state, and / or, the wake-up time of the second system in the ultra-low power state is greater than that in the standby state and less than that in the power-off state; and / or, controlling the operating mode of the electronic device to enter or exit the first mode according to the state information includes: controlling the operating mode of the electronic device to switch between the first mode and the third mode according to the state information; wherein the third mode is a mode in which the first system is in the running state or the standby state, and the second system is in the running state.
[0044] In some embodiments, controlling the operation mode of the electronic device to switch between the first mode and the second mode based on the state information includes: when the state information satisfies a first switching condition and the operation mode of the electronic device is in the second mode, switching the operation mode of the electronic device from the second mode to the first mode; and / or, when the state information satisfies a second switching condition and the operation mode of the electronic device is in the first mode, switching the operation mode of the electronic device from the first mode to the second mode; and / or, controlling the operation mode of the electronic device to switch between the first mode and the third mode based on the state information includes: when the state information satisfies a third switching condition and the operation mode of the electronic device is in the third mode, switching the operation mode of the electronic device from the third mode to the first mode; and / or, when the state information satisfies a fourth switching condition and the operation mode of the electronic device is in the first mode, switching the operation mode of the electronic device from the first mode to the third mode.
[0045] In some embodiments, the status information includes the first status information, which includes sleep state information; the step of switching the operating mode of the electronic device from the second mode to the first mode when the status information satisfies a first switching condition and the operating mode of the electronic device is in the second mode includes: switching the operating mode of the electronic device from the second mode to the first mode when the sleep state information indicates that the user is in a sleep state and the operating mode of the electronic device is in the second mode; and / or, the first status information includes wake-up state information; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies a second switching condition and the operating mode of the electronic device is in the first mode includes: switching the operating mode of the electronic device from the first mode to the second mode when the wake-up state information indicates that the user is in a wake-up state and the operating mode of the electronic device is in the first mode.
[0046] In some embodiments, the status information includes first status information and second status information, the first status information includes wear status information, and the second status information includes screen-off duration; the step of switching the operating mode of the electronic device from the second mode to the first mode when the status information satisfies the first switching condition and the operating mode of the electronic device is in the second mode includes: when the screen-off duration reaches the first duration and the wear status information indicates that the electronic device is in an unworn state, and the operating mode of the electronic device is in the second mode, switching the operating mode of the electronic device from the second mode to the first mode.
[0047] In some embodiments, the status information includes the first status information, which includes wear status information; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: when the wear status information indicates that the electronic device has changed from an unworn state to a worn state and the operating mode of the electronic device is in the first mode, switching the operating mode of the electronic device from the first mode to the second mode.
[0048] In some embodiments, the status information includes second status information, which includes operation information for the electronic device; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: when the operation indicated by the operation information is a prerequisite operation for a trigger operation and the operating mode of the electronic device is in the first mode, switching the operating mode of the electronic device from the first mode to the second mode, wherein the trigger operation is an operation used to trigger the running of an application in the second system.
[0049] In some embodiments, the status information includes second status information, the second status information including a first duration between a first moment and a second moment, the first moment being the moment when the user exits the sleep state, and the second moment being the moment when the electronic device first lights up after the first moment; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: switching the operating mode of the electronic device from the first mode to the second mode when the first duration is less than the second duration and the operating mode of the electronic device is in the first mode.
[0050] In some embodiments, the status information includes second status information, the second status information including timing information, the timing information being used to indicate the trigger time of a timed task; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: when the duration between the current time and the trigger time is less than a third duration and the operating mode of the electronic device is in the first mode, switching the operating mode of the electronic device from the first mode to the second mode.
[0051] In some embodiments, after switching the operating mode of the electronic device from the first mode to the second mode, the method further includes: switching the operating mode of the electronic device from the second mode to the first mode if the second duration is greater than the fourth duration; wherein the second duration is used to reflect the duration during which no operation on the electronic device is received starting from a third moment, and the third moment is the moment when the operating mode of the electronic device is switched from the first mode to the second mode.
[0052] In some embodiments, controlling the operation mode of the electronic device to switch between the first mode and the second mode includes: controlling the operation mode of the electronic device to switch from the first mode to the third mode and then back to the second mode; and / or, controlling the operation mode of the electronic device to switch from the second mode to the third mode and then back to the first mode; and / or, controlling the operation mode of the electronic device to switch between the first mode and the third mode includes: controlling the operation mode of the electronic device to switch from the first mode to the second mode and then back to the third mode; and / or, controlling the operation mode of the electronic device to switch from the third mode to the second mode and then back to the first mode.
[0053] Figure 1 is a schematic diagram illustrating the process of switching the operating mode of an electronic device according to an exemplary embodiment of this application. As shown in Figure 1, the operating modes of the electronic device include, but are not limited to, one or more of operating mode 101 (first mode), operating mode 102 (second mode), and operating mode 103 (third mode). Operating mode 101 is a mode in which the first system of the electronic device is in an operating state or a standby state, and the second system of the electronic device is in an ultra-low power state. In this mode, the display screen of the electronic device is controlled by the first system. Operating mode 102 is a mode in which the first system is in an operating state or a standby state, and the second system is in a standby state. In this mode, the display screen of the electronic device is controlled by the first system. Operating mode 103 is a mode in which the first system is in an operating state or a standby state, and the second system is in an operating state. In this mode, the display screen of the electronic device is controlled by either the first system or the second system. The first system is run by the first processor of the electronic device, and the second system is run by the second processor of the electronic device. Optionally, the second system is more complex than the first system, and the second processor has stronger performance than the first processor.
[0054] In some embodiments, the ultra-low power state includes a deep sleep state. Of course, it could also be other ultra-low power states similar to deep sleep, or different chips may have different deep sleep states, and thus different ultra-low power states. For example, the power consumption in the ultra-low power state is higher than that in the power-off state but lower than that in the standby state. For example, the wake-up time in the ultra-low power state is shorter than that in the power-off state but longer than that in the standby state. During the process of adjusting the operating mode of the electronic device, the corresponding status information 104 of the electronic device is acquired. This status information includes first status information and / or second status information. The first status information is related to the state of the user of the electronic device; for example, it can reflect whether the user is asleep or whether the user is wearing the electronic device. The second status information is related to the state of the electronic device; for example, it can reflect the screen-off duration of the electronic device and indicate operations on the electronic device. Based on the status information 104 and pre-set switching conditions, the electronic device can determine the operating mode it needs to enter. For example, if state information 104 satisfies the first switching condition and the electronic device is in operating mode 102, the operating mode of the electronic device is switched from operating mode 102 to operating mode 101. Switching from operating mode 102 to operating mode 101 reduces the power consumption of the electronic device. And / or, if state information 104 satisfies the second switching condition and the electronic device is in operating mode 101, the operating mode of the electronic device is switched from operating mode 101 to operating mode 102. Switching from operating mode 101 to operating mode 102 improves the performance of the electronic device and reduces the response latency of the electronic device to user operations. And / or, if state information 104 satisfies the third switching condition and the electronic device is in operating mode 103, the operating mode of the electronic device is switched from operating mode 103 to operating mode 101. Switching from operating mode 103 to operating mode 101 reduces the power consumption of the electronic device. And / or, if the status information 104 satisfies the fourth switching condition and the electronic device is in operating mode 101, the operating mode of the electronic device is switched from operating mode 101 to operating mode 103. Switching from operating mode 101 to operating mode 103 can improve the performance of the electronic device and reduce the response latency of the electronic device to user operations.
[0055] By acquiring the status information of electronic devices, it is possible to understand the current usage scenario of the devices. By controlling the operating mode of the electronic devices based on this status information, it is possible to rationally control the current operating mode according to the priority relationship between the performance and energy-saving requirements of the current usage scenario. This achieves a reasonable balance between the performance and power consumption of the electronic devices without affecting the user experience.
[0056] Figure 2 is a flowchart illustrating a control method for an electronic device according to an exemplary embodiment of this application. This method can be used in an electronic device. As shown in Figure 2, the method includes:
[0057] Step 202: Obtain the status information corresponding to the electronic device.
[0058] The status information includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, which includes the user of the electronic device. Optionally, the first status information includes one or more of the following: information reflecting whether the user is asleep, information reflecting whether the user is wearing the electronic device, and information reflecting the user's activity. The second status information is related to the status of the electronic device. Optionally, the second status information includes one or more of the following: information reflecting the duration of the screen being off when the electronic device is off, information reflecting the user's operation of the electronic device, information reflecting the time the screen is on when the electronic device is on, and information reflecting the electronic device's scheduled tasks.
[0059] Optionally, the electronic device may acquire status information in real time, periodically, or according to a preset time; this application does not impose any restrictions on this.
[0060] In some embodiments, the electronic device includes a wearable device, such as a smartwatch.
[0061] The electronic device supports dual systems, comprising a first system and a second system. Optionally, the relationship between the first system and the second system includes one or more of the following: the second system is more complex than the first system, the second system has more functions than the first system, and the power consumption of running the second system is higher than that of the first system. In some embodiments, the first system is an embedded system, and the second system is a non-embedded system, such as the Android system. It should be noted that the electronic device may support systems other than the first and second systems, and this application does not impose any limitations on this.
[0062] When an electronic device is powered on, if both the first and second systems are running, the user interface displayed by the electronic device is provided by either the running first system or the running second system. If the first system is running and the second system is not running, the user interface displayed by the electronic device is provided by the running first system. If the first system is not running but the second system is running, the user interface displayed by the electronic device is provided by the running second system. The second system not being running includes one or more of the following: standby state, power-off state, and ultra-low power state. Ultra-low power state is different from standby state and power-off state. In some embodiments, ultra-low power state refers to deep sleep state.
[0063] In some embodiments, when the first system controls the display screen (at which time the first system may be in standby or running state), the second system may be in running state, standby state, or ultra-low power state; for example, when the second system controls the display screen (at which time the second system may be in standby or running state), the first system may be in running state, standby state, or ultra-low power state.
[0064] In some embodiments, the power consumption of the first system (first processor) is lower than that of the second system (second processor). In this case, the first system may also need to be in an operational state when the second system is in an operational state. The different system states are illustrated below: In some embodiments, from an energy-saving perspective, the power consumption of the system in the operational state is higher than that in the standby state, and the power consumption of the system in the standby state is higher than that in the ultra-low power state, and the power consumption of the system in the ultra-low power state is higher than that in the shutdown state. In some embodiments, the standby state can also be understood as a hibernation state and / or a sleep state, and the shutdown state can also be understood as a closed state. In some embodiments, the power consumption of the system in the shutdown state is 0, but if a shutdown timer task is set, such as a shutdown alarm, the power consumption of the system in the shutdown state is greater than 0. In terms of the functions provided by the system, the system provides more functions in the operational state than in the standby state, and the system provides more functions in the standby state than in the ultra-low power state, and the system provides more functions in the ultra-low power state than in the shutdown state. For example, regarding the activation status of the system's electronic components, more electronic components are activated in the running state than in the standby state, and more electronic components are activated in the standby state than in the ultra-low power state, and more electronic components are activated in the ultra-low power state than in the shutdown state. For example, regarding the wake-up time to bring the system to running state, the wake-up time from standby to running state is shorter than that in the ultra-low power state, and the wake-up time from the ultra-low power state to running state is shorter than that in the shutdown state. In some embodiments, in the running state, the system-related hardware works normally; in the standby state, most of the system-related hardware is shut down; in the ultra-low power state, most of the system-related hardware is shut down, providing only the most basic system functions; in the shutdown state, all system-related hardware is shut down, or only timed task functions are provided. For example, in the shutdown state, the processor loses power.
[0065] Step 204: Based on the status information, control the electronic device to enter or exit the first mode.
[0066] The operating mode of an electronic device is related to its power consumption, and the power consumption varies under different operating modes. The first mode is a mode where the first system is in running or standby mode, and the second system is in an ultra-low power state. In this mode, the first system is run by a first processor, and the second system is run by a second processor. The ultra-low power state differs from the standby state and the power-off state; in some embodiments, the ultra-low power state refers to a deep sleep state.
[0067] Optionally, the relationship between the first processor and the second processor includes one or more of the following: the second processor has higher performance than the first processor; the second processor consumes more power than the first processor while providing the same computing performance; the second processor consumes more power when running the second system than the first processor consumes more power when running the first system; and the second processor has better energy efficiency than the first processor. In some embodiments, the first processor is an MCU and the second processor is a CPU.
[0068] In some embodiments, the electronic device may have other operating modes besides the first mode. Entering the first mode means switching the electronic device's operating mode from a mode other than the first mode to the first mode; exiting the first mode means switching the electronic device's operating mode from the first mode to a mode other than the first mode. In some embodiments, except when the second system is shut down, the power consumption of the electronic device after entering the first mode is lower than the power consumption before entering the first mode, and the power consumption of the electronic device after exiting the first mode is higher than the power consumption before exiting the first mode.
[0069] Optionally, the electronic device can determine whether it needs to enter or exit the first mode based on the status information and pre-set switching conditions. For example, if the status information meets the switching conditions set for entering the first mode, the electronic device will enter the first mode. If the status information meets the switching conditions set for exiting the first mode, the electronic device will exit the first mode.
[0070] In some embodiments, during the process of the electronic device entering or exiting the first mode, i.e. changing the current operating mode, the electronic device will not notify or prompt the user, such as displaying a prompt message corresponding to the switching of the operating mode. In other words, the user cannot perceive that the electronic device has switched operating modes.
[0071] In summary, the method provided in this embodiment, by acquiring the corresponding status information of the electronic device, can determine the current usage scenario of the electronic device based on the status information. By controlling the operating mode of the electronic device according to the status information, it is possible to rationally control the current operating mode of the electronic device based on the primary and secondary relationship between the performance requirements and energy-saving requirements of the electronic device in the current usage scenario. This achieves a reasonable balance between the performance and power consumption of the electronic device without affecting the user experience.
[0072] Figure 3 is a flowchart illustrating a control method for an electronic device according to an exemplary embodiment of this application. This method can be used in an electronic device. As shown in Figure 3, the method includes:
[0073] Step 302: Obtain the status information corresponding to the electronic device.
[0074] The status information includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, which includes the user of the electronic device. Optionally, the first status information includes one or more of the following: information reflecting whether the user is asleep, information reflecting whether the user is wearing the electronic device, and information reflecting the user's activity. The second status information is related to the status of the electronic device. Optionally, the second status information includes one or more of the following: information reflecting the duration of the screen being off when the electronic device is off, information reflecting the user's operation of the electronic device, information reflecting the time the screen is on when the electronic device is on, and information reflecting the electronic device's scheduled tasks.
[0075] In some embodiments, the electronic device includes a wearable device, such as a smartwatch. The electronic device supports dual systems, comprising a first system and a second system. In some embodiments, the first system is an embedded system, and the second system is a non-embedded system. It should be noted that the electronic device may support systems other than the first and second systems, and this application does not impose any limitations on this.
[0076] When an electronic device is powered on, if both the first and second systems are running, the user interface displayed by the electronic device is provided by either the running first system or the running second system. If the first system is running and the second system is not running, the user interface displayed by the electronic device is provided by the running first system. If the first system is not running and the second system is running, the user interface displayed by the electronic device is provided by the running second system. The second system not being running includes one or more of the following: standby state, power-off state, and ultra-low power state. In some embodiments, ultra-low power state refers to a deep sleep state.
[0077] Step 304: Based on the status information, control the electronic device to switch operating modes.
[0078] The operating mode of an electronic device is related to its power consumption, and the power consumption varies under different operating modes. Optionally, the operating mode of the electronic device includes one or more of a first mode, a second mode, and a third mode. The first mode is a mode where the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The second mode is a mode where the first system is in a running state or a standby state, and the second system is in a standby state. The third mode is a mode where the first system is in a running state or a standby state, and the second system is in a running state. An ultra-low power state is a state other than the running state, and it differs from the standby state and the power-off state. In some embodiments, the power consumption of the second system in the ultra-low power state is lower than that in the standby state but higher than that in the power-off state, and / or, the wake-up time of the second system in the ultra-low power state is greater than that in the standby state but less than that in the power-off state. The wake-up time is the time required to wake the second system from its current state to the running state. For a description of the running state, standby state, ultra-low power state, and power-off state, please refer to the relevant content above; this embodiment will not repeat it here. In some embodiments, standby state can also be understood as hibernation state and / or sleep state. In some embodiments, ultra-low power state refers to deep sleep state. Based on the state information, it is possible to control the electronic device's operating mode to switch between any two of the first, second, and third modes.
[0079] In some embodiments, when the electronic device is in a first mode, the display screen of the electronic device is controlled by a first system, for example, controlling the electronic device to turn on the screen and / or display content provided by the first system, and / or controlling the electronic device to turn off the screen. When the electronic device is in a second mode, the display screen of the electronic device is controlled by the first system, for example, controlling the electronic device to turn on the screen and / or display content provided by the first system, and / or controlling the electronic device to turn off the screen. When the electronic device is in a third mode, the display screen of the electronic device is controlled by the first system and / or the second system.
[0080] The first system is run by a first processor, and the second system is run by a second processor. Optionally, the relationship between the first processor and the second processor includes one or more of the following: the second processor has higher performance than the first processor; the second processor consumes more power than the first processor while providing the same computing performance; the second processor consumes more power when running the second system than the first processor consumes power when running the first system; and the second processor has better energy efficiency than the first processor. In some embodiments, the first processor is an MCU and the second processor is a CPU.
[0081] For example, Figure 4 is a schematic diagram of the operating modes provided by an exemplary embodiment of this application. As shown in Figure 4, the operating modes of the electronic device include Mode 1 (third mode), Mode 2 (second mode), and Mode 3 (first mode). In Mode 1, the electronic device is in a state of hybrid big-little core + big-little core user interface (UI), indicating that the big-little core system (second system) is in running state, and the small-little core system (first system) is in running state or standby state. Mode 1 allows some applications to run on the big-little core system and some applications to run on the small-little core system. The UI provided by the electronic device to the user is provided by the big-little core system or by the small-little core system. In Mode 2, the electronic device is in a small-little core UI + big-little core standby state, indicating that the UI provided by the electronic device to the user is entirely provided by the small-little core system, and the big-little core system is in standby state. At this time, the big-little core system can reduce the CPU usage frequency, but some background processes are still running to ensure that the big-little core system can be woken up in real time when needed to enter the running state. In Mode 3, the electronic device is a small-core UI + large-core DS. This means that the UI provided by the electronic device to the user is entirely provided by the small-core system, while the large-core system is in a deep sleep state. That is, the large-core system shuts down all subsystems and peripherals, and only maintains memory power supply to keep information refreshed. This ensures that the large-core system can be woken up as quickly as possible to enter standby or running state while maintaining extremely low power consumption.
[0082] Regarding the switching of the operating mode of the control electronic device between the first mode and the second mode:
[0083] In some embodiments, the operating mode of an electronic device can be controlled to switch between a first mode and a second mode based on state information, for example, switching the operating mode of the electronic device from the second mode to the first mode, and / or switching the operating mode of the electronic device from the first mode to the second mode. In some embodiments, the process of controlling the switching of the operating mode of the electronic device between the first mode and the second mode includes: switching the operating mode of the electronic device from the second mode to the first mode when the state information satisfies a first switching condition and the operating mode of the electronic device is in the second mode; and / or, switching the operating mode of the electronic device from the first mode to the second mode when the state information satisfies a second switching condition and the operating mode of the electronic device is in the first mode. The first switching condition is set for the state information that satisfies the condition of switching the operating mode of the electronic device from the second mode to the first mode, and the second switching condition is set for the state information that satisfies the condition of switching the operating mode of the electronic device from the first mode to the second mode. Optionally, the first and second switching conditions are set by the developers of the electronic device.
[0084] In some embodiments, the process of switching the operating mode of an electronic device between a first mode and a second mode includes, but is not limited to, one or more of the following:
[0085] Scenario 1: The status information includes first status information, which includes sleep state information. The sleep state information reflects whether the user of the electronic device is currently asleep. Optionally, the sleep state information is determined by monitoring one or more of the user's heart rate, blood oxygen, pressure, body temperature, and activity level. If the sleep state information indicates that the user is asleep and the electronic device's operating mode is in the second mode, the electronic device's operating mode will be switched from the second mode to the first mode. And / or, the status information includes first status information, which includes wake-up state information. The wake-up state information reflects whether the user of the electronic device has transitioned from a sleep state to a wake-up state, i.e., whether the user is currently awake. The wake-up state information is determined by monitoring one or more of the user's heart rate, blood oxygen, pressure, body temperature, and activity level. If the wake-up state information indicates that the user is awake and the electronic device's operating mode is in the first mode, the electronic device's operating mode will be switched from the first mode to the second mode.
[0086] For example, smartwatches use built-in sensors to detect when the user is asleep, thus determining when to switch between ultra-low power states for the high-performance cores. When sleep is detected, the smartwatch can immediately switch to the first mode after entering the second mode. In this mode, the high-performance cores enter ultra-low power, while the low-power cores record basic user behavior and information, such as heart rate, blood oxygen, and body temperature. When the user wakes up, if the smartwatch is in the first mode, it can immediately switch to the second mode to improve the speed of responding to user actions.
[0087] Scenario 2: The status information includes first status information and second status information. The first status information includes wear status information, and the second status information includes screen-off duration. Wear status information reflects whether the electronic device is worn by the user. Optionally, wear status information is determined by data monitored by the electronic device's sensors, such as a proximity sensor or heart rate sensor. Screen-off duration reflects the time elapsed since the last screen-off moment. If the screen-off duration reaches the first duration and the wear status information indicates that the electronic device is not being worn, and the electronic device is in the second operating mode, the operating mode of the electronic device will be switched from the second mode to the first mode. The first duration can be preset or set by the user; this application does not impose any restrictions on this.
[0088] For example, if a smartwatch has been off for an extended period of time and is currently off-wrist, it can immediately switch back to the first mode after entering the second mode.
[0089] The status information includes first status information, which in turn includes wear status information. The wear status information reflects whether the electronic device changes from being worn by an unused object to being worn by a used object, and / or whether the electronic device changes from being worn by a used object to being unused. When the wear status information indicates that the electronic device has changed from an unworn state to a worn state, and the electronic device's operating mode is in the first mode, the electronic device's operating mode will be switched from the first mode to the second mode. The moment when the aforementioned switching of the electronic device's operating mode occurs can be the moment when the electronic device changes from an unworn state to a worn state.
[0090] For example, when a smartwatch changes from a wrist-free state to a wrist-worn state, if the smartwatch is in the first mode at the time, it can switch back to the second mode in advance, so that the user's operations after wearing the watch can be responded to quickly.
[0091] Scenario 3: The status information includes second status information, which includes operation information for the electronic device. This operation information includes one or more of the following: operation information for operating the screen, operation information for operating physical buttons, and operation information for operating the posture of the electronic device. If the operation indicated by the operation information is a prerequisite operation for a triggering operation, and the electronic device is in the first operating mode, the operating mode of the electronic device will be switched from the first mode to the second mode. The triggering operation is used to trigger the operation of a second system, such as an operation to trigger the operation of an application in the second system. The prerequisite operation is an operation that precedes the triggering operation and has a logical relationship with it. Optionally, the triggering operation and the prerequisite operation belong to multiple consecutive operations. The prerequisite operation precedes the triggering operation in the multiple consecutive operations. Adjacent operations in the multiple consecutive operations have a logical relationship, and the types of operations in the multiple consecutive operations can be completely identical, partially identical, or completely different. Optionally, the multiple consecutive operations are set by the developers of the electronic device or determined based on the user's past multiple consecutive operations. The user's past multiple consecutive operations include multiple operations performed by the user in the past, where the time interval between two adjacent operations is less than an interval threshold. In some embodiments, the operation indicated by the operation information is the operation preceding the last operation in a series of consecutive operations. The next operation corresponding to the operation indicated by the operation information in the series of consecutive operations is a triggering operation. The triggering operation is an operation performed on or processed by the second system, such as triggering the running of an application in the second system.
[0092] For example, in scenarios involving multiple steps, including but not limited to status bar scenarios, the operating mode can be switched in advance by anticipating the user's actions. For instance, if the user needs to operate a switch on the status bar, the first step must be to pull down the status bar page from the smartwatch's watch face. If the smartwatch is in the first mode when the first step is received, it can be switched back to the second mode in advance. This allows the user to quickly switch back to the first mode when clicking the button, thus responding to the user's actions in a timely manner.
[0093] Scenario 4: The status information includes second status information, which includes a first duration between the first and second moments. The first moment is the moment the user exits sleep mode, and the second moment is the moment the electronic device first lights up after the first moment. Optionally, the first duration is determined by data monitored by the electronic device's sensors, such as heart rate sensors or body temperature sensors, which can determine changes in the user's sleep status and thus determine the moment of exiting sleep mode. A timer can be used to start timing after the first moment to determine the second moment. If the first duration is less than the second duration, and the electronic device is in the first operating mode, the electronic device's operating mode will be switched from the first mode to the second mode. The second duration can be preset or set by the user; this application does not impose any restrictions on this.
[0094] Case 5: The status information includes second status information, which includes timing information. In some embodiments, the timing information is used to indicate the trigger time of the timed task, and the timing information is determined based on the trigger time of the timed task. The timed task is set by the user in the electronic device, for example, by the user through a second system of the electronic device. The timed task includes, but is not limited to, one or more of an alarm clock, timer, stopwatch, sleep reminder, water drinking reminder, and medication reminder. If the duration between the current time and the trigger time is less than a third duration, and the electronic device is in the first operating mode, the operating mode of the electronic device will be switched from the first mode to the second mode. The third duration is either preset or set by the user, and this application does not limit it.
[0095] For example, when a smartwatch activates certain functions that are scheduled to be triggered at a preset time, a timer can be set earlier than the preset time to trigger the smartwatch to exit the first mode before the function is activated, thus ensuring subsequent performance.
[0096] In some embodiments, the timing information is determined based on the switching time. Optionally, the switching time is custom-set by the user, for example, between the user's wake-up time and / or the end of a nap; and / or, the switching time is determined based on the moment the user switches from a sleep state to a wake-up state, which can be understood as the user's wake-up time. Optionally, the switching time from a sleep state to a wake-up state is determined based on the user's historical sleep data, for example, the switching time is predicted based on the user's historical sleep data. The corresponding historical sleep data includes the periods when the electronic device detected the user was in a sleep state and / or a wake-up state in the past. For example, if historical sleep data indicates that the user woke up at 8:00 every day in the past week, then 8:00 will be determined as the switching time. If the duration between the current time and the switching time is less than a third duration, and the electronic device is in the first operating mode, the operating mode of the electronic device will be switched from the first mode to the second mode. The third duration is preset or set by the user, and this application does not limit it.
[0097] It should be noted that situations 1 and 2 above can be considered as determining the switching of the electronic device's operating mode based on the user's usage status. Situations 3-5 above can be considered as determining the switching of the electronic device's operating mode based on the current usage scenario of the electronic device.
[0098] In some embodiments, after switching the operating mode of the electronic device from the first mode to the second mode, if the second duration is longer than the fourth duration, the operating mode of the electronic device will be switched back from the second mode to the first mode. The second duration reflects the duration during which no operation on the electronic device has been received since the third moment, and the third moment is the time when the operating mode of the electronic device is switched from the first mode to the second mode based on the first duration. The fourth duration is either preset or set by the user; this application does not impose any restrictions on it.
[0099] For example, if a user wakes up shortly after falling asleep and the smartwatch screen lights up within a short period of time while it is in the first mode, the smartwatch can be redirected to the second mode early, allowing for a quick response to the user's actions upon waking. If the user does not use the smartwatch for an extended period afterward, it will re-enter the first mode.
[0100] Furthermore, regarding the switching of the electronic device's operating mode from the first or second mode to the third mode, the triggering conditions can refer to the description of ultra-low power state and standby state, and this application does not impose any restrictions on them. For example, the electronic device can switch to the first mode when it receives a phone call, receives a press of a physical button, or triggers the running of an application in the second system. Regarding the switching of the electronic device's operating mode from the first mode to the second mode, this application does not impose any restrictions on the triggering conditions. For example, the triggering condition could be that the electronic device's screen has been off for a fifth duration, or that the duration from the last time the electronic device received an operation to the current time has reached a sixth duration. The fifth and sixth durations can be preset or set by the user, and this application does not impose any restrictions on them.
[0101] In some embodiments, the electronic device also records the time periods during which the user performs operations each day within a historical time period, and identifies one or more of the most frequently performed time periods as target time periods. Then, when the current time falls within the target time period or the time remaining since the start of the target time period is less than seven hours, the electronic device triggers a switch from the first mode to the second mode. For example, if the electronic device records that the user operated the device from 14:00-14:10 on day 1, from 18:00-18:05 on day 1, from 14:00-14:15 on day 2, and from 14:00-14:10 on day 3, then the electronic device will identify 14:00-14:10 as the target time period.
[0102] In some embodiments, the process of switching the operating mode of the electronic device from the first mode to the second mode includes: controlling the operating mode of the electronic device to switch from the first mode to the third mode and then back to the second mode. In this case, the second system does not support direct switching between the ultra-low power state and the standby state; for example, the second processor of the second system does not support this. Therefore, it is necessary to first switch the second system from the ultra-low power state to the operating state (i.e., from the first mode to the third mode), and then switch the second system from the operating state to the standby state (i.e., from the third mode to the second mode). In some embodiments, the process of switching the operating mode of the electronic device from the second mode to the first mode includes: controlling the operating mode of the electronic device to switch from the second mode to the third mode and then back to the first mode. In this case, the second system does not support direct switching between the ultra-low power state and the standby state; for example, the second processor of the second system does not support this. Therefore, it is necessary to first switch the second system from the standby state to the operating state (i.e., from the second mode to the third mode), and then switch the second system from the operating state to the ultra-low power state (i.e., from the third mode to the first mode).
[0103] In some embodiments, where the second system supports direct switching between ultra-low power state and standby state, there are also cases where the operating mode of the electronic device is controlled to switch from the first mode to the third mode and then back to the second mode, and / or, the operating mode of the electronic device is controlled to switch from the second mode to the third mode and then back to the first mode. Both of these cases can be triggered based on the status information.
[0104] Regarding the scenario where the operating mode of an electronic device is switched from a first mode to a third mode and then back to a second mode: In some embodiments, the status information includes second status information, which includes operation information. This operation information reflects the user's operation on the electronic device. Optionally, the operation information triggers an application running in a second system. Based on the operation information, the operating mode of the electronic device is switched from the first mode to the third mode. If no user operation is detected within a preset time, the electronic device is then switched back to the second mode. After switching to the second mode, the operating mode of the electronic device can also be switched back to the first mode; the implementation process can be referred to the relevant content above.
[0105] In some embodiments, the status information includes second status information, which includes the user's sleep information. The sleep information includes one or more of sleep state, sleep posture detection information, and sleep duration. Optionally, the sleep state reflects the user's transition between falling asleep and waking up, and / or reflects the user's sleep depth, such as deep sleep and / or light sleep. Based on the sleep information, the operating mode of the electronic device can be controlled to switch from a first mode to a third mode. For example, if the sleep state reflects a transition from falling asleep to waking up, and / or the sleep state reflects a transition from deep sleep to light sleep, and / or the sleep posture detection information reflects an activity level greater than a preset level, and / or the sleep duration exceeds the user's set sleep duration, the operating mode of the electronic device will be controlled to switch from the first mode to the third mode. If no user operation is detected within a preset time, and / or the sleep state reflects a transition from waking up to falling asleep, and / or the sleep state reflects a transition from light sleep to deep sleep, the electronic device will then be controlled to switch back from the third mode to the second mode. After switching to the second mode, it is also possible to switch the operating mode of the electronic device from the second mode back to the first mode. The process can be found in the relevant content above.
[0106] Regarding the scenario where the operating mode of an electronic device is switched from a second mode to a third mode and then back to the first mode: In some embodiments, the status information includes second status information, which includes operation information. The operation information reflects the user's operation on the electronic device. Optionally, the operation information is used to trigger the running of an application in a second system. Based on the operation information, the operating mode of the electronic device is switched from the second mode to the third mode. Subsequently, if no user operation is detected within a preset time, and / or the remaining battery power of the electronic device is lower than a first battery threshold, and / or the electronic device is not running any services, such as not running any applications, the electronic device is switched back from the third mode to the first mode. After switching to the first mode, the operating mode of the electronic device can also be switched back from the first mode to the second mode; the implementation process can be referred to the relevant content above.
[0107] In some embodiments, when the electronic device is in the second mode, its operating mode can be switched from the second mode to the first mode based on status information, and then to the third mode. For example, when the electronic device is in the second mode and has not been touched by the user for a preset time while not being worn, it switches from the second mode to the first mode. When the electronic device detects that the user has triggered an application to launch the second system in the first mode, it switches from the first mode to the third mode. In some embodiments, when the electronic device detects that it is being worn in the first mode, it switches from the first mode to the second mode.
[0108] Regarding the switching of the operating mode of the control electronic device between the first mode and the third mode:
[0109] In some embodiments, the operating mode of an electronic device can be controlled to switch between a first mode and a third mode based on state information, for example, switching the operating mode of the electronic device from the third mode to the first mode, and / or switching the operating mode of the electronic device from the first mode to the third mode. In some embodiments, the process of controlling the switching of the operating mode of the electronic device between the first mode and the third mode includes: switching the operating mode of the electronic device from the third mode to the first mode when the state information satisfies a third switching condition and the operating mode of the electronic device is in the third mode; and / or, switching the operating mode of the electronic device from the first mode to the third mode when the state information satisfies a fourth switching condition and the operating mode of the electronic device is in the first mode. The third switching condition is set for the state information that satisfies the condition of switching the operating mode of the electronic device from the third mode to the first mode, and the fourth switching condition is set for the state information that satisfies the condition of switching the operating mode of the electronic device from the first mode to the third mode. Optionally, the above-mentioned third and fourth switching conditions are set by the developers of the electronic device.
[0110] In some embodiments, the process of switching the operating mode of an electronic device between a first mode and a third mode includes, but is not limited to, one or more of the following:
[0111] Scenario 1: The status information includes first status information, which includes the user's sleep information, including sleep state and / or sleep duration. Optionally, the sleep state reflects the user's transition between falling asleep and waking up. Based on the sleep information, the operating mode of the electronic device can be switched from the first mode to the third mode. For example, if the sleep state reflects the user transitioning from falling asleep to waking up, and / or the sleep duration exceeds the user's set sleep duration, the operating mode of the electronic device will be switched from the first mode to the third mode.
[0112] Scenario 2: The status information includes second status information, which includes the user's motion information. This motion information reflects whether the electronic device is recording the user's movement, such as recording running, hiking, or cycling. If the motion information indicates that the electronic device is recording the user's movement, the operating mode will switch from the first mode to the third mode. Since the user may frequently operate the electronic device during motion recording, entering the third mode improves the response speed to user input.
[0113] Scenario 3: The status information includes second-state information, which includes operation information reflecting the user's operation of the electronic device. Based on the operation information, the electronic device's operating mode can be switched from a first mode to a third mode. For example, when the electronic device is in the first mode, if the user triggers an application running in the second system's user interface provided by the first system, the electronic device's operating mode is switched from the first mode to the third mode, and the corresponding application runs. And / or, when the electronic device is in the first mode and the first system is in standby mode, if the user triggers a physical button and / or crown on the electronic device, such as performing a long press operation on the physical button and / or crown, the electronic device's operating mode is switched from the first mode to the third mode. Optionally, after switching to the third mode, the electronic device can display an application list and / or display the user interface of the application running in the second system.
[0114] Scenario 4: The status information includes a second status information, which includes the remaining battery power of the electronic device. If the remaining battery power is less than the second battery power threshold, the operating mode of the electronic device will be switched from the third mode to the first mode to reduce the power consumption of the electronic device and extend its battery life.
[0115] Scenario 5: The status information includes second-state information, which includes operation information reflecting the user's operation of the electronic device. Based on the operation information, the operating mode of the electronic device can be switched from a third mode to a first mode. For example, when the electronic device is in the third mode, the user controls the electronic device to switch from the third mode to the first mode through a mode switching operation. Optionally, the mode switching operation is triggered by a physical button on the electronic device and / or a control displayed on the screen of the electronic device.
[0116] In some embodiments, the process of switching the operating mode of the electronic device from the first mode to the third mode includes: controlling the operating mode of the electronic device to switch from the first mode to the second mode and then to the third mode. In this case, the second system does not support direct switching between the ultra-low power state and the operating state; for example, the second processor of the second system does not support this. Therefore, it is necessary to first switch the second system from the ultra-low power state to the standby state (i.e., from the first mode to the second mode), and then switch the second system from the standby state to the operating state (i.e., from the second mode to the third mode). In some embodiments, the process of switching the operating mode of the electronic device from the third mode to the first mode includes: controlling the operating mode of the electronic device to switch from the third mode to the second mode and then to the first mode. In this case, the second system does not support direct switching between the ultra-low power state and the operating state; for example, the second processor of the second system does not support this. Therefore, it is necessary to first switch the second system from the operating state to the standby state (i.e., from the third mode to the second mode), and then switch the second system from the standby state to the ultra-low power state (i.e., from the second mode to the first mode).
[0117] In some embodiments, where the second system supports direct switching between ultra-low power state and operating state, there are also cases where the operating mode of the electronic device is switched from the first mode to the second mode and then to the third mode, and / or the operating mode of the electronic device is switched from the third mode to the second mode and then to the first mode. Both of these cases can be triggered based on the state information.
[0118] Regarding the control of switching the operating mode of an electronic device from a first mode to a second mode and then to a third mode: In some embodiments, the status information includes first status information, which includes the sleep information of the user. The sleep information includes one or more of sleep state, sleep posture detection information, and sleep duration. Optionally, the sleep state is used to reflect the user's transition between falling asleep and waking up, and / or to reflect the user's sleep depth, such as deep sleep and / or light sleep. Based on the sleep information, the operating mode of the electronic device can be controlled to switch from the first mode to the second mode. For example, if the sleep state reflects that the user has changed from deep sleep to light sleep, and / or the sleep posture detection information reflects that the user's activity range is greater than a preset range, and / or the sleep duration is greater than the sleep duration set by the user, the operating mode of the electronic device will be controlled to switch from the first mode to the second mode. Subsequently, if the sleep state reflects that the user has changed from falling asleep to waking up, the electronic device will be controlled to switch from the second mode to the third mode. And / or, if the sleep state reflects a change in the user's state from falling asleep to waking up, the electronic device will be controlled to switch from the first mode to the second mode. Subsequently, upon receiving user operation information from the user, the electronic device will be controlled to switch from the second mode to the third mode. In some embodiments, the user operation information is used to trigger the execution of an application in a second system.
[0119] Regarding the scenario where the operating mode of an electronic device switches from a third mode to a second mode and then back to a first mode: In some embodiments, the status information includes first status information and / or second status information. The first status information includes wear status information, and the second status information includes the electronic device's operational information. Wear status information reflects whether the electronic device is worn / worn by a user. Operational information reflects whether the electronic device is running any service, such as an application. If the operational information indicates that the electronic device is not running any service, the operating mode of the electronic device will switch from the third mode to the second mode. Subsequently, if the wear status information indicates that the electronic device is not worn by a user, and no operation information is received from the user within a preset time, the electronic device will switch back from the second mode to the first mode.
[0120] In some embodiments, when the electronic device is in the third mode, the operating mode of the electronic device can be switched from the third mode to the first mode based on the status information, and then switched to the second mode. For example, if the wear status information of the electronic device indicates that the duration of time the electronic device has not been worn by the user has reached a threshold, the electronic device will be controlled to switch from the third mode to the first mode. Then, if the wear status information of the electronic device indicates that the electronic device has changed from a state of not being worn by the user to a state of being worn by the user, the electronic device will be controlled to switch from the first mode to the second mode. Other implementations for switching between the third mode and the first mode, as well as switching between the first mode and the second mode, can be found in the relevant descriptions above.
[0121] It should be noted that the implementation schemes for switching between any two of the first, second, and third modes can be implemented individually. Furthermore, in cases involving two or more mode switches, the schemes used for each mode switch can be combined to create a scheme applicable to both or more mode switches.
[0122] This describes the interaction process between the two systems during the switching of the electronic device's operating mode. For example, Figure 5 is a dual-system architecture diagram provided in an exemplary embodiment of this application. As shown in Figure 5, supporting dual systems means that the electronic device simultaneously supports a small-core system (first system) 501 and a large-core system (second system) 502. The dual-core communication between the small-core system (MCU of the small-core system) 501 and the large-core system (CPU of the large-core system) 502 is implemented based on interfaces such as Serial Peripheral Interface (SPI), Universal Asynchronous Receiver / Transmitter (UART), or Universal Serial Bus (USB). This interface is responsible for carrying the regular business interactions between the small-core system 501 and the large-core system 502. For example, the small-core system 501 and the large-core system 502 interact with deep sleep-related instructions through a deep sleep control channel, which can be implemented based on interfaces such as Inter-Integrated Circuit (I2C) or General Purpose Input / Output (GPIO). The small core system 501 controls the on / off state of the large core system 502's deep sleep state and receives status notifications from the large core system 502 regarding its deep sleep state. The small core system 501 and the large core system 502 share the electronic device's peripherals 503, such as a screen, buttons, and other peripherals. The electronic device switches between the small core system 501 and the large core system 502 via a switch, which can be a hardware electronic switch or a software simulated switch. In some embodiments, the dual-system architecture shown in Figure 5 is implemented as a dual-core smart wearable device, such as a dual-core smartwatch. It is understood that the deep sleep state can be a type of ultra-low power state.
[0123] For example, Figure 6 is a schematic diagram of a process for switching operating modes provided in an exemplary embodiment of this application. As shown in Figure 6, in step S1 of the behavior monitoring process, the electronic device collects the behavior of the user. In step S2, the electronic device analyzes and predicts the collected behavior to determine the corresponding state information of the electronic device, thereby determining whether to trigger an operating mode switch. In step S3, if it is determined that an operating mode switch will be triggered, a mode switch notification will be triggered, and the mode switch notification will enter the message queue in step S4. In step S4 of the mode switch process, a new message will be notified when the message queue is updated. In step S5, when the electronic device is in an idle state, it will wait for a new message. In step S6, after receiving new information, the message queue will be checked. In step S7, if the message queue is empty, it will return to an idle state. In step S8, if the message queue is not empty, the new message will be processed, thereby triggering an operating mode switch.
[0124] In summary, the method provided in this embodiment, by acquiring the corresponding status information of the electronic device, can determine the current usage scenario of the electronic device based on the status information. By controlling the operating mode of the electronic device according to the status information, it is possible to rationally control the current operating mode of the electronic device based on the primary and secondary relationship between the performance requirements and energy-saving requirements of the electronic device in the current usage scenario. This achieves a reasonable balance between the performance and power consumption of the electronic device without affecting the user experience.
[0125] The method provided in this embodiment also manages the timing of the second system entering the ultra-low power state based on state information, avoiding frequent transitions between ultra-low power states and ensuring the power consumption performance of the electronic device. By selecting the optimal timing for entering and exiting the first mode based on the user's state and the electronic device's state, the waiting time for the user during mode switching can be reduced, lessening the user's perception of mode switching and improving the user experience. By analyzing specific usage scenarios and optimizing the mode switching strategy based on the user's behavior, the effectiveness of each switch is ensured as much as possible, reducing the impact on the electronic device's power consumption while also considering the user's experience. By enabling the electronic device to switch between the first and second modes, since the first mode has lower power consumption and the second mode ensures a shorter wake-up time to enter the running state, a balance between the electronic device's performance and power consumption can be achieved. By setting corresponding switching conditions based on state information, the switching of the electronic device's operating mode can be triggered by judging the switching conditions, improving the efficiency of switching operating modes.
[0126] It should be noted that this application may display a prompt interface, pop-up window, or output voice prompts before and during the collection of user-related data (such as status information in this application). These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their relevant data is being collected. This ensures that the application only begins executing the steps related to collecting user-related data after receiving confirmation from the user regarding the prompt interface or pop-up window; otherwise (i.e., without receiving confirmation from the user), the steps to collect user-related data end, meaning no user-related data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of relevant user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0127] It should be noted that the order of the method steps provided in the embodiments of this application can be appropriately adjusted, and the steps can also be added or removed as appropriate. Any method variations that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application, and therefore will not be elaborated further.
[0128] Figure 7 is a schematic diagram of the structure of a control device for an electronic device provided in an exemplary embodiment of this application. As shown in Figure 7, the device includes:
[0129] The acquisition module 701 is used to acquire the status information corresponding to the electronic device. The status information includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, and the second status information is related to the status of the electronic device.
[0130] The control module 702 is used to control the operating mode of the electronic device to enter or exit the first mode according to the status information.
[0131] The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by the first processor, and the second system is run by the second processor.
[0132] In an optional design, the control module 702 is configured to control the operating mode of the electronic device to switch between a first mode and a second mode based on the status information; wherein the second mode is a mode in which the first system is in the running state or the standby state, and the second system is in the standby state, the power consumption of the second system in the ultra-low power state is lower than that in the standby state and higher than that in the power-off state, and / or, the wake-up time of the second system in the ultra-low power state is greater than that in the standby state and less than that in the power-off state; and / or, based on the status information, control the operating mode of the electronic device to switch between a first mode and a third mode; wherein the third mode is a mode in which the first system is in the running state or the standby state, and the second system is in the running state.
[0133] In an optional design, the control module 702 is configured to: switch the operating mode of the electronic device from the second mode to the first mode when the status information satisfies a first switching condition and the operating mode of the electronic device is in the second mode; and / or switch the operating mode of the electronic device from the first mode to the second mode when the status information satisfies a second switching condition and the operating mode of the electronic device is in the first mode; and / or switch the operating mode of the electronic device from the third mode to the first mode when the status information satisfies a third switching condition and the operating mode of the electronic device is in the third mode; and / or switch the operating mode of the electronic device from the first mode to the third mode when the status information satisfies a fourth switching condition and the operating mode of the electronic device is in the first mode.
[0134] In an optional design, the status information includes the first status information, which includes sleep state information; the control module 702 is configured to switch the operating mode of the electronic device from the second mode to the first mode when the sleep state information indicates that the user is in a sleep state and the operating mode of the electronic device is in the second mode; and / or, the first status information includes wake-up state information; the control module 702 is configured to switch the operating mode of the electronic device from the first mode to the second mode when the wake-up state information indicates that the user is in a wake-up state and the operating mode of the electronic device is in the first mode.
[0135] In an optional design, the status information includes first status information and second status information, the first status information includes wear status information, and the second status information includes screen-off duration; the control module 702 is used to switch the operating mode of the electronic device from the second mode to the first mode when the screen-off duration reaches the first duration and the wear status information indicates that the electronic device is in an unworn state, and the operating mode of the electronic device is in the second mode.
[0136] In an optional design, the status information includes the first status information, which includes wear status information; the control module 702 is used to switch the operating mode of the electronic device from the first mode to the second mode when the wear status information indicates that the electronic device has changed from an unworn state to a worn state and the operating mode of the electronic device is in the first mode.
[0137] In an optional design, the status information includes the second status information, which includes operation information for the electronic device; the control module 702 is used to switch the operating mode of the electronic device from the first mode to the second mode when the operation indicated by the operation information is a pre-operation of a trigger operation and the operating mode of the electronic device is in the first mode; the trigger operation is an operation used to trigger the running of an application in the second system.
[0138] In an optional design, the status information includes the second status information, which includes a first duration between a first moment and a second moment, wherein the first moment is the moment when the user exits the sleep state, and the second moment is the moment when the electronic device first lights up after the first moment; the control module 702 is used to switch the operating mode of the electronic device from the first mode to the second mode when the first duration is less than the second duration and the operating mode of the electronic device is in the first mode.
[0139] In an optional design, the status information includes the second status information, which includes timing information, and the timing information is used to indicate the trigger time of the timed task; the control module 702 is used to switch the operating mode of the electronic device from the first mode to the second mode when the duration between the current time and the trigger time is less than a third duration and the operating mode of the electronic device is in the first mode.
[0140] In an optional design, the control module 702 is configured to switch the operating mode of the electronic device from the second mode to the first mode when the second duration is longer than the fourth duration; wherein the second duration reflects the duration during which no operation on the electronic device is received starting from the third moment, and the third moment is the moment when the operating mode of the electronic device is switched from the first mode to the second mode.
[0141] In an optional design, the control module 702 is configured to control the operating mode of the electronic device to switch from the first mode to the third mode and then back to the second mode; and / or, control the operating mode of the electronic device to switch from the second mode to the third mode and then back to the first mode; and / or, control the operating mode of the electronic device to switch from the first mode to the second mode and then back to the third mode; and / or, control the operating mode of the electronic device to switch from the third mode to the second mode and then back to the first mode.
[0142] It should be noted that the control device for the electronic device provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the control device for the electronic device provided in the above embodiments and the control method embodiments for the electronic device belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0143] The embodiments of this application also provide an electronic device, which includes a processor and a memory. The memory stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to implement the control method of the electronic device provided in the above-described method embodiments.
[0144] For example, Figure 8 is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. In some embodiments, the terminal described above is implemented as an electronic device, such as a wearable device.
[0145] Typically, terminal 800 includes a processor 801 and a memory 802.
[0146] Processor 801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0147] The memory 802 may include one or more computer-readable storage media, which may be non-transitory. The memory 802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 802 are used to store at least one instruction, which is executed by the processor 801 to implement the control method of the electronic device provided in the method embodiments of this application.
[0148] In some embodiments, the terminal 800 may also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, memory 802, and peripheral device interface 803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 808.
[0149] Peripheral device interface 803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 801 and memory 802. In some embodiments, processor 801, memory 802 and peripheral device interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 801, memory 802 and peripheral device interface 803 can be implemented on separate chips or circuit boards, and this application embodiment does not limit this.
[0150] The radio frequency (RF) circuit 804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0151] Display screen 805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 801 for processing. In this case, display screen 805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 805, which serves as the front panel of terminal 800; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 800 or in a folded design; in still other embodiments, display screen 805 may be a flexible display screen, disposed on a curved or folded surface of terminal 800. Furthermore, display screen 805 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 805 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0152] The camera assembly 806 is used to acquire images or videos. Optionally, the camera assembly 806 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal 800, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 806 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0153] The audio circuit 807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 801 for processing, or input to the radio frequency circuit 804 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 807 may also include a headphone jack.
[0154] Power supply 808 is used to supply power to the various components in terminal 800. Power supply 808 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0155] In some embodiments, the terminal 800 further includes one or more sensors 809. The one or more sensors 809 include, but are not limited to, an accelerometer 810, a gyroscope 811, a pressure sensor 812, an optical sensor 813, and a proximity sensor 814.
[0156] Accelerometer 810 can detect the magnitude of acceleration on the three coordinate axes of a coordinate system established by terminal 800. For example, accelerometer 810 can be used to detect the components of gravitational acceleration on the three coordinate axes. Processor 801 can control touch screen 805 to display the user interface in landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 810. Accelerometer 810 can also be used for games or for acquiring user motion data.
[0157] The gyroscope sensor 811 can detect the orientation and rotation angle of the terminal 800. The gyroscope sensor 811, in conjunction with the accelerometer sensor 810, can collect 3D motion data from the user on the terminal 800. Based on the data collected by the gyroscope sensor 811, the processor 801 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0158] The pressure sensor 812 can be disposed on the side bezel of the terminal 800 and / or on the lower layer of the touch display screen 805. When the pressure sensor 812 is disposed on the side bezel of the terminal 800, it can detect the user's grip signal on the terminal 800, and the processor 801 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 812. When the pressure sensor 812 is disposed on the lower layer of the touch display screen 805, the processor 801 can control the operable controls on the UI interface based on the user's pressure operation on the touch display screen 805. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0159] An optical sensor 813 is used to collect ambient light intensity. In one embodiment, the processor 801 can control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 813. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch screen 805 is decreased. In another embodiment, the processor 801 can also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 813.
[0160] The proximity sensor 814, also known as a distance sensor, is typically located on the front panel of the terminal 800. The proximity sensor 814 is used to detect the distance between the user and the front of the terminal 800. In one embodiment, when the proximity sensor 814 detects that the distance between the user and the front of the terminal 800 is gradually decreasing, the processor 801 controls the touchscreen display 805 to switch from a screen-on state to a screen-off state; when the proximity sensor 814 detects that the distance between the user and the front of the terminal 800 is gradually increasing, the processor 801 controls the touchscreen display 805 to switch from a screen-off state to a screen-on state.
[0161] Those skilled in the art will understand that the structure shown in FIG8 does not constitute a limitation on the terminal 800, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0162] This application also provides a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set. When the at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor of an electronic device, the control method of the electronic device provided in the above-described method embodiments is implemented.
[0163] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the control methods for the electronic device provided in the above-described method embodiments.
[0164] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0165] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent switching, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A control method for an electronic device, characterized in that, The method includes: Obtain the status information corresponding to the electronic device, the status information including first status information and / or second status information, the first status information being related to the status of the user of the electronic device, and the second status information being related to the status of the electronic device; Based on the status information, the operating mode of the electronic device is controlled to enter or exit the first mode; The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by the first processor, and the second system is run by the second processor.
2. The method according to claim 1, characterized in that, The step of controlling the electronic device to enter or exit the first mode based on the status information includes: Based on the status information, the operating mode of the electronic device is controlled to switch between the first mode and the second mode; Wherein, the second mode is a mode in which the first system is in the running state or the standby state, and the second system is in the standby state, wherein the power consumption of the second system in the ultra-low power state is lower than that in the standby state but higher than that in the power-off state, and / or, the wake-up time of the second system in the ultra-low power state is greater than that in the standby state but less than that in the power-off state; and / or, The step of controlling the electronic device to enter or exit the first mode based on the status information includes: Based on the status information, the operating mode of the electronic device is controlled to switch between the first mode and the third mode; The third mode is a mode in which the first system is in the running state or the standby state, and the second system is in the running state.
3. The method according to claim 2, characterized in that, The step of controlling the operating mode of the electronic device to switch between the first mode and the second mode based on the status information includes: If the status information satisfies the first switching condition and the electronic device is in the second mode, the operating mode of the electronic device is switched from the second mode to the first mode; and / or, If the status information satisfies the second switching condition and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the second mode; and / or, The step of controlling the operating mode of the electronic device to switch between the first mode and the third mode based on the status information includes: If the status information satisfies the third switching condition, and the electronic device is in the third operating mode, then the operating mode of the electronic device is switched from the third mode to the first mode; and / or, If the status information satisfies the fourth switching condition and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the third mode.
4. The method according to claim 3, characterized in that, The status information includes the first status information, which includes sleep status information; the step of switching the operating mode of the electronic device from the second mode to the first mode when the status information satisfies the first switching condition and the operating mode of the electronic device is in the second mode includes: If the sleep status information indicates that the user is asleep and the electronic device is operating in the second mode, then the operating mode of the electronic device is switched from the second mode to the first mode; and / or, The first status information includes sleep status information; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: When the sleep status information indicates that the user is in a sleep state and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the second mode.
5. The method according to claim 3, characterized in that, The status information includes first status information and second status information. The first status information includes wearable status information, and the second status information includes screen-off duration. The step of switching the operating mode of the electronic device from the second mode to the first mode when the status information satisfies the first switching condition and the electronic device is in the second mode includes: When the screen-off time reaches the first duration and the wear status information indicates that the electronic device is in an unworn state, and the electronic device is in the second mode, the operating mode of the electronic device is switched from the second mode to the first mode.
6. The method according to claim 3, characterized in that, The status information includes the first status information, which includes wearable status information; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: When the wearability status information indicates that the electronic device has changed from an unworn state to a worn state, and the electronic device is in the first mode of operation, the operating mode of the electronic device is switched from the first mode to the second mode.
7. The method according to claim 3, characterized in that, The status information includes the second status information, which includes operation information for the electronic device; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: If the operation indicated by the operation information is a prerequisite operation for the triggering operation, and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the second mode. The triggering operation is an operation used to trigger the running of the application in the second system.
8. The method according to claim 3, characterized in that, The status information includes second status information, which includes a first duration between a first moment and a second moment. The first moment is the moment when the user exits the sleep state, and the second moment is the moment when the electronic device first lights up after the first moment. The step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: If the first duration is less than the second duration and the electronic device is operating in the first mode, the operating mode of the electronic device is switched from the first mode to the second mode.
9. The method according to claim 3, characterized in that, The status information includes second status information, which includes timing information, used to indicate the trigger time of a timed task; the step of switching the operating mode of the electronic device from the first mode to the second mode when the status information satisfies the second switching condition and the operating mode of the electronic device is in the first mode includes: If the duration between the current moment and the trigger moment is less than a third duration, and the electronic device is operating in the first mode, then the operating mode of the electronic device is switched from the first mode to the second mode.
10. The method according to any one of claims 3 to 9, characterized in that, After switching the operating mode of the electronic device from the first mode to the second mode, the method further includes: If the second duration is longer than the fourth duration, the operating mode of the electronic device is switched from the second mode to the first mode; The second duration is used to reflect the duration during which no operation on the electronic device is received starting from the third moment, where the third moment is the moment when the operating mode of the electronic device is switched from the first mode to the second mode.
11. The method according to any one of claims 2 to 9, characterized in that, The control of the electronic device's operating mode switching between the first mode and the second mode includes: Controlling the electronic device to switch its operating mode from the first mode to the third mode and then back to the second mode; and / or, Controlling the electronic device to switch its operating mode from the second mode to the third mode and then back to the first mode; and / or, The control of the electronic device's operating mode switching between the first mode and the third mode includes: Controlling the electronic device to switch its operating mode from the first mode to the second mode and then to the third mode; and / or, The operating mode of the electronic device is controlled to switch from the third mode to the second mode and then back to the first mode.
12. A control device for an electronic device, characterized in that, The device includes: The acquisition module is used to acquire the status information corresponding to the electronic device. The status information includes first status information and / or second status information. The first status information is related to the status of the user of the electronic device, and the second status information is related to the status of the electronic device. The control module is used to control the operating mode of the electronic device to enter or exit the first mode based on the status information. The first mode is a mode in which the first system is in a running state or a standby state, and the second system is in an ultra-low power state. The ultra-low power state is different from the standby state and the power-off state. The first system is run by the first processor, and the second system is run by the second processor.
13. The apparatus according to claim 12, characterized in that, The control module is used for: Based on the status information, the operating mode of the electronic device is controlled to switch between a first mode and a second mode; wherein, the second mode is a mode in which the first system is in the operating state or the standby state, and the second system is in the standby state, the power consumption of the second system in the ultra-low power state is lower than that in the standby state but higher than that in the power-off state, and / or, the wake-up time of the second system in the ultra-low power state is greater than that in the standby state but less than that in the power-off state; and / or, Based on the status information, the operating mode of the electronic device is controlled to switch between the first mode and the third mode; wherein, the third mode is a mode in which the first system is in the operating state or the standby state, and the second system is in the operating state.
14. The apparatus according to claim 13, characterized in that, The control module is used for: If the status information satisfies the first switching condition and the electronic device is in the second mode, the operating mode of the electronic device is switched from the second mode to the first mode. And / or, If the status information satisfies the second switching condition and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the second mode. And / or, If the status information satisfies the third switching condition and the electronic device is in the third mode, the operating mode of the electronic device is switched from the third mode to the first mode. And / or, If the status information satisfies the fourth switching condition and the electronic device is in the first mode, the operating mode of the electronic device is switched from the first mode to the third mode.
15. The apparatus according to claim 14, characterized in that, The status information includes the first status information, which includes sleep status information; the control module is configured to, when the sleep status information indicates that the user is in a sleep state and the electronic device is in the second mode, switch the operating mode of the electronic device from the second mode to the first mode; and / or, The first status information includes sleep status information; The control module is configured to switch the operating mode of the electronic device from the first mode to the second mode when the sleep status information indicates that the user is in a sleep state and the operating mode of the electronic device is in the first mode.
16. The apparatus according to claim 14, characterized in that, The status information includes the first status information and the second status information. The first status information includes wear status information, and the second status information includes screen-off time. The control module is configured to switch the operating mode of the electronic device from the second mode to the first mode when the screen-off time reaches a first duration, the wear status information indicates that the electronic device is in an unworn state, and the operating mode of the electronic device is in the second mode.
17. The apparatus according to claim 14, characterized in that, The status information includes the first status information, and the first status information includes wear status information; The control module is configured to switch the operating mode of the electronic device from the first mode to the second mode when the wear status information indicates that the electronic device has changed from an unworn state to a worn state and the operating mode of the electronic device is in the first mode.
18. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the control method of the electronic device as claimed in any one of claims 1 to 11.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the control method of the electronic device as claimed in any one of claims 1 to 11.
20. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, wherein a processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the control method of the electronic device as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Power saving method and device thereof
CN104023129A
Method and device for executing application
CN111651254A
Power consumption adjusting method and device, electronic equipment and readable storage medium
CN114647294A
System control method and device, wearable equipment and storage medium
CN114647300A
Electronic equipment control method and device, equipment and storage medium
CN119065483A