Summary of the invention
The application discloses a kind of event-prompting method, system and terminal device, can be preferably to third-party application event
Effectively reminded.
According to one aspect of the disclosure, a kind of event-prompting method is provided, comprising:
System receives event notification message from third-party application;
In the case where limiting indicating mode, judge whether event notification message is the special notification message registered;
If event notification message is the special notification message of registration, system works as premise according to event notification message breakthrough
Mode of waking up carries out event prompting.
According to some embodiments, the above method further include:
The event for receiving third-party application reminds registration request, and event prompting registration request includes application information and thing
Part information;
To user's pop-up display license confirmation interface, license confirmation interface includes third-party application information and special event category
Property information;
If receiving user's license confirmation, event-identification number and user authorization result are returned to third-party application, and deposit
Store up event-identification number and special event attribute information.
According to some embodiments, system receives event notification message and includes:
All event notification messages are received by event handling center, and filter out special notification message, it then will filtering
Special notification message out is sent to special event processing center;Or
Special notification message is received by special event processing center.
According to some embodiments, event notification message includes event-identification number and special event attribute information, judges event
It includes: to judge event-identification number and special event attribute information and deposit in advance that whether notification message, which is the special notification message registered,
Whether the event-identification number and special event attribute information of storage are consistent.
According to some embodiments, system breaks through current indicating mode progress event prompting according to event notification message and includes:
System directly operates specific physical equipment;Or system changes current indicating mode.
According to another aspect of the present invention, a kind of event-prompting method is provided, comprising:
Obtain the event occurred;
It whether is special event according to the determined property event of event;
If event is special event, special notification message is sent to system, special notification message includes the event of event
Identification number and event information, so that system, which breaks through current indicating mode according to special notification message, carries out event prompting.
According to some embodiments, preceding method further include:
It provides a user special event and reminds set interface;
Information is inputted according to user and sends event prompting registration request to system, and it includes applying journey that event, which reminds registration request,
Sequence information and event information;
According to event-identification number and user authorization result that system returns, saves special event and remind setting result.
According to some embodiments, preceding method further include:
Before whether the determined property event according to event is special event, judge system current indicating mode whether
To limit indicating mode;
It whether is special according to the determined property event of event if the current indicating mode of system is limitation indicating mode
Different event;
Or
According to the determined property event of event be special event after, judge whether the current indicating mode of system is limited
Indicating mode processed;
If the current indicating mode of system is limitation indicating mode, special event notification message is sent to system.
According to some embodiments, event is message sink event.
According to some embodiments, special event includes the transmission that the sender of message is the event, message of special sender
Person is the event of specific type sender.
According to another aspect of the present invention, a kind of event system for prompting is provided, comprising:
Receiving module, for receiving event notification message from third-party application;
Judgment module, in the case where limiting indicating mode, judging whether event notification message is that the special notification registered disappears
Breath;
Reminding module, for being dashed forward according to event notification message when event notification message is the special reminder message of registration
It breaks current indicating mode and carries out event prompting.
According to another aspect of the present invention, a kind of event system for prompting is provided, comprising:
Module is monitored, for obtaining the event occurred;
Judgment module, for whether being special event according to the determined property event of event;
Notification module, for sending special notification message, special notification message package to system when event is special event
Event-identification number and event information containing event, so that system, which breaks through current indicating mode according to special notification message, carries out event
It reminds.
According to another aspect of the present invention, a kind of terminal device is provided, comprising:
Processor;Memory, storage is for the following instruction operated of processor control: system receives thing from third-party application
Part notification message;In the case where limiting indicating mode, judge whether event notification message is the special notification message registered;If event
Notification message is the special notification message of registration, then system breaks through current indicating mode progress event according to event notification message and mentions
It wakes up.
Event-prompting method according to an embodiment of the present invention can break through system model limitation, realize the reality of special event
When remind.
According to some embodiments of the present invention, third-party application according to circumstances can send special notification message to system, be
System can break through current indicating mode according to special notification message and carry out event prompting, therefore may be implemented to qualified application
The specific event of grade is reminded, and reminds Control granularity and better user experience with thinner event.
According to some embodiments of the present invention, the event notification message for breaking through system model can obtain user's authorization really in advance
Recognize, it is ensured that third-party application will not abuse special event notification mechanisms.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure
Practice and acquistion.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However,
It will be appreciated by persons skilled in the art that can with technical solution of the disclosure without one or more in specific details,
Or it can be using other methods, constituent element, material, device, step etc..In other cases, it is not shown in detail or describes public affairs
Know structure, method, apparatus, realization, material or operation to protrude all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all steps.For example, the step of having
It can also decompose, and the step of having can merge or part merges, therefore the sequence actually executed is possible to according to the actual situation
Change.
Fig. 1 shows event-prompting method according to an embodiment of the invention.
As shown in Figure 1, in accordance with the technical idea of the present invention, proposing a kind of special event based reminding method across application.At this
Wen Zhong, special event refer to the event for needing to be reminded in real time, even if the current indicating mode of system is limitation indicating mode.
Limitation indicating mode refers to certain or all non-serviceable modes of indicating mode, such as silent mode, interruption-free mode etc..With
For tripartite's application such as instant message application, when terminal is under silent mode, such as user has a meeting, carry out new message
When, without sound prompting.Message but for certain message, such as from important leader or Very Important Person, user wish
When terminal is in silent mode, it is also able to carry out prompting, in order to avoid miss material particular.So, important leader or important visitor are received
Event as the message at family, so that it may be classified as aforementioned special event.
Referring to Fig. 1, according to this embodiment, receive when special event occurs, such as in instant messages application to be self-possessed
It leads or the message of Very Important Person, third-party application can send special notification message to system.The special notification message can be with
It is to increase some additional informations on general notification message basis, it is as follows.
System is after receiving special notification message, if it is confirmed that it then may be used to meet special notification message predetermined
Current indicating mode is broken through, event prompting is carried out.For example, system can bypass inspection limitation (such as mute, interruption-free of present mode
Deng), it operates specific physical equipment directly to carry out event prompting, alarm data such as is written to loudspeaker or is set to breath light
Data, starting device vibration etc. are reminded in standby write-in.Alternatively, system can first change current indicating mode, after the completion of prompting, then restore
Indicating mode before to change.
According to an embodiment of the invention, being since third-party application according to circumstances can send special notification message to system
System can break through current indicating mode according to special notification message and carry out event prompting, therefore may be implemented to qualified application
The specific event of grade is reminded, and reminds Control granularity and better user experience with thinner event.
Fig. 2 shows the registration processes according to an embodiment of the invention reminded for event.
As shown in Fig. 2, third-party application abuses special event notification mechanisms in order to prevent, according to the present invention one implements
Example needs to remind special event obtaining user's authorization and carrying out registered in advance.
Referring to fig. 2, in A1, third-party application can provide a user special event and remind set interface.For example, user can be
Who select or group to send message in the interface that the application of third party's instant message provides to belong to special event, need special mention
It wakes up.It can be with other event informations, such as processing mode, resource file, and/or effective period etc..
Then, in A2, user after accomplishing the setting up submits to third-party application.
In A3, third-party application inputs information according to user and sends event prompting registration request to system, and event reminds note
Volume request may include application information (for example, title of third-party application) and event information.
In A4, system pop-up authorization interface shows application information and event information.
In A5, user carries out license confirmation or cancellation.
In A6, event-identification number/user authorization result can be returned to third-party application by system.Event-identification number is used to mark
The special event for meeting predefined standard of special prompting can be carried out by knowing user's license confirmation.When special event occurs, third
It may include this event-identification number, to enable a system to judge the event accordingly when Fang Yingyong sends event notification message to system
Whether notification message is effective.The event-identification number and user authorization result that third-party application can be returned according to system, it is special to save
Event reminds setting result.
According to this embodiment of the invention, the event notification message for breaking through system model can obtain user's authorization really in advance
Recognize, ensure that third-party application will not abuse special event notification mechanisms.
Fig. 3 shows the flow chart of event-prompting method according to another embodiment of the present invention, can be in third-party application
It executes.
As shown in figure 3, obtaining the event of generation in S310, event can be any application layer thing in third-party application
Part, the present invention are not particularly limited this.For example, event can be message sink event, in instant message application, receives and come from
Specific sender or the message of specific type sender.In an application scenarios, message sink event can be instant message
The message from some Very Important Person is received in or receives the message from any Very Important Person, and Very Important Person can answer
With middle self-defining.
It whether is special event according to the determined property event of event in S320.For example, in instant messages application, such as
Fruit judges message from important sender predetermined, then this is the special event for meeting definition.
If event is special event, S330 is gone to, sends special notification message to system.Special notification message can wrap
Event-identification number and event information containing event, so that system, which breaks through current indicating mode according to special notification message, carries out event
It reminds.
If event is not special event, S340 is gone to, event notification message can be sent by common mode.
According to an embodiment of the invention, third-party application can event type to system send general notification message or special logical
Message is known, so that system, which can break through current indicating mode according to special notification message, carries out event prompting.It is thereby achieved that right
The specific event of qualified application layer is reminded, and reminds Control granularity and better user's body with thinner event
It tests.
Fig. 4 shows the flow chart of event-prompting method according to another embodiment of the present invention.
As shown in figure 4, the embodiment and embodiment shown in Fig. 3 are essentially identical, difference is only that, in the category according to event
Property judge whether event is special event before, judge system current indicating mode whether be limitation indicating mode.
If not limitation indicating mode, then event notification message can be sent by common mode, without judging whether it is
Special event.For example, when system model is not mute, when instant messages application receives message, regardless of whether being special thing
Part can send event notification message to system by common mode, and system can be normally carried out sound prompting.
If the current indicating mode of system is limitation indicating mode, third-party application is according to the determined property thing of event
Whether part is special event, and details are not described herein again.
According to an embodiment of the invention, before carrying out event judgement, first carry out indicating mode judgement, it may not be necessary to every time into
Part judgement is acted, expense can be saved, and mitigate system burden.
Fig. 5 shows the flow chart of event-prompting method according to another embodiment of the present invention.
As shown in figure 5, the embodiment and embodiment shown in Fig. 3 are essentially identical, difference is only that, in the category according to event
Property judge event for special event after, further include judge system current indicating mode whether be limitation indicating mode.
If not limitation indicating mode, then event notification message can be sent by common mode.For example, working as system model not
When being mute, when instant messages application receives message, even if this belongs to special event, it can also be sent by common mode to system
Event notification message, system can be normally carried out sound prompting.
If the current indicating mode of system is limitation indicating mode, third-party application sends special event to system and leads to
Know message, so that system, which breaks through current indicating mode according to special notification message, carries out event prompting, details are not described herein again.
According to an embodiment of the invention, carrying out indicating mode judgement after carrying out event judgement, being determined according to indicating mode
Which kind of notification message orientation system sends, and can reduce system burden.
Fig. 6 shows the flow chart of event-prompting method according to another embodiment of the present invention, can it is system-level realization and
It executes.
As shown in fig. 6, system receives event notification message from third-party application in S610.For example, system reception is such as
When the notification message that sends of the application such as message, however, the present invention is not limited thereto.
In S620, if system model is to judge whether event notification message is registration in the case where limiting indicating mode
Special notification message.For example, standard message format can be can define with system, event is obtained from notification message according to message format
Then identification number and attribute information are compared with pre-stored registration information (event-identification number and special event attribute information)
Compared with if unanimously, being judged as the special notification message of registration.Otherwise, which is not belonging to the special logical of registration
Know message.
In S630, if event notification message is the special notification message of registration, system is prominent according to event notification message
It breaks current indicating mode and carries out event prompting.For example, system can bypass inspection limitation (such as mute, interruption-free of present mode
Deng), it operates specific physical equipment directly to carry out event prompting, alarm data such as is written to loudspeaker or is set to breath light
Data, starting device vibration etc. are reminded in standby write-in.Alternatively, system can first change current indicating mode, after the completion of prompting, then restore
Indicating mode before to change.
In S640, if event notification message is not the special notification message of registration or system alert mode is not limit
Indicating mode processed can then be handled according to current indicating mode, such as carried out sound prompting or cannot be broken through current indicating mode.
According to some embodiments, system, which receives event notification message from third-party application, to be received by event handling center
All event notification messages.Then, special notification message is gone out according to message format or information filtering, then will filter out special logical
Know that message is transmitted directly to special event processing center.If system model is limitation indicating mode, special event processing center
Can determine whether event notification message is the special notification message registered.If event notification message is that the special notification of registration disappears
Breath, then special event processing center can break through current indicating mode progress event prompting according to event notification message.For example, special
Event handling center can bypass the inspection limitation (such as mute, interruption-free) of present mode, directly operate specific physical equipment
To carry out event prompting, alarm data such as is written to loudspeaker or remind data, starting device vibration to breathing lamp apparatus write-in
Deng.Alternatively, special event processing center can first change current indicating mode;After the completion of prompting, the prompting before changing is then returned to
Mode.
According to some embodiments, system can directly receive the special of third-party application transmission by special event processing center
Notification message, this post-processing is similar with front, repeats no more.
It is mentioned according to an embodiment of the invention, system can break through current indicating mode progress event according to special notification message
It wakes up, can be realized and the specific event of qualified application layer is reminded, meet the more fine-grained event of application layer
Control is reminded, there is better user experience.
Fig. 7 shows the system according to an embodiment of the invention reminded for event.
As shown in fig. 7, including monitoring module 710, judgment module 720 and notification module for the system 700 that event is reminded
730。
Module 710 is monitored to be used to obtain the event occurred.Event can be any application layer event in third-party application,
The present invention is not particularly limited this.For example, event can be message sink event, in instant message application, receive from spy
Determine the message of sender or specific type sender.In an application scenarios, message sink event can be instant message and answer
The message from some Very Important Person is received in or receives the message from any Very Important Person, and Very Important Person can applied
Middle self-defining.
Whether judgment module 720 is used to according to the determined property event of event be special event.For example, being answered in instant message
In, if it is determined that message comes from important sender predetermined, then this is the special event for meeting definition.
Notification module 730 is used to send special notification message to system when event is special event.Special notification message
Event-identification number and event information comprising event, so that system, which breaks through current indicating mode according to special notification message, carries out thing
Part is reminded.Special notification message may include the event-identification number and event information of event, so that system is according to special notification message
It breaks through current indicating mode and carries out event prompting.
According to some embodiments, system 700 may include event handling center, for receiving event notice from third-party application
Message.System 700 may also include filtering module and special event processing center.Filtering module is used for according to message format or content
Special notification message is filtered out, then the special notification message that will filter out is transmitted directly to special event processing center.If being
System mode is limitation indicating mode, and special event processing center can determine whether event notification message is that the special notification registered disappears
Breath.If event notification message is the special notification message of registration, special event processing center can be according to event notification message
It breaks through current indicating mode and carries out event prompting.For example, special event processing center can bypass the inspection limitation of present mode (such as
Mute, interruption-free etc.), operate specific physical equipment directly to carry out event prompting, such as to loudspeaker be written alarm data or
Data, starting device vibration etc. are reminded to breathing lamp apparatus write-in.Alternatively, special event processing center can first change current prompting
Mode;After the completion of prompting, the indicating mode before changing is then returned to.
According to some embodiments, system can directly receive the special of third-party application transmission by special event processing center
Notification message, this post-processing is similar with front, repeats no more.
The system 700 reminded for event can also be achieved previously described other prompting sides conceived according to the present application
Method is repeated no more with aforementioned similar explanation.
Fig. 8 shows the system according to another embodiment of the present invention reminded for event.
As shown in figure 8, including receiving module 810, judgment module 820 and reminding module for the system 800 that event is reminded
830。
Receiving module 810 is used to receive event notification message from third-party application.For example, module 810 can be configured to receive
The notification message that the application such as instant message is sent, however, the present invention is not limited thereto.
Judgment module 820 is used to judge in the case where limiting indicating mode whether event notification message to be that the special notification registered disappears
Breath.For example, standard message format can be can define with system, event-identification number and category are obtained from notification message according to message format
Property information, is then compared with pre-stored registration information (event-identification number and special event attribute information), if one
It causes, is then judged as the special notification message of registration.
Reminding module 830 is used for when event notification message is the special notification message of registration, according to event notification message
It breaks through current indicating mode and carries out event prompting.For example, system can bypass inspection limitation (such as mute, interruption-free of present mode
Deng), it operates specific physical equipment directly to carry out event prompting, alarm data such as is written to loudspeaker or is set to breath light
Data, starting device vibration etc. are reminded in standby write-in.Alternatively, system can first change current indicating mode, after the completion of prompting, then restore
Indicating mode before to change.
The system 800 reminded for event can also be achieved previously described other prompting sides conceived according to the present application
Method is repeated no more with aforementioned similar explanation.
Fig. 9, which is shown, shows terminal device according to another embodiment of the present invention.
As shown in figure 9, terminal device 900 may include processor 910, memory 920, transmitter 930 and receiver 940.
Processor 910 can call the instruction stored in memory 920 to control relevant operation, such as control transmitter 930 and connect
Device 940 is received to send and receive signals.
According to an embodiment, memory 920, which is stored, controls the instruction operated below for processor 910: system is from third
Fang Yingyong receives event notification message;In the case where limiting indicating mode, judge whether event notification message is the special notification registered
Message;If event notification message is the special notification message of registration, system breaks through current remind according to event notification message
Mode carries out event prompting.It is controlled according to embodiments of the present invention it can be readily appreciated that memory 920 can also be stored for processor 910
Other operation instructions, which is not described herein again.
Figure 10, which is shown, shows terminal device according to an embodiment of the invention.
As shown in Figure 10, terminal device 1000 may include processor 1010, memory 1020, transmitter 1030 and receiver
1040。
Processor 1010 can call the instruction stored in memory 1020 to control relevant operation, such as 1030 He of control transmitter
Receiver 1040 sends and receives signals.
According to an embodiment, memory 1020, which is stored, controls the instruction operated below for processor 1010: obtaining and occurs
Event;It whether is special event according to the determined property event of event;If event is special event, it is special to send to system
Notification message, special notification message includes the event-identification number and event information of event, so that system is according to special notification message
It breaks through current indicating mode and carries out event prompting.It can be readily appreciated that memory 1020, which can also be stored, controls root for processor 1010
According to the instruction of other operations of the embodiment of the present invention, which is not described herein again.
By above detailed description, those skilled in the art it can be readily appreciated that according to the system in the embodiment of the present invention and
Method has one or more of the following advantages.
According to some embodiments of the present invention, third-party application according to circumstances can send special notification message to system, be
System can break through current indicating mode according to special notification message and carry out event prompting, therefore may be implemented to qualified application
The specific event of grade is reminded in real time, reminds Control granularity and better user experience with thinner event.
According to some embodiments of the present invention, third-party application can to system registry a certain or certain particular events it is special
Alert requests.
According to some embodiments of the present invention, the event notification message for breaking through system model can obtain user's authorization really in advance
Recognize, it is ensured that third-party application will not abuse special event notification mechanisms.
According to some embodiments of the present invention, before carrying out event judgement, indicating mode judgement is first carried out, it may not be necessary to every
Secondary carry out event judgement, can save expense.
According to some embodiments of the present invention, after carrying out event judgement, indicating mode judgement is carried out, according to prompting mould
Which kind of notification message formula orientation system of determining sends, and can reduce system burden.
According to some embodiments of the present invention, system can break through current indicating mode progress event according to special notification message
It reminds, can be realized and the specific event of qualified application layer is reminded, meet the more fine-grained thing of application layer
Part reminds control, has better user experience.
By the description of above embodiment, those skilled in the art is it can be readily appreciated that the embodiment of the present disclosure can pass through
Hardware realization can also be realized in such a way that software is in conjunction with necessary hardware.Therefore, the technical solution of the embodiment of the present disclosure
It can be embodied in the form of software products, which can store (can be in a non-volatile memory medium
CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are used so that a calculating equipment (can be personal computer, clothes
It is engaged in device, mobile terminal or smart machine etc.) execute method according to the embodiment of the present disclosure.
It will be understood by those skilled in the art that attached drawing is the schematic diagram of example embodiment, module or process in attached drawing
Necessary to not necessarily implementing the disclosure, therefore it cannot be used for the protection scope of the limitation disclosure.
It will be appreciated by those skilled in the art that above-mentioned each module can be distributed in device according to the description of embodiment, it can also
It is located in one or more devices different from the present embodiment with carrying out corresponding change.The module of above-described embodiment can be merged into
One module, can also be further split into multiple submodule.
It is particularly shown and described the exemplary embodiment of the disclosure above.It should be understood that the present disclosure is not limited to institute's public affairs
The embodiment opened, on the contrary, the disclosure is intended to cover comprising various modifications in the spirit and scope of the appended claims and wait
Effect arrangement.