CN108509111B - Application notification method and device and terminal equipment - Google Patents
Application notification method and device and terminal equipment Download PDFInfo
- Publication number
- CN108509111B CN108509111B CN201810317570.1A CN201810317570A CN108509111B CN 108509111 B CN108509111 B CN 108509111B CN 201810317570 A CN201810317570 A CN 201810317570A CN 108509111 B CN108509111 B CN 108509111B
- Authority
- CN
- China
- Prior art keywords
- notification message
- notification
- application
- message
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The application is applicable to the technical field of communication, and provides a notification method, a notification device and terminal equipment of an application, wherein the notification method comprises the following steps: intercepting the notification message after monitoring the notification message; judging whether the intercepted notification message is a notification message of a predetermined application or not; if the notification message is a notification message of a preset application, judging whether the notification message is a notification message sent by a designated contact in the preset application; and if the notification message is a notification message sent by a designated contact in the predetermined application, modifying the current notification mode of the notification message into other notification modes. The method can acquire the information of the contact currently sending the notification message.
Description
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a notification method and apparatus for an application, and a terminal device.
Background
At present, intelligent terminals (such as mobile phones, computers, and the like) have increasingly powerful functions, and social applications that can be borne by the intelligent terminals are also increasing.
In the social application installed in the intelligent terminal, the social application with the highest use frequency is supposed to be a social application, such as WeChat, qq and the like, and each social application has a plurality of contacts. However, in any type of social application, when the information of the contact of the social application is received, the presented notification ring is the same, and if the user only wants to pay attention to the information of one contact, the user is difficult to distinguish from the presented notification ring, which brings inconvenience to the user.
Disclosure of Invention
In view of this, embodiments of the present application provide an application notification method, an application notification apparatus, and a terminal device, so as to solve the problem that the amount of information included in the application-prompted notification ring is small in the prior art.
A first aspect of an embodiment of the present application provides an application notification method, including:
intercepting the notification message after monitoring the notification message;
judging whether the intercepted notification message is a notification message of a predetermined application or not;
if the notification message is a notification message of a preset application, judging whether the notification message is a notification message sent by a designated contact in the preset application;
and if the notification message is a notification message sent by a designated contact in the predetermined application, modifying the current notification mode of the notification message into other notification modes.
A second aspect of an embodiment of the present application provides an application notification apparatus, including:
the notification message intercepting unit is used for intercepting the notification message after monitoring the notification message;
the predetermined application message judging unit is used for judging whether the intercepted notification message is a notification message of a predetermined application;
the specified contact judging unit is used for judging whether the notification message is a notification message sent by a specified contact in a preset application if the notification message is the notification message of the preset application;
and the notification mode modification unit is used for modifying the current notification mode of the notification message into other notification modes if the notification message is the notification message sent by the designated contact in the predetermined application.
A third aspect of the embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the notification method of the application when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the notification method of an application as described.
Compared with the prior art, the embodiment of the application has the advantages that:
when the notification message is the notification message sent by the designated contact in the predetermined application, the current notification mode of the notification message is modified into other notification modes, so that the user can set personalized notification modes for different contacts according to actual requirements, and the user can be ensured to acquire the information of the contact sending the notification message currently from different notification modes.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a notification method for a social application according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a notification message displayed on a mobile phone according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a notification apparatus for an application according to an embodiment of the present application;
fig. 4 is a schematic diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various social applications, such as one or more of the following: a mapping social application, a presentation social application, a word processing social application, a website creation social application, a disc burning social application, a spreadsheet social application, a gaming social application, a phone social application, a video conferencing social application, an email social application, an instant messaging social application, an exercise support social application, a photo management social application, a digital camera social application, a web browsing social application, a digital music player social application, and/or a digital video player social application.
Various social applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal may be adjusted and/or changed between social applications and/or within respective social applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminals may support various social applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
The first embodiment is as follows:
fig. 1 shows a flowchart of a notification method for a social application provided in an embodiment of the present application, which is detailed as follows:
and step S11, intercepting the notification message after monitoring the notification message.
Specifically, if an application (e.g., a social application) is installed on a terminal device (e.g., a mobile phone), and the social application receives a message sent by a contact, the social application creates a notification and sends an identifier of the notification to a system, and the system intercepts the corresponding notification according to the identifier of the received notification. Taking a mobile phone of an Android system as an example, after receiving a message sent by a contact, a social application itself creates notification notifications, and then the notifications are managed by a NotificationManager of the system in a unified manner, so that the notifications can be intercepted by the NotificationManager for the Android system. The notification format initiated by the application end can be as follows:
Notification notification=new Notification(icon,tickerText,when);
default | ═ notification.default _ LIGHTS; // notification lamp light
Default | ═ notification.defiault _ vibrant; // notify the shake
Sound. part ("file:///sdcard/notification/ringer. mp 3"); // informing ring
The following is the content notified in the status bar after creation:
Context context=droidGap.getApplicationContext();
CharSequence contentTitle ═ unread message alert; // title of Notification
CharSequence contentText ═ you have "+ Quantity +" unread message, please read in time. "; // content of the Notification
Intent notificationIntent=new Intent(droidGap,MainActivity.class);
PendingIntent contentIntent=PendingIntent.getActivity(droidGap,0,notificationIntent,0);
notification.setLatestEventInfo(context,contentTitle,contentText,contentIntent);
notificationManager.notify(NOTIFICATION_ID,notification);
As can be seen from the above, a notification contains the ring tone of the notification, the notification title, the notification content, etc., but whatever the notification is created, the identification (id) of this notification is finally sent to the NotificationManager, so that the monitored notification message can be intercepted by the method notify.
And step S12, judging whether the intercepted notification message is a notification message of a predetermined application.
Specifically, an application identifier corresponding to an application sending the notification message is obtained from the intercepted notification message, the application identifier is compared with an application identifier of a predetermined application, if the application identifier is the same as the application identifier of the predetermined application, it is determined that the intercepted notification message is the notification message of the predetermined application, and if the application identifier is not the same as the application identifier of the predetermined application, it is determined that the intercepted notification message is not the notification message of the predetermined application.
Optionally, the application identification of the predetermined application is determined by:
judging whether a preset application sets a notification mode of a contact person of the preset application or not, and recording an application identifier of the preset application as an application identifier of a preset application if the notification mode of the contact person of the preset application is set.
Optionally, for any one of the predetermined applications, if the user no longer specifies the notification manner of the contact of the predetermined application, that is, the default notification manner is recovered, the recorded application identifier corresponding to the predetermined application is deleted.
The preset applications comprise third-party social applications, and since one terminal device may simultaneously install a plurality of social applications, such as WeChat, QQ, facebook, viber, shuttsapp and the like, but a user may only specify notification ways of contacts of partial social applications, the comparison time can be reduced by screening out the preset applications in advance.
It should be noted that, in the above steps, as long as it is determined that the preset application modifies the default notification manner of at least one contact of the preset application to the specified notification manner, it is determined that the preset application sets the notification manner of the contact.
Step S13, if the notification message is a notification message of a predetermined application, determine whether the notification message is a notification message sent by a designated contact in the predetermined application.
Specifically, if a user specifies a notification mode of a contact in a predetermined application, the predetermined application has a corresponding specified contact; if the notification mode of the contact person is not specified in the predetermined application by the user, the corresponding specified contact person does not exist in the predetermined application.
Optionally, if the intercepted notification message is not a notification message of a predetermined application, the intercepted notification message is released to prompt the user to receive a new notification message.
Step S14, if the notification message is a notification message sent by a designated contact in the predetermined application, modifying the current notification mode of the notification message into another notification mode.
The notification mode includes a notification ring tone, a vibration prompt and the like. Other notification means herein include user-specified notification means such as notification by specified ring tones (including ring tones and no ring tones).
And after the current notification mode of the notification message is modified into other notification modes, releasing the notification message after the notification mode is modified to prompt the user to receive a new message, so that the user judges the information of the contact sending the message according to the modified notification mode. For example, for the notification message shown in fig. 2, if the notification message is sent by a specified contact, the unmodified notification ring is ring 1, and the modified notification ring is ring 2, the notification message is prompted by ring 1 if the notification message is unmodified, and the notification message is prompted by ring 2 after the notification message is modified.
In the embodiment of the application, when the notification message is the notification message sent by the designated contact in the predetermined application, the current notification mode of the notification message is modified into other notification modes, so that a user can set personalized notification modes for different contacts according to actual requirements, and the user can be ensured to acquire the information of the contact sending the notification message currently from different notification modes.
Optionally, the notification manner includes a notification ring, and correspondingly, the step S14 includes:
and if the notification message is the notification message sent by the appointed contact person in the preset application, modifying the current notification ring tone of the notification message into the appointed ring tone.
Specifically, the current notification ring tone is acquired from the notification message, and then the link path or name of the current notification ring tone is modified to the link path or name of the specified ring tone.
Because the user can quickly distinguish a plurality of different notification ring tones, the user can set the corresponding music as the notification ring tone of the appointed contact according to the preference and the familiarity of the user to the music, thereby increasing the identification degree of the notification message.
Alternatively, when there are a plurality of predetermined applications, in order to quickly match the application sending the notification message, the step S12 includes:
acquiring the priority of each preset application, and sequencing the preset applications from top to bottom, wherein the priority of each preset application is determined according to a time period or activity; and acquiring identification information of the application sending the notification message from the notification message, judging whether the acquired identification information is the same as the identification information of any one predetermined application selected one by one according to the sequencing result, if so, judging that the intercepted notification message is the notification message of the predetermined application, and if not, judging that the intercepted notification message is not the notification message of the predetermined application.
In the above step, when the priority of the predetermined application is determined according to the time period, the priority of the predetermined application may be determined according to the function of the predetermined application, for example, when the time period is in use, the priority of the predetermined application having the office function is set to be the highest, and of course, if there are a plurality of predetermined applications having the office function, the user is prompted to set the priorities of the plurality of predetermined applications having the office function.
In the above step, when the priority of the predetermined application is determined according to the activity of the predetermined application, the priority of the predetermined application may be determined according to the frequency of messages received by all contacts (including the same contact and different contacts) in a unit time.
Optionally, if the number of the designated contacts is greater than 1, in order to locate a specific designated contact more quickly, the step S13 includes:
acquiring the activity of each appointed contact in the preset application, and sequencing the contact from high to low; and acquiring identification information of the contact person sending the message from the notification message, judging whether the identification information of the contact person sending the message is the same as the identification information of any one designated contact person selected one by one according to the sequencing result, if so, judging that the notification message is the notification message sent by the designated contact person in the predetermined application, and if not, judging that the notification message is not the notification message sent by the designated contact person in the predetermined application.
Specifically, the activity level of the designated contact is determined according to the distance between the message sending time of the designated contact and the current time, for example, if the designated contact A sends a message to the user at 10:00 and the designated contact B sends a message to the user at 10:10, the activity level of the designated contact B is set to be higher than that of the designated contact A, and of course, if the designated contact A sends a message to the user at 10:20, the activity level of the designated contact A is updated to be higher than that of the designated notification ring friend B.
Example two:
fig. 3 is a schematic structural diagram of an application notification apparatus provided in an embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown:
the notification device of the application comprises: a notification message intercepting unit 31, a predetermined application message judging unit 32, a designated contact judging unit 33, and a notification mode modifying unit 34, wherein:
a notification message intercepting unit 31, configured to intercept a notification message after the notification message is monitored;
specifically, if an application (e.g., a social application) is installed on a terminal device (e.g., a mobile phone), and the social application receives a message sent by a contact, the social application creates a notification and sends an identifier of the notification to a system, and the system intercepts the corresponding notification according to the identifier of the received notification.
A predetermined application message judging unit 32, configured to judge whether the intercepted notification message is a notification message of a predetermined application;
optionally, the predetermined application message determining unit 32 is specifically configured to acquire, from the intercepted notification message, an application identifier corresponding to an application that sends the notification message, compare the application identifier with an application identifier of a predetermined application, determine that the intercepted notification message is a notification message of the predetermined application if the application identifier is the same as the application identifier of the predetermined application, and determine that the intercepted notification message is not a notification message of the predetermined application if the application identifier is not the same as the application identifier of the predetermined application.
Optionally, the application identification of the predetermined application is determined by:
judging whether a preset application sets a notification mode of a contact person of the preset application or not, and recording an application identifier of the preset application as an application identifier of a preset application if the notification mode of the contact person of the preset application is set.
Optionally, for any one of the predetermined applications, if the user no longer specifies the notification manner of the contact of the predetermined application, that is, the default notification manner is recovered, the recorded application identifier corresponding to the predetermined application is deleted.
A designated contact judgment unit 33, configured to judge whether the notification message is a notification message sent by a designated contact in a predetermined application if the notification message is a notification message of the predetermined application;
optionally, if the intercepted notification message is not a notification message of a predetermined application, the intercepted notification message is released to prompt the user to receive a new notification message.
A notification mode modification unit 34, configured to modify the current notification mode of the notification message into another notification mode if the notification message is a notification message sent by a designated contact in the predetermined application.
In the embodiment of the application, when the notification message is the notification message sent by the designated contact in the predetermined application, the current notification mode of the notification message is modified into other notification modes, so that a user can set personalized notification modes for different contacts according to actual requirements, and the user can be ensured to acquire the information of the contact sending the notification message currently from different notification modes.
Optionally, the notification manner modifying unit 34 is specifically configured to modify a current notification ring tone of the notification message to be a specified ring tone if the notification message is a notification message sent by a specified contact in the predetermined application.
The notification mode includes a notification ring tone, a vibration prompt and the like. Other notification means herein include user-specified notification means such as notification by specified ring tones (including ring tones and no ring tones).
Optionally, when there are a plurality of predetermined applications, in order to quickly match an application that sends out a notification message, the predetermined application message determining unit 32 includes:
the system comprises a priority acquisition module of the preset application, a priority acquisition module of the preset application and a priority acquisition module of the preset application, wherein the priority acquisition module is used for acquiring the priority of each preset application and sequencing the preset application from top to bottom, and the priority of the preset application is determined according to a time period or activity;
and the application identification information acquisition module is used for acquiring the identification information of the application sending the notification message from the notification message, judging whether the acquired identification information is the same as the identification information of any one predetermined application selected one by one according to the sequencing result, if so, judging that the intercepted notification message is the notification message of the predetermined application, and if not, judging that the intercepted notification message is not the notification message of the predetermined application.
When the priority of the predetermined application is determined according to the time period, the priority of the predetermined application may be determined according to the function of the predetermined application, for example, the priority of the predetermined application having the office function is set to be the highest during the working time period, and of course, if there are a plurality of predetermined applications having the office function, the user is prompted to set the priorities of the plurality of predetermined applications having the office function.
When the priority of the predetermined application is determined according to the activity of the predetermined application, the priority of the predetermined application may be determined according to the frequency of messages received by all contacts (including the same contact and different contacts) in a unit time.
Optionally, if the number of the designated contacts is greater than 1, in order to locate a specific designated contact more quickly, the designated contact determining unit 33 includes:
the activity acquiring module of the designated contact persons is used for acquiring the activity of each designated contact person in the predetermined application and sorting the activity from high to low;
and the contact person identification information acquisition module is used for acquiring identification information of a contact person sending a message from the notification message, judging whether the identification information of the contact person sending the message is the same as the identification information of any one designated contact person selected one by one according to the sequencing result, if so, judging that the notification message is the notification message sent by the designated contact person in the preset application, and if not, judging that the notification message is not the notification message sent by the designated contact person in the preset application.
Specifically, the activity level of the designated contact is determined according to the distance between the message sending time of the designated contact and the current time, for example, if the designated contact A sends a message to the user at 10:00 and the designated contact B sends a message to the user at 10:10, the activity level of the designated contact B is set to be higher than that of the designated contact A, and of course, if the designated contact A sends a message to the user at 10:20, the activity level of the designated contact A is updated to be higher than that of the designated notification ring friend B.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example three:
fig. 4 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 4, the terminal device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 implements the steps in the above-described notification method embodiments of the respective applications when executing the computer program 42, such as the steps S11 to S14 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 31 to 34 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into a notification message intercepting unit, a predetermined application message determining unit, a designated contact determining unit, and a notification manner modifying unit, and the specific functions of each unit are as follows:
the notification message intercepting unit is used for intercepting the notification message after monitoring the notification message;
the predetermined application message judging unit is used for judging whether the intercepted notification message is a notification message of a predetermined application;
the specified contact judging unit is used for judging whether the notification message is a notification message sent by a specified contact in a preset application if the notification message is the notification message of the preset application;
and the notification mode modification unit is used for modifying the current notification mode of the notification message into other notification modes if the notification message is the notification message sent by the designated contact in the predetermined application.
The terminal device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a terminal device 4 and does not constitute a limitation of terminal device 4 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical social applications, the above-mentioned functions may be allocated to different functional units and modules as required, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the particular social application and design constraints of the solution. Skilled artisans may implement the described functionality in varying ways for each particular social application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (7)
1. An application notification method is applied to a terminal device, and comprises the following steps:
intercepting the notification message after monitoring the notification message;
judging whether the intercepted notification message is a notification message of a preset application or not, wherein the notification message comprises an application identifier corresponding to the application sending the notification message;
if the notification message is a notification message of a preset application, judging whether the notification message is a notification message sent by a designated contact in the preset application;
if the notification message is a notification message sent by a designated contact in the predetermined application, modifying the current notification mode of the notification message into other notification modes, and releasing the notification message after the notification mode modification to prompt a user to receive a new message;
the judging whether the intercepted notification message is a notification message of a predetermined application includes:
acquiring the priority of each preset application, and sequencing the preset applications from high to low, wherein the priority of each preset application is determined according to a time period or activity;
acquiring identification information of an application sending the notification message from the notification message, judging whether the acquired identification information is the same as identification information of any one predetermined application selected one by one according to a sequencing result, if so, judging that the intercepted notification message is the notification message of the predetermined application, and if not, judging that the intercepted notification message is not the notification message of the predetermined application;
after the notification message is monitored, intercepting the notification message, including:
after receiving an identifier of a notification message sent by an application installed on the terminal device, intercepting the corresponding notification message according to the identifier of the notification message, wherein the notification message is as follows: and the application installed on the terminal equipment receives the message corresponding to the created notification.
2. The notification method of the application according to claim 1, wherein the notification manner includes a notification ring tone, and correspondingly, if the notification message is a notification message sent by a designated contact in the predetermined application, the modifying the current notification manner of the notification message into another notification manner includes:
and if the notification message is the notification message sent by the appointed contact person in the preset application, modifying the current notification ring tone of the notification message into the appointed ring tone.
3. The application notification method according to any one of claims 1 or 2, wherein if the number of designated contacts is greater than 1, the determining whether the notification message is a notification message sent by the designated contact in the predetermined application includes:
acquiring the activity of each appointed contact in the preset application, and sequencing the contact from high to low;
and acquiring identification information of the contact person sending the message from the notification message, judging whether the identification information of the contact person sending the message is the same as the identification information of any one designated contact person selected one by one according to the sequencing result, if so, judging that the notification message is the notification message sent by the designated contact person in the predetermined application, and if not, judging that the notification message is not the notification message sent by the designated contact person in the predetermined application.
4. An application notification apparatus, applied to a terminal device, includes:
a notification message intercepting unit, configured to intercept, after receiving an identifier of a notification message sent by an application installed on the terminal device, a corresponding notification message according to the identifier of the notification message, where the notification message is: the application installed on the terminal equipment receives the message and then creates a message corresponding to the notification;
a predetermined application message judging unit, configured to judge whether the intercepted notification message is a notification message of a predetermined application, where the notification message includes an application identifier corresponding to an application that sent the notification message;
the specified contact judging unit is used for judging whether the notification message is a notification message sent by a specified contact in a preset application if the notification message is the notification message of the preset application;
a notification mode modification unit, configured to modify a current notification mode of the notification message into another notification mode if the notification message is a notification message sent by a designated contact in the predetermined application, and release the notification message after the notification mode modification to prompt a user to receive a new message;
the predetermined application message judgment unit includes:
the system comprises a priority acquisition module of the preset application, a priority acquisition module of the preset application and a priority acquisition module of the preset application, wherein the priority acquisition module is used for acquiring the priority of each preset application and sequencing the preset application from high to low, and the priority of the preset application is determined according to a time period or activity;
and the application identification information acquisition module is used for acquiring the identification information of the application sending the notification message from the notification message, judging whether the acquired identification information is the same as the identification information of any one predetermined application selected one by one according to the sequencing result, if so, judging that the intercepted notification message is the notification message of the predetermined application, and if not, judging that the intercepted notification message is not the notification message of the predetermined application.
5. The notification apparatus of the application according to claim 4, wherein the notification manner modification unit is specifically configured to modify a current notification ring tone of the notification message to a specified ring tone if the notification message is a notification message sent by a specified contact in the predetermined application.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810317570.1A CN108509111B (en) | 2018-04-10 | 2018-04-10 | Application notification method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810317570.1A CN108509111B (en) | 2018-04-10 | 2018-04-10 | Application notification method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108509111A CN108509111A (en) | 2018-09-07 |
CN108509111B true CN108509111B (en) | 2020-08-14 |
Family
ID=63381366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810317570.1A Active CN108509111B (en) | 2018-04-10 | 2018-04-10 | Application notification method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108509111B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225193A (en) * | 2019-05-29 | 2019-09-10 | 广州大学 | A kind of mobile phone notification message management method, device and terminal device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104009910A (en) * | 2014-05-28 | 2014-08-27 | 惠州Tcl移动通信有限公司 | Message pushing processing method and system based on mobile terminal and mobile terminal |
CN105468357A (en) * | 2015-11-16 | 2016-04-06 | 广东欧珀移动通信有限公司 | Message prompting method and device of social application and mobile terminal |
CN105635468A (en) * | 2015-12-30 | 2016-06-01 | 魅族科技(中国)有限公司 | Reminding method of information notification and reminding device |
TW201622397A (en) * | 2014-11-06 | 2016-06-16 | 鴻海精密工業股份有限公司 | System and method for controlling incoming call ring of electronic device |
CN106210276A (en) * | 2016-06-29 | 2016-12-07 | 努比亚技术有限公司 | Mobile terminal and the processing method of application message |
-
2018
- 2018-04-10 CN CN201810317570.1A patent/CN108509111B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104009910A (en) * | 2014-05-28 | 2014-08-27 | 惠州Tcl移动通信有限公司 | Message pushing processing method and system based on mobile terminal and mobile terminal |
TW201622397A (en) * | 2014-11-06 | 2016-06-16 | 鴻海精密工業股份有限公司 | System and method for controlling incoming call ring of electronic device |
CN105468357A (en) * | 2015-11-16 | 2016-04-06 | 广东欧珀移动通信有限公司 | Message prompting method and device of social application and mobile terminal |
CN105635468A (en) * | 2015-12-30 | 2016-06-01 | 魅族科技(中国)有限公司 | Reminding method of information notification and reminding device |
CN106210276A (en) * | 2016-06-29 | 2016-12-07 | 努比亚技术有限公司 | Mobile terminal and the processing method of application message |
Also Published As
Publication number | Publication date |
---|---|
CN108509111A (en) | 2018-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108900770B (en) | Method and device for controlling rotation of camera, smart watch and mobile terminal | |
US9104768B2 (en) | Person-based information aggregation | |
CN109471626B (en) | Page logic structure, page generation method, page data processing method and device | |
CN110059273B (en) | Method for displaying rich media on mobile terminal and mobile terminal | |
CN107193598B (en) | Application starting method, mobile terminal and computer readable storage medium | |
CN108038112B (en) | File processing method, mobile terminal and computer readable storage medium | |
CN106951057B (en) | Application control method and mobile terminal | |
CN113157439B (en) | Resource statistics method, device and terminal | |
CN110244963B (en) | Data updating method and device and terminal equipment | |
CN112905971A (en) | Method and device for processing information | |
CN108509111B (en) | Application notification method and device and terminal equipment | |
CN108536512B (en) | Interface switching method and device and terminal equipment | |
CN109271266B (en) | File transmission method and device and terminal equipment | |
CN108021301A (en) | A kind of volume adjusting method, terminal device and computer-readable recording medium | |
CN110874729B (en) | Switching method and switching device for electronic red packet identification strategy and mobile terminal | |
CN109298956B (en) | File transmission method and device and terminal equipment | |
CN107316197B (en) | Payment protection method, mobile terminal and computer readable storage medium | |
CN108513012B (en) | Data processing method, data processing device and mobile terminal | |
CN110750408B (en) | Method, device and apparatus for controlling USB debug mode switch, and storage medium | |
CN110874723B (en) | Electronic red envelope detection method, electronic red envelope detection device and mobile terminal | |
CN110162479B (en) | Abnormal application detection method and device and terminal equipment | |
CN111327515B (en) | Electronic red packet detection method, electronic red packet detection device and mobile terminal | |
CN109918122B (en) | White list maintenance method and device and terminal equipment | |
CN111049981A (en) | Message identification method, device, user equipment and computer readable storage medium | |
CN110874143A (en) | Sensor data acquisition method, intelligent terminal, storage medium and electronic device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |