CN110809083B - Mobile terminal information reminding method, mobile terminal and storage medium - Google Patents

Mobile terminal information reminding method, mobile terminal and storage medium Download PDF

Info

Publication number
CN110809083B
CN110809083B CN201810883657.5A CN201810883657A CN110809083B CN 110809083 B CN110809083 B CN 110809083B CN 201810883657 A CN201810883657 A CN 201810883657A CN 110809083 B CN110809083 B CN 110809083B
Authority
CN
China
Prior art keywords
mobile terminal
time interval
preset
attitude
change value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810883657.5A
Other languages
Chinese (zh)
Other versions
CN110809083A (en
Inventor
熊先平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810883657.5A priority Critical patent/CN110809083B/en
Publication of CN110809083A publication Critical patent/CN110809083A/en
Application granted granted Critical
Publication of CN110809083B publication Critical patent/CN110809083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application is applicable to the technical field of mobile terminals, and provides a method for reminding information of a mobile terminal, the mobile terminal and a computer readable storage medium, wherein the method comprises the following steps: when the mobile terminal is in a preset state, acquiring an attitude change value of the mobile terminal, wherein the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval, judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value, if the attitude change value of the mobile terminal is smaller than the attitude threshold value, sending out reminding information, and determining a second time interval based on a first preset mode, wherein the reminding information is used for reminding a user to adjust the posture of holding the mobile terminal, and the second time interval is a time interval from the time when the attitude change value of the mobile terminal is acquired to the time when the attitude change value of the mobile terminal is acquired next time.

Description

Mobile terminal information reminding method, mobile terminal and storage medium
Technical Field
The application belongs to the technical field of mobile terminals, and particularly relates to a method for reminding information of a mobile terminal, the mobile terminal and a computer readable storage medium.
Background
With the rapid development of mobile terminals such as mobile phones and tablet computers, the functions of the mobile terminals are also more and more powerful, and the mobile terminals have been widely popularized. The mobile terminal popularized in a wide range brings great convenience to users and also brings new problems.
As a mobile device that a user can carry with him/her, the user can use the mobile terminal anytime and anywhere, which causes a problem that the user often maintains a posture for a long time due to being addicted to applications such as games, videos, or online shopping of the mobile terminal, which may cause physical discomfort of the user.
Disclosure of Invention
In view of the above, embodiments of the present application provide a method for reminding information of a mobile terminal, a mobile terminal and a computer-readable storage medium, so as to prompt a user of the mobile terminal when the user is enthusiastic to use the mobile terminal and keeps the same posture.
A first aspect of an embodiment of the present application provides a method for reminding information of a mobile terminal, including:
when the mobile terminal is in a preset state, acquiring an attitude change value of the mobile terminal, wherein the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value;
if the posture change value of the mobile terminal is smaller than the posture threshold value, sending out reminding information, and determining a second time interval based on a first preset mode, wherein the reminding information is used for reminding a user to adjust the posture of holding the mobile terminal, and the second time interval is the time interval from the current acquisition of the posture change value of the mobile terminal to the next acquisition of the posture change value of the mobile terminal.
A second aspect of an embodiment of the present application provides a mobile terminal, including:
the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an attitude change value of the mobile terminal in a preset state of the mobile terminal, and the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
the judging unit is used for judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value or not;
the first processing unit is configured to send out a reminding message if the posture change value of the mobile terminal is smaller than the posture threshold value, and determine a second time interval based on a first preset mode, where the reminding message is used to remind a user to adjust a posture for holding the mobile terminal, and the second time interval is a time interval from this time of obtaining the posture change value of the mobile terminal to the next time of obtaining the posture change value of the mobile terminal.
A third aspect of an embodiment of the present application provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method provided in the first aspect of the embodiment of the present application when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by one or more processors, performs the steps of the method provided by the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product comprising a computer program that, when executed by one or more processors, performs the steps of the method provided by the first aspect of embodiments of the present application.
The embodiment of the application provides a method for reminding information of a mobile terminal, which comprises the steps of obtaining a posture change value of the mobile terminal when the mobile terminal is in a preset state, then judging whether the posture change value of the mobile terminal is smaller than a posture threshold value, if the posture change value of the mobile terminal is smaller than the posture threshold value, sending reminding information to remind a user to adjust the posture for holding the mobile terminal, wherein the posture change value of the monitored mobile terminal is used for determining whether the posture for holding the mobile terminal needs to be changed, and when the posture for holding the mobile terminal needs to be changed, the mobile terminal is used for sending the reminding information to remind the user to adjust the posture for holding the mobile terminal, so that the mobile terminal user is reminded when being enthusiastic in the use of the mobile terminal and keeping the same posture; and the time interval for obtaining the attitude change value of the mobile terminal next time can be determined according to the attitude change condition of the mobile terminal, so that a basis is provided for reminding a user to adjust the time for holding the attitude of the mobile terminal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a method for reminding information of a mobile terminal according to an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of another method for reminding information of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present application;
fig. 4 is a schematic block diagram of another mobile terminal provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart of an implementation process of a method for reminding information of a mobile terminal according to an embodiment of the present application, where as shown in the figure, the method may include the following steps:
step S101, when the mobile terminal is in a preset state, acquiring a posture change value of the mobile terminal, wherein the posture change value is determined by the posture data of the mobile terminal collected within a first time interval.
In this embodiment of the application, the preset state may be a bright screen state of the mobile terminal, or may also be a state in which a preset application in the mobile terminal is in foreground operation, or of course, may also be a preset state, where the preset application may be a game application, a video playing application, or the like, and is not limited herein.
The posture change value of the mobile terminal may be a value that is preset to change one or more parameters that are required to reflect a change in posture of a user holding the mobile terminal, for example, a change in displacement of the mobile terminal, a change in a deflection angle of the mobile terminal, and the like.
As a further embodiment of the present application, the pose data comprises at least one of: angular displacement or angular rate measured by a gyroscope and linear acceleration measured by an acceleration sensor;
in the embodiment of the application, the mobile terminal is provided with the gyroscope and the acceleration sensor, the gyroscope can monitor the angular displacement or the angular rate of the mobile terminal according to the preset monitoring interval, and the acceleration sensor can also monitor the linear acceleration of the mobile terminal according to the preset monitoring interval. The at least one attitude change value of the mobile terminal may be obtained according to an angular displacement or an angular rate measured by a gyroscope and/or a linear acceleration measured by an acceleration sensor, for example, three-directional gravity sensors are provided in the mobile terminal, a deflection angle of the mobile terminal may be determined according to the gravity sensor corresponding to the first time interval, and if the angular displacement or the angular rate measured by the gyroscope is correspondingly increased, a movement track of the mobile terminal may be determined according to data monitored by the gyroscope and the acceleration sensor corresponding to the first time interval.
As another embodiment of the present application, the acquiring a posture change value of the mobile terminal includes:
acquiring attitude data of the mobile terminal in the first time interval;
calculating a movement track of the mobile terminal based on the attitude data of the mobile terminal in the first time interval;
and determining the moving distance of the mobile terminal according to the moving track of the mobile terminal, and taking the moving distance as the attitude change value of the mobile terminal.
In this embodiment of the application, the moving distance is a path that the mobile terminal passes through in the first time interval, and the path that the mobile terminal passes through is used as an attitude change value of the mobile terminal. The posture change value of the mobile terminal may preset one or more parameters.
Step S102, judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value.
In the embodiment of the present application, an attitude threshold may be preset, and if a parameter is set as an attitude change value, for example, a moving distance of the mobile terminal, correspondingly, a distance threshold may be set as the attitude threshold; in practical application, a plurality of attitude threshold values can be set, and two parameters are assumed to be set as attitude change values, which are respectively: the moving distance of the mobile terminal and the deflection angle of the mobile terminal can be set as the attitude threshold value correspondingly. Thus there will be a movement distance change value, a deflection angle change value, a distance threshold value, an angle threshold value.
When determining whether the attitude change value of the mobile terminal is smaller than an attitude threshold, the following may be set:
if the attitude change values are smaller than the attitude threshold corresponding to each attitude change value, determining whether the attitude change value of the mobile terminal is smaller than the attitude threshold;
otherwise, the attitude change value of the mobile terminal is considered to be larger than or equal to the attitude threshold value.
Of course, in practical applications, there may be other determination manners, which are not illustrated herein.
Wherein, the deflection angle of the mobile terminal may be: assuming that the first time interval corresponds to n monitoring intervals, in the n monitoring intervals, an angle between planes where the mobile terminal is located, which is obtained by every two adjacent times of monitoring, is taken as a deflection angle corresponding to the two adjacent times of monitoring, and n deflection angles corresponding to the n monitoring intervals are added to be taken as a deflection angle corresponding to the first time interval.
Step S103, if the posture change value of the mobile terminal is smaller than the posture threshold value, sending out reminding information, and determining a second time interval based on a first preset mode, wherein the reminding information is used for reminding a user to adjust the posture for holding the mobile terminal, and the second time interval is the time interval from the current acquisition of the posture change value of the mobile terminal to the next acquisition of the posture change value of the mobile terminal.
In this embodiment of the application, if it is determined that the posture change value of the mobile terminal is smaller than the posture threshold, it indicates that the posture change of the mobile terminal is smaller within the first time interval, and at this time, the user needs to be prompted to adjust the posture for holding the mobile terminal.
In addition, the time interval for acquiring the attitude change value of the mobile terminal can be adjusted in real time, and when the attitude change value of the mobile terminal is smaller than the attitude threshold, the time interval from the current acquisition of the attitude change value of the mobile terminal to the next acquisition of the attitude change value of the mobile terminal is determined by adopting a first preset mode, namely, the second time interval is determined based on the first preset mode.
The first preset manner may be a preset manner, and the purpose is to make the determined second time interval be greater than or equal to the first time interval, for example, to increase a preset step length, or to determine a step length value according to the size of the current attitude change value, and then, after taking the step length value as the preset step length, increase the preset step length on the basis of the first time interval to obtain the second time interval, where the preset step length is a value greater than or equal to 0.
As another embodiment of the present application, the method may further include the following steps:
and if the attitude change value of the mobile terminal is greater than or equal to the attitude threshold value, determining the second time interval based on a second preset mode.
In this embodiment of the application, if it is determined that the posture change value of the mobile terminal is greater than or equal to the posture threshold, it indicates that the posture change of the mobile terminal is large within the first time interval, at this time, the second time interval may be determined according to a second preset manner, where the second preset manner is also a preset manner, so as to make the determined second time interval smaller than or equal to the first time interval, for example, a manner of reducing a preset step length, or a step length value of this time is determined according to the size of the posture change value of this time, and then after taking the step length value of this time as the preset step length, the preset step length is reduced on the basis of the first time interval to obtain the second time interval, where of course, the preset step length is a value greater than or equal to 0.
The time interval for acquiring the posture change value of the mobile terminal next time can be determined according to the posture change condition of the mobile terminal in different modes of determining the second time interval, so that the time interval for monitoring the posture change of the mobile terminal can be determined according to different users or different using conditions of the mobile terminal, and a basis can be provided for reminding the user to adjust the time for holding the posture of the mobile terminal.
Fig. 2 is a schematic flowchart of another method for reminding information of a mobile terminal according to an embodiment of the present application, and as shown in the figure, the method may include the following steps:
step S201, when the mobile terminal is in a preset state, acquiring an attitude change value of the mobile terminal, wherein the attitude change value is determined by attitude data of the mobile terminal collected within a first time interval.
In this embodiment of the present application, the attitude data may also be a gravitational acceleration measured by a gravitational acceleration sensor; correspondingly, the attitude change value of the mobile terminal is the moving distance of the mobile terminal in the gravity direction.
Different from the embodiment shown in fig. 1, the embodiment of the application can judge whether the posture of the user holding the mobile terminal needs to be changed or not by the moving distance of the mobile terminal in the gravity direction, so that the calculation amount of determining the posture change value by the posture data of the mobile terminal collected within the first time interval can be reduced, and the utilization rate of the memory is reduced.
Of course, in practical applications, the moving distance of the mobile terminal in the horizontal direction may also be used as the attitude change value of the mobile terminal, and the deflection angle of the mobile terminal may also be used as the attitude change value of the mobile terminal.
Step S202, judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value.
Step S203, if the attitude change value of the mobile terminal is smaller than the attitude threshold, sending out a reminding message, and taking the first time interval as a second time interval.
In this embodiment of the application, if the posture change value of the mobile terminal is smaller than the posture threshold, it indicates that the posture change amplitude of the user holding the mobile terminal is small, and the time interval for obtaining the posture change value of the mobile terminal next time may not be changed, that is, the second time interval is set to be equal to the first time interval.
Step S204, if the attitude change value of the mobile terminal is greater than or equal to the attitude threshold, judging whether the difference value between the first time interval and a preset first threshold is smaller than a preset step length.
In step S205, if the difference between the first time interval and the preset first threshold is smaller than the preset step length, the first time interval is used as the second time interval.
In step S206, if the difference between the first time interval and the preset first threshold is greater than or equal to a preset step length, the first time interval is decreased by the preset step length to be used as a second time interval.
In this embodiment of the application, if the posture change value of the mobile terminal is greater than or equal to the posture threshold value, which indicates that the posture change range of the user holding the mobile terminal is large, the user may not be reminded to adjust the posture of holding the mobile terminal, however, for some users, a first time interval between the last time of acquiring the posture change value of the mobile terminal and the current time of acquiring the posture change value of the mobile terminal may be too long, and therefore, a second time interval between the current time of acquiring the posture change value of the mobile terminal and the next time of acquiring the posture change value of the mobile terminal may be set to a value greater than the first time interval. For example, the first time interval is reduced by a preset step size to be used as the second time interval.
However, the second time interval cannot be decreased all the time without limitation, otherwise frequent adjustment of the posture of holding the mobile terminal may affect the normal use of the mobile terminal by the user. The first threshold value may be set and the second time interval is always greater than or equal to the first threshold value.
By way of example, when the mobile terminal is in a preset state (12:00), a first time interval is set to 30 minutes if 12:30 obtains 12: 00-12: if the posture change value of the mobile terminal between 12:30 and 12:55 (the first time interval becomes 25 minutes) acquired at 12:55 is greater than the posture threshold value, the first time interval is reduced by 5 minutes as the second time interval (20 minutes), … …, if the posture change value of the mobile terminal between 12:30 and 12:55 (the first time interval becomes 25 minutes) acquired at 12:55 is greater than the posture threshold value, the reduction is performed again when the first time interval becomes 10 minutes, which may affect the normal use of the mobile terminal by the user, so 9 minutes may be set as the first threshold value. The second time interval cannot be smaller than the first threshold value regardless of how the second time interval is reduced.
By the above example, when the second time interval is determined in the second preset manner, it needs to be determined whether a difference between the first time interval and a preset first threshold is smaller than a preset step length;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
As another embodiment of the present application, the second time interval may be determined by another first preset method, and the second time interval may be determined by another second preset method.
The determining the second time interval based on the first preset mode comprises:
if the times that the attitude change value of the mobile terminal is continuously smaller than the attitude threshold value are larger than a first preset time, judging whether the difference value between the first time interval and a preset second threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset second threshold is smaller than a preset step length, taking the first time interval as a second time interval;
if the difference value between the first time interval and a preset second threshold is greater than or equal to a preset step length, increasing the preset step length of the first time interval to serve as a second time interval;
the determining the second time interval based on the second preset manner includes:
if the number of times that the attitude change value of the mobile terminal is not smaller than the attitude threshold value continuously is larger than a second preset number of times, judging whether the difference value between the first time interval and a preset first threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
In this embodiment of the present application, a range value may be preset, where the range value includes an upper limit value and a lower limit value, the lower limit value is used as a first threshold value, and the upper limit value is used as a second threshold value, that is, both the first time interval and the second time interval need to be within a closed interval formed by the first threshold value and the second threshold value.
In order to control the time interval between two adjacent times of obtaining the posture change value of the mobile terminal to be dynamically adjusted according to the personal habits of the user, the second time interval may be increased, decreased or equal to the first time interval. Meanwhile, in order to avoid the influence of a certain operation of the user on the adjustment of the second time interval, it may be set that, if the number of times that the posture change value of the mobile terminal is continuously smaller than the posture threshold is greater than a first preset number of times, the first time interval is increased by a preset step length and then is taken as the second time interval, or, since the first time interval is increased by the preset step length and then is greater than the second threshold, the first time interval is taken as the second time interval; similarly, if the number of times that the posture change value of the mobile terminal is not smaller than the posture threshold value continuously is greater than a second preset number of times, the first time interval may be set to be the second time interval after being reduced by the preset step length, or the first time interval may be set to be the second time interval because the first time interval is smaller than the first threshold value after being reduced by the preset step length.
As another embodiment of the present application, after determining the second time interval, the method further includes:
and taking the second time interval as a first time interval, and acquiring the attitude change value of the mobile terminal.
In the embodiment of the present application, if it is ensured that the prompt is given when the user of the mobile terminal is enthusiastic to use the mobile terminal and keeps the same posture, obtaining the posture change value of the mobile terminal is a continuous process, when the mobile terminal is in a preset state, initializing the first time interval to be the second threshold value, then obtaining the posture change value of the mobile terminal according to the first time interval, determining whether to send out the reminding information according to the posture change value and determining the second time interval, after determining the second time interval, taking the second time interval as the first time interval (i.e. setting the value of the first time interval to be the current value of the second time interval), and continuously obtaining the posture change value of the mobile terminal, which is a cyclic process, and obtaining the posture change value of the mobile terminal according to the first time interval each time, after determining the second time interval according to the current posture change value, continuously taking the second time interval as the first time interval to obtain the posture change value of the mobile terminal … …, and repeating the steps.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present application, and only a portion related to the embodiment of the present application is shown for convenience of description.
The mobile terminal 3 may be a software unit, a hardware unit or a combination of software and hardware unit built in a mobile terminal such as a mobile phone and a tablet computer, or may be integrated into the mobile terminal such as the mobile phone and the tablet computer as an independent pendant.
The mobile terminal 3 includes:
the acquiring unit 31 is configured to acquire an attitude change value of the mobile terminal in a preset state of the mobile terminal, where the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
a judging unit 32 configured to judge whether or not an attitude change value of the mobile terminal is smaller than an attitude threshold;
the first processing unit 33 is configured to send out a reminding message if the posture change value of the mobile terminal is smaller than the posture threshold, and determine a second time interval based on a first preset mode, where the reminding message is used to remind a user to adjust a posture for holding the mobile terminal, and the second time interval is a time interval from when the posture change value of the mobile terminal is obtained at this time to when the posture change value of the mobile terminal is obtained next time.
Optionally, the mobile terminal 3 further includes:
a second processing unit 34, configured to determine the second time interval based on a second preset manner if the posture change value of the mobile terminal is greater than or equal to the posture threshold.
Optionally, the first processing unit 33 is further configured to:
taking the first time interval as a second time interval;
optionally, the second processing unit 34 is further configured to:
judging whether the difference value between the first time interval and a preset first threshold is smaller than a preset step length or not;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
Optionally, the first processing unit 33 is further configured to:
if the times that the attitude change value of the mobile terminal is continuously smaller than the attitude threshold value are larger than a first preset time, judging whether the difference value between the first time interval and a preset second threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset second threshold is smaller than a preset step length, taking the first time interval as a second time interval;
if the difference value between the first time interval and a preset second threshold is greater than or equal to a preset step length, increasing the preset step length of the first time interval to serve as a second time interval;
the second processing unit 34 is further configured to:
if the number of times that the attitude change value of the mobile terminal is not smaller than the attitude threshold value continuously is larger than a second preset number of times, judging whether the difference value between the first time interval and a preset first threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
Optionally, the obtaining unit 31 includes:
an obtaining module 311, configured to obtain attitude data of the mobile terminal in the first time interval, where the attitude data includes at least one of: angular displacement or angular rate measured by a gyroscope and linear acceleration measured by an acceleration sensor;
a movement track determination module 312, configured to calculate a movement track of the mobile terminal based on the posture data of the mobile terminal in the first time interval;
and the gesture change value determining module 313 is configured to determine a moving distance of the mobile terminal according to the moving track of the mobile terminal, and use the moving distance as the gesture change value of the mobile terminal.
Optionally, the attitude data is a gravitational acceleration measured by a gravitational acceleration sensor;
correspondingly, the attitude change value of the mobile terminal is the moving distance of the mobile terminal in the gravity direction.
Optionally, the mobile terminal 4 further includes:
and a circulation unit 45, configured to take the second time interval as the first time interval after determining the second time interval, and obtain an attitude change value of the mobile terminal.
It will be apparent to those skilled in the art that, for convenience and simplicity of description, the foregoing functional units and modules are merely illustrated in terms of division, and in practical applications, the foregoing functional allocation may be performed by different functional units and modules as needed, that is, the internal structure of the mobile terminal is divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the mobile terminal may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 4 is a schematic block diagram of a mobile terminal according to another embodiment of the present application. As shown in fig. 4, the mobile terminal 4 of this embodiment includes: one or more processors 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processors 40. The processor 40 executes the computer program 42 to implement the steps in the above-mentioned method embodiments of reminding the mobile terminal of information, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-described mobile terminal embodiment, such as the functions of the units 31 to 33 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the mobile terminal 4. For example, the computer program 42 may be divided into an acquisition unit, a determination unit, a first processing unit.
The mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an attitude change value of the mobile terminal in a preset state of the mobile terminal, and the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
the judging unit is used for judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value or not;
the first processing unit is configured to send out a reminding message if the posture change value of the mobile terminal is smaller than the posture threshold value, and determine a second time interval based on a first preset mode, where the reminding message is used to remind a user to adjust a posture for holding the mobile terminal, and the second time interval is a time interval from this time of obtaining the posture change value of the mobile terminal to the next time of obtaining the posture change value of the mobile terminal.
Other units or modules can be referred to the description of the embodiment shown in fig. 4, and are not described again here.
The mobile terminal includes, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is only one example of a mobile terminal 4 and is not intended to limit the mobile terminal 4 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the mobile terminal may also include input devices, output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the mobile terminal 4, such as a hard disk or a memory of the mobile terminal 4. The memory 41 may also be an external storage device of the mobile terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the mobile terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the mobile terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed mobile terminal and method may be implemented in other ways. For example, the above-described embodiments of the mobile terminal are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for reminding information of a mobile terminal is characterized by comprising the following steps:
when the mobile terminal is in a preset state, acquiring an attitude change value of the mobile terminal, wherein the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value;
if the posture change value of the mobile terminal is smaller than the posture threshold value, sending out reminding information, and determining a second time interval based on a first preset mode, wherein the reminding information is used for reminding a user to adjust the posture for holding the mobile terminal, and the second time interval is the time interval from the current acquisition of the posture change value of the mobile terminal to the next acquisition of the posture change value of the mobile terminal;
the determining the second time interval based on the first preset mode comprises:
if the times that the attitude change value of the mobile terminal is continuously smaller than the attitude threshold value are larger than a first preset time, judging whether the difference value between the first time interval and a preset second threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset second threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset second threshold is greater than or equal to a preset step length, increasing the preset step length of the first time interval to be used as a second time interval.
2. The method for reminding information of a mobile terminal according to claim 1, wherein after determining whether the attitude change value of the mobile terminal is smaller than the attitude threshold, the method further comprises:
and if the attitude change value of the mobile terminal is greater than or equal to the attitude threshold value, determining the second time interval based on a second preset mode.
3. The method for reminding information of a mobile terminal according to claim 2, wherein the determining the second time interval based on the second preset mode comprises:
judging whether the difference value between the first time interval and a preset first threshold is smaller than a preset step length or not;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
4. The method for reminding information of a mobile terminal according to claim 2,
the determining the second time interval based on the second preset manner includes:
if the number of times that the attitude change value of the mobile terminal is not smaller than the attitude threshold value continuously is larger than a second preset number of times, judging whether the difference value between the first time interval and a preset first threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset first threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset first threshold is greater than or equal to a preset step length, reducing the first time interval by the preset step length to be used as a second time interval.
5. The method for reminding information of a mobile terminal according to claim 1, wherein said obtaining the attitude change value of the mobile terminal comprises:
acquiring attitude data of the mobile terminal in the first time interval, wherein the attitude data comprises at least one of the following items: angular displacement or angular rate measured by a gyroscope and linear acceleration measured by an acceleration sensor;
calculating a movement track of the mobile terminal based on the attitude data of the mobile terminal in the first time interval;
and determining the moving distance of the mobile terminal according to the moving track of the mobile terminal, and taking the moving distance as the attitude change value of the mobile terminal.
6. The method for reminding information of a mobile terminal according to claim 5, wherein the attitude data is the acceleration of gravity measured by a gravitational acceleration sensor;
correspondingly, the attitude change value of the mobile terminal is the moving distance of the mobile terminal in the gravity direction.
7. The method for reminding information of a mobile terminal according to any of claims 2 to 6, characterized in that after determining the second time interval, the method further comprises:
and taking the second time interval as a first time interval, and acquiring the attitude change value of the mobile terminal.
8. A mobile terminal, comprising:
the mobile terminal comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring an attitude change value of the mobile terminal in a preset state of the mobile terminal, and the attitude change value is determined by attitude data of the mobile terminal acquired within a first time interval;
the judging unit is used for judging whether the attitude change value of the mobile terminal is smaller than an attitude threshold value or not;
the first processing unit is used for sending out reminding information if the posture change value of the mobile terminal is smaller than the posture threshold value, and determining a second time interval based on a first preset mode, wherein the reminding information is used for reminding a user to adjust the posture for holding the mobile terminal, and the second time interval is the time interval from the current acquisition of the posture change value of the mobile terminal to the next acquisition of the posture change value of the mobile terminal;
the first processing unit is further configured to:
if the times that the attitude change value of the mobile terminal is continuously smaller than the attitude threshold value are larger than a first preset time, judging whether the difference value between the first time interval and a preset second threshold value is smaller than a preset step length;
if the difference value between the first time interval and a preset second threshold is smaller than a preset step length, taking the first time interval as a second time interval;
and if the difference value between the first time interval and a preset second threshold is greater than or equal to a preset step length, increasing the preset step length of the first time interval to be used as a second time interval.
9. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by one or more processors, implements the steps of the method according to any one of claims 1 to 7.
CN201810883657.5A 2018-08-06 2018-08-06 Mobile terminal information reminding method, mobile terminal and storage medium Active CN110809083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810883657.5A CN110809083B (en) 2018-08-06 2018-08-06 Mobile terminal information reminding method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810883657.5A CN110809083B (en) 2018-08-06 2018-08-06 Mobile terminal information reminding method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110809083A CN110809083A (en) 2020-02-18
CN110809083B true CN110809083B (en) 2021-03-02

Family

ID=69487045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810883657.5A Active CN110809083B (en) 2018-08-06 2018-08-06 Mobile terminal information reminding method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110809083B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031774A (en) * 2021-03-24 2021-06-25 维沃移动通信有限公司 Prompting method and device
CN116170535A (en) * 2023-02-28 2023-05-26 联想(北京)有限公司 Processing method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102723003A (en) * 2012-05-28 2012-10-10 华为终端有限公司 Reading state reminding method and mobile terminal
WO2012166277A1 (en) * 2011-06-03 2012-12-06 Apple Inc. Motion-based device operations
CN103970277A (en) * 2014-05-27 2014-08-06 福建天晴数码有限公司 Method and device for healthy reading monitoring based on handheld electronic device
CN105681599A (en) * 2016-03-31 2016-06-15 维沃移动通信有限公司 Mobile terminal emergency help-seeking method and mobile terminal
CN105787237A (en) * 2014-12-24 2016-07-20 刁宇童 Read-write posture monitoring method and device
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN106055460A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Anti-addiction prompt method, and device of mobile terminal and mobile terminal
CN107277164A (en) * 2017-07-21 2017-10-20 重庆市端峰科技有限公司 A kind of children's long-distance intelligent monitor system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012166277A1 (en) * 2011-06-03 2012-12-06 Apple Inc. Motion-based device operations
CN102723003A (en) * 2012-05-28 2012-10-10 华为终端有限公司 Reading state reminding method and mobile terminal
CN103970277A (en) * 2014-05-27 2014-08-06 福建天晴数码有限公司 Method and device for healthy reading monitoring based on handheld electronic device
CN105787237A (en) * 2014-12-24 2016-07-20 刁宇童 Read-write posture monitoring method and device
CN105812551A (en) * 2014-12-31 2016-07-27 宇龙计算机通信科技(深圳)有限公司 Health warning and control method and system of terminal and mobile terminal
CN105681599A (en) * 2016-03-31 2016-06-15 维沃移动通信有限公司 Mobile terminal emergency help-seeking method and mobile terminal
CN106055460A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Anti-addiction prompt method, and device of mobile terminal and mobile terminal
CN107277164A (en) * 2017-07-21 2017-10-20 重庆市端峰科技有限公司 A kind of children's long-distance intelligent monitor system

Also Published As

Publication number Publication date
CN110809083A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN108765340B (en) Blurred image processing method and device and terminal equipment
CN109739223B (en) Robot obstacle avoidance control method and device, terminal device and storage medium
CN109274309B (en) Motor control method, motor control device, electronic device and storage medium
CN108875526B (en) Method, device and system for line-of-sight detection and computer storage medium
CN108292165A (en) Touch posture detection assessment
CN108211352A (en) A kind of method and terminal for adjusting image quality
CN107885544B (en) Application program control method, device, medium and electronic equipment
CN110764986B (en) Page fluency detection method and device
CN110809083B (en) Mobile terminal information reminding method, mobile terminal and storage medium
CN109117241B (en) Display direction control method, system and mobile terminal
CN112912889B (en) Image template updating method, device and storage medium
CN110287810B (en) Vehicle door motion detection method, device and computer readable storage medium
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN114385012A (en) Motion recognition method and device, electronic equipment and readable storage medium
CN111857369B (en) Method, device, terminal and storage medium for calibrating proximity sensor of mobile terminal
CN111637975B (en) Wrist temperature measuring method and device, wearable device and storage medium
CN112902988A (en) Parameter calibration method, device, terminal and storage medium
CN106445698B (en) Method and device for acquiring step counting data
CN112203131B (en) Prompting method and device based on display equipment and storage medium
CN110717467A (en) Head pose estimation method, device, equipment and storage medium
CN110992387A (en) Image processing method and device, electronic equipment and storage medium
CN107534700B (en) Information input method for terminal and terminal
CN107945016B (en) Variable value dimension increasing method and device and computer readable storage medium
CN113486802A (en) Method and device for providing eye protection mode, storage medium and mobile device
CN113130076A (en) Visual fatigue judgment method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant