CN112565517A - Notification message processing method, mobile terminal and storage medium - Google Patents

Notification message processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN112565517A
CN112565517A CN202011317642.6A CN202011317642A CN112565517A CN 112565517 A CN112565517 A CN 112565517A CN 202011317642 A CN202011317642 A CN 202011317642A CN 112565517 A CN112565517 A CN 112565517A
Authority
CN
China
Prior art keywords
notification
mobile terminal
notification message
rule
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011317642.6A
Other languages
Chinese (zh)
Inventor
洪帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Microphone Holdings Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Microphone Holdings Co Ltd filed Critical Shenzhen Microphone Holdings Co Ltd
Priority to CN202011317642.6A priority Critical patent/CN112565517A/en
Publication of CN112565517A publication Critical patent/CN112565517A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a processing method of a notification message, a mobile terminal and a storage medium, wherein the method comprises the steps of detecting the working state of the mobile terminal if a notification event is detected, determining the notification rule of the notification event if the mobile terminal is in the preset working state, or determining the notification rule of the notification event if the notification event is detected when the mobile terminal is in the preset working state, calling the mobile terminal to collect environment data, and performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.

Description

Notification message processing method, mobile terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a notification message processing method, a mobile terminal, and a storage medium.
Background
At present, mobile terminals are widely used, and users can install various applications in the mobile terminals, and accordingly, can receive various notification messages at any time, such as missed calls, the number of the missed calls, short messages and the like.
In some notification message notification methods, whenever a notification message is received, the mobile terminal directly performs processing such as screen lighting, ringing, and/or shaking, and particularly, when a user is in a screen-off sleep state, the user may be negatively affected by the notification message from time to time.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
The embodiment of the application provides a processing method of a notification message, a mobile terminal and a storage medium, which can carry out intelligent notification processing based on environmental data under the condition of turning off a screen.
In one aspect, an embodiment of the present application provides a method for processing a notification message, where the method includes:
if a notification event is detected, detecting the working state of the mobile terminal, and if the mobile terminal is in a preset working state, determining a notification rule of the notification event;
or when the mobile terminal is in a preset working state, if a notification event is detected, determining a notification rule of the notification event;
calling the mobile terminal to collect environmental data;
and carrying out notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.
Optionally, the preset operating state may be an unused or off-screen operating state, or may be an operating state of a sleep mode, a power saving mode, a specific situation mode (such as meeting, sleeping, outdoors, and the like), a stuck or smooth mode, or running a specific application (such as game, audio/video, and the like) and/or a service (such as antivirus and the like).
Optionally, the notification rule includes a bright-screen notification rule, and the invoking the mobile terminal to collect the environment data includes:
determining the placement state of the mobile terminal;
if the placement state is the first state, calling a first sensor to acquire environmental data; and/or the presence of a gas in the gas,
and if the placing state is the second state, calling a second sensor to acquire the environmental data.
Optionally, the method further comprises at least one of:
the mobile terminal comprises a gravity sensor, and the determining of the placement state of the mobile terminal comprises:
determining a placement state of the mobile terminal through the gravity sensor;
the first sensor, the second sensor comprising at least one of: an ambient light sensor, or an image sensor;
the first state includes: the display interface of the mobile terminal faces upwards in the gravity direction;
the second state includes: the display interface of the mobile terminal faces downwards in the gravity direction.
Optionally, the processing, performed by the computing device, of the notification message corresponding to the notification event according to the environment data and the notification rule includes:
if the ambient light brightness is larger than or equal to a first threshold value, carrying out screen-on prompt on the notification message; and/or the presence of a gas in the gas,
and if the ambient light brightness is smaller than a first threshold value, the notification message is not subjected to screen-on prompting.
Optionally, the method further comprises at least one of:
the screen-up prompting of the notification message includes: adapting or adjusting the brightness of the bright screen prompt according to the difference value between the ambient light brightness and the first threshold value;
the not performing the screen-up prompt on the notification message includes: and the notification message is displayed on a display interface of the mobile terminal in a message prompt box mode and/or is manually triggered to be viewed.
Optionally, the method further comprises at least one of:
the notification rule comprises a ringing notification rule or a vibration notification rule, and the calling of the mobile terminal to acquire the environment data comprises calling of a third sensor to acquire the environment data, and/or the third sensor comprises a sound sensor;
the notification rule further includes a ring notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: if the environmental volume is greater than or equal to a second threshold value, performing ring prompting on the notification message, and/or if the environmental volume is less than the second threshold value, not performing ring prompting on the notification message;
the notification rule further includes a vibration notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: and if the environment volume is greater than or equal to a third threshold value, performing vibration prompt on the notification message, and/or if the environment volume is less than the third threshold value, not performing vibration prompt on the notification message.
Optionally, after performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule, the method includes:
and if the user operation on the notification message is not received within the preset time, prompting the notification message.
Optionally, if the user operation on the notification message is received within the preset time, before prompting the notification message, the method further includes:
and if the notification priority is higher than the preset level, prompting a notification message corresponding to the notification event.
Optionally, the prompting mode can be voice, light, bright screen, interface prompt or the like.
In one aspect, an embodiment of the present application provides a mobile terminal, where the mobile terminal includes a memory, a processor, and a notification message handler stored in the memory and executable on the processor, and when executed by the processor, the notification message handler implements the steps of the notification message processing method described in any one of the above.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, where a notification message processing program is stored on the computer-readable storage medium, and when executed by a processor, the notification message processing program implements the steps of the notification message processing method described in any one of the above.
In the embodiment of the application, if a notification event is detected and the mobile terminal is in a screen-off working state, a notification rule of the notification event is determined, an environment sensor arranged on the mobile terminal is called according to the notification rule to collect environment data, and notification processing is performed on a notification message corresponding to the notification event according to the environment data and the notification rule. By implementing the method, intelligent notification processing can be carried out based on the environmental data under the condition of screen-off, and the negative influence of notification message prompt on a user can be reduced to a certain extent.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a notification message processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for processing a notification message based on a gravity sensor according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a method for processing a notification message based on a sound sensor according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another notification message processing method based on a sound sensor according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 7 is a communication network system architecture diagram according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of an element by the phrase "comprising an … …" does not exclude the presence of additional like elements in the process, method, article, or apparatus that comprises the element, and further, where similarly-named elements, features, or elements in different embodiments of the disclosure may have the same meaning, or may have different meanings, that particular meaning should be determined by their interpretation in the embodiment or further by context with the embodiment.
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 to these terms. These terms are only used to distinguish one type of information from another. 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 herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", 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 indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", again for example," 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 and B and C'. An exception to this definition will occur only when a combination 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 shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S101 and S102 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S102 first and then S101 in specific implementations, but these steps should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The mobile terminal may be implemented in various forms. For example, the mobile terminal described in the present application may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given taking a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
The embodiment of the application provides a method for processing a notification message, which can intelligently process the notification message based on current environment data under the condition of screen-off, and can reduce the influence degree of notification message prompt on a user to a certain extent.
The notification message received by the mobile terminal may be a system message of the mobile terminal, or may be a notification message pushed to the mobile terminal by a server corresponding to a service to which the mobile terminal has subscribed, or may be a notification message pushed to the terminal by a server corresponding to an application installed in the terminal, where the application is, for example, one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application. The notification message is not limited herein.
Fig. 1 is a flowchart illustrating a processing method of a notification message according to an embodiment of the present application, where the method may be performed by a mobile terminal, where the mobile terminal may be a mobile terminal such as a smart phone, a tablet computer, a notebook computer, a palm-top computer, a Portable Media Player (PMP), a Personal Digital Assistant (PDA), a navigation device, a wearable device, a smart band, a pedometer, and a fixed terminal such as a Digital TV, a desktop computer, and the method in an embodiment of the present application includes the following steps:
s101: and if the notification event is detected, detecting the working state of the mobile terminal, and if the mobile terminal is in the preset working state, determining a notification rule for notifying the event.
In the embodiment of the application, when the mobile terminal receives the notification message, it may be considered that a notification event requiring notification prompt for a user is detected, and the mobile terminal may process the notification message according to a notification rule and a corresponding behavior included in the current notification event. The working state can refer to that the mobile terminal is in a bright screen state or a screen off state at present.
In one embodiment, if the mobile terminal is in a bright screen state, the notification message is normally notified; and if the mobile terminal is not used or in the screen-off state, determining a notification rule contained in the notification event, and performing subsequent related operations of intelligent analysis processing. The mobile terminal may be in a state where the display is not lit, which is generally a state where the mobile terminal is turned off for power saving or other reasons when the user does not use the mobile terminal for a long time.
In one embodiment, the notification rules for notification events may include one of bright screen notification rules, ring notification rules, and vibration notification rules. The prompt behavior for the notification message may be determined according to the notification rules for the notification event, such as: the notification message is subjected to screen lighting, ringing, vibration, and the like.
S102: when the mobile terminal is in a preset working state, if a notification event is detected, determining a notification rule of the notification event.
In the implementation of the application, when the mobile terminal is in a preset working state, if the mobile terminal detects a notification event, a notification rule included in the notification event is determined, and corresponding processing is performed on a notification message corresponding to the notification event according to the included notification rule. For specific descriptions of the working state of the mobile terminal and the notification rule included in the notification event, reference may be made to the related description of S101, which is not described herein again.
In one embodiment, S101 and S102 are parallel steps and are performed alternatively. S101 is a notification rule for determining a notification event when the mobile terminal is detected to be in a preset working state; s102 is a notification rule for determining a notification event when the notification event is detected.
S103: and calling the mobile terminal to collect the environmental data.
In the embodiment of the application, the mobile terminal calls the corresponding sensor on the mobile terminal to acquire the required environmental data according to the notification rule contained in the notification event.
S104: and carrying out notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.
In the embodiment of the application, according to the collected environment data and the contained notification rules, the notification message corresponding to the notification event is correspondingly processed, wherein the processing includes but is not limited to prompting the notification message, adapting or adjusting the prompting degree, not prompting the notification message, and the like.
In one embodiment, for a notification message that has already been prompted, if the notification message is not processed for a long time, the notification message may be prompted again. The specific way of prompting the notification message can be voice, light, bright screen or interface prompt; optionally, if the user operation on the notification message is not received within the preset time, a flash or a bright screen may be performed on the notification message. User actions on notification messages include, but are not limited to: triggering a bright screen state, clicking a notification message detail page, processing the notification message, and the like, wherein the user operation is not limited. Optionally, the flash lamp may flash for three seconds, for one minute, or normally light, and the brightness of the flash lamp may be adjusted according to the brightness of the environment; the mode of the bright screen prompt can be set to light the screen of the mobile terminal for three seconds, one minute or normally on.
In one embodiment, since not every notification message needs to be checked by the user in time, the priority of the notification message may be set, and by presetting the notification priority of the initiator initiating the notification event, if the notification priority is higher than the preset level, it indicates that the notification message corresponding to the notification event has a higher importance degree, and then prompts the notification message with the higher importance degree. The notification priority of the initiator of the notification event can be set by the user, can be set by default, or can be not set, and all notification messages can be prompted under the condition that the notification priority is not set. Optionally, users such as group-sent short messages and instant messaging messages can be set as unimportant messages; the message users in the instant communication group can be set as unimportant messages; the message sent by the contact set as the important attention object, such as telephone, short message, video call, etc., can be set as the important message by the user, etc.
By adopting the embodiment of the application, when the mobile terminal is in the screen extinguishing state, the mobile terminal can be preliminarily determined to be in the unused state; and judging the current environment condition through the acquired environment data to determine that the mobile terminal is in a quiet environment or a noisy environment, so that the prompting degree of the notification message is adjusted to reduce the interference of the notification message on the user or the omission of important notification messages by the user.
Fig. 2 is a schematic flowchart of a processing method of a notification message based on a gravity sensor according to an embodiment of the present application, where the method may be executed by the above-mentioned mobile terminal, and as shown in fig. 2, when a notification rule includes a bright-screen notification rule, a specific display of corresponding processing is performed on the notification message, including:
s201: and if the notification rule is determined to contain the bright screen notification rule, calling the gravity sensor to acquire the sensing data of the mobile terminal.
In the embodiment of the application, when the mobile terminal detects that the notification rule comprises the bright screen notification rule, the gravity sensor can be called to acquire corresponding sensing data.
In one embodiment, the mobile terminal may invoke a gravity sensor to obtain gravity data, or may invoke a gyroscope to obtain angular acceleration data.
S202: and determining the placement state of the mobile terminal according to the sensing data.
In the embodiment of the application, the mobile terminal may determine the placement state of the mobile terminal according to the obtained sensing data, where the placement state includes a first state and a second state.
S203: if the placement state is the first state, calling a first sensor to acquire environmental data; and/or if the placing state is the second state, calling a second sensor to acquire the environmental data.
In this embodiment, the first state may refer to a state in which the mobile terminal display interface faces upward in the gravity direction, and the second state may refer to a state in which the mobile terminal display interface faces downward in the gravity direction.
In one embodiment, the first sensor and the second sensor may comprise at least one of: ambient light sensor, image sensor. The image sensor may include a rear camera of the mobile terminal. The first sensor and the second sensor may be the same sensor or different sensors.
In one embodiment, the environmental data may refer to ambient light levels. The illumination intensity of the environment where the mobile terminal is located can be judged according to the intensity of the environment light.
S204: the environmental data is compared to a first threshold.
In the embodiment of the present application, most users will be in a dark environment at rest, for example: turning off the light at night, pulling a curtain in the daytime, and the like. The first threshold can be set for comparing with the environment data to judge whether the environment is in a dark state at the moment, and further determine whether the user is in an inconvenient and disturbing state at the moment. Therefore, the first threshold may be determined according to the ambient light brightness of a person sleeping, and the specific value is not limited in this embodiment.
In one embodiment, comparing the first threshold with the value of the environmental data may specifically be that if the environmental data at this time is greater than or equal to the first threshold, S205 is executed; if the environmental data at this time is less than the first threshold, S207 is performed. S205 and S207 are parallel steps and are alternatively performed.
S205: and if the environment data is greater than or equal to the first threshold value, carrying out screen-lightening prompt on the notification message.
In the embodiment of the application, if the environment data is greater than or equal to the first threshold, it indicates that the user can accept the notification message at this time, so the mobile terminal can perform a bright screen prompt on the notification message.
S206: and adapting or adjusting the brightness of the bright screen prompt according to the difference value of the environment data and the first threshold value.
In the embodiment of the application, when the user is not in a rest or inconvenient disturbing state, the environment data is greater than the first threshold value, but if the user is in a relatively dark environment at the moment, if the mobile terminal performs the screen brightening according to the normal daytime brightness at the moment, the user can feel dazzling and uncomfortable, or the light intensity of the environment where the mobile terminal is located is high at the moment, the user cannot see the screen of the mobile terminal clearly, and therefore the brightness of the brightness needs to be adjusted automatically.
In one embodiment, the mobile terminal may adapt or adjust the brightness of the bright screen prompt according to a difference between the environment data and the first threshold, so that the user can view the bright screen conveniently without feeling uncomfortable. For example: the larger the difference between the environmental data and the first threshold value is, the higher the brightness is; the smaller the difference between the ambient data and the first threshold value, the lower the brightness.
S207: and if the environment data is smaller than the first threshold value, not performing screen-lighting prompt on the notification message.
In the embodiment of the application, if the environmental data is smaller than the first threshold, the mobile terminal judges that the user is currently in a rest or inconvenient disturbing state, and the notification message is not prompted by a screen-on prompt.
S208: and displaying the notification message on a display interface of the mobile terminal in a message prompt box mode, and/or manually triggering to view.
In the embodiment of the application, the mobile terminal does not perform screen-up prompting on the notification message, but still displays the notification message on a display interface of the mobile terminal in a message prompt box manner, the source of the notification message and part of the content of the notification message are displayed on the message prompt box, and a user can manually trigger the screen-up state for viewing, wherein the manual trigger viewing can be that the user triggers the screen-up state for viewing, if the user is interested in the notification message, the user can click the message prompt box by himself, and the mobile terminal responds to the click operation and jumps to a notification message detail page for viewing by the user.
In one embodiment, the user triggering the bright screen status view may include: the method comprises the steps of receiving a screen-lighting triggering operation executed by a user on a mobile terminal in a screen-off state to generate a screen-lighting triggering event, or receiving triggering information sent from the outside in the screen-off state to generate a screen-lighting triggering event, wherein the screen-lighting triggering event comprises the steps of receiving an incoming call, receiving a video connection request and the like.
In one embodiment, S201-S203 may correspond to S103 of FIG. 1, and S204-S208 may correspond to S104 of FIG. 1.
By adopting the embodiment of the application, under the condition that the prompt of the notification message by the mobile terminal contains the bright screen prompt behavior, the current environment condition is judged through the collected environment data so as to determine that the mobile terminal is in a darker environment or an environment with higher light intensity, so that the brightness of the bright screen prompt is adjusted, and the interference of the bright screen prompt of the notification message to a user is reduced.
Fig. 3 is a schematic flowchart of a processing method for a notification message based on a sound sensor according to an embodiment of the present application, where the method may be executed by the above-mentioned mobile terminal, and as shown in fig. 3, when a notification rule includes a ring notification rule, a specific display of performing corresponding processing on the notification message includes:
s301: and if the notification rule is determined to contain the ringing notification rule, calling a third sensor to acquire environment data.
In the embodiment of the application, when the mobile terminal detects that the notification rule includes the ring notification rule, the mobile terminal may call a third sensor to acquire the environment data.
In one embodiment, the third sensor may refer to a sound sensor, wherein the sound sensor may comprise a microphone device on the mobile terminal.
In one embodiment, the environmental data may refer to an environmental volume. Through the volume of the environment, whether the environment where the mobile terminal is located is noisy or quiet can be judged.
S302: the environmental data is compared to a second threshold.
In the embodiment of the present application, if the user is in a rest state, the user is basically in a quiet environment, for example: when sleeping at night, the sleeping pillow is basically in a quiet state. Therefore, a second threshold can be set for comparing with the environmental data to determine whether the environment is in a quieter state, and further determine whether the user is in a quieter or inconvenient disturbing state. Therefore, the second threshold value can be determined according to the ambient volume of people sleeping at night, and the specific value is not limited in the embodiment of the application.
In one embodiment, comparing the second threshold with the value of the environmental data may specifically be that if the environmental data at this time is greater than or equal to the second threshold, S303 is executed; if the environmental data at this time is less than the second threshold value, S305 is performed. S303 and S305 are parallel steps and are alternatively executed.
S303: and if the environment data is greater than or equal to the second threshold value, performing ring prompting on the notification message.
In the embodiment of the application, if the environment data is greater than or equal to the second threshold, it indicates that the user can accept the notification message at this time, so the mobile terminal can ring the notification message.
S304: and adapting or adjusting the volume of the ring prompt according to the difference value of the environment data and the second threshold value.
In this embodiment of the application, when the user is not in a quiet state, the environmental data is greater than the second threshold, but if the user is in a relatively quiet environment at this time, if the user prompts according to the normal volume at this time, the user may feel uncomfortable, or the user is in a relatively noisy environment at this time, if the user prompts according to the normal volume at this time, the user may not hear the ringing and miss an important message, and therefore the volume of the ringing needs to be automatically adjusted.
In one embodiment, the mobile terminal may adapt or adjust the volume of the ring alert according to the difference between the environment data and the second threshold, so that the user can be guaranteed to know that the mobile terminal is performing the ring alert notification message and the user does not feel uncomfortable during the ring alert. For example: the larger the difference between the environmental data and the second threshold value is, the higher the volume is; the smaller the difference between the environmental data and the second threshold, the lower the volume.
S305: and if the environment data is smaller than the second threshold value, not carrying out ring prompting on the notification message.
In the embodiment of the application, if the environmental data is smaller than the second threshold, the mobile terminal determines that the user is currently in an inconvenient disturbing state, and will not ring the notification message.
In one embodiment, S301 may correspond to S103 of fig. 1, and S302 to S305 may correspond to S104 of fig. 1.
By adopting the embodiment of the application, under the condition that the prompt of the mobile terminal to the notification message contains the ringing prompt behavior, the current environment condition is judged through the collected environment data so as to determine that the mobile terminal is in a quieter environment or a noisy environment, so that the volume of the ringing prompt is adjusted, and the interference of the ringing prompt of the notification message to a user is reduced.
Fig. 4 is a flowchart illustrating another processing method for a notification message based on a sound sensor according to an embodiment of the present application, where the method may be executed by the above-mentioned mobile terminal, and as shown in fig. 4, when a notification rule includes a vibration notification rule, a corresponding processing is performed on the notification message, which includes:
s401: and if the notification rule is determined to contain the vibration notification rule, calling a third sensor to acquire the environmental data.
In the embodiment of the application, when the mobile terminal detects that the notification rule includes the vibration notification rule, the mobile terminal may call a third sensor to acquire the environmental data.
In one embodiment, the third sensor may refer to a sound sensor, wherein the sound sensor may comprise a microphone device on the mobile terminal.
In one embodiment, the environmental data may refer to an environmental volume. Through the volume of the environment, whether the environment where the mobile terminal is located is noisy or quiet can be judged.
S402: comparing the environmental data to a third threshold.
In the embodiment of the present application, if the user is in a rest state, the user is basically in a quiet environment, for example: when sleeping at night, the sleeping pillow is basically in a quiet state. Therefore, a third threshold can be set for comparing with the environmental data to determine whether the environment is in a quieter state, and further determine whether the user is in a quieter or inconvenient disturbing state. Therefore, the third threshold may be determined according to the ambient volume of people sleeping at night, and the specific value is not limited in this embodiment of the application.
In one embodiment, comparing the third threshold with the value of the environmental data may specifically be that if the environmental data at this time is greater than or equal to the third threshold, S403 is executed; if the environmental data at this time is less than the third threshold value, S405 is performed. S403 and S405 are parallel steps and are alternatively performed.
S403: if the environmental data is larger than or equal to the third threshold value, the notification message is prompted by vibration
In the embodiment of the application, if the environment data is greater than or equal to the third threshold, it indicates that the user can accept the notification message at this time, so the mobile terminal can perform vibration notification on the notification message.
S404: and adapting or adjusting the intensity of the vibration prompt according to the difference value of the environmental data and the third threshold value.
In the embodiment of the application, if the user is in a relatively quiet environment at the moment, if the mobile terminal prompts according to the normal vibration intensity at the moment, the user may be disturbed, or if the user is not in a quiet state, the environmental data is greater than the third threshold value, the user is in a relatively noisy environment at the moment, if the mobile terminal prompts according to the normal vibration intensity at the moment, the user may not feel the vibration and miss important messages, and therefore the intensity of the vibration needs to be automatically adjusted.
In one embodiment, the mobile terminal may adapt or adjust the intensity of the vibration prompt according to the difference between the environmental data and the third threshold, so that the user can be guaranteed to know that the mobile terminal is performing the vibration prompt notification message without discomfort during vibration. For example: the greater the difference between the environmental data and the third threshold, the greater the volume intensity; the smaller the difference between the environmental data and the third threshold, the lower the intensity.
S405: and if the environmental data are smaller than the third threshold value, not performing vibration prompt on the notification message.
In the embodiment of the application, if the environmental data is smaller than the third threshold, the mobile terminal determines that the user is currently in an inconvenient disturbing state, and will not give a vibration prompt to the notification message.
In one embodiment, S401 may correspond to S103 of fig. 1, and S402 to S405 may correspond to S104 of fig. 1.
By adopting the embodiment of the application, under the condition that the prompt of the mobile terminal to the notification message contains the vibration prompt behavior, the current environment condition is judged through the collected environment data so as to determine that the mobile terminal is in a quieter environment or a noisy environment, so that the intensity of the vibration prompt is adjusted, and the interference of the vibration prompt of the notification message to a user is reduced.
In the embodiment of the present application, the notification rule includes at least one of a bright screen notification rule, a ring notification rule, and a vibration notification rule, or none of them, that is, the present application may simultaneously execute one, two, three, or none of the embodiments in fig. 2, 3, and 4.
Fig. 5 is a schematic structural diagram of a notification message processing apparatus according to an embodiment of the present application, and it should be noted that the notification message processing apparatus shown in fig. 5 is configured to execute the method according to the embodiment shown in fig. 1 to 4 of the present application, and for convenience of description, only a portion related to the embodiment of the present application is shown, and specific technical details are not disclosed, and reference is made to the embodiment shown in fig. 1 to 4 of the present application. As shown in fig. 5, the notification message processing device 500 may include: the device comprises a detection module 501, a determination module 502, a calling module 503 and a processing module 504.
A detecting module 501, configured to detect a working state of the mobile terminal if a notification event is detected;
a determining module 502, configured to determine a notification rule of the notification event if the mobile terminal is in a preset working state;
the determining module 502 is configured to determine a notification rule of the notification event if the notification event is detected when the mobile terminal is in a preset working state.
A calling module 503, configured to call the mobile terminal to acquire environmental data;
a processing module 504, configured to perform notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.
Optionally, the preset operating state may be an unused or off-screen operating state, or may be an operating state of a sleep mode, a power saving mode, a specific situation mode (such as meeting, sleeping, outdoors, and the like), a stuck or smooth mode, or running a specific application (such as game, audio/video, and the like) and/or a service (such as antivirus and the like).
Optionally, the notification rule includes a bright-screen notification rule, and the invoking the mobile terminal to collect the environment data includes:
determining the placement state of the mobile terminal;
if the placement state is the first state, calling a first sensor to acquire environmental data; and/or the presence of a gas in the gas,
and if the placing state is the second state, calling a second sensor to acquire the environmental data.
Optionally, the method further comprises at least one of:
the mobile terminal comprises a gravity sensor, and the determining of the placement state of the mobile terminal comprises:
determining a placement state of the mobile terminal through the gravity sensor;
the first sensor, the second sensor comprising at least one of: an ambient light sensor, or an image sensor;
the first state includes: the display interface of the mobile terminal faces upwards in the gravity direction;
the second state includes: the display interface of the mobile terminal faces downwards in the gravity direction.
Optionally, the processing, performed by the computing device, of the notification message corresponding to the notification event according to the environment data and the notification rule includes:
if the ambient light brightness is larger than or equal to a first threshold value, carrying out screen-on prompt on the notification message; and/or the presence of a gas in the gas,
and if the ambient light brightness is smaller than a first threshold value, the notification message is not subjected to screen-on prompting.
Optionally, the method further comprises at least one of:
the screen-up prompting of the notification message includes: adapting or adjusting the brightness of the bright screen prompt according to the difference value between the ambient light brightness and the first threshold value;
the not performing the screen-up prompt on the notification message includes: and the notification message is displayed on a display interface of the mobile terminal in a message prompt box mode and/or is manually triggered to be viewed.
Optionally, the method further comprises at least one of:
the notification rule comprises a ringing notification rule or a vibration notification rule, and the calling of the mobile terminal to acquire the environment data comprises calling of a third sensor to acquire the environment data, and/or the third sensor comprises a sound sensor;
the notification rule further includes a ring notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: if the environmental volume is greater than or equal to a second threshold value, performing ring prompting on the notification message, and/or if the environmental volume is less than the second threshold value, not performing ring prompting on the notification message;
the notification rule further includes a vibration notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: and if the environment volume is greater than or equal to a third threshold value, performing vibration prompt on the notification message, and/or if the environment volume is less than the third threshold value, not performing vibration prompt on the notification message.
Optionally, after performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule, the method includes:
and if the user operation on the notification message is not received within the preset time, prompting the notification message.
Optionally, if the user operation on the notification message is received within the preset time, before prompting the notification message, the method further includes:
and if the notification priority is higher than the preset level, prompting a notification message corresponding to the notification event.
Optionally, the prompting mode can be voice, light, bright screen, interface prompt or the like.
By adopting the embodiment of the application, the environment condition of the user can be analyzed based on the current environment data when the mobile terminal is in the screen-off state, and then the prompting degree of the notification message can be intelligently adjusted according to the environment condition, so that the negative influence of the notification message prompting on the user can be reduced.
Fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, and as shown in fig. 6, the mobile terminal hardware structure 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, a/V input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present application, the terminal device includes, but is not limited to, a mobile terminal, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a smart band, and the like.
The following describes each component of the mobile terminal in detail with reference to fig. 6:
the radio frequency unit 601 may be used for receiving and transmitting signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker 6031, a buzzer, a receiver, and the like.
The a/V input unit 604 is used to receive audio or video signals. The a/V input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode. The microphone 6042 may implement various types of noise canceling (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting an audio signal.
The mobile terminal further includes at least three sensors 605, and the three sensors 605 include a gravity sensor 6051, an image sensor 6052, and an ambient light sensor 6053. Specifically, the ambient light sensor 6053 detects the intensity of ambient light of the current environment, and then adjusts the luminance of the display panel 6061 according to the intensity of the ambient light; the gravity sensor 6051 may detect current gravity data of the mobile terminal, and further identify that the mobile terminal is located on the display interface and faces upward or downward in the gravity direction; as one of the image sensors 6052, the rear camera may be configured to acquire the ambient light intensity, and adjust the brightness of the display panel 6061 according to the intensity of the ambient light; the sensors 605 may also include motion sensors, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Alternatively, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the terminal device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the mobile terminal. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal or may be used to transmit data between the mobile terminal and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the terminal device. Processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and optionally, the power supply 611 may be logically connected to the processor 610 through a power management system, so that the power management system may perform functions of managing charging, discharging, and power consumption.
In addition, the mobile terminal includes some functional modules that are not shown, and are not described herein again.
In one embodiment, the processor 610, calling the computer program in the memory 609, is specifically configured to:
if the notification event is detected, detecting the working state of the mobile terminal; if the mobile terminal is in a preset working state, determining a notification rule of the notification event; or when the mobile terminal is in a preset working state, if a notification event is detected, determining a notification rule of the notification event; calling the mobile terminal to collect environmental data; and carrying out notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.
Optionally, the preset operating state may be an unused or off-screen operating state, or may be an operating state of a sleep mode, a power saving mode, a specific situation mode (such as meeting, sleeping, outdoors, and the like), a stuck or smooth mode, or running a specific application (such as game, audio/video, and the like) and/or a service (such as antivirus and the like).
Optionally, the notification rule includes a bright-screen notification rule, and the invoking the mobile terminal to collect the environment data includes:
determining the placement state of the mobile terminal;
if the placement state is the first state, calling a first sensor to acquire environmental data; and/or the presence of a gas in the gas,
and if the placing state is the second state, calling a second sensor to acquire the environmental data.
Optionally, the method further comprises at least one of:
the mobile terminal comprises a gravity sensor, and the determining of the placement state of the mobile terminal comprises:
determining a placement state of the mobile terminal through the gravity sensor;
the first sensor, the second sensor comprising at least one of: an ambient light sensor, or an image sensor;
the first state includes: the display interface of the mobile terminal faces upwards in the gravity direction;
the second state includes: the display interface of the mobile terminal faces downwards in the gravity direction.
Optionally, the processing, performed by the computing device, of the notification message corresponding to the notification event according to the environment data and the notification rule includes:
if the ambient light brightness is larger than or equal to a first threshold value, carrying out screen-on prompt on the notification message; and/or the presence of a gas in the gas,
and if the ambient light brightness is smaller than a first threshold value, the notification message is not subjected to screen-on prompting.
Optionally, the method further comprises at least one of:
the screen-up prompting of the notification message includes: adapting or adjusting the brightness of the bright screen prompt according to the difference value between the ambient light brightness and the first threshold value;
the not performing the screen-up prompt on the notification message includes: and the notification message is displayed on a display interface of the mobile terminal in a message prompt box mode and/or is manually triggered to be viewed.
Optionally, the method further comprises at least one of:
the notification rule comprises a ringing notification rule or a vibration notification rule, and the calling of the mobile terminal to acquire the environment data comprises calling of a third sensor to acquire the environment data, and/or the third sensor comprises a sound sensor;
the notification rule further includes a ring notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: if the environmental volume is greater than or equal to a second threshold value, performing ring prompting on the notification message, and/or if the environmental volume is less than the second threshold value, not performing ring prompting on the notification message;
the notification rule further includes a vibration notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: and if the environment volume is greater than or equal to a third threshold value, performing vibration prompt on the notification message, and/or if the environment volume is less than the third threshold value, not performing vibration prompt on the notification message.
Optionally, after performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule, the method includes:
and if the user operation on the notification message is not received within the preset time, prompting the notification message.
Optionally, if the user operation on the notification message is received within the preset time, before prompting the notification message, the method further includes:
and if the notification priority is higher than the preset level, prompting a notification message corresponding to the notification event.
Optionally, the prompting mode can be voice, light, bright screen, interface prompt or the like.
The modules described in the embodiments of the present application may be implemented by a general-purpose Integrated Circuit, such as a CPU (central Processing Unit), or an ASIC (application Specific Integrated Circuit).
The embodiment of the present application further provides a computer-readable storage medium, where a processing program of a notification message is stored on the computer-readable storage medium, and when a processing degree of the notification message is executed by a processor, the steps of the processing method of the notification message provided by the present application can be implemented. It should be understood that the computer-readable storage medium in the present embodiment is applicable to various terminals.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the terminal device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal device executes the steps executed in the embodiments of the methods.
Embodiments of the present application further provide a chip, which includes 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 device in which the chip is installed executes the method in the above various possible embodiments.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based is described below.
Referring to fig. 7, fig. 7 is an architecture diagram of a communication Network system according to an embodiment of the present disclosure, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 701, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 702, an EPC (Evolved Packet Core) 703, and an IP service 704 of an operator, which are in communication connection in sequence.
Specifically, the UE701 may be the terminal 600 described above, and is not described herein again.
The E-UTRAN702 includes eNodeB7021 and other enodebs 7022, among others. Alternatively, the eNodeB7021 may be connected to other enodebs 7022 over a backhaul (e.g., X2 interface), the eNodeB7021 being connected to the EPC703, the eNodeB7021 may provide access to the EPC703 by the UE 701.
The EPC703 may include an MME (Mobility Management Entity) 7031, an HSS (Home Subscriber Server) 7032, other MMEs 7033, an SGW (Serving gateway) 7034, a PGW (PDN gateway) 7035, and a PCRF (Policy and Charging Rules Function) 7036, and the like. Optionally, the MME7031 is a control node that handles signaling between the UE701 and the EPC703, providing bearer and connection management. The HSS7032 is used to provide registers to manage functions such as a home location register (not shown) and holds subscriber-specific information about service characteristics, data rates, etc. All user data may be sent through the SGW7034, the PGW7035 may provide IP address allocation and other functions for the UE701, and the PCRF7036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 704 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present application is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA7000, WCDMA, TD-SCDMA, and future new network systems.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A method for processing a notification message, comprising:
if a notification event is detected, detecting the working state of the mobile terminal, and if the mobile terminal is in a preset working state, determining a notification rule of the notification event;
or when the mobile terminal is in a preset working state, if a notification event is detected, determining a notification rule of the notification event;
calling the mobile terminal to collect environmental data;
and carrying out notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule.
2. The method of claim 1, wherein the notification rule comprises a bright screen notification rule, and wherein invoking the mobile terminal to collect environmental data comprises:
determining the placement state of the mobile terminal;
if the placement state is the first state, calling a first sensor to acquire environmental data; and/or the presence of a gas in the gas,
and if the placing state is the second state, calling a second sensor to acquire the environmental data.
3. The method of claim 2, comprising at least one of:
the mobile terminal comprises a gravity sensor, and the determining of the placement state of the mobile terminal comprises:
determining a placement state of the mobile terminal through the gravity sensor;
the first sensor, the second sensor comprising at least one of: an ambient light sensor, or an image sensor;
the first state includes: the display interface of the mobile terminal faces upwards in the gravity direction;
the second state includes: the display interface of the mobile terminal faces downwards in the gravity direction.
4. The method according to any one of claims 1 to 3, wherein the environment data includes an environment light brightness, and the performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule includes:
if the ambient light brightness is larger than or equal to a first threshold value, carrying out screen-on prompt on the notification message; and/or the presence of a gas in the gas,
and if the ambient light brightness is smaller than a first threshold value, the notification message is not subjected to screen-on prompting.
5. The method of claim 4, comprising at least one of:
the screen-up prompting of the notification message includes: adapting or adjusting the brightness of the bright screen prompt according to the difference value between the ambient light brightness and the first threshold value;
the not performing the screen-up prompt on the notification message includes: and the notification message is displayed on a display interface of the mobile terminal in a message prompt box mode and/or is manually triggered to be viewed.
6. The method of any one of claims 1 to 3, comprising at least one of:
the notification rule comprises a ringing notification rule or a vibration notification rule, and the calling of the mobile terminal to acquire the environment data comprises calling of a third sensor to acquire the environment data, and/or the third sensor comprises a sound sensor;
the notification rule further includes a ring notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: if the environmental volume is greater than or equal to a second threshold value, performing ring prompting on the notification message, and/or if the environmental volume is less than the second threshold value, not performing ring prompting on the notification message;
the notification rule further includes a vibration notification rule, the environment data further includes environment volume, and the notification processing is performed on the notification message corresponding to the notification event according to the environment data and the notification rule, further including: and if the environment volume is greater than or equal to a third threshold value, performing vibration prompt on the notification message, and/or if the environment volume is less than the third threshold value, not performing vibration prompt on the notification message.
7. The method according to any one of claims 1 to 3, wherein after performing notification processing on the notification message corresponding to the notification event according to the environment data and the notification rule, the method comprises:
and if the user operation on the notification message is not received within the preset time, prompting the notification message.
8. The method of claim 7, wherein before prompting the notification message if the user operation on the notification message is received within a preset time, further comprising:
and if the notification priority is higher than the preset level, prompting a notification message corresponding to the notification event.
9. A mobile terminal, characterized in that the mobile terminal comprises a memory, a processor, the memory storing a computer program which, when executed by the processor, implements the method of processing a notification message according to any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the method of processing a notification message according to any one of claims 1 to 8.
CN202011317642.6A 2020-11-20 2020-11-20 Notification message processing method, mobile terminal and storage medium Pending CN112565517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011317642.6A CN112565517A (en) 2020-11-20 2020-11-20 Notification message processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011317642.6A CN112565517A (en) 2020-11-20 2020-11-20 Notification message processing method, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112565517A true CN112565517A (en) 2021-03-26

Family

ID=75044702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011317642.6A Pending CN112565517A (en) 2020-11-20 2020-11-20 Notification message processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112565517A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805784A (en) * 2021-08-19 2021-12-17 惠州Tcl移动通信有限公司 Method and device for responding to screen click event according to objective environment and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805784A (en) * 2021-08-19 2021-12-17 惠州Tcl移动通信有限公司 Method and device for responding to screen click event according to objective environment and mobile terminal

Similar Documents

Publication Publication Date Title
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN108958695B (en) Audio output method, device and computer readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN110198379B (en) Mobile terminal control method, mobile terminal, and computer-readable storage medium
CN112637410B (en) Method, terminal and storage medium for displaying message notification
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN112689191A (en) Screen projection control method, terminal and computer readable storage medium
CN108156325B (en) Double-sided screen incoming call control method and device and computer readable storage medium
CN110381202B (en) Display adjustment method, mobile terminal and computer-readable storage medium
CN110536011B (en) Content display method, terminal and computer readable storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN110046488B (en) Unlocking method, mobile terminal and computer readable storage medium
CN109561217B (en) Terminal incoming call answering method and device, mobile terminal and storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium

Legal Events

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