Equipment operation method and device, electronic equipment and storage medium

By temporarily storing and adjusting the task operation sequence of electronic devices in low-temperature environments, the problem of electronic devices not being able to work normally in low-temperature environments is solved, and the normal operation and power consumption of the equipment are achieved.

CN119512730APending Publication Date: 2025-02-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Electronic devices cannot release voltage normally in low temperature environments, causing the equipment to shut down and causing inconvenience to users' daily use.

Method used

By determining whether the electronic equipment is in a low-temperature environment, temporarily store preset tasks to be run, and run tasks in a low-temperature environment, adjust the operating sequence according to the priority of the task and resource usage, so as to improve the overall machine temperature of the equipment in a low-temperature environment.

Benefits of technology

It realizes that electronic equipment can work normally in a low temperature environment, reduces the power consumption of the equipment in a low temperature environment, and increases the temperature of the entire machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512730A_ABST
    Figure CN119512730A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment operation method and device, electronic equipment and a storage medium. The method comprises the steps that whether first electronic equipment is in a low-temperature environment or not is determined; wherein the temperature of the low-temperature environment is smaller than a preset temperature threshold value; when it is determined that the first electronic equipment is in the low-temperature environment, a preset task to be operated is temporarily stored; and in response to the condition that the first electronic equipment is in the low-temperature environment, running the temporarily stored preset task in the first electronic equipment. According to the scheme, normal operation of the equipment in a low-temperature environment and power consumption of the equipment in a non-low-temperature environment can be considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electronic device operation, and in particular to a device operation method and apparatus, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of electronic devices including mobile phones, tablets, wearable devices, etc., electronic devices can take on more and more functions, and a variety of tasks can be completed by electronic devices, which greatly enriches people's daily life. However, in daily use, when traveling or traveling to cold places, electronic devices will not be able to release voltage normally due to low temperature, causing the device to shut down, which brings many inconveniences to users' daily use. Summary of the invention

[0003] The present disclosure provides a device operation method and apparatus, an electronic device, and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided a device operation method, including:

[0005] Determining whether the first electronic device will be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold;

[0006] When it is determined that the first electronic device will be in the low temperature environment, temporarily storing the preset task to be executed;

[0007] In response to the first electronic device being in the low temperature environment, the temporarily stored preset task is run on the first electronic device.

[0008] In some embodiments, determining whether the first electronic device will be in a low temperature environment includes:

[0009] determining a destination of the first electronic device and a time at which the first electronic device will be at the destination;

[0010] determining the ambient temperature of the destination at the time;

[0011] According to the ambient temperature of the destination at the time, it is determined whether the first electronic device will be in the low temperature environment.

[0012] In some embodiments, the preset task includes a plurality of tasks;

[0013] In response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device includes:

[0014] In response to the first electronic device being in the low temperature environment, the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task.

[0015] In some embodiments, the priority corresponding to the task is used to characterize the preset resource usage of the task; and the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task, including:

[0016] According to the preset resource usage of each task, each task in the preset tasks is sequentially executed on the first electronic device in the order of the resource usage from the largest to the smallest.

[0017] In some embodiments, the step of sequentially running each of the preset tasks on the first electronic device in descending order of resource usage according to the preset resource usage of each task includes:

[0018] According to the current resource usage of the first electronic device and the preset resource usage of each task, each task in the target task is run in sequence on the first electronic device in order of resource usage from large to small; wherein the sum of the resources required for the target task and the resources currently used by the first electronic device is less than the preset resource usage threshold.

[0019] In some embodiments, the preset task to be executed includes a task in the second electronic device; and in response to the first electronic device being in the low temperature environment, executing the temporarily stored preset task in the first electronic device includes:

[0020] In response to the first electronic device being in the low temperature environment, the first electronic device executes the temporarily stored task in the second electronic device.

[0021] In some embodiments, the method further comprises:

[0022] In response to the first electronic device not being currently in the low temperature environment, suspending the execution of the preset task.

[0023] According to a second aspect of an embodiment of the present disclosure, there is provided a device for operating a device, including:

[0024] A determination module, used to determine whether the first electronic device will be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold;

[0025] A temporary storage module, configured to temporarily store the preset task to be executed when it is determined that the first electronic device will be in the low temperature environment;

[0026] The running module is used for running the temporarily stored preset task on the first electronic device in response to the first electronic device being in the low temperature environment.

[0027] In some embodiments, the determination module is used to determine the destination of the first electronic device and the time it will be at the destination; determine the ambient temperature of the destination at the time; and determine whether the first electronic device will be in the low temperature environment based on the ambient temperature of the destination at the time.

[0028] In some embodiments, the preset task includes multiple tasks; the running module is used to run each task in the preset task in sequence on the first electronic device according to the priority corresponding to each task in response to the first electronic device being in the low temperature environment.

[0029] In some embodiments, the priority corresponding to the task is used to characterize the preset resource usage of the task; the running module is used to run each of the preset tasks in sequence on the first electronic device in order of resource usage from large to small according to the preset resource usage of each task.

[0030] In some embodiments, the running module is used to run each task in the target task on the first electronic device in sequence in order of resource usage from large to small according to the current resource usage of the first electronic device and the preset resource usage of each task; wherein the sum of the resources required for the target task and the resources currently used by the first electronic device is less than the preset resource usage threshold.

[0031] In some embodiments, the preset task to be executed includes a task in the second electronic device; and the execution module is used to execute the temporarily stored task in the second electronic device on the first electronic device in response to the first electronic device being in the low temperature environment.

[0032] In some embodiments, the apparatus further comprises:

[0033] The pause module is used to pause the running of the preset task in response to the first electronic device not being in the low temperature environment.

[0034] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0035] A processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the method as described in the first aspect above.

[0036] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:

[0037] When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in the first aspect above.

[0038] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0039] The disclosed embodiment adjusts the task calling strategy based on whether the first electronic device will be in a low-temperature environment. When it is determined that the first electronic device will be in a low-temperature environment, the preset task to be run is temporarily stored, and the preset task on the whole device is postponed; and in response to the first electronic device being in a low-temperature environment, the temporarily stored preset task is run on the first electronic device, and the whole device temperature of the first electronic device in the low-temperature environment is increased by migrating the execution time of the preset task, so that the first electronic device can work normally in the low-temperature environment. In addition, because the disclosed embodiment temporarily stores the preset task to be run when it is determined that the first electronic device will be in a low-temperature environment, it can also take into account reducing the power consumption of the first electronic device that is not yet in a low-temperature environment.

[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] Figure 1 This is an example of a device operation method process shown in the embodiment of the present disclosure Figure 1 .

[0043] Figure 2 This is an example of a device operation method process shown in the embodiment of the present disclosure Figure 2 .

[0044] Figure 3 This is an example of a device operation method process shown in the embodiment of the present disclosure Figure 3 .

[0045] Figure 4 It is a diagram of a device operation apparatus shown in an embodiment of the present disclosure.

[0046] Figure 5 It is a block diagram of an electronic device shown in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0048] The embodiment of the present disclosure provides a device operation method, and the execution subject may be a first electronic device that can execute tasks, such as user equipment (UE), mobile device, user terminal, mobile phone, tablet computer, personal digital assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc. In some possible implementations, the device operation method may be implemented by a processor in the first electronic device calling a computer-readable instruction stored in a memory.

[0049] Figure 1 is an example diagram of a device operation method flow diagram shown in an embodiment of the present disclosure, comprising Figure 1 It can be seen that the following steps are included:

[0050] S101, determining whether a first electronic device is about to be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold;

[0051] S102: if it is determined that the first electronic device will be in the low temperature environment, temporarily storing the preset task to be executed;

[0052] S103: In response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device.

[0053] In step S101, it is determined whether the first electronic device will be in a low temperature environment with a temperature lower than a preset temperature threshold. In some embodiments, it is determined whether the first electronic device will be in a low temperature environment based on a user instruction detected by the first electronic device. For example, the detected user instruction is a click operation on a preset confirmation button indicating that the first electronic device will be in a low temperature environment, or a voice instruction confirming that the first electronic device will be in a low temperature environment, etc., to determine whether the first electronic device will be in a low temperature environment. In addition, it is also possible to determine whether the first electronic device will be in a low temperature environment based on whether the ambient temperature when the first electronic device is at the destination is less than a preset temperature threshold.

[0054] In step S102, when it is determined that the first electronic device will be in a low-temperature environment, the preset tasks to be executed are temporarily stored. The preset tasks may be user-defined tasks; or they may be based on the power consumption of each task in the history of the first electronic device, and the tasks corresponding to the power consumption greater than the preset power consumption threshold may be used as preset tasks; or they may be based on the running time of the tasks, such as tasks that run at night and tasks that run for a duration greater than the preset duration threshold may be used as preset tasks, etc., and the present disclosure does not limit this. Exemplarily, the preset tasks include file compression tasks, device cloud information synchronization tasks, application background refresh tasks, etc.; the preset tasks may include one task or multiple tasks.

[0055] In the case where it is determined that the first electronic device is in a low-temperature environment, the embodiment of the present disclosure temporarily stores the preset tasks to be run, for example, temporarily stores them in a preset memory space or a preset task list, and the temporarily stored tasks to be run will not be run immediately. It should be noted that tasks that the user needs to view immediately are not temporarily stored. For example, if the user is using an application before temporarily storing, the tasks during the running of the application are not temporarily stored, so as to avoid affecting the user experience due to the inability of the application to run normally after temporary storage.

[0056] In step S103, in response to the first electronic device being in a low temperature environment, the first electronic device runs a temporarily stored preset task. In some embodiments, when it is determined that the first electronic device will be in the low temperature environment, the current location of the first electronic device is located based on a built-in positioning system (Global Positioning System, GPS); a weather query interface is called to determine the ambient temperature of the current location of the first electronic device; if the ambient temperature is less than a preset temperature threshold, it is determined that the first electronic device is currently in a low temperature environment, and the temporarily stored preset task is run on the first electronic device.

[0057] In some embodiments, the wearable device (such as a smart watch) worn by the user detects the ambient temperature, and the first electronic device compares the ambient temperature detected by the wearable device with a preset temperature threshold to determine whether the first electronic device is currently in a low temperature environment, and when it is determined that the first electronic device is currently in a low temperature environment, it runs a temporarily stored preset task. Among them, the wearable device is a device that is connected to the first electronic device and is relatively close; if the first electronic device is a mobile phone and the wearable device is a smart watch, when the user holds the mobile phone and wears the smart watch, it is considered that the smart watch and the mobile phone are in the same space and are relatively close.

[0058] In some embodiments, when it is determined that the first electronic device will be in a low temperature environment at the destination, in response to the time when the first electronic device arrives in the low temperature environment at the destination, it is determined that the first electronic device is currently in a low temperature environment, and a temporarily stored preset task is executed on the first electronic device.

[0059] In addition, the above-mentioned embodiments can be combined. In response to the time of reaching the destination, the weather query interface is called to determine the ambient temperature of the current destination of the first electronic device; if the ambient temperature is less than a preset temperature threshold, it is determined that the first electronic device is currently in a low temperature environment, and the temporarily stored preset task is executed on the first electronic device.

[0060] In the embodiment of the present disclosure, the first electronic device runs the temporarily stored preset tasks. If the temporarily stored preset tasks include one task, the task can be directly run; if the temporarily stored preset tasks include multiple tasks, some or all of the tasks can be run synchronously, or each task can be run sequentially based on a preset running order.

[0061] It can be understood that the embodiment of the present disclosure adjusts the task calling strategy based on whether the first electronic device will be in a low-temperature environment. When it is determined that the first electronic device will be in a low-temperature environment, the preset task to be run is temporarily stored, and the preset task on the whole device is postponed; and in response to the first electronic device being in a low-temperature environment, the first electronic device runs the temporarily stored preset task, and the whole device temperature of the first electronic device in the low-temperature environment is increased by migrating the execution time of the preset task, so that the first electronic device can work normally in the low-temperature environment. In addition, because the embodiment of the present disclosure temporarily stores the preset task to be run when it is determined that the first electronic device will be in a low-temperature environment, it can also take into account reducing the power consumption of the first electronic device that is not yet in a low-temperature environment.

[0062] Figure 2 An example of a device operation method process shown in the embodiment of the present disclosure Figure 2 , Figure 2 In the above step S101, the following steps are included:

[0063] S1011, determining a destination of the first electronic device and a time when the first electronic device will be at the destination;

[0064] S1012, determining the ambient temperature of the destination at the time;

[0065] S1013: Determine whether the first electronic device will be in the low temperature environment according to the ambient temperature of the destination at the time.

[0066] In step S1011, the first electronic device can determine the user's future travel destination and the time of arrival at the destination based on information such as calendar recording applications and travel applications; for example, based on travel applications, it is determined that the user will arrive at a snow mountain for travel on a certain day.

[0067] It is understandable that users usually carry the first electronic device with them, such as a mobile phone. Therefore, the user's future travel destination and the time of arrival at the destination can be regarded as the destination of the first electronic device and the time it will be at the destination in the embodiment of the present disclosure.

[0068] After determining the destination of the first electronic device and the time it will be at the destination, step S1012 is executed, and the first electronic device determines the ambient temperature of the destination at that time; for example, the ambient temperature of the destination at the time of arrival can be determined in real time based on a built-in weather application or by calling a weather query interface provided by a third party, or, when the time is reached, the ambient temperature of the destination at that time can be determined based on the aforementioned methods.

[0069] In step S1013, when the ambient temperature at the destination location at the time of arrival is less than a preset temperature threshold, it is determined that the first electronic device will be in a low temperature environment; or, when the ambient temperature at the destination location at the time of arrival is greater than or equal to the preset temperature threshold, it is determined that the first electronic device will not be in a low temperature environment.

[0070] It can be understood that the embodiment of the present disclosure determines the destination of the first electronic device and the time it will be at the destination, and determines whether the first electronic device will be in a low-temperature environment based on the determined ambient temperature of the destination at that time. Compared with the aforementioned user-based detection-based determination of whether the first electronic device will be in a low-temperature environment, the embodiment of the present disclosure does not require additional user operation, can improve the intelligence of determining whether the first electronic device will be in a low-temperature environment, and provides a better user experience.

[0071] In some embodiments, the preset task includes a plurality of tasks;

[0072] In response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device includes:

[0073] In response to the first electronic device being in the low temperature environment, the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task.

[0074] In the disclosed embodiment, the preset task includes multiple tasks, and each task has a corresponding priority. The priority corresponding to the task can be user-defined; it can also be determined based on the power consumption of each task in the history of the first electronic device running, such as the task with greater power consumption has a higher priority; it can also be determined based on the frequency of each task in the history of the first electronic device running, such as the task with a higher running frequency has a higher priority, etc.

[0075] In an embodiment of the present disclosure, when the first electronic device is in a low-temperature environment, each task in the preset tasks is executed in sequence according to the priority corresponding to each task in the preset tasks. For example, each task in the temporarily stored preset tasks is executed in sequence according to the order of priority from high to low or from low to high.

[0076] Among them, if there are multiple tasks corresponding to the same priority, the tasks corresponding to the same priority can be run synchronously; or, based on the order of the planned running time of the multiple tasks corresponding to the same priority before being temporarily stored, the multiple tasks corresponding to the same priority can be run in sequence, etc., and the present disclosure does not limit this.

[0077] It can be understood that, in the embodiment of the present disclosure, when the first electronic device is in a low-temperature environment, each task in the preset tasks is executed in sequence according to the priority corresponding to each task. Through this scheme, the running order of each task in the preset tasks can be flexibly adjusted based on the priority corresponding to each task to meet different task running requirements.

[0078] In some embodiments, the priority corresponding to the task is used to characterize the preset resource usage of the task; and the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task, including:

[0079] According to the preset resource usage of each task, each task in the preset tasks is sequentially executed on the first electronic device in the order of the resource usage from the largest to the smallest.

[0080] In the disclosed embodiment, the priority corresponding to the task is used to characterize the preset resource usage of the task, for example, the resource usage ratio / resource usage size of the last task run is used as the priority corresponding to the task, or the average resource usage ratio / resource usage size of the tasks run within the historical duration is used as the priority corresponding to the task; it can also be that the level corresponding to the range in which the resource usage ratio of the historical running tasks falls is determined as the priority corresponding to the task, etc. Among them, the used resources can be the resources of the processor of the first electronic device used, memory resources, etc.; the processor of the first electronic device is such as a central processing unit (CPU), a microcontroller unit (MCU), a graphics processing unit (GPU), etc.

[0081] It is understandable that the priority corresponding to the task is positively correlated with the amount of resources required to run the task; the higher the priority corresponding to the task, the more resources are required to run the task, and running the task causes a greater temperature rise in the first electronic device.

[0082] In the disclosed embodiment, the first electronic device runs each of the preset tasks in sequence in the order of resource usage from large to small according to the preset resource usage of each task. Through this scheme, the first electronic device can first run the task that uses more resources in a low-temperature environment, thereby achieving a rapid temperature rise. In addition, as the tasks are run, the temperature of the first electronic device gradually increases, and it switches to run the task that uses less resources, taking into account the temperature rise and power consumption of the first electronic device.

[0083] In some embodiments, the step of sequentially running each of the preset tasks on the first electronic device in descending order of resource usage according to the preset resource usage of each task includes:

[0084] According to the current resource usage of the first electronic device and the preset resource usage of each task, each task in the target task is run in sequence on the first electronic device in order of resource usage from large to small; wherein the sum of the resources required for the target task and the resources currently used by the first electronic device is less than the preset resource usage threshold.

[0085] In the disclosed embodiment, according to the current resource usage of the first electronic device and the preset resource usage of each task, the task in which the sum of the resources required in the preset task and the resources currently used by the first electronic device is less than the preset resource usage threshold is selected as the target task. Taking the resource usage including the resource usage ratio as an example, if the current resource usage ratio of the first electronic device is 35% and the preset resource usage threshold is 95%, the task in which the preset resource usage ratio is 60% can be selected as the target task, or the task in which the difference between the preset resource usage ratio and 60% is less than the preset difference threshold can be selected as the target task, so that the temperature of the first electronic device can rise quickly during the operation of the target task and there is still 5% resource margin.

[0086] After determining the target task, the first electronic device sequentially runs each task in the target task in descending order of resource usage according to the resource usage corresponding to the target task. If the target task includes one task, the target task is directly run.

[0087] It can be understood that the embodiment of the present disclosure runs each task in the target task in sequence on the first electronic device in order of resource usage from large to small according to the current resource usage of the first electronic device and the preset resource usage of each task, so that the temperature of the first electronic device continues to rise during the execution of the target task, while the processor is not fully loaded or overloaded, thereby effectively ensuring the smooth operation of the first electronic device.

[0088] In some embodiments, the preset task to be executed includes a task in the second electronic device; and in response to the first electronic device being in the low temperature environment, executing the temporarily stored preset task in the first electronic device includes:

[0089] In response to the first electronic device being in the low temperature environment, the first electronic device executes the temporarily stored task in the second electronic device.

[0090] In the embodiment of the present disclosure, the second electronic device may be a server device corresponding to the first electronic device, or other terminal device that can communicate with the first electronic device.

[0091] In the case where it is determined that the first electronic device will be in a low-temperature environment, the embodiment of the present disclosure temporarily stores preset tasks to be executed, such as temporarily storing tasks for running algorithms and training models in a server device and / or other terminal devices.

[0092] In response to the first electronic device being in a low temperature environment, the first electronic device may directly execute the task temporarily stored in the second electronic device; or execute the task temporarily stored in the second electronic device after the temporarily stored preset task is completed.

[0093] It is understandable that when the first electronic device is in a low-temperature environment, the first electronic device runs the tasks temporarily stored in the second electronic device. When the temperature of the whole device is still low after the first electronic device runs the preset application, the whole device temperature can be further increased by running the tasks temporarily stored in the second electronic device. In addition, if the tasks in the second electronic device include tasks such as training models and running algorithms using the data of the first electronic device, the data in the first electronic device is usually more real-time than that in the cloud server. Therefore, the first electronic device can run the tasks temporarily stored in the second electronic device based on data with higher real-time performance, which helps to improve the accuracy of model training effects and algorithm operation results.

[0094] Figure 3 An example of a device operation method process shown in the embodiment of the present disclosure Figure 3 ,Depend on Figure 3 It can be seen that the following steps are included:

[0095] S101, determining whether a first electronic device is about to be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold;

[0096] S102: if it is determined that the first electronic device will be in the low temperature environment, temporarily storing the preset task to be executed;

[0097] S103, in response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device;

[0098] S104: In response to the first electronic device not being currently in the low-temperature environment, suspending the execution of the preset task.

[0099] In the embodiment of the present disclosure, steps S101 to S103 are understood by referring to the above description and are not described in detail here.

[0100] In step S104, when the first electronic device is in a low temperature environment and is running a preset task, it can determine in real time whether the first electronic device is currently in a low temperature environment based on the aforementioned built-in weather application or by calling a weather query interface; wherein, if the temperature of the environment currently located by the first electronic device is greater than or equal to a preset temperature threshold, it is determined that the first electronic device is not currently in a low temperature environment; if the temperature of the environment currently located by the first electronic device is less than the preset temperature threshold, it is determined that the first electronic device is currently in a low temperature environment.

[0101] If the first electronic device is not currently in a low temperature environment, the preset task is suspended. With this solution, when the first electronic device is not currently in a low temperature environment, that is, when the temperature rise requirement for the first electronic device is low, the preset task can be suspended to reduce unnecessary power consumption of the first electronic device.

[0102] Figure 4 is a diagram of a device operation apparatus shown in an embodiment of the present disclosure, comprising Figure 4 It is known that, including:

[0103] The determination module 401 is used to determine whether the first electronic device will be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold;

[0104] A temporary storage module 402, configured to temporarily store the preset task to be executed when it is determined that the first electronic device will be in the low temperature environment;

[0105] The running module 403 is used to run the temporarily stored preset task on the first electronic device in response to the first electronic device being in the low temperature environment.

[0106] In some embodiments, the determination module 401 is used to determine the destination of the first electronic device and the time it will be at the destination; determine the ambient temperature of the destination at the time; and determine whether the first electronic device will be in the low temperature environment based on the ambient temperature of the destination at the time.

[0107] In some embodiments, the preset task includes multiple tasks; the running module 403 is used to run each task in the preset task in sequence on the first electronic device according to the priority corresponding to each task in response to the first electronic device being in the low temperature environment.

[0108] In some embodiments, the priority corresponding to the task is used to characterize the preset resource usage of the task; the running module 403 is used to run each task in the preset task in sequence on the first electronic device in order of resource usage from large to small according to the preset resource usage of each task.

[0109] In some embodiments, the running module 403 is used to run each task in the target task on the first electronic device in sequence in order of resource usage from large to small according to the current resource usage of the first electronic device and the preset resource usage of each task; wherein the sum of the resources required for the target task and the resources currently used by the first electronic device is less than the preset resource usage threshold.

[0110] In some embodiments, the preset task to be executed includes a task in the second electronic device; the execution module 403 is used to execute the temporarily stored task in the second electronic device on the first electronic device in response to the first electronic device being in the low temperature environment.

[0111] In some embodiments, the apparatus further comprises:

[0112] The pausing module 407 is configured to suspend the execution of the preset task in response to the first electronic device not being currently in the low temperature environment.

[0113] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0114] Figure 5 8 is a block diagram of an electronic device 800 shown in an embodiment of the present disclosure. For example, the electronic device 800 may be a mobile phone, a mobile computer, etc.

[0115] Reference Figure 5 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0116] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0117] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0118] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0119] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0120] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0121] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0122] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0123] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0124] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0126] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the aforementioned device operation method.

[0127] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims above.

[0128] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A device operation method, characterized in that: The method comprises: Determining whether the first electronic device will be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold; When it is determined that the first electronic device will be in the low temperature environment, temporarily storing the preset task to be executed; In response to the first electronic device being in the low temperature environment, the temporarily stored preset task is run on the first electronic device.

2. The method according to claim 1, characterized in that The determining whether the first electronic device will be in a low temperature environment includes: determining a destination of the first electronic device and a time at which the first electronic device will be at the destination; determining the ambient temperature of the destination at the time; According to the ambient temperature of the destination at the time, it is determined whether the first electronic device will be in the low temperature environment.

3. The method according to claim 1, characterized in that The preset task includes multiple tasks; In response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device includes: In response to the first electronic device being in the low temperature environment, the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task.

4. The method according to claim 3, characterized in that The priority corresponding to the task is used to characterize the preset resource usage of the task; and the first electronic device sequentially runs each of the preset tasks according to the priority corresponding to each task, including: According to the preset resource usage of each task, each task in the preset tasks is sequentially executed on the first electronic device in the order of the resource usage from the largest to the smallest.

5. The method according to claim 4, characterized in that The step of sequentially running each of the preset tasks on the first electronic device in descending order of resource usage according to the preset resource usage of each task includes: According to the current resource usage of the first electronic device and the preset resource usage of each task, each task in the target task is run in sequence on the first electronic device in order of resource usage from large to small; wherein the sum of the resources required for the target task and the resources currently used by the first electronic device is less than the preset resource usage threshold.

6. The method according to claim 1, characterized in that The preset tasks to be executed include tasks in the second electronic device; In response to the first electronic device being in the low temperature environment, running the temporarily stored preset task on the first electronic device includes: In response to the first electronic device being in the low temperature environment, the first electronic device executes the temporarily stored task in the second electronic device.

7. The method according to claim 1, characterized in that The method further comprises: In response to the first electronic device not being currently in the low temperature environment, suspending the execution of the preset task.

8. An equipment operation device, characterized in that: The device comprises: A determination module, used to determine whether the first electronic device will be in a low temperature environment; wherein the temperature of the low temperature environment is less than a preset temperature threshold; A temporary storage module, configured to temporarily store the preset task to be executed when it is determined that the first electronic device will be in the low temperature environment; The running module is used for running the temporarily stored preset task on the first electronic device in response to the first electronic device being in the low temperature environment.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 7.