Alarm message notification system and method and mobile terminalTechnical Field
The present invention relates to the field of mobile communications, and in particular, to an alert message notification system, an alert message notification method, and a mobile terminal.
Background
A Public Warning System (PWS) is a System that warns of disasters or human accidents that may damage human life and property. The PWS can be a supplement to the existing broadcast communication system by which people are informed of alarm conditions in time when an emergency such as a disaster or a human occurs. To avoid or reduce losses. At present, there are Earthquake Tsunami Warning systems ETWS (earth and Tsunami Warning System), Commercial Mobile Warning systems CMAS (Commercial Mobile Alert System), and emergency notification systems EAS (emergency Alert System).
In the existing PWS alarm system, when a disaster alarm message sender monitors that an alarm condition occurs, the alarm message and corresponding parameters are sent to a Cell broadcast Entity CBE (Cell broadcast Entities) connected to the alarm message sender, the CBE sends the alarm message to a Mobility Management Entity MME (Mobility Management Entity) through a Cell broadcast center CBC (Cell broadcast center), and the MME broadcasts the alarm message to each terminal Equipment UE (User Equipment) through a plurality of RAN Entities (e.g., eNB, evolved node b, BTS, base station) in some alarm areas.
When the alarm message system is implemented, messages have priority, and the experience of a user can be improved when messages with different priorities are sent to a terminal or when the messages have different priorities when the terminal is presented. For example, the alert message may have a score of urgency, the alert event may have a score of severity, the likelihood of the alert event occurring may have a score of magnitude, and the time at which the alert event occurs may have different urgency. In addition, the alarm message sent by the alarm message sender (e.g., earthquake department) may contain incorrect information (e.g., disaster misstatement, incorrect priority level of the message). The problem that the alarm message of the same alarm event informs the same user terminal for multiple times, the bad experience of the user on receiving the alarm message of the same alarm event for multiple times and the like are problems to be solved.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an alarm message notification system, an alarm message notification method and a mobile terminal, which solve the problem that the alarm message of the same alarm event is unnecessarily notified to the same user terminal for many times.
In order to solve the technical problem, the invention provides an alarm message processing system, which comprises an alarm message sender and a communication subsystem, wherein the alarm message sender comprises a message construction module and a message sending module; the message construction module is used for constructing an alarm message and sending the alarm message to the message sending module; the message sending module is used for sending the alarm message to the communication subsystem; the communication subsystem comprises an alarm message cache processing module and a terminal side message presentation module;
the alarm message caching processing module is configured to cache an alarm message from the alarm message sender, and after receiving a new alarm message that belongs to the same alarm event as the cached alarm message, perform one or more of the following operations: deleting the cached alarm message, obtaining an updated alarm message according to the new alarm message and the cached alarm message, sending the updated alarm message to the terminal side presentation module, and caching the updated alarm message;
and the terminal side presentation module is used for presenting the received alarm message to the terminal equipment.
Further, the system can also have the following characteristics:
the communication subsystem comprises network side equipment and terminal equipment; the terminal equipment comprises a terminal side message receiving module, the alarm message caching processing module and the terminal side message presenting module;
the network side device is used for forwarding the alarm message received from the alarm message sender to the terminal device;
and the terminal side message receiving module is used for determining whether to send the alarm message to the alarm message cache processing module according to the priority of the received alarm message.
Further, the system can also have the following characteristics:
the communication subsystem comprises network side equipment and terminal equipment; the network side equipment is core network equipment or access network equipment, and comprises a network side message receiving module, the alarm message caching processing module and a network side message sending module;
the network side message receiving module is used for determining whether to send the alarm message to the alarm message cache processing module according to the priority of the alarm message received from the alarm message sender;
the alarm message cache processing module is further configured to send the updated alarm message to the network side message sending module and/or cache the updated alarm message;
the network side message sending module is used for sending the alarm message received from the alarm message caching processing module to the terminal equipment;
the terminal equipment comprises a terminal side message receiving module and a terminal side message presenting module;
and the terminal side message receiving module is used for sending the alarm message received from the network side equipment to the terminal side message presenting module.
Further, the system can also have the following characteristics:
the situation where the new alert message and the cached alert message belong to the same alert event includes that the new alert message and the cached alert message have a consistent message identity, i.e., the message identity of the new alert message and the cached alert message are equal, or that the message identity part of the new alert message and the cached alert message are equal.
Further, the system can also have the following characteristics:
updating the cached alarm message according to the new alarm message to obtain an updated alarm message refers to recombining the alarm message, that is, recombining the information and/or elements to be updated in the cached alarm message included in the new alarm message and the information and/or elements not to be updated in the cached alarm message into an alarm message, that is, the updated alarm message.
Further, the system can also have the following characteristics:
the types of the alarm information include: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error;
the alarm message caching processing module is further used for determining a caching strategy according to the type of the alarm information and/or the priority of the alarm information;
the caching strategy comprises the following steps: whether to cache the alarm message, the effective duration of the cache and the queuing mode of the alarm message in the cache.
Further, the system can also have the following characteristics:
the types of the alarm information include: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error;
the alarm message cache processing module is further configured to update the cached alarm message according to the new alarm information when the type of the cached alarm information is an initial alarm or an update alarm and the type of the new alarm information is an update alarm or an alarm confirmation; and deleting the cached alarm message when the type of the cached alarm information is an initial alarm or an updated alarm and the type of the new alarm information is an alarm cancellation or an alarm error.
Further, the system can also have the following characteristics:
the alarm message cache processing module is further configured to send the updated alarm message to the terminal side presentation module after judging that the updated alarm message meets the presentation condition; the presentation condition includes at least one of the following conditions: the time length of the alarm message cache exceeds the preset time length, the priority of the alarm message reaches the preset priority, and the alarm message is positioned at the top end of the cache queue.
In order to solve the technical problem, the invention further provides a mobile terminal, wherein the mobile terminal comprises an alarm message cache processing module and a terminal side presentation module;
the alarm message caching processing module is used for caching the alarm message from an alarm message sender, and after receiving a new alarm message which belongs to the same alarm event with the cached alarm message, executing one or more of the following operations: deleting the cached alarm message, obtaining an updated alarm message according to the new alarm message and the cached alarm message, sending the updated alarm message to the terminal side presentation module, and caching the updated alarm message;
and the terminal side presentation module is used for presenting the received alarm message to the terminal equipment.
Further, the mobile terminal may further have the following characteristics:
the types of the alarm information include: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error;
the alarm message caching processing module is further configured to determine a caching policy according to the type of the alarm information and/or the priority of the alarm information;
the caching strategy comprises the following steps: whether to cache the alarm message, the effective duration of the cache and the queuing mode of the alarm message in the cache.
Further, the mobile terminal may further have the following characteristics:
the types of the alarm information include: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error;
the alarm message cache processing module is further configured to update the cached alarm message according to the new alarm information when the type of the cached alarm information is an initial alarm or an update alarm and the type of the new alarm information is an update alarm or an alarm confirmation; and deleting the cached alarm message when the type of the cached alarm information is an initial alarm or an updated alarm and the type of the new alarm information is an alarm cancellation or an alarm error.
In order to solve the above technical problem, the present invention further provides an alert message notification method, wherein an alert message sender constructs an alert message and sends the alert message to a communication subsystem;
the communication subsystem buffers an alert message from the alert message sender, and upon receiving a new alert message belonging to the same alert event as the buffered alert message, performs one or more of the following operations: deleting the cached alarm message, obtaining an updated alarm message according to the new alarm message and the cached alarm message, presenting the updated alarm message to the terminal, and caching the updated alarm message.
Further, the method can also have the following characteristics:
the situation where the new alert message and the cached alert message belong to the same alert event includes that the new alert message and the cached alert message have a consistent message identity, i.e., the message identity of the new alert message and the cached alert message are equal, or that the message identity part of the new alert message and the cached alert message are equal.
Further, the method can also have the following characteristics:
updating the cached alarm message according to the new alarm message to obtain an updated alarm message refers to recombining the alarm message, that is, recombining the information and/or elements to be updated in the cached alarm message included in the new alarm message and the information and/or elements not to be updated in the cached alarm message into an alarm message, that is, the updated alarm message.
The scheme can solve the problems that the alarm message of the same alarm event is unnecessarily informed to the same user terminal for multiple times and the user experiences bad effects on the unnecessary alarm messages of the same alarm event received for multiple times.
Drawings
FIG. 1 is a schematic diagram of the structure of an alert message notification system;
FIG. 2 is a schematic diagram of an alert message notification system according to one embodiment;
FIG. 3 is a schematic structural diagram of an alarm message notification system according to a second embodiment;
fig. 4 is a schematic structural diagram of an alarm message notification system according to a third embodiment.
Detailed Description
As shown in fig. 1, the alert message processing system includes an alert message sender, a communication subsystem. The alarm message sender comprises a message construction module and a message sending module; the message construction module is used for constructing an alarm message and sending the alarm message to the message sending module; the message sending module is used for sending the alarm message to the communication subsystem.
The communication subsystem comprises an alarm message cache processing module and a terminal side message presentation module; the alarm message caching processing module is configured to cache an alarm message from the alarm message sender, and after receiving a new alarm message that belongs to the same alarm event as the cached alarm message, perform one or more of the following operations: deleting the cached alarm message, obtaining an updated alarm message according to the new alarm message and the cached alarm message, sending the updated alarm message to the terminal side presentation module, and caching the updated alarm message;
and the terminal side presentation module is used for presenting the received alarm message to the terminal equipment.
The alarm message caching processing module can support all operation combination modes for preventing bad receiving experience of a user. For example, if a new alarm message indicating the release of an alarm event is received during the time when the alarm message of an alarm event is cached by the alarm message caching module, the alarm message caching module may directly delete the cached alarm message. For another example, after the alarm message caching module executes the updating operation, the updated alarm message may or may not be sent to the terminal side presentation module, and the updated alarm message may or may not be cached. For another example, after the alarm message caching module executes the updating operation, the original cached alarm message may be deleted and the updated alarm message may be cached, or the original cached alarm message may not be deleted and the updated alarm message may also be cached.
The situation where the new alert message and the cached alert message belong to the same alert event includes that the new alert message and the cached alert message have a consistent message identity, i.e., the message identity of the new alert message and the cached alert message are equal, or that the message identity part of the new alert message and the cached alert message are equal. For example: the message identification of the cached alarm message is TRI13970876.1, the identification of the new alarm information is TRI13970876.2, their message identification portions are equal-TRI 13970876 uniquely identifies the alarm event, and.1 and.2 represent different sub-messages of the event message.
Updating the cached alarm message according to the new alarm message to obtain an updated alarm message refers to recombining the alarm message, that is, recombining the information and/or elements to be updated in the cached alarm message included in the new alarm message and the information and/or elements not to be updated in the cached alarm message into an alarm message, that is, the updated alarm message.
The network element for caching the alarm message can be an access network element, a core network element or even an internet network element, and can be flexibly deployed. For example: the cache may be set in an S-GW (service gateway), MME, P-SG (PDN gateway) or eNB in an evolved packet System EPS (evolved packet System), BTS, BSC, MSC in a GSM network, or even on a UE (terminal equipment).
As shown in fig. 2, in the first embodiment, the communication subsystem includes a network side device and a terminal device; the terminal equipment comprises a terminal side message receiving module, an alarm message caching processing module and a terminal side message presenting module.
The network side equipment is used for forwarding the alarm message received from the alarm message sender to the terminal equipment;
the terminal side message receiving module is used for determining whether to send the alarm message to the alarm message cache processing module according to the priority of the alarm message received from the network side equipment. Specifically, when the priority of the alarm message received from the network side device is greater than or equal to a preset priority (for example, an alarm message for reminding a serious disaster), the alarm message is directly sent to the message presentation module, and when the priority of the alarm message received from the network side device is less than the preset priority, the alarm message is sent to the alarm message caching module.
As shown in fig. 3, the communication subsystem in the second embodiment includes a network side device and a terminal device; the network side equipment is core network equipment and comprises a network side message receiving module, the alarm message caching processing module and a network side message sending module.
The network side message receiving module is used for determining whether to send the alarm message to the alarm message cache processing module according to the priority of the alarm message to be received from the alarm message sender; specifically, when the priority of the received alarm message is greater than or equal to a preset priority (for example, an alarm message prompting a serious disaster), the alarm message is directly sent to the network side message sending module, and when the priority of the received alarm message is less than the preset priority, the alarm message is sent to the alarm message caching module.
The alarm message cache processing module is also used for sending the updated alarm message to the network side message sending module and/or caching the updated alarm message; the network side message sending module is used for sending the alarm message received from the alarm message caching processing module to the terminal equipment; the terminal equipment comprises a terminal side message receiving module and a terminal side message presenting module; and the terminal side message receiving module is used for sending the alarm message received from the network side equipment to the terminal side message presenting module.
As shown in fig. 4, a main difference between the third embodiment and the second embodiment is that the network side device is an access network device, and the network side device includes a network side message receiving module, the warning message caching module, and a network side message sending module. The functions of the modules are the same as those in the second embodiment, and are not described herein again.
The types of the alarm information in the scheme comprise: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error. The alarm message caching processing module is also used for deciding a caching strategy according to the type of the alarm information and/or the priority of the alarm information; the caching strategy comprises the following steps: whether to cache the alarm message, the effective duration of the cache and the queuing mode of the alarm message in the cache.
The alarm message caching processing module is further used for updating the cached alarm message according to the new alarm information when the type of the cached alarm information is an initial alarm or an update alarm and the type of the new alarm information is an update alarm or alarm confirmation; and deleting the cached alarm message when the type of the cached alarm information is an initial alarm or an updated alarm and the type of the new alarm information is an alarm cancellation or an alarm error.
The alarm message caching processing module can directly send the updated alarm message to the terminal side presentation module after updating the alarm message, or send the updated alarm message to the terminal side presentation module after judging that the updated alarm message meets the presentation condition; the presentation condition includes at least one of the following conditions: the time length of the alarm message cache exceeds the preset time length, the priority of the alarm message reaches the preset priority, and the alarm message is positioned at the top end of the cache queue.
The alarm message notification method applied to the system comprises the following steps: the alarm message sender constructs an alarm message and sends the alarm message to the communication subsystem; the communication subsystem buffers an alert message from the alert message sender, and upon receiving a new alert message belonging to the same alert event as the buffered alert message, performs one or more of the following operations: deleting the cached alarm message, obtaining an updated alarm message according to the new alarm message and the cached alarm message, presenting the updated alarm message to the terminal, and caching the updated alarm message.
The types of alarm information include: initial alarm, update alarm, alarm cancellation, alarm confirmation, alarm error. Wherein the update operation in the update alert refers to replace, add, subtract, modify, etc.
The priority of the alert information may be determined by one or more of the following parameters: alert message urgency, alert event severity, likelihood of an alert event occurring, time frame of an alert event occurring. For example, an alarm message severity level such as "Extreme" -a very serious life or property threatening "sever" -a significant threat to life or property, "modern" -possibly life or property threatening, "Minor" -not threatening life or property, "Unknown" -Unknown severity level, etc. may be established.
The communication subsystem decides a caching strategy according to the type of the alarm information and/or the priority of the alarm information; the caching strategy comprises the following steps: whether to cache the alarm message, the effective duration of the cache and the queuing mode of the alarm message in the cache. For example, when the priority of the alarm information is high (such as an alarm message with high urgency and high probability), the alarm information may be directly presented to the terminal device without buffering. For another example, the alarm information may be cached and the effective duration of the cache may be set to be shorter when the priority of the alarm information is higher, and the alarm information may be cached and the effective duration of the cache may be set to be longer when the priority of the alarm information is lower. For another example, the alarm information may be buffered at the front end of the queue when the priority of the alarm information is high, and the alarm information may be buffered at the rear end of the queue when the priority of the alarm information is low.
The alert message may be in a format that is not limited to Common Alerting Protocol (CAP), which is easily interchangeable with other formats. The identity of the alert Message may be specified using a Message ID in the CAP document object Model < alert > field. Still other priority information may be represented in the CAP by < urgency > for an alarm, < severity > for the alarm, < certainty > for the likelihood of an alarm, and < expires > for the time frame in which the alarm event occurred.
The communication subsystem updates the cached alarm message according to the new alarm information when the type of the cached alarm information is an initial alarm or an update alarm and the type of the new alarm information is an update alarm or alarm confirmation; and deleting the cached alarm message when the type of the cached alarm information is an initial alarm or an updated alarm and the type of the new alarm information is an alarm cancellation or an alarm error. Specifically, the updating of the cached alarm message may be directly replacing the information to be updated in the new alarm message with the corresponding information in the cached alarm message, or recombining the information and/or elements to be updated in the cached alarm message included in the new alarm message and the information and/or elements not to be updated in the cached alarm message into the new alarm message.
The communication subsystem can directly send the updated alarm message to the terminal side presentation module, or send the updated alarm message to the terminal side presentation module after judging that the updated alarm message meets the presentation conditions and judging that the updated alarm message meets the presentation conditions; the presentation condition includes at least one of the following conditions: the time length of the alarm message cache exceeds the preset time length, the priority of the alarm message reaches the preset priority, and the alarm message is positioned at the top end of the cache queue. For example, after buffering the alert message, a timer may be set for the buffered alert message, and the alert message may be presented to the UE when the timer expires. If the timer for the cached alert message has not expired when the updated alert message is received, the alert message may be updated to re-cache the updated alert message and restart the timer. The duration of the alert message in the buffer or the duration of the timer may be specified according to the validity period of the alert message. For example, there is an < expires > field in the CAP message that specifies the validity period of the message.
For example, the following steps are carried out:
for example, the alarm message sender sends an alarm message (called a first alarm message), and then if the sent alarm message is found to contain incorrect information, the alarm message is a false alarm, and the alarm message sent before needs to be updated, then an alarm message (called a second alarm message) indicating that the alarm is cancelled is sent. In the scheme, the network side equipment or the terminal can temporarily not present the first alarm message to the user and cache the first alarm message, and can delete the first alarm message in time after receiving the second alarm message in the caching period, thereby preventing the trouble of misinformation of the user.
For example, the alarm message sender sends an alarm message (called a first alarm message), and then finds that the priority error in the sent alarm message is high, and needs to update the previously sent alarm message, and then sends an alarm message (called a second alarm message) indicating low priority. In the scheme, the network side equipment or the terminal can temporarily not present the first alarm message to the user and cache the first alarm message, and the first alarm message is updated in time after the second alarm message is received in the caching period and is notified to the terminal, so that the user can obtain accurate alarm, and the trouble of misinformation of the user is prevented.
Although the main embodiments are directed to alarm message scenarios, no loss of generality is implied. Other similar message transmission scenarios may be applicable.
It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The present invention is capable of other embodiments, and various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of a software functional module. The present invention is not limited to any specific form of combination of hardware and software.