WO2022021354A1 - Notification prompting method, mobile terminal, and computer storage medium - Google Patents

Notification prompting method, mobile terminal, and computer storage medium Download PDF

Info

Publication number
WO2022021354A1
WO2022021354A1 PCT/CN2020/106275 CN2020106275W WO2022021354A1 WO 2022021354 A1 WO2022021354 A1 WO 2022021354A1 CN 2020106275 W CN2020106275 W CN 2020106275W WO 2022021354 A1 WO2022021354 A1 WO 2022021354A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
screen
prompt
preset
mobile terminal
Prior art date
Application number
PCT/CN2020/106275
Other languages
French (fr)
Chinese (zh)
Inventor
沈剑锋
池文羽
张光龙
周瑜
汪智勇
刘雄伟
Original Assignee
深圳传音控股股份有限公司
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 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Priority to CN202080102372.9A priority Critical patent/CN115917505A/en
Priority to PCT/CN2020/106275 priority patent/WO2022021354A1/en
Publication of WO2022021354A1 publication Critical patent/WO2022021354A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a notification prompting method, a mobile terminal and a computer storage medium.
  • notification push method of the application is relatively simple, and cannot be intelligently pushed according to the characteristics of software and hardware and user needs, thereby affecting the user experience.
  • Notification push occurs frequently in terminal devices, and the method of notification push in the prior art is relatively simple. If the push notification function of all applications is enabled unconditionally, it will interfere more with the user. If the push notification function of some applications is turned off or only enabled, the user may miss important notifications, which is not conducive to improving the user experience.
  • the purpose of this application is to provide a notification prompting method, a mobile terminal and a computer storage medium, which can realize the purpose of intelligent push notification and power consumption reduction.
  • the present application relates to a notification prompt method, which is applied to a mobile terminal, including:
  • the state information includes at least one of the following: motion state, screen state, occlusion state, running state; and/or,
  • the meeting the first preset condition includes at least one of the following:
  • the mobile terminal is in a preset motion state
  • the screen of the mobile terminal is in an off-screen state
  • the screen of the mobile terminal is in a blocked state
  • the operation of the mobile terminal is in a stuck state.
  • the meeting the second preset condition includes at least one of the following:
  • the sender of the notification is the default sender
  • the information content of the notification includes preset information content
  • the application to which the notification belongs is a preset application
  • the notification time of the notification is within a preset time period
  • the notification receiving frequency reaches the preset frequency
  • the notification receiving interval is greater than or equal to the preset screen-on prompting interval.
  • the preset strategy includes at least one of the following:
  • Full-text notification partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompt, screen-on prompt, bell prompt, voice prompt, light prompt, and vibration prompt.
  • step S13 includes:
  • the screen will be turned on with normal brightness.
  • the method further includes:
  • the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
  • the prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
  • step S13 includes:
  • the ringing prompt is played according to the volume.
  • determining the volume of the ringing prompt according to the notification includes at least one of the following:
  • the volume is the first preset volume value
  • the volume is the second preset volume value.
  • the method further includes:
  • the notification is given by at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt.
  • the present application also provides a second notification prompt method, applied to a mobile terminal, including:
  • the notification information includes at least one of sender, notification information content, application to which it belongs, notification time, notification frequency, and notification interval; and/or,
  • the state information includes at least one of motion state, screen state, occlusion state, and running state.
  • the meeting the preset condition includes at least one of the following:
  • the sender of the notification is the default sender
  • the information content of the notification includes preset information content
  • the application to which the notification belongs is a preset application
  • the notification time of the notification is within a preset time period
  • the notification frequency of the notification reaches the preset frequency
  • the notification interval of the notification is greater than the preset bright screen prompt interval
  • the mobile terminal is in a preset motion state
  • the screen of the mobile terminal is in an off-screen state
  • the screen of the mobile terminal is in a blocked state
  • the operation of the mobile terminal is in a stuck state.
  • the preset mode includes at least one of the following:
  • Smart reminder mode do not disturb mode, conference mode, sleep mode, driving mode, outdoor mode.
  • the preset strategy includes at least one of the following:
  • Full-text notification partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompt, screen-on prompt, bell prompt, voice prompt, light prompt, and vibration prompt.
  • the step S13 includes:
  • the screen will be turned on with normal brightness.
  • the method further includes:
  • the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
  • the prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
  • the step S23 includes:
  • the ringing prompt is played according to the volume.
  • the determining the volume of the ringing prompt according to the notification includes at least one of the following:
  • the volume is a first preset volume value
  • the volume is a second preset volume value.
  • the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompting conditions, at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt is used. hint.
  • the present application also provides a third notification prompt method, which is applied to a mobile terminal, including:
  • the bright screen prompting strategy is executed, and the screen brightening prompting strategy includes a low brightness bright screen.
  • the judging whether the mobile terminal is in an off-screen state and allows the screen to be on includes:
  • the mobile terminal determines whether the mobile terminal satisfies a preset condition, and the preset condition includes at least one of enabling the Do Not Disturb mode, locking the screen notification, enabling the security lock screen, and disabling the screen-on prompt function. item;
  • the feature information of the notification includes at least one of the application to which the notification belongs, the notification time, the receiving frequency, and the screen-on prompting interval;
  • the state information of the mobile terminal includes motion state, blocking At least one of status, battery status, application usage status, and screen-on prompt time period.
  • the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
  • the notification satisfies the screen-on prompt condition.
  • the screen-on prompt list is updated according to the feedback ranking of the application market.
  • the determining whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
  • the notification satisfies the screen-on prompt condition.
  • the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
  • the notification satisfies the screen-on prompt condition.
  • the method further includes:
  • the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
  • the notification satisfies the screen-on prompting condition.
  • the frequency of receiving notifications is greater than a preset frequency, including:
  • the total frequency of receiving notifications is greater than the preset total frequency
  • the frequency of receiving notifications of the same application is greater than the preset first frequency.
  • the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
  • the mobile terminal If the mobile terminal is not in a motion state and/or a blocking state, determine whether the receiving interval of the notification is greater than the screen-on prompt interval corresponding to the application to which it belongs;
  • the notification satisfies the screen-on prompt condition.
  • the performing a bright screen prompting strategy includes:
  • the screen brightness of the low-brightness bright screen is lower than the normal brightness when the mobile terminal brightens the screen
  • the bright screen prompting strategy further includes:
  • the notification is prompted by at least one of vibration prompts, ring prompts, and voice prompts;
  • the prompting time of the low-brightness bright screen is lower than the screen sleep time of the mobile terminal.
  • the method further includes:
  • the notification is prompted by at least one of a vibration prompt, a ring prompt, and a voice prompt.
  • the present application also provides a mobile terminal, including: a memory and a processor;
  • the memory stores at least one program instruction
  • the processor implements the above notification prompting method by loading and executing the at least one program instruction.
  • the present application also provides a computer storage medium, where computer program instructions are stored thereon; when the computer program instructions are executed by a processor, the above-mentioned notification prompting method is implemented.
  • the notification prompting method, terminal and computer storage medium of the present application the notification prompting method is applied to a mobile terminal, including: S11.
  • a notification When receiving a notification, judging whether the state information of the mobile terminal satisfies a first preset condition; S12. If so, judging a notification Whether the second preset condition is met; S13, if yes, prompt according to the preset strategy.
  • the invention also discloses a mobile terminal and a computer storage medium. In the above manner, the purposes of intelligent push notification and power consumption reduction can be achieved.
  • FIG. 1 is a schematic flowchart of a notification prompt method according to a first embodiment
  • FIG. 2 is a schematic diagram of the effect of the notification prompting method shown according to the first embodiment
  • FIG. 3 is a schematic flowchart of a notification prompting method according to a second embodiment
  • FIG. 4 is a schematic flowchart of a notification prompting method according to a third embodiment
  • FIG. 5 is a schematic flowchart of a notification prompting method according to a fourth embodiment
  • FIG. 6 is a schematic flowchart of a notification prompt method according to a fifth embodiment
  • FIG. 7 is one of the schematic structural diagrams of the terminal shown according to the sixth embodiment.
  • FIG. 8 is a second schematic structural diagram of the terminal shown in FIG. 7 .
  • first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document.
  • the word “if” as used herein can be interpreted as “at the time of” or “when” or “in response to determining”, depending on the context.
  • the singular forms "a,” “an,” and “the” are intended to include the plural forms as well, unless the context dictates otherwise.
  • step codes such as S11 and S12 are used, the purpose of which is to express the corresponding content more clearly and briefly, and does not constitute a substantial restriction on the sequence.
  • S12 will be executed first and then S11, etc., but these should all fall within the protection scope of this application.
  • Step S11 when receiving the notification, determine whether the state information of the mobile terminal satisfies the first preset condition
  • Step S12 if yes, determine whether the notification meets the second preset condition
  • Step S13 If yes, prompt according to the preset strategy.
  • the mobile terminal in this embodiment may be a PC, or may be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Player, Portable Computer with Display Function, etc. terminal equipment, etc.
  • MP3 Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4
  • Player Portable Computer with Display Function, etc. terminal equipment, etc.
  • the mobile terminal After receiving the notification message of the application, the mobile terminal first determines whether the first preset condition is satisfied according to the state information of the mobile terminal.
  • the state information of the mobile terminal includes: motion state, screen state, occlusion state, running state, and the like.
  • a preset motion state such as an acceleration state or a static state
  • the screen of the mobile terminal is in an off-screen state
  • the screen of the mobile terminal is in a blocking state (such as placed in a pocket or bag, or placed with the screen facing down on the screen) desktop, etc.)
  • the operation of the mobile terminal is in a stuck state (for example, the CPU or memory usage exceeds a preset threshold, such as 80%; or multiple applications that occupy resources are open or running; or the mobile terminal
  • a preset threshold such as 80%
  • multiple applications that occupy resources are open or running
  • the mobile terminal When the running speed is slow and unsmooth), it is determined that the state information of the mobile terminal satisfies the first preset condition.
  • the notification meets the second preset condition, when the sender of the notification is the preset sender, or the information content of the notification includes the preset information content; or the application to which the notification belongs is a preset application; or the notification of the notification
  • the time is within the preset time period; or the notification receiving frequency reaches the preset frequency; or when the notification receiving interval is greater than or equal to the preset bright screen prompting interval, the second preset condition is met, and the notification is prompted according to the preset strategy.
  • the preset strategy includes: full-text notification display, notification partial display, full-screen notification display, partial display notification, preset time point prompt, preset duration prompt, scheduled time point prompt, bright screen prompt, bell prompt, voice prompt Prompt, light prompt, vibration prompt waiting. If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, it will be prompted by means of a bell prompt, a voice prompt, a light prompt, and a vibration prompt.
  • FIG. 2 is a schematic diagram showing the effect of the notification prompting method according to the first embodiment.
  • the full text of the notification of APP1 is displayed on the screen, and the notification display interface occupies part of the screen of the mobile terminal, that is, the notification is displayed locally, which can be used as the screen of the mobile terminal in the off-screen state, and APP1 belongs to the preset
  • the notification notification policy of the application which is applicable to the general notification push situation.
  • APP2 displays the full text of the notification, and the notification display interface occupies the full screen, that is, the notification is displayed in full screen, which can be used as a mobile terminal in a stationary state, and the information content of the notification includes preset information content, such as "emergency", Notification reminder strategy for words such as "Important”, “Meeting”, “Itinerary”, “Transfer”, etc.
  • preset information content such as "emergency”
  • Notification reminder strategy for words such as "Important”, “Meeting”, “Itinerary”, “Transfer”, etc.
  • bright screen display, bell reminder, etc. can be added, which is suitable for push reminders for important notifications.
  • the notification message will be prompted to brighten the screen according to a preset brightness, and the preset brightness can be set to be lower than the normal screen brightness value to save power consumption.
  • the notification When receiving operation information (such as user clicks, swipes, voice control commands, etc.), the notification will be displayed on the screen with normal brightness.
  • the screen is prompted with a preset brightness
  • notifications can also be prompted by means of bell prompts, voice prompts, light prompts, vibration prompts, etc., where the light prompts can be indicator lights, flashing lights, breathing lights, etc.
  • the volume of the ringing reminder can be determined according to the notification, and the volume of the ringing reminder is played according to the notification.
  • the volume of the ringing prompt is set to be higher than the normal mobile phone prompt tone, so as to prevent the user from missing important notification prompts.
  • the volume of the ringing prompt can be determined according to the notification. If the notification meets the second preset condition, the volume is the first preset volume value; if the notification does not meet the second preset condition, the volume is the second preset volume value.
  • sender A is the default sender, set its corresponding notification volume value to 10, and sender B is not the default sender, set its corresponding notification volume value to 5;
  • the text content of the notification When it contains sensitive information such as "bank”, “emergency”, “important”, “meeting”, “itinerary”, “transfer” or personal information preset by the user, set the corresponding notification volume value to 10, and the text content does not contain
  • the application to which the notification belongs is a preset application such as WeChat, set the corresponding notification volume value to 10, and other applications to set the volume value to 5;
  • the notification time of the notification In the preset time period such as 8:00-22:00, set the corresponding notification volume value to 10, and set the notification volume value to 5 in other time periods;
  • the notification receiving frequency reaches the preset frequency, such as notifications received within eight hours If it is less than one time, set the notification volume value to 10, and if the notification frequency is higher than one time, set the volume value to 5;
  • FIG. 2 is a schematic flowchart of a notification prompting method according to a second embodiment.
  • the notification prompting method of this embodiment applied to a mobile terminal, includes:
  • Step S21 judging whether the received notification information and/or the state information of the mobile terminal satisfies a preset condition
  • Step S22 if yes, determine whether the mobile terminal is in a preset mode
  • Step S23 if yes, prompt according to the preset strategy.
  • the notification information includes sender, notification information content, application to which it belongs, notification time, notification frequency, notification interval, etc.; status information includes motion status, screen status, and occlusion status (such as when placed in a pocket or bag). , or on a table with the screen facing down, etc.), running status, etc.
  • the sender of the notification is the preset sender; or the information content of the notification includes the preset information content; or the application to which the notification belongs is the preset application ; or the notification time of the notification is within the preset time period; or the notification frequency of the notification reaches the preset frequency; or the notification interval of the notification is greater than the preset bright screen prompt interval; or the mobile terminal is in a preset motion state; or the screen of the mobile terminal is in The screen is off; or the screen of the mobile terminal is blocked (for example, it is placed in a pocket or bag, or the screen is placed on the table with the screen facing down, etc.); or the operation of the mobile terminal is stuck (for example, the CPU or memory usage exceeds A preset threshold, such as 80%; or when multiple applications that occupy resources are all open or running; or when the mobile terminal runs slowly and unsmoothly), the preset conditions are met.
  • a preset threshold such as 80%; or when multiple applications that occupy resources are all open or running; or when the mobile terminal runs slowly and uns
  • the preset mode may include: smart reminder mode, do not disturb mode, conference mode, sleep mode, driving mode, outdoor mode, and the like.
  • the preset policies include: full-text notification, partial notification, full-screen notification, partial notification, preset time point and/or preset duration prompt, screen bright prompt, bell prompt, voice prompt, light prompt, and vibration prompt. If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, it will be prompted by means of a bell prompt, a voice prompt, a light prompt, and a vibration prompt.
  • the sender of the notification is the default sender
  • the default mode of the mobile terminal is the smart reminder mode
  • the reminder strategy of displaying the full text of the notification and brightening the screen is used.
  • the information content of the notification includes preset content, such as user personal information, and when the preset mode of the mobile terminal is the outdoor mode, the notification is displayed on a full screen and a bell prompts, so that the user can view all the information in time.
  • the application of the notification is the default application, and when the default mode of the mobile terminal is the driving mode, the full text of the notification is displayed and the content of the notification is broadcast by voice, which prevents the user from directly viewing the notification, interferes with driving safety, and improves the user experience.
  • the notification message is prompted with a preset brightness, and the preset brightness can be set to be lower than the normal screen brightness to save power consumption.
  • the notification will be displayed on the screen with normal brightness.
  • the screen is prompted with a preset brightness
  • notifications can also be prompted by means of bell prompts, voice prompts, light prompts, vibration prompts, etc., where the light prompts can be indicator lights, flashing lights, breathing lights, etc.
  • the volume of the ringing reminder can be determined according to the notification, and the volume of the ringing reminder is played according to the notification.
  • the volume of the ringing prompt is set to be higher than the normal mobile phone prompt tone, so as to prevent the user from missing important notification prompts.
  • the volume of the ringing prompt can be determined according to the notification. If the notification meets the second preset condition, the volume is the first preset volume value; if the notification does not meet the second preset condition, the volume is the second preset volume value.
  • sender A is the default sender, set its corresponding notification volume value to 10
  • sender B is not the default sender, set its corresponding notification volume value to 5
  • the text content of the notification When it contains sensitive information such as "bank” or user-preset personal information, set the corresponding notification volume value to 10; when the text content does not contain the above sensitive information, set the corresponding notification volume value to 5
  • the application to which the notification belongs is For default applications such as WeChat, set the corresponding notification volume value to 10, and other applications to set the volume value to 5;
  • the notification time of the notification is set in the preset time period such as 8:00-22:00, and the corresponding notification is set
  • the volume value is 10, and the notification volume value is set to 5 in other time periods;
  • the notification reception frequency reaches the preset frequency, such as when the notification received within eight hours is less than once, set the notification volume value to 10, and if the notification frequency is higher than once Set the volume value to 5; the notification reception interval is greater than or equal to the preset screen bright prompt interval
  • the preset screen bright prompt interval is one minute and the notification receiving interval is less than one minute, set the notification volume value to 10. In this way, not only the power consumption of the mobile terminal can be reduced, but also the intelligence of the notification prompt can be improved, and the user experience can be further improved.
  • FIG. 4 is a schematic flowchart of a notification prompting method according to a third embodiment. Please refer to FIG. 4 , the notification prompting method of this embodiment includes:
  • Step 201 when a notification is received, determine whether the mobile terminal is in a screen-off state and is allowed to turn on the screen;
  • Step 202 If the screen is off and the screen is allowed to be on, then according to the feature information of the notification and/or the status information of the mobile terminal, determine whether the notification satisfies the screen-on prompt condition;
  • Step 203 If the screen brightening prompt condition is satisfied, the bright screen prompting strategy is executed, and the bright screen prompting strategy includes a low brightness bright screen.
  • step 201 of this embodiment after receiving the notification message, it is judged according to the screen state of the mobile terminal whether the notification meets the condition of the screen-on notification. Specifically, firstly, whether the mobile terminal is in the off-screen state, and secondly, it is detected whether the system state allows the screen to be on.
  • the screen When the system is not in any of the following states, the screen is allowed to be turned on, including: turn on the Do Not Disturb mode, no vibration, no ringtone, and no screen bright when receiving notifications; set the notification on the lock screen of the notification center to a state where notifications are no longer displayed , then there is a ringtone but no screen bright when receiving notifications; if the display and brightness in the security lock screen settings are set, and the lock screen display is set to the locked screen and no notifications are displayed at all, there is a ringtone but no screen bright when receiving notifications.
  • the screen brightening function in the above state is disabled by default, and the user needs to perform corresponding operations to enable it.
  • the function When the function is disabled, after receiving the notification message, the corresponding screen brightening, vibration or ringtone will be made according to the above settings. If the system does not meet the above state, it is determined that the mobile terminal is allowed to brighten the screen, and the subsequent steps of determining whether the prompting condition for brightening the screen is satisfied can be continued.
  • step 202 when the screen of the mobile terminal is off and the screen is allowed to be turned on, it is determined whether the notification satisfies the screen-on prompt condition according to the feature information of the notification and/or the state information of the mobile terminal.
  • the characteristic information of the notification includes the application to which the notification belongs, the notification time, the receiving frequency, and the screen-on prompt interval, etc.
  • the state information of the mobile terminal includes a motion state, a blocking state, a power state, an application usage state, a screen-on prompting time period, and the like of the mobile terminal.
  • determining whether the notification satisfies the screen-on prompt condition is determined according to the feature information of the notification and/or the state information of the mobile terminal, including:
  • the notification satisfies the screen-on screen prompt conditions.
  • a list of screen-on-screen prompts is preset, and the third-party applications included in the list are added according to the ranking of downloads in the application market.
  • the received notification is in the screen bright prompt list, continue to judge whether the notification meets the screen bright prompt conditions according to the receiving interval of the notification. If the receiving interval of the notification is greater than the screen bright prompt interval corresponding to the application, the notification is processed Bright screen prompt.
  • determining whether the notification satisfies the screen-on prompt condition is determined according to the feature information of the notification and/or the state information of the mobile terminal, including:
  • the notification satisfies the screen-on screen prompt conditions.
  • the allowable screen time interval including automatic setting mode and manual setting mode.
  • the automatic mode allows screen-on notifications within a preset time period, and does not allow screen-on notifications beyond the time period to avoid disturbing users.
  • the preset time period is automatically matched according to the time zone of different countries, and the time period other than the early morning sleep time can be set as the preset time period that allows the screen to be bright.
  • the user can choose the time zone as the preset time period for which notifications are not allowed. For example, setting working hours or meeting times to not allow screen-on notifications to avoid notification reminders from disturbing work.
  • the notification receiving interval is greater than the screen-on prompting interval corresponding to the application to which it belongs.
  • the notification receiving interval is greater than the screen bright prompt interval corresponding to the application to which it belongs, it is determined that the notification satisfies the screen bright prompt condition.
  • the mobile terminal after receiving the notification, it is first detected whether the mobile terminal is in an off-screen state, and if so, it is detected whether the system allows a screen-on prompt. After all of the above conditions are satisfied, it is then determined whether the notification satisfies the screen-on prompting condition according to the feature information of the notification and/or the state information of the mobile terminal. Determine whether the notification time of the notification is in the screen bright prompt list, and if it is in the bright screen prompt list, determine whether the notification time of the notification is in the valid time period, that is, the notification time does not exceed the preset time period. If it is within the preset time period, it is determined whether the receiving interval of the notification of the same application is greater than the screen-on prompt interval preset by the application to which it belongs. If it is greater than the screen-on-screen prompt interval corresponding to the app to which it belongs, the notification satisfies the screen-on prompt conditions, controls the screen to light up, and provides notification prompts with vibration or ringtones.
  • the notification reception interval is the time interval for successively receiving notifications
  • the screen bright prompt interval is the preset time interval for the screen bright prompt for two consecutive notifications of the same application. After the last screen bright prompt If the notification of the same application is received before the preset time interval is reached, the screen-on prompt will not be given. On the contrary, the screen-on prompt will be given after the preset time interval is reached and the notification of the same application is received after the last screen-on prompt.
  • the time interval between the time when the app notification is received for the first time and the time interval between subsequent notifications is less than or equal to the screen-on-screen prompt interval corresponding to the app to which it belongs, the screen-on-screen notification will not be displayed, and only vibration or ringtone will be performed.
  • the screen-on-screen prompt will be given to the notification message, and vibrate or ringtone at the same time.
  • the screen-on-screen prompt interval is recalculated, and each application calculates its own screen-on prompt interval independently.
  • the screen-on prompt interval corresponding to the app to which it belongs is adjusted by the user's concentration, which is determined according to the frequency of the user viewing notifications of the same app. If the notification message is viewed frequently, it means that the user of this application message is highly focused. Adjust it to a lower screen-on prompt interval to make it easier for users to see it. Otherwise, it is dynamically adjusted to a relatively long time. .
  • the bright screen prompting strategy is executed, including: starting the low-brightness bright screen, and the screen brightness of the low-brightness bright screen is lower than the normal screen brightness when the mobile terminal is bright. Brightness; after receiving the screen trigger operation, start the normal brightness to brighten the screen.
  • notifications can also be prompted by vibration, ringing, or voice prompts. Notify the bright screen to enter a low brightness state.
  • the screen brightness depends on the normal brightness of the system screen, which can be set to be lower than half of the normal screen brightness value.
  • the frequency of CPU, RAM, and IO is reduced according to the system load, and the multi-core system includes turning off unnecessary cores to make the system enter a low-power state.
  • the duration of the notification screen can be set to a preset time, such as no more than 5 seconds.
  • the notification prompts the screen is only in a pre-bright state. According to the system settings, there will be corresponding vibrations or ringtones to prompt the user.
  • the prompt time of the low-brightness bright screen can also be set to be lower than the screen sleep time of the mobile terminal, so as to further save the power consumption of the notification prompt.
  • the notification prompting method of this embodiment applied to a mobile terminal, includes: when a notification is received, judging whether the mobile terminal is in a screen-off state and allows the screen to be turned on; /or status information of the mobile terminal to determine whether the notification satisfies the bright screen prompting condition; if the bright screen prompting condition is met, the bright screen prompting strategy is executed, and the bright screen prompting strategy includes low brightness bright screen.
  • FIG. 5 is a schematic flowchart of a notification prompting method according to a fourth embodiment.
  • a notification prompt is given by vibration or ringing in the current normal screen-on state. If the screen of the mobile terminal is off, continue to judge whether the mobile terminal allows the screen to be turned on, and judge whether the screen-on prompt condition is satisfied according to the feature information of the notification and/or the status information of the mobile terminal. If the judgment result does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, the notification may be prompted by any combination of one or more of vibration prompts, ring prompts or voice prompts.
  • judging whether the mobile terminal is allowed to turn on the screen that is, judging whether the system is preset to a state that does not allow the screen to be turned on.
  • the screen is not allowed to be turned on, including: turn on the Do Not Disturb mode, no vibration, no ringtone, and no screen bright when receiving notifications; set the notification on the lock screen of the notification center to a state where notifications are no longer displayed , then there is a ringtone but no screen bright when receiving notifications; if the display and brightness in the security lock screen settings are set, and the lock screen display is set to the locked screen and no notifications are displayed at all, there is a ringtone but no screen bright when receiving notifications.
  • the screen-on-screen prompt condition is not met, including: the application to which the notification belongs is not included in the screen-on-screen application list; the notification time is within the sleep time range; the frequency of receiving notifications is greater than the preset frequency; The mobile terminal is in a motion state and/or a blocking state; the mobile terminal is in an application state; the power level of the mobile terminal is lower than a preset power level.
  • the conditions for not allowing the screen to be turned on when the mobile terminal receives a notification is limited by three-layer progressive, that is, the mobile terminal is not in the off-screen state, or the screen is not allowed to be turned on, or according to the feature information and /or whether the status information of the mobile terminal satisfies the bright-screen prompting condition, so as to limit the use of bright-screen prompting for notifications, which can effectively reduce the power consumption of the notification message and prolong the battery life of the mobile terminal.
  • FIG. 6 is a schematic flowchart of a notification prompting method according to a fifth embodiment.
  • the notification after receiving the notification, it is determined whether the notification satisfies the screen-on prompting condition according to the feature information of the notification and/or the state information of the mobile terminal.
  • the frequency of receiving notifications reaches the preset value, it can be divided into the total frequency of received notifications and the notification frequency of a single application. When the total frequency of received notifications is greater than the preset total frequency, or when the frequency of receiving notifications from the same application is greater than the predetermined frequency.
  • the first frequency is set, it is determined that the frequency of receiving notifications reaches the preset value.
  • the notification frequency of receiving the same application when the notification frequency of the same application is less than or equal to five seconds, the screen does not light up, and the notification is only prompted by vibration or ringtone. If the notification frequency of the same application is greater than 5 seconds, the sensor is triggered to detect whether the mobile terminal is in a motion state and/or a blocking state.
  • the acceleration data of the mobile terminal is received by triggering the acceleration sensor, and when the acceleration of the mobile terminal is greater than or equal to zero, it is determined that the mobile terminal is in the motion state; when the occlusion state is detected, the distance sensor is triggered to detect whether the upper screen of the mobile terminal is occluded, If so, it is determined that the mobile terminal is in a blocking state.
  • the received notification will not be prompted to brighten the screen, but will only be prompted by vibration or ringtone, and the sensor will be turned off after the prompt is completed. Triggering is required to reduce sensor power consumption.
  • the screen will be brightened at low brightness according to the bright screen prompting strategy. If a button or touch screen event is detected during the bright screen process, the screen will be controlled to be fully bright, otherwise the screen will be notified to continue to pre-screen. The screen will automatically turn off after the set time.
  • the notification prompting method of this embodiment when a notification is received, it is determined whether the notification frequency of the same application is greater than the preset frequency, and if so, the sensor is triggered to detect whether the mobile terminal is in a motion state and/or a blocking state; if it is determined that the mobile terminal is in motion state and/or occlusion state, the bright screen prompting strategy is implemented, which can realize intelligent push notification according to the usage state of the mobile terminal, and effectively reduce the power consumption of notification messages.
  • FIG. 7 is one of the schematic structural diagrams of the mobile terminal according to the sixth embodiment.
  • the mobile terminal 10 of this embodiment includes a memory 102 and a processor 106, the memory 102 is used to store at least one program instruction, and the processor 106 is used to load and execute at least one program instruction to implement the first embodiment to The notification prompting method of the fifth embodiment.
  • the mobile terminal 10 includes a memory 102, a storage controller 104, one or more (only one is shown in the figure) processor 106, a peripheral interface 108, a radio frequency module 150, a positioning module 112, The camera module 114 , the audio module 116 , the screen 118 and the key module 160 . These components communicate with each other via one or more communication bus/signal lines 122 .
  • FIG. 8 is for illustration only, and the mobile terminal 10 may further include more or less components than those shown in FIG. 8 , or have different configurations from those shown in FIG. 8 .
  • Each component shown in FIG. 8 may be implemented in hardware, software, or a combination thereof.
  • the memory 102 can be used to store software programs and modules, such as program instructions/modules corresponding to the notification prompt method in the embodiment of the present application, and the processor 106 executes various functions by running the software programs and modules stored in the storage controller 104.
  • the application and data processing implement the above notification prompting method.
  • the memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 102 may further include memory located remotely from the processor 106, and these remote memories may be connected to the mobile terminal 10 through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Access to memory 102 by processor 106 and possibly other components may be under the control of memory controller 104 .
  • a peripheral interface 108 couples various input/input devices to the CPU and memory 102 .
  • the processor 106 executes various software and instructions within the memory 102 to perform various functions of the mobile terminal 10 and perform data processing.
  • peripheral interface 108, processor 106, and memory controller 104 may be implemented in a single chip. In other instances, they may be implemented by separate chips.
  • the radio frequency module 150 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
  • the radio frequency module 150 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, and the like.
  • the radio frequency module 150 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network.
  • the aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above-mentioned wireless networks can use various communication standards, protocols and technologies, including but not limited to the Global System for Mobile Communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access (Code division access,, CDMA), time division multiple access (time division multiple access, TDMA), Bluetooth, wireless fidelity technology (Wireless Fidelity, WiFi) (e.g.
  • IEEE 802.11a Institute of Electrical and Electronics Engineers standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n
  • Internet telephony Voice over Internet Protocol, VoIP
  • Wi-Max Worldwide Interoperability for Microwave Access
  • other protocols for mail, instant messaging, and short messaging and any other suitable communication protocol, even those that are currently A protocol that has not yet been developed.
  • the positioning module 112 is used to obtain the current position of the mobile terminal 10 .
  • Examples of the positioning module 112 include, but are not limited to, Global Positioning System (GPS), wireless local area network or mobile communication network based positioning technology.
  • GPS Global Positioning System
  • wireless local area network wireless local area network
  • mobile communication network based positioning technology wireless local area network
  • the camera module 114 is used for taking photos or videos.
  • the photographed photos or videos can be stored in the memory 102 and can be sent through the radio frequency module 150 .
  • Audio module 116 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
  • the audio circuit receives sound data from the peripheral interface 108, converts the sound data into electrical information, and transmits the electrical information to the speaker. Speakers convert electrical information into sound waves that the human ear can hear.
  • the audio circuit also receives electrical information from the microphone, converts the electrical signal into sound data, and transmits the sound data to the peripheral interface 108 for further processing. Audio data may be obtained from memory 102 or through radio frequency module 150 .
  • the audio data can also be stored in the memory 102 or transmitted through the radio frequency module 150 .
  • the audio module 116 may also include a headphone jack for providing an audio interface to headphones or other devices.
  • the screen 118 provides an output interface between the mobile terminal 10 and the user. Specifically, the screen 118 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some output results correspond to some user interface objects. It can be understood that the screen 118 may also include a touch screen.
  • the touch screen simultaneously provides an output and input interface between the mobile terminal 10 and the user. In addition to displaying video output to the user, the touch screen also receives user input, such as the user's taps, swipes, and other gesture operations, so that user interface objects respond to these user inputs.
  • the technology for detecting user input may be based on resistive, capacitive or any other possible touch detection technology. Specific examples of touch screen display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
  • the key module 160 also provides an interface for the user to input to the mobile terminal 10, and the user can press different keys to make the mobile terminal 10 perform different functions.
  • the present application also provides a computer storage medium on which computer program instructions are stored; when the computer program instructions are executed by a processor, the notification and prompting methods according to the first to fifth embodiments are implemented.
  • the computer storage medium is used in the mobile terminal shown in FIG. 7 or FIG. 8 , so as to realize intelligent push notification, effectively reduce the power consumption of notification messages, and prolong the battery life of the mobile terminal.
  • the present application also provides a device, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the above the steps of the method.
  • the embodiments of the present application further provide a computer program product, the computer program product includes computer program code, when the computer program code is run on a computer, the computer is made to execute the method described in the various possible implementation manners above.
  • An embodiment of the present application further provides a chip, including a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a chip installed with the chip is
  • the apparatus performs the method as described in the various possible embodiments above.
  • the notification prompting method, mobile terminal and computer storage medium of the present application the notification prompting method is applied to the mobile terminal, including: S11.
  • the notification prompting method determines whether the state information of the mobile terminal satisfies the first preset condition; S12. If so, determine Notify whether the second preset condition is met; S13, if yes, prompt according to the preset strategy.
  • the invention also discloses a mobile terminal and a computer storage medium. In the above manner, the purpose of intelligent push notification and power consumption reduction can be achieved.

Abstract

The present application relates to a notification prompting method, applied to a mobile terminal, and comprising: S11, when a notification is received, determining whether state information of the mobile terminal satisfies a first preset condition; S12, if yes, determining whether the notification satisfies a second preset condition; and S13, if yes, implementing prompting according to a preset strategy. Also disclosed are a mobile terminal and a computer storage medium. By means of the method, the purposes of intelligent notification pushing and power consumption reduction can be achieved.

Description

通知提示方法、移动终端及计算机存储介质Notification prompting method, mobile terminal and computer storage medium 技术领域technical field
本申请涉及通信技术领域,具体涉及一种通知提示方法、移动终端和计算机存储介质。The present application relates to the field of communication technologies, and in particular, to a notification prompting method, a mobile terminal and a computer storage medium.
背景技术Background technique
随着互联网技术的快速发展,手机、平板电脑中各类应用程序越来越多。大部分应用程序带有推送通知功能,使用户能便捷查看即时讯息。通知方式一般包括亮屏、响铃、震动等,同时有多种包含通知内容的即时信息栏、通知标注提醒等等,如果通知频率高往往会导致功耗较大,影响电子设备的电池续航。此外,当前一些实现中,应用的通知推送方式比较单一,不能根据软硬件的特点及用户需要进行智能化推送,进而影响到用户体验。With the rapid development of Internet technology, there are more and more applications in mobile phones and tablet computers. Most applications have push notification features that allow users to easily view instant messages. Notification methods generally include bright screen, ringing, vibration, etc. At the same time, there are various instant information bars containing notification content, notification label reminders, etc. If the notification frequency is high, it will often lead to high power consumption and affect the battery life of electronic devices. In addition, in some current implementations, the notification push method of the application is relatively simple, and cannot be intelligently pushed according to the characteristics of software and hardware and user needs, thereby affecting the user experience.
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。The preceding statements are intended to provide general background information and may not constitute prior art.
技术问题technical problem
通知推送在终端设备中出现频率较高,现有技术中对通知推送的方式比较单一。如果无条件开启所有应用的通知推送功能,对用户干扰较多,如果关闭或者仅开启部分应用的通知推送功能,则有可能出现用户错过重要通知的情形,不利于提高用户体验。Notification push occurs frequently in terminal devices, and the method of notification push in the prior art is relatively simple. If the push notification function of all applications is enabled unconditionally, it will interfere more with the user. If the push notification function of some applications is turned off or only enabled, the user may miss important notifications, which is not conducive to improving the user experience.
技术解决方案technical solutions
本申请的目的在于,提供一种通知提示方法、移动终端及计算机存储介质,能实现智能化推送通知及降低功耗的目的。The purpose of this application is to provide a notification prompting method, a mobile terminal and a computer storage medium, which can realize the purpose of intelligent push notification and power consumption reduction.
为解决上述技术问题,本申请涉及一种通知提示方法,应用于移动终端,包括:In order to solve the above technical problems, the present application relates to a notification prompt method, which is applied to a mobile terminal, including:
S11、接收到通知时,判断所述移动终端的状态信息是否满足第一预设条件;S11. When a notification is received, determine whether the state information of the mobile terminal satisfies a first preset condition;
S12、若是,判断所述通知是否符合第二预设条件;S12, if yes, determine whether the notification meets the second preset condition;
S13、若是,则按照预设策略进行提示。S13. If yes, prompt according to a preset strategy.
其中,所述状态信息,包括以下至少一种:运动状态、屏幕状态、遮挡状态、运行状态;和/或,Wherein, the state information includes at least one of the following: motion state, screen state, occlusion state, running state; and/or,
所述满足第一预设条件,包括以下至少一种:The meeting the first preset condition includes at least one of the following:
所述移动终端处于预设运动状态;the mobile terminal is in a preset motion state;
所述移动终端的屏幕处于灭屏状态;The screen of the mobile terminal is in an off-screen state;
所述移动终端的屏幕处于遮挡状态;The screen of the mobile terminal is in a blocked state;
所述移动终端的运行处于卡顿状态。The operation of the mobile terminal is in a stuck state.
其中,所述符合第二预设条件,包括以下至少一种:Wherein, the meeting the second preset condition includes at least one of the following:
所述通知的发件人为预设发件人;the sender of the notification is the default sender;
所述通知的信息内容包括预设信息内容;The information content of the notification includes preset information content;
所述通知所属的应用为预设应用;The application to which the notification belongs is a preset application;
所述通知的通知时间在预设时间段;The notification time of the notification is within a preset time period;
所述通知接收频率达到预设频率;The notification receiving frequency reaches the preset frequency;
所述通知的接收间隔大于或等于预设亮屏提示间隔。The notification receiving interval is greater than or equal to the preset screen-on prompting interval.
其中,所述预设策略包括以下至少一种:Wherein, the preset strategy includes at least one of the following:
通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点和/或预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示。Full-text notification, partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompt, screen-on prompt, bell prompt, voice prompt, light prompt, and vibration prompt.
其中,若所述预设策略为亮屏提示时,所述S13步骤,包括:Wherein, if the preset strategy is a screen-on prompt, the step S13 includes:
以预设亮度亮屏提示;Bright screen prompts with preset brightness;
若接收到操作信息后,则以正常亮度亮屏。If the operation information is received, the screen will be turned on with normal brightness.
其中,所述方法,还包括:Wherein, the method further includes:
在以预设亮度亮屏提示时,还通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式提示所述通知;和/或,When prompting the screen with a preset brightness, the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
所述以预设亮度亮屏的提示时间为预设值,或者小于或等于所述移动终端的屏幕正常熄屏时间。The prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
其中,若所述预设策略为响铃提示时,所述S13步骤,包括:Wherein, if the preset strategy is a bell prompt, the step S13 includes:
根据所述通知确定所述响铃提示的音量;determining the volume of the ringing prompt according to the notification;
所述响铃提示按照所述音量进行播放。The ringing prompt is played according to the volume.
其中,所述根据所述通知确定所述响铃提示的音量,包括以下至少一种:Wherein, determining the volume of the ringing prompt according to the notification includes at least one of the following:
若所述通知符合第二预设条件,则所述音量为第一预设音量值;If the notification meets the second preset condition, the volume is the first preset volume value;
若所述通知不符合第二预设条件,则所述音量为第二预设音量值。If the notification does not meet the second preset condition, the volume is the second preset volume value.
其中,所述方法,还包括:Wherein, the method further includes:
若所述移动终端不允许亮屏或所述通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式进行提示。If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt condition, the notification is given by at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt.
本申请还提供第二通知提示方法,应用于移动终端,包括:The present application also provides a second notification prompt method, applied to a mobile terminal, including:
S21、判断接收到的通知信息和/或所述移动终端的状态信息是否满足预设条件;S21. Determine whether the received notification information and/or the state information of the mobile terminal satisfy a preset condition;
S22、若是,判断所述移动终端是否处于预设模式;S22, if yes, determine whether the mobile terminal is in a preset mode;
S23、若是,则按照预设策略进行提示。S23. If yes, prompt according to a preset strategy.
在第二种通知提示方法中,所述通知信息包括发件人、通知信息内容、所属的应用、通知时间、通知频率、通知间隔中的至少一种;和/或,In the second notification prompting method, the notification information includes at least one of sender, notification information content, application to which it belongs, notification time, notification frequency, and notification interval; and/or,
所述状态信息包括运动状态、屏幕状态、遮挡状态、运行状态中的至少一种。The state information includes at least one of motion state, screen state, occlusion state, and running state.
在第二种通知提示方法中,所述满足预设条件包括以下至少一种:In the second notification prompting method, the meeting the preset condition includes at least one of the following:
所述通知的发件人为预设发件人;the sender of the notification is the default sender;
所述通知的信息内容包括预设信息内容;The information content of the notification includes preset information content;
所述通知所属的应用为预设应用;The application to which the notification belongs is a preset application;
所述通知的通知时间在预设时间段;The notification time of the notification is within a preset time period;
所述通知的通知频率达到预设频率;The notification frequency of the notification reaches the preset frequency;
所述通知的通知间隔大于预设亮屏提示间隔;The notification interval of the notification is greater than the preset bright screen prompt interval;
所述移动终端处于预设运动状态;the mobile terminal is in a preset motion state;
所述移动终端的屏幕处于灭屏状态;The screen of the mobile terminal is in an off-screen state;
所述移动终端的屏幕处于遮挡状态;The screen of the mobile terminal is in a blocked state;
所述移动终端的运行处于卡顿状态。The operation of the mobile terminal is in a stuck state.
在第二种通知提示方法中,所述预设模式包括以下至少一种:In the second notification prompting method, the preset mode includes at least one of the following:
智能提醒模式、勿扰模式、会议模式、睡眠模式、驾驶模式、户外模式。Smart reminder mode, do not disturb mode, conference mode, sleep mode, driving mode, outdoor mode.
在第二种通知提示方法中,所述预设策略包括以下至少一种:In the second notification prompting method, the preset strategy includes at least one of the following:
通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点和/或预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示。Full-text notification, partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompt, screen-on prompt, bell prompt, voice prompt, light prompt, and vibration prompt.
在第二种通知提示方法中,若所述预设策略为亮屏提示时,所述S13步骤,包括:In the second notification prompt method, if the preset strategy is a screen-on prompt, the step S13 includes:
以预设亮度亮屏提示;Bright screen prompts with preset brightness;
若接收到操作信息后,则以正常亮度亮屏。If the operation information is received, the screen will be turned on with normal brightness.
在第二种通知提示方法中,所述方法,还包括:In the second notification prompt method, the method further includes:
在以预设亮度亮屏提示时,还通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式提示所述通知;和/或,When prompting the screen with a preset brightness, the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
所述以预设亮度亮屏的提示时间为预设值,或者小于或等于所述移动终端的屏幕正常熄屏时间。The prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
在第二种通知提示方法中,若所述预设策略为响铃提示时,所述S23步骤,包括:In the second notification prompting method, if the preset strategy is a bell prompting, the step S23 includes:
根据所述通知确定所述响铃提示的音量;determining the volume of the ringing prompt according to the notification;
所述响铃提示按照所述音量进行播放。The ringing prompt is played according to the volume.
在第二种通知提示方法中,所述根据所述通知确定所述响铃提示的音量,包括以下至少一种:In a second notification prompting method, the determining the volume of the ringing prompt according to the notification includes at least one of the following:
若所述通知信息和/或所述移动终端的状态信息满足预设条件,则所述音量为第一预设音量值;If the notification information and/or the state information of the mobile terminal satisfy a preset condition, the volume is a first preset volume value;
若所述通知信息和/或所述移动终端的状态信息不满足预设条件,则所述音量为第二预设音量值。If the notification information and/or the state information of the mobile terminal do not meet the preset condition, the volume is a second preset volume value.
在第二种通知提示方法中,若所述移动终端不允许亮屏或所述通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式进行提示。In the second notification prompting method, if the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompting conditions, at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt is used. hint.
本申请还提供第三种通知提示方法,应用于移动终端,包括:The present application also provides a third notification prompt method, which is applied to a mobile terminal, including:
接收到通知时,判断所述移动终端是否处于灭屏状态且允许亮屏;When receiving the notification, determine whether the mobile terminal is in a screen-off state and allows the screen to be turned on;
若处于灭屏状态且允许亮屏,则根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件;If the screen is off and the screen is allowed to be turned on, determining whether the notification meets the screen-on prompt condition according to the feature information of the notification and/or the status information of the mobile terminal;
若满足亮屏提示条件,则执行亮屏提示策略,所述亮屏提示策略包括低亮度亮屏。If the screen brightening prompt condition is satisfied, the bright screen prompting strategy is executed, and the screen brightening prompting strategy includes a low brightness bright screen.
在第三种通知提示方法中,所述判断所述移动终端是否处于灭屏状态且允许亮屏,包括:In a third notification prompting method, the judging whether the mobile terminal is in an off-screen state and allows the screen to be on includes:
若所述移动终端处于灭屏状态,判断所述移动终端是否满足预设条件,所述预设条件包括开启勿扰模式、锁定屏幕通知、开启安全锁屏、亮屏提示功能关闭中的至少一项;If the mobile terminal is in an off-screen state, determine whether the mobile terminal satisfies a preset condition, and the preset condition includes at least one of enabling the Do Not Disturb mode, locking the screen notification, enabling the security lock screen, and disabling the screen-on prompt function. item;
若不满足所述预设条件,判断所述移动终端允许亮屏。If the preset condition is not met, it is determined that the mobile terminal is allowed to turn on the screen.
在第三种通知提示方法中,所述通知的特征信息包括通知所属的应用、通知时间、接收频率、亮屏提示间隔中的至少一种;所述移动终端的状态信息,包括运动状态、遮挡状态、电量状态、应用使用状态、亮屏提示时间段中的至少一种。In a third notification prompting method, the feature information of the notification includes at least one of the application to which the notification belongs, the notification time, the receiving frequency, and the screen-on prompting interval; the state information of the mobile terminal includes motion state, blocking At least one of status, battery status, application usage status, and screen-on prompt time period.
在第三种通知提示方法中,所述根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件,包括:In a third notification prompting method, the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
判断所述通知所属的应用是否在亮屏提示列表中;Determine whether the application to which the notification belongs is in the screen-on prompt list;
若在亮屏提示列表中,则判断所述通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If it is in the screen-on prompt list, determine whether the receiving interval of the notification is greater than the screen-on prompt interval corresponding to the application to which it belongs;
若大于所属应用对应的亮屏提示间隔,则所述通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the application to which it belongs, the notification satisfies the screen-on prompt condition.
在第三种通知提示方法中,所述亮屏提示列表根据应用市场反馈排名更新。In the third notification prompt method, the screen-on prompt list is updated according to the feedback ranking of the application market.
在第三种通知提示方法中,所述根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件,包括:In a third notification prompting method, the determining whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
判断所述通知的通知时间是否在预设时间段;Determine whether the notification time of the notification is within a preset time period;
若在预设时间段,则判断所述通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If it is within the preset time period, determine whether the receiving interval of the notification is greater than the screen-on prompt interval corresponding to the application to which it belongs;
若大于所属应用对应的亮屏提示间隔,则所述通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the application to which it belongs, the notification satisfies the screen-on prompt condition.
在第三种通知提示方法中,所述根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件,包括:In a third notification prompting method, the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
判断所述通知的通知时间是否在亮屏提示列表中;Determine whether the notification time of the notification is in the screen-on prompt list;
若在亮屏提示列表中,则判断所述通知的通知时间是否在预设时间段;If it is in the screen-on prompt list, determine whether the notification time of the notification is within a preset time period;
若在预设时间段,则判断所述通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If it is within the preset time period, determine whether the receiving interval of the notification is greater than the screen-on prompt interval corresponding to the application to which it belongs;
若大于所属应用对应的亮屏提示间隔,则所述通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the application to which it belongs, the notification satisfies the screen-on prompt condition.
在第三种通知提示方法中,所述方法,还包括:In the third notification prompt method, the method further includes:
根据用户查看同一应用的通知的频率确定用户的专注度;Determine the user's concentration based on how often the user views notifications from the same app;
根据所述专注度调整所属应用对应的亮屏提示间隔。Adjust the screen-on prompt interval corresponding to the application to which it belongs according to the degree of concentration.
在第三种通知提示方法中,所述根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件,包括:In a third notification prompting method, the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
接收通知的频率大于预设频率时,触发传感器检测所述移动终端是否处于运动状态和/或遮挡状态;When the frequency of receiving notifications is greater than the preset frequency, trigger the sensor to detect whether the mobile terminal is in a motion state and/or a blocking state;
若所述移动终端不处于运动状态和/或遮挡状态,则所述通知满足亮屏提示条件。If the mobile terminal is not in a motion state and/or a blocking state, the notification satisfies the screen-on prompting condition.
在第三种通知提示方法中,所述接收通知的频率大于预设频率,包括:In a third notification prompting method, the frequency of receiving notifications is greater than a preset frequency, including:
接收通知的总频率大于预设总频率;The total frequency of receiving notifications is greater than the preset total frequency;
和/或,接收同一应用的通知的频率大于预设第一频率。And/or, the frequency of receiving notifications of the same application is greater than the preset first frequency.
在第三种通知提示方法中,所述根据所述通知的特征信息和/或所述移动终端的状态信息判断所述通知是否满足亮屏提示条件,包括:In a third notification prompting method, the judging whether the notification satisfies the bright screen prompting condition according to the feature information of the notification and/or the state information of the mobile terminal includes:
接收通知的频率大于预设频率时,触发传感器检测所述移动终端是否处于运动状态和/或遮挡状态;When the frequency of receiving notifications is greater than the preset frequency, trigger the sensor to detect whether the mobile terminal is in a motion state and/or a blocking state;
若所述移动终端不处于运动状态和/或遮挡状态,则判断所述通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If the mobile terminal is not in a motion state and/or a blocking state, determine whether the receiving interval of the notification is greater than the screen-on prompt interval corresponding to the application to which it belongs;
若大于所属应用对应的亮屏提示间隔,则所述通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the application to which it belongs, the notification satisfies the screen-on prompt condition.
在第三种通知提示方法中,所述执行亮屏提示策略,包括:In a third notification prompting method, the performing a bright screen prompting strategy includes:
启动低亮度亮屏,所述低亮度亮屏的屏幕亮度低于所述移动终端亮屏时的正常亮度;Start the low-brightness bright screen, and the screen brightness of the low-brightness bright screen is lower than the normal brightness when the mobile terminal brightens the screen;
接收到屏幕触发操作后,启动正常亮度亮屏。After receiving the screen trigger operation, start the normal brightness bright screen.
在第三种通知提示方法中,所述亮屏提示策略还包括:In the third notification prompting method, the bright screen prompting strategy further includes:
启动低亮度亮屏时,通过震动提示、响铃提示、语音提示中的至少一种方式提示所述通知;When the low-brightness bright screen is activated, the notification is prompted by at least one of vibration prompts, ring prompts, and voice prompts;
和/或,低亮度亮屏的提示时间低于所述移动终端的屏幕睡眠时间。And/or, the prompting time of the low-brightness bright screen is lower than the screen sleep time of the mobile terminal.
在第三种通知提示方法中,所述方法,还包括:In the third notification prompt method, the method further includes:
若所述移动终端不允许亮屏或所述通知不满足亮屏提示条件,则通过震动提示、响铃提示、语音提示中的至少一种方式提示所述通知。If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt condition, the notification is prompted by at least one of a vibration prompt, a ring prompt, and a voice prompt.
本申请还提供一种移动终端,包括:存储器和处理器;The present application also provides a mobile terminal, including: a memory and a processor;
所述存储器存储有至少一条程序指令;The memory stores at least one program instruction;
所述处理器通过加载并执行所述至少一条程序指令以实现如上所述的通知提示方法。The processor implements the above notification prompting method by loading and executing the at least one program instruction.
本申请还提供一种计算机存储介质,所述计算机存储介质上存储有计算机程序指令;所述计算机程序指令被处理器执行时实现如上所述的通知提示方法。The present application also provides a computer storage medium, where computer program instructions are stored thereon; when the computer program instructions are executed by a processor, the above-mentioned notification prompting method is implemented.
有益效果beneficial effect
本申请的通知提示方法、终端及计算机存储介质,通知提示方法应用于移动终端,包括:S11、接收到通知时,判断移动终端的状态信息是否满足第一预设条件;S12、若是,判断通知是否符合第二预设条件;S13、若是,则按照预设策略进行提示。本发明还公开了一种移动终端和计算机存储介质。通过上述方式,能实现智能化推送通知及降低功耗的目的。The notification prompting method, terminal and computer storage medium of the present application, the notification prompting method is applied to a mobile terminal, including: S11. When receiving a notification, judging whether the state information of the mobile terminal satisfies a first preset condition; S12. If so, judging a notification Whether the second preset condition is met; S13, if yes, prompt according to the preset strategy. The invention also discloses a mobile terminal and a computer storage medium. In the above manner, the purposes of intelligent push notification and power consumption reduction can be achieved.
附图说明Description of drawings
图1是根据第一实施例示出的通知提示方法的流程示意图;1 is a schematic flowchart of a notification prompt method according to a first embodiment;
图2是根据第一实施例示出的通知提示方法的效果示意图;2 is a schematic diagram of the effect of the notification prompting method shown according to the first embodiment;
图3是根据第二实施例示出的通知提示方法的流程示意图;3 is a schematic flowchart of a notification prompting method according to a second embodiment;
图4是根据第三实施例示出的通知提示方法的流程示意图;4 is a schematic flowchart of a notification prompting method according to a third embodiment;
图5是根据第四实施例示出的通知提示方法的流程示意图;5 is a schematic flowchart of a notification prompting method according to a fourth embodiment;
图6是根据第五实施例示出的通知提示方法的流程示意图;6 is a schematic flowchart of a notification prompt method according to a fifth embodiment;
图7是根据第六实施例示出的终端的结构示意图之一;FIG. 7 is one of the schematic structural diagrams of the terminal shown according to the sixth embodiment;
图8是图7所示终端的结构示意图之二。FIG. 8 is a second schematic structural diagram of the terminal shown in FIG. 7 .
本发明的实施方式Embodiments of the present invention
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element defined by the phrase "comprises a..." does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element, and further, different implementations of the present application Components, features and elements with the same names in the examples may have the same meaning or may have different meanings, and their specific meanings need to be determined by their explanations in this specific embodiment or further combined with the context in this specific embodiment.
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of this document. The word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining", depending on the context. Also, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context dictates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, kinds, and/or groups, but do not exclude one or more other features, steps, operations, The existence, appearance or addition of elements, assemblies, items, categories, and/or groups. The terms "or" and "and/or" as used herein are to be construed to be inclusive or to mean any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C" . Exceptions to this definition arise only when combinations of elements, functions, steps, or operations are inherently mutually exclusive in some way.
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowcharts in the embodiments of the present application are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order and may be performed in other orders. Moreover, at least a part of the steps in the figure may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential. Instead, it may be performed in turn or alternately with other steps or at least a portion of sub-steps or stages of other steps.
需要说明的是,在本文中,采用了诸如S11、S12等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S12后执行S11等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S11 and S12 are used, the purpose of which is to express the corresponding content more clearly and briefly, and does not constitute a substantial restriction on the sequence. Those skilled in the art may S12 will be executed first and then S11, etc., but these should all fall within the protection scope of this application.
为更进一步阐述本申请为达成预定申请目的所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本申请的提出的具体实施方式、方法、步骤、结构、特征及其效果,详细说明如下。In order to further illustrate the technical means and effects adopted by the present application to achieve the intended application purpose, the following describes the specific embodiments, methods, steps, structures, features and effects proposed according to the present application in conjunction with the accompanying drawings and preferred embodiments. , detailed as follows.
有关本申请的前述及其他技术内容、特点及功效,在以下配合参考图式的较佳实施例的详细说明中将可清楚呈现。通过具体实施方式的说明,当可对本申请为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图式仅是提供参考与说明之用,并非用来对本申请加以限制。The foregoing and other technical contents, features and effects of the present application will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings. Through the description of the specific embodiments, it is possible to have a more in-depth and specific understanding of the technical means and effects adopted by the present application to achieve the predetermined purpose. However, the accompanying drawings are only used for reference and description, and are not used for the present application. limit.
第一实施例first embodiment
步骤S11、接收到通知时,判断移动终端的状态信息是否满足第一预设条件;Step S11, when receiving the notification, determine whether the state information of the mobile terminal satisfies the first preset condition;
步骤S12、若是,判断通知是否符合第二预设条件;Step S12, if yes, determine whether the notification meets the second preset condition;
步骤S13、若是,则按照预设策略进行提示。Step S13: If yes, prompt according to the preset strategy.
本实施例的移动终端可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等具有显示功能的可移动式终端设备等。The mobile terminal in this embodiment may be a PC, or may be a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Player, Portable Computer with Display Function, etc. terminal equipment, etc.
移动终端接收到应用的通知消息后,首先根据移动终端的状态信息判断是否满足第一预设条件。移动终端的状态信息包括:运动状态、屏幕状态、遮挡状态、运行状态等。当移动终端处于预设运动状态如加速状态或静止状态等,或者移动终端的屏幕处于灭屏状态,或者移动终端的屏幕处于遮挡状态(如放置在口袋中或者包中,或者屏幕朝下放置在桌上等),或者移动终端的运行处于卡顿状态(如CPU或内存使用率超过某一预设阈值,如80%;或者多个占用资源的应用均处于打开或运行状态时;或者移动终端运行速度缓慢不顺畅时)时,判断移动终端的状态信息满足第一预设条件。接着,继续判断通知是否符合第二预设条件,当通知的发件人为预设发件人,或者通知的信息内容包括预设信息内容;或者通知所属的应用为预设应用;或者通知的通知时间在预设时间段;或者通知接收频率达到预设频率;或者通知的接收间隔大于或等于预设亮屏提示间隔时,符合第二预设条件,按照预设策略对通知进行提示。其中,预设策略包括:通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点提示、预设时长提示、预定时间点的预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示等待。若移动终端不允许亮屏或通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示等方式进行提示。After receiving the notification message of the application, the mobile terminal first determines whether the first preset condition is satisfied according to the state information of the mobile terminal. The state information of the mobile terminal includes: motion state, screen state, occlusion state, running state, and the like. When the mobile terminal is in a preset motion state such as an acceleration state or a static state, or the screen of the mobile terminal is in an off-screen state, or the screen of the mobile terminal is in a blocking state (such as placed in a pocket or bag, or placed with the screen facing down on the screen) desktop, etc.), or the operation of the mobile terminal is in a stuck state (for example, the CPU or memory usage exceeds a preset threshold, such as 80%; or multiple applications that occupy resources are open or running; or the mobile terminal When the running speed is slow and unsmooth), it is determined that the state information of the mobile terminal satisfies the first preset condition. Next, continue to determine whether the notification meets the second preset condition, when the sender of the notification is the preset sender, or the information content of the notification includes the preset information content; or the application to which the notification belongs is a preset application; or the notification of the notification The time is within the preset time period; or the notification receiving frequency reaches the preset frequency; or when the notification receiving interval is greater than or equal to the preset bright screen prompting interval, the second preset condition is met, and the notification is prompted according to the preset strategy. Among them, the preset strategy includes: full-text notification display, notification partial display, full-screen notification display, partial display notification, preset time point prompt, preset duration prompt, scheduled time point prompt, bright screen prompt, bell prompt, voice prompt Prompt, light prompt, vibration prompt waiting. If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, it will be prompted by means of a bell prompt, a voice prompt, a light prompt, and a vibration prompt.
图2是根据第一实施例示出的通知提示方法的效果示意图。如图2(a)所示,屏幕中显示了APP1的通知全文,并且通知显示界面占据部分移动终端的屏幕,即局部显示通知,可作为移动终端的屏幕处于灭屏状态,且APP1属于预设应用的通知提示策略,适用于常规的通知推送情形。图2(b)中,APP2显示了通知全文,并且通知显示界面占据了全屏,即全屏显示通知,可作为移动终端处于静止状态,且通知的信息内容包含预设信息内容,如“紧急”、“重要”、“会议”、“行程”、“转账”等字样时的通知提示策略,同时可增加亮屏显示,响铃提示等,适用于对重要通知的推送提醒。图2(c)中,仅提示APP3推送了通知,但并未显示通知的具体内容,可作为移动终端的屏幕处于遮挡状态(如放置在口袋中或者包中,或者屏幕朝下放置在桌上等),且通知时间在预设时间段,如睡眠时间的通知提示策略,避免不重要的通知打扰用户休息,提升了用户体验。FIG. 2 is a schematic diagram showing the effect of the notification prompting method according to the first embodiment. As shown in Figure 2(a), the full text of the notification of APP1 is displayed on the screen, and the notification display interface occupies part of the screen of the mobile terminal, that is, the notification is displayed locally, which can be used as the screen of the mobile terminal in the off-screen state, and APP1 belongs to the preset The notification notification policy of the application, which is applicable to the general notification push situation. In Figure 2(b), APP2 displays the full text of the notification, and the notification display interface occupies the full screen, that is, the notification is displayed in full screen, which can be used as a mobile terminal in a stationary state, and the information content of the notification includes preset information content, such as "emergency", Notification reminder strategy for words such as "Important", "Meeting", "Itinerary", "Transfer", etc. At the same time, bright screen display, bell reminder, etc. can be added, which is suitable for push reminders for important notifications. In Figure 2(c), only APP3 is prompted to push the notification, but the specific content of the notification is not displayed, which can be used as the screen of the mobile terminal in a blocked state (such as placed in a pocket or bag, or placed with the screen facing down on a table). etc.), and the notification time is within a preset time period, such as the notification prompt strategy for sleep time, to avoid unimportant notifications from disturbing the user's rest, and improve the user experience.
在一实施方式中,如果预设策略为亮屏提示时,则按预设亮度对通知消息进行亮屏提示,预设亮度可设置为低于屏幕正常亮度值,以节省功耗。当接收到操作信息(如用户点击、滑动、语音控制指令等)后,则以正常亮度亮屏显示通知。在以预设亮度亮屏提示的同时,还可以通过响铃提示、语音提示、灯光提示、震动提示等方式提示通知,其中,灯光提示可以是指示灯、闪光灯、呼吸灯等。此外,还可以设置以预设亮度亮屏的提示时间小于或等于移动终端的屏幕正常熄屏时间,如屏幕正常熄屏时间为60秒,则可设置以预设亮度提示通知的时间为30秒,降低通知提醒的功耗。In one embodiment, if the preset strategy is a screen bright prompt, the notification message will be prompted to brighten the screen according to a preset brightness, and the preset brightness can be set to be lower than the normal screen brightness value to save power consumption. When receiving operation information (such as user clicks, swipes, voice control commands, etc.), the notification will be displayed on the screen with normal brightness. While the screen is prompted with a preset brightness, notifications can also be prompted by means of bell prompts, voice prompts, light prompts, vibration prompts, etc., where the light prompts can be indicator lights, flashing lights, breathing lights, etc. In addition, you can also set the prompt time to turn on the screen at the preset brightness to be less than or equal to the normal screen-off time of the mobile terminal. If the normal screen-off time of the screen is 60 seconds, you can set the preset brightness to prompt the notification time to 30 seconds. , to reduce the power consumption of notification reminders.
在一实施方式中,如果预设策略为响铃提示时,则可根据通知确定响铃提示的音量,响铃提示时按照该通知对他的音量进行播放。比如,对于用户使用频率较高的应用,设置其响铃提示的音量大于正常手机提示音,避免用户错过重要的通知提示。具体地,可根据通知确定响铃提示的音量,若通知符合第二预设条件,则音量为第一预设音量值;若通知不符合第二预设条件,则音量为第二预设音量值。例如,发件人A为预设发件人时,设置其对应的通知音量值为10,发件人B不是预设发件人,则设置其对应的通知音量值为5;通知的正文内容包含“银行”、“紧急”、“重要”、“会议”、“行程”、“转账”或用户预设的个人信息等敏感信息时,设置其对应的通知音量值为10,正文内容不包含上述敏感信息时,设置其对应的通知音量值为5;通知所属的应用为预设应用如微信,设置其对应的通知音量值为10,其他应用则将音量值设置为5;通知的通知时间在预设时间段如8:00-22:00时,设置其对应的通知音量值为10,其他时间段则设置通知音量值为5;通知接收频率达到预设频率如八小时内接收的通知低于一次时,设置其通知音量值为10,通知频率若高于一次则设置音量值为5;通知的接收间隔大于或等于预设亮屏提示间隔,比如预设亮屏提示间隔为一分钟时,通知的接收间隔小于一分钟,则设置通知的音量值为10。通过这种方式,不仅可降低移动终端的功耗,而且也提升了通知提示的智能性,进一步提升了用户体验。In one embodiment, if the preset policy is a ringing reminder, the volume of the ringing reminder can be determined according to the notification, and the volume of the ringing reminder is played according to the notification. For example, for an application that is frequently used by users, the volume of the ringing prompt is set to be higher than the normal mobile phone prompt tone, so as to prevent the user from missing important notification prompts. Specifically, the volume of the ringing prompt can be determined according to the notification. If the notification meets the second preset condition, the volume is the first preset volume value; if the notification does not meet the second preset condition, the volume is the second preset volume value. For example, when sender A is the default sender, set its corresponding notification volume value to 10, and sender B is not the default sender, set its corresponding notification volume value to 5; the text content of the notification When it contains sensitive information such as "bank", "emergency", "important", "meeting", "itinerary", "transfer" or personal information preset by the user, set the corresponding notification volume value to 10, and the text content does not contain For the above sensitive information, set the corresponding notification volume value to 5; the application to which the notification belongs is a preset application such as WeChat, set the corresponding notification volume value to 10, and other applications to set the volume value to 5; the notification time of the notification In the preset time period such as 8:00-22:00, set the corresponding notification volume value to 10, and set the notification volume value to 5 in other time periods; the notification receiving frequency reaches the preset frequency, such as notifications received within eight hours If it is less than one time, set the notification volume value to 10, and if the notification frequency is higher than one time, set the volume value to 5; the notification receiving interval is greater than or equal to the preset bright screen prompt interval, for example, the preset bright screen prompt interval is one minute When the notification interval is less than one minute, set the notification volume to 10. In this way, not only the power consumption of the mobile terminal can be reduced, but also the intelligence of the notification prompt can be improved, and the user experience can be further improved.
第二实施例Second Embodiment
图2是根据第二实施例示出的通知提示方法的流程示意图。请参考图2,本实施例的通知提示方法,应用于移动终端,包括:FIG. 2 is a schematic flowchart of a notification prompting method according to a second embodiment. Referring to FIG. 2 , the notification prompting method of this embodiment, applied to a mobile terminal, includes:
步骤S21、判断接收到的通知信息和/或移动终端的状态信息是否满足预设条件;Step S21, judging whether the received notification information and/or the state information of the mobile terminal satisfies a preset condition;
步骤S22、若是,判断移动终端是否处于预设模式;Step S22, if yes, determine whether the mobile terminal is in a preset mode;
步骤S23、若是,则按照预设策略进行提示。Step S23, if yes, prompt according to the preset strategy.
本实施例中,通知信息包括发件人、通知信息内容、所属的应用、通知时间、通知频率、通知间隔等;状态信息包括运动状态、屏幕状态、遮挡状态(如放置在口袋中或者包中,或者屏幕朝下放置在桌上等)、运行状态等。判断通知信息和/或移动终端的状态信息是否满足预设条件时,当通知的发件人为预设发件人;或者通知的信息内容包括预设信息内容;或者通知所属的应用为预设应用;或者通知的通知时间在预设时间段;或者通知的通知频率达到预设频率;或者通知的通知间隔大于预设亮屏提示间隔;或者移动终端处于预设运动状态;或者移动终端的屏幕处于灭屏状态;或者移动终端的屏幕处于遮挡状态(如放置在口袋中或者包中,或者屏幕朝下放置在桌上等);或者移动终端的运行处于卡顿状态(如CPU或内存使用率超过某一预设阈值,如80%;或者多个占用资源的应用均处于打开或运行状态时;或者移动终端运行速度缓慢不顺畅时)时,符合预设条件。接着,继续判断移动终端是否处于预设模式,预设模式可包括:智能提醒模式、勿扰模式、会议模式、睡眠模式、驾驶模式、户外模式等。其中,预设策略包括:通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点和/或预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示。若移动终端不允许亮屏或通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示等方式进行提示。In this embodiment, the notification information includes sender, notification information content, application to which it belongs, notification time, notification frequency, notification interval, etc.; status information includes motion status, screen status, and occlusion status (such as when placed in a pocket or bag). , or on a table with the screen facing down, etc.), running status, etc. When judging whether the notification information and/or the status information of the mobile terminal meet the preset conditions, when the sender of the notification is the preset sender; or the information content of the notification includes the preset information content; or the application to which the notification belongs is the preset application ; or the notification time of the notification is within the preset time period; or the notification frequency of the notification reaches the preset frequency; or the notification interval of the notification is greater than the preset bright screen prompt interval; or the mobile terminal is in a preset motion state; or the screen of the mobile terminal is in The screen is off; or the screen of the mobile terminal is blocked (for example, it is placed in a pocket or bag, or the screen is placed on the table with the screen facing down, etc.); or the operation of the mobile terminal is stuck (for example, the CPU or memory usage exceeds A preset threshold, such as 80%; or when multiple applications that occupy resources are all open or running; or when the mobile terminal runs slowly and unsmoothly), the preset conditions are met. Next, continue to determine whether the mobile terminal is in a preset mode, and the preset mode may include: smart reminder mode, do not disturb mode, conference mode, sleep mode, driving mode, outdoor mode, and the like. The preset policies include: full-text notification, partial notification, full-screen notification, partial notification, preset time point and/or preset duration prompt, screen bright prompt, bell prompt, voice prompt, light prompt, and vibration prompt. If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, it will be prompted by means of a bell prompt, a voice prompt, a light prompt, and a vibration prompt.
例如,通知的发件人为预设发件人,且移动终端的预设模式为智能提醒模式时,使用显示通知全文并亮屏的提醒策略。通知的信息内容包括预设内容,如用户个人信息,且移动终端的预设模式为户外模式时,全屏显示通知并响铃提示,便于用户及时查看信息的全部内容。通知的应用为预设应用,且移动终端的预设模式为驾驶模式时,通知全文显示并通过语音播报通知内容,避免用户直接查看通知,干扰驾驶安全,提升了用户体验。For example, when the sender of the notification is the default sender, and the default mode of the mobile terminal is the smart reminder mode, the reminder strategy of displaying the full text of the notification and brightening the screen is used. The information content of the notification includes preset content, such as user personal information, and when the preset mode of the mobile terminal is the outdoor mode, the notification is displayed on a full screen and a bell prompts, so that the user can view all the information in time. The application of the notification is the default application, and when the default mode of the mobile terminal is the driving mode, the full text of the notification is displayed and the content of the notification is broadcast by voice, which prevents the user from directly viewing the notification, interferes with driving safety, and improves the user experience.
在一实施方式中,若预设策略为亮屏提示时,则按预设亮度对通知消息进行亮度提示,预设亮度可设置为低于屏幕正常亮度值,以节省功耗。当接收到操作信息(如用户点击、滑动、语音控制指令等)后,则以正常亮度亮屏显示通知。在以预设亮度亮屏提示的同时,还可以通过响铃提示、语音提示、灯光提示、震动提示等方式提示通知,其中,灯光提示可以是指示灯、闪光灯、呼吸灯等。此外,还可以设置以预设亮度亮屏的提示时间小于或等于移动终端的屏幕正常熄屏时间,如屏幕正常熄屏时间为60秒,则可设置以预设亮度提示通知的时间为30秒,降低通知提醒的功耗。In one embodiment, if the preset policy is a screen bright prompt, the notification message is prompted with a preset brightness, and the preset brightness can be set to be lower than the normal screen brightness to save power consumption. When receiving operation information (such as user clicks, swipes, voice control commands, etc.), the notification will be displayed on the screen with normal brightness. While the screen is prompted with a preset brightness, notifications can also be prompted by means of bell prompts, voice prompts, light prompts, vibration prompts, etc., where the light prompts can be indicator lights, flashing lights, breathing lights, etc. In addition, you can also set the prompt time to turn on the screen at the preset brightness to be less than or equal to the normal screen-off time of the mobile terminal. If the normal screen-off time of the screen is 60 seconds, you can set the preset brightness to prompt the notification time to 30 seconds. , to reduce the power consumption of notification reminders.
在一实施方式中,如果预设策略为响铃提示时,则可根据通知确定响铃提示的音量,响铃提示时按照该通知对他的音量进行播放。比如,对于用户使用频率较高的应用,设置其响铃提示的音量大于正常手机提示音,避免用户错过重要的通知提示。具体地,可根据通知确定响铃提示的音量,若通知符合第二预设条件,则音量为第一预设音量值;若通知不符合第二预设条件,则音量为第二预设音量值。例如,发件人A为预设发件人时,设置其对应的通知音量值为10,发件人B不是预设发件人,则设置其对应的通知音量值为5;通知的正文内容包含“银行”或用户预设的个人信息等敏感信息时,设置其对应的通知音量值为10,正文内容不包含上述敏感信息时,设置其对应的通知音量值为5;通知所属的应用为预设应用如微信,设置其对应的通知音量值为10,其他应用则将音量值设置为5;通知的通知时间在预设时间段如8:00-22:00时,设置其对应的通知音量值为10,其他时间段则设置通知音量值为5;通知接收频率达到预设频率如八小时内接收的通知低于一次时,设置其通知音量值为10,通知频率若高于一次则设置音量值为5;通知的接收间隔大于或等于预设亮屏提示间隔,比如预设亮屏提示间隔为一分钟时,通知的接收间隔小于一分钟,则设置通知的音量值为10。通过这种方式,不仅可降低移动终端的功耗,而且也提升了通知提示的智能性,进一步提升了用户体验。In one embodiment, if the preset policy is a ringing reminder, the volume of the ringing reminder can be determined according to the notification, and the volume of the ringing reminder is played according to the notification. For example, for an application that is frequently used by users, the volume of the ringing prompt is set to be higher than the normal mobile phone prompt tone, so as to prevent the user from missing important notification prompts. Specifically, the volume of the ringing prompt can be determined according to the notification. If the notification meets the second preset condition, the volume is the first preset volume value; if the notification does not meet the second preset condition, the volume is the second preset volume value. For example, when sender A is the default sender, set its corresponding notification volume value to 10, and sender B is not the default sender, set its corresponding notification volume value to 5; the text content of the notification When it contains sensitive information such as "bank" or user-preset personal information, set the corresponding notification volume value to 10; when the text content does not contain the above sensitive information, set the corresponding notification volume value to 5; the application to which the notification belongs is For default applications such as WeChat, set the corresponding notification volume value to 10, and other applications to set the volume value to 5; the notification time of the notification is set in the preset time period such as 8:00-22:00, and the corresponding notification is set The volume value is 10, and the notification volume value is set to 5 in other time periods; the notification reception frequency reaches the preset frequency, such as when the notification received within eight hours is less than once, set the notification volume value to 10, and if the notification frequency is higher than once Set the volume value to 5; the notification reception interval is greater than or equal to the preset screen bright prompt interval. For example, when the preset screen bright prompt interval is one minute and the notification receiving interval is less than one minute, set the notification volume value to 10. In this way, not only the power consumption of the mobile terminal can be reduced, but also the intelligence of the notification prompt can be improved, and the user experience can be further improved.
第三实施例Third Embodiment
图4是根据第三实施例示出的通知提示方法的流程示意图。请参考图4,本实施例的通知提示方法,包括:FIG. 4 is a schematic flowchart of a notification prompting method according to a third embodiment. Please refer to FIG. 4 , the notification prompting method of this embodiment includes:
步骤201:接收到通知时,判断移动终端是否处于灭屏状态且允许亮屏;Step 201: when a notification is received, determine whether the mobile terminal is in a screen-off state and is allowed to turn on the screen;
步骤202:若处于灭屏状态且允许亮屏,则根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件;Step 202: If the screen is off and the screen is allowed to be on, then according to the feature information of the notification and/or the status information of the mobile terminal, determine whether the notification satisfies the screen-on prompt condition;
步骤203:若满足亮屏提示条件,则执行亮屏提示策略,亮屏提示策略包括低亮度亮屏。Step 203: If the screen brightening prompt condition is satisfied, the bright screen prompting strategy is executed, and the bright screen prompting strategy includes a low brightness bright screen.
本实施例的步骤201中,接收到通知消息后,根据移动终端的屏幕状态判断该通知是否符合亮屏通知的条件。具体地,首先移动终端是否处于灭屏状态,其次检测系统状态是否允许亮屏。当系统不处于以下任一状态时,则允许亮屏,包括:打开勿扰模式,则接收通知时无震动无铃声无亮屏;设置通知中心的锁定屏幕上的通知为不再显示通知的状态,则接收通知时有铃声无亮屏;设置了安全锁屏设置中的显示和亮度,锁定屏幕显示设置为锁定屏幕、完全不显示通知的状态,则接收通知时有铃声无亮屏。上述状态的亮屏功能默认关闭,需要用户做相应的操作打开,关闭该功能状态下,接收通知消息后根据上述设置做对应的亮屏、震动或者铃声。若系统不满足上述状态,则判断移动终端允许亮屏,可继续进行后续判断是否满足亮屏提示条件的步骤。In step 201 of this embodiment, after receiving the notification message, it is judged according to the screen state of the mobile terminal whether the notification meets the condition of the screen-on notification. Specifically, firstly, whether the mobile terminal is in the off-screen state, and secondly, it is detected whether the system state allows the screen to be on. When the system is not in any of the following states, the screen is allowed to be turned on, including: turn on the Do Not Disturb mode, no vibration, no ringtone, and no screen bright when receiving notifications; set the notification on the lock screen of the notification center to a state where notifications are no longer displayed , then there is a ringtone but no screen bright when receiving notifications; if the display and brightness in the security lock screen settings are set, and the lock screen display is set to the locked screen and no notifications are displayed at all, there is a ringtone but no screen bright when receiving notifications. The screen brightening function in the above state is disabled by default, and the user needs to perform corresponding operations to enable it. When the function is disabled, after receiving the notification message, the corresponding screen brightening, vibration or ringtone will be made according to the above settings. If the system does not meet the above state, it is determined that the mobile terminal is allowed to brighten the screen, and the subsequent steps of determining whether the prompting condition for brightening the screen is satisfied can be continued.
接着,步骤202中,移动终端处于灭屏且允许亮屏时,根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件。通知的特征信息包括通知所属的应用、通知时间、接收频率、亮屏提示间隔等。移动终端的状态信息包括移动终端的运动状态、遮挡状态、电量状态、应用使用状态、亮屏提示时间段等。Next, in step 202, when the screen of the mobile terminal is off and the screen is allowed to be turned on, it is determined whether the notification satisfies the screen-on prompt condition according to the feature information of the notification and/or the state information of the mobile terminal. The characteristic information of the notification includes the application to which the notification belongs, the notification time, the receiving frequency, and the screen-on prompt interval, etc. The state information of the mobile terminal includes a motion state, a blocking state, a power state, an application usage state, a screen-on prompting time period, and the like of the mobile terminal.
在一实施方式中,根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件,包括:In one embodiment, determining whether the notification satisfies the screen-on prompt condition is determined according to the feature information of the notification and/or the state information of the mobile terminal, including:
判断通知所属的应用是否在亮屏提示列表中;Determine whether the application to which the notification belongs is in the list of bright screen prompts;
若在亮屏提示列表中,则判断通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If it is in the screen-on prompt list, determine whether the notification receiving interval is greater than the screen-on prompt interval corresponding to the app to which it belongs;
若大于所属应用对应的亮屏提示间隔,则通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the app to which it belongs, the notification satisfies the screen-on screen prompt conditions.
针对默认需要开启亮屏提示功能的应用预设一个亮屏提示列表,该列表包含的第三方应用根据应用市场下载量排名添加,同时用户可以根据需要在自行选择应用添加入该亮屏提示列表。当接收到的通知在该亮屏提示列表中时,继续根据通知的接收间隔判断该通知是否符合亮屏提示条件,若通知的接收间隔大于所属应用对应的亮屏提示间隔,则对该通知进行亮屏提示。For applications that need to enable the screen-on-screen prompt function by default, a list of screen-on-screen prompts is preset, and the third-party applications included in the list are added according to the ranking of downloads in the application market. When the received notification is in the screen bright prompt list, continue to judge whether the notification meets the screen bright prompt conditions according to the receiving interval of the notification. If the receiving interval of the notification is greater than the screen bright prompt interval corresponding to the application, the notification is processed Bright screen prompt.
在一实施方式中,根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件,包括:In one embodiment, determining whether the notification satisfies the screen-on prompt condition is determined according to the feature information of the notification and/or the state information of the mobile terminal, including:
判断通知的通知时间是否在预设时间段;Determine whether the notification time of the notification is within the preset time period;
若在预设时间段,则判断通知的接收间隔是否大于所属应用对应的亮屏提示间隔;If it is within the preset time period, determine whether the notification receiving interval is greater than the screen-on prompting interval corresponding to the application to which it belongs;
若大于所属应用对应的亮屏提示间隔,则通知满足亮屏提示条件。If it is greater than the screen-on-screen prompt interval corresponding to the app to which it belongs, the notification satisfies the screen-on screen prompt conditions.
根据用户的作息时间,设置允许亮屏时间区间,包含自动设置模式和手动设置模式。自动模式在预设时间段内允许亮屏通知,超出时间段范围则不允许亮屏通知,避免打扰用户。预设时间段根据不同国家时区自动匹配,可设置除凌晨睡眠时间之外的时间段为允许亮屏的预设时间段。手动模式则由用户可自行选择时间区域作为不允许通知的预设时间段,例如设置工作时间或会议时间不允许亮屏通知,避免通知提醒打扰工作。若在预设时间段,则判断通知的接收间隔是否大于所属应用对应的亮屏提示间隔。通知的接收间隔大于所属应用对应的亮屏提示间隔时,判断该通知满足亮屏提示条件。According to the user's work and rest time, set the allowable screen time interval, including automatic setting mode and manual setting mode. The automatic mode allows screen-on notifications within a preset time period, and does not allow screen-on notifications beyond the time period to avoid disturbing users. The preset time period is automatically matched according to the time zone of different countries, and the time period other than the early morning sleep time can be set as the preset time period that allows the screen to be bright. In manual mode, the user can choose the time zone as the preset time period for which notifications are not allowed. For example, setting working hours or meeting times to not allow screen-on notifications to avoid notification reminders from disturbing work. If it is within the preset time period, it is determined whether the notification receiving interval is greater than the screen-on prompting interval corresponding to the application to which it belongs. When the notification receiving interval is greater than the screen bright prompt interval corresponding to the application to which it belongs, it is determined that the notification satisfies the screen bright prompt condition.
在一实施方式中,接收到通知后,首先检测移动终端是否处于灭屏状态,若是,则检测系统是否允许亮屏提示。上述条件均满足后,再根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件。判断通知的通知时间是否在亮屏提示列表中,若在亮屏提示列表中,则判断通知的通知时间是否在有效时间区段,即通知时间不超过预设时间段。若在预设时间段,则判断同一应用通知的接收间隔是否大于所属应用预设的亮屏提示间隔。若大于所属应用对应的亮屏提示间隔,则通知满足亮屏提示条件,控制点亮屏幕,同时伴随震动或者铃声进行通知提示。In one embodiment, after receiving the notification, it is first detected whether the mobile terminal is in an off-screen state, and if so, it is detected whether the system allows a screen-on prompt. After all of the above conditions are satisfied, it is then determined whether the notification satisfies the screen-on prompting condition according to the feature information of the notification and/or the state information of the mobile terminal. Determine whether the notification time of the notification is in the screen bright prompt list, and if it is in the bright screen prompt list, determine whether the notification time of the notification is in the valid time period, that is, the notification time does not exceed the preset time period. If it is within the preset time period, it is determined whether the receiving interval of the notification of the same application is greater than the screen-on prompt interval preset by the application to which it belongs. If it is greater than the screen-on-screen prompt interval corresponding to the app to which it belongs, the notification satisfies the screen-on prompt conditions, controls the screen to light up, and provides notification prompts with vibration or ringtones.
本实施例中,通知的接收间隔也即先后接收到通知的时间间隔,亮屏提示间隔也即对同一应用的连续两次通知进行亮屏提示的预设时间间隔,在上一次亮屏提示之后未达到预设时间间隔时收到相同应用的通知,则不进行亮屏提示,反之,在上一次亮屏提示之后达到预设时间间隔并收到相同应用的通知,进行亮屏提示。第一次接收应用通知的时间与之后通知的时间间隔小于等于所属应用对应的亮屏提示间隔时,则不进行通知亮屏,只有震动或者铃声。如果通知的接收间隔大于所属应用对应的亮屏提示间隔,则对通知消息的进行亮屏提示,同时震动或者铃声。亮屏之后重新计算亮屏提示间隔,不同各个应用独立计算各自的亮屏提示间隔。所属应用对应的亮屏提示间隔由用户专注度进行调整,用户专注度根据用户查看同一应用的通知的频率确定。如果通知消息被查看的频率很高则说明此应用消息用户专注度较高,调整为一个较低的亮屏提示间隔时间,让用户比较容易的看到,反之动态调整为一个相对较长的时间。In this embodiment, the notification reception interval is the time interval for successively receiving notifications, and the screen bright prompt interval is the preset time interval for the screen bright prompt for two consecutive notifications of the same application. After the last screen bright prompt If the notification of the same application is received before the preset time interval is reached, the screen-on prompt will not be given. On the contrary, the screen-on prompt will be given after the preset time interval is reached and the notification of the same application is received after the last screen-on prompt. When the time interval between the time when the app notification is received for the first time and the time interval between subsequent notifications is less than or equal to the screen-on-screen prompt interval corresponding to the app to which it belongs, the screen-on-screen notification will not be displayed, and only vibration or ringtone will be performed. If the receiving interval of the notification is greater than the screen-on-screen prompt interval corresponding to the application, the screen-on-screen prompt will be given to the notification message, and vibrate or ringtone at the same time. After the screen is turned on, the screen-on-screen prompt interval is recalculated, and each application calculates its own screen-on prompt interval independently. The screen-on prompt interval corresponding to the app to which it belongs is adjusted by the user's concentration, which is determined according to the frequency of the user viewing notifications of the same app. If the notification message is viewed frequently, it means that the user of this application message is highly focused. Adjust it to a lower screen-on prompt interval to make it easier for users to see it. Otherwise, it is dynamically adjusted to a relatively long time. .
然后,步骤203中,若通过上述判断接收的通知满足亮屏提示条件,则执行亮屏提示策略,包括:启动低亮度亮屏,低亮度亮屏的屏幕亮度低于移动终端亮屏时的正常亮度;接收到屏幕触发操作后,启动正常亮度亮屏。启动低亮度亮屏同时,还可以通过震动提示、响铃提示或语音提示的方式提示通知。通知亮屏屏幕进入低亮度状态,此时屏幕亮度取决于系统屏幕正常亮度,可设置为低于屏幕正常亮度值的一半,该低亮度亮屏状态等于正常系统超时灭屏前进入的状态。同时根据系统负载将CPU,RAM,IO频率降低,多核心系统包括关闭非必要的核心,使系统进入低功耗状态。通知亮屏的时长可设置为一个预设的时间,如不超过5秒。通知提示时屏幕只是处于一个预亮的状态,根据系统的设置有对应的震动或者铃声提示用户,该亮度提示策略过程中如果用户有相关的触屏和按键等操作则屏幕全亮显示,之后屏幕再按照正常的系统超时时间睡眠,没有相关操作则按预设超时间灭屏。此外,还可以设置低亮度亮屏的提示时间低于移动终端的屏幕睡眠时间,进一步节省通知提示的功耗。Then, in step 203, if the notification received through the above judgment satisfies the bright screen prompting condition, the bright screen prompting strategy is executed, including: starting the low-brightness bright screen, and the screen brightness of the low-brightness bright screen is lower than the normal screen brightness when the mobile terminal is bright. Brightness; after receiving the screen trigger operation, start the normal brightness to brighten the screen. At the same time when the low-brightness screen is activated, notifications can also be prompted by vibration, ringing, or voice prompts. Notify the bright screen to enter a low brightness state. At this time, the screen brightness depends on the normal brightness of the system screen, which can be set to be lower than half of the normal screen brightness value. At the same time, the frequency of CPU, RAM, and IO is reduced according to the system load, and the multi-core system includes turning off unnecessary cores to make the system enter a low-power state. The duration of the notification screen can be set to a preset time, such as no more than 5 seconds. When the notification prompts, the screen is only in a pre-bright state. According to the system settings, there will be corresponding vibrations or ringtones to prompt the user. During the brightness prompting strategy, if the user has related touch screen and key operations, the screen will be fully lit, and then the screen will be fully lit. Then sleep according to the normal system timeout period, and the screen will be off according to the preset timeout period if there is no related operation. In addition, the prompt time of the low-brightness bright screen can also be set to be lower than the screen sleep time of the mobile terminal, so as to further save the power consumption of the notification prompt.
本实施例的通知提示方法,应用于移动终端,包括:接收到通知时,判断移动终端是否处于灭屏状态且允许亮屏;若处于灭屏状态且允许亮屏,则根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件;若满足亮屏提示条件,则执行亮屏提示策略,亮屏提示策略包括低亮度亮屏。通过上述方式,能实现智能化推送通知,有效减少通知消息的功耗,延长移动终端的续航时间。The notification prompting method of this embodiment, applied to a mobile terminal, includes: when a notification is received, judging whether the mobile terminal is in a screen-off state and allows the screen to be turned on; /or status information of the mobile terminal to determine whether the notification satisfies the bright screen prompting condition; if the bright screen prompting condition is met, the bright screen prompting strategy is executed, and the bright screen prompting strategy includes low brightness bright screen. Through the above method, intelligent push notification can be realized, the power consumption of notification messages can be effectively reduced, and the battery life of the mobile terminal can be prolonged.
第四实施例Fourth Embodiment
图5是根据第四实施例示出的通知提示方法的流程示意图。如图5所示,本实施例中,接收到通知后,首先检测移动终端是否处于灭屏状态,若否,则在当前正常亮屏状态下通过震动或响铃进行通知提示。若移动终端已灭屏,则继续判断移动终端是否允许亮屏,并根据通知的特征信息和/或移动终端的状态信息判断是否满足亮屏提示条件。若判断结果未不允许亮屏或通知不满足亮屏提示条件,可以通过震动提示、响铃提示或语音提示中的一种或多种任意组合方式提示通知。FIG. 5 is a schematic flowchart of a notification prompting method according to a fourth embodiment. As shown in FIG. 5 , in this embodiment, after receiving a notification, it is first detected whether the mobile terminal is in a screen-off state, and if not, a notification prompt is given by vibration or ringing in the current normal screen-on state. If the screen of the mobile terminal is off, continue to judge whether the mobile terminal allows the screen to be turned on, and judge whether the screen-on prompt condition is satisfied according to the feature information of the notification and/or the status information of the mobile terminal. If the judgment result does not allow the screen to be turned on or the notification does not meet the screen-on prompt conditions, the notification may be prompted by any combination of one or more of vibration prompts, ring prompts or voice prompts.
其中,判断移动终端是否允许亮屏,即判断系统是否预先设置为不允许亮屏的状态。当系统处于以下任一状态时,则不允许亮屏,包括:打开勿扰模式,则接收通知时无震动无铃声无亮屏;设置通知中心的锁定屏幕上的通知为不再显示通知的状态,则接收通知时有铃声无亮屏;设置了安全锁屏设置中的显示和亮度,锁定屏幕显示设置为锁定屏幕、完全不显示通知的状态,则接收通知时有铃声无亮屏。Wherein, judging whether the mobile terminal is allowed to turn on the screen, that is, judging whether the system is preset to a state that does not allow the screen to be turned on. When the system is in any of the following states, the screen is not allowed to be turned on, including: turn on the Do Not Disturb mode, no vibration, no ringtone, and no screen bright when receiving notifications; set the notification on the lock screen of the notification center to a state where notifications are no longer displayed , then there is a ringtone but no screen bright when receiving notifications; if the display and brightness in the security lock screen settings are set, and the lock screen display is set to the locked screen and no notifications are displayed at all, there is a ringtone but no screen bright when receiving notifications.
接着,判断通知满足以下任一情形时,则不满足亮屏提示条件,包括:通知所属的应用未列入亮屏应用列表;通知时间在睡眠时间范围内;接收通知的频率大于预设频率;移动终端处于运动状态和/或遮挡状态;移动终端处于使用应用状态;移动终端的电量低于预设电量。Next, when it is determined that the notification meets any of the following conditions, the screen-on-screen prompt condition is not met, including: the application to which the notification belongs is not included in the screen-on-screen application list; the notification time is within the sleep time range; the frequency of receiving notifications is greater than the preset frequency; The mobile terminal is in a motion state and/or a blocking state; the mobile terminal is in an application state; the power level of the mobile terminal is lower than a preset power level.
本实施例的通知提示方法,通过三层渐进式限定移动终端在接收到通知时的不允许亮屏条件,即移动终端不处于灭屏状态,或者不允许亮屏,或者根据通知的特征信息和/或移动终端的状态信息判断通不否满足亮屏提示条件,来限制使用亮屏对通知进行提示,能够有效减少通知消息的功耗,延长移动终端的续航时间。In the notification prompting method of this embodiment, the conditions for not allowing the screen to be turned on when the mobile terminal receives a notification is limited by three-layer progressive, that is, the mobile terminal is not in the off-screen state, or the screen is not allowed to be turned on, or according to the feature information and /or whether the status information of the mobile terminal satisfies the bright-screen prompting condition, so as to limit the use of bright-screen prompting for notifications, which can effectively reduce the power consumption of the notification message and prolong the battery life of the mobile terminal.
第五实施例Fifth Embodiment
图6是根据第五实施例示出的通知提示方法的流程示意图。如图6所示,本实施例中,接收到通知后,根据通知的特征信息和/或移动终端的状态信息判断通知是否满足亮屏提示条件。判断接收通知频率是否达到预设值,可分为接收到的通知总频率和单个应用的通知频率,当接收通知的总频率大于预设总频率时,或者,当接收同一应用的通知频率大于预设第一频率时,均判定接收通知频率达到预设值。以接收同一应用的通知频率为例,当同一应用的通知频率小于等于五秒时,屏幕不亮,仅通过震动或者铃声提示通知。若同一应用的通知频率大于5秒时,则触发传感器检测移动终端是否处于运动状态和/或遮挡状态。FIG. 6 is a schematic flowchart of a notification prompting method according to a fifth embodiment. As shown in FIG. 6 , in this embodiment, after receiving the notification, it is determined whether the notification satisfies the screen-on prompting condition according to the feature information of the notification and/or the state information of the mobile terminal. To determine whether the frequency of receiving notifications reaches the preset value, it can be divided into the total frequency of received notifications and the notification frequency of a single application. When the total frequency of received notifications is greater than the preset total frequency, or when the frequency of receiving notifications from the same application is greater than the predetermined frequency. When the first frequency is set, it is determined that the frequency of receiving notifications reaches the preset value. Taking the notification frequency of receiving the same application as an example, when the notification frequency of the same application is less than or equal to five seconds, the screen does not light up, and the notification is only prompted by vibration or ringtone. If the notification frequency of the same application is greater than 5 seconds, the sensor is triggered to detect whether the mobile terminal is in a motion state and/or a blocking state.
检测运动状态时,通过触发加速度传感器接收移动终端的加速度数据,当移动终端的加速度大于等于零时,判断移动终端处于运动状态;检测遮挡状态时,触发距离传感器检测移动终端的上部屏幕是否被遮挡,若是,判断移动终端处于遮挡状态。When the motion state is detected, the acceleration data of the mobile terminal is received by triggering the acceleration sensor, and when the acceleration of the mobile terminal is greater than or equal to zero, it is determined that the mobile terminal is in the motion state; when the occlusion state is detected, the distance sensor is triggered to detect whether the upper screen of the mobile terminal is occluded, If so, it is determined that the mobile terminal is in a blocking state.
在移动终端处于运动状态或者遮挡状态时,对接收到的通知不作亮屏提示,仅通过震动或者铃声进行提示,并提示完成后关闭传感器,待下次接收到通知后根据接收通知频率重新判断是否需要触发,以降低传感器功耗。移动终端不处于运动状态或者遮挡状态时,则按亮屏提示策略进行低亮度亮屏,亮屏过程中如检测到由按键或者触屏事件,则控制屏幕正常全亮,否则通知亮屏持续预设时间后自动灭屏。When the mobile terminal is in motion or occluded state, the received notification will not be prompted to brighten the screen, but will only be prompted by vibration or ringtone, and the sensor will be turned off after the prompt is completed. Triggering is required to reduce sensor power consumption. When the mobile terminal is not in motion or occluded state, the screen will be brightened at low brightness according to the bright screen prompting strategy. If a button or touch screen event is detected during the bright screen process, the screen will be controlled to be fully bright, otherwise the screen will be notified to continue to pre-screen. The screen will automatically turn off after the set time.
本实施例的通知提示方法,在接收到通知时,判断同一应用的通知频率是否大于预设频率,若是,则触发传感器检测移动终端是否处于运动状态和/或遮挡状态;若判断移动终端处于运动状态和/或遮挡状态,则执行亮屏提示策略,能根据移动终端的使用状态实现智能化推送通知,有效减少通知消息的功耗。In the notification prompting method of this embodiment, when a notification is received, it is determined whether the notification frequency of the same application is greater than the preset frequency, and if so, the sensor is triggered to detect whether the mobile terminal is in a motion state and/or a blocking state; if it is determined that the mobile terminal is in motion state and/or occlusion state, the bright screen prompting strategy is implemented, which can realize intelligent push notification according to the usage state of the mobile terminal, and effectively reduce the power consumption of notification messages.
第六实施例Sixth Embodiment
图7是根据第六实施例示出的移动终端的结构示意图之一。请参考图7,本实施例的移动终端10包括存储器102与处理器106,存储器102用于存储至少一条程序指令,处理器106用于通过加载并执行至少一条程序指令以实现第一实施例至第五实施例的通知提示方法。FIG. 7 is one of the schematic structural diagrams of the mobile terminal according to the sixth embodiment. Referring to FIG. 7 , the mobile terminal 10 of this embodiment includes a memory 102 and a processor 106, the memory 102 is used to store at least one program instruction, and the processor 106 is used to load and execute at least one program instruction to implement the first embodiment to The notification prompting method of the fifth embodiment.
请参考图8,实际实现时,移动终端10包括存储器102、存储控制器104,一个或多个(图中仅示出一个)处理器106、外设接口108、射频模块150、定位模块112、摄像模块114、音频模块116、屏幕118以及按键模块160。这些组件通过一条或多条通讯总线/信号线122相互通讯。Referring to FIG. 8 , in actual implementation, the mobile terminal 10 includes a memory 102, a storage controller 104, one or more (only one is shown in the figure) processor 106, a peripheral interface 108, a radio frequency module 150, a positioning module 112, The camera module 114 , the audio module 116 , the screen 118 and the key module 160 . These components communicate with each other via one or more communication bus/signal lines 122 .
可以理解,图8所示的结构仅为示意,移动终端10还可包括比图8中所示更多或者更少的组件,或者具有与图8所示不同的配置。图8中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 8 is for illustration only, and the mobile terminal 10 may further include more or less components than those shown in FIG. 8 , or have different configurations from those shown in FIG. 8 . Each component shown in FIG. 8 may be implemented in hardware, software, or a combination thereof.
存储器102可用于存储软件程序以及模块,如本申请实施例中的通知提示方法对应的程序指令/模块,处理器106通过运行存储在存储控制器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的通知提示方法。The memory 102 can be used to store software programs and modules, such as program instructions/modules corresponding to the notification prompt method in the embodiment of the present application, and the processor 106 executes various functions by running the software programs and modules stored in the storage controller 104. The application and data processing implement the above notification prompting method.
存储器102可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器102可进一步包括相对于处理器106远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。处理器106以及其他可能的组件对存储器102的访问可在存储控制器104的控制下进行。The memory 102 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 102 may further include memory located remotely from the processor 106, and these remote memories may be connected to the mobile terminal 10 through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Access to memory 102 by processor 106 and possibly other components may be under the control of memory controller 104 .
外设接口108将各种输入/输入装置耦合至CPU以及存储器102。处理器106运行存储器102内的各种软件、指令以执行移动终端10的各种功能以及进行数据处理。A peripheral interface 108 couples various input/input devices to the CPU and memory 102 . The processor 106 executes various software and instructions within the memory 102 to perform various functions of the mobile terminal 10 and perform data processing.
在一些实施例中,外设接口108,处理器106以及存储控制器104可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。In some embodiments, peripheral interface 108, processor 106, and memory controller 104 may be implemented in a single chip. In other instances, they may be implemented by separate chips.
射频模块150用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。射频模块150可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。射频模块150可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband code division multiple access,W-CDMA),码分多址技术(Code division access,,CDMA)、时分多址技术(time division multiple access,TDMA),蓝牙,无线保真技术(Wireless Fidelity, WiFi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The radio frequency module 150 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The radio frequency module 150 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, and the like. The radio frequency module 150 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above-mentioned wireless networks can use various communication standards, protocols and technologies, including but not limited to the Global System for Mobile Communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access (Code division access,, CDMA), time division multiple access (time division multiple access, TDMA), Bluetooth, wireless fidelity technology (Wireless Fidelity, WiFi) (e.g. Institute of Electrical and Electronics Engineers standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), Internet telephony (Voice over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocol, even those that are currently A protocol that has not yet been developed.
定位模块112用于获取移动终端10的当前位置。定位模块112的实例包括但不限于全球卫星定位系统(GPS)、基于无线局域网或者移动通信网的定位技术。The positioning module 112 is used to obtain the current position of the mobile terminal 10 . Examples of the positioning module 112 include, but are not limited to, Global Positioning System (GPS), wireless local area network or mobile communication network based positioning technology.
摄像模块114用于拍摄照片或者视频。拍摄的照片或者视频可以存储至存储器102内,并可通过射频模块150发送。The camera module 114 is used for taking photos or videos. The photographed photos or videos can be stored in the memory 102 and can be sent through the radio frequency module 150 .
音频模块116向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。音频电路从外设接口108处接收声音数据,将声音数据转换为电信息,将电信息传输至扬声器。扬声器将电信息转换为人耳能听到的声波。音频电路还从麦克风处接收电信息,将电信号转换为声音数据,并将声音数据传输至外设接口108中以进行进一步的处理。音频数据可以从存储器102处或者通过射频模块150获取。此外,音频数据也可以存储至存储器102中或者通过射频模块150进行发送。在一些实例中,音频模块116还可包括一个耳机播孔,用于向耳机或者其他设备提供音频接口。Audio module 116 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry. The audio circuit receives sound data from the peripheral interface 108, converts the sound data into electrical information, and transmits the electrical information to the speaker. Speakers convert electrical information into sound waves that the human ear can hear. The audio circuit also receives electrical information from the microphone, converts the electrical signal into sound data, and transmits the sound data to the peripheral interface 108 for further processing. Audio data may be obtained from memory 102 or through radio frequency module 150 . In addition, the audio data can also be stored in the memory 102 or transmitted through the radio frequency module 150 . In some instances, the audio module 116 may also include a headphone jack for providing an audio interface to headphones or other devices.
屏幕118在移动终端10与用户之间提供一个输出界面。具体地,屏幕118向用户显示视频输出,这些视频输出的内容可包括文字、图形、视频、及其任意组合。一些输出结果是对应于一些用户界面对象。可以理解的,屏幕118还可以包括触控屏幕。触控屏幕在移动终端10与用户之间同时提供一个输出及输入界面。除了向用户显示视频输出,触控屏幕还接收用户的输入,例如用户的点击、滑动等手势操作,以便用户界面对象对这些用户的输入做出响应。检测用户输入的技术可以是基于电阻式、电容式或者其他任意可能的触控检测技术。触控屏幕显示单元的具体实例包括但并不限于液晶显示器或发光聚合物显示器。The screen 118 provides an output interface between the mobile terminal 10 and the user. Specifically, the screen 118 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some output results correspond to some user interface objects. It can be understood that the screen 118 may also include a touch screen. The touch screen simultaneously provides an output and input interface between the mobile terminal 10 and the user. In addition to displaying video output to the user, the touch screen also receives user input, such as the user's taps, swipes, and other gesture operations, so that user interface objects respond to these user inputs. The technology for detecting user input may be based on resistive, capacitive or any other possible touch detection technology. Specific examples of touch screen display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
按键模块160同样提供用户向移动终端10进行输入的接口,用户可以通过按下不同的按键以使移动终端10执行不同的功能。The key module 160 also provides an interface for the user to input to the mobile terminal 10, and the user can press different keys to make the mobile terminal 10 perform different functions.
本申请还提供一种计算机存储介质,计算机存储介质上存储有计算机程序指令;计算机程序指令被处理器执行时实现如第一实施例至第五实施例的通知提示方法。The present application also provides a computer storage medium on which computer program instructions are stored; when the computer program instructions are executed by a processor, the notification and prompting methods according to the first to fifth embodiments are implemented.
实际实现时,计算机存储介质应用于在图7或图8所示的移动终端中,从而实现智能化推送通知,有效减少通知消息的功耗,延长移动终端的续航时间。In actual implementation, the computer storage medium is used in the mobile terminal shown in FIG. 7 or FIG. 8 , so as to realize intelligent push notification, effectively reduce the power consumption of notification messages, and prolong the battery life of the mobile terminal.
本申请还提供一种设备,所述设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的方法的步骤。The present application also provides a device, the device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the above the steps of the method.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中所述的方法。The embodiments of the present application further provide a computer program product, the computer program product includes computer program code, when the computer program code is run on a computer, the computer is made to execute the method described in the various possible implementation manners above.
本申请实施例还提供一种芯片,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于从所述存储器中调用并运行所述计算机程序,使得安装有所述芯片的设备执行如上各种可能的实施方式中所述的方法。An embodiment of the present application further provides a chip, including a memory and a processor, where the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a chip installed with the chip is The apparatus performs the method as described in the various possible embodiments above.
本领域技术人员在考虑说明书及实践这里公开的申请后,将容易想到本申请的其它实施方案。本申请的实施例旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. The examples of this application are intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or common knowledge in the technical field not disclosed in this application. conventional technical means. The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
工业实用性Industrial Applicability
本申请的通知提示方法、移动终端和计算机存储介质,通知提示方法应用于移动终端,包括:S11、接收到通知时,判断移动终端的状态信息是否满足第一预设条件;S12、若是,判断通知是否符合第二预设条件;S13、若是,则按照预设策略进行提示。本发明还公开了一种移动终端和计算机存储介质。通过上述方式,能实现智能化推送通知及降低功耗的目的。The notification prompting method, mobile terminal and computer storage medium of the present application, the notification prompting method is applied to the mobile terminal, including: S11. When receiving the notification, determine whether the state information of the mobile terminal satisfies the first preset condition; S12. If so, determine Notify whether the second preset condition is met; S13, if yes, prompt according to the preset strategy. The invention also discloses a mobile terminal and a computer storage medium. In the above manner, the purpose of intelligent push notification and power consumption reduction can be achieved.

Claims (21)

  1. 一种通知提示方法,应用于移动终端,其中,包括:A notification prompting method, applied to a mobile terminal, comprising:
    S11、接收到通知时,判断所述移动终端的状态信息是否满足第一预设条件;S11. When a notification is received, determine whether the state information of the mobile terminal satisfies a first preset condition;
    S12、若是,判断所述通知是否符合第二预设条件;S12, if yes, determine whether the notification meets the second preset condition;
    S13、若是,则按照预设策略进行提示。S13. If yes, prompt according to a preset strategy.
  2. 根据权利要求1所述的方法,其中,所述状态信息,包括以下至少一种:运动状态、屏幕状态、遮挡状态、运行状态;和/或,The method according to claim 1, wherein the state information includes at least one of the following: a motion state, a screen state, an occlusion state, and a running state; and/or,
    所述满足第一预设条件,包括以下至少一种:The meeting the first preset condition includes at least one of the following:
    所述移动终端处于预设运动状态;the mobile terminal is in a preset motion state;
    所述移动终端的屏幕处于灭屏状态;The screen of the mobile terminal is in an off-screen state;
    所述移动终端的屏幕处于遮挡状态;The screen of the mobile terminal is in a blocked state;
    所述移动终端的运行处于卡顿状态。The operation of the mobile terminal is in a stuck state.
  3. 根据权利要求1所述的方法,其中,所述符合第二预设条件,包括以下至少一种:The method according to claim 1, wherein the meeting the second preset condition comprises at least one of the following:
    所述通知的发件人为预设发件人;the sender of the notification is the default sender;
    所述通知的信息内容包括预设信息内容;The information content of the notification includes preset information content;
    所述通知所属的应用为预设应用;The application to which the notification belongs is a preset application;
    所述通知的通知时间在预设时间段;The notification time of the notification is within a preset time period;
    所述通知接收频率达到预设频率;The notification receiving frequency reaches the preset frequency;
    所述通知的接收间隔大于或等于预设亮屏提示间隔。The notification receiving interval is greater than or equal to the preset screen-on prompting interval.
  4. 根据权利要求1所述的方法,其中,所述预设策略包括以下至少一种:The method of claim 1, wherein the preset strategy includes at least one of the following:
    通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点和/或预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示。Full-text notification, partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompts, screen-on prompts, bell prompts, voice prompts, light prompts, and vibration prompts.
  5. 根据权利要求1所述的方法,其中,若所述预设策略为亮屏提示时,所述S13步骤,包括:The method according to claim 1, wherein, if the preset strategy is a screen-on prompt, the step S13 includes:
    以预设亮度亮屏提示;Bright screen prompts with preset brightness;
    若接收到操作信息后,则以正常亮度亮屏。If the operation information is received, the screen will be turned on with normal brightness.
  6. 根据权利要求5所述的方法,其中,所述方法,还包括:The method of claim 5, wherein the method further comprises:
    在以预设亮度亮屏提示时,还通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式提示所述通知;和/或,When prompting the screen with a preset brightness, the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
    所述以预设亮度亮屏的提示时间为预设值,或者小于或等于所述移动终端的屏幕正常熄屏时间。The prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
  7. 根据权利要求1至6中任一项所述的方法,其中,若所述预设策略为响铃提示时,所述S13步骤,包括:The method according to any one of claims 1 to 6, wherein, if the preset strategy is a bell prompt, the step S13 includes:
    根据所述通知确定所述响铃提示的音量;determining the volume of the ringing prompt according to the notification;
    所述响铃提示按照所述音量进行播放。The ringing prompt is played according to the volume.
  8. 根据权利要求7所述的方法,其中,所述根据所述通知确定所述响铃提示的音量,包括以下至少一种:The method according to claim 7, wherein the determining the volume of the ringing prompt according to the notification comprises at least one of the following:
    若所述通知符合第二预设条件,则所述音量为第一预设音量值;If the notification meets the second preset condition, the volume is the first preset volume value;
    若所述通知不符合第二预设条件,则所述音量为第二预设音量值。If the notification does not meet the second preset condition, the volume is the second preset volume value.
  9. 根据权利要求1至6中任一项所述的方法,其中,所述方法,还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    若所述移动终端不允许亮屏或所述通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式进行提示。If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt condition, the notification is given by at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt.
  10. 一种通知提示方法,应用于移动终端,其中,包括:A notification prompting method, applied to a mobile terminal, comprising:
    S21、判断接收到的通知信息和/或所述移动终端的状态信息是否满足预设条件;S21. Determine whether the received notification information and/or the state information of the mobile terminal satisfy a preset condition;
    S22、若是,判断所述移动终端是否处于预设模式;S22, if yes, determine whether the mobile terminal is in a preset mode;
    S23、若是,则按照预设策略进行提示。S23. If yes, prompt according to a preset strategy.
  11. 根据权利要求10所述的方法,其中,所述通知信息包括发件人、通知信息内容、所属的应用、通知时间、通知频率、通知间隔中的至少一种;和/或,The method according to claim 10, wherein the notification information includes at least one of sender, notification information content, application to which it belongs, notification time, notification frequency, and notification interval; and/or,
    所述状态信息包括运动状态、屏幕状态、遮挡状态、运行状态中的至少一种。The state information includes at least one of motion state, screen state, occlusion state, and running state.
  12. 根据权利要求10所述的方法,其中,所述满足预设条件包括以下至少一种:The method according to claim 10, wherein the meeting the preset condition comprises at least one of the following:
    所述通知的发件人为预设发件人;the sender of the notification is the default sender;
    所述通知的信息内容包括预设信息内容;The information content of the notification includes preset information content;
    所述通知所属的应用为预设应用;The application to which the notification belongs is a preset application;
    所述通知的通知时间在预设时间段;The notification time of the notification is within a preset time period;
    所述通知的通知频率达到预设频率;The notification frequency of the notification reaches the preset frequency;
    所述通知的通知间隔大于预设亮屏提示间隔;The notification interval of the notification is greater than the preset bright screen prompt interval;
    所述移动终端处于预设运动状态;the mobile terminal is in a preset motion state;
    所述移动终端的屏幕处于灭屏状态;The screen of the mobile terminal is in an off-screen state;
    所述移动终端的屏幕处于遮挡状态;The screen of the mobile terminal is in a blocked state;
    所述移动终端的运行处于卡顿状态。The operation of the mobile terminal is in a stuck state.
  13. 根据权利要求10所述的方法,其中,所述预设模式包括以下至少一种:The method of claim 10, wherein the preset mode includes at least one of the following:
    智能提醒模式、勿扰模式、会议模式、睡眠模式、驾驶模式、户外模式。Smart reminder mode, do not disturb mode, conference mode, sleep mode, driving mode, outdoor mode.
  14. 根据权利要求10所述的方法,其中,所述预设策略包括以下至少一种:The method of claim 10, wherein the preset strategy includes at least one of the following:
    通知全文显示、通知部分显示、全屏显示通知、局部显示通知、预定时间点和/或预定时长提示、亮屏提示、响铃提示、语音提示、灯光提示、震动提示。Full-text notification, partial notification, full-screen notification, partial notification, scheduled time point and/or scheduled duration prompt, screen-on prompt, bell prompt, voice prompt, light prompt, and vibration prompt.
  15. 根据权利要求10所述的方法,其中,若所述预设策略为亮屏提示时,所述S23步骤,包括:The method according to claim 10, wherein, if the preset strategy is a bright screen prompt, the step S23 includes:
    以预设亮度亮屏提示;Bright screen prompts with preset brightness;
    若接收到操作信息后,则以正常亮度亮屏。If the operation information is received, the screen will be turned on with normal brightness.
  16. 根据权利要求15所述的方法,其中,所述方法,还包括:The method of claim 15, wherein the method further comprises:
    在以预设亮度亮屏提示时,还通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式提示所述通知;和/或,When prompting with a preset brightness on the screen, the notification is also prompted by at least one of a ring prompt, a voice prompt, a light prompt, and a vibration prompt; and/or,
    所述以预设亮度亮屏的提示时间为预设值,或者小于或等于所述移动终端的屏幕正常熄屏时间。The prompting time for turning on the screen with the preset brightness is a preset value, or less than or equal to the normal screen-off time of the mobile terminal.
  17. 根据权利要求10至16中任一项所述的方法,其中,若所述预设策略为响铃提示时,所述S23步骤,包括:The method according to any one of claims 10 to 16, wherein, if the preset strategy is a bell prompt, the step S23 includes:
    根据所述通知确定所述响铃提示的音量;determining the volume of the ringing prompt according to the notification;
    所述响铃提示按照所述音量进行播放。The ringing prompt is played according to the volume.
  18. 根据权利要求17所述的方法,其中,所述根据所述通知确定所述响铃提示的音量,包括以下至少一种:The method according to claim 17, wherein the determining the volume of the ringing prompt according to the notification comprises at least one of the following:
    若所述通知信息和/或所述移动终端的状态信息满足预设条件,则所述音量为第一预设音量值;If the notification information and/or the state information of the mobile terminal satisfy a preset condition, the volume is a first preset volume value;
    若所述通知信息和/或所述移动终端的状态信息不满足预设条件,则所述音量为第二预设音量值。If the notification information and/or the state information of the mobile terminal do not meet the preset condition, the volume is a second preset volume value.
  19. 根据权利要求10至16中任一项所述的方法,其中,所述方法,还包括:The method according to any one of claims 10 to 16, wherein the method further comprises:
    若所述移动终端不允许亮屏或所述通知不满足亮屏提示条件,则通过响铃提示、语音提示、灯光提示、震动提示中的至少一种方式进行提示。If the mobile terminal does not allow the screen to be turned on or the notification does not meet the screen-on prompt condition, the notification is given by at least one of a ringing prompt, a voice prompt, a light prompt, and a vibration prompt.
  20. 一种移动终端,其中,包括存储器与处理器,所述存储器用于存储至少一条程序指令,所述处理器用于通过加载并执行所述至少一条程序指令以实现如权利要求1至19中任一项所述的通知提示方法。A mobile terminal, comprising a memory and a processor, the memory is used to store at least one program instruction, and the processor is used to implement any one of claims 1 to 19 by loading and executing the at least one program instruction The notification prompt method described in item.
  21. 一种计算机存储介质,其中,所述计算机存储介质上存储有计算机程序指令;所述计算机程序指令被处理器执行时实现如权利要求1至19中任一项所述的通知提示方法。A computer storage medium, wherein computer program instructions are stored on the computer storage medium; when the computer program instructions are executed by a processor, the notification prompting method according to any one of claims 1 to 19 is implemented.
PCT/CN2020/106275 2020-07-31 2020-07-31 Notification prompting method, mobile terminal, and computer storage medium WO2022021354A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080102372.9A CN115917505A (en) 2020-07-31 2020-07-31 Notification prompting method, mobile terminal and computer storage medium
PCT/CN2020/106275 WO2022021354A1 (en) 2020-07-31 2020-07-31 Notification prompting method, mobile terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/106275 WO2022021354A1 (en) 2020-07-31 2020-07-31 Notification prompting method, mobile terminal, and computer storage medium

Publications (1)

Publication Number Publication Date
WO2022021354A1 true WO2022021354A1 (en) 2022-02-03

Family

ID=80036878

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/106275 WO2022021354A1 (en) 2020-07-31 2020-07-31 Notification prompting method, mobile terminal, and computer storage medium

Country Status (2)

Country Link
CN (1) CN115917505A (en)
WO (1) WO2022021354A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729446A (en) * 2009-11-27 2010-06-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal prompting receipt of new message by instant messaging
US20140129966A1 (en) * 2012-11-08 2014-05-08 Vladimir Kolesnikov Progressive Rendering of Data Sets
CN106557292A (en) * 2016-11-11 2017-04-05 珠海市魅族科技有限公司 Method for information display and device
CN107707749A (en) * 2017-09-27 2018-02-16 珠海市魅族科技有限公司 A kind of communication information output intent, device, terminal and readable storage medium storing program for executing
US20180183921A1 (en) * 2016-12-22 2018-06-28 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN109120789A (en) * 2018-08-28 2019-01-01 Oppo广东移动通信有限公司 Message prompt method, device, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685327A (en) * 2012-05-04 2012-09-19 中兴通讯股份有限公司 Message-strength-based ringing method, device and mobile terminal
CN107395858B (en) * 2017-06-07 2021-10-15 努比亚技术有限公司 Notification message prompting method, terminal and computer readable storage medium
CN108989568A (en) * 2018-08-03 2018-12-11 海南新软软件有限公司 A kind of information push method, apparatus and system
CN110365836A (en) * 2019-06-06 2019-10-22 华为技术有限公司 A kind of reminding method of notice, terminal and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729446A (en) * 2009-11-27 2010-06-09 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal prompting receipt of new message by instant messaging
US20140129966A1 (en) * 2012-11-08 2014-05-08 Vladimir Kolesnikov Progressive Rendering of Data Sets
CN106557292A (en) * 2016-11-11 2017-04-05 珠海市魅族科技有限公司 Method for information display and device
US20180183921A1 (en) * 2016-12-22 2018-06-28 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN107707749A (en) * 2017-09-27 2018-02-16 珠海市魅族科技有限公司 A kind of communication information output intent, device, terminal and readable storage medium storing program for executing
CN109120789A (en) * 2018-08-28 2019-01-01 Oppo广东移动通信有限公司 Message prompt method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN115917505A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US10257786B2 (en) Method and apparatus for managing a display of a mobile electronic device for power saving
US10206074B2 (en) Remote access to a mobile communication device over a wireless local area network (WLAN)
US8457693B2 (en) Power consumption control apparatus in PDA phone
US8046030B2 (en) Methods, devices and computer program products for operating mobile devices responsive to user input through movement thereof
US7194248B2 (en) Apparatus and method for performing power saving control of mobile terminal
WO2017206952A1 (en) Intelligent reminding method, and terminal, wearable device and system
EP2988481A1 (en) Method for calling mobile terminal, method for controlling mobile terminal, and relevant device
WO2015089982A1 (en) Message reminding method and device, and electronic device
CN107277902B (en) Terminal power consumption control method, mobile terminal and computer readable storage medium
US20160365021A1 (en) Mobile device with low-emission mode
WO2021042614A1 (en) Terminal control method, terminal and computer storage medium
US9430988B1 (en) Mobile device with low-emission mode
WO2022021354A1 (en) Notification prompting method, mobile terminal, and computer storage medium
WO2020087321A1 (en) Configuration adjustment method and apparatus, electronic device, and computer readable storage medium
CN112997471A (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN106445778A (en) Information processing method and mobile terminal
JP4830611B2 (en) Mobile terminal, cell selection method and program
WO2019056944A1 (en) Method and apparatus for reducing power consumption, and terminal
WO2022193257A1 (en) Intelligent interaction method, terminal, and storage medium
WO2023142900A1 (en) Volume adjustment method and electronic device
WO2022217590A1 (en) Voice prompt method, terminal and storage medium
WO2023116415A1 (en) Application program suppression method and electronic device
WO2022218106A1 (en) Data transmission method, apparatus, and device, and storage medium
WO2022257141A1 (en) Method for prompting about state of earphone, mobile terminal, and readable storage medium
WO2021042598A1 (en) Call control method and apparatus, and storage medium and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20947799

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.09.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20947799

Country of ref document: EP

Kind code of ref document: A1