CN104460998B - Message prompt method, message notifying device and terminal - Google Patents

Message prompt method, message notifying device and terminal Download PDF

Info

Publication number
CN104460998B
CN104460998B CN201410715364.8A CN201410715364A CN104460998B CN 104460998 B CN104460998 B CN 104460998B CN 201410715364 A CN201410715364 A CN 201410715364A CN 104460998 B CN104460998 B CN 104460998B
Authority
CN
China
Prior art keywords
blink
user
frequency
preset
time period
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
CN201410715364.8A
Other languages
Chinese (zh)
Other versions
CN104460998A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410715364.8A priority Critical patent/CN104460998B/en
Publication of CN104460998A publication Critical patent/CN104460998A/en
Application granted granted Critical
Publication of CN104460998B publication Critical patent/CN104460998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention is applied to the communications field, and there is provided a kind of message prompt method, message notifying device and terminal.Methods described includes:Detect the frequency of wink of user;When the frequency of wink of the user of detection is less than default frequency threshold, message notifying is sent, the message notifying includes the information of suggestion user rest.The embodiment of the present invention can when time for sending of message notifying it is more accurate.

Description

Message prompting method, message prompting device and terminal
Technical Field
The present invention belongs to the field of communications, and in particular, to a message prompting method, a message prompting device, and a terminal.
Background
With the popularization of terminals (such as smart phones and tablet computers), the frequency of using the terminals by users is higher and higher, and the using time is longer and longer. However, people pay attention to the convenience brought by the terminal and also pay attention to the influence of the terminal on human health.
At present, the existing method mainly determines whether the counted duration of using the terminal is greater than a preset threshold value by counting the duration of using the terminal by a user, and sends a rest prompt message when the counted duration of using the terminal is greater than the preset threshold value. However, in the method, whether the user is tired or not is estimated according to the use time of the terminal, and then whether the user sends the rest prompt information or not is selected, and the fatigue time of the user caused by using the terminal in different states is different, so that the rest prompt information is difficult to be sent at an accurate time point according to the existing method.
Disclosure of Invention
The embodiment of the invention provides a message prompting method, a message prompting device and a terminal, aiming at solving the problem that the rest prompting information is difficult to accurately send.
In a first aspect, a message prompting method is provided, and the method includes:
detecting a blink frequency of a user;
and when the detected blinking frequency of the user is less than a preset frequency threshold value, sending out a message prompt, wherein the message prompt comprises information for advising the user to take a rest.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the detecting a blink frequency of a user specifically includes:
determining a first blink statistical time period according to a predetermined active time period and a first percentage;
detecting the blink frequency of the user according to a first preset time interval in the first blink statistical time period;
or,
determining a second blink statistical time period according to the predetermined active time period and a second percentage;
detecting the blink frequency of the user according to a second preset time interval in the second blink statistical time period;
the first predetermined time interval is greater than the second predetermined time interval.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the detecting a blink frequency of a user specifically includes:
in the first blink statistical time period, if the time that the screen is in the blank screen is longer than a first preset time interval, detecting the blink frequency of the user while the screen is lighted next time;
and in the second blink statistical time period, if the time that the screen is in the blank screen is longer than a second preset time interval, detecting the blink frequency of the user while the screen is lighted next time.
With reference to the first aspect, in a third possible implementation manner of the first aspect, the sending a message prompt when the detected blink frequency of the user is less than a preset frequency threshold specifically includes:
judging whether the blink frequency of the user is detected to be smaller than a preset frequency threshold value for N +1 times continuously; the N is a natural number;
and sending out a message prompt when the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, after N consecutive times that the blink frequency of the user is detected to be smaller than a preset frequency threshold, the detecting the blink frequency of the user specifically includes:
and when detecting for N +1 times, detecting the blink frequency of the user according to a third preset time interval, wherein the third preset time interval is smaller than the second preset time interval.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the sending a message prompt when the detected blink frequency of the user is less than a preset frequency threshold specifically includes:
when the detected blink frequency of the user is smaller than a preset frequency threshold value, judging whether a preset application is in an operating state;
and sending out a message prompt when the preset application is not in the running state.
In a second aspect, a message prompting apparatus is provided, the apparatus comprising:
a blink frequency detection unit for detecting a blink frequency of the user;
and the message prompt sending unit is used for sending a message prompt when the detected blinking frequency of the user is less than a preset frequency threshold value, wherein the message prompt comprises information for advising the user to take a rest.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the blink frequency detection unit includes:
the first eye blink statistical time period determining module is used for determining a first eye blink statistical time period according to a predetermined active time period and a first percentage;
the first blink frequency detection module is used for detecting the blink frequency of the user according to a first preset time interval in the first blink statistical time period determined by the first blink statistical time period determination module;
a second blink statistical time period determination module, configured to determine a second blink statistical time period according to a predetermined active time period and a second percentage;
the second blink frequency detection module is used for detecting the blink frequency of the user according to a second preset time interval in a second blink statistical time period determined by the second blink statistical time period determination module;
the first predetermined time interval is greater than the second predetermined time interval.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the blink frequency detection unit includes:
a third blink frequency detection module, configured to detect the blink frequency of the user while the screen is lit next time in the first blink statistical time period determined by the first blink statistical time period determination module and when the time that the screen is on a black screen is greater than a first preset time interval;
and the fourth blink frequency detection module is used for detecting the blink frequency of the user when the screen is lighted next time in the second blink statistical time period determined by the second blink statistical time period determination module and the time of the screen being in the black screen is greater than a second preset time interval.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the message hint sending unit includes:
the continuous frequency judging module is used for judging whether the blink frequency of the user detected for N +1 times is smaller than a preset frequency threshold value or not; the N is a natural number;
and the information output module is used for sending out a message prompt when the continuous frequency judging module judges that the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the blink frequency detection unit includes:
and the fifth blink frequency detection module is used for detecting the blink frequency of the user according to a third preset time interval when detecting for N +1 times, wherein the third preset time interval is smaller than the second preset time interval.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, or the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the message prompt sending unit includes:
the application running judging module is used for judging whether the preset application is in a running state or not when the blink frequency of the detected user is smaller than a preset frequency threshold value;
and the message prompt pop-up module is used for sending out a message prompt when the application operation judgment module judges that the preset application is not in the operation state.
In a third aspect, a terminal is provided, where the terminal includes the above message prompting apparatus.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the terminal is a smart phone or a tablet computer.
In the embodiment of the invention, the blink frequency of the user is detected, and when the detected blink frequency of the user is smaller than a preset frequency threshold value, a message prompt is sent out. Because the user is usually in a fatigue state when the blinking frequency of the user is less than the preset frequency threshold, the message which includes the suggestion that the user has a rest is sent to remind the user when the blinking frequency of the user is less than the preset frequency threshold, so that the sending time of the message is more accurate.
Drawings
Fig. 1 is a flowchart of a message prompting method according to a first embodiment of the present invention;
fig. 2 is a structural diagram of a message presentation apparatus according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the embodiment of the invention, the blink frequency of the user is detected, and when the detected blink frequency of the user is smaller than a preset frequency threshold value, a message prompt is sent out, wherein the message prompt comprises information for advising the user to rest.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
fig. 1 shows a flowchart of a message prompting method according to a first embodiment of the present invention, in the embodiment of the present invention, a blink frequency of a user is detected to determine whether the user is in a fatigue state according to the blink frequency of the user, and further, whether to send a message prompt to prompt the user to rest is selected, which is detailed as follows:
in step S11, the blink frequency of the user is detected.
In the step, when the screen of the terminal is in a lighting state, it usually indicates that the user is using the terminal, and at this time, the eyes of the user can be detected by the front camera of the terminal, and then whether the user blinks or not is judged according to the opening and closing degree of the eyes.
In this step, a blink frequency of the user when the terminal is in a predetermined active time period is mainly detected, and the blink frequency refers to the number of blinks per unit time. The predetermined active time period may be a longer time period, such as 8:00 to 22: 00.
The step of detecting the blink frequency of the user specifically comprises the following steps:
a11, determining a first blink statistical time period according to the predetermined active time period and the first percentage. Wherein the active time period may be determined by: counting the time period of the screen lighting within a preset time period (such as a week and a month); and determining the active time period of the terminal according to the counted screen lighting time period and the alarm clock time set by the terminal. For example, assuming that the alarm time is 07:30 on monday through friday, and the time when the screen of the terminal is detected to be lit is 07:10 and 07:20 on thursday and friday, respectively, the start point of the active period of the terminal is set to 07:30 on monday through friday, based on the alarm time. In this step, the first percentage is multiplied by the active time period to obtain a value indicating a time corresponding to a percentage from front to back in the active time period, for example, assuming that the first percentage is 60%, it indicates that the time of the first 60% of the active time period of the terminal is set as the normal eye use time of the user, and the time is taken as the first blink statistical time period.
And A12, detecting the blink frequency of the user according to a first preset time interval in the first blink statistic time period. Wherein the first preset time interval may be set to 30 minutes. In the embodiment of the present invention, the time for detecting the blinking frequency of the user may be preset, for example, set to 5 minutes. I.e. the number of blinks of the user within 5 minutes is detected, and the frequency of blinks (blinks per minute) of the user is determined, the next detection being after the first preset time interval.
Or, the step of detecting the blink frequency of the user specifically includes:
a21, determining a second blink statistical time period according to the predetermined active time period and the second percentage. The value corresponding to the second percentage multiplied by the active time period represents the time corresponding to a percentage of the active time period from back to front, for example, assuming that the first percentage is 40%, it indicates that the time of the last 40% of the active time period of the terminal is set as the second blink statistical time period.
And A22, detecting the blink frequency of the user according to a second preset time interval in the second blink statistical time period. Wherein the second preset time interval may be set to 15 minutes.
The first predetermined time interval is greater than the second predetermined time interval.
In the above a11, a12, a21 and a22, the first percentage is greater than the second percentage, and specifically, the value obtained by adding the first percentage to the second percentage may be 100%, for example, the first percentage may be 70% and the second percentage may be 30%. Of course, two values which are not equal to 100% after the addition can be selected as the first percentage and the second percentage, which is not limited herein. Because the probability that the eye fatigue of the user occurs in the previous period of time in the active time period is smaller than the probability that the eye fatigue of the user occurs in the later period of time in the active time period, the first percentage is set to be larger than the second percentage, and the first preset time interval is set to be larger than the second preset time interval, so that the blink detection frequency of the camera in the previous period of time in the active time period is smaller than the blink detection frequency in the later period of time in the active time period, and the electricity consumption of the terminal is saved on the basis of ensuring the accuracy of the detection result.
Optionally, the step of detecting the blink frequency of the user specifically includes:
and in the first blink statistical time period, if the time that the screen is in the blank screen is longer than a first preset time interval, detecting the blink frequency of the user while the screen is lighted next time. For example, assuming that the first preset time interval is 30 minutes and the time when the screen is in a black screen is 40 minutes, the blink frequency of the user is not detected for 40 minutes when the screen is in a black screen, and the blink frequency of the user starts to be detected directly until the screen is lighted again.
And in the second blink statistical time period, if the time that the screen is in the blank screen is longer than a second preset time interval, directly detecting the blink frequency of the user while the screen is lighted next time. For example, assuming that the second preset time interval is 15 minutes and the time when the screen is in the black screen is 40 minutes, the blink frequency of the user is not detected for 40 minutes when the screen is in the black screen, and the blink frequency of the user starts to be detected directly until the screen is lighted again.
And step S12, when the detected blink frequency of the user is less than a preset frequency threshold value, sending out a message prompt, wherein the message prompt comprises information for advising the user to take a rest.
Wherein the preset frequency threshold may be determined by: within a preset statistical period (one week or one month): determining a statistical time period of the standard blink frequency according to a predetermined active time period and a third percentage, wherein a value obtained by multiplying the active time period by the third percentage is a time period corresponding to a percentage of the active time period from front to back, for example, assuming that the third percentage is 50%, the active time period x 50% represents the time of the first 50% of the active time period; counting the blink frequency of the user in the determined statistical time period of the standard blink frequency; and determining the average value of the blink frequency of the user in the statistical time period of the determined standard blink frequency in the preset statistical period (one week or one month), and taking the determined average value as a preset frequency threshold value. The third percentage may be equal to the first percentage, or equal to the second percentage, or of course, may not be equal, and is not limited herein. Assuming that the preset statistical period is 7 days, the blink frequency of the user in the statistical time period of the determined standard blink frequency is respectively as follows: 6. 7, 8, 9, 10, 11, 12, the preset frequency threshold value is (6+7+8+9+10+11+12)/7 is 9.
In this step, after the system determines that the user generates eyestrain, a pop-up window is provided to prompt the user: "the system detects that you may be eyestrain and whether to rest for a period of time before continuing use". Of course, the content of the sent message prompt may also be other content, and is not limited herein. After the user clicks and determines, if the terminal is detected to be still continuously active, after a certain interval time, continuously popping up a window to prompt the user. Otherwise, if the user detects that the terminal stops after clicking is determined, but the time length of stopping the terminal is less than the preset time length, the blinking frequency of the user is detected through steps a21 and a 22.
Wherein, when the detected blink frequency of the user is less than the preset frequency threshold, the step of sending out the message prompt specifically comprises:
and B1, judging whether the blink frequency of the user is detected to be less than a preset frequency threshold value for N +1 times continuously. The N is a natural number.
And B2, sending out a message prompt when the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
In the above B1 and B2, if N is 3, it is determined whether the blink frequency of the user is detected for 3 consecutive times and is less than the preset frequency threshold, and if so, a message prompt is issued.
Optionally, after detecting that the blink frequency of the user is smaller than the preset frequency threshold for N consecutive times, the step of detecting the blink frequency of the user specifically includes:
and detecting the blink frequency of the user according to a third preset time interval at the time of N +1 times of detection. The third preset time interval is smaller than the second preset time interval, for example, when the second preset time interval is 15 minutes, the third preset time interval may be set to 7 minutes, and of course, may also be set to other values, which is not limited herein. In this step, since the message prompt is sent out when the blink frequency of the user detected N +1 times is less than the preset frequency threshold, after the blink frequency of the user detected N times is less than the preset frequency threshold, that is, when the user is at the eye fatigue edge, the blink frequency of the user can be detected by using a third preset time interval which is less than the second preset time interval, so that the probability that the blink of the user is not detected due to too low detection frequency is reduced, and the detection accuracy is improved.
Optionally, the step of sending a message prompt when the detected blink frequency of the user is less than the preset frequency threshold specifically includes:
and C1, when the detected blink frequency of the user is smaller than a preset frequency threshold value, judging whether the preset application is in a running state.
And C2, when the preset application is not in the running state, sending out a message prompt.
In C1 and C2, the preset applications include game applications, streaming media playing applications, and the like. For example, no message prompt pops up to disturb the user when it is determined that the game is running, and/or the system is continuously inputting text, and/or the streaming media playing interface is running, otherwise, the message prompt pops up.
In the first embodiment of the invention, the blink frequency of the user is detected, and when the detected blink frequency of the user is smaller than a preset frequency threshold value, a message prompt is sent out, wherein the message prompt comprises information for advising the user to rest. Because the user blinks too frequently, and the blinking frequency is less than the preset frequency threshold value, the user is usually in a fatigue state, therefore, when the blinking frequency of the user is less than the preset frequency threshold value, the information including the suggestion that the user has a rest is sent out to remind the user, and the message sending time is more accurate.
It should be understood that, in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the 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 embodiment of the present invention.
Example two:
fig. 2 shows a block diagram of a message alert apparatus according to a second embodiment of the present invention, which is applicable to a terminal, which may include user equipment communicating with one or more core networks via a radio access network RAN, the user equipment may be a mobile telephone (or "cellular" telephone), a computer with mobile equipment, etc., and the user equipment may also be a portable, pocket, hand-held, computer-included or vehicle-mounted mobile apparatus, for example, which exchanges voice and/or data with the radio access network. Also for example, the mobile device may include a smartphone, a tablet computer, a Personal Digital Assistant (PDA), a point-of-sale (POS) or a vehicle-mounted computer, etc. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
Wherein, this message suggestion device includes: a blink frequency detection unit 21 and a message prompt sending unit 22. Wherein:
a blink frequency detection unit 21 for detecting a blink frequency of the user when the screen is lit.
Optionally, the blink frequency detection unit 21 includes:
a first blink statistical time period determination module for determining a first blink statistical time period according to a predetermined active time period and a first percentage. Wherein the active time period may be determined by: counting the time period of the screen lighting within a preset time period (such as a week and a month); and determining the active time period of the terminal according to the counted time period of the lighted screen and the alarm clock time set by the terminal.
And the first blink frequency detection module is used for detecting the blink frequency of the user according to a first preset time interval in the first blink statistical time period determined by the first blink statistical time period determination module. Wherein the first preset time interval may be set to 30 minutes. In the embodiment of the invention, the time for detecting the blink frequency of the user each time can be preset.
And the second blink statistic time period determining module is used for determining a second blink statistic time period according to the predetermined active time period and the second percentage.
And the second blink frequency detection module is used for detecting the blink frequency of the user according to a second preset time interval in the second blink statistical time period determined by the second blink statistical time period determination module. Wherein the second preset time interval may be set to 15 minutes.
The first predetermined time interval is greater than the second predetermined time interval.
The first percentage is greater than the second percentage, and specifically, the value obtained by adding the first percentage to the second percentage may be 100%, for example, the first percentage may be 70% and the second percentage may be 30%. Of course, two values which are not equal to 100% after the addition can be selected as the first percentage and the second percentage, which is not limited herein.
Optionally, the blink frequency detection unit 21 includes:
and the third blink frequency detection module is used for detecting the blink frequency of the user when the screen is lighted next time in the first blink statistical time period determined by the first blink statistical time period determination module and the time of the screen being in the black screen is greater than the first preset time interval.
And the fourth blink frequency detection module is used for detecting the blink frequency of the user when the screen is lighted next time in the second blink statistical time period determined by the second blink statistical time period determination module and the time of the screen being in the black screen is greater than a second preset time interval.
And a message prompt sending unit 22, configured to send a message prompt when the detected blink frequency of the user is less than a preset frequency threshold, where the message prompt includes information that suggests the user to take a rest.
Wherein the preset frequency threshold may be determined by: within a preset statistical period (one week or one month): determining a statistical time period of the standard blink frequency according to a predetermined active time period and a third percentage; counting the blink frequency of the user in the determined statistical time period of the standard blink frequency; and determining the average value of the blink frequency of the user in the statistical time period of the determined standard blink frequency in the preset statistical period (one week or one month), and taking the determined average value as a preset frequency threshold value. Wherein the third percentage may be equal to the first percentage, or equal to the second percentage, or of course, may not be equal.
Optionally, the message prompt issuing unit 22 includes:
and the continuous frequency judging module is used for judging whether the blink frequency of the user is detected to be less than a preset frequency threshold value for N +1 times continuously. The N is a natural number.
And the information output module is used for sending out a message prompt when the continuous frequency judging module judges that the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
Optionally, after detecting that the blink frequency of the user is smaller than the preset frequency threshold value N consecutive times, the blink frequency detection unit 21 includes:
and the fifth blink frequency detection module is used for detecting the blink frequency of the user according to a third preset time interval when the N +1 times of detection are carried out. Wherein the third preset time interval is smaller than the second preset time interval. Because the message prompt is sent when the blink frequency of the user detected for N +1 times is smaller than the preset frequency threshold, after the blink frequency of the user detected for N times is smaller than the preset frequency threshold, namely when the user is at the eye fatigue edge, the blink frequency of the user can be detected by adopting a third preset time interval smaller than a second preset time interval, so that the probability that the blink of the user is not detected due to too low detection frequency is reduced, and the detection accuracy is improved.
Optionally, the message prompt issuing unit 22 includes:
and the application running judging module is used for judging whether the preset application is in a running state or not when the detected blink frequency of the user is smaller than a preset frequency threshold value. The preset application comprises a game application, a streaming media playing application and the like.
And the message prompt pop-up module is used for sending out a message prompt when the application operation judgment module judges that the preset application is not in the operation state.
When the preset application is detected to be in operation, the message prompt is not popped up, so that the display screen of the running application is not influenced.
In the second embodiment of the invention, because the user blinks too frequently, and when the blinking frequency is less than the preset frequency threshold, the user is usually in a fatigue state, when the blinking frequency of the user is less than the preset frequency threshold, the message which includes a suggestion that the user has a rest is sent out to remind the user, so that the message sending time is more accurate.
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 invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the 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 invention 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for message prompting, the method comprising:
detecting a blink frequency of a user;
when the detected blink frequency of the user is smaller than a preset frequency threshold value, sending a message prompt, wherein the message prompt comprises information for advising the user to rest;
the detecting the blink frequency of the user specifically comprises:
determining a first blink statistical time period according to a predetermined active time period and a first percentage;
detecting the blink frequency of the user according to a first preset time interval in the first blink statistical time period;
or,
determining a second blink statistical time period according to the predetermined active time period and a second percentage;
detecting the blink frequency of the user according to a second preset time interval in the second blink statistical time period;
the first percentage is larger than a second percentage, a numerical value obtained by multiplying the first percentage by the active time period represents time corresponding to a percentage of the active time period counted from front to back, a numerical value corresponding to the second percentage multiplied by the active time period represents time corresponding to a percentage of the active time period counted from back to front, and the first preset time interval is larger than the second preset time interval.
2. The method of claim 1, wherein detecting the blink frequency of the user comprises:
in the first blink statistical time period, if the time that the screen is in the blank screen is longer than a first preset time interval, detecting the blink frequency of the user while the screen is lighted next time;
and in the second blink statistical time period, if the time that the screen is in the blank screen is longer than a second preset time interval, detecting the blink frequency of the user while the screen is lighted next time.
3. The method of claim 1, wherein issuing a message prompt when the detected blink frequency of the user is less than a preset frequency threshold comprises:
judging whether the blink frequency of the user is detected to be smaller than a preset frequency threshold value for N +1 times continuously; the N is a natural number;
and sending out a message prompt when the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
4. The method of claim 3, wherein detecting the blink frequency of the user after detecting the blink frequency of the user for N consecutive times is less than a preset frequency threshold value comprises:
and when detecting for N +1 times, detecting the blink frequency of the user according to a third preset time interval, wherein the third preset time interval is smaller than the second preset time interval.
5. The method according to any one of claims 1 to 4, wherein the sending out the message prompt when the detected blink frequency of the user is less than a preset frequency threshold specifically comprises:
when the detected blink frequency of the user is smaller than a preset frequency threshold value, judging whether a preset application is in an operating state;
and sending out a message prompt when the preset application is not in the running state.
6. A message prompting apparatus, the apparatus comprising:
a blink frequency detection unit for detecting a blink frequency of the user;
the message prompt sending unit is used for sending a message prompt when the detected blink frequency of the user is smaller than a preset frequency threshold value, wherein the message prompt comprises information for advising the user to have a rest;
the blink frequency detection unit includes:
the first eye blink statistical time period determining module is used for determining a first eye blink statistical time period according to a predetermined active time period and a first percentage;
the first blink frequency detection module is used for detecting the blink frequency of the user according to a first preset time interval in the first blink statistical time period determined by the first blink statistical time period determination module;
a second blink statistical time period determination module, configured to determine a second blink statistical time period according to a predetermined active time period and a second percentage;
the second blink frequency detection module is used for detecting the blink frequency of the user according to a second preset time interval in a second blink statistical time period determined by the second blink statistical time period determination module;
the first percentage is larger than a second percentage, a numerical value obtained by multiplying the first percentage by the active time period represents time corresponding to a percentage of the active time period counted from front to back, a numerical value corresponding to the second percentage multiplied by the active time period represents time corresponding to a percentage of the active time period counted from back to front, and the first preset time interval is larger than the second preset time interval.
7. The apparatus of claim 6, wherein the blink frequency detection unit comprises:
a third blink frequency detection module, configured to detect the blink frequency of the user while the screen is lit next time in the first blink statistical time period determined by the first blink statistical time period determination module and when the time that the screen is on a black screen is greater than a first preset time interval;
and the fourth blink frequency detection module is used for detecting the blink frequency of the user when the screen is lighted next time in the second blink statistical time period determined by the second blink statistical time period determination module and the time of the screen being in the black screen is greater than a second preset time interval.
8. The apparatus of claim 6, wherein the message alert issuing unit comprises:
the continuous frequency judging module is used for judging whether the blink frequency of the user detected for N +1 times is smaller than a preset frequency threshold value or not; the N is a natural number;
and the information output module is used for sending out a message prompt when the continuous frequency judging module judges that the blink frequency of the user detected for N +1 times is less than a preset frequency threshold value.
9. The apparatus of claim 8, wherein the blink frequency detection unit comprises:
and the fifth blink frequency detection module is used for detecting the blink frequency of the user according to a third preset time interval when detecting for N +1 times, wherein the third preset time interval is smaller than the second preset time interval.
10. The apparatus according to any one of claims 6 to 9, wherein the message alert issuing unit includes:
the application running judging module is used for judging whether the preset application is in a running state or not when the blink frequency of the detected user is smaller than a preset frequency threshold value;
and the message prompt pop-up module is used for sending a message prompt when the application operation judgment module judges that the preset application is not in the operation state.
11. A terminal, characterized in that it comprises a message alert device according to any one of claims 6 to 10.
12. The terminal of claim 11, wherein the terminal is a smartphone or a tablet.
CN201410715364.8A 2014-11-28 2014-11-28 Message prompt method, message notifying device and terminal Active CN104460998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410715364.8A CN104460998B (en) 2014-11-28 2014-11-28 Message prompt method, message notifying device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410715364.8A CN104460998B (en) 2014-11-28 2014-11-28 Message prompt method, message notifying device and terminal

Publications (2)

Publication Number Publication Date
CN104460998A CN104460998A (en) 2015-03-25
CN104460998B true CN104460998B (en) 2017-07-28

Family

ID=52907190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410715364.8A Active CN104460998B (en) 2014-11-28 2014-11-28 Message prompt method, message notifying device and terminal

Country Status (1)

Country Link
CN (1) CN104460998B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811551B (en) * 2015-04-10 2018-07-20 广东欧珀移动通信有限公司 A kind of terminal screen control method and terminal
CN105448043A (en) * 2015-12-10 2016-03-30 上海理工大学 Reminder and pair of reminding glasses thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012128523A (en) * 2010-12-13 2012-07-05 Canon Inc Information processing device and operating method thereof
CN103426275A (en) * 2013-08-01 2013-12-04 步步高教育电子有限公司 Device, desk lamp and method for detecting eye fatigue
KR101368982B1 (en) * 2013-04-26 2014-03-03 (주) 와이즈스톤 Application operating device using eye blinking detection and method thereof
CN104090384A (en) * 2014-06-30 2014-10-08 广东九联科技股份有限公司 Glasses capable of monitoring blinking and method for monitoring blinking
CN104142583A (en) * 2014-07-18 2014-11-12 广州市香港科大霍英东研究院 Intelligent glasses with blinking detection function and implementation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012128523A (en) * 2010-12-13 2012-07-05 Canon Inc Information processing device and operating method thereof
KR101368982B1 (en) * 2013-04-26 2014-03-03 (주) 와이즈스톤 Application operating device using eye blinking detection and method thereof
CN103426275A (en) * 2013-08-01 2013-12-04 步步高教育电子有限公司 Device, desk lamp and method for detecting eye fatigue
CN104090384A (en) * 2014-06-30 2014-10-08 广东九联科技股份有限公司 Glasses capable of monitoring blinking and method for monitoring blinking
CN104142583A (en) * 2014-07-18 2014-11-12 广州市香港科大霍英东研究院 Intelligent glasses with blinking detection function and implementation method thereof

Also Published As

Publication number Publication date
CN104460998A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN107643977B (en) Anti-addiction method and related product
CN104869248B (en) The method and device of information of mobile terminal prompt
US10264085B2 (en) Method and device for presenting push notifications
CN105068974B (en) Information processing method and electronic equipment
CN106534572A (en) Information display method and device and terminal
CN104866200B (en) Wake up the method, apparatus and handheld device of handheld device
CN108616662A (en) application control method, electronic device and computer readable storage medium
CN104751066A (en) Information processing method and device
CN106791231B (en) Crank call processing method and device
CN108121631B (en) Screen abnormal state reminding method and device
CN108616654A (en) Method, apparatus, terminal and the computer readable storage medium of prompting message
CN108234293B (en) Expression management method, expression management device and intelligent terminal
CN107704613A (en) A kind of approaches to IM, terminal and computer-readable recording medium
CN107729781A (en) The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium
CN108683588B (en) Message management method, message management device and mobile terminal
CN106776223B (en) Method and device for managing use duration of mobile equipment
CN108347533A (en) A kind of message display and answering method and terminal
CN104460998B (en) Message prompt method, message notifying device and terminal
CN105898050A (en) Event reminder management method and event reminder management device
CN107765947A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN105718142B (en) A kind of status bar notification message display methods and mobile terminal
CN108304123B (en) Page display control method and related product
CN114063786A (en) Operation execution method and device, electronic equipment and readable storage medium
CN113051014A (en) Eye protection prompting method and device, storage medium and computer equipment
CN109275070B (en) Early warning prompting method and device for preventing microphone from being damaged and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP03 Change of name, title or address