CN113157534A - Alarm management method - Google Patents

Alarm management method Download PDF

Info

Publication number
CN113157534A
CN113157534A CN202110250877.6A CN202110250877A CN113157534A CN 113157534 A CN113157534 A CN 113157534A CN 202110250877 A CN202110250877 A CN 202110250877A CN 113157534 A CN113157534 A CN 113157534A
Authority
CN
China
Prior art keywords
alarm
data
management method
monitoring interface
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110250877.6A
Other languages
Chinese (zh)
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.)
Guoneng Information Technology Co ltd
Original Assignee
Guoneng Information 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 Guoneng Information Technology Co ltd filed Critical Guoneng Information Technology Co ltd
Priority to CN202110250877.6A priority Critical patent/CN113157534A/en
Publication of CN113157534A publication Critical patent/CN113157534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Abstract

The invention discloses an alarm management method, which is applied to a client with a data service function and an alarm monitoring interface, and comprises the following steps: acquiring current alarm data based on a TCP (transmission control protocol); detecting whether the alarm monitoring interface normally operates; if the monitoring system is in normal operation, the alarm data is pushed to an alarm monitoring interface; and if the operation is abnormal, the alarm data is pushed to a message prompt window of the client. The client has a data service function and can locally process alarm data; when the browser is in the closed state, the alarm data can be timely notified to the user. The client and the server communicate based on the TCP protocol, so that the stability of alarm data interaction is guaranteed, the occurrence frequency of safety accidents is reduced, and the safety and reliability of the production monitoring system are improved. The data service function and the alarm monitoring interface are deployed on the same machine, so that data communication failure or delay caused by network problems is avoided.

Description

Alarm management method
Technical Field
The invention relates to the technical field of industrial automation, in particular to an alarm management method.
Background
In the field of industrial automation, production monitoring systems are computer-based automation systems for controlling and scheduling production processes, which are the basis for realizing industrial automation. At present, the alarm management mode of a production monitoring system comprises two implementation modes: one is based on the C/S (Client/Server) architecture, and the other is based on the B/S (browser/Server) architecture.
In the production monitoring system based on the C/S architecture, the client HMI has certain data processing and data storage capacity, and the calculation and data of the application software are reasonably distributed at the two ends of the client and the server, so that the network communication traffic and the server calculation traffic can be effectively reduced; meanwhile, the client side bears part of the tasks of processing and storing alarm data, and the data transmission protocol adopts a Transmission Control Protocol (TCP), so that the stability of data interaction is ensured. However, the method has the main problems that the client needs to continuously upgrade the software, the maintenance amount is large, and cross-platform cannot be realized.
In the production monitoring system based on the B/S framework, the alarm interface can be displayed only by installing a browser on the client, and the browser performs data interaction with the database through application service, so that the load of a client computer is greatly simplified, and the cost and the workload of system maintenance and upgrading are reduced. Although the method simplifies the installation, deployment and maintenance processes, the data interaction between the client and the server adopts an HTTP protocol, and the communication state between the request and the response is not stored, so that the method is not stable and reliable; and under the condition that the browser is closed, if an alarm occurs, the user cannot receive the alarm information.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the alarm management method can guarantee the stability of alarm data interaction and can also guarantee that a browser is in an open or closed state and can timely inform a user of alarm information.
In order to solve the technical problem, the invention provides an alarm management method, which is applied to a client deployed with a data service function and an alarm monitoring interface and comprises the following steps:
acquiring current alarm data based on a TCP (transmission control protocol);
detecting whether the alarm monitoring interface normally operates;
if the alarm monitoring interface is in normal operation, the alarm data is pushed to the alarm monitoring interface and displayed;
and if the operation is abnormal, pushing the alarm data to a message prompt window of the client and displaying the alarm data.
Optionally, if the alarm monitoring interface normally operates, pushing the alarm data to the alarm monitoring interface and displaying further includes:
and acquiring alarm graphic data based on an HTTP (hyper text transport protocol), and displaying the alarm graphic data on the alarm monitoring interface.
Optionally, the method further comprises acquiring alarm application data based on the HTTP protocol.
Optionally, the method further comprises obtaining an alarm record, wherein the alarm record comprises at least one of alarm description, alarm level, alarm classification and alarm time.
Optionally, the acquiring current alarm data based on the TCP protocol includes:
and acquiring one or more of alarm grade, alarm type and alarm classification based on the TCP protocol.
Optionally, the alarm type includes a displacement alarm, an overrun alarm, a deviation alarm or a change rate alarm; the alarm classification corresponds to a business scenario of the production monitoring system.
Optionally, when the alarm monitoring interface is not in normal operation, the method further includes:
and when the alarm record is received, the alarm record is broadcasted in a voice mode.
In order to solve the technical problem, the invention provides an alarm management method, which is applied to a server and comprises the following steps:
acquiring current alarm data;
and judging whether the current alarm data meets an alarm condition, and if so, sending the alarm data based on a TCP (transmission control protocol).
Optionally, sending alarm graphic data and/or alarm application data based on an HTTP protocol if the alarm condition is met.
Optionally, if the alarm condition is met, generating an alarm record based on the current alarm data, where the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
Optionally, the generating an alarm record based on the current alarm data includes:
and judging whether the alarm grade of the current alarm data reaches a preset grade, and if so, generating the alarm record.
In order to solve the above technical problem, the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any one of the above aspects.
To solve the above technical problem, the present invention provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor implements the method according to any one of the above.
Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:
the scheme of the invention is applied to a client terminal with a data service function and an alarm monitoring interface, when in alarm management, the client terminal obtains current alarm data based on a TCP protocol and detects whether the alarm monitoring interface normally operates, if so, the alarm data is pushed to the alarm monitoring interface and displayed, and if not, the alarm data is pushed to a message prompt window of the client terminal and displayed.
Therefore, the client has the data service function, so that the alarm data can be processed locally without depending on a server; when the alarm monitoring interface is abnormally operated, the alarm data can be displayed through a local message prompt window of the client, and the client can inform the user of the alarm data in time even if the browser is in a closed state.
In addition, the client and the server communicate based on the TCP protocol, so that the stability of alarm data interaction is guaranteed, the occurrence frequency of safety accidents is reduced, and the safety and reliability of the production monitoring system are improved.
In addition, the client data service function and the alarm monitoring interface are deployed on the same machine, so that data communication failure or delay caused by network problems can be avoided.
Drawings
The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. Wherein the included drawings are:
FIG. 1 is a schematic diagram of a production monitoring system according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alarm management method according to an embodiment of the present invention;
FIG. 3 is another flow chart of an alarm management method according to an embodiment of the present invention;
fig. 4 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the following will describe in detail an implementation method of the present invention with reference to the accompanying drawings and embodiments, so that how to apply technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
In the prior art, production monitoring systems based on C/S architecture or based on B/S architecture are two common architectures. The production monitoring system based on the C/S framework can effectively reduce network communication traffic and server computation, but a client needs to continuously upgrade software, so that the maintenance amount is large, and cross-platform cannot be realized; the production monitoring system based on the B/S framework simplifies the computer load of a client, reduces the cost and workload of system maintenance and upgrading, but is not stable and reliable enough, and a user cannot receive alarm information if the browser is closed and an alarm occurs.
In order to ensure the stability of alarm data interaction and ensure that a browser can timely notify a user of alarm information in an open or closed state, the invention provides an alarm management method, as shown in fig. 1, which is an alarm management architecture diagram provided by an embodiment of the invention, and mainly relates to a client, a server and a collection end, wherein the collection end is connected with each sensor, each sensor of the collection end is used for collecting corresponding data in real time, and it needs to be emphasized that the invention is different from a traditional C/S architecture or a traditional B/S architecture, and a data service function and an alarm monitoring interface are simultaneously deployed at the client, that is, an alarm management scheme provided by the scheme of the invention is based on an architecture (a fusion architecture for short) in which the C/S architecture and the B/S architecture are fused.
The alarm monitoring interface adopts a B/S framework, an alarm can be directly checked through a browser, but the browser is easy to close, each request sent by a client needs to be sent back by a server to respond, and after the request is finished, connection can be actively released, the process is short, and the safety and reliability of the monitoring system are most important. Therefore, in order to improve the reliability of alarm data transmission, the data service function is deployed at the client, and data communication between the browser and the alarm service is completed through the data service function of the client, so that the frequently-changed data transmission adopts a TCP (transmission control protocol), and the data comprises real-time alarm data and historical alarm data; and the related application data such as the graph and the component configuration information are transmitted through the HTTP protocol, and the two data are interacted at the same time and are not interfered with each other.
The following describes the alarm management method provided by the embodiment of the present invention in detail.
As shown in fig. 2, a flowchart of an alarm management method provided in an embodiment of the present invention is applied to a client deployed with a data service function and an alarm monitoring interface, and the alarm management method may include the following steps:
step S101: and acquiring current alarm data based on a TCP protocol.
In the fusion framework, the client acquires data based on the connection-oriented TCP, so that the stability of data interaction is ensured.
Step S102: and detecting whether the alarm monitoring interface normally operates, if so, executing the step S103, and if not, executing the step S104.
The alarm corresponding to the B/S architecture part in the fusion architecture is given through the alarm monitoring interface, although the B/S architecture part can simplify the installation, deployment and maintenance process, the data interaction between the client and the server adopts an HTTP protocol which is a stateless protocol, and the communication state between the request and the response is not stored by the HTTP protocol, namely the protocol does not carry out persistence processing on the sent request or response, so that the HTTP protocol is not stable and reliable enough. And if the browser is closed and an alarm occurs, the user cannot receive the alarm information. In view of this, step S102 divides the alarm into two cases, namely normal operation and abnormal operation of the alarm monitoring interface, and pushes the alarm data in two ways, that is, when the alarm monitoring interface is in normal operation, the alarm data is pushed to the alarm monitoring interface and displayed according to step S103, and when the alarm monitoring interface is in abnormal operation (including abnormal operation or exit), the alarm data is pushed to the message prompt window of the client and displayed according to step S104.
Step S103: and pushing the alarm data to the alarm monitoring interface and displaying the alarm data.
It should be noted that, in step S103, the alarm data is pushed to the alarm monitoring interface and displayed, corresponding to the B/S architecture part in the above fusion architecture, where the WEB browser is the most important application software of the client, the alarm monitoring interface is implemented by a browser, and only one browser needs to be installed on the client, and the browser performs data interaction with the database through the application service, so as to greatly simplify the computer load of the client, and reduce the cost and workload of system maintenance and upgrade.
Step S104: and pushing the alarm data to a message prompt window of the client and displaying the alarm data.
It should be noted that, step S104 pushes the alarm data to the message prompt window of the client, and corresponding to the C/S architecture part in the above fusion architecture, the data service function deployed by the client is an improvement of the production monitoring system based on the traditional C/S architecture, and the calculation and data of the application software are reasonably distributed at both ends of the client and the server, so that the client has a certain data processing and data storage capability, and is no longer an input and output device without any calculation capability, thereby effectively reducing the network traffic and the server calculation amount.
Preferably, the alarm prompt can be performed by sound, light and the like, so as to improve the success rate of receiving the alarm. The sound alarm can comprise a voice broadcast alarm, and the light alarm can comprise a flash light prompt alarm. For example, when the alarm monitoring interface is abnormally operated, the method further comprises the step of broadcasting the alarm record in voice when the alarm record is received. Of course, the present invention is not limited to the specific manner of the alarm prompt. In addition, the alarm voice can be customized according to different alarm levels and alarm records, so that a user can receive the alarm information in the first time by listening and watching in two modes, and the user can respond and process the alarm information in time.
Therefore, the client has the data service function, so that the alarm data can be processed locally without depending on a server; when the alarm monitoring interface is abnormally operated, the alarm data can be displayed through a local message prompt window of the client, and the client can inform the user of the alarm information in time even if the browser is in a closed state; in addition, the client and the server communicate based on the TCP protocol, so that the stability of alarm data interaction is guaranteed, the occurrence frequency of safety accidents is reduced, and the safety and reliability of the production monitoring system are improved. In addition, the client data service function and the alarm monitoring interface are deployed on the same machine, so that data communication failure or delay caused by network problems can be avoided.
In an embodiment of the present invention, when the alarm monitoring interface operates normally, the method further includes obtaining alarm graphic data based on an HTTP protocol, and displaying the alarm graphic data on the alarm monitoring interface.
In another embodiment of the present invention, the method further comprises obtaining alert application data based on the HTTP protocol.
In one implementation, the method further comprises obtaining an alarm record, wherein the alarm record comprises at least one of alarm description, alarm level, alarm classification and alarm time.
In another embodiment of the present invention, the acquiring the current alarm data based on the TCP protocol includes: and acquiring one or more of alarm grade, alarm type and alarm classification based on the TCP protocol. Specifically, the alarm types comprise displacement alarm, overrun alarm, deviation alarm or change rate alarm; the alarm classification corresponds to a business scenario of the production monitoring system.
Specifically, the alarm types can include displacement alarm, overrun alarm, deviation alarm, change rate alarm and combination alarm, so as to meet the requirements of different scenes on alarm. The displacement alarm is generally used for on-off type alarm, and a production monitoring system can be provided with 0-bit alarm and also can be provided with 1-bit alarm. The overrun alarm is generally used for analog quantity alarm, the overrun alarm comprises an overrun limit, an ultralow limit, an ultrahigh limit and an ultralow limit, the limit can be set according to actual service scenes, and the production monitoring system can trigger the alarm as long as the limit is judged to be exceeded. The deviation alarm is generally used in a scene that the analog quantity deviates from a set value by too large amplitude, and the system can trigger the alarm when judging that the deviation of the real-time value of the analog quantity and the set value reaches the limit. The change rate alarm is generally used for scenes with overlarge analog quantity value change amplitude, and the alarm can be triggered by judging that the change rate of an analog quantity point reaches the limit by a system. The four types are only suitable for single-point alarm, while the combined alarm is generally used for multi-point alarm, and the alarm can be triggered when a plurality of points simultaneously meet the condition. It should be noted that the types of alarms listed herein are only specific examples provided by the present invention and should not be construed as limiting the present invention.
In one example, alarm configuration software for a user to access at any time is deployed at a server and used for defining an alarm level, an alarm type, an alarm category, an alarm condition and an associated alarm picture, and the user can directly open the alarm configuration software through a browser.
Furthermore, alarm strategy configuration is also required to be completed in alarm configuration software, alarm conditions are set according to specific service requirements, alarm points are set to be in different grades, alarm types are set, alarm classification and alarm description are set according to actual service fields, and alarm pictures and alarm voices related to each alarm record are configured, so that a user can inquire and screen alarm information quickly and locate alarm occurrence positions quickly. After alarm strategy configuration is completed, alarm strategy information is directly updated to the alarm service of the server side in the figure 1 through alarm configuration software, the alarm service judges whether an alarm condition is met or not in real time according to the alarm configuration strategy, and if the alarm condition is met, the alarm is triggered, an alarm record is generated, the alarm is recorded, the alarm is pushed, and the alarm is stored.
Preferably, if the alarm type is an analog quantity point, an alarm threshold value needs to be set, so that the analog quantity value is prevented from shaking back and forth, and the false alarm rate is reduced.
Specifically, the alarm data may be divided into different levels according to the importance degree of the alarm information, and the number of the alarm levels may be configured according to the complexity of the production monitoring system, preferably, the system may default to provide 4 alarm levels, which are 1 to 4 levels respectively, where the 1 level alarm represents the most important alarm, and the 4 level alarm represents the alarm with a lower user response level. It should be noted that the present invention is only exemplary and is not limited to the embodiments of the present invention.
Specifically, alarm classification can be customized according to actual business scenes, for example, the electric power industry can define the alarm classification as a boiler, a steam turbine, electricity and the like, and the coal industry can be divided into fully mechanized mining, tunneling, ventilation, drainage and the like, so that classified query of users is facilitated, and alarm information can be quickly positioned.
In one embodiment of the invention, a C # language development client data service may be used for alarm data interaction watch, running in the operating system tray area. When an abnormal condition occurs in the production process, the alarm service pushes an alarm message to a client data service through a TCP protocol, and the data service realizes the functions of warning by a prompt tone and warning by a speech warning component through a Microsoft System. After receiving the alarm information, a user double-clicks the tray icon, a client data service program opens a browser Process by calling a Process API, and opens and positions a corresponding HMI alarm monitoring picture by setting browser Process parameters, wherein the alarm monitoring picture calls WEB application service by WEB application through an HTTP protocol to obtain data for the user to quickly check.
The content set in the browser process parameter is configured through alarm configuration software, an alarm record generated by the alarm service needs to contain configuration information, and then the client data service analyzes the configuration information in the alarm record and sets the configuration information as the browser process parameter content, so that a corresponding alarm monitoring picture can be accurately positioned.
It should be noted that the client data service developed by using the C # language is a preferred implementation manner provided by the embodiment of the present invention, and should not be construed as a limitation to the scheme of the present invention.
In another embodiment of the present invention, the alarm condition determination may be implemented based on the NCalc tool.
Specifically, the alarm types comprise displacement alarm, out-of-limit alarm, deviation alarm, change rate alarm and combination alarm, and the alarm conditions configured by different alarm types are different. The alarm service judges whether an alarm occurs by calling a calculation engine to obtain a calculation result, the calculation engine adopts a lightweight open source free component NCalc which can analyze a C # expression during running, and the tool supports the following characteristics: supporting arithmetic operators, relational operators, and logical operators; supporting expression grouping and brackets, and an increasing and decreasing operator; the method supports expression attribute access and dynamic types, and supports + operation of character strings; support functions supported by a processing system.Math; supporting to calculate a custom function; custom parameters are supported.
All judgment condition expressions are configured in alarm configuration software, the content of the expression is analyzed by an alarm service, a calculation engine is called for calculation, the alarm service judges whether an alarm condition is satisfied after receiving a result returned by the calculation engine, if so, an alarm record is generated, and the record is pushed to client data service.
It should be noted that the alarm condition determination implemented based on the NCalc tool is a specific implementation manner provided by the present invention, and should not be construed as a limitation on the scheme of the present invention.
Corresponding to the alarm management method shown in fig. 2, an embodiment of the present invention further provides an alarm management method applied to the server at the server side in fig. 1. As shown in fig. 3, another flowchart of an alarm management method provided in an embodiment of the present invention may include the following steps:
step S201: and acquiring current alarm data.
Referring to fig. 1, the server is connected to a plurality of sensors of the acquisition end, each sensor is used for acquiring corresponding alarm data, and the acquisition end transmits the alarm data acquired by each sensor to the server through a data acquisition service via a real-time service.
In one embodiment, the server transmits current alarm data to the historical service via the real-time service and updates the historical alarm data.
Step S201: and judging whether the current alarm data meets an alarm condition, and if so, sending the alarm data based on a TCP (transmission control protocol).
In another embodiment of the present invention, if the alarm condition is met, generating an alarm record based on the current alarm data, wherein the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
Specifically, the generating an alarm record based on the current alarm data includes: and judging whether the alarm grade of the current alarm data reaches a preset grade, and if so, generating the alarm record.
In one implementation, the alarm can be based on alarm types, which can include displacement alarm, overrun alarm, deviation alarm, rate of change alarm, and combination alarm, to meet the demands of different scenarios on the alarm. The displacement alarm is generally used for on-off type alarm, and a production monitoring system can be provided with 0-bit alarm and also can be provided with 1-bit alarm. The overrun alarm is generally used for analog quantity alarm, the overrun alarm comprises an overrun limit, an ultralow limit, an ultrahigh limit and an ultralow limit, the limit can be set according to actual service scenes, and the production monitoring system can trigger the alarm as long as the limit is judged to be exceeded. The deviation alarm is generally used in a scene that the analog quantity deviates from a set value by too large amplitude, and the system can trigger the alarm when judging that the deviation of the real-time value of the analog quantity and the set value reaches the limit. The change rate alarm is generally used for scenes with overlarge analog quantity value change amplitude, and the alarm can be triggered by judging that the change rate of an analog quantity point reaches the limit by a system. The four types are only suitable for single-point alarm, while the combined alarm is generally used for multi-point alarm, and the alarm can be triggered when a plurality of points simultaneously meet the condition. It should be noted that the types of alarms listed herein are only specific examples provided by the present invention and should not be construed as limiting the present invention.
Therefore, the client has the data service function, so that the alarm data can be processed locally without depending on a server; when the alarm monitoring interface is abnormally operated, the alarm data can be displayed through a local message prompt window of the client, and the client can inform the user of the alarm information in time even if the browser is in a closed state; in addition, the client and the server communicate based on the TCP protocol, so that the stability of alarm data interaction is guaranteed, the occurrence frequency of safety accidents is reduced, and the safety and reliability of the production monitoring system are improved. In addition, the client data service function and the alarm monitoring interface are deployed on the same machine, so that data communication failure or delay caused by network problems can be avoided.
In one embodiment of the invention, the method further comprises sending alarm graphic data and/or alarm application data based on the HTTP protocol if the alarm condition is met.
In one implementation, the server may generate an alarm list according to the alarm data, the alarm list is arranged according to the sequence of the alarm occurrence time, different alarm levels are distinguished by different colors, and whether the alarm is confirmed is distinguished by whether each line of alarm record fonts flickers. The alarm list information includes alarm description, alarm level, alarm classification, and alarm time. The alarm management interface is implemented using both HTML5 and vue. Meanwhile, the alarm monitoring interface and all alarm related applications thereof can be loaded through the WEB application service of the server side in fig. 1. Further, all relevant alarm confirmation operations are queryable in the log management interface.
To solve the above technical problem, the present invention provides a computer device, as shown in fig. 4, including a memory 310, a processor 320, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described above.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer device may include, but is not limited to, a processor 320, a memory 310. Those skilled in the art will appreciate that fig. 4 is merely an example of a computing device and is not intended to be limiting and may include more or fewer components than those shown, or some of the components may be combined, or different components, e.g., the computing device may also include input output devices, network access devices, buses, etc.
The Processor 320 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 310 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory 310 may also be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device. Further, the memory 310 may also include both an internal storage unit and an external storage device of the computer device. The memory 310 is used for storing the computer program and other programs and data required by the computer device. The memory 310 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the present application further provides a computer-readable storage medium, which may be a computer-readable storage medium contained in the memory in the foregoing embodiment; or it may be a computer-readable storage medium that exists separately and is not incorporated into a computer device. The computer readable storage medium stores one or more computer programs.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory 310, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a described condition or event is detected" may be interpreted, depending on the context, to mean "upon determining" or "in response to determining" or "upon detecting a described condition or event" or "in response to detecting a described condition or event".
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. An alarm management method is applied to a client with a data service function and an alarm monitoring interface, and comprises the following steps:
acquiring current alarm data based on a TCP (transmission control protocol);
detecting whether the alarm monitoring interface normally operates;
if the alarm monitoring interface is in normal operation, the alarm data is pushed to the alarm monitoring interface and displayed;
and if the operation is abnormal, pushing the alarm data to a message prompt window of the client and displaying the alarm data.
2. The alarm management method of claim 1, wherein pushing and displaying the alarm data to the alarm monitoring interface if the alarm management system is operating normally further comprises:
and acquiring alarm graphic data based on an HTTP (hyper text transport protocol), and displaying the alarm graphic data on the alarm monitoring interface.
3. The alert management method of claim 1, further comprising obtaining alert application data based on an HTTP protocol.
4. The alarm management method of claim 1, further comprising obtaining an alarm record, wherein the alarm record comprises at least one of an alarm description, an alarm rating, an alarm classification, and an alarm time.
5. The alert management method of claim 1, wherein the obtaining current alert data based on the TCP protocol comprises:
and acquiring one or more of alarm grade, alarm type and alarm classification based on the TCP protocol.
6. The alarm management method of claim 5, wherein the alarm type comprises a shift alarm, an overrun alarm, a deviation alarm, or a rate of change alarm; the alarm classification corresponds to a business scenario of the production monitoring system.
7. The alarm management method according to claim 1, wherein the alarm monitoring interface further comprises, when the alarm monitoring interface is not operating normally:
and when the alarm record is received, the alarm record is broadcasted in a voice mode.
8. An alarm management method is applied to a server and comprises the following steps:
acquiring current alarm data;
and judging whether the current alarm data meets an alarm condition, and if so, sending the alarm data based on a TCP (transmission control protocol).
9. The alarm management method of claim 8, further comprising:
and if the alarm condition is met, sending alarm graphic data and/or alarm application data based on an HTTP (hyper text transport protocol).
10. The alarm management method of claim 8, further comprising:
and if the alarm condition is met, generating an alarm record based on the current alarm data, wherein the alarm record comprises at least one of alarm description, alarm grade, alarm classification and alarm time.
11. The alarm management method of claim 10, wherein said generating an alarm record based on said current alarm data comprises:
and judging whether the alarm grade of the current alarm data reaches a preset grade, and if so, generating the alarm record.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 11 when executing the computer program.
13. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 11.
CN202110250877.6A 2021-03-08 2021-03-08 Alarm management method Pending CN113157534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110250877.6A CN113157534A (en) 2021-03-08 2021-03-08 Alarm management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110250877.6A CN113157534A (en) 2021-03-08 2021-03-08 Alarm management method

Publications (1)

Publication Number Publication Date
CN113157534A true CN113157534A (en) 2021-07-23

Family

ID=76884430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110250877.6A Pending CN113157534A (en) 2021-03-08 2021-03-08 Alarm management method

Country Status (1)

Country Link
CN (1) CN113157534A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054766A (en) * 2016-06-23 2016-10-26 昆明民安消防设备有限公司 Remote monitoring, detection, maintenance and management method for fire control facilities and information system
CN106656590A (en) * 2016-12-14 2017-05-10 北京亿阳信通科技有限公司 Method and device for processing network equipment alarm message storm
CN107342896A (en) * 2017-07-04 2017-11-10 郑州云海信息技术有限公司 A kind of information acquisition method, apparatus and system
CN108073120A (en) * 2017-11-16 2018-05-25 杭州好园科技有限公司 Wisdom garden energy environment monitoring system
CN111524306A (en) * 2020-04-18 2020-08-11 杭州万联网络科技有限公司 Centralized monitoring system for power environment of machine room

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106054766A (en) * 2016-06-23 2016-10-26 昆明民安消防设备有限公司 Remote monitoring, detection, maintenance and management method for fire control facilities and information system
CN106656590A (en) * 2016-12-14 2017-05-10 北京亿阳信通科技有限公司 Method and device for processing network equipment alarm message storm
CN107342896A (en) * 2017-07-04 2017-11-10 郑州云海信息技术有限公司 A kind of information acquisition method, apparatus and system
CN108073120A (en) * 2017-11-16 2018-05-25 杭州好园科技有限公司 Wisdom garden energy environment monitoring system
CN111524306A (en) * 2020-04-18 2020-08-11 杭州万联网络科技有限公司 Centralized monitoring system for power environment of machine room

Similar Documents

Publication Publication Date Title
CN108829560B (en) Data monitoring method and device, computer equipment and storage medium
CN103929329A (en) Log processing and configuration method, configuration server, service end device and system
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
CN105468501A (en) Performance monitoring method and device of Linux system
CN103401698A (en) Monitoring system used for alarming server status in server cluster operation
CN112714030A (en) Alarm method, device, equipment and computer readable storage medium
CN113704065A (en) Monitoring method, device, equipment and computer storage medium
CN109684180A (en) Method and apparatus for output information
US10878144B2 (en) Multi-platform model processing and execution management engine
CN107807594A (en) A kind of depot safety method for inspecting and system
US20210035125A1 (en) Predictive AI Automated Cloud Service Turn-Up
CN109409948B (en) Transaction abnormity detection method, device, equipment and computer readable storage medium
CN111913937B (en) Database operation and maintenance method and device
CN113535134A (en) System, method and device for processing wind turbine data middling platform and storage medium
CN113535587A (en) Target application detection method and device and computer equipment
CN113157534A (en) Alarm management method
CN116719697A (en) System monitoring method, device, terminal equipment and storage medium
CN114553947B (en) Method and device for processing message
CN113037578B (en) Equipment binding port fault warning method and device
CN113900905A (en) Log monitoring method and device, electronic equipment and storage medium
CN110971664B (en) Interface service management system
CN113422696A (en) Monitoring data updating method, system, equipment and readable storage medium
CN110908642A (en) Policy generation and execution method and device
CN115495426A (en) Log acquisition method, device and medium based on distributed system call link
CN114785722B (en) Monitoring data processing method and device and computer readable 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