CN112486365A - Notification event updating method, terminal device and storage medium - Google Patents

Notification event updating method, terminal device and storage medium Download PDF

Info

Publication number
CN112486365A
CN112486365A CN202011315295.3A CN202011315295A CN112486365A CN 112486365 A CN112486365 A CN 112486365A CN 202011315295 A CN202011315295 A CN 202011315295A CN 112486365 A CN112486365 A CN 112486365A
Authority
CN
China
Prior art keywords
notification event
parameter
notification
event
target
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
CN202011315295.3A
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 CN202011315295.3A priority Critical patent/CN112486365A/en
Publication of CN112486365A publication Critical patent/CN112486365A/en
Pending legal-status Critical Current

Links

Images

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]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application discloses a notification event updating method, a notification event updating device, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a reference parameter of at least one notification event in a notification event set; when the reference parameter meets the updating condition, determining a target notification event; and displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event. By adopting the embodiment of the application, the target notification event is determined and the preset interface is updated by judging whether the reference parameter meets the updating condition, namely whether the change degree is large enough, so that the notification message processing is more intelligent, and the usability of the event notification function is improved.

Description

Notification event updating method, terminal device and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a notification event update method, a terminal device, and a storage medium.
Background
In some implementations, the mobile terminal has an event notification function in a preset interface, and a user can autonomously preset an application, for example, start message pushing of a system browser, so as to implement a bright screen prompt of a notification message corresponding to the application in the preset interface. Since a user has different application requirements at different times and notification events need to be changed irregularly even if the user sets a lock screen notification, generally, the user mostly selects to use a default event notification function of the system.
In the process of using the notification function, it is found that the notification event generated by the notification function of the terminal may not be the most needed by the user at present, thereby causing the unimportant notification event to occupy the resource.
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 notification event updating method, terminal equipment and a storage medium, which can achieve the purpose of effectively utilizing resources to realize a notification function by tracking the change state of a notification event.
In a first aspect, an embodiment of the present application provides a notification event update method, including:
acquiring a reference parameter of at least one notification event in a notification event set;
when the reference parameter meets the updating condition, determining a target notification event;
and displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
Optionally, the method further comprises at least one of:
the notification events included in the notification event set are set manually or by default;
the notification event set comprises a notification event set displayed on a preset interface;
the notification event set comprises at least one of the following notification events: an application notification event, a system notification event, an event notification event, or a function notification event;
the notification event includes a notification priority.
Optionally, the determining that the target notification event includes at least two, displaying the target notification event on a preset interface, or updating a notification message displayed on the preset interface according to the target notification event includes:
and adjusting the display position of the notification message displayed under a preset interface according to the notification priority of the notification event corresponding to the target notification event.
Optionally, the reference parameter comprises an identification of a sender of the unread message;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes:
determining a priority parameter according to the sender identification of the obtained unread message;
and if the priority parameter is greater than or equal to a priority threshold, determining that the reference parameter meets an updating condition.
Optionally, the method further comprises at least one of:
when the reference parameter does not meet the updating condition, the target notification event displayed on a preset interface is unchanged, or the notification event is not displayed on the preset interface;
the displaying the target notification event further comprises: acquiring a background image corresponding to the target notification event, and updating and displaying a lock screen background image according to the acquired background image;
updating the notification message displayed on a preset interface according to the target notification event, wherein the notification message displayed on the preset interface is replaced by the target notification event; or adjusting the display position of the target notification event on a preset interface;
the notification message displayed on the preset interface further comprises at least one non-target notification event, and the updating of the notification message displayed on the preset interface according to the target notification event comprises the adjustment of the display positions of the target notification event and the non-target notification event;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes: determining parameter change information according to the acquired reference parameters, and if the parameter change information meets the updating conditions, determining that the reference parameters meet the updating conditions.
Optionally, the determining parameter change information according to the obtained reference parameter includes at least one of: determining a time variation value according to the time parameter, determining a distance variation value according to the distance parameter, determining a weather variation value according to the weather parameter, and/or determining an unread message quantity variation value according to the unread message quantity parameter.
Optionally, if the parameter change information satisfies an update condition, determining that the reference parameter satisfies the update condition includes at least one of:
determining a time change value according to a time parameter, wherein if the time change value is greater than or equal to a time threshold value, the time parameter meets an updating condition;
determining a distance change value according to the distance parameter, wherein if the distance change value is greater than or equal to a distance threshold value, the distance parameter meets an updating condition;
determining a weather change value according to a weather parameter, wherein if the weather change value is greater than or equal to a weather threshold value, the weather parameter meets an updating condition;
and determining the change value of the quantity of the unread messages according to the quantity parameter of the unread messages, wherein if the change value of the quantity of the unread messages is greater than or equal to the threshold value of the quantity of the unread messages, the quantity parameter of the unread messages meets the updating condition.
Optionally, the method further comprises at least one of:
the weather change value includes at least one of: an air index change value, temperature change information, a wind change value, or a humidity change value;
the unread message number variation value includes: a system unread message number variation value and/or an application unread message number variation value.
In a second aspect, an embodiment of the present application provides a notification event update apparatus, including:
the acquisition module is used for acquiring a reference parameter of at least one notification event in the notification event set;
the determining module is used for determining a target notification event when the reference parameter meets an updating condition;
and the updating module is used for displaying the target notification event on a preset interface or updating the notification message displayed on the preset interface according to the target notification event.
In a third aspect, an embodiment of the present application provides a terminal device, including: a processor and a memory, and a computer program stored in the memory and capable of running on the processor, the processor calling the computer program to perform some or all of the steps described in the first aspect of the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides a storage medium, where the storage medium stores a computer program, and the computer program is loaded and executed by one or more processors to perform the notification event update method described in the first aspect of the embodiment of the present application.
In a fifth aspect, the present application provides 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 executes the computer instructions, so that the terminal device executes the notification event update method according to the first aspect.
According to the embodiment of the application, the notification event with the reference parameter meeting the updating condition is used as the target notification event, and the latest notification message on the preset interface is displayed according to the target notification event. Therefore, the target notification event can be automatically screened, the notification function can be more reasonably utilized, and the usability of the notification function is improved. In one embodiment, for the notification event, when the notification event is displayed on a preset interface, the notification event can be updated according to the event change, such as the reference parameters of the weather change and the like, so that the notification reminding effect is better played, and the automatic and intelligent requirements of a user on the notification message processing are met.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating steps of a notification event update method according to an embodiment of the present application;
FIG. 2a is a schematic diagram of a set of notification events provided by an embodiment of the present application;
FIG. 2b is a diagram illustrating a default notification event presentation according to an embodiment of the present application;
FIG. 2c is a diagram illustrating a target notification event update provided by an embodiment of the present application;
FIG. 2d is a diagram illustrating another example of a target notification event update provided by an embodiment of the present application;
FIG. 2e is a schematic diagram illustrating a priority update according to a target notification event according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of another notification event update method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating switching of a lock screen background picture according to a target notification event according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps of another notification event update method according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a notification event presented in a default interface according to sender priority according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps of another notification event update method according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating steps of another notification event update method according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an apparatus for notifying an event update according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of a mobile terminal according to various embodiments of the present application;
fig. 12 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
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The core idea of the technical scheme adopted by the application is as follows: the method comprises the steps of determining parameter change information by obtaining reference parameters of notification events in a notification event set, representing the change degree of the notification events by the parameter change information, judging the change degree of the summarized notification events according to a preset rule, selecting target notification events capable of being displayed, and finally displaying notification messages corresponding to the target notification events on a preset interface.
Please refer to fig. 1, which is a schematic flowchart illustrating a procedure of a notification event update method according to an embodiment of the present application, where the method may be executed by a smart terminal, and the smart terminal may refer to a device capable of running an application and generating a notification message, such as a smart phone, a tablet computer, a smart wearable device, and a personal computer, and the method includes the following steps:
s101, obtaining a reference parameter of at least one notification event in a notification event set.
In one possible embodiment, the notification event set includes a notification event that can be set manually or set by default in a system, and multiple notification events that can be displayed on a preset interface can be taken as the notification event set, and in addition, the notification event set may include an application notification event, a system application event, an event notification event, and a function notification event, and multiple notification events in any two types or any one type may be combined into the notification event set, specifically, the application notification event corresponds to the same or different third-party application; the system notification event corresponds to system application in the intelligent terminal, for example, updating a mobile phone operating system can be used as a system notification event; the event notification event can be backlog recorded in the intelligent terminal, or notification of important traditional festivals, such as the sun festival, the spring festival and the like; the function notification event may be a notification of a function update or an experience of a part of the application. The specific inclusion of the above types of notification events is not particularly differentiated herein in detail and may be the same or different. Optionally, as shown in fig. 2a, the preset interface shows a series of notification events, such as time, location, number of unread APP messages, number of unread system messages, current weather, number of missed calls, and the like, where the content corresponding to the notification events is an application related to time (e.g., alarm clock, system time), location application (e.g., GPS positioning), third-party APP application (e.g., today's first item), system application (e.g., short message, application store), weather application, phone application, and the like. Correspondingly, the aforementioned unread system messages number may be an unread short message number, a software update number, or the like. The setting user of the notification event may make relevant adjustment based on the default of the system, and the manner of obtaining the reference parameter of at least one notification event in the notification event set that can be displayed on the interface is not limited herein.
For the notification event set, the intelligent terminal can acquire at least one reference parameter of the notification event, wherein the reference parameter is a numerical value representing different states of the notification event. Therefore, the reference parameter obtained here is a reference parameter of the state of the notification event read by the terminal at different times, and the content of the reference parameter may be the same or different, where the reference parameter may be a time parameter, a distance parameter, a weather parameter, an unread message number parameter, or the like. Each time the notification event is displayed on the preset interface, the notification event is in a new state, and the corresponding reference parameter should be updated; after the user refers to the notification message corresponding to the notification event, the notification event is in a different state, for example, after the number of unread system messages on the preset interface is referred, the message prompt of the notification event is not kept on the preset interface, the corresponding reference parameter is changed, and the reference parameter of the current state of the notification event needs to be registered.
For example, the temperature change of the weather may be used as a notification event, a reference parameter of the weather immediately before the screen of the terminal is turned off is recorded, for example, the weather temperature before the screen is locked and turned off is 32 ℃, the acquired reference parameter is recorded as 32, the temperature of the weather falls to 25 ℃, 25 is used as a reference parameter of the current notification event, the two states acquire different reference parameters, and for example, an identity ID is provided for an originator of an unread message, the identity ID may be used as the reference parameter, but whenever the identity ID is acquired, the identity ID of the same originator does not change, and the acquired reference parameters are the same.
S102, when the reference parameter meets the updating condition, determining a target notification event.
In one possible embodiment, the update condition is used to determine whether the reference parameter of the notification event meets a set rule, and further determine whether the notification event can be used as a basis for the target notification event. The reference parameters may include reference parameters corresponding to a plurality of notification events, and it is necessary to perform relevant processing on the reference parameters, and determine at least one notification event satisfying the condition as a target notification event by using the update condition determination. The target notification event under the preset interface can be determined more intelligently by adjusting the notification event according to the updating condition.
For example, the obtained reference parameters of the notification events are reference parameters of a part of notification events in a notification event set which is default by the system, and include reference parameters of notification events corresponding to applications such as weather, location, QQ, today's headline, WeChat, and the like, and the reference parameters of the notification events are judged according to the update conditions, and if the reference parameters of the weather meet the update conditions, the reference parameters of the weather can be determined as a target notification event, where the target notification event is a certain index change of the weather, such as a notification message of a wind power change. If the reference parameters of a plurality of notification events all meet the updating condition, for example, if the number of unread messages of the WeChat and QQ meets the updating condition, the notification events corresponding to the two applications can be determined as the target notification event.
S103, displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
Optionally, the method further comprises at least one of:
the notification events included in the notification event set are set manually or by default;
the notification event set comprises a notification event set displayed on a preset interface;
the notification event set comprises at least one of the following notification events: an application notification event, a system notification event, an event notification event, or a function notification event;
the notification event includes a notification priority.
Optionally, the determining that the target notification event includes at least two, displaying the target notification event on a preset interface, or updating a notification message displayed on the preset interface according to the target notification event includes:
and adjusting the display position of the notification message displayed under a preset interface according to the notification priority of the notification event corresponding to the target notification event.
Optionally, the reference parameter comprises an identification of a sender of the unread message;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes:
determining a priority parameter according to the sender identification of the obtained unread message;
and if the priority parameter is greater than or equal to a priority threshold, determining that the reference parameter meets an updating condition.
Optionally, the method further comprises at least one of:
when the reference parameter does not meet the updating condition, the target notification event displayed on a preset interface is unchanged, or the notification event is not displayed on the preset interface;
the displaying the target notification event further comprises: acquiring a background image corresponding to the target notification event, and updating and displaying a lock screen background image according to the acquired background image;
updating the notification message displayed on a preset interface according to the target notification event, wherein the notification message displayed on the preset interface is replaced by the target notification event; or adjusting the display position of the target notification event on a preset interface;
the notification message displayed on the preset interface further comprises at least one non-target notification event, and the updating of the notification message displayed on the preset interface according to the target notification event comprises the adjustment of the display positions of the target notification event and the non-target notification event;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes: determining parameter change information according to the acquired reference parameters, and if the parameter change information meets the updating conditions, determining that the reference parameters meet the updating conditions.
Optionally, the determining parameter change information according to the obtained reference parameter includes at least one of: determining a time variation value according to the time parameter, determining a distance variation value according to the distance parameter, determining a weather variation value according to the weather parameter, and/or determining an unread message quantity variation value according to the unread message quantity parameter.
Optionally, if the parameter change information satisfies an update condition, determining that the reference parameter satisfies the update condition includes at least one of:
determining a time change value according to a time parameter, wherein if the time change value is greater than or equal to a time threshold value, the time parameter meets an updating condition;
determining a distance change value according to the distance parameter, wherein if the distance change value is greater than or equal to a distance threshold value, the distance parameter meets an updating condition;
determining a weather change value according to a weather parameter, wherein if the weather change value is greater than or equal to a weather threshold value, the weather parameter meets an updating condition;
and determining the change value of the quantity of the unread messages according to the quantity parameter of the unread messages, wherein if the change value of the quantity of the unread messages is greater than or equal to the threshold value of the quantity of the unread messages, the quantity parameter of the unread messages meets the updating condition.
Optionally, the method further comprises at least one of:
the weather change value includes at least one of: an air index change value, temperature change information, a wind change value, or a humidity change value;
the unread message number variation value includes: a system unread message number variation value and/or an application unread message number variation value.
In one possible embodiment, the target notification event is a notification event whose reference parameter meets the update condition, and the current state of the notification event is displayed on the preset interface in a notification message manner after being judged by the system summary. Optionally, if no notification event is displayed on the preset interface, after the target notification event is determined, displaying the target notification event on the interface; if the notification message displayed on the preset interface includes at least one non-target notification event, after the target notification event is determined, updating the notification message corresponding to the notification event on the preset interface according to the target notification event, where the notification message may be a number of missed calls, a current weather state, a sender message, and the like, and the updating operation may include: and replacing the notification message displayed on the preset interface with the target notification event, or adjusting the position of the target notification event on the lock screen, or adjusting the display positions of the target notification event and the non-target notification event.
Optionally, adjusting the display position of the target notification event includes at least one of: and displaying the target event at the front ends of all notification events, or at the middle position of the screen, or at the main position in the screen, or at the preset screen position. For example, the target notification event is preferentially displayed at the top end of the notification event display area on the preset interface, or displayed at the middle position of the mobile terminal screen, or displayed at a main position in the terminal device screen, where the main position may be in the upper half area or the lower half area on the preset interface, which is not limited herein. Optionally, the user may also customize the specific location of the notification event on the screen display.
For example, referring to fig. 2b, before the target notification event is not determined, the preset interface of the mobile terminal sequentially displays notification messages of missed calls number 1, clear weather, and unread messages 1. If the weather condition is changed into the weather of thunderstorm rain, and the reference parameter is detected to be in accordance with the updating condition, the notification event of the weather is listed as a target notification event, other notification events are all non-target notification events, meanwhile, the display positions of the target notification event and the non-target notification event of the preset interface are adjusted, the notification messages of the thunderstorm rain, the number of missed calls 1 and the unread message 1 of the weather are displayed in sequence, and the final effect is as shown in fig. 2 c. If only the notification message displayed on the preset interface is replaced by the target notification event, in this case, the display position may not be changed, only the displayed content is changed, or the target notification event may be used to replace another notification message of the non-target notification event. If the preset interface of the mobile terminal does not display any notification message of the notification event before determining the target notification event, when the number of missed calls is increased to 5, it is determined that the reference parameter meets the update condition, and it is determined as the target notification event, and a notification message of the number of missed calls of 5 is displayed in the middle of the screen to remind the user to pay attention to the event, as shown in fig. 2 d.
Optionally, each notification event in the notification event set includes a notification priority, and when it is determined that at least two notification events are target notification events, the display position of the notification message displayed on the preset interface is adjusted according to the notification priority of the notification event corresponding to each target notification event. Optionally, for a plurality of target notification events, the higher the notification priority, the more conspicuous the notification priority is at the display position of the preset interface than the display position with the lower priority, so as to improve the reminding effect of the notification events.
For example, referring to fig. 2e, for example, if the target notification event is determined to have a thunderstorm weather notification message and a missed call count of 5, the priorities are 3 and 1, respectively, and when the notification event is displayed, since the priority of the missed call count is less than that of the weather notification message, the thunderstorm weather notification message is displayed at the top of the notification event display area, and then the notification message of the missed call count of 5 is displayed. By analogy, if there are more than 2 target notification events, the display is performed in sequence according to the priority, and if there are the same priority, the display positions can be arranged according to the determined sequence.
Optionally, if the mobile terminal and the at least one other wearable device can be connected to each other, the target event can also be synchronized to all notification event front ends or intermediate positions or main positions of the display interfaces in the other wearable devices, so that multi-screen sharing is realized. And updating the notification message according to the change degree of the notification event, and displaying the target notification event on a preset interface or other equipment interfaces, so that the aim of multi-screen sharing is achieved, system resources are fully utilized, and the maximum efficiency of the notification function is realized.
In summary, the embodiments of the present application include at least the following advantages:
according to the notification event updating method provided by the embodiment of the application, the target notification event is determined by judging whether the reference parameter meets the updating condition, and then the notification message is updated, so that the condition that the notification message of the notification event which does not meet the condition occupies resources is avoided, the notification priority of the notification event is utilized, the notification events can be reasonably displayed according to the priority under a plurality of target notification events, the overall layout of the notification events is more scientific, meanwhile, the target notification event is displayed on a preset interface or other equipment interfaces, and the target notification event can be effectively and quickly processed.
Please refer to fig. 3, which is a schematic flowchart illustrating a step of another notification event update method according to an embodiment of the present application, where the method includes the following steps:
s301, acquiring a reference parameter of at least one notification event in the notification event set.
In this embodiment, a specific implementation manner of this step may refer to S101 in the embodiment shown in fig. 1, and is not described herein again.
And S302, determining parameter change information according to the acquired reference parameters.
The reference parameter is a reference parameter corresponding to the notification event. In some possible embodiments, the obtained reference parameters include a current state of the notification event and a reference parameter of a previous state recorded by the system, and the change degree of the reference parameter of the current state and the reference parameter of the previous state recorded by the system is calculated to obtain the parameter change information, so as to measure the change size of the notification event.
Optionally, the parameter change information is determined according to the obtained reference parameter, and includes at least one of the following: determining a time variation value according to the time parameter, determining a distance variation value according to the distance parameter, determining a weather variation value according to the weather parameter, and/or determining an unread message quantity variation value according to the unread message quantity parameter. In summary, the parameter change information corresponding to the reference parameter correspondingly includes a time change value, a distance change value, a weather change value, and an unread message number change value. Wherein the weather change value comprises at least one of: an air index change value, temperature change information, a wind change value, or a humidity change value; the unread message number variation values include: a system unread message number variation value and/or an application unread message number variation value.
For example, if unread messages of a microblog are taken as notification events, the number of the unread messages of the microblog recorded in the last screen locking process is 1, the number of the unread messages of the current microblog is 10, the corresponding reference parameters are 1 and 10, if the number of the messages is increased from 1 to 10, the change value of the unread messages is 9, namely, parameter change information can be obtained, and the change degree of the notification events can be measured by using the parameter change information.
S303, if the parameter change information meets the updating condition, determining that the reference parameter meets the updating condition.
In one possible embodiment, the update condition refers to a condition that the parameter change information is greater than or equal to a threshold value. By determining that the parameter change information of the notification event satisfies the update condition, it can be determined that the reference parameter satisfies the update condition. The parameter change information may be the time change value, the distance change value, the weather change value, the unread message number change value, and the like, and corresponds to a time threshold, a distance change threshold, a weather threshold, an unread message number threshold, and the like. And obtaining corresponding parameter change information according to the obtained reference parameter of the notification event, comparing the size relationship between the parameter change information and the corresponding notification event threshold value, and if the corresponding numerical value of the parameter change information is greater than or equal to the corresponding threshold value, the parameter change information meets the updating condition, wherein the corresponding threshold value of the notification event can be set by a system.
Alternatively, the time variation value may be determined according to the time parameter, and if the time variation value is greater than or equal to the time threshold, the time parameter satisfies the update condition. In some embodiments, the time change value may be parameter change information corresponding to a time-related notification event, such as a duration of a time set by an alarm clock or a memo reminder from a current time. For example, the alarm clock is set to ring at 17:00, the time threshold set by the system is 20 minutes, and if the obtained current time is greater than the time threshold by 30 minutes from the time set by the alarm clock, that is, the time variation value, then it is determined on the preset interface that the time parameter of the notification event that the alarm clock rings at 17:00 meets the update condition.
Alternatively, the distance change value may be determined according to the distance parameter, and if the distance change value is greater than or equal to the distance threshold, the distance parameter satisfies the update condition. In some embodiments, the distance change value may be obtained by calculating position information, that is, obtaining a moving range and current position information obtained by a last unlock position and a frequently-used position of a preset interface, determining a minimum value of the current position and the moving range, that is, a distance change value, and if the minimum value is greater than or equal to a distance threshold, meeting an update condition. For example, the location where the user frequently unlocks the terminal device is the location a, but the location is the location B when unlocking the terminal device last time, the linear distance between the two locations is 500 meters, that is, the diameter of the moving range is 500 meters, the current location where the user will turn on the lock screen is the location C, the linear distance between the location B is 1.5 kilometers, and the linear distance between the location a is 2 kilometers, and the distance change value between the current location and the moving range, that is, the distance between the current location and the location B is 1.5 kilometers, is the minimum value, and the distance threshold value is 1 kilometer, and the minimum value is greater than the distance threshold value, so the distance parameter meets the update condition.
In one embodiment, the weather change value is determined according to the weather parameter, and if the weather change value is greater than or equal to the weather threshold, the weather parameter satisfies the update condition. The weather change value comprises any one or more of an air index change value, temperature change information, a wind power change value and a humidity change value, and a corresponding threshold value is corresponding to the weather change value. In some embodiments, the recorded weather data of the last screen-off time and the weather data of the preset interface are obtained, and the weather change value K can be obtained by comparing the two obtained data, but the weather state such as clear, thunderstorm and the like can not be directly and intuitively represented, and numerical quantification is required to obtain the final change degree. For example, the change degree from clear to thunderstorm is 4, the set weather threshold is 3, and the change degree from clear to thunderstorm is greater than the weather threshold, so that the weather parameters of the thunderstorm meet the updating condition.
In one embodiment, the unread message number variation value is determined according to the unread message number parameter, and if the unread message number variation value is greater than or equal to the unread message number threshold, the unread message number parameter meets the update condition. Wherein the unread message number variation value includes: system unread message number change value and/or application unread messageThe number change value. In some embodiments, the number N of messages of the unread application at the last screen locking is obtained0And the number of current unread messages N1The two parameters can determine a message increment number, namely a change value of the number of unread messages, the increment number is compared with a threshold value of the number of unread messages, and if the increment number is larger than or equal to the threshold value of the number of unread messages, the parameter of the number of unread messages can be determined to meet the updating condition.
S304, displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
In some optional embodiments, the notification event corresponds to a notification priority, the notification priority can be changed by a user according to a user definition, a system default notification priority can also be used, and optionally, the notification priority set by the system can be automatically set or changed according to the number of times of consulting the notification event by the user.
For example, for a notification message appearing on a preset interface, a user refers according to the requirement of the user, and for some notification events, the user may choose to ignore, and when the number of times that the user does not refer to the notification event is accumulated to a certain value, the priority of the notification event is automatically reduced, so as to filter the notification events important for the user.
In some optional embodiments, the corresponding background image may be further matched according to the specific content of the target notification event, and when the notification message of the target notification event is displayed, the background image is simultaneously changed.
As shown in fig. 4, when the location is determined to be updated for the target notification event, the background picture is switched to a building, a food, or the like representative of the area. For example, if the screen lock background picture is changed to the landmark eastern pearl of Shanghai at the same time when the screen lock background picture meets the updating condition and is determined as the target notification event, the notification message is enriched.
In this embodiment, the details of the embodiment S103 shown in fig. 1 can be referred to for other related contents of this step, and are not repeated herein.
In summary, the embodiments of the present application include at least the following advantages:
according to the notification event updating method provided by the application, the target notification event is determined by judging whether the reference parameter meets the updating condition, specifically, the target notification event is determined by judging whether the change information of the reference parameter of the notification event is greater than or equal to the threshold value, and then the notification event of the preset interface is updated, so that the notification event can be simplified, and the use efficiency of limited resources is improved. In addition, the notification event is displayed according to the priority, so that the reminding effect of the notification event can be improved, and the usability of the notification function is better.
Please refer to fig. 5, which is a flowchart illustrating another notification event update method according to an embodiment of the present application, where the method includes the following steps:
s501, obtaining a reference parameter of at least one notification event in the notification event set.
In this embodiment, a specific implementation manner of this step may refer to S101 in the embodiment shown in fig. 1, and is not described herein again.
And S502, determining a priority parameter according to the sender identification of the obtained unread message.
In one possible embodiment, the sender identification of the unread message includes at least one, and the sender identification of the unread message is a tag that distinguishes different contacts under different applications. Correspondingly, the sender identifier obtained here includes identifiers corresponding to at least one contact friend, and these identifiers may be from different contacts in the same application or contacts in different applications. According to these identifications, it is possible to obtain the related information set by the user for the sender, for example, the notification event is multiple unread messages sent by multiple buddies in an application, first obtain the identification of the object sending the message, i.e. the identification of the sender of the unread message, such as the ID, pull all valid information of the buddy according to the ID, and further determine the corresponding priority parameter, and for buddies for which the user does not perform the operation related to the priority setting, the priority parameter can be automatically defaulted to 0 or other integer values smaller than the set minimum priority by the system.
S503, if the priority parameter is greater than or equal to the priority threshold, determining that the reference parameter meets the update condition.
In one possible embodiment, the acquired priority parameter is compared with a set priority threshold, the priority parameter is divided into two parts, namely the priority threshold is larger than or equal to the priority parameter and the priority parameter is smaller than the priority threshold, partial notification messages of the contacts which do not meet the requirements can be screened through judging conditions, the notification messages of the contacts which meet the requirements are processed preferentially, and the user is helped to improve the work efficiency. Specifically, the determination condition may be an update condition, where the update condition is a basis for determining whether the priority parameter of the unread message sender meets the condition, and by determining whether the priority parameter is greater than or equal to the threshold value, and further determining that the sender identifier of the unread message meets the update condition, the sender identifier of the unread message greater than or equal to the priority threshold value may be retained, and the sender identifier of the unread message with a lower priority level is removed, so as to determine the target sender, that is, the sender of the unread message whose priority parameter is greater than or equal to the priority threshold value.
In one possible embodiment, after the priority parameters corresponding to the identifications of the target senders are obtained, the priority parameters may be sorted, so as to further improve the efficiency of notification event processing. For example, messages of a micro-blog friend, a micro-blog friend and an obtained friend are received at the same time, but the priority of the micro-blog friend in friend setting is higher than that of the obtained friend, and the priority of the micro-blog friend is the lowest, so that notification events of messages sent by the micro-blog, the obtained friend and the micro-blog friend are sequentially displayed on a terminal interface, and a prompt interface different from a general notification message is specifically displayed, as shown in fig. 6.
S504, when the reference parameter meets the updating condition, determining a target notification event.
In a possible embodiment, the reference parameter may be an identifier of an originator of the unread message, the update condition is a criterion for determining whether the reference parameter of the notification event meets a condition, and the update condition may be that the originator of the unread message corresponds to an update condition with a priority greater than or equal to a priority threshold, and whether the reference parameter meets the update condition is determined to determine whether the originator of the unread message can be determined as the target notification event. The obtained reference parameter may comprise an identifier of a sender of at least one unread message, and it is necessary to perform a correlation process on the identifiers of the senders respectively, and determine a target notification event by using the update condition. For example, the notification event is a message sent by a plurality of buddies in the QQ, the priority parameter is further known according to the sender identification corresponding to the message, then the buddies meeting the condition are determined as the target senders according to the priority threshold, and the sent message is used as the notification message of the target notification event.
In one possible embodiment, each application is set and the contacts in each application may be prioritized. When a plurality of target notification events are determined, wherein the target notification events cover the priority of senders set in some applications, the target notification events need to be sorted by the priority of the notification events to obtain a first sorting result of the target notification events, then sorting the priority of at least one sender in one application, and determining a message sent by the sender with the highest priority as a notification event message corresponding to the target notification event.
For example, if the priorities set by the four applications of the WeChat, the microblog, the QQ and the today's headline are 1, 2, 3 and 4 respectively, two contacts in the WeChat are set to be most concerned and have unread messages respectively, the priorities are 5 and 6 respectively, two contacts in the QQ are set to be most concerned, the priorities are 7 and 8 respectively, and also have unread messages, and the priorities of the microblog and the today's headline are not set. When the four applications are determined as the target notification event, firstly, according to the notification priority of the applications, the current item, the QQ, the microblog and the WeChat are sequentially displayed, then, the message sent by the contact with the priority of 6 in the QQ is determined as the notification message corresponding to the target notification event, and then, the message sent by the contact with the priority of 8 in the WeChat is determined as the notification message corresponding to the target notification event.
And S505, displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
Optionally, the notification message of the target notification event may be a message sent by a target sender of the unread message corresponding to each application, and the priority parameter is determined according to the target sender identifier of the unread message, and the priority parameter meeting the requirement is screened, so as to achieve the purpose of preferentially processing the message sent by the important sender. And adjusting the display positions of the notification messages in the preset interface according to the magnitude sequence of the priority parameters meeting the updating conditions for the senders of the unread messages. Other details in this embodiment can be seen in S103 in the embodiment shown in fig. 1, and are not described herein again.
In summary, the embodiments of the present application include at least the following advantages:
according to the notification event updating method provided by the embodiment of the application, the senders of the unread messages are screened by determining the priority corresponding to the sender identifications of the unread messages, so that the senders with higher priority are determined, the screened senders can be ranked in priority, the notification event processing efficiency is improved, and the availability of the notification event function is further improved.
Please refer to fig. 7, which is a flowchart illustrating a method for notifying an event update according to another embodiment of the present application, where the method includes the following steps:
s701, acquiring a reference parameter of at least one notification event in the notification event set.
The specific implementation manner of this step can be referred to as S101 in the embodiment shown in fig. 1, and is not described herein again.
S702, when the reference parameter does not meet the updating condition, the target notification event displayed on a preset interface is not changed, or the notification event is not displayed on the preset interface.
When the reference parameter of the acquired at least one notification event does not satisfy the update condition, optionally, the parameter change information of the reference parameter is smaller than a preset threshold value, so that the reference parameter does not satisfy the update condition, and at this time, there is no target notification event, if the last determined target notification event is already displayed on the preset interface, then the original display interface is not changed when the update condition is not satisfied, that is, the target notification event displayed on the preset interface is kept unchanged; if the preset interface does not have any notification event, the notification event is not displayed on the preset interface based on the reference that the updating condition is met.
For example, it is detected that the weather parameter and the weather parameter variation value are heavy rain to thunderstorm, the variation degree is 1, the weather threshold value is 3, under this condition, the parameter variation value is smaller than the weather threshold value, and the weather parameter of the thunderstorm does not satisfy the update condition, so the weather notification event is not the target notification event, if there is an original notification event on the preset interface, the display position and the display content are not changed, if there is no notification event, because the weather notification event does not satisfy the update condition, the weather notification event is not displayed.
In summary, the embodiments of the present application have at least the following advantages:
the target and non-target notification events are judged by judging whether the obtained reference parameters of the notification events meet the updating conditions, the non-target notification events which do not meet the updating conditions are automatically filtered and are not displayed or updated on a preset interface, so that the memory resources for displaying the notification events can be saved, and the event notification completion efficiency is improved.
Please refer to fig. 8, which is a flowchart illustrating a method for notifying an event update according to another embodiment of the present application, where the method includes the following steps:
s801, a user or a system sets a default lock screen notification event. For the intelligent terminal, a user can set notification events under a preset interface according to own requirements, or can directly use default screen locking notification events set by a system, the notification events are used as a notification event set, each notification event corresponds to the same or different applications, for example, the notification event of unread short message counts corresponds to system short message applications. The setting of the notification event can better help the intelligent terminal to track the change of the notification event so as to realize the final notification function.
S802, the system acquires the notification message under the screen locking condition. Under the condition of screen locking, the system monitors reference parameters of each application event in real time, when the reference parameters are acquired after screen locking and correspond to notification messages, the notification messages are contents which can be displayed on a preset interface when the notification events change, for example, 5 unread short messages exist, then the notification messages of the unread short messages 5 can be displayed on the preset interface, but the possibility depends on parameter change information, namely the change degree.
And S803, judging whether the change degree of the notification message is larger than that of the notification message in the last screen off state. This step corresponds to the determination of whether the reference parameter of the notification event satisfies the update condition in the foregoing method embodiment, where there are two branches: if the change is large, namely the parameter change information is larger than or equal to the preset threshold value, the reference parameter meets the updating condition, and the notification event can be updated; if the change is small, namely the parameter change information is smaller than the preset threshold value, the reference parameter does not meet the updating condition, and the notification event cannot be updated. Through the two branches, the notification events can be divided into target notification events and non-target notification events, the non-target notification events are filtered, and the availability of the notification function can be improved by specifically updating the target notification events.
And S804, displaying and replacing the default screen locking notification event. This step is one of the branches under the judgment condition: the notification message has a larger change degree compared with the last screen-off state, at this time, the notification event corresponding to the notification message can be listed as a target notification event, if the previous default notification event is displayed on the preset interface, the notification event in the notification message is replaced by the target notification event, and if no notification event exists on the preset interface, the target notification event is displayed on the interface.
S805, without displaying, this step is another branch under the judgment condition: the notification message has a smaller change degree compared with the last screen-off state, that is, the corresponding reference parameter does not satisfy the update condition, and the notification event is not listed as a target notification event, that is, it is determined that the notification event does not need to be displayed, or a default screen-locking notification event is replaced.
Other contents in the steps of this embodiment have been listed in detail in the foregoing method embodiments, and are not described herein again.
In summary, the embodiments of the present application have at least the following advantages:
according to the method and the device, the occupation of the non-target notification event on the resources is reduced by determining the change degree of the notification event that the notification event needs to be displayed or replaced, so that the notification event is more intelligent, and the notification event achieves a good reminding effect.
Please refer to fig. 9, which is a schematic structural diagram of an apparatus for notifying an event update according to an embodiment of the present disclosure, where the apparatus according to the embodiment of the present disclosure may be disposed in some smart terminals, and the smart terminals may be, for example, smart phones, tablet computers, smart wearable devices, personal computers, and the like, and the apparatus includes:
an obtaining module 901, configured to obtain a reference parameter of at least one notification event in a notification event set;
a determining module 902, configured to determine a target notification event when the reference parameter satisfies an update condition;
an updating module 903, configured to display the target notification event on a preset interface, or update a notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
Optionally, the determining module 902 is further configured to:
determining parameter change information according to the acquired reference parameters;
and if the parameter change information meets the updating condition, determining that the reference parameter meets the updating condition.
Optionally, the determining module 902 is further configured to:
determining a time variation value according to the time parameter, determining a distance variation value according to the distance parameter, determining a weather variation value according to the weather parameter, and/or determining an unread message quantity variation value according to the unread message quantity parameter.
Optionally, the determining module 902 is further configured to:
determining a time variation value according to the time parameter; if the time variation value is larger than or equal to a time threshold value, the time parameter meets an updating condition;
determining a distance change value according to the distance parameter, wherein if the distance change value is greater than or equal to a distance threshold value, the distance parameter meets an updating condition;
determining a weather change value according to a weather parameter, wherein if the weather change value is greater than or equal to a weather threshold value, the weather parameter meets an updating condition;
and determining the change value of the quantity of the unread messages according to the quantity parameter of the unread messages, wherein if the change value of the quantity of the unread messages is greater than or equal to the threshold value of the quantity of the unread messages, the quantity parameter of the unread messages meets the updating condition.
Optionally, the determining module 902 is further configured to:
determining a priority parameter according to the sender identification of the obtained unread message;
and if the priority parameter is greater than or equal to a priority threshold, determining that the reference parameter meets an updating condition.
Optionally, the updating module 903 is further configured to:
and adjusting the display position of the notification message displayed under a preset interface according to the notification priority of the notification event corresponding to the target notification event.
Optionally, the updating module 903 is further configured to:
acquiring a background image corresponding to a target notification event;
and updating and displaying the lock screen background image according to the acquired background image.
Optionally, the updating module 903 is further configured to:
and when the reference parameter does not meet the updating condition, the target notification event displayed on the preset interface is unchanged, or the notification event is not displayed on the preset interface.
Optionally, the updating module 903 is further configured to:
updating the notification message displayed on a preset interface according to the target notification event, wherein the notification message displayed on the preset interface is replaced by the target notification event; or adjusting the display position of the target notification event on a preset interface.
Optionally, the updating module 903 is further configured to:
and updating the notification message displayed on a preset interface according to the target notification event, wherein the updating comprises adjusting the display positions of the target notification event and the non-target notification event.
Optionally, the update module 903 is further specifically configured to:
and displaying the target notification event at the front ends of all notification events, the middle position of the screen, the main position in the screen or the preset screen position.
For the device embodiment, since it is basically similar to the method embodiment, reference may be made to part of the description of the method embodiment for relevant points, and the technical effects are basically similar, and are not described herein again.
Please refer to fig. 10, which is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, where the terminal device may be a smart phone, a tablet computer, a smart wearable device, a personal computer, and the terminal device may include: input device 1001, output device 1002, processor 1003, memory 1004, network interface 1005, and communication bus 1006.
The memory 1004 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory 1004 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (SSD), etc.; the memory 1004 may also comprise a combination of memories of the kind described above.
The processor 1003 may be a Central Processing Unit (CPU). The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a field-programmable gate array (FPGA), a General Array Logic (GAL), or the like.
The network interface 1005 provides a data communication function; the communication bus 1006 is responsible for connecting the various communication elements; the input device 1001 receives an instruction input by a user to generate a signal input related to user setting and function control of the terminal device, and in one embodiment, the input device 1001 includes one or more of, but is not limited to, a touch panel, a physical keyboard, a function key, a mouse, and the like; the output device 1002 is used for displaying data information and comprises a display screen; the processor 1003 is a control center of the terminal device, connects various parts of the entire terminal device by various interfaces and lines, and executes various functions by scheduling and running the computer programs stored in the memory 1004.
In one embodiment, the processor 1003 may be used to invoke a computer program in memory for:
acquiring a reference parameter of at least one notification event in a notification event set;
when the reference parameter meets the updating condition, determining a target notification event;
and displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
Optionally, the preset interface may be a screen locking interface, or may also be a standby interface, a screen off interface, a negative one-screen interface, a tray, a system interface, an application interface, and the like.
In one embodiment, the processor 1003 is configured to:
determining parameter change information according to the acquired reference parameters;
and if the parameter change information meets the updating condition, determining that the reference parameter meets the updating condition.
In one embodiment, the processor 1003 is configured to:
determining a time variation value according to a time parameter, determining a distance variation value according to a distance parameter, determining a weather variation value according to a weather parameter, and/or determining an unread message quantity variation value according to an unread message quantity parameter
In one embodiment, the processor 1003 is configured to:
determining a time variation value according to the time parameter; if the time variation value is larger than or equal to a time threshold value, the time parameter meets an updating condition;
determining a distance change value according to the distance parameter, wherein if the distance change value is greater than or equal to a distance threshold value, the distance parameter meets an updating condition;
determining a weather change value according to a weather parameter, wherein if the weather change value is greater than or equal to a weather threshold value, the weather parameter meets an updating condition;
and determining the change value of the quantity of the unread messages according to the quantity parameter of the unread messages, wherein if the change value of the quantity of the unread messages is greater than or equal to the threshold value of the quantity of the unread messages, the quantity parameter of the unread messages meets the updating condition.
In one embodiment, the processor 1003 is configured to:
determining a priority parameter according to the sender identification of the obtained unread message;
and if the priority parameter is greater than or equal to a priority threshold, determining that the reference parameter meets an updating condition.
In one embodiment, the processor 1003 is configured to:
and adjusting the display position of the notification message displayed under a preset interface according to the notification priority of the notification event corresponding to the target notification event.
In one embodiment, the processor 1003 is configured to:
acquiring a background image corresponding to a target notification event;
and updating and displaying the lock screen background image according to the acquired background image.
In one embodiment, the processor 1003 is configured to:
and when the reference parameter does not meet the updating condition, the target notification event displayed on the preset interface is unchanged, or the notification event is not displayed on the preset interface.
In one embodiment, the processor 1003 is configured to:
updating the notification message displayed on a preset interface according to the target notification event, wherein the notification message displayed on the preset interface is replaced by the target notification event; or adjusting the display position of the target notification event on a preset interface.
In one embodiment, the processor 1003 is configured to:
and updating the notification message displayed on a preset interface according to the target notification event, wherein the updating comprises adjusting the display positions of the target notification event and the non-target notification event.
In one embodiment, the processor 1003 is configured to:
and displaying the target notification event at the front ends of all notification events, the middle position of the screen, the main position in the screen or the preset screen position.
It should be understood that the terminal device described in this embodiment of the present application may implement the specific description of the notification event update method in the embodiment, and refer to the description of the related content in the foregoing embodiment, which is not described herein again. In addition, the description of the beneficial effects of the same method is not repeated herein.
In addition, it should be further noted that, in this embodiment of the present application, a storage medium is further provided, where the storage medium stores a computer program of the notification event update method, where the computer program includes program instructions, and when one or more processors load and execute the program instructions, a description of the notification event update method according to the embodiment may be implemented, which is not described herein again, and beneficial effects of the same method are also described herein without being described again. It will be understood that the program instructions may be executed on one or more terminal devices that are capable of communicating with each other.
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.
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. Depending on the context, the word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination". 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 terminal device may be implemented in various forms. For example, the terminal devices 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 above description is given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the configuration according to the embodiments of the present application can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 11, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 11 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.
The following describes each component of the mobile terminal in detail with reference to fig. 11:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that may optionally adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1061 and/or the backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 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 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects a touch orientation of a user, detects a signal caused by a 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Alternatively, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 11, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. 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 108 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 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a program storage area and a data storage area, and optionally, the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, optionally, the application processor mainly handles operating systems, user interfaces, application programs, etc., 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 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 11, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
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. 12, fig. 12 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) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Alternatively, the eNodeB2021 may be connected with other enodebs 2022 through a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. Optionally, the MME2031 is a control node that handles signaling between the UE201 and the EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow 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 204 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, CDMA2000, 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 notification event update method, comprising:
acquiring a reference parameter of at least one notification event in a notification event set;
when the reference parameter meets the updating condition, determining a target notification event;
and displaying the target notification event on a preset interface, or updating the notification message displayed on the preset interface according to the target notification event.
2. The method of claim 1, comprising at least one of:
the notification events included in the notification event set are set manually or by default;
the notification event set comprises a notification event set displayed on a preset interface;
the notification event set comprises at least one of the following notification events: an application notification event, a system notification event, an event notification event, or a function notification event;
the notification event includes a notification priority.
3. The method of claim 2, wherein the determined target notification event includes at least two, and the displaying the target notification event on the preset interface or updating the notification message displayed on the preset interface according to the target notification event comprises:
and adjusting the display position of the notification message displayed under a preset interface according to the notification priority of the notification event corresponding to the target notification event.
4. A method according to any one of claims 1 to 3, wherein the reference parameter comprises an identification of a sender of the unread message;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes:
determining a priority parameter according to the sender identification of the obtained unread message;
and if the priority parameter is greater than or equal to a priority threshold, determining that the reference parameter meets an updating condition.
5. The method of any one of claims 1 to 3, further comprising at least one of:
when the reference parameter does not meet the updating condition, the target notification event displayed on a preset interface is unchanged, or the notification event is not displayed on the preset interface;
the displaying the target notification event further comprises: acquiring a background image corresponding to the target notification event, and updating and displaying a lock screen background image according to the acquired background image;
updating the notification message displayed on a preset interface according to the target notification event, wherein the notification message displayed on the preset interface is replaced by the target notification event; or adjusting the display position of the target notification event on a preset interface;
the notification message displayed on the preset interface further comprises at least one non-target notification event, and the updating of the notification message displayed on the preset interface according to the target notification event comprises the adjustment of the display positions of the target notification event and the non-target notification event;
after the obtaining of the reference parameter corresponding to each notification event in the notification event set, the method includes: determining parameter change information according to the acquired reference parameters, and if the parameter change information meets the updating conditions, determining that the reference parameters meet the updating conditions.
6. The method according to claim 5, wherein the determining parameter change information according to the obtained reference parameter includes at least one of: determining a time variation value according to the time parameter, determining a distance variation value according to the distance parameter, determining a weather variation value according to the weather parameter, and/or determining an unread message quantity variation value according to the unread message quantity parameter.
7. The method of claim 6, wherein determining that the reference parameter satisfies an update condition if the parameter change information satisfies the update condition comprises at least one of:
determining a time change value according to a time parameter, wherein if the time change value is greater than or equal to a time threshold value, the time parameter meets an updating condition;
determining a distance change value according to the distance parameter, wherein if the distance change value is greater than or equal to a distance threshold value, the distance parameter meets an updating condition;
determining a weather change value according to a weather parameter, wherein if the weather change value is greater than or equal to a weather threshold value, the weather parameter meets an updating condition;
and determining the change value of the quantity of the unread messages according to the quantity parameter of the unread messages, wherein if the change value of the quantity of the unread messages is greater than or equal to the threshold value of the quantity of the unread messages, the quantity parameter of the unread messages meets the updating condition.
8. The method of claim 6, comprising at least one of:
the weather change value includes at least one of: an air index change value, temperature change information, a wind change value, or a humidity change value;
the unread message number variation value includes: a system unread message number variation value and/or an application unread message number variation value.
9. A terminal device, comprising: processor and memory and a computer program stored in the memory and executable on the processor, characterized in that the processor calls the computer program to execute the method according to any of claims 1 to 8.
10. A storage medium storing a computer program, which is loaded and executed by one or more processors to perform the method of any one of claims 1 to 8.
CN202011315295.3A 2020-11-20 2020-11-20 Notification event updating method, terminal device and storage medium Pending CN112486365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011315295.3A CN112486365A (en) 2020-11-20 2020-11-20 Notification event updating method, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011315295.3A CN112486365A (en) 2020-11-20 2020-11-20 Notification event updating method, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN112486365A true CN112486365A (en) 2021-03-12

Family

ID=74933207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011315295.3A Pending CN112486365A (en) 2020-11-20 2020-11-20 Notification event updating method, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN112486365A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065655A (en) * 2022-06-15 2022-09-16 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN115577935A (en) * 2022-10-09 2023-01-06 华院计算技术(上海)股份有限公司 Continuous casting data processing method and device based on cognitive intelligence and computing equipment
CN115827020A (en) * 2022-11-30 2023-03-21 广州通则康威智能科技有限公司 Upgrading test method, device, equipment and storage medium of equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065655A (en) * 2022-06-15 2022-09-16 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN115065655B (en) * 2022-06-15 2023-11-03 北京字跳网络技术有限公司 Information processing method, device, terminal and storage medium
CN115577935A (en) * 2022-10-09 2023-01-06 华院计算技术(上海)股份有限公司 Continuous casting data processing method and device based on cognitive intelligence and computing equipment
CN115577935B (en) * 2022-10-09 2023-09-15 华院计算技术(上海)股份有限公司 Continuous casting data processing method and device based on cognitive intelligence and computing equipment
CN115827020A (en) * 2022-11-30 2023-03-21 广州通则康威智能科技有限公司 Upgrading test method, device, equipment and storage medium of equipment

Similar Documents

Publication Publication Date Title
CN112004173B (en) Bluetooth headset switching method, mobile terminal and computer readable storage medium
CN107222613B (en) Display method and terminal
CN107517153B (en) Message push control method and terminal
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN111949177B (en) Information transmission method, terminal device, and computer-readable storage medium
CN112486365A (en) Notification event updating method, terminal device and storage medium
CN109005574B (en) Cell selection method, mobile terminal and computer readable storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN108241752B (en) Photo display method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN109144705B (en) Application management 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
JP2020509470A (en) Method, apparatus and non-volatile computer readable medium for image synthesis
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108063863B (en) Information browsing method, terminal, server and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN113485899A (en) Information processing method, terminal device and storage medium
CN113094585A (en) Information recommendation method, terminal device and readable storage medium
CN112311934A (en) Data card switching method, intelligent terminal and computer readable storage medium
CN107844353B (en) Display method, terminal and computer readable storage medium
CN108040330B (en) WiFi directional transmission method, mobile terminal and readable storage medium
CN115080166A (en) Information display method, mobile terminal and storage medium
CN115277922A (en) Processing method, intelligent terminal and storage medium
CN113835586A (en) Icon processing method, intelligent terminal and 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