Fan control method and device, mobile terminal and readable storage medium
By adding mechanical keys to the mobile terminal, and directly responding to user operations to generate fan control instructions, the problem of cumbersome fan control operations in the prior art is solved and the user experience is improved.
Patent Information
- Application Number
- CN202411898186.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-02-18
AI Technical Summary
The control operation of fans in existing mobile terminals is complicated, and the user needs to exit the current application first, open the fan application, and then control it through the corresponding components, affecting the user experience.
By adding multiple mechanical keys to the mobile terminal, a fan control command is generated in response to the user's operation of these keys, and the fan start, shut down and wind speed adjustment are directly controlled.
The fan control operation is simplified, and users can directly control the fan through mechanical keys, without affecting the normal use of the mobile terminal, and improve user experience.
Smart Images

Figure CN119467409A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a fan control method, device, mobile terminal and readable storage medium. Background Art
[0002] With the continuous development of electronic technology, the performance requirements of mobile terminals are getting higher and higher, so the temperature of mobile terminals is easy to rise. In order to reduce the temperature of the mobile terminal, a fan can be set in the mobile terminal. When the user needs to control the fan while using other applications in the mobile terminal, he needs to exit the current application first, open the fan application, and then control it through the corresponding components in the fan application. The required operation is relatively cumbersome. Summary of the invention
[0003] Based on this, it is necessary to provide a fan control method, device, mobile terminal and readable storage medium that can simplify fan control operations in order to solve the above technical problems.
[0004] In a first aspect, the present application provides a fan control method, which is applied to a mobile terminal, wherein the mobile terminal includes a fan and a plurality of mechanical keys, and the method includes:
[0005] generating a control instruction for the fan in response to a user's operation on one or more of the plurality of mechanical keys;
[0006] The fan is controlled according to the control instruction.
[0007] In a second aspect, the present application further provides a fan control device, which is applied to a mobile terminal, wherein the mobile terminal includes a fan and a plurality of mechanical keys, and the device includes:
[0008] a generating unit, configured to generate a control instruction for the fan in response to a user's operation on one or more of the plurality of mechanical keys;
[0009] A control unit is used to control the fan according to the control instruction.
[0010] In a third aspect, the present application further provides a mobile terminal, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in the first aspect when executing the computer program.
[0011] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method provided in the first aspect.
[0012] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the method provided in the first aspect when executed by a processor.
[0013] In an embodiment of the present application, the mobile terminal includes a fan and a plurality of mechanical keys. In response to a user's operation on one or more of the plurality of mechanical keys, a control instruction for the fan is generated, and the fan is controlled according to the control instruction. It can be seen that the user can directly control the fan in the mobile terminal by operating the mechanical keys on the mobile terminal, thereby simplifying the user's control operation on the fan. In addition, since the fan can be controlled by the mechanical keys, the normal use of the mobile terminal by the user will not be affected when the fan is controlled, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0015] FIG1 is a schematic flow chart of a fan control method provided in an embodiment of the present application;
[0016] Figure 2 is a flow chart of another fan control method provided in an embodiment of the present application;
[0017] Figure 3 is a flow chart of another fan control method provided in an embodiment of the present application;
[0018] Figure 4 is a flow chart of another fan control method provided in an embodiment of the present application;
[0019] Figure 5 is a flow chart of another fan control method provided in an embodiment of the present application;
[0020] Figure 6 is a side schematic diagram of a mobile terminal disclosed in an embodiment of the present application;
[0021] Figure 7 is a front schematic diagram of a mobile terminal disclosed in an embodiment of the present application;
[0022] Figure 8 is a side schematic diagram of another mobile terminal disclosed in an embodiment of the present application;
[0023] Fig. 9is a structural schematic diagram of a fan control device provided in an embodiment of the present application;
[0024] Fig.10 It is a structural diagram of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] In order to better understand the embodiments of the present application, the relevant technologies are first introduced below.
[0027] When the user is using other applications on the mobile terminal, such as during intense gaming, video watching, live broadcasting, etc., and needs to control the fan (start, shut down, or adjust the speed), he needs to exit the current application first, find the fan application, open the fan application, and find the required functional components (start component / shutdown component / speed adjustment component). It can be seen that the above operation of controlling the fan is relatively cumbersome.
[0028] In addition, when the user is controlling the fan, the user is required to suspend the use of other applications on the mobile terminal, thereby reducing the user experience.
[0029] FIG1 is a flow chart of a fan control method provided by an embodiment of the present application. The fan control method can be applied to a mobile terminal including a fan and a plurality of mechanical keys. The fan is a fan built into the mobile terminal. The plurality of mechanical keys are mechanical keys external to the mobile terminal. The plurality of mechanical keys may include one or more mechanical keys such as a mechanical key, a mechanical sliding key, and a mechanical roller key. The user may operate the mechanical key by pressing. The user may operate the mechanical sliding key by sliding. The user may operate the mechanical roller key by rolling. The mobile terminal may be, but is not limited to, a mobile terminal with a built-in fan such as a smart phone and a tablet computer.
[0030] As shown in FIG. 1 , the fan control method may include the following steps.
[0031] 101. In response to a user operating one or more mechanical keys among a plurality of mechanical keys, generate a control instruction for a fan.
[0032] When a user needs to control a fan of the mobile terminal during use of the mobile terminal, the user can operate one or more of the multiple mechanical keys. Accordingly, the mobile terminal can detect the user's operation on one or more of the multiple mechanical keys, and then generate a control instruction for the fan in response to the user's operation on the one or more of the multiple mechanical keys.
[0033] The one or more mechanical keys are one or more mechanical keys capable of controlling the fan. The one or more mechanical keys may be all mechanical keys capable of controlling the fan among the multiple mechanical keys, or may be some mechanical keys capable of controlling the fan among the multiple mechanical keys.
[0034] The mobile terminal can first determine the corresponding control function based on the one or more mechanical keys and the operation. When the control function is to control the fan, a control instruction for the fan can be generated in response to the user's operation on one or more of the multiple mechanical keys.
[0035] In some embodiments, the mobile terminal may store a correspondence between mechanical keys, operations, and functions. After the mobile terminal detects the user's operation on one or more of the multiple mechanical keys, the mobile terminal may determine the one or more mechanical keys and the target function corresponding to the operation according to the correspondence, and then generate a control instruction for the fan according to the target function in response to the user's operation on one or more of the multiple mechanical keys.
[0036] The operation may be an operation on a single mechanical key or an operation on multiple mechanical keys (ie, a combined mechanical key).
[0037] The operation may be a pressing operation, a sliding operation, a scrolling operation, or other types of operations.
[0038] The pressing operation can be a single-click operation, a double-click operation, or a long-press operation. A double-click operation is an operation in which the time interval between two consecutive single-machine operations is less than a first time threshold. A long-press operation is an operation in which the pressing duration is greater than or equal to a second time threshold.
[0039] The operation may be an operation for starting a fan. Accordingly, the control instruction may be a start instruction for starting a fan.
[0040] The operation may also be an operation for turning off the fan. Accordingly, the control instruction may be a turning off instruction for turning off the fan.
[0041] The operation may also be an operation for adjusting the wind speed of the fan. Accordingly, the control instruction may be an adjustment instruction for adjusting the wind speed of the fan.
[0042] 102. Control the fan according to the control instruction.
[0043] After the mobile terminal generates a control instruction for the fan, the fan can be controlled according to the control instruction. Controlling the fan can be controlling the state of the fan or controlling the wind speed of the fan. The state of the fan can be an off state, or a start state, an on state, or a working state. When the state of the fan is an off state, the fan is not working. When the state of the fan is a working state, the fan is working.
[0044] In the case that the control instruction is a start instruction for starting a fan, the mobile terminal may start or turn on the fan according to the start instruction.
[0045] In the case where the control instruction is a shut-down instruction for shutting down the fan, the mobile terminal may shut down or stop the fan according to the shut-down instruction.
[0046] In the case where the control instruction is an adjustment instruction for adjusting the wind speed of the fan, the mobile terminal may adjust the wind speed of the fan according to the adjustment instruction.
[0047] The adjustment instruction may be an adjustment instruction for increasing the wind speed or an adjustment instruction for decreasing the wind speed. When the adjustment instruction is an adjustment instruction for increasing the wind speed, the mobile terminal may increase the wind speed of the fan. When the adjustment instruction is an adjustment instruction for decreasing the wind speed, the mobile terminal may decrease the wind speed of the fan.
[0048] In the fan control method shown in FIG1 , the user can directly control the fan in the mobile terminal by operating the mechanical keys on the mobile terminal, thereby simplifying the user's fan control operation. In addition, since the fan can be controlled by the mechanical keys, the normal use of the mobile terminal by the user will not be affected when the fan is controlled, which can improve the user experience.
[0049] Figure 2 1 is a flow chart of another fan control method provided by an embodiment of the present application. The fan control method can be applied to a mobile terminal including a fan and a plurality of mechanical keys. For a detailed description of the mobile terminal, the fan and the plurality of mechanical keys, reference can be made to the above related description. Figure 2 As shown, the fan control method may include the following steps.
[0050] 201. In response to a first operation of a user on one or more mechanical keys among a plurality of mechanical keys, generate a start instruction for starting a fan.
[0051] When a user uses a mobile terminal and needs to turn on, start or start a fan of the mobile terminal, the user can perform a first operation on one or more of the multiple mechanical keys. Accordingly, the mobile terminal can detect the user's first operation on one or more of the multiple mechanical keys, and then generate a start instruction for starting the fan in response to the user's first operation on the one or more of the multiple mechanical keys. The one or more mechanical keys are mechanical keys for starting the fan.
[0052] The mobile terminal can first determine the corresponding control function based on the one or more mechanical keys and the first operation. When the control function is to start the fan, a start instruction for starting the fan can be generated in response to the user's first operation on one or more mechanical keys among the multiple mechanical keys.
[0053] The first operation may be an operation on a single mechanical key or an operation on multiple mechanical keys.
[0054] The first operation may be a pressing operation, a sliding operation, a scrolling operation, or other types of operations.
[0055] For other detailed descriptions of step 201 , please refer to the relevant descriptions below step 101 .
[0056] 202. Start the fan according to the start command.
[0057] After the mobile terminal generates the start-up instruction, the fan can be started or turned on according to the start-up instruction, that is, the state of the fan is adjusted to the working state, that is, the state of the fan is adjusted from the off state to the working state.
[0058] In some embodiments, after the mobile terminal generates the start instruction, it can output first prompt information for prompting the user whether to start the fan. In the case where the user performs a confirmation operation on the first prompt information, the mobile terminal can detect the confirmation operation for the first prompt information, and can start the fan according to the start instruction in response to the user's confirmation operation on the first prompt information. In the case where the user performs a denial operation on the first prompt information, the mobile terminal can detect the denial operation for the first prompt information, and can delete the start instruction in response to the user's denial operation on the first prompt information, thereby saving storage resources.
[0059] It can be seen that after the user starts the fan in the mobile terminal through the mechanical key on the mobile terminal, the user is required to confirm whether to start the fan, which can avoid user error operations.
[0060] In some embodiments, after the mobile terminal generates a start instruction, it may also first determine whether the current conditions meet the first condition. If it is determined that the current conditions meet the first condition, it indicates that the conditions for starting the fan are met, and the fan can be started according to the start instruction. If it is determined that the current conditions of the fan do not meet the first condition, it indicates that the conditions for starting the fan are not met, and the start instruction can be deleted.
[0061] It can be seen that the fan is started based on the user's operation of the mechanical key only when the conditions for starting the fan are met. When the conditions for starting the fan are not met, the fan is not started based on the user's operation of the mechanical key. This can avoid turning on the fan when it is not needed, or avoid unnecessary processing, thereby reducing power consumption.
[0062] In some embodiments, the mobile terminal can determine whether the current state of the fan is off. If it is determined that the current state of the fan is off, the fan can be started according to the start instruction. If it is determined that the current state of the fan is working, it indicates that the fan is already in working state, that is, the fan is already turned on. The first operation is an erroneous operation by the user, and the start instruction can be deleted.
[0063] In some embodiments, the mobile terminal can determine whether the current scene of the mobile terminal is a preset scene. When it is determined that the current scene of the mobile terminal is a preset scene, it indicates that the load and / or power consumption of the mobile terminal is large, and the temperature of the mobile terminal is prone to rise. In order to avoid the excessive temperature of the mobile terminal, the fan can be started according to the start instruction. The preset scene may include high-power consumption and / or high-load scenes such as game scenes, live broadcast scenes, and video scenes. It can be seen that in the preset scene, the load and / or power consumption of the mobile terminal is large, and the temperature of the mobile terminal is prone to rise. Therefore, the mobile terminal can start the fan based on the user's operation of the mechanical key to ensure that the temperature of the mobile terminal will not be too high.
[0064] When the current scene of the mobile terminal is determined to be a non-preset scene, it indicates that the power consumption and load of the mobile terminal are low, and the ordinary heat dissipation method of the mobile terminal can be adopted, and the mobile terminal can delete the start instruction. It can be seen that in a scene where the fan does not need to be started, the fan can be not started, which can reduce power consumption.
[0065] When it is determined that the current scene of the mobile terminal is not a preset scene, the mobile terminal may also output a first prompt message for prompting the user whether to start the fan. When the user performs a confirmation operation on the first prompt message, the mobile terminal may detect the confirmation operation for the first prompt message, and may start the fan according to the start instruction in response to the user's confirmation operation on the first prompt message. When the user performs a denial operation on the first prompt message, the mobile terminal may detect the denial operation for the first prompt message, and may delete the start instruction in response to the user's denial operation on the first prompt message.
[0066] It can be seen that in a scenario where the fan does not need to be started, the user can confirm whether to start the fan as needed, which can improve the user experience.
[0067] In some embodiments, the mobile terminal can determine whether the current temperature of the mobile terminal is greater than or equal to the temperature threshold. If it is determined that the current temperature of the mobile terminal is greater than or equal to the temperature threshold, it indicates that the temperature of the mobile terminal is high. In order to prevent the mobile terminal from being burned due to excessive temperature, the fan can be started according to the start instruction. It can be seen that when the temperature is high, the mobile terminal can start the fan based on the user's operation of the mechanical key, which can prevent the mobile terminal from being too hot.
[0068] When it is determined that the current temperature of the mobile terminal is less than the temperature threshold, it indicates that the temperature of the mobile terminal is low, and the mobile terminal can delete the start instruction. It can be seen that when the temperature is low, the fan can be disabled to reduce power consumption.
[0069] When it is determined that the current temperature of the mobile terminal is less than the temperature threshold, the mobile terminal may also output a first prompt message for prompting the user whether to start the fan. When the user performs a confirmation operation on the first prompt message, the mobile terminal may detect the confirmation operation for the first prompt message, and may start the fan according to the start instruction in response to the user's confirmation operation on the first prompt message. When the user performs a denial operation on the first prompt message, the mobile terminal may detect the denial operation for the first prompt message, and may delete the start instruction in response to the user's denial operation on the first prompt message.
[0070] It can be seen that when the temperature of the mobile terminal is low, the user can confirm whether to start the fan as needed, which can improve the user experience.
[0071] In some embodiments, the mobile terminal can determine whether the current scene of the mobile terminal is a preset scene, and whether the current temperature of the mobile terminal is greater than or equal to a temperature threshold. When it is determined that the current scene of the mobile terminal is the preset scene, and the current temperature of the mobile terminal is greater than or equal to the temperature threshold, it indicates that the temperature of the mobile terminal is high, and the power consumption and / or load of the mobile terminal are large. The temperature of the mobile terminal will continue to rise. In order to avoid the mobile terminal from burning out due to excessive temperature, the fan can be started according to the start instruction.
[0072] It can be seen that in a preset scenario and when the temperature is high, the mobile terminal can start the fan based on the user's operation of the mechanical key, which can avoid the situation where the temperature of the mobile terminal is too high.
[0073] When it is determined that the current scene of the mobile terminal is not a preset scene, or the current temperature of the mobile terminal is less than the temperature threshold, it indicates that the power consumption and load of the mobile terminal are low, or the temperature of the mobile terminal is low, and the mobile terminal can delete the start instruction. It can be seen that when the fan does not need to be started, the fan can be not started, which can reduce power consumption.
[0074] When it is determined that the current scene of the mobile terminal is not a preset scene, or the current temperature of the mobile terminal is less than the temperature threshold, the mobile terminal may also output a first prompt message for prompting the user whether to start the fan. When the user performs a confirmation operation on the first prompt message, the mobile terminal may detect the confirmation operation for the first prompt message, and may start the fan according to the start instruction in response to the user's confirmation operation on the first prompt message. When the user performs a denial operation on the first prompt message, the mobile terminal may detect the denial operation for the first prompt message, and may delete the start instruction in response to the user's denial operation on the first prompt message.
[0075] It can be seen that when there is no need to start the fan, the user can confirm whether to start the fan as needed, which can improve the user experience.
[0076] It should be understood that the above different embodiments can be combined with each other. Exemplarily, the mobile terminal can first determine whether the current state of the fan is the off state, and when it is determined that the current state of the fan is the off state, it can output a first prompt information for prompting the user whether to start the fan. Exemplarily, the mobile terminal can first determine whether the current state of the fan is the off state, and when it is determined that the current state of the fan is the off state, it can determine whether the current scene of the mobile terminal is a preset scene. Exemplarily, the mobile terminal can first determine whether the current state of the fan is the off state, and when it is determined that the current state of the fan is the off state, it can determine whether the current temperature of the mobile terminal is greater than or equal to the temperature threshold. Exemplarily, the mobile terminal can first determine whether the current state of the fan is the off state, and when it is determined that the current state of the fan is the off state, it can determine whether the current scene of the mobile terminal is a preset scene, and whether the current temperature of the mobile terminal is greater than or equal to the temperature threshold.
[0077] exist Figure 2 In the fan control method shown, the user can directly start the fan in the mobile terminal by operating the mechanical key on the mobile terminal, thereby simplifying the user's fan start operation. In addition, since the fan can be directly started by the mechanical key, the normal use of the mobile terminal by the user will not be affected when the fan is started, thereby improving the user experience.
[0078] Figure 3 FIG. 1 is a flow chart of another fan control method provided by an embodiment of the present application. The fan control method can be applied to a mobile terminal including a fan and a plurality of mechanical keys. For a detailed description of the mobile terminal, the fan and the plurality of mechanical keys, reference can be made to the above related description. Figure 3 As shown, the fan control method may include the following steps.
[0079] 301. In response to a second operation of a user on one or more mechanical keys among a plurality of mechanical keys, generate a shut-down instruction for shutting down a fan.
[0080] When the user needs to turn off or stop the fan of the mobile terminal during the process of using the mobile terminal, the user can perform a second operation on one or more of the multiple mechanical keys. Accordingly, the mobile terminal can detect the second operation of the user on one or more of the multiple mechanical keys, and then generate a shutdown instruction for turning off the fan in response to the second operation of the user on the one or more of the multiple mechanical keys. The one or more mechanical keys are mechanical keys for turning off the fan.
[0081] The mobile terminal can first determine the corresponding control function based on the one or more mechanical keys and the second operation. When the control function is to turn off the fan, it can generate a shutdown instruction for turning off the fan in response to the user's second operation on one or more mechanical keys among the multiple mechanical keys.
[0082] The second operation may be an operation on a single mechanical key or an operation on multiple mechanical keys.
[0083] The second operation may be a pressing operation, a sliding operation, a scrolling operation, or other types of operations.
[0084] For other detailed descriptions of step 301 , please refer to the relevant descriptions below step 101 .
[0085] 302. Turn off the fan according to the shutdown instruction.
[0086] After the mobile terminal generates the shutdown instruction, the fan can be shut down or stopped according to the shutdown instruction, that is, the state of the fan is adjusted to the shutdown state, that is, the state of the fan is adjusted from the working state to the shutdown state.
[0087] In some embodiments, after the mobile terminal generates the shutdown instruction, the mobile terminal may output a second prompt message for prompting the user whether to turn off the fan. When the user performs a confirmation operation on the second prompt message, the mobile terminal may detect the confirmation operation for the second prompt message, and may respond to the user's confirmation operation on the second prompt message and turn off the fan according to the shutdown instruction. When the user performs a denial operation on the second prompt message, the mobile terminal may detect the denial operation for the second prompt message, and may respond to the user's denial operation on the second prompt message and delete the shutdown instruction, thereby saving storage resources.
[0088] It can be seen that after the user turns off the fan in the mobile terminal through the mechanical key on the mobile terminal, the user is required to confirm whether to turn off the fan, which can avoid user error operations.
[0089] In some embodiments, after the mobile terminal generates a shutdown instruction, it may also first determine whether the current conditions meet the second condition. If it is determined that the current conditions meet the second condition, it indicates that the conditions for turning off the fan are met, and the fan can be turned off according to the shutdown instruction. If it is determined that the current conditions of the fan do not meet the second condition, it indicates that the conditions for turning off the fan are not met, and the shutdown instruction can be deleted.
[0090] It can be seen that the fan is turned off based on the user's operation of the mechanical key only when the conditions for turning off the fan are met. If the conditions for turning off the fan are not met, the fan is not turned off based on the user's operation of the mechanical key. This can avoid the situation where the fan needs to be turned off when it is needed, or can avoid unnecessary processing.
[0091] In some embodiments, the mobile terminal can determine whether the current state of the fan is a working state. If it is determined that the current state of the fan is a working state, the fan can be turned off according to the shutdown instruction. If it is determined that the current state of the fan is a shut-down state, it indicates that the fan is already in a shut-down state, that is, the fan is already turned off. The second operation is an erroneous operation by the user, and the shut-down instruction can be deleted.
[0092] In some embodiments, the mobile terminal can determine whether the current scene of the mobile terminal is a non-preset scene. If it is determined that the current scene of the mobile terminal is a non-preset scene, it indicates that the power consumption and load of the mobile terminal are small, and the fan can be turned off according to the shutdown instruction. It can be seen that in a non-preset scene, the load and power consumption of the mobile terminal are small, and the temperature of the mobile terminal is not easy to rise. Therefore, the mobile terminal can turn off the fan based on the user's operation of the mechanical key, which can reduce power consumption.
[0093] When the current scene of the mobile terminal is determined to be a preset scene, it indicates that the power consumption and / or load of the mobile terminal is large, and the mobile terminal can delete the shutdown instruction. It can be seen that in the scene where the fan needs to work, the fan can be left on to avoid overheating of the mobile terminal.
[0094] When it is determined that the current scene of the mobile terminal is a preset scene, the mobile terminal may also output a second prompt message for prompting the user whether to turn off the fan. When the user performs a confirmation operation on the second prompt message, the mobile terminal may detect the confirmation operation for the second prompt message, and in response to the user's confirmation operation on the second prompt message, the fan may be turned off according to the turn-off instruction. When the user performs a denial operation on the second prompt message, the mobile terminal may detect the denial operation for the second prompt message, and in response to the user's denial operation on the second prompt message, the turn-off operation may be deleted.
[0095] It can be seen that in a scenario where the fan needs to work, the user can confirm whether to turn off the fan as needed, which can improve the user experience.
[0096] In some embodiments, the mobile terminal can determine whether the current temperature of the mobile terminal is less than a temperature threshold. If the current temperature of the mobile terminal is less than the temperature threshold, it indicates that the temperature of the mobile terminal is low, and the fan can be turned off according to the shutdown instruction. It can be seen that when the temperature is low, the fan can be turned off to reduce power consumption.
[0097] When it is determined that the current temperature of the mobile terminal is greater than or equal to the temperature threshold, it indicates that the temperature of the mobile terminal is high, and the mobile terminal can delete the shutdown instruction. It can be seen that when the temperature is high, the mobile terminal can not turn off the fan to avoid the situation where the temperature of the mobile terminal is too high.
[0098] When it is determined that the current temperature of the mobile terminal is greater than or equal to the temperature threshold, the mobile terminal may also output a second prompt message for prompting the user whether to start the fan. When the user performs a confirmation operation on the second prompt message, the mobile terminal may detect the confirmation operation for the second prompt message, and in response to the user's confirmation operation on the second prompt message, the fan may be turned off according to the shutdown instruction. When the user performs a denial operation on the second prompt message, the mobile terminal may detect the denial operation for the second prompt message, and in response to the user's denial operation on the second prompt message, the shutdown instruction may be deleted.
[0099] It can be seen that when the temperature of the mobile terminal is high, the user can confirm whether to turn off the fan as needed, which can improve the user experience.
[0100] In some embodiments, the mobile terminal can determine whether the current scene of the mobile terminal is a non-preset scene, and whether the current temperature of the mobile terminal is less than a temperature threshold. When it is determined that the current scene of the mobile terminal is a non-preset scene, and the current temperature of the mobile terminal is less than the temperature threshold, it indicates that the temperature of the mobile terminal is low, and the power consumption and load of the mobile terminal are small, and the fan can be turned off according to the shutdown instruction. It can be seen that in non-preset scenes and when the temperature is low, the mobile terminal can turn off the fan based on the user's operation of the mechanical key, which can reduce power consumption.
[0101] When it is determined that the current scene of the mobile terminal is a preset scene, or the current temperature of the mobile terminal is greater than or equal to the temperature threshold, it indicates that the power consumption and / or load of the mobile terminal is large, or the temperature of the mobile terminal is high, and the mobile terminal can delete the shutdown instruction. It can be seen that when the fan needs to work, the fan can be left on to avoid the situation where the temperature of the mobile terminal is too high.
[0102] When it is determined that the current scene of the mobile terminal is a preset scene, or the current temperature of the mobile terminal is greater than or equal to the temperature threshold, the mobile terminal may also output a second prompt message for prompting the user whether to turn off the fan. When the user performs a confirmation operation on the second prompt message, the mobile terminal may detect the confirmation operation for the second prompt message, and in response to the user's confirmation operation on the second prompt message, the fan may be turned off according to the turn-off instruction. When the user performs a denial operation on the second prompt message, the mobile terminal may detect the denial operation for the second prompt message, and in response to the user's denial operation on the second prompt message, the fan may be deleted and turned off.
[0103] It can be seen that in a scenario where the fan needs to work, or when the temperature of the mobile terminal is high, the user can confirm whether to turn off the fan as needed, which can improve the user experience.
[0104] It should be understood that the above-mentioned different embodiments can be combined with each other. Exemplarily, the mobile terminal can first determine whether the current state of the fan is in working state, and when it is determined that the current state of the fan is in working state, a second prompt information for prompting the user whether to turn off the fan can be output. Exemplarily, the mobile terminal can first determine whether the current state of the fan is in working state, and when it is determined that the current state of the fan is in working state, it can be determined whether the current scene of the mobile terminal is a non-preset scene. Exemplarily, the mobile terminal can first determine whether the current state of the fan is in working state, and when it is determined that the current state of the fan is in working state, it can be determined whether the current temperature of the mobile terminal is less than the temperature threshold. Exemplarily, the mobile terminal can first determine whether the current state of the fan is in working state, and when it is determined that the current state of the fan is in working state, it can be determined whether the current scene of the mobile terminal is a non-preset scene, and whether the current temperature of the mobile terminal is less than the temperature threshold.
[0105] exist Figure 3 In the fan control method shown, the user can directly turn off the fan in the mobile terminal by operating the mechanical key on the mobile terminal, thereby simplifying the user's fan turning off operation. In addition, since the fan can be turned off directly by the mechanical key, the normal use of the mobile terminal by the user will not be affected when the fan is turned off, thus improving the user experience.
[0106] Figure 4 FIG. 1 is a flow chart of another fan control method provided by an embodiment of the present application. The fan control method can be applied to a mobile terminal including a fan and a plurality of mechanical keys. For a detailed description of the mobile terminal, the fan and the plurality of mechanical keys, reference can be made to the above related description. Figure 4 As shown, the fan control method may include the following steps.
[0107] 401. In response to a third operation of a user on one or more mechanical keys among a plurality of mechanical keys, generate an adjustment instruction for adjusting a wind speed of a fan.
[0108] When the user needs to adjust the wind speed of the fan in the mobile terminal during the process of using the mobile terminal, the user can perform a third operation on one or more of the multiple mechanical keys. Accordingly, the mobile terminal can detect the user's third operation on one or more of the multiple mechanical keys, and then generate an adjustment instruction for adjusting the wind speed of the fan in response to the user's third operation on the one or more of the multiple mechanical keys. The one or more mechanical keys are mechanical keys for adjusting the wind speed of the fan.
[0109] The mobile terminal can first determine the corresponding control function based on the one or more mechanical keys and the third operation. When the control function is the function of adjusting the wind speed of the fan, it can generate an adjustment instruction for adjusting the wind speed of the fan in response to the user's third operation on one or more mechanical keys among the multiple mechanical keys.
[0110] The third operation may be an operation on a single mechanical key or an operation on multiple mechanical keys.
[0111] The third operation may be a pressing operation, a sliding operation, a scrolling operation, or other types of operations.
[0112] For other detailed descriptions of step 401 , please refer to the relevant descriptions below step 101 .
[0113] 402. Adjust the wind speed of the fan according to the adjustment instruction.
[0114] After the mobile terminal generates the adjustment instruction, the wind speed of the fan can be adjusted according to the adjustment instruction.
[0115] The adjustment instruction may be an adjustment instruction for increasing the wind speed or an adjustment instruction for decreasing the wind speed. When the adjustment instruction is an adjustment instruction for increasing the wind speed, the mobile terminal may increase the wind speed of the fan according to the adjustment instruction. When the adjustment instruction is an adjustment instruction for decreasing the wind speed, the mobile terminal may decrease the wind speed of the fan according to the adjustment instruction.
[0116] In some embodiments, the mobile terminal can determine whether the current conditions meet the third condition. If it is determined that the current conditions meet the third condition, it indicates that the conditions for adjusting the wind speed of the fan are met. If it is determined that the current conditions do not meet the third condition, it indicates that the conditions for adjusting the wind speed of the fan are not met and the adjustment instruction can be deleted.
[0117] It can be seen that the fan speed is adjusted based on the user's operation of the mechanical keys only when the conditions for adjusting the fan speed are met. When the conditions for adjusting the fan speed are not met, the fan speed is not adjusted based on the user's operation of the mechanical keys. Unnecessary processing can be avoided, thereby reducing power consumption.
[0118] In some embodiments, the mobile terminal can determine whether the current state of the fan is a working state. When it is determined that the current state of the fan is a working state, the wind speed of the fan can be adjusted according to the adjustment instruction. When it is determined that the current state of the fan is an off state, it indicates that the fan is in an off state and the wind speed of the fan does not need to be adjusted. The third operation is an erroneous operation by the user and the adjustment instruction can be deleted.
[0119] In some embodiments, when the adjustment instruction is an adjustment instruction for increasing the wind speed of the fan, the mobile terminal can determine whether the current wind speed of the fan is less than the maximum wind speed of the fan. When it is determined that the current wind speed of the fan is less than the maximum wind speed of the fan, it indicates that the wind speed of the fan can be increased, and the wind speed of the fan can be increased according to the adjustment instruction. When it is determined that the current wind speed of the fan is equal to the maximum wind speed of the fan, it indicates that the wind speed of the fan is already the maximum wind speed of the fan and cannot be increased. The adjustment instruction can be deleted, unnecessary processing can be reduced, and power consumption can be reduced.
[0120] In some embodiments, when the adjustment instruction is an adjustment instruction for reducing the wind speed of the fan, the mobile terminal can determine whether the current wind speed of the fan is greater than the minimum wind speed of the fan. When it is determined that the current wind speed of the fan is greater than the minimum wind speed of the fan, it indicates that the wind speed of the fan can be further reduced, and the wind speed of the fan can be reduced according to the adjustment instruction. When it is determined that the current wind speed of the fan is equal to the minimum wind speed of the fan, it indicates that the wind speed of the fan is already the minimum wind speed of the fan and cannot be reduced any further. The adjustment instruction can be deleted, unnecessary processing processes can be reduced, and power consumption can be reduced.
[0121] It should be understood that the above-mentioned different embodiments can be combined with each other. Exemplarily, the mobile terminal can determine whether the current state of the fan is a working state. When it is determined that the current state of the fan is a working state and the adjustment instruction is an adjustment instruction for increasing the wind speed of the fan, it can be determined whether the current wind speed of the fan is less than the maximum wind speed of the fan. Exemplarily, the mobile terminal can determine whether the current state of the fan is a working state. When it is determined that the current state of the fan is a working state and the adjustment instruction is an adjustment instruction for decreasing the wind speed of the fan, it can be determined whether the current wind speed of the fan is greater than the minimum wind speed of the fan.
[0122] exist Figure 4In the fan control method shown, the user can directly adjust the wind speed of the fan in the mobile terminal by operating the mechanical keys on the mobile terminal, thereby simplifying the user's operation of adjusting the wind speed of the fan. In addition, since the wind speed of the fan can be directly adjusted by the mechanical keys, the normal use of the mobile terminal by the user will not be affected when the wind speed of the fan is adjusted, thereby improving the user experience.
[0123] Figure 5 FIG. 1 is a flow chart of another fan control method provided by an embodiment of the present application. The fan control method can be applied to a mobile terminal including a fan and a plurality of mechanical keys. For a detailed description of the mobile terminal, the fan and the plurality of mechanical keys, reference can be made to the above related description. Figure 5 As shown, the fan control method may include the following steps.
[0124] 501. In response to a first operation of a user on one or more mechanical keys among a plurality of mechanical keys, generate a start instruction for starting a fan.
[0125] 502. Start the fan according to the start instruction.
[0126] For the detailed description of step 501 - step 502 , reference may be made to step 201 - step 202 .
[0127] 503. In response to a third operation of the user on one or more mechanical keys among the plurality of mechanical keys, generate an adjustment instruction for adjusting a wind speed of the fan.
[0128] 504. Adjust the wind speed of the fan according to the adjustment instruction.
[0129] The detailed description of step 503 - step 504 may refer to step 401 - step 402 .
[0130] 505. In response to a second operation of the user on one or more mechanical keys among the plurality of mechanical keys, generate a shut-down instruction for shutting down the fan.
[0131] 506. Turn off the fan according to the shutdown instruction.
[0132] For the detailed description of step 505 - step 506 , reference may be made to step 301 - step 302 .
[0133] The first operation may be the same as or different from the second operation. The first operation may be the same as or different from the third operation. The second operation may be the same as or different from the third operation.
[0134] The one or more mechanical keys corresponding to the first operation may be the same as or different from the one or more mechanical keys corresponding to the second operation. The one or more mechanical keys corresponding to the first operation may be the same as or different from the one or more mechanical keys corresponding to the third operation. The one or more mechanical keys corresponding to the second operation may be the same as or different from the one or more mechanical keys corresponding to the third operation.
[0135] The first operation and the second operation, and / or one or more mechanical keys corresponding to the first operation and one or more mechanical keys corresponding to the second operation are different. The first operation and the third operation, and / or one or more mechanical keys corresponding to the first operation and one or more mechanical keys corresponding to the third operation are different. The second operation and the third operation, and / or one or more mechanical keys corresponding to the second operation and one or more mechanical keys corresponding to the third operation are different.
[0136] The following description takes a mobile phone as an example.
[0137] For example, Figure 6 It is a side schematic diagram of a mobile terminal disclosed in an embodiment of the present application. Figure 6 It is a side schematic diagram of a mobile terminal disclosed in an embodiment of the present application. Figure 7 is a front view schematic diagram of a mobile terminal disclosed in an embodiment of the present application. Figure 6 and Figure 7 As shown, the mobile terminal may include button 1, button 2, button 3 and button 4. Button 1 may be a fan power button. Button 2 may be a volume adjustment button. Button 3 may be a mobile phone power button. Button 4 may be other function buttons. Button 1 may be set at any position of the mobile phone frame and may be set according to product requirements. The shape of button 1 is not limited and may be circular, square, oval, etc.
[0138] When the user performs a single-click operation (or a double-click operation, or a long-press operation) on button 1, the mobile phone can generate a start instruction for starting the fan in response to the user's single-click operation (or a double-click operation, or a long-press operation) on button 1, and can start the fan according to the start instruction. The wind speed of the fan after starting can be the minimum wind speed of the fan, the wind speed before the last shutdown, or the maximum wind speed of the fan.
[0139] When the user double-clicks (or long presses, or single-clicks) button 1, the mobile phone can generate a shutdown instruction for turning off the fan in response to the user's double-click (or long presses, or single-clicks) button 1, and can turn off the fan according to the shutdown instruction.
[0140] When the fan of the mobile phone is in working state, the wind speed of the fan can be adjusted by button 2 and button 3 together.
[0141] When the user presses the upper part of button 3 and button 2 together, the mobile phone can detect the adjustment operation for increasing the wind speed of the fan. The mobile phone can generate an adjustment instruction for increasing the wind speed of the fan in response to the user's pressing operation on the upper part of button 3 and button 2, and can increase the wind speed of the fan according to the adjustment instruction. Each time the user performs an operation to increase the wind speed, the wind speed of the fan can be increased or increased by one step, or by one gear, until the wind speed of the fan is at the maximum, and it will no longer be increased, that is, the function of the combination key is invalid.
[0142] When the user presses the lower part of button 3 and button 2 together, the mobile phone can detect the adjustment operation for reducing the wind speed of the fan. The mobile phone can generate an adjustment instruction for reducing the wind speed of the fan in response to the user's pressing operation on the lower part of button 3 and button 2, and can reduce the wind speed of the fan according to the adjustment instruction. Each time the user performs a wind speed reduction operation, the wind speed of the fan can be reduced or decreased by one step, or by one gear, until the wind speed of the fan is at the minimum, and it will no longer be reduced, that is, the function of the combination key is invalid.
[0143] When the fan of the mobile phone is in the off state, the function of the combination key for adjusting the wind speed of the fan is invalid.
[0144] It should be understood that the button 1 may have other functions besides the function of the fan power button.
[0145] It should be understood that the mobile phone may also not have the button 4.
[0146] For example, Figure 8 is a side view of another mobile terminal disclosed in an embodiment of the present application. Figure 8 As shown, the mobile terminal may include a slide key 1, a key 2 and a key 3. The slide key 1 may be a fan power key.
[0147] The sliding key 1 may include a sliding track 11 and a sliding assembly 12. When the sliding assembly 12 is at the uppermost position of the sliding track 11, the fan is in operation. When the sliding assembly 12 is at the lowermost position of the sliding track 11, the fan is in shutdown. And vice versa.
[0148] When the user slides the slide key 1 upward, the mobile phone can generate a start instruction for starting the fan in response to the user's slide operation on the slide key 1 upward, and can start the fan according to the start instruction.
[0149] When the user slides the slide key 1 downward, the mobile phone can generate a shutdown instruction for shutting down the fan in response to the user's sliding operation on the slide key 1 downward, and can shut down the fan according to the shutdown instruction.
[0150] For other related descriptions, please refer to Figure 6 The corresponding description will not be repeated here.
[0151] exist Figure 5 In the fan control method shown, the user can directly start / stop / adjust the wind speed of the fan in the mobile terminal by operating the mechanical keys on the mobile terminal, thereby simplifying the user's start-up operation / shutdown operation / wind speed adjustment operation of the fan. In addition, since the fan can be directly started / shut down / adjusted by the mechanical key, the user's normal use of the mobile terminal will not be affected when starting / shut down / adjusting the wind speed of the fan, thus improving the user experience. For example, when the user is playing games, live broadcasting or watching videos, the mechanical key can be directly used to control the fan without affecting the user's normal use of the mobile terminal.
[0152] Figure 5 The corresponding embodiment is Figure 2-Figure 4 The combination of the corresponding embodiments. It should be understood that Figure 2-Figure 4 Any two of the corresponding embodiments may be combined with each other.
[0153] It should be understood that the same or corresponding contents in different embodiments may be referenced to each other.
[0154] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0155] Based on the same inventive concept, the embodiment of the present application also provides a fan control device for implementing the above-mentioned fan control method. The implementation solution provided by the fan control device is similar to the implementation solution recorded in the above-mentioned fan control method, so the specific limitations in one or more fan control device embodiments provided below can refer to the limitations of the fan control method above, and will not be repeated here.
[0156] Fig. 91 is a schematic diagram of a fan control device provided in an embodiment of the present application. The fan control device can be applied to a mobile terminal including a fan and a plurality of mechanical keys. The fan control device may include:
[0157] A generating unit 901, configured to generate a control instruction for a fan in response to a user's operation on one or more mechanical keys among a plurality of mechanical keys;
[0158] The control unit 902 is used to control the fan according to the control instruction.
[0159] In some embodiments, the generating unit 901 is specifically configured to generate a start instruction for starting the fan in response to a first operation of one or more mechanical keys of the plurality of mechanical keys by a user;
[0160] The control unit 902 is specifically configured to start the fan according to the start instruction.
[0161] In some embodiments, the control unit 902 starts the fan according to the start instruction, including:
[0162] When the current condition satisfies the first condition, the fan is started according to the start instruction.
[0163] In some embodiments, when the current condition satisfies the first condition, the control unit 902 starts the fan according to the start instruction, including:
[0164] When the current scene is a preset scene, the fan is started according to the start instruction.
[0165] In some embodiments, when the current condition satisfies the first condition, the control unit 902 starts the fan according to the start instruction, including:
[0166] When the current temperature of the mobile terminal is greater than or equal to the temperature threshold, the fan is started according to the start instruction.
[0167] In some embodiments, the generating unit 901 is specifically configured to generate a shut down instruction for shutting down the fan in response to a second operation of the user on one or more mechanical keys among the plurality of mechanical keys;
[0168] The control unit 902 is specifically configured to shut down the fan according to a shut down instruction.
[0169] In some embodiments, the control unit 902 turns off the fan according to the turn-off instruction, including:
[0170] When the current condition satisfies the second condition, the fan is turned off according to the turn-off instruction.
[0171] In some embodiments, when the current condition satisfies the second condition, the control unit 902 turns off the fan according to the turn-off instruction, including:
[0172] When the current scene is not a preset scene, the fan is turned off according to the turn-off instruction.
[0173] In some embodiments, when the current condition satisfies the second condition, the control unit 902 turns off the fan according to the turn-off instruction, including:
[0174] When the current temperature of the mobile terminal is less than the temperature threshold, the fan is turned off according to the turn-off instruction.
[0175] In some embodiments, the generating unit 901 is specifically configured to generate an adjustment instruction for adjusting the wind speed of the fan in response to a third operation of the user on one or more mechanical keys of the plurality of mechanical keys;
[0176] The control unit 902 is specifically configured to adjust the wind speed of the fan according to the adjustment instruction.
[0177] In some embodiments, the control unit 902 adjusts the wind speed of the fan according to the adjustment instruction, including:
[0178] When the current condition satisfies the third condition, the wind speed of the fan is adjusted according to the adjustment instruction.
[0179] In some embodiments, when the current condition satisfies the third condition, the control unit 902 adjusts the wind speed of the fan according to the adjustment instruction, including:
[0180] When the adjustment instruction is for increasing the wind speed of the fan and the current wind speed of the fan is less than the maximum wind speed of the fan, the wind speed of the fan is increased according to the adjustment instruction.
[0181] In some embodiments, when the current condition satisfies the third condition, the control unit 902 adjusts the wind speed of the fan according to the adjustment instruction, including:
[0182] When the adjustment instruction is for reducing the wind speed of the fan and the current wind speed of the fan is greater than the minimum wind speed of the fan, the wind speed of the fan is reduced according to the adjustment instruction.
[0183] Each unit in the above fan control device can be implemented in whole or in part by software, hardware or a combination thereof. Each unit can be embedded in or independent of the processor in the mobile terminal in the form of hardware, or can be stored in the memory in the mobile terminal in the form of software, so that the processor can call and execute the corresponding operations of each unit.
[0184] Fig.10It is a structural schematic diagram of a mobile terminal provided by an embodiment of the present application. The mobile terminal may include a processor, a memory, an input / output interface (Input / Output, referred to as I / O), a communication interface, a display device and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display device and the input device are connected to the system bus through the input / output interface. Among them, the processor of the mobile terminal is used to provide computing and control capabilities. The memory of the mobile terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the mobile terminal is used to exchange information between the processor and an external device. The communication interface of the mobile terminal is used to communicate with an external terminal or server through a network connection. When the computer program is executed by the processor, a fan control method is implemented. The display device of the mobile terminal is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the mobile terminal can be a touch layer covering the display screen, a mechanical key or a touch pad provided on the mobile terminal housing, or an external keyboard, touch pad or mouse.
[0185] Those skilled in the art will understand that Fig.10 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the mobile terminal to which the scheme of the present application is applied. The specific mobile terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0186] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned fan control method are implemented.
[0187] It should be noted that the information of the energy storage equipment involved in this application (including but not limited to the demand value of the energy storage equipment) is information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0188] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0189] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0190] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A fan control method, characterized in that: Applied to a mobile terminal, the mobile terminal includes a fan and a plurality of mechanical keys, the method includes: generating a control instruction for the fan in response to a user's operation on one or more of the plurality of mechanical keys; The fan is controlled according to the control instruction.
2. The method according to claim 1, characterized in that In response to the user operating one or more of the plurality of mechanical keys, generating a control instruction for the fan comprises: generating a start instruction for starting the fan in response to a first operation of one or more mechanical keys of the plurality of mechanical keys by a user; Controlling the fan according to the control instruction comprises: The fan is started according to the start instruction.
3. The method according to claim 2, characterized in that The starting the fan according to the starting instruction comprises: When the current condition satisfies the first condition, the fan is started according to the start instruction.
4. The method according to claim 3, characterized in that When the current condition satisfies the first condition, starting the fan according to the start instruction includes: When the current scene is a preset scene, the fan is started according to the start instruction.
5. The method according to claim 3, characterized in that: When the current condition satisfies the first condition, starting the fan according to the start instruction includes: When the current temperature of the mobile terminal is greater than or equal to a temperature threshold, the fan is started according to the start instruction.
6. The method according to claim 1, characterized in that In response to the user operating one or more of the plurality of mechanical keys, generating a control instruction for the fan comprises: generating a shut-down instruction for shutting down the fan in response to a second operation of the user on one or more of the plurality of mechanical keys; Controlling the fan according to the control instruction comprises: The fan is turned off according to the turn-off instruction.
7. The method according to claim 6, characterized in that The step of shutting down the fan according to the shut down instruction comprises: When the current condition satisfies the second condition, the fan is turned off according to the turn-off instruction.
8. The method according to claim 7, characterized in that When the current condition satisfies the second condition, shutting down the fan according to the shut down instruction includes: When the current scene is not a preset scene, the fan is turned off according to the turn-off instruction.
9. The method according to claim 7, characterized in that: When the current condition satisfies the second condition, shutting down the fan according to the shut down instruction includes: When the current temperature of the mobile terminal is less than a temperature threshold, the fan is turned off according to the turn-off instruction.
10. The method according to claim 1, characterized in that In response to the user operating one or more of the plurality of mechanical keys, generating a control instruction for the fan comprises: generating an adjustment instruction for adjusting the wind speed of the fan in response to a third operation of the user on one or more of the plurality of mechanical keys; Controlling the fan according to the control instruction comprises: The wind speed of the fan is adjusted according to the adjustment instruction.
11. The method according to claim 10, characterized in that The adjusting the wind speed of the fan according to the adjustment instruction comprises: When the current condition satisfies the third condition, the wind speed of the fan is adjusted according to the adjustment instruction.
12. The method according to claim 11, characterized in that When the current condition satisfies the third condition, adjusting the wind speed of the fan according to the adjustment instruction includes: When the adjustment instruction is used to increase the wind speed of the fan and the current wind speed of the fan is less than the maximum wind speed of the fan, the wind speed of the fan is increased according to the adjustment instruction.
13. The method according to claim 11, characterized in that When the current condition satisfies the third condition, adjusting the wind speed of the fan according to the adjustment instruction includes: When the adjustment instruction is used to reduce the wind speed of the fan and the current wind speed of the fan is greater than the minimum wind speed of the fan, the wind speed of the fan is reduced according to the adjustment instruction.
14. A fan control device, characterized in that: Applied to a mobile terminal, the mobile terminal includes a fan and a plurality of mechanical keys, and the device includes: a generating unit, configured to generate a control instruction for the fan in response to a user's operation on one or more of the plurality of mechanical keys; A control unit is used to control the fan according to the control instruction.
15. A mobile terminal, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.