CN114495462B - Alarm message processing method, device, computer equipment and storage medium - Google Patents

Alarm message processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114495462B
CN114495462B CN202111623465.9A CN202111623465A CN114495462B CN 114495462 B CN114495462 B CN 114495462B CN 202111623465 A CN202111623465 A CN 202111623465A CN 114495462 B CN114495462 B CN 114495462B
Authority
CN
China
Prior art keywords
message
alarm
keyword
information
configuration
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
CN202111623465.9A
Other languages
Chinese (zh)
Other versions
CN114495462A (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 Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau 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 Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202111623465.9A priority Critical patent/CN114495462B/en
Publication of CN114495462A publication Critical patent/CN114495462A/en
Application granted granted Critical
Publication of CN114495462B publication Critical patent/CN114495462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • 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/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Public Health (AREA)
  • Alarm Systems (AREA)

Abstract

The application relates to an alarm message processing method, an alarm message processing device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user; acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information; determining the message type according to the keyword information and the keyword type; when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller. When the operator on duty fails to check the alarm message in time, the terminal receives the power failure prompt message reported by the electricity user, judges whether the message data is the alarm message, and pushes a preset alarm instruction to the alarm controller when the message data is the alarm message, so that the alarm controller carries out braking alarm, and timely notifies the operator on duty to process the alarm event, thereby improving the efficiency of processing the alarm event.

Description

Alarm message processing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to an alarm message processing method, an alarm message processing apparatus, a computer device, a storage medium, and a computer program product.
Background
With the popularization of mobile communication tools and the development of traffic, the alarm modes are also more and more diversified, and the short message alarm gradually becomes a common alarm mode, so that the short message alarm service is applied in various industries.
Taking the power industry as an example, the normal operation of a power system is related to thousands of households and the normal development of industry and commerce, while in the construction of a transmission circuit of the power system, a 10kv power distribution network is an important component part, and whether the power system operates safely or not is directly related to the safe and stable power utilization of power utilization, and also reflects the power supply capacity of a power supply enterprise.
At present, the requirements of the production and living electricity on the power supply quality and the electricity safety are higher and higher requirements are correspondingly put forward on the operation and maintenance work of a distribution room, namely, the operation and maintenance work must be changed from 'passive rush repair' to 'active operation and maintenance'. The traditional circuit maintenance is that when the circuit breaks down, especially after the circuit switch trips, the power distribution operation staff performs the circuit rush-repair and further processes on the basis of receiving the user feedback circuit fault. In the traditional mode, human uncontrollable factors are numerous, uncertainty is large (such as the professional level of the on-duty personnel, the mobile phone is turned off, short message messages are easy to miss at night, and the like), alarm events cannot be processed in time, and the rush repair efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an alarm message processing method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the processing efficiency of alarm accidents in an electric power system.
In a first aspect, the present application provides a method for processing an alarm message. The method comprises the following steps:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In one embodiment, when determining that the message type is an alarm message according to an alarm keyword in the keyword information, pushing a preset alarm instruction to the alarm controller includes: when the message type is determined to be the alarm message according to the alarm key words in the key word information, a preset alarm instruction and message data are pushed to an alarm controller in a Lora wireless transmission mode.
In one embodiment, pushing the preset alarm command and the message data to the alarm controller through the Lora wireless transmission mode includes: determining an alarm area according to the keyword information; and pushing a preset alarm instruction and message data to an alarm controller of an alarm area through a Lora wireless transmission mode.
In one embodiment, after determining the message type according to the keyword information and the keyword type, the method further comprises: if the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
In one embodiment, the method further comprises: if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
In one embodiment, after determining the message type according to the keyword information and the keyword type, the method further comprises: if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
In a second aspect, the present application further provides an alarm message processing apparatus. The device comprises:
the receiving module is used for receiving prompt messages, wherein the prompt messages comprise power failure prompt alarm messages uploaded by a user;
the analysis module is used for acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
the message type determining module is used for determining the message type according to the keyword information and the keyword type;
and the alarm module is used for pushing a preset alarm instruction to the alarm controller when the message type is determined to be the alarm message according to the alarm keyword in the keyword information.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, performs the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
The alarm message processing method, the alarm message processing device, the computer equipment, the storage medium and the computer program product are used for receiving the prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user; acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information; determining the message type according to the keyword information and the keyword type; when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller. The method can be used for receiving the power failure prompt message reported by the electricity user by the terminal when the person on duty fails to check the alarm message in time to process the alarm event, analyzing the received message data, judging whether the message data is the alarm message, and pushing the preset alarm instruction to the alarm controller when the message data is the alarm message so as to enable the alarm controller to brake and alarm and timely inform the person on duty to process the alarm event, thereby improving the efficiency of processing the alarm event.
Drawings
FIG. 1 is an application environment diagram of a method of processing an alert message in one embodiment;
FIG. 2 is a flow diagram of a method of processing an alert message in one embodiment;
FIG. 3 is a flow diagram of alert transmission in one embodiment;
FIG. 4 is a block diagram of an alert message processing apparatus in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
At present, smart grids are actively planned and built at home and abroad, so as to respond to national calls and social development trends, improve economic benefits and ensure electricity consumption requirements of resident enterprises. However, the current power system alarm method cannot meet the fine management of the user demands, and aiming at the problem of low current alarm efficiency, the application of advanced sensing and measuring technology, advanced equipment technology, advanced control method and advanced decision support technology is utilized, so that the intelligent fire-fighting emergency response alarm message processing method is provided, a short message can be inquired, whether the short message is alarm information or not can be judged according to a short message keyword, the alarm information and the alarm position are judged, an maintainer is timely and accurately informed by matching with an audible and visual alarm, and timely response is performed, so that the safety and stability of a power system are ensured.
The application explains the alarm event of the power system by taking the alarm message processing method as an example, but the alarm message processing method provided by the application is not limited to the power field, and can be applied to other technical fields, such as the fields of fire alarm, medical first aid and the like, and the implementation principle is similar to that of the application.
The alarm message processing method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the alarm controller 104 via a wireless network. The terminal 102 receives a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user; acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information; determining the message type according to the keyword information and the keyword type; when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, a preset alarm instruction is pushed to the alarm controller 104. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like.
In one embodiment, as shown in fig. 2, there is provided an alarm message processing method, which is described by taking the terminal in fig. 1 as an example, and includes the following steps:
step 202, a hint message is received.
The prompting message comprises a power failure prompting alarm message uploaded by a user, and the prompting message can be short message data sent by the power supply user, an online reporting message and the like. The method and the device are used for explaining by receiving the short message data sent by the power supply user, the terminal is provided with a short message processing module, an alarm Sim card is loaded, and the message data of the power supply user is received.
Specifically, the terminal receives the user short message data through an SMS (Short Message Service ) thread. For example, the terminal loads a Sim900 short message module, 95598 is an alarm number, and is used for receiving an alarm message of a power supply user.
And 204, acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information.
Specifically, the terminal acquires message data through an Arian short message service thread, analyzes the message data, extracts short message content and acquires keyword information of the short message.
Step 206, determining the message type according to the keyword information and the keyword type.
The message types comprise an alarm message, a configuration message and an initialization setting message. Different message types are identified by keywords corresponding to the message types.
Specifically, the terminal determines the message type according to the keyword information and the keyword type through an Alicloud short message service thread.
Step 208, when the message type is determined to be the alarm message according to the alarm keyword in the keyword information, pushing a preset alarm instruction to the alarm controller.
Specifically, if the terminal judges that the received short message data contains an alarm keyword through an Arian short message service thread, the terminal judges that the received message data is an alarm message, and the terminal sends a preset alarm instruction to an alarm controller so that the alarm controller performs audible and visual alarm according to the preset alarm instruction and timely informs an operator on duty to process the alarm time.
In the alarm message processing method, a prompt message is received, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user; acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information; determining the message type according to the keyword information and the keyword type; when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller. The method can be used for receiving the power failure prompt message reported by the electricity user by the terminal when the person on duty fails to check the alarm message in time to process the alarm event, analyzing the received message data, judging whether the message data is the alarm message, and pushing the preset alarm instruction to the alarm controller when the message data is the alarm message so as to enable the alarm controller to brake and alarm and timely inform the person on duty to process the alarm event, thereby improving the efficiency of processing the alarm event. .
In an alternative embodiment, when determining that the message type is an alarm message according to an alarm keyword in the keyword information, pushing a preset alarm instruction to the alarm controller includes: when the message type is determined to be the alarm message according to the alarm key words in the key word information, a preset alarm instruction and message data are pushed to an alarm controller in a Lora wireless transmission mode.
Specifically, the terminal is preconfigured with an alarm keyword to identify an alarm message and an alarm region, and an administrator can take address information of a region where medium voltage power failure frequently occurs and a key monitoring region or keywords such as power failure and power failure as alarm keywords according to operation and maintenance experience. If the terminal identifies that the keyword information contains an alarm keyword (for example, the terminal contains a preset alarm area) through the Ali cloud short message service thread, the message is judged to be an alarm message, a preset alarm instruction and message data are transmitted to the alarm controller, so that the alarm controller controls the alarm device to alarm according to the preset alarm instruction after receiving the preset alarm instruction and the message data, the content of the message data can be broadcasted, and the power supply of the alarm controller can be 9V1A. The preset alarm instruction can be an audible alarm, a lamplight flashing alarm or an audible and visual combined alarm. The power supply of the alarm can be 12V1A (the square alarm is 9V 1A). When the staff receives the alarm prompt, the alarm can be closed in a braking mode to process an alarm event. The intelligent power supply and distribution are realized, and the aims of reliability, safety, economy, high efficiency, environmental friendliness and safety in use of the power grid are realized.
In an alternative embodiment, as shown in fig. 3, pushing the preset alarm command and the message data to the alarm controller through the Lora wireless transmission mode includes:
step 302, determining an alarm area according to the keyword information.
Specifically, the terminal extracts keyword information through an Arian short message service thread, extracts address information according to the keyword information, and takes the address information as an alarm area.
Step 304, pushing preset alarm instructions and message data to an alarm controller of an alarm area in a Lora wireless transmission mode.
Specifically, the terminal transmits the alarm message to the Lora host through the Lora wireless transmission network, and transmits the alarm message to the alarm controller of the alarm area through the Lora host. The Lora host can be realized through a Latte panda, and the alarm controller can realize the starting and the interruption of the alarm through an Arduino.
For example, when the circuit fails, a power supply user reports a line failure through 95598, a medium-voltage emergency repair fire-fighting response terminal in the distribution network judges whether an alarm message is generated or not through an Arin cloud short message service thread, and when the alarm message is identified, a preset alarm instruction is transmitted to an alarm controller through a Lora wireless transmission mode. And the alarm controller receives a preset alarm instruction sent by the medium-voltage emergency repair fire-fighting response terminal of the distribution network in a wireless mode, and transmits a Lora signal to Arduino for processing, so as to control the starting and the interruption of the alarm.
In the embodiment, the alarm area is determined by extracting the address information in the short message keyword information, and then the alarm information is transmitted to the alarm controller of the alarm area according to the Lora gateway, so that the efficiency of alarm processing is improved, and operators on duty in different areas can process alarm events in time according to the alarm information.
In an alternative embodiment, after determining the message type according to the keyword information and the keyword type, the method further comprises: if the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
Specifically, the terminal is preconfigured with a configuration keyword to identify the configuration message, for example, the terminal can use the configuration information as the identification keyword of the configuration message, and when the fact that the configuration message keyword exists in the short message is identified, the type of the short message data is judged to be the configuration message, and the configuration information is generally information sent by an administrator. The terminal stores a preset configuration information template in advance to identify configuration information, when judging that the message data is a configuration message, the terminal judges whether the content of the message data accords with the preset configuration information template through an Arian short message service thread, when judging that the content of the message data accords with the preset configuration information template, the terminal extracts the configuration information according to the preset configuration information template, and modifies or increases the alarm keywords according to the configuration information to obtain updated alarm keywords.
For example, if the preset configuration information template is "configuration information XXX (XXX is an existing alert keyword) is changed to XXXX (XXXX is new alert keyword information, where the length of english characters in the keyword must not exceed 10)", the short message conforming to the preset configuration information template may be:
1: the eastern path of the configuration information is changed into the star-light large path (other characters are not added behind the star-light large path, otherwise, the keywords are changed into the star-light large path).
2: the configuration information Oriental way is changed to Oriental way number 18 (adding content before and after old keywords is not recommended).
3: the eastern way of the configuration information is changed into the eastern way (adding symbols before and after the old keywords is not recommended).
The short message which does not accord with the preset configuration information template can be:
1: the eastern path of the configuration information is changed into complaints (the complaint keywords exist).
2: the configuration information Orient way is changed into Orient way (same keyword).
3: one path of the configuration information is changed to the project part load rate of more than 95 percent (more than 10 characters).
4: one path of the configuration information is changed into an operation part (missing a more word, and three words of changing are necessarily existed).
5: the eastern way is changed into penguin world (missing "configuration information").
The configuration information can also be a newly added keyword, and the newly added alarm keyword is extracted according to a preset newly added preset configuration information template. For example, if the preset newly-added preset configuration information template is "configuration information newly-added keyword", the correct newly-added configuration information content may be "configuration information newly-added keyword 1 is changed to be a project part", or "configuration information newly-added keyword 2 is changed to be an operation part".
In the embodiment of the application, the alarm keywords are changed through the configuration information, so that the alarm information can be responded according to the application requirements in time, and the flexibility of alarm event processing is improved.
In an alternative embodiment, the method further comprises: if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
Specifically, when the terminal judges that the content of the message data does not accord with the preset configuration information template through the Ali cloud short message service thread, pushing the configuration failure prompt information and the preset configuration information template to a configuration information sender, namely an administrator.
In an alternative embodiment, after determining the message type according to the keyword information and the keyword type, the method further comprises: if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
Specifically, the terminal is preconfigured with an initialization setting keyword to identify the initialization setting message, if the terminal can use the configuration message and the factory restoration keyword which are simultaneously present as the initialization setting keywords, and when the fact that the configuration message and the factory restoration keyword are present in the short message is identified, the type of message data is judged to be the initialization setting message, then an alarm keyword in the keyword type is initialized to obtain the initialized alarm keyword, the alarm keyword can be updated by using a data table, and configuration records of each time are reserved.
For example, the correct initialization setup message may be: the configuration information is restored to factory keywords, if the original alarm keywords are macro-originating areas, eastern paths, white roads, off-site switches, on-site switches, load rates of over 95 percent, load rates of over 98 percent, complaints, signal-collecting cities, combined casting eastern, pine and river vineyard, eastern roads, red star grid distribution villages and the like, after the alarm keywords are initialized, the alarm keywords are changed according to the configuration information and are invalid, and the initialized alarm keywords are macro-originating areas, eastern paths, white roads, off-site switches, on-site switches, load rates of over 95 percent, load rates of over 98 percent, complaints, signal-collecting cities, combined casting eastern, pine and river vineyard, eastern roads and red star grid distribution villages.
In order to easily understand the technical solution provided in the embodiments of the present application, the alarm message processing method provided in the embodiments of the present application is briefly described in a complete alarm message processing procedure:
(1) And receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user.
(2) And acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information.
(3) And determining the message type according to the keyword information and the keyword type.
(4) When the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
(5) If the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information. If the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
(6) If the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an alarm message processing device for realizing the above related alarm message processing method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more alarm message processing devices provided below may refer to the limitation of the alarm message processing method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 4, there is provided an alarm message processing apparatus including: a receiving module 402, a parsing module 404, a message type determining module 406, and an alerting module 408, wherein:
a receiving module 402, configured to receive a prompt message, where the prompt message includes a power outage prompt alarm message uploaded by a user;
the parsing module 404 is configured to obtain message data according to the prompt message, parse the message data, and obtain keyword information;
a message type determining module 406, configured to determine a message type according to the keyword information and the keyword type;
and the alarm module 408 is configured to push a preset alarm instruction to the alarm controller when the message type is determined to be an alarm message according to the alarm keyword in the keyword information.
In an alternative embodiment, the alarm module 408 is further configured to push the preset alarm instruction and the message data to the alarm controller through the Lora wireless transmission mode when the message type is determined to be the alarm message according to the alarm keyword in the keyword information.
In an alternative embodiment, the alarm module 408 is further configured to determine an alarm region based on the keyword information; and pushing a preset alarm instruction and message data to an alarm controller of an alarm area through a Lora wireless transmission mode.
In an optional embodiment, the alarm message processing apparatus further includes a configuration module, configured to determine whether the content of the message data is legal if the message type is a configuration message; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
In an optional embodiment, the configuration module is further configured to push the configuration failure prompt information and the preset configuration information template if the content of the message data is illegal.
In an alternative embodiment, the root alarm message processing device further includes an initialization setting module, configured to initialize the alarm keywords in the keyword type if the message type is the initialization setting message, to obtain an initialized alarm keyword.
The various modules in the alarm message processing apparatus described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of alarm message processing. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In one embodiment, the processor when executing the computer program further performs the steps of: when the message type is determined to be the alarm message according to the alarm keyword in the keyword information, pushing the preset alarm instruction to the alarm controller comprises: when the message type is determined to be the alarm message according to the alarm key words in the key word information, a preset alarm instruction and message data are pushed to an alarm controller in a Lora wireless transmission mode.
In one embodiment, the processor when executing the computer program further performs the steps of: pushing the preset alarm instruction and the message data to the alarm controller through the Lora wireless transmission mode comprises the following steps: determining an alarm area according to the keyword information; and pushing a preset alarm instruction and message data to an alarm controller of an alarm area through a Lora wireless transmission mode.
In one embodiment, the processor when executing the computer program further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
In one embodiment, the processor when executing the computer program further performs the steps of: the method further comprises the steps of: if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
In one embodiment, the processor when executing the computer program further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the message type is determined to be the alarm message according to the alarm keyword in the keyword information, pushing the preset alarm instruction to the alarm controller comprises: when the message type is determined to be the alarm message according to the alarm key words in the key word information, a preset alarm instruction and message data are pushed to an alarm controller in a Lora wireless transmission mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: pushing the preset alarm instruction and the message data to the alarm controller through the Lora wireless transmission mode comprises the following steps: determining an alarm area according to the keyword information; and pushing a preset alarm instruction and message data to an alarm controller of an alarm area through a Lora wireless transmission mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method further comprises the steps of: if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
In one embodiment, the computer program when executed by the processor further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type;
when the message type is determined to be the alarm message according to the alarm keywords in the keyword information, pushing a preset alarm instruction to an alarm controller.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the message type is determined to be the alarm message according to the alarm keyword in the keyword information, pushing the preset alarm instruction to the alarm controller comprises: when the message type is determined to be the alarm message according to the alarm key words in the key word information, a preset alarm instruction and message data are pushed to an alarm controller in a Lora wireless transmission mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: pushing the preset alarm instruction and the message data to the alarm controller through the Lora wireless transmission mode comprises the following steps: determining an alarm area according to the keyword information; and pushing a preset alarm instruction and message data to an alarm controller of an alarm area through a Lora wireless transmission mode.
In one embodiment, the computer program when executed by the processor further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the configuration message, judging whether the content of the message data is legal or not; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method further comprises the steps of: if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
In one embodiment, the computer program when executed by the processor further performs the steps of: after determining the message type according to the keyword information and the keyword type, the method further comprises the following steps: if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of processing an alarm message, the method comprising:
receiving a prompt message, wherein the prompt message comprises a power failure prompt alarm message uploaded by a user; the prompt message is received through a loaded short message service thread;
acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
determining the message type according to the keyword information and the keyword type; the message types comprise alarm messages, configuration messages and initialization setting messages; the configuration message is identified through a configuration keyword; the configuration message is used for modifying or adding the alarm key words;
when the message type is determined to be an alarm message according to an alarm keyword in the keyword information, extracting the keyword information through an Ali cloud short message service thread, extracting address information according to the keyword information, and taking the address information as an alarm area; and pushing a preset alarm instruction through a Lora wireless transmission mode and sending the message data to an alarm controller of an alarm area.
2. The method of claim 1, wherein after determining the message type based on the keyword information and the keyword type, further comprising:
if the message type is the configuration message, judging whether the content of the message data is legal or not;
if the content of the message data is legal, extracting configuration information in the message data;
and updating the alarm keywords in the keyword types according to the configuration information.
3. The method according to claim 2, wherein the method further comprises:
if the content of the message data is illegal, pushing configuration failure prompt information and a preset configuration information template.
4. The method of claim 1, wherein after determining the message type based on the keyword information and the keyword type, further comprising:
if the message type is the initialization setting message, initializing the alarm keywords in the keyword type to obtain the initialized alarm keywords.
5. An alarm message processing apparatus, the apparatus comprising:
the receiving module is used for receiving prompt messages, wherein the prompt messages comprise power failure prompt alarm messages uploaded by a user; the prompt message is received through a loaded short message service thread;
the analysis module is used for acquiring message data according to the prompt message, and analyzing the message data to obtain keyword information;
the message type determining module is used for determining the message type according to the keyword information and the keyword type; the message types comprise alarm messages, configuration messages and initialization setting messages; the configuration message is identified through a configuration keyword; the configuration message is used for modifying or adding the alarm key words;
the alarm module is used for extracting the keyword information through an Ali cloud short message service thread when the message type is determined to be an alarm message according to the alarm keyword in the keyword information, extracting the address information according to the keyword information and taking the address information as an alarm area; and pushing a preset alarm instruction through a Lora wireless transmission mode and sending the message data to an alarm controller of an alarm area.
6. The apparatus of claim 5, wherein the alarm message processing apparatus further comprises a configuration module configured to determine whether the content of the message data is legal if the message type is a configuration message; if the content of the message data is legal, extracting configuration information in the message data; and updating the alarm keywords in the keyword types according to the configuration information.
7. The apparatus of claim 6, wherein the configuration module is further configured to push a configuration failure indication message and a preset configuration information template if the content of the message data is illegal.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202111623465.9A 2021-12-28 2021-12-28 Alarm message processing method, device, computer equipment and storage medium Active CN114495462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111623465.9A CN114495462B (en) 2021-12-28 2021-12-28 Alarm message processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111623465.9A CN114495462B (en) 2021-12-28 2021-12-28 Alarm message processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114495462A CN114495462A (en) 2022-05-13
CN114495462B true CN114495462B (en) 2024-03-22

Family

ID=81496809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111623465.9A Active CN114495462B (en) 2021-12-28 2021-12-28 Alarm message processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114495462B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201200413D0 (en) * 2012-01-11 2012-02-22 Accenture Global Services Ltd Analysis system for test artifact generation
CN106443345A (en) * 2016-10-08 2017-02-22 国电南瑞科技股份有限公司 Fault positioning system and method for overhead power distribution line
CN108053042A (en) * 2017-12-29 2018-05-18 国网山东省电力公司嘉祥县供电公司 A kind of outage information is reported and submitted and delivery system
CN109981202A (en) * 2017-12-27 2019-07-05 西安中兴新软件有限责任公司 A kind of method and apparatus of vehicle broadcast alarm
CN110738329A (en) * 2019-09-06 2020-01-31 国网浙江桐乡市供电有限公司 first-aid repair informing method based on cloud platform
CN110807726A (en) * 2019-11-12 2020-02-18 软通动力信息技术有限公司 Method, device, equipment and storage medium for processing reported event
KR20200092656A (en) * 2019-01-25 2020-08-04 양찬들 Method for providing famaily event managment service using auto and manual mode
CN111681397A (en) * 2020-06-29 2020-09-18 广东电网有限责任公司梅州供电局 Distribution network automation short message sending method, sending system and storage medium
CN112233385A (en) * 2020-09-25 2021-01-15 国家卫星气象中心(国家空间天气监测预警中心) Service fault early warning system
KR20210041313A (en) * 2019-10-07 2021-04-15 한전케이디엔주식회사 Apparatus and method for processing alarm message of electric power system
CN113468023A (en) * 2021-07-09 2021-10-01 中国电信股份有限公司 Monitoring method, monitoring device, monitoring medium and electronic equipment
CN113570474A (en) * 2021-06-30 2021-10-29 国网江苏省电力有限公司南京供电分公司 Monitoring system for power grid event response

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9015343B2 (en) * 2010-11-23 2015-04-21 Centurylink Intellectual Property Llc User control over content delivery

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201200413D0 (en) * 2012-01-11 2012-02-22 Accenture Global Services Ltd Analysis system for test artifact generation
CN106443345A (en) * 2016-10-08 2017-02-22 国电南瑞科技股份有限公司 Fault positioning system and method for overhead power distribution line
CN109981202A (en) * 2017-12-27 2019-07-05 西安中兴新软件有限责任公司 A kind of method and apparatus of vehicle broadcast alarm
CN108053042A (en) * 2017-12-29 2018-05-18 国网山东省电力公司嘉祥县供电公司 A kind of outage information is reported and submitted and delivery system
KR20200092656A (en) * 2019-01-25 2020-08-04 양찬들 Method for providing famaily event managment service using auto and manual mode
CN110738329A (en) * 2019-09-06 2020-01-31 国网浙江桐乡市供电有限公司 first-aid repair informing method based on cloud platform
KR20210041313A (en) * 2019-10-07 2021-04-15 한전케이디엔주식회사 Apparatus and method for processing alarm message of electric power system
CN110807726A (en) * 2019-11-12 2020-02-18 软通动力信息技术有限公司 Method, device, equipment and storage medium for processing reported event
CN111681397A (en) * 2020-06-29 2020-09-18 广东电网有限责任公司梅州供电局 Distribution network automation short message sending method, sending system and storage medium
CN112233385A (en) * 2020-09-25 2021-01-15 国家卫星气象中心(国家空间天气监测预警中心) Service fault early warning system
CN113570474A (en) * 2021-06-30 2021-10-29 国网江苏省电力有限公司南京供电分公司 Monitoring system for power grid event response
CN113468023A (en) * 2021-07-09 2021-10-01 中国电信股份有限公司 Monitoring method, monitoring device, monitoring medium and electronic equipment

Also Published As

Publication number Publication date
CN114495462A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN103095829B (en) Realize the network contact list system of version management and rights management
CN103533084A (en) Real-time DMS (device management system) of B/S (browser/server) framework and method thereof
CN110851278A (en) Distribution network automation master station mobile application service management method and system based on micro-service architecture
CN107704904B (en) Gas equipment management system and method and mobile terminal
CN113254445B (en) Real-time data storage method, device, computer equipment and storage medium
CN109933634B (en) Power system graph drawing method based on power radiation range
CN103955865A (en) Scheduled and faulted power outage range visualization method based on information interaction
CN106301968A (en) The processing method of a kind of terminal data, Apparatus and system
CN104581806A (en) Method and terminal for monitoring service system
CN103295164A (en) Power grid safety monitoring management information system and management method
CN105376266A (en) Remote pump station monitoring system based on mobile terminal
CN114495462B (en) Alarm message processing method, device, computer equipment and storage medium
CN114244864B (en) Cross-region interconnection detection method and device for power monitoring system and computer equipment
CN103473634A (en) Digital audio-video library maintenance monitoring method
CN106937240A (en) A kind of method and apparatus for obtaining resource
CN115795359A (en) Signal type distinguishing method and device and computer equipment
Zolotova et al. Architecture for a universal mobile communication module
CN106530137A (en) Running platform for remotely and automatically acquiring electric power data information
CN111062009A (en) Power system information authority management method, system, terminal and storage medium
CN105511424A (en) Production monitoring system and method based on mobile terminal
CN112688435B (en) Comprehensive monitoring method, device, control system and storage medium for power grid
CN109218437A (en) Office management system
CN116995816B (en) Power supply data processing platform and method based on artificial intelligence
CN115118497B (en) Edge gateway point-to-point method, device, computer equipment and storage medium
CN116827558A (en) Multistage password remote power-off control system

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