Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a mobile terminal and a screen-lighting method. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a mobile terminal, the mobile terminal at least comprising: the temperature sensor is arranged on the shell;
the sensing element of the temperature sensor and the display screen are arranged on the surface of the shell, and both the temperature sensor and the display screen are connected with the processor;
the temperature sensor is used for acquiring a temperature value of the surface of the shell when the mobile terminal is in a standby state and sending the acquired temperature value to the processor;
the processor is used for receiving the temperature value sent by the temperature sensor; if the temperature value sent by the temperature sensor at the current time point is different from the temperature value sent last time, and the temperature value sent by the temperature sensor at the current time point is determined to belong to a preset temperature value set corresponding to the time period in which the current time point is located according to the preset corresponding relation, the display screen is lightened;
the corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period.
In another embodiment, the mobile terminal includes at least two temperature sensors distributed on two sides, wherein a sensing element of a first side temperature sensor of the at least two temperature sensors is disposed on a first side frame surface of the housing, and a sensing element of a second side temperature sensor of the at least two temperature sensors is disposed on a second side frame surface of the housing opposite to the first side frame surface;
the processor is also used for receiving temperature values sent by the at least two temperature sensors; and if the temperature value sent by the at least one first side temperature sensor at the current time point is different from the temperature value sent last time and belongs to the preset temperature value set corresponding to the time period of the current time point, and the temperature value sent by the at least one second side temperature sensor at the current time point is different from the temperature value sent last time and belongs to the preset temperature value set corresponding to the time period of the current time point, the display screen is lightened.
In another embodiment, the processor is further configured to determine whether an operation of lighting the display screen is detected within a preset time period after the first time point if it is determined that the temperature value sent by the temperature sensor at the first time point is different from the temperature value sent last time and does not belong to the preset temperature value set corresponding to the time period in which the first time point is located, and establish a corresponding relationship between the time period in which the first time point is located and the temperature value sent by the temperature sensor at the first time point if the operation of lighting the display screen is detected within the preset time period after the first time point.
According to a second aspect of the embodiments of the present disclosure, there is provided a method of lighting a screen, the method including:
when the mobile terminal is in a standby state, acquiring a temperature value of the mobile terminal through a configured temperature sensor;
if the temperature value acquired at the current time point is different from the temperature value acquired last time, and the temperature value acquired at the current time point is determined to belong to a preset temperature value set corresponding to the time period in which the current time point is located according to a preset corresponding relation, lighting a display screen;
the corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period.
In another embodiment, the method further comprises:
when the mobile terminal is in a standby state, acquiring a temperature value of the mobile terminal through at least two temperature sensors distributed on two sides, wherein an induction element of a first side temperature sensor of the at least two temperature sensors is configured on a first side frame surface of the shell, and an induction element of a second side temperature sensor is configured on a second side frame surface, opposite to the first side frame surface, of the shell;
and if the temperature value acquired by the at least one first side temperature sensor at the current time point is different from the temperature value acquired last time and belongs to the preset temperature value set corresponding to the time period of the current time point, and the temperature value acquired by the at least one second side temperature sensor is different from the temperature value acquired last time and belongs to the preset temperature value set corresponding to the time period of the current time point, the display screen is lightened.
In another embodiment, the method further comprises:
if the temperature value acquired at the first time point is different from the temperature value acquired last time and the temperature value acquired at the first time point does not belong to the preset temperature value set corresponding to the time period in which the first time point is located, judging whether the operation of lighting the display screen is detected or not within a preset time length after the first time point;
and if the operation of lightening the display screen is detected within a preset time length after the first time point, establishing a corresponding relation between the time period of the first time point and the temperature value acquired at the first time point.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal, including:
the temperature acquisition module is used for acquiring a temperature value of the mobile terminal through a configured temperature sensor when the mobile terminal is in a standby state;
the processing module is used for lighting a display screen if the temperature value acquired at the current time point is different from the temperature value acquired last time and the temperature value acquired at the current time point is determined to belong to a preset temperature value set corresponding to the time period in which the current time point is located according to the preset corresponding relation;
the corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period.
In another embodiment, the temperature obtaining module is further configured to obtain the temperature value of the mobile terminal through at least two temperature sensors distributed on two sides when the mobile terminal is in a standby state, where a sensing element of a first side temperature sensor of the at least two temperature sensors is disposed on a first side frame surface of the housing, and a sensing element of a second side temperature sensor is disposed on a second side frame surface of the housing, the second side frame surface being opposite to the first side frame surface;
the processing module is further configured to light the display screen if it is determined that the temperature value obtained at the current time point through the at least one first-side temperature sensor is different from the temperature value obtained at the last time and belongs to the preset temperature value set corresponding to the time period in which the current time point is located, and the temperature value obtained at the at least one second-side temperature sensor is different from the temperature value obtained at the last time and belongs to the preset temperature value set corresponding to the time period in which the current time point is located.
In another embodiment, the mobile terminal further includes:
the judging module is used for judging whether the operation of lightening the display screen is detected within a preset time length after the first time point if the temperature value acquired at the first time point is different from the temperature value acquired last time and the temperature value acquired at the first time point does not belong to a preset temperature value set corresponding to the time period in which the first time point is located;
and the relationship establishing module is used for establishing a corresponding relationship between the time period of the first time point and the temperature value acquired at the first time point if the operation of lightening the display screen is detected within a preset time length after the first time point.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the mobile terminal and the screen lighting method provided by the embodiment, the corresponding preset temperature value set is set according to the human body temperature of at least one time period, so that the corresponding relation between the time period and the preset temperature value set is established, the temperature value of the mobile terminal is obtained through the configured temperature sensor, when the mobile terminal is in a standby state and a user contacts the mobile terminal, the temperature value obtained at the current time point is determined to belong to the preset temperature value set corresponding to the time period of the current time point according to the corresponding relation, and the display screen is lighted, so that the user can light the display screen only by contacting the mobile terminal without pressing a power key or a Home key, the problem that the keys are damaged is avoided, the operation of the user is simplified, the efficiency of lighting the display screen is improved, and the flexibility is improved.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1A is a schematic diagram of a mobile terminal according to an exemplary embodiment, where the mobile terminal may be a mobile phone, a tablet computer, or the like, which is not limited in this embodiment. As shown in fig. 1A, the mobile terminal includes at least: a housing 101, a temperature sensor 102 (fig. 1A only shows a plurality of temperature sensors 102), a processor 103 and a display screen 104, wherein the display screen 104 is disposed on the surface of the housing 101.
In this embodiment, when the mobile terminal is in the standby state, if the user does not contact the mobile terminal, the temperature of the surface of the housing of the mobile terminal will be in a relatively constant state. And because the temperature of the finger of the user and the temperature of the mobile terminal in the standby state have a certain temperature difference, when the finger of the user contacts the surface of the shell of the mobile terminal, the temperature of the surface of the shell will change through heat conduction, that is, when the user contacts the mobile terminal, the temperature difference can be caused on the surface of the shell of the mobile terminal. Moreover, since the human body temperature is generally maintained within a certain temperature range, when the user contacts the mobile terminal, the temperature of the surface of the housing where the user contacts the mobile terminal may not only change, but also the changed temperature should fall within the general human body temperature range.
Therefore, when the temperature of any part of the housing surface of the mobile terminal changes and belongs to the human body temperature range, it is highly probable that the user touches the mobile terminal and is about to use the mobile terminal, and in order to automatically control the display screen when the user is about to use the mobile terminal, the temperature sensor 102 may be configured in the mobile terminal, and whether the user touches the mobile terminal is determined by the temperature value acquired by the temperature sensor 102.
In addition, the human body temperature changes with time, and the range to which the human body temperature belongs may also be different according to different time periods. For example, during each day, the temperature of the human body is generally lowest at about 3:00 am, and rises from about 3:00 am, rises to the highest at about 3:00 pm, and then falls from about 3:00 pm.
Then, in order to reduce an error caused by a time factor, the processor 103 may determine a preset temperature value set corresponding to each time period in advance according to a human body temperature range of each time period, so as to establish a corresponding relationship between the time period and the preset temperature value set, and in a subsequent process, the processor 103 may determine whether the user contacts the mobile terminal by determining whether the temperature value acquired by the temperature sensor 102 belongs to the preset temperature value set corresponding to the time period at the current time point.
The corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period. Each preset temperature value set may include a continuous temperature value range, or may further include one or more discrete temperature values, for example, the preset temperature value set may be {36.4 ℃ -37.4 ℃ }, may also be {36 ℃, 36.5 ℃, 37 ℃, 37.5 ℃ }, or {36.4 ℃ -37 ℃, 37.2 ℃ }, and the like, which is not limited in this embodiment.
Accordingly, the temperature sensor 102 includes a sensing element for sensing the temperature of the environment in which it is currently located. The temperature sensor 102 may be a pressure type temperature sensor, a resistance type temperature sensor, a thermocouple type temperature sensor, etc., which is not limited in this embodiment. And the sensing elements included in the different types of temperature sensors are different, for example, the sensing element of the resistance temperature sensor is a thermistor, and the sensing element of the thermocouple type temperature sensor is a thermocouple.
In order to facilitate sensing the temperature value of the surface of the housing of the mobile terminal when the user touches the mobile terminal, the sensing element of the temperature sensor 102 may be disposed on the surface of the housing, and the sensing element may sense the temperature of the surface of the housing of the mobile terminal, so that when the user touches the mobile terminal, the temperature sensor 102 may obtain the temperature value of the surface of the housing of the contact area between the user and the mobile terminal through the sensing element. Of course, other elements of the temperature sensor 102 besides the sensing element may be disposed inside the housing and connected to the sensing element.
Furthermore, referring to fig. 1B, the temperature sensor 102 and the display screen 104 are both connected to the processor 103, that is, an output end of the temperature sensor 102 is connected to the processor 103, and can send the obtained temperature value to the processor 103, and the processor 103 is connected to an input end of the display screen 104, and can control the display screen 104, such as controlling brightness of the display screen 104 or controlling content displayed on the display screen 104.
The temperature sensor 102 may acquire a temperature value of a surface of a housing of the mobile terminal when the mobile terminal is in a standby state, and send the acquired temperature value to the processor 103, and the processor 103 may determine whether the temperature value sent by the temperature sensor 102 changes or not and determine whether the temperature value belongs to a corresponding preset temperature value set or not, when receiving the temperature value sent by the temperature sensor 102.
The temperature sensor 102 may periodically acquire a temperature value, or may acquire a temperature value in real time, which is not limited in this embodiment. The processor 103 may determine whether the temperature value sent by the temperature sensor 102 changes by determining whether the temperature value sent by the temperature sensor 102 at the current time point is the same as the last temperature value sent by the temperature sensor 102 when determining whether the temperature value sent by the temperature sensor 102 changes.
If the processor 103 determines that the temperature value sent by the temperature sensor 102 at the current time point is different from the temperature value sent last time, indicating that the temperature value has changed, at this time, the processor 103 may determine a time period in which the current time point is located, determine a preset temperature value set corresponding to the time period in which the current time point is located according to a preset corresponding relationship, and determine whether the temperature value sent by the temperature sensor 102 at the current time point belongs to the preset temperature value set corresponding to the time period in which the current time point is located, and if it is determined that the temperature value sent by the temperature sensor 102 at the current time point belongs to the preset temperature value set corresponding to the time period in which the current time point is located, indicating that the user has contacted the mobile terminal, at this time, the processor 103 may light up the display screen 104.
The mobile terminal provided by this embodiment sets the corresponding preset temperature value set according to the human body temperature of at least one time slot, thereby establishing a corresponding relationship between the time slot and the preset temperature value set, and obtains the temperature value on the surface of the mobile terminal shell through the configured temperature sensor, when the mobile terminal is in a standby state and a user contacts the mobile terminal, it can be determined according to the corresponding relationship that the temperature value obtained at the current time point belongs to the preset temperature value set corresponding to the time slot where the current time point is located, and the display screen is lighted, and then the user can light the display screen only by contacting the mobile terminal without pressing a power key or a Home key, thereby avoiding the problem that the keys are damaged, simplifying the operation of the user, improving the efficiency of lighting the display screen, and improving the flexibility. And the preset temperature value set corresponding to each time period is set according to the human body temperature, so that whether the user takes the mobile terminal can be judged more accurately, misoperation caused by lighting the display screen when the user does not take the mobile terminal due to temperature change is avoided, and the accuracy of lighting the display screen is improved.
In another embodiment, to avoid the misoperation, the display screen may be turned on when it is determined that the user picks up the mobile terminal and the temperature value obtained at the current time point belongs to the corresponding preset temperature value set.
Considering that when the user picks up the mobile terminal, the fingers of the user will contact the two sides of the frame of the mobile terminal, and the mobile terminal is not necessarily pressed to the two sides of the frame when being pressed, and other objects contact the mobile terminal, the two sides of the frame are not necessarily pressed, in order to further improve the accuracy, the mobile terminal may be configured with at least two temperature sensors, and the configured at least two temperature sensors 102 are distributed on the two sides of the frame of the mobile terminal.
That is, the at least two temperature sensors 102 include at least one first side temperature sensor 102 and at least one second side temperature sensor 102, in which a sensing element of the first side temperature sensor 102 is disposed on a first side frame surface of the housing, and a sensing element of the second side temperature sensor 102 is disposed on a second side frame surface of the housing opposite to the first side frame surface.
The types of the at least two temperature sensors 102 may be the same or different, and this embodiment does not limit this. The first side frame and the second side frame may be a left side frame, a right side frame, an upper side frame, a lower side frame, etc. of the housing, and the first side frame is opposite to the second side frame, for example, if the first side frame is the left side frame, the second side frame is the right side frame, and if the first side frame is the upper side frame, the second side frame is the lower side frame, etc., which is not limited in this embodiment.
For example, referring to fig. 1C, the mobile terminal includes a plurality of temperature sensors 102, and sensing elements of the plurality of temperature sensors 102 are distributed on a left side frame surface and a right side frame surface of the housing 101.
The processor 103 is configured to receive temperature values sent by the at least two temperature sensors 102, and if it is determined that a temperature value sent by at least one first side temperature sensor 102 at a current time point is different from a temperature value sent last time and belongs to a preset temperature value set corresponding to a time period in which the current time point is located, and a temperature value sent by at least one second side temperature sensor 102 at the current time point is different from a temperature value sent last time and belongs to a preset temperature value set corresponding to a time period in which the current time point is located, it indicates that a user has contacted both sides of a frame of the mobile terminal, and the temperature value of a contact area on each side belongs to the corresponding preset temperature value set, so that it can be determined that the user has picked up the mobile terminal, and at this time, the processor 103 can light up.
In another embodiment, since different users may have different body temperatures, the preset corresponding relationship is set according to the body temperature of a general user only, and may not be accurate. If the temperature value of the user of the mobile terminal deviates from the normal human body temperature, the temperature value sent to the processor 103 by the temperature sensor 102 when the user touches the mobile terminal does not belong to the preset temperature value set.
Therefore, the processor 103 may further, when it is determined that the temperature value sent by the temperature sensor 102 at the first time point is different from the temperature value sent last time and does not belong to the preset temperature value set corresponding to the time period in which the first time point is located, not light the display screen, and determine whether an operation of lighting the display screen is detected within a preset time period after the first time point, if the operation of lighting the display screen is detected within the preset time period after the first time point, indicating that although the temperature value sent by the temperature sensor 102 at the first time point does not belong to the corresponding preset temperature value set, the user actually wants to use the mobile terminal when touching the mobile terminal at the first time point, the temperature value is actually the human body temperature of the user, the processor 103 may establish a corresponding relationship between the time period in which the first time point is located and the temperature value sent by the temperature sensor 102 at the first time point, and adding the temperature value to a preset temperature value set corresponding to the time period where the first time point is located. In the subsequent process, if the user touches the mobile terminal again, the processor 103 may determine that the temperature value sent by the temperature sensor 102 at the first time point is different from the temperature value sent last time, and belongs to the preset temperature value set corresponding to the time period in which the first time point is located, so as to directly light the display screen 104.
Through the operation of detecting the user and lighting up the display screen after the user contacts the mobile terminal, the human body temperature of the user can be learnt in a self-adaptive manner, the temperature value of the user can be recorded gradually more accurately and intelligently, and the preset temperature value set is updated, so that the false touch is prevented better, and the accuracy of the screen lighting operation is improved.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a screen brightening method applied to a mobile terminal according to an exemplary embodiment, and as shown in fig. 2, the method includes the following steps:
in step 201, when the mobile terminal is in a standby state, a temperature value of the mobile terminal is obtained through a configured temperature sensor.
In step 202, if it is determined that the temperature value obtained at the current time point is different from the temperature value obtained at the last time, and it is determined that the temperature value obtained at the current time point belongs to a preset temperature value set corresponding to the time period in which the current time point is located according to the preset corresponding relationship, the display screen is turned on.
The corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period.
According to the screen lighting method provided by the embodiment, the corresponding relation between the time period and the preset temperature value set is established by setting the corresponding preset temperature value set according to the human body temperature of at least one time period, the temperature value of the mobile terminal is obtained through the configured temperature sensor, when the mobile terminal is in a standby state and a user contacts the mobile terminal, the temperature value obtained at the current time point is determined to belong to the preset temperature value set corresponding to the time period of the current time point according to the corresponding relation, and the display screen is lighted.
In another embodiment, the method further comprises:
when the mobile terminal is in a standby state, acquiring a temperature value of the mobile terminal through at least two temperature sensors distributed on two sides, wherein a sensing element of a first side temperature sensor of the at least two temperature sensors is configured on the surface of a first side frame of the shell, and a sensing element of a second side temperature sensor is configured on the surface of a second side frame of the shell, which is opposite to the surface of the first side frame;
and if the temperature value acquired by the at least one first side temperature sensor at the current time point is different from the temperature value acquired last time and belongs to the preset temperature value set corresponding to the time period of the current time point, and the temperature value acquired by the at least one second side temperature sensor is different from the temperature value acquired last time and belongs to the preset temperature value set corresponding to the time period of the current time point, lightening the display screen.
In another embodiment, the method further comprises:
if the temperature value acquired at the first time point is different from the temperature value acquired last time and the temperature value acquired at the first time point does not belong to the preset temperature value set corresponding to the time period in which the first time point is located, judging whether the operation of lighting the display screen is detected or not within a preset time length after the first time point;
and if the operation of lightening the display screen is detected within a preset time length after the first time point, establishing a corresponding relation between the time period of the first time point and the temperature value acquired at the first time point.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 3 is a flowchart illustrating a screen-lighting method applied to a mobile terminal according to an exemplary embodiment, and as shown in fig. 3, the method includes the following steps:
in step 301, when the mobile terminal is in a standby state, a temperature value of the mobile terminal is obtained through a configured temperature sensor, and step 302 or 303 is executed.
The mobile terminal is in a standby state, which means that the mobile terminal is powered on but does not perform any operation, and in this state, a display screen of the mobile terminal is in a black screen state, so that any operation interface cannot be displayed, and a user cannot use the mobile terminal. If the user wants to use the mobile terminal, the display screen can be lighted up by an operation of pressing a power key or a Home key. However, the power key or the Home key is used too frequently, so that the key is damaged, and in a dark state, a user cannot find the power key or the Home key accurately and the operation is inconvenient.
In this embodiment, in order to facilitate the user to light the display screen, the display screen may be automatically lit when the user contacts the mobile terminal, and therefore, a temperature sensor may be configured on the mobile terminal, and when the user contacts the mobile terminal, a temperature value of the mobile terminal is obtained by the temperature sensor, and whether the display screen is to be lit is determined according to the temperature value. The temperature sensor may be a pressure type temperature sensor, a resistance type temperature sensor, a thermocouple type temperature sensor, or the like, and the type of the temperature sensor is not limited in this embodiment.
The mobile terminal may periodically obtain the temperature value, or may obtain the temperature value in real time, which is not limited in this embodiment.
In step 302, if it is determined that the temperature value obtained at the first time point is different from the temperature value obtained at the last time, and it is determined according to the preset corresponding relationship that the temperature value obtained at the first time point belongs to the preset temperature value set corresponding to the time period in which the first time point is located, the display screen is turned on.
When the mobile terminal is in a standby state, if the user does not contact the mobile terminal, the temperature of the mobile terminal will be in a relatively constant state, and when the user contacts the mobile terminal, the temperature of the mobile terminal will change through heat conduction due to a certain temperature difference between the temperature of the user's finger and the temperature of the mobile terminal in the standby state.
However, it is not accurate to determine whether the user touches the mobile terminal only according to whether the temperature value of the mobile terminal changes, considering that the temperature value of the mobile terminal also changes when other objects having a temperature difference with the mobile terminal touch the mobile terminal, such as when a cup containing hot water touches the mobile terminal. Considering that the human body temperature is generally maintained within a certain temperature range, when the user contacts the mobile terminal, the temperature of the surface of the shell, which is in contact with the mobile terminal, of the user may change, and the changed temperature should be within the general human body temperature range, that is, when the temperature value acquired by the mobile terminal changes and belongs to the human body temperature range, it is likely that the user contacts the mobile terminal and will use the mobile terminal. Further, considering that the human body temperature may change with time, the range to which the human body temperature belongs may also be different according to the time period.
Therefore, in order to more accurately judge whether the user contacts the mobile terminal and reduce errors caused by time factors, the mobile terminal can be used as a preset temperature value set corresponding to each time period in advance according to the human body temperature range of each time period, so that the corresponding relation between the time periods and the preset temperature value set is established, and then the obtained temperature values are judged according to the corresponding relation.
Specifically, the mobile terminal may determine a time period of the human body temperature change in advance, divide the time period into at least one time period, determine a human body temperature range corresponding to each time period in the at least one time period, set a preset temperature value set corresponding to each time period according to the human body temperature range corresponding to each time period, thereby establishing a corresponding relationship between the at least one time period and the preset temperature value set, and store the corresponding relationship.
For example, the mobile terminal may divide a day into 24 time periods, each hour serves as one time period, and the preset temperature value set corresponding to each hour is set according to the variation range of the human body temperature corresponding to each hour, so as to establish a corresponding relationship between each hour and the preset temperature value set in the day.
Each preset temperature value set may include a continuous temperature value range, or may further include one or more discrete temperature values, for example, the preset temperature value set may be {36.4 ℃ -37.4 ℃ }, or {36 ℃, 36.5 ℃, 37 ℃, 37.5 ℃ }, and the like, which is not limited in this embodiment.
In the subsequent process, when the mobile terminal is in a standby state, whether the temperature value acquired at the first time point is the same as the temperature value acquired at the last time can be judged to determine whether the temperature value changes, and if the temperature value acquired at the first time point is determined to be different from the temperature value acquired at the last time, the temperature value of the mobile terminal changes. And when the temperature value acquired at the first time point is determined to be different from the temperature value acquired last time, determining the time period of the first time point, determining a preset temperature value set corresponding to the time period of the first time point according to a preset corresponding relation, and judging whether the temperature value acquired at the first time point belongs to the preset temperature value set, wherein if the temperature value acquired at the first time point belongs to the preset temperature value set, the fact that the user contacts the mobile terminal is indicated, the mobile terminal is to be used, but other objects contact the mobile terminal is not determined, and the mobile terminal can light up a display screen for the convenience of the user.
And if the temperature value acquired at the first time point is determined to be the same as the temperature value acquired last time, or the temperature value acquired at the first time point does not belong to the preset temperature value set, the mobile terminal will not light up the display screen.
In order to avoid misoperation, the mobile terminal can light up the display screen when the user is determined to take the mobile terminal and the temperature value acquired at the first time point belongs to the corresponding preset temperature value set. Considering that when the user picks up the mobile terminal, the fingers of the user will contact the two sides of the frame of the mobile terminal, and the mobile terminal is not necessarily pressed to the two sides of the frame when pressed, in order to sense the temperature values of the two sides of the frame, the mobile terminal may be configured with at least two temperature sensors distributed on the two sides, and the sensing element of the first side temperature sensor of the at least two temperature sensors is configured on the surface of the first side frame of the casing, and the sensing element of the second side temperature sensor is configured on the surface of the second side frame of the casing opposite to the surface of the first side frame.
The first side frame and the second side frame may be a left side frame, a right side frame, an upper side frame, a lower side frame, etc. of the casing, and the first side frame and the second side frame are opposite in position, for example, if the first side frame is the left side frame, the second side frame is the right side frame, and if the first side frame is the upper side frame, the second side frame is the lower side frame, etc., which is not limited in this embodiment.
In the subsequent process, the mobile terminal may obtain the temperature values of the frame surfaces on the two sides of the mobile terminal through at least two configured temperature sensors distributed on the two sides when the mobile terminal is in the standby state. If it is determined that the temperature value acquired at the first time point through the at least one first side temperature sensor is different from the temperature value acquired at the last time and belongs to the preset temperature value set corresponding to the time period in which the first time point is located, and the temperature value acquired at the at least one second side temperature sensor is different from the temperature value acquired at the last time and belongs to the preset temperature value set corresponding to the time period in which the first time point is located, it is indicated that the user contacts the two sides of the frame of the mobile terminal, and the temperature value of the contact area at each side belongs to the corresponding preset temperature value set, so that the user can be determined to pick up the mobile terminal, and the mobile terminal can light up the display screen.
It should be noted that, this embodiment only takes the first time point as an example for description, and actually, at any time point, the mobile terminal may determine whether the temperature value acquired at the current time point is different from the temperature value acquired last time, and determine whether the temperature value belongs to a preset temperature value set corresponding to the time period where the current time point is located, so as to determine whether to light the display screen, which is not limited in this embodiment.
In step 303, if it is determined that the temperature value obtained at the first time point is different from the last temperature value obtained at the last time, and the temperature value obtained at the first time point does not belong to the preset temperature value set corresponding to the time period in which the first time point is located, it is determined whether an operation of lighting the display screen is detected within a preset time period after the first time point.
The preset duration may be 1s, 2s, 3s, and the like, and the preset duration may be set by default by the mobile terminal or manually set by the user, which is not limited in this embodiment. The operation of lighting up the display screen may be an operation of pressing a power key or an operation of pressing a Home key, and the like, which is not limited in this embodiment.
In step 304, if the operation of lighting up the display screen is detected within a preset time period after the first time point, a corresponding relationship between the time period in which the first time point is located and the temperature value acquired at the first time point is established.
If the operation of lighting the display screen is detected within the preset time after the first time point, which indicates that the user really needs to use the mobile terminal at the first time point, the mobile terminal establishes a corresponding relation between the time period of the first time point and the temperature value acquired at the first time point, that is, the temperature value acquired at the first time point is added to the preset temperature value set corresponding to the time period of the first time point, so that the updating of the preset temperature value set is realized.
In the subsequent process, if the user contacts the mobile terminal again, the mobile terminal can determine that the temperature value acquired at the first time point is different from the temperature value acquired last time, and the temperature value acquired at the first time point belongs to the preset temperature value set corresponding to the time period in which the first time point is located, and then the mobile terminal can directly light up the display screen.
Through detecting the operation that the user lights up the display screen after the user contacts the mobile terminal, can study user's human body temperature in a self-adaptation way, can progressively more accurately, more intelligently record user's temperature value, study the human body temperature of every user at the corresponding time quantum, according to the human body temperature of every user at the corresponding time quantum that learns, progressively supplement perfect corresponding preset temperature value set to prevent the mistake better and touch, improved the accuracy of bright screen operation.
It should be noted that, the step 301 and 304 may be executed by a temperature wake-up driver of the mobile terminal, during the operation process, the temperature wake-up driver may be operated on a processor of the mobile terminal, receive the temperature value obtained by the temperature sensor through the temperature wake-up driver, and invoke an interface between the mobile terminal and a calendar or a time application to determine a current time point, and invoke an interface between the mobile terminal and a display screen to light the display screen when it is determined that the obtained temperature value is different from the last obtained temperature value and belongs to a preset temperature value set corresponding to a time period in which the current time point is located.
In summary, in the method provided in this embodiment, a corresponding relationship between a time period and a preset temperature value set is established by setting the corresponding preset temperature value set according to a human body temperature of at least one time period, and a temperature value of the mobile terminal is obtained by using the configured temperature sensor, so that when the mobile terminal is in a standby state and a user contacts the mobile terminal, it can be determined according to the corresponding relationship that the temperature value obtained at the current time point belongs to the preset temperature value set corresponding to the time period at the current time point, and the display screen is lighted, and the user can light the display screen only by contacting the mobile terminal without pressing a power key or a Home key, thereby avoiding the problem that the keys are damaged, simplifying the operation of the user, improving the efficiency of lighting the display screen, and improving the flexibility. And the preset temperature value set corresponding to each time period is set according to the human body temperature, so that whether the user takes the mobile terminal can be judged more accurately, misoperation caused by lighting the display screen when the user does not take the mobile terminal due to temperature change is avoided, and the accuracy of lighting the display screen is improved.
Fig. 4 is a schematic diagram illustrating a mobile terminal, which may be a mobile phone, a tablet computer, or the like, according to an example embodiment. Referring to fig. 4, the mobile terminal includes: a temperature acquisition module 410 and a processing module 420.
A temperature obtaining module 410 configured to obtain a temperature value of the mobile terminal through a configured temperature sensor when the mobile terminal is in a standby state;
the processing module 420 is configured to light up the display screen if it is determined that the temperature value obtained at the current time point is different from the temperature value obtained at the last time, and it is determined that the temperature value obtained at the current time point belongs to a preset temperature value set corresponding to a time period in which the current time point is located according to a preset corresponding relationship;
the corresponding relation comprises a preset temperature value set corresponding to at least one time period, and the preset temperature value set corresponding to the at least one time period is set according to the human body temperature of the corresponding time period.
The mobile terminal provided by this embodiment sets the corresponding preset temperature value set according to the human body temperature of at least one time slot, thereby establishing a corresponding relationship between the time slot and the preset temperature value set, and obtains the temperature value of the mobile terminal through the configured temperature sensor, when the mobile terminal is in a standby state and a user contacts the mobile terminal, it can be determined according to the corresponding relationship that the temperature value obtained at the current time point belongs to the preset temperature value set corresponding to the time slot where the current time point is located, and the display screen is lighted, and the user can light the display screen only by contacting the mobile terminal without pressing a power key or a Home key, thereby avoiding the problem that the keys are damaged, simplifying the operation of the user, improving the efficiency of lighting the display screen, and improving the flexibility.
In another embodiment, the temperature obtaining module 410 is further configured to obtain the temperature value of the mobile terminal through at least two temperature sensors disposed and distributed on two sides when the mobile terminal is in a standby state, where a sensing element of a first side temperature sensor of the at least two temperature sensors is disposed on a first side frame surface of the housing, and a sensing element of a second side temperature sensor of the at least two temperature sensors is disposed on a second side frame surface of the housing opposite to the first side frame surface;
the processing module 420 is further configured to illuminate the display screen if it is determined that the temperature value obtained by the at least one first side temperature sensor at the current time point is different from the temperature value obtained last time and belongs to the preset temperature value set corresponding to the time period of the current time point, and the temperature value obtained by the at least one second side temperature sensor is different from the temperature value obtained last time and belongs to the preset temperature value set corresponding to the time period of the current time point.
Referring to fig. 5, in another embodiment, the mobile terminal further includes:
the determining module 430 is configured to determine whether an operation of lighting the display screen is detected within a preset time period after a first time point if it is determined that the temperature value acquired at the first time point is different from the temperature value acquired last time and the temperature value acquired at the first time point does not belong to a preset temperature value set corresponding to a time period in which the first time point is located;
the relationship establishing module 440 is configured to establish a corresponding relationship between the time period of the first time point and the temperature value obtained at the first time point if the operation of lighting the display screen is detected within a preset time period after the first time point.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.