Control methods for mobile terminals, electronic devices, and computer-readable storage media
By acquiring users' physiological activity indicators and adjusting the control parameters of mobile terminal applications, the problem of users staying up late due to decreased self-control at night was solved, achieving automatic sleep aid and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2021-08-25
- Publication Date
- 2026-04-17
AI Technical Summary
In existing technologies, users often find it difficult to control their phone use at night, leading to staying up late. Sleep aids on the market require users to actively operate them, resulting in a poor user experience.
By acquiring users' physiological activity indicators and adjusting the control parameters of running applications on mobile terminals according to the intensity curve, automatic sleep aids can be achieved.
It enables automatic adjustment of application control parameters without requiring active user intervention, thereby improving the sleep aid effect and user experience.
Smart Images

Figure CN115721831B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a control method for a mobile terminal, an electronic device, and a computer-readable storage medium. Background Technology
[0002] With the widespread use of mobile entertainment applications (APPs), people's sleep time is constantly being pushed back. Young people's revenge-style staying up late is a kind of overcompensation behavior for the lack of sufficient time control during the day. Although they know the harm of staying up late, they cannot resist the pleasure it brings, which is a psychological addiction. The energy consumption of the body during the day makes it easier to resist the stimulation of high-density information on mobile phones at night, leading to uncontrollable use of mobile phones to read or watch variety shows.
[0003] Many sleep aids have been proposed on the market to address users' behavior of staying up late, but all of them require users to actively turn on the corresponding functions in order to achieve the desired sleep effect, resulting in a poor user experience. Summary of the Invention
[0004] This application provides a control method for a mobile terminal, an electronic device, and a computer-readable storage medium.
[0005] In a first aspect, embodiments of this application provide a control method for a mobile terminal, comprising: acquiring a user's physiological activity index; adjusting control parameters of an application running in the mobile terminal according to an intensity curve corresponding to the user's physiological activity index; wherein the intensity curve is a curve showing the change of the control parameters over time.
[0006] Secondly, embodiments of this application provide an electronic device, including: at least one processor; and a memory storing at least one program, which, when executed by the at least one processor, implements any of the above-described control methods for a mobile terminal.
[0007] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-described control methods for a mobile terminal.
[0008] The mobile terminal control method provided in this application adjusts the control parameters of applications running on the mobile terminal based on the intensity curve corresponding to the user's physiological activity index. That is, by adjusting the control parameters of the applications, the effect of automatic sleep aid is achieved, thereby improving the user experience. Attached Figure Description
[0009] Figure 1A flowchart of a mobile terminal control method provided in one embodiment of this application;
[0010] Figure 2 A schematic diagram illustrating the change in intensity curves during a user's mental state, provided as an embodiment of this application.
[0011] Figure 3 A schematic diagram illustrating the change in intensity curves during another user's mental state change process, provided as an embodiment of this application.
[0012] Figure 4 A schematic diagram illustrating the change of the intensity curve during another change in a user's mental state, provided as an embodiment of this application.
[0013] Figure 5 A schematic diagram illustrating the change of the intensity curve during another change in a user's mental state, provided as an embodiment of this application.
[0014] Figure 6 A flowchart of a mobile terminal control method provided as an example of an embodiment of this application;
[0015] Figure 7 A block diagram of an electronic device provided in another embodiment of this application;
[0016] Figure 8 A block diagram of the control device for a mobile terminal provided in another embodiment of this application. Detailed Implementation
[0017] To enable those skilled in the art to better understand the technical solutions of this application, the control method, electronic device, and computer-readable storage medium of the mobile terminal provided in this application will be described in detail below with reference to the accompanying drawings.
[0018] Exemplary embodiments will be described more fully below with reference to the accompanying drawings; however, these exemplary embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will enable those skilled in the art to fully understand the scope of this application.
[0019] Where there is no conflict, the various embodiments of this application and the features thereof may be combined with each other.
[0020] As used herein, the term “and / or” includes any and all combinations of at least one related enumerated entry.
[0021] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used herein, the singular forms “a” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of at least one other feature, integral, step, operation, element, component, and / or group thereof is not excluded.
[0022] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined herein.
[0023] Figure 1 This is a flowchart of a mobile terminal control method provided in one embodiment of this application.
[0024] Firstly, referring to Figure 1 One embodiment of this application provides a control method for a mobile terminal, which can be applied to a mobile terminal. The method includes:
[0025] Step 100: Obtain the user's physiological activity indicators.
[0026] In some exemplary embodiments, if a user has not fallen asleep at their designated bedtime, it is deemed necessary to provide passive sleep assistance. Therefore, it is necessary to determine whether the user has fallen asleep at their designated bedtime, and there are several ways to do so. For example, it can be determined whether passive sleep assistance is needed by checking if the current time is within a preset sleep time range and whether the mobile device's entertainment application is running. Specifically, if the current time is within the preset sleep time range and the mobile device's entertainment application is running, it is determined that passive sleep assistance is needed; if the current time is outside the preset sleep time range or the mobile device's entertainment application is not running, it is determined that passive sleep assistance is not needed.
[0027] For example, the need for passive sleep aids can be determined by assessing whether the current time falls within a pre-set sleep timeframe, whether the mobile device's entertainment application is running, and whether the user is in motion. Specifically, if the current time falls within the pre-set sleep timeframe, the mobile device's entertainment application is running, and the user is in motion, then passive sleep aids are deemed necessary. Conversely, if the current time does not fall within the pre-set sleep timeframe, the mobile device's entertainment application is not running, or the user is not in motion, then passive sleep aids are deemed unnecessary.
[0028] For example, the system determines whether passive sleep aids are needed by judging whether the current time is within a preset sleep time range, whether the mobile device's entertainment application is running, and whether the ambient light brightness is consistently less than or equal to a preset brightness for a first preset time period. Specifically, if the current time is within the preset sleep time range, the mobile device's entertainment application is running, and the ambient light brightness is consistently less than or equal to the preset brightness for a first preset time period, then passive sleep aids are needed. If the current time is outside the preset sleep time range, or the mobile device's entertainment application is not running, or the ambient light brightness is not consistently less than or equal to the preset brightness for a first preset time period, then passive sleep aids are not needed.
[0029] For example, the system determines whether passive sleep aids are needed by judging whether the current time is within a preset sleep time range, whether the mobile device's entertainment application is running, whether the user is in motion, and whether the ambient light brightness is consistently less than or equal to a preset brightness for a first preset time period. Specifically, if the current time is within the preset sleep time range, the mobile device's entertainment application is running, the user is in motion, and the ambient light brightness is consistently less than or equal to the preset brightness for a first preset time period, then passive sleep aids are needed. If the current time is outside the preset sleep time range, or the mobile device's entertainment application is not running, or the user is not in motion, or the ambient light brightness is not consistently less than or equal to the preset brightness for a first preset time period, then passive sleep aids are not needed.
[0030] In summary, it is determined whether the first preset condition is met. If the first preset condition is met, the physiological activity indicators of the user are obtained. The first preset condition includes at least one of the following or a combination thereof: the current time is within a preset sleep time range; the application on the mobile terminal is running; the user is in a non-moving state; and the brightness of the ambient light is continuously less than or equal to the preset brightness for a first preset time period.
[0031] In this embodiment of the application, if it is determined that passive sleep aid is needed for the user, the user's physiological activity indicators are obtained; if it is determined that passive sleep aid is not needed for the user, the process ends.
[0032] In some exemplary embodiments, the method further includes: acquiring at least one of the current time, the state of the entertainment application on the mobile terminal, and the user's motion state and the brightness of the ambient light; determining whether passive sleep aid is needed for the user based on the current time, the state of the entertainment application on the mobile terminal, and at least one of the user's motion state and the brightness of the ambient light; and acquiring the user's physiological activity indicators if it is determined that passive sleep aid is needed for the user.
[0033] In the embodiments of this application, the current time and the status of the entertainment application on the mobile terminal can be obtained using technical means well known to those skilled in the art.
[0034] In some exemplary embodiments, the state of the entertainment application on the mobile terminal includes: running state and non-running state.
[0035] In some exemplary embodiments, entertainment applications on mobile terminals refer to applications used by users for entertainment, such as TikTok, live streaming, and video applications.
[0036] In some exemplary embodiments, a gyroscope sensor may be used to detect the user's motion state.
[0037] In some exemplary embodiments, the gyroscope sensor can be installed on a smart wearable device or on a mobile terminal. When the gyroscope sensor is installed on a smart wearable device, the smart wearable device sends the detected data to the mobile terminal, which then determines the user's motion state based on the data detected by the smart wearable device.
[0038] In some exemplary embodiments, a brightness sensor can be used to detect the brightness of ambient light. If the brightness of the ambient light remains less than or equal to a preset brightness for a first preset time period, it indicates that the ambient light is relatively dim during that time. The preset brightness can be set according to the ambient light brightness required for the sleep environment; generally, the preset brightness is set to be less than or equal to the ambient light brightness required for the sleep environment, which can be determined based on the user's individual sleep habits.
[0039] In some exemplary embodiments, the brightness sensor can be located on a smart wearable device or on a mobile terminal. When the brightness sensor is located on a smart wearable device, the smart wearable device sends the detected brightness data to the mobile terminal, which then determines, based on the brightness data detected by the smart wearable device, whether the ambient light brightness remains less than or equal to a preset brightness for a first preset time period.
[0040] In some exemplary embodiments, obtaining a user's physiological activity indicators includes: receiving physiological activity indicators sent by a smart wearable device; or detecting physiological activity indicators.
[0041] In some exemplary embodiments, some physiological activity indicators are detected by the smart wearable device and sent to the mobile terminal, and some physiological activity indicators are detected by the mobile terminal; or, all physiological activity indicators are detected by the smart wearable device and sent to the mobile terminal; or, all physiological activity indicators are detected by the mobile terminal.
[0042] In some exemplary embodiments, physiological activity indicators include at least one or a combination of the following: heart rate, information representing facial expressions, and information representing eye state.
[0043] In some exemplary embodiments, a heart rate sensor can be used to detect the user's heart rate. It is generally more reasonable to place the heart rate sensor in a smart wearable device; however, it is not impossible for the heart rate sensor to be placed in a mobile terminal.
[0044] In some exemplary embodiments, information representing facial expressions and information representing eye states can be obtained by processing images of the user's face captured by the camera. Generally, it is more reasonable to place the camera on a mobile terminal; however, the possibility of placing the camera on a smart wearable device cannot be ruled out.
[0045] In some exemplary embodiments, information characterizing facial expressions refers to information used to represent possible facial expressions, such as shaking one's head left or right, laughing, etc.
[0046] In some exemplary embodiments, information characterizing eye state refers to information used to represent possible eye states, such as closed eye state, open eye state, changes in the degree to which the eyes are open, etc.
[0047] Step 101: Adjust the control parameters of the application running in the mobile terminal according to the intensity curve corresponding to the user's physiological activity index; wherein, the intensity curve is the curve of the control parameters changing over time.
[0048] The embodiments of this application do not limit the type of application, such as entertainment applications, utility applications, or learning applications.
[0049] In some exemplary embodiments, adjusting the control parameters of an application running on a mobile terminal according to the intensity curve corresponding to the user's physiological activity index includes: determining the user's current mental state based on the user's physiological activity index; and adjusting the control parameters of the application running on the mobile terminal according to the intensity curve corresponding to the user's current mental state.
[0050] In other words, the intensity curve can correspond directly to physiological activity indicators, or it can correspond to mental state determined based on physiological activity indicators.
[0051] In some exemplary embodiments, the user's current mental state includes at least one of the following: an excited state, a normal state, a sleep-ready state, and a sleep state.
[0052] In some exemplary embodiments, to more accurately determine the user's current mental state, the following determination methods are summarized by analyzing changes in physiological activity indicators of various mental states: determining the user's mental state based on the user's heart rate, facial expression information, and / or eye expression information. Optionally, determining the user's current mental state based on the user's physiological activity indicators includes at least one of the following:
[0053] The user's current mental state is determined to be the excited state based on at least one of the user's heart rate and the user's facial expression information.
[0054] The user's current mental state is determined to be normal based on at least one of the user's heart rate and the user's facial expression information.
[0055] The user's current mental state is determined to be in a sleep-ready state based on at least one of the user's first reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the first reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is normal.
[0056] The user's current mental state is determined to be the sleep state based on at least one of the user's second reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the second reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is the sleep-ready state.
[0057] The following examples illustrate how each mental state is determined.
[0058] (a) Excitement state
[0059] In some exemplary embodiments, determining the user's current mental state based on the user's physiological activity indicators includes: determining the user's current mental state as an excited state when a second preset condition is met;
[0060] The second preset condition includes at least one of the following:
[0061] The user's heart rate is greater than or equal to the first preset threshold;
[0062] The information representing a user's facial expressions is information representing preset expressions; among which, the information representing preset expressions includes: information representing shaking the head left and right, and information representing laughing.
[0063] In this embodiment of the application, the first preset threshold can be set according to the actual situation, for example, it can be set to 100 times per minute.
[0064] (II) Normal State
[0065] In some exemplary embodiments, determining the user's current mental state based on the user's physiological activity indicators includes: determining the user's current mental state as normal if a third preset condition is met;
[0066] The third precondition includes at least one of the following:
[0067] The user's heart rate is greater than or equal to the second preset threshold and less than the first preset threshold;
[0068] The information representing the user's facial expressions is not information representing preset expressions, and the information representing the user's eye state is that the trend of eye size change within a second preset time period is not a continuous decrease; among them, the information representing preset expressions includes: information representing shaking the head left and right, and information representing laughing.
[0069] In this embodiment, the second preset threshold can be set according to the actual situation, for example, it can be set to 60 times per minute.
[0070] In this embodiment of the application, eye size refers to the degree to which the eyes are open. By judging whether the user's information representing the state of the eyes, namely the trend of the change in eye size, continues to decrease within a second preset time period, changes in the degree to which the eyes are open and blinking are excluded in a short period of time.
[0071] (III) Sleep-ready state
[0072] In some exemplary embodiments, determining the user's current mental state based on the user's physiological activity indicators includes: determining the user's current mental state as a sleep-ready state when a fourth preset condition is met;
[0073] The fourth preset condition includes at least one of the following:
[0074] The difference between the user's first baseline heart rate and the user's heart rate is greater than or equal to a third preset threshold; wherein, the first baseline heart rate is the user's heart rate when the user's current mental state is determined to be normal.
[0075] The information representing the user's facial expressions is not the information representing the preset expressions, and the information representing the user's eye state is the trend of the eye size changing continuously decreasing within a second preset time period; among which, the information representing the preset expressions includes: information representing shaking the head left and right and information representing laughing.
[0076] In this embodiment, the third preset threshold can be set according to the actual situation.
[0077] (iv) Falling asleep
[0078] In some exemplary embodiments, determining the user's current mental state based on the user's physiological activity indicators includes: determining the user's current mental state as a sleep state when a fifth preset condition is met;
[0079] The fifth preset condition includes at least one of the following:
[0080] The difference between the user's second baseline heart rate and the user's heart rate is greater than or equal to the fourth preset threshold, and the user's heart rate is within the preset heart rate range; wherein, the second baseline heart rate is the user's heart rate when the user's current mental state is determined to be a sleep-ready state;
[0081] The information representing the user's facial expressions is not information representing preset expressions, and the information representing the user's eye state is the size of the eyes being closed within a third preset time period; among which, the information representing preset expressions includes: information representing shaking the head left and right, and information representing laughing.
[0082] In this embodiment, the fourth preset threshold can be set according to the actual situation.
[0083] In this embodiment of the application, the preset heart rate range can be set according to the actual situation, for example, it can be set to 45 to 70 beats per minute.
[0084] In some exemplary embodiments, the intensity curve is a curve showing the percentage change of the control parameter over time.
[0085] In some exemplary embodiments, the percentage of the control parameter refers to the percentage of the value of the control parameter before adjustment. The value of the control parameter before adjustment refers to the value of the control parameter before adjustment, or the value of the control parameter before determining whether passive sleep aid is needed for the user, or the value of the control parameter before determining the user's current mental state.
[0086] In some exemplary embodiments, the control parameters of an entertainment application running on a mobile terminal are lowered according to the intensity curve corresponding to the user's current mental state.
[0087] The intensity curves corresponding to each mental state are explained below.
[0088] (a) Excitement state
[0089] In some exemplary embodiments, the rate of decrease of the slope of the intensity curve corresponding to the user's current mental state of excitement is less than or equal to a fifth preset threshold.
[0090] In some exemplary embodiments, the intensity curve corresponding to the user's current mental state of excitement is a power function curve of the control parameter changing over time. For example, the intensity curve corresponding to the user's current mental state of excitement is the portion of the curve Y = K1 / X where X is greater than 1 and less than a; where Y is the control parameter, K1 is the first coefficient, X is time, and a is greater than 1. It should be noted that X represents a unit of time; for example, X=1 represents one unit of time, X=2 represents two units of time, and the unit of time can be arbitrarily set according to the actual situation.
[0091] In some exemplary embodiments, Y is a percentage of the control parameter.
[0092] (II) Normal State
[0093] In some exemplary embodiments, the slope of the intensity curve corresponding to the user's current mental state changes from small to large and then back to small.
[0094] In some exemplary embodiments, the intensity curve corresponding to the user's current mental state being normal is a cotangent function curve representing the change of the control parameter over time. For example, the intensity curve corresponding to the user's current mental state being normal is the portion of the curve Y = arccotX where X is greater than or equal to 0 and less than or equal to π; where Y is the control parameter and X is time. It should be noted that X represents a unit of time; for example, X = 1 represents one unit of time, X = 2 represents two units of time, and the unit of time can be arbitrarily set according to the actual situation.
[0095] In some exemplary embodiments, the intensity curve corresponding to the user's current mental state as normal is a cotangent function curve representing the percentage change of a control parameter over time. For example, Y represents the percentage of the control parameter.
[0096] (III) Sleep-ready state
[0097] In some exemplary embodiments, the user's current mental state is such that the slope of the intensity curve corresponding to the sleep-ready state is less than or equal to a fifth preset threshold.
[0098] In some exemplary embodiments, the intensity curve corresponding to the user's current mental state of being ready to fall asleep is a power function curve of the control parameter changing over time. For example, the intensity curve corresponding to the user's current mental state of being ready to fall asleep is the portion of the curve Y = K2 / X where X is greater than a; where Y is the control parameter, K2 is the second coefficient, X is time, and a is greater than 1. It should be noted that X represents a unit of time; for example, X = 1 represents one unit of time, X = 2 represents two units of time, and the unit of time can be arbitrarily set according to the actual situation.
[0099] In some exemplary embodiments, the intensity curve corresponding to the user's current mental state as a sleep-ready state is a power function curve showing the percentage of a control parameter changing over time. For example, Y represents the percentage of the control parameter.
[0100] (iv) Falling asleep
[0101] In some exemplary embodiments, the slope of the intensity curve corresponding to the user's current mental state as a sleep state gradually decreases over time.
[0102] In some exemplary embodiments, the slope of the intensity curve corresponding to the user's current mental state as a sleep state is within a fourth preset time period.
[0103] In some exemplary embodiments, the initial value of the percentage of the control parameter of the intensity curve corresponding to the detected mental state is the adjusted value of the percentage of the control parameter of the intensity curve corresponding to the previously detected mental state, and the initial value of the percentage of the control parameter of the intensity curve corresponding to the first detected mental state is the percentage of the control parameter currently set by the mobile terminal.
[0104] Figures 2 to 5 A schematic diagram illustrating the changes in the intensity curve during the process of changes in the user's mental state is provided. Figures 2 to 5 The horizontal axis represents time, and the vertical axis represents the percentage of the control parameter.
[0105] like Figure 2As shown, the user's mental state can change from an excited state to a normal state, a sleep-ready state, and a sleep state. When the user is in an excited state, the application's control parameters are adjusted from the current value according to the trend of the intensity curve corresponding to the excited state. When the user changes from an excited state to a normal state, the application's control parameters are adjusted from the previously adjusted value according to the trend of the intensity curve corresponding to the normal state. When the user changes from a normal state to a sleep-ready state, the application's control parameters are adjusted from the previously adjusted value according to the trend of the intensity curve corresponding to the sleep-ready state. When the user changes from a sleep-ready state to a sleep state, the application's control parameters are adjusted from the previously adjusted value according to the trend of the intensity curve corresponding to the sleep state. For example... Figure 3 As shown, the user's mental state can change from a normal state to a sleep-ready state and then to a sleeping state. When the user is in a normal state, the application's control parameters are adjusted from the current value according to the intensity curve corresponding to the normal state. If the user remains in a normal state after a period of time, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the normal state. When the user changes from a normal state to a sleep-ready state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleep-ready state. When the user changes from a sleep-ready state to a sleeping state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleeping state. For example... Figure 4 As shown, the user's mental state can change from an excited state to a normal state, then back to an excited state, then back to a normal state, then to a sleep-ready state, and finally to a sleep state. When the user is in an excited state, the application's control parameters are adjusted from the current value according to the intensity curve corresponding to the excited state. When the user changes from an excited state to a normal state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the normal state. When the user changes from a normal state to an excited state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the excited state. When the user changes from an excited state to a normal state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the normal state. When the user changes from a normal state to a sleep-ready state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleep-ready state. When the user changes from a sleep-ready state to a sleep state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleep-ready state. Figure 5As shown, the user's mental state can change from a normal state to a period of time after the user actively interrupts the process, then back to a normal state, a sleep-ready state, and finally to a sleeping state. When the user is in a normal state, the application's control parameters are adjusted from the current value according to the intensity curve corresponding to the normal state. When the user actively interrupts the process after a period of time, the application's control parameters are adjusted back to their previous values. When the user is detected to be in a normal state again after a period of time since the user's active interruption, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the normal state. When the user changes from a normal state to a sleep-ready state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleep-ready state. When the user changes from a sleep-ready state to a sleeping state, the application's control parameters are adjusted from the previously adjusted value according to the intensity curve corresponding to the sleeping state.
[0106] In some exemplary embodiments, the control parameters include at least one of the following and combinations thereof: sound frequency, sound loudness, screen saturation, screen color brightness, and video playback ratio. For example, adjusting the sound frequency from high to low, reducing the sound loudness, lowering the screen saturation, dimming the screen brightness, and adjusting the video playback ratio to 1 / 2 or 1 / 4 magnification can all effectively provide sleep aid for users.
[0107] The mobile terminal control method provided in this application determines the user's current mental state based on the user's physiological activity indicators under specific conditions, and adjusts the control parameters of the entertainment application running in the mobile terminal according to the intensity curve corresponding to the user's current mental state. That is, by adjusting the control parameters of the entertainment application, the effect of automatic sleep aid is achieved, thereby improving the user experience.
[0108] The following example illustrates the actual implementation process of the mobile terminal control method. The example is provided for illustrative purposes only and is not intended to limit the scope of protection of the embodiments of this application.
[0109] Example
[0110] like Figure 6 As shown, the control method for the mobile terminal includes:
[0111] Step 600: The mobile terminal obtains the current time, the status of the mobile terminal's entertainment application, the user's motion status, and the brightness of the ambient light.
[0112] Step 601: The mobile terminal determines whether the current time is within the preset sleep time range, whether the mobile terminal's entertainment application is running, whether the user is in motion, and whether the ambient light brightness is continuously less than or equal to the preset brightness within a first preset time. If the current time is within the preset sleep time range, the mobile terminal's entertainment application is running, the user is in motion, and the ambient light brightness is continuously less than or equal to the preset brightness within the first preset time, proceed to step 602. If the current time is not within the preset sleep time range, the mobile terminal's entertainment application is not running, the user is not in motion, and the ambient light brightness is not continuously less than or equal to the preset brightness within the first preset time, end this process.
[0113] Step 602: The mobile terminal obtains the user's physiological activity indicators.
[0114] Step 603: The mobile terminal determines whether the user is in an excited state based on the user's physiological activity indicators; if the user is in an excited state, proceed to step 604; if the user is not in an excited state, proceed to step 606.
[0115] Step 604: The mobile terminal lowers the control parameters according to the intensity curve corresponding to the user's excited state.
[0116] Step 605: The mobile terminal detects whether the user actively interrupts the process. If the user actively interrupts the process, step 602 continues after a fourth preset time. If the user does not actively interrupt the process, step 606 continues.
[0117] In this step, users can actively interrupt the process in several ways, such as by inputting an interrupt command or by increasing the control parameters.
[0118] Step 606: The mobile terminal determines whether the user is in a normal state based on the user's physiological activity indicators; if the user is in a normal state, continue to step 607; if the user is not in a normal state, continue to step 609.
[0119] Step 607: The mobile terminal lowers the control parameters according to the intensity curve corresponding to the user's normal mental state.
[0120] Step 608: The mobile terminal detects whether the user actively interrupts the process. If the user actively interrupts the process, step 602 continues after a fourth preset time. If the user does not actively interrupt the process, step 609 continues.
[0121] Step 609: The mobile terminal determines whether the user is ready to fall asleep based on the user's physiological activity indicators; if the user is ready to fall asleep, proceed to step 610; if the user is not ready to fall asleep, proceed to step 612.
[0122] Step 610: The mobile terminal lowers the control parameters of the intensity curve corresponding to the sleep-ready state according to the user's mental state.
[0123] Step 611: The mobile terminal detects whether the user actively interrupts the process. If the user actively interrupts the process, step 602 continues after a fourth preset time. If the user does not actively interrupt the process, step 612 continues.
[0124] Step 612: The mobile terminal determines whether the user is asleep based on the user's physiological activity indicators; if the user is asleep, proceed to step 613; if the user is not asleep, proceed to step 602.
[0125] Step 613: The mobile terminal lowers the control parameters of the intensity curve corresponding to the user's mental state as they fall asleep.
[0126] Figure 7 A block diagram of an electronic device provided in another embodiment of this application.
[0127] Secondly, referring to Figure 7 This application provides an electronic device, including: at least one processor 701; and a memory 702, on which at least one program is stored. When the at least one program is executed by the at least one processor 701, it implements any of the above-described mobile terminal control methods.
[0128] Among them, processor 701 is a device with data processing capabilities, including but not limited to central processing unit (CPU); memory 702 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
[0129] In some exemplary embodiments, the processor 701 and the memory 702 are interconnected via a bus 703, and thus connected to other components of the computing device.
[0130] In some exemplary embodiments, the electronic device further includes at least one of the following: a gyroscope sensor 704, a brightness sensor 705, and a camera 706.
[0131] In some exemplary embodiments, the gyroscope sensor 704 is used to detect the user's motion state.
[0132] In some exemplary embodiments, the brightness sensor 705 is used to detect the brightness of ambient light.
[0133] In some exemplary embodiments, the camera 706 is used to capture images including the user's face.
[0134] In some exemplary embodiments, the gyroscope sensor 704, the brightness sensor 705, and the camera 706 are interconnected with the processor 701 and the memory 702 via the bus 703.
[0135] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-described control methods for a mobile terminal.
[0136] Figure 8 A block diagram of the control device for a mobile terminal provided in another embodiment of this application.
[0137] Fourthly, refer to Figure 8 Another embodiment of this application provides a control device for a mobile terminal, including: a physiological activity index acquisition module 801, used to acquire the physiological activity index of a user; and a control module 802, used to adjust the control parameters of an application running in the mobile terminal according to the intensity curve corresponding to the user's physiological activity index; wherein the intensity curve is a curve showing the change of the control parameters over time.
[0138] In some exemplary embodiments, the physiological activity index acquisition module 801 may include at least one of the following: a gyroscope sensor, a brightness sensor, and a camera. In other exemplary embodiments, the physiological activity index acquisition module 801 may not include: a gyroscope sensor, a brightness sensor, and a camera.
[0139] In some exemplary embodiments, the physiological activity index acquisition module 801 is specifically used to determine whether a first preset condition is met, and if the first preset condition is met, to acquire the user's physiological activity index; wherein, the first preset condition includes at least one of the following: the current time is within a preset sleep time range; the application of the mobile terminal is in running state; the user is in a non-movement state; the brightness of the ambient light is continuously less than or equal to the preset brightness for a first preset time.
[0140] In some exemplary embodiments, the physiological activity index acquisition module 801 is specifically used to acquire the user's physiological activity index in the following ways: receiving the physiological activity index sent by the smart wearable device; or detecting the physiological activity index.
[0141] In some exemplary embodiments, the control module 802 is specifically configured to determine the user's current mental state based on the user's physiological activity indicators; and adjust the control parameters of the application running in the mobile terminal according to the intensity curve corresponding to the user's current mental state.
[0142] In some exemplary embodiments, the physiological activity indicators include at least one of the following: heart rate, information representing facial expression, and information representing eye state;
[0143] Mental state includes at least one of the following: excited state, normal state, sleep-ready state, and sleep state.
[0144] In some exemplary embodiments, the control module 802 is specifically configured to determine the user's current mental state based on the user's physiological activity indicators using at least one of the following methods:
[0145] The user's current mental state is determined to be the excited state based on at least one of the user's heart rate and the user's facial expression information.
[0146] The user's current mental state is determined to be normal based on at least one of the user's heart rate and the user's facial expression information.
[0147] The user's current mental state is determined to be in a sleep-ready state based on at least one of the user's first reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the first reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is normal.
[0148] The user's current mental state is determined to be the sleep state based on at least one of the user's second reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the second reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is the sleep-ready state.
[0149] In some exemplary embodiments, when the user's current mental state is an excited state, the intensity curve corresponding to the user's current mental state is the portion of the curve Y = K / X where X is greater than 1 and less than a; where Y is the control parameter, K is a coefficient, X is time, and a is greater than 1.
[0150] When the user's current mental state is normal, the intensity curve corresponding to the user's current mental state is the part of the curve Y = arccotX where X is greater than or equal to 0 and less than or equal to π.
[0151] When the user's current mental state is ready to fall asleep, the intensity curve corresponding to the user's current mental state is the part of the curve Y=K / X where X is greater than a.
[0152] When the user is currently asleep, the slope of the intensity curve corresponding to the user's current mental state gradually decreases over time.
[0153] In some exemplary embodiments, the control parameters include at least one of the following:
[0154] Sound frequency, sound loudness, screen saturation, screen color brightness, and video playback ratio.
[0155] The specific implementation process of the above-mentioned sleep aid device is the same as that of the sleep aid method in the foregoing embodiments, and will not be repeated here.
[0156] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0157] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in connection with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in connection with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this application as set forth by the appended claims.
Claims
1. A control method of a mobile terminal, characterized by, The method is applied to a mobile terminal and includes: Obtain users' physiological activity indicators; The control parameters of the applications running in the mobile terminal are adjusted according to the intensity curve corresponding to the user's physiological activity index; wherein, the intensity curve is the curve of the control parameters changing over time; The step of adjusting the control parameters of the application running on the mobile terminal according to the intensity curve corresponding to the user's physiological activity index includes: The user's current mental state is determined based on the user's physiological activity indicators; The control parameters of the applications running on the mobile terminal are adjusted downward from their current values according to the trend of the intensity curve corresponding to the user's current mental state. The mental state includes at least one of the following: excited state, normal state, sleep-ready state, and sleep state; wherein, when the user's current mental state is excited, the intensity curve corresponding to the user's current mental state is the part of the curve Y=K1 / X where X is greater than 1 and less than a; wherein Y is the control parameter, K1 is the first coefficient, X is time, and a is greater than 1; When the user's current mental state is normal, the intensity curve corresponding to the user's current mental state is the part of the curve Y=arccotX where X is greater than or equal to 0 and less than or equal to π. When the user's current mental state is ready to fall asleep, the intensity curve corresponding to the user's current mental state is the portion of the curve Y=K2 / X where X is greater than a; where K2 is the second coefficient; When the user is currently asleep, the slope of the intensity curve corresponding to the user's current mental state gradually decreases over time. 2.The control method of a mobile terminal according to claim 1, characterized in that, Before obtaining the user's physiological activity indicators, the method further includes: Determine whether a first preset condition is met; if the first preset condition is met, obtain the user's physiological activity indicators; wherein the first preset condition includes at least one or a combination of the following: The current time is within the preset sleep time range, the mobile terminal application is running, the user is in a non-moving state, and the ambient light brightness is continuously less than or equal to the preset brightness for the first preset time.
3. The control method for a mobile terminal according to claim 1, characterized in that, The acquisition of the user's physiological activity indicators includes: Receive the physiological activity indicators sent by the smart wearable device; Alternatively, the physiological activity indicators can be detected.
4. The control method for a mobile terminal according to claim 1, characterized in that, The physiological activity indicators include at least one of the following: heart rate, information representing facial expressions, and information representing eye status.
5. The control method for a mobile terminal according to claim 4, characterized in that, Determining the user's current mental state based on the user's physiological activity indicators includes at least one of the following: The user's current mental state is determined to be the excited state based on at least one of the user's heart rate and the user's facial expression information. The user's current mental state is determined to be normal based on at least one of the user's heart rate and the user's facial expression information. The user's current mental state is determined to be in a sleep-ready state based on at least one of the user's first reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the first reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is normal. The user's current mental state is determined to be the sleep state based on at least one of the user's second reference heart rate, the user's heart rate, the user's facial expression information, and the user's eye state information; wherein, the second reference heart rate is the user's heart rate corresponding to the condition that the user's current mental state is the sleep-ready state.
6. The control method for a mobile terminal according to any one of claims 1-5, characterized in that, The control parameters include at least one of the following or a combination thereof: Sound frequency, sound loudness, screen saturation, screen color brightness, and video playback ratio.
7. An electronic device, characterized in that it comprises: At least one processor; A memory, wherein at least one program is stored thereon, which, when executed by the at least one processor, implements the control method for a mobile terminal according to any one of claims 1-6.
8. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the control method of a mobile terminal according to any one of claims 1-6.
Citation Information
Patent Citations
Volume control method and device for mobile terminal
CN107911544A
Wearable device control method, device, storage medium, and wearable device
CN109116991A
Terminal control method, terminal and computer readable storage medium
CN111580651A