CN112860461A - Event warning method, system, device, electronic equipment and storage medium - Google Patents
Event warning method, system, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112860461A CN112860461A CN202110266730.6A CN202110266730A CN112860461A CN 112860461 A CN112860461 A CN 112860461A CN 202110266730 A CN202110266730 A CN 202110266730A CN 112860461 A CN112860461 A CN 112860461A
- Authority
- CN
- China
- Prior art keywords
- alarm
- event information
- notification
- alarm event
- degree
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Alarm Systems (AREA)
Abstract
The embodiment of the invention discloses an event warning method, an event warning device, electronic equipment and a storage medium. The method comprises the following steps: receiving alarm event information sent by a service system, determining the alarm degree corresponding to the alarm event information, determining the alarm mode corresponding to the alarm event information according to the preset alarm configuration information corresponding to the alarm event information, and sending an alarm notification based on the alarm mode. The embodiment of the invention determines the alarm mode of the alarm event through the preset alarm configuration information and the alarm degree, thereby providing a plurality of alarm mode selections for the alarm event, enriching the alarm mode of the alarm event, carrying out alarm based on a plurality of alarm modes, further greatly improving the alarm effect and leading an alarm receiver to sense the abnormal event in time. And by receiving the alarm event sent by each service system, the alarm butt joint of any service system is supported, and the alarm butt joint cost of the service systems is reduced.
Description
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an event warning method, an event warning system, an event warning device, electronic equipment and a storage medium.
Background
Currently, most service systems usually preset an attention party of an abnormal scene in order to timely remind a relevant user when the abnormal scene of the system is triggered, and send an alarm to the attention party by sending a short message when the abnormal scene of the system is triggered. For example, when an employee of a company has an attendance abnormality, the personnel management system sends a short message to the relevant manager to alert the relevant manager. However, in the prior art, each service system needs to set a corresponding alarm receiving party by itself, and the disadvantages of complex setting mode, high maintenance cost and the like exist; moreover, the warning effect of fixing the warning by the short message is weak, the warning effect cannot be timely realized, and meanwhile, the warning resources are easy to waste.
Disclosure of Invention
The embodiment of the invention provides an event warning method, an event warning system, an event warning device, electronic equipment and a storage medium, which are used for realizing the selection of various warning modes for warning events, enriching the warning modes of the warning events, and performing warning based on the various warning modes, thereby greatly improving the warning effect and enabling a warning receiver to sense abnormal events in time.
In a first aspect, an embodiment of the present invention provides an event alert method, including:
receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information;
acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode in advance;
determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information;
and sending an alarm notification based on the alarm mode.
In a second aspect, an embodiment of the present invention further provides an event alert apparatus, where the apparatus includes:
the event receiving module is used for receiving alarm event information sent by a service system and determining the alarm degree corresponding to the alarm event information;
the configuration acquisition module is used for acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated by pre-configuration according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode;
the alarm determining module is used for determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information;
and the notification sending module is used for sending the alarm notification based on the alarm mode. :
in a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement an event alert method as provided by any of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the event alert method according to any embodiment of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
receiving alarm event information sent by a service system, determining the alarm degree corresponding to the alarm event information, determining the alarm mode corresponding to the alarm event information according to the preset alarm configuration information corresponding to the alarm event information, and sending an alarm notification based on the alarm mode. The embodiment of the invention determines the alarm mode of the alarm event through the preset alarm configuration information and the alarm degree, thereby providing a plurality of alarm mode selections for the alarm event, enriching the alarm mode of the alarm event, carrying out alarm based on a plurality of alarm modes, further greatly improving the alarm effect and leading an alarm receiver to sense the abnormal event in time. And by receiving the alarm event sent by each service system, the alarm butt joint of any service system is supported, and the alarm butt joint cost of the service systems is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1A is a schematic flowchart of an event alert method according to an embodiment of the present invention;
fig. 1B is a schematic diagram of an alarm system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an event alert method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of an event alert method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an event alert device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1A is a schematic flow diagram of an event alarm method according to an embodiment of the present invention, where this embodiment is applicable to a case of alarming alarm event information sent by each service system, and is particularly applicable to a case of alarming an alarm degree corresponding to the alarm event information sent by each service system, the method may be executed by an event alarm device, the device may be implemented by hardware and/or software, and may be configured in an electronic device, for example, in a server, and the method specifically includes the following steps:
s110, receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information.
The business system may be any system that requires alarm event notification, such as a payment system, an ordering system, a personnel management system, a clearing system, etc., among others. For example, the payment system needs to send a notification to the associated user of the abnormal order for the abnormal order, such as a payment failure, a deferred order, and the like.
It should be noted that, in this embodiment, the alarm event information sent by each service system may be received, and the alarm notification is sent for the alarm event information sent by each service system. The purpose of receiving the alarm event information sent by each service system is as follows: each service system does not need to care about the specific service logic of the alarm event notification, and can realize event alarm by only sending alarm event information, thereby realizing the butt joint of each service system and reducing the alarm cost of the service system.
In this embodiment, the alarm event may be an event having an alarm requirement in the service system. For example, for a personnel management system, the alarm events may be, for example, absent duty alarm events and early exit alarm events, etc. to alert the associated user (alarm recipient). Optionally, the alarm event information includes an event type of the alarm event, an alarm trigger user, and an alarm trigger time. Wherein, the alarm triggering user may be understood as the user triggering the alarm event, and the alarm triggering event may be understood as the time triggering the alarm event.
The alarm degree in this embodiment may be understood as a notification degree of an alarm manner corresponding to the alarm event information. Optionally, determining an alarm degree corresponding to the alarm event information includes: and determining the alarm degree corresponding to the alarm event information based on the event type and/or the emergency degree corresponding to the alarm event information.
In one embodiment, determining an alarm degree corresponding to alarm event information based on an event type corresponding to the alarm event information includes: and when the alarm information sent by the service system is received, determining the alarm degree of the alarm event information based on the event type of the alarm event information and the corresponding relation.
Illustratively, the alarm degrees include 5 levels, the alarm degrees corresponding to the event type 1 and the event type 3 are level 1, the alarm degrees corresponding to the event type 2, the event type 4 and the event type 5 are level 5, and the like. It should be noted that, the levels included in the alarm degree are not limited in the present application, and the alarm degree may include any number of levels, which may be specifically determined according to the actual requirements of the service system.
Alternatively, the event type may be determined based on a service scenario of the alarm event information. Exemplary, event types include, but are not limited to, the following: attendance exception, attendance prompt, payment exception, payment prompt, settlement exception, batch running business exception, order state prompt, settlement exception, business progress prompt, business progress exception, business processing result and the like. For example, the event types corresponding to the absent alarm event information and the early-quit alarm event information are attendance abnormal types.
In another embodiment, determining the alarm degree corresponding to the alarm event information based on the emergency degree corresponding to the alarm event information includes: and when the alarm information sent by the service system is received, determining the alarm degree of the alarm event information based on the emergency degree of the alarm event information and the corresponding relation.
Wherein, the urgency level may be determined based on the alarm trigger time corresponding to the alarm event information. For example, the degree of urgency is determined based on the alarm trigger time corresponding to the alarm event information and a preset time limit. And when the time distance between the alarm triggering time corresponding to the alarm event information and the preset time limit is smaller, the emergency degree is higher. Illustratively, the alarm event is that the payment is not completed, when a time difference between the alarm trigger time and a preset time limit (payment limit) is less than 5 minutes, the urgency level is determined to be level 3, and when the time distance is less than 2 minutes, the urgency level is determined to be level 5.
In another embodiment, the alarm degree corresponding to the alarm event information may be further determined based on the event type and the emergency degree corresponding to the alarm event information.
In these alternative embodiments, the purpose of determining the extent of the alert by event type and/or urgency is to: the accuracy of the alarm degree of the alarm event information is improved by considering the event type and/or the emergency degree of each alarm event information, and meanwhile, various determination modes are provided for the alarm degree of the alarm event, so that the diversity of the determination alarm modes is increased.
S120, acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode.
The alarm configuration information can be generated by pre-configuration according to the actual alarm requirement of the service system on the alarm event information. In one embodiment, the alarm configuration information corresponding to each alarm event information after configuration is stored in a database, and when the alarm event information is received, the corresponding alarm configuration information is inquired in the database.
The alarm configuration information in this embodiment is preconfigured by at least one alarm event information, an alarm degree of the alarm event information, and at least one alarm mode. The alarm manner includes, but is not limited to, a notification channel of the alarm event information, a notification frequency, a notification user, a notification number and a notification time. Specifically, the notification channel may be a channel such as nailing, wechat, mail, sms, phone call, nailing group ait, enterprise wechat group ait, and so on. The user is notified that it is understood to be the alert recipient. It should be noted that the number of the notification channels and the notification users included in the alarm mode may be one or more; moreover, the notification users corresponding to the notification channels may be the same or different. The notification frequency may be the frequency of sending alert notifications to the notifying user, e.g., 5 times/h. The number of notifications may be the number of times the alert notification is sent to the notifying user within a preset time, for example, 3 times. It should be noted that the notification channel, the notification frequency, the notification user, the notification times and the notification time in the alert mode may be pre-configured for each alert event information by the service system of each alert event information in advance, or may be generated based on a default configuration.
It should be noted that, in this embodiment, the same alarm configuration information may be configured in advance for a plurality of alarm event information. Illustratively, the same alarm configuration information is preconfigured for the absent alarm event information and the early-quit alarm event information. Or the same alarm configuration information can be configured in advance for different alarm degrees of the same alarm event information. Illustratively, the preconfigured alarm configuration information includes absenteeism alarm event information, five alarm degrees of the absenteeism alarm event information, and alarm modes respectively corresponding to the five alarm degrees.
In consideration of the situation that part of the alarm event information does not have the corresponding alarm configuration information, optionally, if the alarm configuration information corresponding to the alarm event information is not obtained, the alarm configuration information corresponding to the alarm event information is generated based on the default configuration.
S130, determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information.
Specifically, the alarm configuration information of the alarm event information includes alarm event information, an alarm degree, and an alarm mode. After the alarm degree of the alarm event information of the received service system is determined, an alarm mode corresponding to the alarm event information can be determined based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information.
Exemplarily, the alarm configuration information includes absenteeism alarm event information, 2 alarm degrees and alarm modes corresponding to the 2 alarm degrees; the received alarm event information sent by the service system is absent alarm event information, the alarm degree of the absent alarm event information is level 2, and based on the absent alarm event information, the alarm degree and the alarm configuration information, an alarm mode corresponding to the alarm degree of the level 2 can be determined, for example, an alarm notification is sent to a manager in a nail mode, or the alarm notification is sent to absent personnel in a telephone mode.
And S140, sending an alarm notification based on the alarm mode.
Wherein the alert notification may be generated based on a preset template and the alert event information. In one embodiment, the preset templates corresponding to different alarm modes are different. For example, the preset template corresponding to the alarm mode of the nailing comprises the time of the alarm event information, the associated user, the alarm frequency and the like; the preset template corresponding to the alarm mode of the telephone comprises the associated user of the alarm event information.
In this embodiment, sending the alert notification based on the alert mode includes at least one of the following: sending an alarm notification to the same notification user based on each notification channel; sending alarm notification to each notification user based on the same notification channel; and respectively sending alarm notifications to the notification users based on the notification channels.
According to the technical scheme provided by the embodiment, the alarm degree corresponding to the alarm event information is determined by receiving the alarm event information sent by the service system, the alarm mode corresponding to the alarm event information is determined according to the preset alarm configuration information corresponding to the alarm event information, and the alarm notification is sent based on the alarm mode. The method and the device determine the alarm mode of the alarm event according to the preset alarm configuration information and the alarm degree, thereby providing multiple alarm mode selections for the alarm event, enriching the alarm mode of the alarm event, carrying out alarm based on multiple alarm modes, further greatly improving the alarm effect, and enabling an alarm receiver to timely sense the abnormal event. And by receiving the alarm event sent by each service system, the alarm butt joint of any service system is supported, and the alarm butt joint cost of the service systems is reduced.
It should be noted that, this embodiment may also provide an alarm system, as shown in fig. 1B, which shows a schematic diagram of the alarm system. The alarm system can be connected with any service system in a butt joint mode, namely, the alarm system receives alarm event information sent by each service system, determines a corresponding alarm mode for each alarm event information and sends an alarm notice based on the alarm mode. The service system only needs to send the alarm event to the alarm system, and does not need to concern the implementation logic of the alarm notification of each alarm event. The corresponding alert mode may be determined for each alert event information as discussed above. The advantages of providing the alarm system are that: the method supports the alarm butt joint with any service system, simplifies the alarm butt joint mode and reduces the cost of the butt joint alarm of the service system; the alarm system can also provide and enrich alarm channel selections for alarm events, support the realization of multiple channel alarm, and accurately trigger the alarm events to an alarm receiver, so that the alarm receiver can sense abnormal requests in time, and the real-time performance of manual intervention processing is ensured.
Example two
Fig. 2 is a schematic flow chart of an event alert method according to a second embodiment of the present invention, where, optionally, on the basis of the foregoing embodiments, in this embodiment, the alert configuration information includes at least one of alert event information, an alert degree of the alert event information, and a correspondence relationship between notification channels, and determines, based on the alert event information, the alert degree of the alert event information, and the alert configuration information, an alert mode corresponding to the alert event information, including: and determining a notification channel corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the corresponding relationship among at least one of the alarm event information, the alarm degree of the alarm event information and the notification channel, which are pre-stored in the alarm configuration information. Optionally, the determining, by the alarm configuration information, an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the alarm configuration information includes: and determining a notification user corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the corresponding relationship among at least one of the alarm event information, the alarm degree of the alarm event information and the notification user which are pre-stored in the alarm configuration information.
Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 2, the event alert method provided in this embodiment includes:
s210, receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information.
S220, acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode in a pre-configuration mode; the alarm configuration information comprises at least one type of alarm event information, the alarm degree of the alarm event information and the corresponding relation of the notification channel, and the corresponding relation of the at least one type of alarm event information, the alarm degree of the alarm event information and the notification user.
The preset alarm configuration information comprises the alarm event information, the alarm degree of the alarm event information and the corresponding relation of the notification channel. Exemplarily, the notification channel corresponding to the early warning event information and the warning degree of level 1 is a nail group ait; the notification channel corresponding to the early warning event information and the warning degree of 2 level is WeChat; the notification channel corresponding to the early warning event information and the warning degree of 3 levels is a telephone. The pre-configured alarm configuration information also comprises the corresponding relation of each alarm event information, the alarm degree of the alarm event information and the notification user. Illustratively, the notification user corresponding to the early warning event information and the warning degree of level 1 is a department manager; the users are informed of administrative managers and department managers corresponding to early warning event information and warning degree of level 2; and informing users of the early warning event information and the warning degree of 3 levels to be a general manager, an administrative manager and a department manager.
S230, determining a notification channel corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the corresponding relationship among at least one of the alarm event information, the alarm degree of the alarm event information and the notification channel pre-stored in the alarm configuration information.
Specifically, after determining the alarm degree corresponding to the received alarm event information sent by the service system, based on the pre-configured alarm configuration information, a notification channel of the alarm event information may be determined.
S240, determining a notification user corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the corresponding relationship among at least one of the alarm event information, the alarm degree of the alarm event information and the notification user pre-stored in the alarm configuration information.
Specifically, after determining the alarm degree corresponding to the received alarm event information sent by the service system, based on the pre-configured alarm configuration information, a notification user of the alarm event information may be determined. It should be noted that, in one embodiment, if the notification channel is a staple group ait, the notification user in the alarm configuration information may include attributes and/or functions of the notification user, and the notification user for the ait in the group is determined based on the attributes or functions.
And S250, sending an alarm notification based on the alarm mode.
Specifically, according to the determined notification channel of the alarm event information and the notification user, an alarm notification is sent to the notification user based on the notification channel.
It should be noted that, in this embodiment, the execution sequence of S230 and S240 is not sequential, S230 and S240 may be executed sequentially, or S230 and S240 may be executed simultaneously, which is not limited in this application.
In addition, it should be noted that, when a part of the service systems configures alarm event information, the service systems lack the corresponding relationship between the alarm event information, the alarm degree of the alarm event information, and the notification channel, or lack the corresponding relationship between the alarm event information, the alarm degree of the alarm event information, and the notification user. The alarm configuration information may only include at least one of alarm event information, an alarm degree of the alarm event information, and a correspondence of the notification channel, that is, only performing S210-S230, S250; it is also possible to include only at least one of the alarm event information, the degree of alarm of the alarm event information, and the correspondence of the notified user, i.e., only perform S210, S220, S240, S250. At this time, the notification user or the notification channel may be determined based on a default configuration. For example, the notification user of the default configuration may be an associated user or an administrative user of alarm event information; the notification channel of the default configuration may be staple group ait.
According to the technical scheme of the embodiment, the notification channel and the notification user of the alarm event information are determined according to the corresponding relation among the alarm event information, the alarm degree of the alarm event information and the notification channel, and the corresponding relation among the alarm event information, the alarm degree of the alarm event information and the notification user, so that various notification channels and notification user selections are provided for the alarm event, the alarm modes of the alarm event are enriched, and the alarm effect is further improved.
EXAMPLE III
Fig. 3 is a schematic flow chart of an event alert method according to a third embodiment of the present invention, where on the basis of the foregoing embodiments, this embodiment optionally further includes: and updating the alarm mode based on the response state corresponding to the alarm event information, and resending the alarm notification based on the updated alarm mode. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted. Referring to fig. 3, the event alert method provided in this embodiment includes:
s310, receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information.
S320, acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode.
S330, determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information.
And S340, sending an alarm notification based on the alarm mode.
And S350, updating the alarm mode based on the response state corresponding to the alarm event information, and resending the alarm notification based on the updated alarm mode.
In this embodiment, the response status corresponding to the alarm event information may be a status indicating whether the service system feeds back the processing progress of the alarm event information after the alarm notification is sent. The response status includes, but is not limited to, receipt of a response and non-receipt of a response.
Wherein, the non-reception of the response may be understood as that the processing progress of the alarm event information is not changed, i.e., the alarm event information is not processed yet. At this time, updating the alarm mode based on the response state corresponding to the alarm event information includes: and upgrading the alarm mode, and resending the alarm notification based on the upgraded alarm mode. Namely, the alarm intensity of the alarm notification is improved to improve the alarm effect, so that the alarm receiver is reminded or urged to process the alarm event in time.
And when the response state is that the response is received, the response state comprises the processing progress of the alarm event information. At this time, the processing progress of the alarm event information may be that the inquiry is pending, the processing is in progress, and the processing is completed, and the alarm mode may be degraded with respect to the response status of the inquiry pending and the processing, and the alarm notification may be retransmitted based on the degraded alarm mode. That is, the alarm strength of the alarm notification is reduced, so that the alarm receiving party is prevented from being affected by too many alarms under the condition that the alarm receiving party knows the alarm event.
Optionally, updating the alarm mode based on the response state corresponding to the alarm event information includes: and if the time for sending the alarm notification for the first time exceeds a preset processing time threshold value and the response state of the alarm event information is that no response is received, updating at least one of a notification channel, a notification user and a notification frequency of the alarm mode.
The preset processing time threshold may be a preset maximum acceptable response time for responding to the alarm event information or a maximum acceptable processing time for processing the alarm event corresponding to the alarm event information. E.g., 2 minutes, 30 minutes. The specific value of the preset processing time threshold is not limited in this embodiment, and the preset processing time thresholds corresponding to the alarm event information may be the same or different, and may be determined according to the event type and/or the alarm degree of the alarm event information.
Specifically, when the time for sending the first alarm notification exceeds a preset processing time threshold, it may be determined whether the response state of the alarm event information is not received, and if so, at least one of a notification channel, a notification user, and a notification frequency of the alarm mode is updated. Or, when the response state of the alarm event information is that the duration of not receiving the response exceeds the preset processing time threshold, at least one of the notification channel, the notification user and the notification frequency of the alarm mode may be updated.
It should be noted that, in the present embodiment, at least one of the notification channel, the notification user, and the notification frequency of the alert mode is updated, and at least one of the notification channel, the notification user, and the notification frequency may be updated. Exemplarily, the notification channel of the alarm mode is a nail group ait, and the notification channel after upgrading is a short message or a telephone; the notification user is a department manager, and the updated notification user is a general manager; the notification frequency is 3 times/h, and the updated notification frequency is 5 times/h.
That is, when the time for sending the alarm notification for the first time exceeds the preset processing time threshold and the response state of the alarm event information is that no response is received, at least one of the notification channel, the notification user and the notification frequency of the alarm mode is updated, so that the alarm mode of the unprocessed alarm event information is increased, the alarm effect of the unprocessed alarm event information is improved, the alarm strength of the alarm event information is increased, and further, an alarm receiver is reminded or urged to process the alarm event in time.
Optionally, updating the alarm mode based on the response state corresponding to the alarm event information includes: and if the times of sending the alarm notifications exceed the preset notification time threshold and the response state of the alarm event information is that no response is received, updating at least one of a notification channel, a notification user and a notification frequency of the alarm mode.
The preset notification time threshold may be a preset maximum notification time of the alarm event information, for example, 5 times. In this embodiment, specific values of the preset notification time threshold are not limited, and the preset notification time thresholds corresponding to the alarm event information may be different, and may be determined according to the event type of the alarm event information.
Specifically, when the response state of the alarm event information is that no response is received and the number of times that the alarm notification has been sent exceeds a preset notification number threshold, at least one of a notification channel, a notification user, and a notification frequency of the alarm mode may be updated. Wherein, at least one of the notification channel, the notification user and the notification frequency of the alarm mode is updated, which comprises the following steps: at least one of a notification channel, a notification user, and a notification frequency is upgraded.
That is, when the number of times of sending the alarm notification exceeds the preset notification number threshold and the response state of the alarm event information is that no response is received, at least one of the notification channel, the notification user and the notification frequency of the alarm mode is updated, so that the alarm mode of the unprocessed alarm event information is increased, the alarm effect of the unprocessed alarm event information is improved, the alarm strength of the alarm event information is increased, and further, an alarm receiver is reminded or urged to process the alarm event in time.
It should be noted that, after the alarm notification is re-sent based on the updated alarm manner, if the time between the alarm event information and the last alarm notification sent still exceeds the preset processing time threshold, and the response state of the alarm event information is still that no response is received, at least one of the notification channel, the notification user, and the notification frequency of the updated alarm manner is continuously updated until the response state of the alarm event information is that a response is received. Or after the updated alarm mode resends the alarm notification, the number of times of sending the alarm notification exceeds the preset notification number threshold again, and the response state of the alarm event information is still unreceived response, continuing to update at least one of the notification channel, the notification user and the notification frequency of the updated alarm mode until the response state of the alarm event information is received response.
According to the technical scheme of the embodiment, the alarm mode is updated based on the response state corresponding to the alarm event information, and the alarm notification is sent again based on the updated alarm mode, so that the alarm strength of the alarm notification is improved when the alarm event information is not processed, and an alarm receiver is reminded or urged to process the alarm event in time; and when the alarm event information is being processed or is waiting to be processed, the alarm intensity of the alarm notification is reduced, thereby avoiding that the alarm receiver is influenced by excessive alarms.
Example four
Fig. 4 is a schematic structural diagram of an event alert device according to a fourth embodiment of the present invention, where this embodiment is applicable to a case of alerting alarm event information sent by each service system, and is particularly applicable to a case of alerting an alarm degree corresponding to the alarm event information sent by each service system, and the device specifically includes: an event receiving module 410, a configuration acquiring module 420, an alert determining module 430, and a notification sending module 440.
An event receiving module 410, configured to receive alarm event information sent by a service system, and determine an alarm degree corresponding to the alarm event information;
a configuration obtaining module 420, configured to obtain alarm configuration information corresponding to the alarm event information, where the alarm configuration information is generated according to at least one alarm event information, an alarm degree of the alarm event information, and at least one alarm mode;
the alarm determining module 430 is configured to determine an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information, and the alarm configuration information;
and a notification sending module 440, configured to send an alarm notification based on the alarm mode.
Optionally, the alarm configuration information includes at least one alarm event information, an alarm degree of the alarm event information, and a corresponding relationship of notification channels, and the alarm determining module 430 is configured to determine the notification channel corresponding to the alarm event information based on the alarm event information and the alarm degree of the alarm event information, and the corresponding relationship between at least one alarm event information, the alarm degree of the alarm event information, and the notification channels that are pre-stored in the alarm configuration information.
Optionally, the alarm configuration information includes at least one alarm event information, an alarm degree of the alarm event information, and a corresponding relationship of notification users, and the alarm determining module 430 is configured to determine the notification user corresponding to the alarm event information based on the alarm event information and the alarm degree of the alarm event information, and the corresponding relationship between at least one alarm event information, the alarm degree of the alarm event information, and the notification users that are pre-stored in the alarm configuration information.
Optionally, the event receiving module 410 is configured to determine an alarm degree corresponding to the alarm event information based on the event type and/or the emergency degree corresponding to the alarm event information.
Optionally, the event alert device further includes an alert update module, configured to update the alert mode based on the response state corresponding to the alert event information, and resend the alert notification based on the updated alert mode.
Optionally, the alarm update module includes a first update unit, configured to update at least one of a notification channel, a notification user, and a notification frequency of the alarm manner when a time from a first time of sending the alarm notification exceeds a preset processing time threshold and a response state of the alarm event information is that no response is received.
Optionally, the alarm update module includes a second update unit, configured to update at least one of a notification channel, a notification user, and a notification frequency of the alarm mode when the number of times of sending the alarm notification exceeds a preset notification number threshold and a response state of the alarm event information is that no response is received.
In this embodiment, the alarm degree corresponding to the alarm event information is determined by receiving the alarm event information sent by the service system, the alarm mode corresponding to the alarm event information is determined according to the preconfigured alarm configuration information corresponding to the alarm event information, and the alarm notification is sent based on the alarm mode. The embodiment of the invention determines the alarm mode of the alarm event through the preset alarm configuration information and the alarm degree, thereby providing a plurality of alarm mode selections for the alarm event, enriching the alarm mode of the alarm event, carrying out alarm based on a plurality of alarm modes, further greatly improving the alarm effect and leading an alarm receiver to sense the abnormal event in time. And by receiving the alarm event sent by each service system, the alarm butt joint of any service system is supported, and the alarm butt joint cost of the service systems is reduced.
The event warning device provided by the embodiment of the invention can execute the event warning method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 5 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention. The device 12 is typically an electronic device that assumes event alert functions.
As shown in FIG. 5, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples the various components (including the memory 28 and the processing unit 16).
The processor 16 executes various functional applications and data processing by executing programs stored in the memory 28, for example, implementing the event warning method provided by the above-mentioned embodiment of the present invention, including:
receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information;
acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode in advance;
determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information;
and sending an alarm notification based on the alarm mode.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the event alert method provided in any embodiment of the present invention.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the event alert method provided in any embodiment of the present invention, where the method includes:
receiving alarm event information sent by a service system, and determining the alarm degree corresponding to the alarm event information;
acquiring alarm configuration information corresponding to the alarm event information, wherein the alarm configuration information is generated according to at least one alarm event information, the alarm degree of the alarm event information and at least one alarm mode in advance;
determining an alarm mode corresponding to the alarm event information based on the alarm event information, the alarm degree of the alarm event information and the alarm configuration information;
and sending an alarm notification based on the alarm mode.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110266730.6A CN112860461A (en) | 2021-03-11 | 2021-03-11 | Event warning method, system, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110266730.6A CN112860461A (en) | 2021-03-11 | 2021-03-11 | Event warning method, system, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112860461A true CN112860461A (en) | 2021-05-28 |
Family
ID=75994089
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110266730.6A Pending CN112860461A (en) | 2021-03-11 | 2021-03-11 | Event warning method, system, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112860461A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114333256A (en) * | 2021-12-30 | 2022-04-12 | 挂号网(杭州)科技有限公司 | Event alarm method and device, electronic equipment and storage medium |
| CN114973615A (en) * | 2022-05-12 | 2022-08-30 | 北京软通智慧科技有限公司 | Method and device for monitoring emergency, electronic equipment and storage medium |
| CN115022360A (en) * | 2022-05-24 | 2022-09-06 | 新奥数能科技有限公司 | Method, system, device and storage medium for alarm management using attendance |
| CN115643155A (en) * | 2022-10-10 | 2023-01-24 | 维沃移动通信有限公司 | Alarm message sending method, device, electronic equipment and readable storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111385148A (en) * | 2020-03-06 | 2020-07-07 | 深圳鼎盛电脑科技有限公司 | Service alarm method, device, computer equipment and storage medium |
| WO2020215894A1 (en) * | 2019-04-25 | 2020-10-29 | 深圳前海微众银行股份有限公司 | Alarm method, device and system |
-
2021
- 2021-03-11 CN CN202110266730.6A patent/CN112860461A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020215894A1 (en) * | 2019-04-25 | 2020-10-29 | 深圳前海微众银行股份有限公司 | Alarm method, device and system |
| CN111385148A (en) * | 2020-03-06 | 2020-07-07 | 深圳鼎盛电脑科技有限公司 | Service alarm method, device, computer equipment and storage medium |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114333256A (en) * | 2021-12-30 | 2022-04-12 | 挂号网(杭州)科技有限公司 | Event alarm method and device, electronic equipment and storage medium |
| CN114973615A (en) * | 2022-05-12 | 2022-08-30 | 北京软通智慧科技有限公司 | Method and device for monitoring emergency, electronic equipment and storage medium |
| CN114973615B (en) * | 2022-05-12 | 2024-05-31 | 北京软通智慧科技有限公司 | Method and device for monitoring emergency, electronic equipment and storage medium |
| CN115022360A (en) * | 2022-05-24 | 2022-09-06 | 新奥数能科技有限公司 | Method, system, device and storage medium for alarm management using attendance |
| CN115643155A (en) * | 2022-10-10 | 2023-01-24 | 维沃移动通信有限公司 | Alarm message sending method, device, electronic equipment and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112860461A (en) | Event warning method, system, device, electronic equipment and storage medium | |
| CN110351572B (en) | Method, device and equipment for updating live broadcast room information and storage medium | |
| US9998417B2 (en) | Method and system and apparatus for mass notification and instructions to computing devices | |
| CN111385148A (en) | Service alarm method, device, computer equipment and storage medium | |
| CN111476539A (en) | Task monitoring method and device, computer equipment and storage medium | |
| CN112965799B (en) | Prompt method, device, electronic device and medium for task state | |
| US8380794B2 (en) | Generating context aware data and conversation's mood level to determine the best method of communication | |
| CN111782431B (en) | A method, device, terminal and storage medium for handling abnormalities | |
| CN111371898A (en) | Message monitoring method, device, equipment and storage medium | |
| US6856240B1 (en) | Broadcast message management | |
| KR20110037969A (en) | Targeted user notification of messages in the monitoring system | |
| CN112270531B (en) | Event notification method, device, server and storage medium | |
| US20100226486A1 (en) | Method of informing a teleconference participant that a person-of-interest has become active within the teleconference | |
| CN112860504A (en) | Monitoring method and device, computer storage medium and electronic equipment | |
| CN115190125A (en) | Monitoring method and device for cache cluster | |
| CN112445597B (en) | Timing task scheduling method and device | |
| CN113741748B (en) | Information display method, device, equipment and storage medium | |
| US20040025092A1 (en) | Cause-specific and network-wide error analysis in data processing job management | |
| CN112995020B (en) | Information distribution device, method, electronic device, and storage medium | |
| CN117354373A (en) | Asynchronous notification method and system based on notification parameter modularized assembly | |
| CN114928603A (en) | Client software upgrading method and device, electronic equipment and medium | |
| CN113128943B (en) | Data quality monitoring method, device, electronic equipment and storage medium | |
| CN114064314A (en) | Service message processing method, system, electronic device and computer readable medium | |
| US7283622B2 (en) | Process integrated messaging | |
| CN113760628A (en) | Method and device for monitoring data processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210528 |