An alarm processing method, apparatus, device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2026-08-14
AI Technical Summary
[0003]然而,发明人发现现有技术至少存在如下问题:对于核心网部分故障和无线侧故障的容灾,目前协议中为统一反馈到小区广播中心CBCF/CBC上进行对比识别,再上报给CBE判断是否重发
[0033]与现有技术相比,本发明公开的告警处理方法、装置、设备、存储介质和程序产品,将告警容灾分散到网络中各个节点,实现告警下发后的故障检测,通过告警消息下发后的持续心跳检测来判断是否存在节点故障,进而在检测到节点故障时能够及时进行消息重发,确保每个用户尽可能及时接受到告警消息,有利于提升网元的故障响应速度,充分利用网元资源,进一步保障紧急预警的可靠性和时效性。
Smart Images

Figure CN122579097A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to an alarm processing method, apparatus, device, storage medium, and program product. Background Technology
[0002] The development of emergency early warning capabilities for the public during emergencies ensures that the public is promptly alerted when emergencies occur, guaranteeing their personal and property safety. Currently, the network architecture of public early warning systems includes terminals, base stations, mobility management entities, cell broadcast centers (CBCF / CBC), and cell broadcast service entities (CBE). The CBE connects to the early warning systems of multiple departments with specific needs, such as meteorology and earthquake monitoring, and then connects to the CBC / CBCF. The CBC / CBCF connects to the mobility management entities, ultimately sending alarm messages to base stations and terminals. Emergency alarms require high real-time performance; currently, under normal procedures, alarms can be sent within 10 seconds.
[0003] However, the inventors discovered that existing technologies have at least the following problems: For disaster recovery of core network and radio-side faults, the current protocol uniformly feeds back to the Cell Broadcast Center (CBCF / CBC) for comparison and identification, and then reports to the Cell Broadcast Equipment (CBE) to determine whether to retransmit. The existing core network fault detection mechanism performs pre-alarm detection, but no detection is performed after the alarm is issued. If everything is normal before issuance, but a fault occurs during issuance after receiving the alarm message, comparison and judgment must be performed after the entire process is completed, resulting in significant latency. For some urgent messages, excessive latency can cause some users to receive messages untimely, failing to serve as an emergency warning. Summary of the Invention
[0004] The purpose of this invention is to provide an alarm processing method, apparatus, device, storage medium, and program product. By continuously detecting the heartbeat after the alarm message is issued, it is beneficial to improve the fault response speed of network elements and ensure the timeliness of early warning.
[0005] To achieve the above objectives, embodiments of the present invention provide an alarm processing method, the method comprising:
[0006] After the cell broadcast service function entity sends an alarm message, the heartbeat detection function is used to detect in real time whether the cell broadcast center and / or the mobility management function entity have failed; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity;
[0007] When the cell broadcast center and / or the mobility management function entity fails, the alarm message is sent to the backup cell broadcast center and / or mobility management function entity.
[0008] As an improvement to the above solution, the step of detecting whether the cell broadcast center and / or mobility management entity has malfunctioned in real time through a heartbeat detection function after the cell broadcast service function entity issues an alarm message includes:
[0009] After the cell broadcast service function entity issues an alarm message, the cell broadcast service function entity periodically sends heartbeat data packets to the cell broadcast center, and / or the cell broadcast center periodically sends heartbeat data packets to the mobility management function entity.
[0010] If no response message is detected from the cell broadcast center and / or the mobility management function entity to the heartbeat data packet, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
[0011] As an improvement to the above scheme, the step of determining that the cell broadcast center and / or the mobility management function entity has malfunctioned when no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity includes:
[0012] If no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity within the first preset period, the sending frequency of the heartbeat data packet is increased.
[0013] After increasing the transmission frequency of the heartbeat data packets, if no response message from the cell broadcast center and / or the mobility management function entity is detected within a second preset period, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
[0014] As an improvement to the above solution, the alarm message includes an alarm type identifier;
[0015] The method further includes:
[0016] When the mobility management function entity receives the alarm message, it determines the alarm level of the alarm message based on the alarm type identifier.
[0017] As an improvement to the above solution, the method further includes:
[0018] The mobile management function entity determines the effective duration corresponding to the alarm level of the alarm message based on the preset correspondence between alarm level and effective duration.
[0019] When the preset message retransmission conditions are met, the mobility management function entity will resend the alarm message, which has not exceeded the effective duration, to the base station.
[0020] As an improvement to the above scheme, when the preset message retransmission conditions are met, the mobility management function entity retransmits the alarm message that has not exceeded the effective duration to the base station, including:
[0021] When the mobility management function entity determines that the preset message retransmission conditions are met, it determines whether there is an alarm message that has not exceeded the effective duration locally;
[0022] If so, the mobility management function entity will resend the alarm message that has not exceeded the effective duration to the base station;
[0023] If not, the mobility management function entity sends a fault indication information to the cell broadcast center, and the cell broadcast center sends the fault indication information to the cell broadcast service function entity.
[0024] As an improvement to the above scheme, the message retransmission conditions include: the mobility management function entity receiving a restart instruction information sent by the base station, or after a preset base station energy-saving cycle.
[0025] As an improvement to the above scheme, after the mobility management function entity resends the alarm message that has not exceeded the effective duration to the base station when the preset message retransmission condition is met, the method further includes:
[0026] When the mobility management function entity receives an alarm cancellation message, it deletes the alarm messages stored locally that have not exceeded the validity period.
[0027] This invention also provides an alarm processing device, the device comprising:
[0028] The fault detection module is used to detect in real time whether the cell broadcast service function entity and / or the mobility management function entity have failed after the cell broadcast service function entity sends an alarm message through the heartbeat detection function; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity;
[0029] The message retransmission module is used to send the alarm message to a backup cell broadcast center and / or mobility management function entity when the cell broadcast center and / or the mobility management function entity fails.
[0030] This invention also provides an alarm processing device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the alarm processing method as described in any of the above embodiments.
[0031] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the alarm processing method as described in any of the above embodiments.
[0032] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the alarm processing method as described in any of the above embodiments.
[0033] Compared with existing technologies, the alarm processing method, apparatus, device, storage medium, and program products disclosed in this invention distribute alarm disaster recovery to various nodes in the network, realize fault detection after alarm is issued, determine whether there is a node fault by continuous heartbeat detection after alarm message is issued, and then resend the message in a timely manner when a node fault is detected, ensuring that each user receives the alarm message as soon as possible. This is conducive to improving the fault response speed of network elements, making full use of network element resources, and further ensuring the reliability and timeliness of emergency early warning. Attached Figure Description
[0034] Figure 1 This is a flowchart illustrating an alarm processing method provided in an embodiment of the present invention;
[0035] Figure 2 This is a schematic diagram of the network architecture of the public early warning system in an embodiment of the present invention;
[0036] Figure 3 This is a schematic diagram of the heartbeat detection process in an embodiment of the present invention;
[0037] Figure 4 This is a flowchart illustrating a preferred alarm processing method in an embodiment of the present invention;
[0038] Figure 5 This is a schematic diagram of the structure of an alarm processing device provided in an embodiment of the present invention. Detailed Implementation
[0039] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0040] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0041] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0042] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0043] See Figure 1 This is a flowchart illustrating an alarm processing method provided by an embodiment of the present invention. The embodiment of the present invention provides an alarm processing method applied to a public early warning system, the method comprising steps S11 to S12:
[0044] S11. After the cell broadcast service function entity sends an alarm message, the heartbeat detection function is used to detect in real time whether the cell broadcast center and / or the mobility management function entity has failed; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity.
[0045] S12. When the cell broadcast center and / or the mobility management function entity fails, the alarm message is sent to the backup cell broadcast center and / or mobility management function entity.
[0046] It should be noted that, see Figure 2 This is a schematic diagram of the network architecture of the public early warning system in an embodiment of the present invention. The public early warning system includes a terminal UE, a base station, a mobility management function entity, a cell broadcast center, and a cell broadcast service function entity CBE, etc.
[0047] CBE: Its function is not within the scope of the 3GPP specification, but it can be planned and deployed as needed. It can connect with the early warning systems of multiple departments such as meteorology and earthquake to perform format conversion, and connect down to the cell broadcast center (CBC / CBCF) to provide alarm messages to the corresponding PLMN (Public Land Mobile Network).
[0048] CBCF (Cell Broadcast Centre): A 5G core network node that connects to multiple AMFs and is responsible for managing alarm messages, including formatting alarm areas, assigning alarm sequence numbers, and sending alarm messages to the corresponding AMFs and base stations.
[0049] CBC (Cell Broadcast Centre): A 4G core network node that can connect to multiple MMEs. It is responsible for managing alarm messages, including formatting alarm areas, assigning alarm sequence numbers, and sending alarm messages to the corresponding MMEs and base stations.
[0050] AMF (Access and Mobility Management Function): Connects multiple 5G base stations (gNodeB), sends alarm messages to the corresponding base stations, collects the responses returned by the base stations and returns them to CBCF, serving as a relay node in the emergency warning process.
[0051] MME (Mobility Management Entity): Connects multiple 4G base stations (eNodeBs), sends alarm messages to the corresponding base stations, collects the responses returned by the base stations and returns them to CBC, serving as a relay node in the emergency warning process.
[0052] gNodeB: A 5G base station that implements RAN-side CMAS signaling processing. Its function is to notify UEs in the broadcast area of system message changes through Paging and to send SIB8 alarm messages.
[0053] UE: Supports ETWS / CMAS functions, and can receive alarm information in both idle and connected states. ETWS (Earthquake and Tsunami Warning System) function: ETWS is an earthquake and tsunami warning system, primarily used to promptly disseminate emergency information such as earthquakes and tsunamis to the public to guide them in evacuation and self-rescue. CMAS (Commercial Mobile Alert System) function: CMAS is a commercial mobile alert service, also known as Wireless Emergency Alert (WEA) service. It is designed to deliver multiple concurrent warning notifications, supporting various alarm types such as natural disasters and Amber Alerts, and is not limited to any specific alarm type.
[0054] In existing public early warning systems, the fault detection mechanism performs pre-alarm detection, but no detection is performed after the alarm is issued. The fault handling methods for the core network side are as follows:
[0055] 1. CBCF / CBC Failure: The CBE maintains link monitoring before issuing an emergency alert. If a failure is detected, it switches to the backup CBCF / CBC. If a failure occurs during broadcast, no action is taken, and the CBE will retransmit if no response is received after 3 minutes.
[0056] 2. AMF / MME Fault: Similar to CBCF / CBC fault detection, both are pre-broadcast detection. However, compared to CBCF / CBC faults, due to the large number of base stations connected to AMF / MME, the signaling transmission performance of AMF / MME is significantly affected. If it cannot be completed in one go, flow control is required based on the number of transmissions, which has a certain time window. If only pre-broadcast detection is performed, there is a certain risk.
[0057] As can be seen, the CBE makes the final judgment on the above faults. If the CBE does not receive a response within three minutes, it will resend the alarm message, and there is a certain delay in the processing of the alarm message.
[0058] To address the aforementioned issues, this invention improves the fault handling method on the core network side. After an alarm message is sent, a heartbeat detection function is used to detect in real time whether the functional entity under test has failed. When the functional entity under test fails, the alarm message is sent to the backup functional entity corresponding to the functional entity under test. The functional entity under test is either the cell broadcast center or the mobility management functional entity.
[0059] Specifically, this involves adding an adjustable heartbeat detection function between the CBE and the Cell Broadcast Center / CBCF, and / or between the Cell Broadcast Center / CBCF and the Mobility Management Function Entity (MMF / AMF). After the CBE issues an alarm message, the system continuously monitors the heartbeat between the CBE and the CBC / CBCF to determine if the Cell Broadcast Center / CBCF has malfunctioned. When the Cell Broadcast Center / CBCF malfunctions, the CBE forwards the alarm message to the backup Cell Broadcast Center / CBCF. Similarly, after the CBC / CBCF issues an alarm message, the system continuously monitors the heartbeat between the CBC / CBCF and the MMF / AMF to determine if the Mobility Management Function Entity (MMF / AMF) has malfunctioned. When the MMF / AMF malfunctions, the Cell Broadcast Center / CBCF forwards the alarm message to the backup MMF / AMF.
[0060] As a preferred embodiment, the present invention further implements the above embodiments, wherein the step of detecting whether the tested functional entity has malfunctioned in real time through the heartbeat detection function includes:
[0061] After the alarm message is issued, the functional entity that sent the alarm message to the functional entity under test periodically sends heartbeat data packets to the functional entity under test.
[0062] If no response message is detected from the functional entity under test to the heartbeat data packet, the functional entity under test is determined to be faulty.
[0063] Specifically, step S11, which is the step of detecting whether the cell broadcast center and / or mobility management entity has malfunctioned in real time through the heartbeat detection function after the cell broadcast service function entity sends an alarm message, includes steps S111 and S112:
[0064] S111. After the cell broadcast service function entity issues an alarm message, the cell broadcast service function entity periodically sends heartbeat data packets to the cell broadcast center, and / or the cell broadcast center periodically sends heartbeat data packets to the mobility management function entity.
[0065] S112. When no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
[0066] In this embodiment of the invention, HTTP link-level detection is added between the CBE and the Cell Broadcast Center (CBC / CBCF), and / or between the CBC / CBCF and the Mobility Management Function Entity (MMF / AMF). HTTP link-level detection involves periodically sending PING heartbeat packets to detect whether the CBC / CBCF or the MMF / AMF is experiencing a malfunction.
[0067] See Figure 3 This is a flowchart illustrating the heartbeat detection process in an embodiment of the present invention. Taking the message link between CBCF and AMF as an example, after CBCF sends an alarm message, it continuously senses the heartbeat detection between CBCF and AMF. If no response message is received from AMF within the period, AMF is determined to be faulty, and CBCF sends the alarm message to the backup AMF.
[0068] More preferably, determining that the functional entity under test has malfunctioned when no response message to the heartbeat data packet is detected includes:
[0069] If no response message from the functional entity under test to the heartbeat data packet is detected within the first preset period, the sending frequency of the heartbeat data packet is increased.
[0070] After increasing the sending frequency of the heartbeat data packets, if no response message from the functional entity under test is detected within the second preset period, it is determined that the functional entity under test has malfunctioned.
[0071] Specifically, step S112, namely determining that the cell broadcast center and / or the mobility management function entity has malfunctioned when no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity, includes:
[0072] If no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity within the first preset period, the sending frequency of the heartbeat data packet is increased.
[0073] After increasing the transmission frequency of the heartbeat data packets, if no response message from the cell broadcast center and / or the mobility management function entity is detected within a second preset period, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
[0074] In this embodiment of the invention, after the CBE and CBC / CBCF issue an alarm message, the CBE and CBC / CBCF send heartbeat packets to the CBC / CBCF and MMF / AMF at a certain heartbeat packet sending frequency. If no response message from the CBC / CBCF or MMF / AMF to the heartbeat data packet is detected within a first preset period, the heartbeat detection frequency is increased by a preset adjustment step size, that is, the sending frequency of the heartbeat data packet is increased. Then, if no response message is detected within a second preset period, or after two consecutive heartbeat packets are sent, it is determined that the CBC / CBCF or MMF / AMF has failed, and an alarm message is sent to the backup CBC / CBCF and MMF / AMF.
[0075] By employing the technical means of this invention, alarm disaster recovery is distributed to various nodes in the network, enabling fault detection after alarm issuance. Continuous heartbeat detection after alarm message issuance determines whether a node fault exists, and when a node fault is detected, the message can be resent in a timely manner, ensuring that each user receives the alarm message as promptly as possible. This improves the fault response speed of network elements, fully utilizes network element resources, and further guarantees the reliability and timeliness of emergency warnings.
[0076] As a preferred embodiment, the present invention is further implemented based on any of the above embodiments, wherein the alarm message includes an alarm type identifier; the method further includes step S13:
[0077] S13. When the mobility management function entity receives the alarm message, it determines the alarm level of the alarm message based on the alarm type identifier.
[0078] Based on this, the method further includes steps S14 and S15:
[0079] S14. The mobile management function entity determines the effective duration corresponding to the alarm level of the alarm message according to the preset correspondence between alarm level and effective duration.
[0080] S15. When the preset message retransmission conditions are met, the mobility management function entity retransmits the alarm message that has not exceeded the effective duration to the base station.
[0081] It should be further noted that the following are some scenarios where the wireless side cannot broadcast normally:
[0082] 1. Base Station Failure: Taking a 5G network as an example, a base station failure is reported to the AMF via a PWS failure indication message, which is then forwarded to the CBCF for the CBE to identify and handle the subsequent steps. If the failure is resolved, a PWS restartindication message is sent, which is then handed over to the CBE for identification and further processing.
[0083] 2. Base Station Energy Saving: In response to the call for green development and energy conservation and emission reduction, existing 5G base stations in the network enter energy-saving mode during periods of low load or specified time periods. For the core network, if no response is received when an emergency warning is issued, the base station will be assumed to be in a fault state, recorded locally, and the alarm result will be sent to the relevant platform for analysis. The AMF (Active Front-End) acts as a forwarding node in the emergency warning process, but it does not recognize the alarm content and cannot resend or process the alarm message. It can only return the message to the CBCF (Continuous Base-End Frame), which then returns the failure or restart message to the CBE (Central Base-End Frame) to determine the next step. However, the current construction plan covers 5G for emergency warnings. When a base station enters energy-saving mode, if users migrate to the underlying network (such as 4G), the alarm message cannot be guaranteed through the 4G network.
[0084] It is evident that in scenarios involving wireless side fault recovery or sleep recovery, the CBE currently determines whether to retransmit, resulting in a certain delay in processing alarm messages.
[0085] To address the aforementioned issues, this invention improves the fault handling method on the wireless side by adding an alarm type identifier to the issued alarm message N2InformationTransferReqData. This enables the Mobility Management Function (MMF) / AMF entity to determine the alarm level, which indicates the priority of different alarm messages. As shown in Table 1:
[0086] Table 1. New Alarm Type Indication Fields Added to Community Fault Indication Messages
[0087]
[0088] Based on this, see Figure 4 This is a flowchart illustrating a preferred alarm processing method in an embodiment of the present invention. The Mobility Management Function Entity (MMF / AMF) adds a function to cache different alarm messages for different durations. That is, the correspondence between alarm level and effective duration is pre-configured in the MMF / AMF. After obtaining the alarm level of the alarm message according to the indication field in the alarm message, the effective duration of the alarm message is obtained according to the correspondence. The MMF / AMF then caches the alarm message within the effective duration.
[0089] The Mobility Management Function (MMF) / AMF determines in real time whether the preset message retransmission conditions are met. These message retransmission conditions typically indicate a restart after a wireless side failure or a situation where the base station is in power-saving mode and about to shut down.
[0090] Preferably, the message retransmission conditions include: the mobility management function entity receiving a restart instruction information sent by the base station, or after a preset base station energy-saving cycle.
[0091] When the Mobility Management Function (MMF / AMF) entity determines that the preset message retransmission conditions are met, it will retransmit the locally valid alarm message.
[0092] More preferably, step S15, namely, when the preset message retransmission condition is met, the mobility management function entity retransmits the alarm message that has not exceeded the effective duration to the base station, includes:
[0093] When the mobility management function entity determines that the preset message retransmission conditions are met, it determines whether there is an alarm message that has not exceeded the effective duration locally;
[0094] If so, the mobility management function entity will resend the alarm message that has not exceeded the effective duration to the base station;
[0095] If not, the mobility management function entity sends a fault indication information to the cell broadcast center, and the cell broadcast center sends the fault indication information to the cell broadcast service function entity.
[0096] In this embodiment of the invention, the Mobility Management Function Entity (MMF / AMF) determines in real time whether the preset message retransmission conditions are met. When the MMF / AMF receives a restart indication message sent by the base station, or when the energy-saving cycle of the locally configured energy-saving base station is exceeded, it determines that the preset message retransmission conditions are met. Furthermore, based on the effective duration of the received alarm message, it determines whether there is an alarm message that has not exceeded the effective duration locally. If so, the effective alarm message is retransmitted; otherwise, a fault indication message is sent to the Cell Broadcast Center (CBC / CBCF) and then forwarded to the Cell Broadcast Equipment (CBE), where the CBE performs the subsequent alarm process.
[0097] Optionally, when the message retransmission condition is receiving a restart indication information sent by the base station, the fault indication information is the restart indication information, that is, the MMF / AMF directly returns the restart indication to the CBC / CBCF and then forwards it to the CBE.
[0098] Preferably, after the mobility management function entity resends the alarm message that has not exceeded the effective duration to the base station when the preset message retransmission condition is met, the method further includes:
[0099] When the mobility management function entity receives an alarm cancellation message, it deletes the alarm messages stored locally that have not exceeded the validity period.
[0100] By employing the technical means of this invention, alarm types are added to the alarm messages sent by the cell broadcast center to the mobility management function entity, and a judgment node for the mobility management function entity is added. Different effective durations are configured on the mobility management function entity for different alarm levels. After the base station sends a restart instruction message or the base station ends its hibernation period, the local effective alarm messages are resent. This solves the problem in the prior art that the process of resending the alarm message needs to be fed back to the CBE to determine whether to resend it, which makes the overall process longer. This effectively shortens the response cycle and allows users to receive alarm messages as soon as possible.
[0101] See Figure 5 This is a schematic diagram of the structure of an alarm processing device provided in an embodiment of the present invention. The embodiment of the present invention provides an alarm processing device 10, the device 10 comprising:
[0102] The fault detection module 11 is used to detect in real time whether the cell broadcast center and / or mobility management function entity has failed after the cell broadcast service function entity sends an alarm message through the heartbeat detection function; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity;
[0103] The message retransmission module 12 is used to send the alarm message to the backup cell broadcast center and / or the mobility management function entity when the cell broadcast center and / or the mobility management function entity fails.
[0104] Preferably, the fault detection module 11 specifically includes:
[0105] The heartbeat data packet sending unit is used to periodically send heartbeat data packets to the cell broadcast center through the cell broadcast service function entity after the cell broadcast service function entity issues an alarm message, and / or periodically send heartbeat data packets to the mobility management function entity through the cell broadcast center.
[0106] The fault detection unit is used to determine that the cell broadcast center and / or the mobility management function entity has malfunctioned when no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity.
[0107] Preferably, the fault detection unit is specifically used for:
[0108] If no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity within the first preset period, the sending frequency of the heartbeat data packet is increased.
[0109] After increasing the transmission frequency of the heartbeat data packets, if no response message from the cell broadcast center and / or the mobility management function entity is detected within a second preset period, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
[0110] By employing the technical means of this invention, alarm disaster recovery is distributed to various nodes in the network, enabling fault detection after alarm issuance. Continuous heartbeat detection after alarm message issuance determines whether a node fault exists, and when a node fault is detected, the message can be resent in a timely manner, ensuring that each user receives the alarm message as promptly as possible. This improves the fault response speed of network elements, fully utilizes network element resources, and further guarantees the reliability and timeliness of emergency warnings.
[0111] As a preferred embodiment, the present invention is further implemented based on any of the above embodiments, wherein the alarm message includes an alarm type identifier; the device further includes:
[0112] The alarm level determination module is used to determine the alarm level of the alarm message based on the alarm type identifier when the mobile management function entity receives the alarm message.
[0113] The device further includes:
[0114] The effective duration determination module is used to determine the effective duration corresponding to the alarm level of the alarm message by the mobile management function entity according to the preset correspondence between alarm level and effective duration.
[0115] The message retransmission module 12 is also used to resend the alarm message that has not exceeded the effective duration to the base station through the mobility management function entity when the preset message retransmission conditions are met.
[0116] Preferably, the message retransmission module 12 is specifically used for:
[0117] When the mobility management function entity determines that the preset message retransmission conditions are met, it determines whether there is an alarm message that has not exceeded the effective duration locally;
[0118] If so, the alarm message that has not exceeded the effective duration will be resent to the base station through the mobility management function entity;
[0119] If not, the mobile management function entity sends a fault indication information to the cell broadcast center, and the cell broadcast center then sends the fault indication information to the cell broadcast service function entity.
[0120] Preferably, the message retransmission conditions include: the mobility management function entity receiving a restart instruction information sent by the base station, or after a preset base station energy-saving cycle.
[0121] Preferably, the device further includes:
[0122] The alarm message deletion module is used to delete alarm messages that have not exceeded the validity period from the local storage of the mobility management function entity when the mobility management function entity receives an alarm cancellation message.
[0123] By employing the technical means of this invention, alarm types are added to the alarm messages sent by the cell broadcast center to the mobility management function entity, and a judgment node for the mobility management function entity is added. Different effective durations are configured on the mobility management function entity for different alarm levels. After the base station sends a restart instruction message or the base station ends its hibernation period, the local effective alarm messages are resent. This solves the problem in the prior art that the process of resending the alarm message needs to be fed back to the CBE to determine whether to resend it, which makes the overall process longer. This effectively shortens the response cycle and allows users to receive alarm messages as soon as possible.
[0124] It should be noted that the alarm processing device provided in this embodiment of the invention is used to execute all the process steps of the alarm processing method in the above embodiment. The working principle and beneficial effect of the two are one-to-one, so they will not be described again.
[0125] This invention also provides an alarm processing device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the alarm processing method as described in any of the above embodiments.
[0126] This invention also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program, when running, controls the device where the computer-readable storage medium is located to execute the alarm processing method as described in any of the above embodiments.
[0127] This invention also provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, they implement the alarm processing method as described in any of the above embodiments.
[0128] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0129] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. An alarm processing method, characterized in that, The method includes: After the cell broadcast service function entity sends an alarm message, the heartbeat detection function is used to detect in real time whether the cell broadcast center and / or the mobility management function entity have failed; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity; When the cell broadcast center and / or the mobility management function entity fails, the alarm message is sent to the backup cell broadcast center and / or mobility management function entity.
2. The alarm processing method as described in claim 1, characterized in that, After the cell broadcast service entity issues an alarm message, the heartbeat detection function is used to detect in real time whether the cell broadcast center and / or mobility management entity has malfunctioned, including: After the cell broadcast service function entity issues an alarm message, the cell broadcast service function entity periodically sends heartbeat data packets to the cell broadcast center, and / or the cell broadcast center periodically sends heartbeat data packets to the mobility management function entity. If no response message is detected from the cell broadcast center and / or the mobility management function entity to the heartbeat data packet, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
3. The alarm processing method as described in claim 2, characterized in that, The step of determining that the cell broadcast center and / or the mobility management function entity has malfunctioned when no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity includes: If no response message to the heartbeat data packet is detected from the cell broadcast center and / or the mobility management function entity within the first preset period, the sending frequency of the heartbeat data packet is increased. After increasing the transmission frequency of the heartbeat data packets, if no response message from the cell broadcast center and / or the mobility management function entity is detected within a second preset period, it is determined that the cell broadcast center and / or the mobility management function entity has malfunctioned.
4. The alarm processing method according to any one of claims 1 to 3, characterized in that, The alarm message includes an alarm type identifier; The method further includes: When the mobility management function entity receives the alarm message, it determines the alarm level of the alarm message based on the alarm type identifier.
5. The alarm processing method as described in claim 4, characterized in that, The method further includes: The mobile management function entity determines the effective duration corresponding to the alarm level of the alarm message based on the preset correspondence between alarm level and effective duration. When the preset message retransmission conditions are met, the mobility management function entity will resend the alarm message, which has not exceeded the effective duration, to the base station.
6. The alarm processing method as described in claim 5, characterized in that, When the preset message retransmission conditions are met, the mobility management function entity retransmits the alarm message that has not exceeded the effective duration to the base station, including: When the mobility management function entity determines that the preset message retransmission conditions are met, it determines whether there is an alarm message that has not exceeded the effective duration locally; If so, the mobility management function entity will resend the alarm message that has not exceeded the effective duration to the base station; If not, the mobility management function entity sends a fault indication information to the cell broadcast center, and the cell broadcast center sends the fault indication information to the cell broadcast service function entity.
7. The alarm processing method as described in claim 5, characterized in that, The message retransmission conditions include: the mobility management function entity receiving a restart instruction message sent by the base station, or after a preset base station energy-saving cycle.
8. The alarm processing method as described in claim 5, characterized in that, After the mobility management function entity resends the alarm message that has not exceeded the effective duration to the base station when the preset message retransmission condition is met, the method further includes: When the mobility management function entity receives an alarm cancellation message, it deletes the alarm messages stored locally that have not exceeded the validity period.
9. An alarm processing device, characterized in that, The device includes: The fault detection module is used to detect in real time whether the cell broadcast service function entity and / or the mobility management function entity have failed after the cell broadcast service function entity sends an alarm message through the heartbeat detection function; wherein, the cell broadcast service function entity is used to generate alarm messages and send the alarm messages to the corresponding base stations through the cell broadcast center and the mobility management function entity; The message retransmission module is used to send the alarm message to a backup cell broadcast center and / or mobility management function entity when the cell broadcast center and / or the mobility management function entity fails.
10. An alarm processing device, characterized in that, The system includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the alarm processing method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform the alarm processing method as described in any one of claims 1 to 8.
12. A computer program product, characterized in that, The computer program product includes a computer program or computer instructions, which, when executed by a processor, implement the alarm processing method as described in any one of claims 1 to 8.