CN115294736B - Alarm message control method, device, terminal equipment and storage medium - Google Patents

Alarm message control method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115294736B
CN115294736B CN202211224299.XA CN202211224299A CN115294736B CN 115294736 B CN115294736 B CN 115294736B CN 202211224299 A CN202211224299 A CN 202211224299A CN 115294736 B CN115294736 B CN 115294736B
Authority
CN
China
Prior art keywords
alarm message
rule
current
processing
current alarm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211224299.XA
Other languages
Chinese (zh)
Other versions
CN115294736A (en
Inventor
黎福裕
刘魁
李祁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mantunsci Technology Co ltd
Original Assignee
Shenzhen Mantunsci Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Mantunsci Technology Co ltd filed Critical Shenzhen Mantunsci Technology Co ltd
Priority to CN202211224299.XA priority Critical patent/CN115294736B/en
Publication of CN115294736A publication Critical patent/CN115294736A/en
Application granted granted Critical
Publication of CN115294736B publication Critical patent/CN115294736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/182Level alarms, e.g. alarms responsive to variables exceeding a threshold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses an alarm message control method, an alarm message control device, terminal equipment and a storage medium, wherein an idle device uploads a current alarm message by acquiring the idle device; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, a target alarm message required by a user is obtained, non-important alarm messages are filtered, the message pushing frequency is reduced, and therefore user experience in the power utilization management process is improved.

Description

Alarm message control method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of power consumption management technologies, and in particular, to an alarm message control method, an alarm message control apparatus, a terminal device, and a storage medium.
Background
An air switch is an air switch, namely an air circuit breaker, and belongs to a low-voltage circuit breaker. Along with the promotion of modern demand, traditional air switch function can't satisfy the demand to power consumption safety in the daily life gradually, and the empty switch of intelligence upgrades on traditional empty switch distribution equipment, and the operation data processing that realizes distribution equipment through internet of things and the empty switch of intelligence manages the data of the product equipment of opening through wisdom power consumption platform.
The conventional air-powered product equipment usually alarms once when an alarm event is generated, for a user, some alarms are unimportant, if the alarm is frequently alarmed, the user needs to check frequently, the times are more, and the user experience is influenced due to the fact that the events are not important.
Therefore, there is a need for a solution that improves the user experience in power management.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an alarm message control method, an alarm message control device, terminal equipment and a storage medium, and aims to improve user experience in the electricity utilization management process.
In order to achieve the above object, the present invention provides an alarm message control method, including:
acquiring a current alarm message uploaded by an idle device;
and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
Optionally, based on the filtering rule, processing the current alarm message to obtain the target alarm message includes:
judging whether the current alarm message meets an invalid condition, wherein the invalid condition comprises that the current alarm message comprises a deletion identifier, the current alarm message belongs to a global filtering type or the alarm time in the current alarm message exceeds a preset time threshold;
if the current alarm message meets an invalid condition, filtering the current alarm message;
and if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message.
Optionally, the step of processing the current alarm message based on the completion rule to obtain the target alarm message includes:
and performing content supplement on the current alarm message based on the equipment information of the air switch equipment to obtain the target alarm message, wherein the content supplement comprises an item number to which the equipment belongs and a resource ID corresponding to the equipment.
Optionally, the step of processing the current alarm message based on the classification rule to obtain the target alarm message includes:
identifying an alarm value contained in the current alarm message;
and marking the emergency degree of the current alarm message according to the alarm numerical value to obtain the target alarm message.
Optionally, the step of processing the current alarm message based on the attitude rule to obtain the target alarm message includes:
identifying an alarm type to which the current alarm message belongs;
matching corresponding user attitude configuration according to the alarm type;
and filtering and judging the current alarm message based on the user attitude configuration to obtain the target alarm message.
Optionally, the step of processing the current alarm message based on the frequency limit rule to obtain the target alarm message includes:
matching a corresponding frequency limit value according to the alarm type of the current alarm message;
judging whether the current alarm message meets a first processing condition or not;
if the current alarm message meets the first processing condition, recording the current processing time to obtain the target alarm message;
and if the current alarm message does not meet the first-time processing condition, judging whether to filter the current alarm message according to the current processing time, the last processing time and the frequency limit value.
Optionally, the step of processing the current alarm message based on the name customization rule to obtain the target alarm message includes:
matching a corresponding user-defined name according to the alarm type of the current alarm message;
and replacing the alarm name of the current alarm message with the user-defined name to obtain the target alarm message.
Optionally, based on the storage rule, processing the current alarm message to obtain the target alarm message includes:
judging whether the current alarm message is stored in a database;
and if the current alarm message is not stored in the database, storing the current alarm message as the target alarm message in the database.
Optionally, the step of processing the current alarm message based on the preset rule processing chain to obtain a target alarm message further includes:
judging whether an alarm message pushing function is started or not;
and if the alarm message pushing function is started, storing the target alarm message into an alarm pushing queue so that an alarm pushing system can push the target alarm message to a user terminal.
In addition, to achieve the above object, the present invention also provides an alarm message control apparatus, including:
in addition, in order to achieve the above object, the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and an alarm message control program stored in the memory and operable on the processor, and the alarm message control program, when executed by the processor, implements the steps of the alarm message control method as described above.
The acquisition module is used for acquiring the current alarm message uploaded by the idle device;
and the processing module is used for processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
Further, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon an alarm message control program which, when executed by a processor, implements the steps of the alarm message control method as described above.
According to the alarm message control method, the alarm message control device, the terminal equipment and the storage medium, the current alarm message uploaded by the idle equipment is acquired; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, so that a target alarm message required by a user is obtained, non-important alarm messages are filtered, the frequency of message pushing is reduced, and the user experience in the power utilization management process is improved.
Drawings
Fig. 1 is a schematic diagram of functional modules of a terminal device to which an alarm message control apparatus of the present invention belongs;
fig. 2 is a flowchart illustrating an alarm message control method according to a first embodiment;
fig. 3 is a flowchart illustrating an alarm message control method according to a second embodiment;
fig. 4 is a flowchart illustrating an alarm message control method according to a third embodiment;
fig. 5 is a flowchart illustrating an alarm message control method according to a fourth embodiment;
fig. 6 is a flowchart illustrating an alarm message control method according to a fifth embodiment;
fig. 7 is a schematic overall flow chart in the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
The main solution of the embodiment of the invention is as follows: acquiring a current alarm message uploaded by an idle device; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, a target alarm message required by a user is obtained, non-important alarm messages are filtered, the message pushing frequency is reduced, and therefore user experience in the power utilization management process is improved.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional modules of a terminal device to which an alarm message control apparatus of the present invention belongs. The alarm message control device may be a device which is independent of the terminal device and can control the alarm message, and the device may be carried on the terminal device in a form of hardware or software. The terminal device can be an intelligent mobile terminal with a data processing function, such as a mobile phone and a tablet personal computer, and can also be a fixed terminal device or a server with a data processing function.
In this embodiment, the terminal device to which the alarm message control apparatus belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and an alarm message control program, and the alarm message control device can process the current alarm message uploaded by the acquired idle device and a preset rule processing chain, and store the obtained information such as a target alarm message in the memory 130; the output module 110 may be a display screen or the like. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein the alert message control program in the memory 130, when executed by the processor, performs the steps of:
acquiring a current alarm message uploaded by an idle device;
and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
Further, the alert message control program in memory 130 when executed by the processor further performs the steps of:
judging whether the current alarm message meets an invalid condition, wherein the invalid condition comprises that the current alarm message comprises a deletion identifier, the current alarm message belongs to a global filtering type or the alarm time in the current alarm message exceeds a preset time threshold;
if the current alarm message meets an invalid condition, filtering the current alarm message;
and if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message.
Further, the alarm message control program in the memory 130 when executed by the processor further performs the steps of:
and performing content supplement on the current alarm message based on the equipment information of the air switch equipment to obtain the target alarm message, wherein the content supplement comprises an item number to which the equipment belongs and a resource ID corresponding to the equipment.
Further, the alert message control program in memory 130 when executed by the processor further performs the steps of:
identifying an alarm value contained in the current alarm message;
and marking the emergency degree of the current alarm message according to the alarm value to obtain the target alarm message.
Further, the alert message control program in memory 130 when executed by the processor further performs the steps of:
identifying the alarm type to which the current alarm message belongs;
matching corresponding user attitude configuration according to the alarm type;
and filtering and judging the current alarm message based on the user attitude configuration to obtain the target alarm message.
Further, the alarm message control program in the memory 130 when executed by the processor further performs the steps of:
matching a corresponding frequency limit value according to the alarm type of the current alarm message;
judging whether the current alarm message meets a first processing condition or not;
if the current alarm message meets the first processing condition, recording the current processing time to obtain the target alarm message;
and if the current alarm message does not meet the first-time processing condition, judging whether to filter the current alarm message according to the current processing time, the last processing time and the frequency limit value.
Further, the alert message control program in memory 130 when executed by the processor further performs the steps of:
matching a corresponding user-defined name according to the alarm type of the current alarm message;
and replacing the alarm name of the current alarm message with the user-defined name to obtain the target alarm message.
Further, the alarm message control program in the memory 130 when executed by the processor further performs the steps of:
judging whether the current alarm message is stored in a database or not;
and if the current alarm message is not stored in the database, storing the current alarm message as the target alarm message in the database.
Further, the alert message control program in memory 130 when executed by the processor further performs the steps of:
judging whether an alarm message pushing function is started or not;
and if the alarm message pushing function is started, storing the target alarm message into an alarm pushing queue so that an alarm pushing system can push the target alarm message to a user terminal.
According to the scheme, the current alarm message uploaded by the idle device is obtained; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, so that a target alarm message required by a user is obtained, non-important alarm messages are filtered, the frequency of message pushing is reduced, and the user experience in the power utilization management process is improved.
Based on the above terminal device architecture but not limited to the above architecture, embodiments of the method of the present invention are presented.
First embodiment
The execution subject of the method of this embodiment may be an alarm message control device or a terminal device, and the embodiment exemplifies a remote platform that controls an alarm message.
Referring to fig. 2, fig. 2 is a flowchart illustrating an alarm message control method according to a first embodiment, where the alarm message control method includes the following steps:
step S10, acquiring a current alarm message of an idle set standby uploading;
specifically, when the air switch device generates an alarm, the alarm message is uploaded to the remote platform, and after the remote platform receives the current alarm message uploaded by the air switch device, the current alarm message is pushed into the alarm message queue, so that the alarm message processing program is started. When the alarm message processing program is started, the processing rules are read first, then the processing rules are arranged into a rule processing pipeline, namely the preset rule processing chain, and then the alarm message is taken out from the alarm message queue for processing through the alarm message processing program.
And step S20, processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
Further, after the current alarm message uploaded by the idle device is acquired, a series of processing can be performed on the current alarm message based on each rule in a preset rule processing chain, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
The filtering rule can judge whether the current alarm message is valid, if the current alarm message is invalid, filtering and discarding are carried out, and if the current alarm message is valid, other rules can be continuously executed; the completion rule can be used for supplementing the content of the alarm message and providing key data for subsequent rule processing, such as an empty set item number to which the equipment belongs, a resource ID corresponding to the equipment and the like; the classification rule can be used for judging the alarm emergency degree according to the alarm value contained in the current alarm message, and classifying the current alarm message into an A-level alarm, a B-level alarm and a C-level alarm; the attitude rule can be used for filtering the current alarm message according to the attitude configured by the user, the user can configure the attitude rule of the alarm preference on the platform, and the receiving attitude of a certain alarm type is configured as 'refusing' or 'accepting'; the frequency limit rule can be used for controlling the frequency of the alarm messages of the same alarm type in preset time according to the frequency limit value of the alarm preference configured by the user on the platform; the name custom rule can be used for replacing the name of the corresponding alarm message according to the custom name of a certain alarm type configured by a user on the platform; the storage rules may be used to check whether the alarm message is already stored in the database before storing the current alarm message in the database, and if so, ignore it, otherwise, add the alarm message.
It should be noted that each rule in the preset rule processing chain may be implemented individually or in combination and sequentially, and the embodiment of the present application does not limit the implementation order and implementation manner of each rule in the preset rule processing chain.
Processing the current alarm message based on each rule in a preset rule processing chain, and pushing the target alarm message to a user terminal through an alarm pushing system after the target alarm message is obtained, wherein the method specifically comprises the following steps:
judging whether an alarm message pushing function is started or not;
and if the alarm message pushing function is started, storing the target alarm message into an alarm pushing queue so that an alarm pushing system can push the target alarm message to a user terminal.
Before pushing the target alarm message to the user, whether a pushing function is started in the platform needs to be judged, and under the condition that the pushing function is started by the platform, the target alarm message is put into an alarm pushing queue to wait for the capture processing of an alarm pushing system, so that the target alarm message is pushed to the user terminal.
In the embodiment, the current alarm message to be uploaded is set by the idle device through obtaining; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, so that a target alarm message required by a user is obtained, non-important alarm messages are filtered, the frequency of message pushing is reduced, and the user experience in the power utilization management process is improved.
Second embodiment
Referring to fig. 3, fig. 3 is a flowchart illustrating an alarm message control method according to a second embodiment, and on the basis of the first embodiment of the present application, this embodiment discloses a method for processing the current alarm message based on the filtering rule to obtain the target alarm message, which specifically includes the following steps:
judging whether the current alarm message meets an invalid condition, wherein the invalid condition comprises that the current alarm message comprises a deletion identifier, the current alarm message belongs to a global filtering type or the alarm time in the current alarm message exceeds a preset time threshold;
if the current alarm message meets an invalid condition, filtering the current alarm message;
and if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message.
In the embodiment of the application, the judgment of whether the current alarm message meets the invalid condition mainly comprises three judgment modes, namely judging whether the current alarm message comprises a deletion identifier DEL, and if so, meeting the invalid condition; judging whether the current alarm message belongs to a global filtering type, if so, meeting an invalid condition; and judging whether the alarm time of the current alarm message is more than three days from the current time, if so, meeting an invalid condition.
It should be noted that the current alarm message satisfies any one or more of the three determination methods, and may be regarded as an invalid message, and needs to be filtered and discarded, and if valid, the current alarm message is continuously forwarded to the next rule for processing.
Before the alarm message is processed by other processing rules, the current alarm message may be completed based on a completion rule, which specifically includes:
and performing content supplement on the current alarm message based on the equipment information of the air switch equipment to obtain the target alarm message, wherein the content supplement comprises an item number to which the equipment belongs and a resource ID corresponding to the equipment.
Optionally, the device information of the idle device, including the attributive item number and the resource ID corresponding to the device, may be used to enrich the content of the current alarm message and provide key data for subsequent rule processing.
According to the scheme, whether the current alarm message meets an invalid condition is judged, wherein the invalid condition comprises that the current alarm message comprises a deletion identifier, the current alarm message belongs to a global filtering type or the alarm time in the current alarm message exceeds a preset time threshold; if the current alarm message meets an invalid condition, filtering the current alarm message; and if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message. Whether the current alarm message is valid or not can be judged, the invalid message is filtered and discarded, and influence on user experience caused by pushing of the invalid message is avoided.
Third embodiment
Referring to fig. 4 and fig. 4 are schematic flow diagrams of an alarm message control method according to a third embodiment, and on the basis of the first embodiment and the second embodiment of the present application, this embodiment discloses a method for processing the current alarm message based on the classification rule to obtain the target alarm message, which specifically includes the following steps:
identifying an alarm value contained in the current alarm message;
and marking the emergency degree of the current alarm message according to the alarm value to obtain the target alarm message.
In the embodiment of the application, whether the current alarm message comprises an alarm value or not can be identified firstly, if not, the rule is skipped, if yes, whether the alarm value is greater than a set value of a gear A or not is further judged, and if yes, the current alarm message is marked as a level A alarm; if not, further judging whether the alarm value is larger than a B-gear set value, if so, marking the current alarm message as a B-level alarm; if not, the current alarm message is marked as a level C alarm.
According to the scheme, the alarm value contained in the current alarm message is specifically identified; and marking the emergency degree of the current alarm message according to the alarm numerical value to obtain the target alarm message. The alarm messages are classified quickly according to the alarm values in the current alarm messages so as to distinguish the importance degrees of the alarm messages, so that the alarm messages are controlled, and the user experience in the power utilization management process is improved.
Fourth embodiment
Referring to fig. 5, fig. 5 is a flowchart illustrating an alarm message control method according to a fourth embodiment, and on the basis of the first embodiment, the second embodiment, and the third embodiment of the present application, this embodiment discloses a method for processing the current alarm message based on the attitude rule to obtain the target alarm message, which specifically includes the following steps:
identifying an alarm type to which the current alarm message belongs;
matching corresponding user attitude configuration according to the alarm type;
and filtering and judging the current alarm message based on the user attitude configuration to obtain the target alarm message.
In the embodiment of the application, the alarm type to which the current alarm message belongs is firstly identified, if a user configures the attitude rule of the alarm preference on a platform and configures the receiving attitude of a certain alarm type as 'refusal' or 'acceptance', whether filtering is carried out or not is determined according to the attitude of the user to the alarm type, so that the alarm message which is refused to be received by the user is eliminated.
According to the scheme, the alarm type of the current alarm message is specifically identified; matching corresponding user attitude configuration according to the alarm type; and filtering and judging the current alarm message based on the user attitude configuration to obtain the target alarm message. According to the user attitude configuration corresponding to the alarm type to which the current alarm message belongs, the alarm message which is refused to be received by the user is filtered, so that the autonomous selectivity of the user is improved, and the user experience in the power utilization management process is improved.
Fifth embodiment
Referring to fig. 6, fig. 6 is a flowchart illustrating an alarm message control method according to a fifth embodiment, and on the basis of the first embodiment, the second embodiment, the third embodiment and the fourth embodiment of the present application, this embodiment discloses a method for processing the current alarm message based on the frequency limit rule to obtain the target alarm message, which specifically includes the following steps:
matching a corresponding frequency limit value according to the alarm type of the current alarm message;
judging whether the current alarm message meets a first processing condition or not;
if the current alarm message meets the first processing condition, recording the current processing time to obtain the target alarm message;
and if the current alarm message does not meet the first-time processing condition, judging whether to filter the current alarm message according to the current processing time, the last processing time and the frequency limit value.
In the embodiment of the application, a user can configure a frequency limit rule of an alarm preference on a platform, the receiving frequency limit value of a certain alarm type is set to receive only 1 alarm within n seconds, in the process of processing the current alarm message, whether the frequency limit value of the alarm type to which the alarm message belongs is greater than 0 is judged firstly, if so, the user sets the frequency limit on the alarm type, whether the alarm of the air-break equipment is processed for the first time is further judged, and if so, the current processing time is recorded and the frequency limit rule processing is skipped; if not, judging whether the difference value between the current processing time and the last processing time is not greater than the frequency limit value, and if not, discarding the alarm message.
Optionally, the step of processing the current alarm message based on the name customization rule to obtain the target alarm message includes:
matching a corresponding user-defined name according to the alarm type of the current alarm message;
replacing the alarm name of the current alarm message with the user-defined name to obtain the target alarm message;
if the user configures a custom name of a certain alarm type on the platform, the name of the ignition alarm is customized to be an arc alarm. Then, when the alarm is processed, if the currently processed alarm type belongs to the ignition alarm type, the alarm name of the alarm record is replaced by the self-defined arc alarm.
Based on the storage rule, the step of processing the current alarm message to obtain the target alarm message comprises the following steps:
judging whether the current alarm message is stored in a database;
and if the current alarm message is not stored in the database, storing the current alarm message as the target alarm message in the database.
After each rule is processed, the alarm message can be stored in a database, whether the alarm message is stored in the database is checked before storage, if the alarm message is stored, the alarm message is ignored, and if not, the alarm message of the new entry is added.
In addition, an embodiment of the present invention further provides an alarm message control apparatus, where the alarm message control apparatus includes:
the acquisition module is used for acquiring the current alarm message of the idle equipment;
and the processing module is used for processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule.
Referring to fig. 7, fig. 7 is a schematic overall flow diagram in the embodiment of the present invention, and as shown in fig. 7, when the intelligent air conditioner generates an alarm, the alarm message is immediately uploaded to the remote platform, and after receiving the alarm message, the platform pushes the alarm message into the alarm message queue. When the alarm processing program is started, the processing rules are read one by one, and then the rules are arranged and strung into a rule processing pipeline, namely a preset rule processing chain. And then the alarm processing program can take out the alarm messages from the alarm message queue one by one, and then the alarm messages flow through the regular pipeline and are processed one by the rule processing programs in the pipeline.
For the principle and the specific implementation process for implementing the alarm message control in this embodiment, please refer to the above embodiments, which are not described herein again.
In addition, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and an alarm message control program that is stored in the memory and is executable on the processor, and when the alarm message control program is executed by the processor, the steps of the alarm message control method described above are implemented.
Since the alarm message control program is executed by the processor, all technical solutions of all the embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the embodiments are achieved, and detailed description is omitted here.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where an alarm message control program is stored on the computer-readable storage medium, and when executed by a processor, the alarm message control program implements the steps of the alarm message control method described above.
Since the alarm message control program is executed by the processor, all technical solutions of all the embodiments are adopted, so that at least all the beneficial effects brought by all the technical solutions of all the embodiments are achieved, and detailed description is omitted here.
Compared with the prior art, the alarm message control method, the alarm message control device, the terminal equipment and the storage medium provided by the embodiment of the invention have the advantages that the current alarm message uploaded by the idle equipment is acquired; and processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises one or more of a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule. The current alarm message is controlled and processed through a preset rule processing chain comprising a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule, a target alarm message required by a user is obtained, non-important alarm messages are filtered, the message pushing frequency is reduced, and therefore user experience in the power utilization management process is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk) as above, and includes several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An alarm message control method, characterized in that the alarm message control method comprises the steps of:
acquiring a current alarm message uploaded by an idle device;
processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule;
wherein, based on the filtering rule, the step of processing the current alarm message to obtain the target alarm message comprises:
judging whether the current alarm message meets an invalid condition, wherein the invalid condition comprises that the current alarm message comprises a deletion identifier, the alarm type of the current alarm message belongs to a global filtering type or the alarm time in the current alarm message exceeds a preset time threshold;
if the current alarm message meets an invalid condition, filtering the current alarm message;
if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message;
based on the frequency limit rule, the step of processing the current alarm message to obtain the target alarm message comprises the following steps:
matching a corresponding frequency limit value according to the alarm type of the current alarm message;
judging whether the current alarm message meets the first processing condition;
if the current alarm message meets the first processing condition, recording the current processing time to obtain the target alarm message;
and if the current alarm message does not meet the first-time processing condition, judging whether to filter the current alarm message according to the current processing time, the last processing time and the frequency limit value.
2. The method for controlling alarm messages according to claim 1, wherein the step of processing the current alarm message based on the completion rule to obtain the target alarm message comprises:
performing content supplement on the current alarm message based on the equipment information of the air switch-on equipment to obtain the target alarm message, wherein the content supplement comprises an item number to which the equipment belongs and a resource ID corresponding to the equipment;
based on the classification rule, the step of processing the current alarm message to obtain the target alarm message comprises the following steps:
identifying an alarm value contained in the current alarm message;
and marking the emergency degree of the current alarm message according to the alarm numerical value to obtain the target alarm message.
3. The method of claim 1, wherein processing the current alarm message based on the attitude rules to obtain the target alarm message comprises:
identifying an alarm type to which the current alarm message belongs;
matching corresponding user attitude configuration according to the alarm type;
and filtering and judging the current alarm message based on the user attitude configuration to obtain the target alarm message.
4. The method of claim 1, wherein the step of processing the current alarm message to obtain the target alarm message based on the name customization rule comprises:
matching a corresponding user-defined name according to the alarm type of the current alarm message;
replacing the alarm name of the current alarm message with the user-defined name to obtain the target alarm message;
based on the storage rule, the step of processing the current alarm message to obtain the target alarm message comprises the following steps:
judging whether the current alarm message is stored in a database or not;
and if the current alarm message is not stored in the database, storing the current alarm message as the target alarm message in the database.
5. The method for controlling alarm message according to claim 1, wherein the step of processing the current alarm message based on the preset rule processing chain to obtain the target alarm message further comprises:
judging whether an alarm message pushing function is started or not;
and if the alarm message pushing function is started, storing the target alarm message into an alarm pushing queue so that an alarm pushing system can push the target alarm message to a user terminal.
6. An alarm message control apparatus, characterized in that the alarm message control apparatus comprises:
the acquisition module is used for acquiring the current alarm message of the idle equipment;
the processing module is used for processing the current alarm message based on a preset rule processing chain to obtain a target alarm message, wherein the preset rule processing chain comprises a filtering rule, a completion rule, a grading rule, an attitude rule, a frequency limit rule, a name self-defining rule and a storage rule;
the processing module is further configured to determine whether the current alarm message satisfies an invalid condition, where the invalid condition includes that the current alarm message includes a deletion identifier, that an alarm type of the current alarm message belongs to a global filtering type, or that an alarm time in the current alarm message exceeds a preset time threshold; if the current alarm message meets an invalid condition, filtering the current alarm message; if the current alarm message does not meet the invalid condition, taking the current alarm message as the target alarm message;
the processing module is also used for matching a corresponding frequency limit value according to the alarm type of the current alarm message; judging whether the current alarm message meets the first processing condition; if the current alarm message meets the first processing condition, recording the current processing time to obtain the target alarm message; and if the current alarm message does not meet the first-time processing condition, judging whether to filter the current alarm message according to the current processing time, the last processing time and the frequency limit value.
7. A terminal device, characterized in that the terminal device comprises a memory, a processor and an alarm message control program stored on the memory and executable on the processor, which alarm message control program, when executed by the processor, carries out the steps of the alarm message control method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that an alarm-message control program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the alarm-message control method according to any one of claims 1-5.
CN202211224299.XA 2022-10-09 2022-10-09 Alarm message control method, device, terminal equipment and storage medium Active CN115294736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211224299.XA CN115294736B (en) 2022-10-09 2022-10-09 Alarm message control method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211224299.XA CN115294736B (en) 2022-10-09 2022-10-09 Alarm message control method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115294736A CN115294736A (en) 2022-11-04
CN115294736B true CN115294736B (en) 2023-02-10

Family

ID=83835000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211224299.XA Active CN115294736B (en) 2022-10-09 2022-10-09 Alarm message control method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115294736B (en)

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009586A (en) * 2006-01-27 2007-08-01 华为技术有限公司 Processing method for alarm filtering condition in the alarming system
CN101018157A (en) * 2007-02-14 2007-08-15 华为技术有限公司 Alarm processing method and alarming system
CN101106702A (en) * 2007-08-08 2008-01-16 南京联创网络科技有限公司 Configurable alert filtering method for video monitoring system
CN101908981A (en) * 2010-09-03 2010-12-08 烽火通信科技股份有限公司 Method for shielding and uniformly processing alarm and performance data
CN101989766A (en) * 2009-08-03 2011-03-23 南京南瑞继保电气有限公司 Method for diagnosing faults of power system on the basis of protecting action chain
CN102436720A (en) * 2011-09-28 2012-05-02 清华大学 Repeated alarm processing method based on data filtering
CN102546216A (en) * 2010-12-30 2012-07-04 ***通信集团山东有限公司 Method for processing alarm messages in network management system and network management system
CN102664751A (en) * 2012-04-09 2012-09-12 大唐移动通信设备有限公司 Method and device for processing warning message
CN102981941A (en) * 2012-11-08 2013-03-20 大唐软件技术股份有限公司 Alarm handling method and alarm handling device
CN104463709A (en) * 2014-12-12 2015-03-25 国家电网公司 Substation alarm information processing method based on decision trees
CN104753700A (en) * 2013-12-27 2015-07-01 ***股份有限公司 Alarm storm processing method and alarm storm processing system
CN105049270A (en) * 2015-08-31 2015-11-11 北京奇艺世纪科技有限公司 Information processing method, device and system
CN105897491A (en) * 2016-06-24 2016-08-24 努比亚技术有限公司 Method and device for filtering invalid monitoring alarm information
CN106532940A (en) * 2016-11-10 2017-03-22 中国电力科学研究院 Alarm signal action and time sequence logic relationship analysis method of intelligent substation
CN107679713A (en) * 2017-09-16 2018-02-09 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation equipment state alert processing method
CN108242795A (en) * 2018-02-05 2018-07-03 深圳曼顿科技有限公司 Circuit safety management method, breaker and readable storage medium storing program for executing
CN110661659A (en) * 2019-09-23 2020-01-07 上海艾融软件股份有限公司 Alarm method, device and system and electronic equipment
CN114898533A (en) * 2022-02-28 2022-08-12 国电南京自动化股份有限公司 Water conservancy and hydropower intelligent alarm method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102217B (en) * 2006-07-07 2010-06-09 中兴通讯股份有限公司 Processing method for duplicate alert and discontinuous reporting and monitoring in telecom network management system
CN101860450B (en) * 2010-03-29 2014-11-05 中兴通讯股份有限公司 Method and device for querying alarm
KR101354854B1 (en) * 2012-01-02 2014-01-27 엘에스산전 주식회사 Apparatus and method for Alarm controlling of system
CN105632128B (en) * 2016-01-12 2017-10-31 上海斐讯数据通信技术有限公司 A kind of alarm method and intelligent terminal

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009586A (en) * 2006-01-27 2007-08-01 华为技术有限公司 Processing method for alarm filtering condition in the alarming system
CN101018157A (en) * 2007-02-14 2007-08-15 华为技术有限公司 Alarm processing method and alarming system
CN101106702A (en) * 2007-08-08 2008-01-16 南京联创网络科技有限公司 Configurable alert filtering method for video monitoring system
CN101989766A (en) * 2009-08-03 2011-03-23 南京南瑞继保电气有限公司 Method for diagnosing faults of power system on the basis of protecting action chain
CN101908981A (en) * 2010-09-03 2010-12-08 烽火通信科技股份有限公司 Method for shielding and uniformly processing alarm and performance data
CN102546216A (en) * 2010-12-30 2012-07-04 ***通信集团山东有限公司 Method for processing alarm messages in network management system and network management system
CN102436720A (en) * 2011-09-28 2012-05-02 清华大学 Repeated alarm processing method based on data filtering
CN102664751A (en) * 2012-04-09 2012-09-12 大唐移动通信设备有限公司 Method and device for processing warning message
CN102981941A (en) * 2012-11-08 2013-03-20 大唐软件技术股份有限公司 Alarm handling method and alarm handling device
CN104753700A (en) * 2013-12-27 2015-07-01 ***股份有限公司 Alarm storm processing method and alarm storm processing system
CN104463709A (en) * 2014-12-12 2015-03-25 国家电网公司 Substation alarm information processing method based on decision trees
CN105049270A (en) * 2015-08-31 2015-11-11 北京奇艺世纪科技有限公司 Information processing method, device and system
CN105897491A (en) * 2016-06-24 2016-08-24 努比亚技术有限公司 Method and device for filtering invalid monitoring alarm information
CN106532940A (en) * 2016-11-10 2017-03-22 中国电力科学研究院 Alarm signal action and time sequence logic relationship analysis method of intelligent substation
CN107679713A (en) * 2017-09-16 2018-02-09 广西电网有限责任公司电力科学研究院 A kind of power transmission and transformation equipment state alert processing method
CN108242795A (en) * 2018-02-05 2018-07-03 深圳曼顿科技有限公司 Circuit safety management method, breaker and readable storage medium storing program for executing
CN110661659A (en) * 2019-09-23 2020-01-07 上海艾融软件股份有限公司 Alarm method, device and system and electronic equipment
CN114898533A (en) * 2022-02-28 2022-08-12 国电南京自动化股份有限公司 Water conservancy and hydropower intelligent alarm method and system

Also Published As

Publication number Publication date
CN115294736A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
CN108919669B (en) Intelligent home dynamic decision method and device and service terminal
CN107704070B (en) Application cleaning method and device, storage medium and electronic equipment
CN108363343B (en) Household appliance control method, system and computer storage medium
CN106161060B (en) Data monitoring method and device
CN107894827B (en) Application cleaning method and device, storage medium and electronic equipment
CN110554762A (en) Method and terminal for controlling application program
CN107943582B (en) Feature processing method, feature processing device, storage medium and electronic equipment
CN107943269A (en) Schedule job control method, device, terminal device and storage medium
CN102546913B (en) A kind of method of adding associated person information
CN114265325A (en) Self-learning intelligent household control method, terminal and computer readable storage medium
CN111367828A (en) Memory compression method, device, terminal and storage medium
CN115294736B (en) Alarm message control method, device, terminal equipment and storage medium
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN113225767A (en) Monitoring management method, device, equipment and computer readable storage medium
CN113055984B (en) Terminal control method and device, mobile terminal and storage medium
CN110086835B (en) Application program control method, terminal, server and system
CN114546006B (en) Intelligent control method and system for cashew nut storage environment
CN114625603A (en) Abnormality prompting method, electronic device, and computer-readable storage medium
US10659594B2 (en) Context aware mobile personalization system and methods of use
CN112019410B (en) Data importing method and device of intelligent household equipment, server and storage medium
CN111105789A (en) Awakening word obtaining method and device
CN115294741B (en) Alarm message pushing method and device, terminal equipment and storage medium
CN115059987A (en) Air conditioner control method and device, air conditioner, electronic equipment and storage medium
CN115223076A (en) Behavior warning method, behavior warning device, behavior warning equipment and storage medium
CN107943268A (en) Schedule job control method, device, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant