A method for alarm management
By deploying data service functions and alarm monitoring interfaces on the client side of the industrial automation production monitoring system, using the TCP protocol to process alarm data and push them according to the interface status, the problems of unstable alarm management and poor cross-platform compatibility in the existing technology are solved, and timely alarm notifications and data interaction stability are achieved when the browser is opened or closed.
Patent Information
- Application Number
- CN202110250877.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-08
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2041-03-08
AI Technical Summary
The alarm management methods of existing industrial automation production monitoring systems are insufficient in terms of stability and cross-platform compatibility, especially the system based on B/S architecture cannot promptly notify users of alarm information when the browser is closed.
Adopt a converged architecture, the client deploys data service functions and alarm monitoring interface, obtains alarm data through TCP protocol and detects interface status. If the interface is running normally, the data will be pushed to the interface to display, and if it is not running normally, it will be pushed to the message prompt window to display.
It realizes that users can promptly notify the user of alarm information when the browser is open or closed, ensures the stability of alarm data interaction, reduces the number of safety accidents, and improves the safety and reliability of the production monitoring system.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial automation, and in particular to an alarm management method. Background Art
[0002] In the field of industrial automation, the production monitoring system is a computer-based production process control and scheduling automation system, which is the basis for realizing industrial automation. At present, the alarm management methods of the production monitoring system include two implementation methods: one is based on the C / S (Client / Server) architecture, and the other is based on the B / S (Browser / Server) architecture.
[0003] In the production monitoring system based on C / S architecture, the client HMI has certain data processing and data storage capabilities. By reasonably distributing the calculation and data of the application software on both the client and the server, the network communication volume and server computing volume can be effectively reduced; at the same time, since the client undertakes part of the alarm data processing and storage tasks, and the data transmission protocol uses the transmission control protocol TCP, the stability of data interaction is guaranteed. However, the main problem it faces is that the client needs to continuously upgrade the software, which requires a lot of maintenance, and it cannot achieve cross-platform.
[0004] In the production monitoring system based on B / S architecture, only a browser needs to be installed on the client to display the alarm interface. The browser interacts with the database through application services, which greatly simplifies the client computer load and reduces the cost and workload of system maintenance and upgrades. Although this method simplifies the installation, deployment and maintenance process, the data interaction between the client and the server uses the HTTP protocol, which does not save the communication status between the request and the response, so it is not stable and reliable enough; and if the browser is closed, if an alarm occurs, the user cannot receive the alarm information. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide an alarm management method, which can not only ensure the stability of alarm data interaction, but also ensure that the alarm information can be notified to the user in time whether the browser is in the open or closed state.
[0006] In order to solve the above technical problems, the present invention provides an alarm management method, which is applied to a client deployed with a data service function and an alarm monitoring interface, comprising:
[0007] Get current alarm data based on TCP protocol;
[0008] Detecting whether the alarm monitoring interface operates normally;
[0009] If it is running normally, the alarm data is pushed to the alarm monitoring interface and displayed;
[0010] If it is not operating normally, the alarm data will be pushed to the message prompt window of the client and displayed.
[0011] Optionally, if the operation is normal, pushing the alarm data to the alarm monitoring interface and displaying it also includes:
[0012] The alarm graphic data is acquired based on the HTTP protocol, and the alarm graphic data is displayed on the alarm monitoring interface.
[0013] Optionally, it also includes obtaining alarm application data based on HTTP protocol.
[0014] Optionally, the method further includes obtaining an alarm record, wherein the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
[0015] Optionally, the obtaining of current alarm data based on the TCP protocol includes:
[0016] Obtain one or more of the alarm level, alarm type, and alarm classification based on the TCP protocol.
[0017] Optionally, the alarm type includes a displacement alarm, an over-limit alarm, a deviation alarm or a change rate alarm; and the alarm classification corresponds to a business scenario of the production monitoring system.
[0018] Optionally, when the alarm monitoring interface operates abnormally, the method further includes:
[0019] When the alarm record is received, the alarm record is voice broadcasted.
[0020] In order to solve the above technical problems, the present invention provides an alarm management method, which is applied to a server and includes:
[0021] Get current alarm data;
[0022] Determine whether the current alarm data meets the alarm condition, and if so, send the alarm data based on the TCP protocol.
[0023] Optionally, the method further includes sending alarm graphic data and / or alarm application data based on the HTTP protocol if the alarm condition is met.
[0024] Optionally, if the alarm condition is met, an alarm record is generated based on the current alarm data, and the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
[0025] Optionally, generating an alarm record based on the current alarm data includes:
[0026] It is determined whether the alarm level of the current alarm data reaches a preset level, and if so, the alarm record is generated.
[0027] To solve the above technical problems, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above methods when executing the computer program.
[0028] In order to solve the above technical problems, the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, any of the methods described above is implemented.
[0029] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:
[0030] The solution of the present invention is applied to a client deployed with a data service function and an alarm monitoring interface. During alarm management, the client obtains the current alarm data based on the TCP protocol and detects whether the alarm monitoring interface is operating normally. If it is operating normally, the alarm data is pushed to the alarm monitoring interface and displayed. If it is not operating normally, the alarm data is pushed to the message prompt window of the client and displayed.
[0031] It can be seen that since the client has data service functions, it can process alarm data locally without relying on the server; when the alarm monitoring interface does not operate normally, the alarm data can be displayed through the local message prompt window of the client, and the client can notify the user of the alarm data in time even if the browser is closed.
[0032] In addition, since the client and server communicate based on the TCP protocol, the stability of alarm data interaction is also guaranteed, thereby reducing the number of safety accidents and improving the safety and reliability of the production monitoring system.
[0033] In addition, deploying the client data service function and the alarm monitoring interface on the same machine can also avoid data communication failure or delay caused by network problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] 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. The drawings included are:
[0035] Figure 1 A schematic diagram of the architecture of a production monitoring system provided by an embodiment of the present invention;
[0036] Figure 2 A flow chart of the alarm management method provided by an embodiment of the present invention;
[0037] Figure 3 Another flow chart of the alarm management method provided by the embodiment of the present invention;
[0038] Figure 4 A structural diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the objectives, technical solutions and advantages of the present invention clearer, the implementation method of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0040] In the prior art, there are two common production monitoring systems: C / S architecture or B / S architecture. A production monitoring system based on C / S architecture can effectively reduce network communication volume and server computing volume, but the client needs to continuously upgrade the software, which requires a lot of maintenance and cannot be cross-platform; a production monitoring system based on B / S architecture simplifies the client computer load and reduces the cost and workload of system maintenance and upgrades, but it is not stable and reliable enough, and if an alarm occurs when the browser is closed, the user cannot receive the alarm information.
[0041] In order to ensure the stability of alarm data interaction and to ensure that the alarm information can be notified to the user in time whether the browser is open or closed, the present invention provides an alarm management method, such as Figure 1 As shown, it is a schematic diagram of the alarm management architecture provided by an embodiment of the present invention, which mainly involves a client, a server and a collection end. The collection end is connected to various sensors, and each sensor of the collection end is used to collect corresponding data in real time. It should be emphasized that, unlike the traditional C / S architecture or B / S architecture, the present invention deploys data service functions and alarm monitoring interfaces on the client at the same time. That is to say, the alarm management solution provided by the scheme of the present invention is based on an architecture that integrates the C / S architecture and the B / S architecture (referred to as a fusion architecture).
[0042] The alarm monitoring interface adopts B / S architecture, and the alarm can be directly viewed through the browser, but the browser is easy to be closed, and each request sent by the client requires the server to send back a response. After the request is completed, the connection will be released actively. This process is short, and the security and reliability of the monitoring system are the most important. Therefore, in order to improve the reliability of alarm data transmission, the above data service function is deployed on the client, and the data communication between the browser and the alarm service is completed through the client data service function, so that the frequently changing data transmission adopts the TCP protocol, and the data includes real-time alarm data and historical alarm data; and the relevant application data such as graphics and component configuration information is transmitted through the HTTP protocol. The two types of data interact at the same time and do not interfere with each other.
[0043] The alarm management method provided by the embodiment of the present invention is described in detail below.
[0044] like Figure 2 As shown, a flow chart of an alarm management method provided by an embodiment of the present invention is applied to a client deployed with a data service function and an alarm monitoring interface. The alarm management method may include the following steps:
[0045] Step S101: Acquire current alarm data based on the TCP protocol.
[0046] In the above fusion architecture, the client obtains data based on the connection-oriented TCP transmission control protocol, ensuring the stability of data interaction.
[0047] Step S102: Detect whether the alarm monitoring interface is operating normally. If it is operating normally, execute step S103; if it is not operating normally, execute step S104.
[0048] The alarm through the alarm monitoring interface corresponds to the B / S architecture part in the above-mentioned fusion architecture. Although the B / S architecture part can simplify the installation, deployment and maintenance process, the data interaction between the client and the server adopts the HTTP protocol, which is a stateless protocol. It does not save the communication status between the request and the response. That is to say, the protocol does not perform persistent processing on the sent request or response, so it is not stable and reliable. Moreover, if an alarm occurs when the browser is closed, the user cannot receive the alarm information. In view of this, step S102 divides the alarm into two situations: normal operation of the alarm monitoring interface and abnormal operation of the alarm monitoring interface, and pushes the alarm data in two ways, that is, when it is normal operation, according to step S103, the alarm data is pushed to the alarm monitoring interface and displayed, and when it is abnormal operation (including abnormality or exit of the alarm monitoring interface), according to step S104, the alarm data is pushed to the message prompt window of the client and displayed.
[0049] Step S103: Push the alarm data to the alarm monitoring interface and display it.
[0050] It should be noted that step S103 pushes the alarm data to the alarm monitoring interface and displays it, which corresponds to the B / S architecture part in the above-mentioned fusion architecture, in which the WEB browser is the most important application software of the client, and the alarm monitoring interface is implemented through the browser. You only need to install a browser on the client. The browser interacts with the database through application services to exchange data, which greatly simplifies the computer load of the client and reduces the cost and workload of system maintenance and upgrades.
[0051] Step S104: Push the alarm data to the message prompt window of the client and display it.
[0052] It should be noted that step S104 pushes the alarm data to the message prompt window of the client, which corresponds to the C / S architecture part in the above-mentioned fusion architecture. The data service function deployed by the client is an improvement on the production monitoring system based on the traditional C / S architecture. By reasonably distributing the calculation and data of the application software on both the client and the server, the client has a certain data processing and data storage capability, and is no longer an input and output device without any computing power, thereby effectively reducing network communication volume and server computing power.
[0053] Preferably, the alarm prompt can be made by sound, light and other means to improve the success rate of the alarm being received. Among them, the sound alarm can include an alarm in the form of a voice broadcast, and the light alarm can include an alarm in the form of a flash light prompt. For example, when the alarm monitoring interface is operating abnormally, it also includes a voice broadcast of the alarm record when the alarm record is received. Of course, only a few specific ways of alarm prompt are listed here, which is not intended to limit the present invention. In addition, the alarm voice can be customized according to different alarm levels and alarm records, allowing users to receive the alarm information in the first time by listening and watching, so that users can respond and process in time.
[0054] As can be seen from the above, since the client has data service functions, it can process alarm data locally without relying on the server; when the alarm monitoring interface is not operating normally, the alarm data can be displayed through the local message prompt window of the client, and the client can promptly notify the user of the alarm information even if the browser is closed; in addition, since the client and the server communicate based on the TCP protocol, the stability of the alarm data interaction is also guaranteed, thereby reducing the number of safety accidents and improving the safety and reliability of the production monitoring system. In addition, the client data service function and the alarm monitoring interface are deployed on the same machine to avoid data communication failures or delays caused by network problems.
[0055] In one embodiment of the present invention, when the alarm monitoring interface operates normally, it also includes obtaining alarm graphic data based on the HTTP protocol, and displaying the alarm graphic data on the alarm monitoring interface.
[0056] In another embodiment of the present invention, the method further includes obtaining alarm application data based on HTTP protocol.
[0057] In one implementation, the method further includes obtaining an alarm record, wherein the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
[0058] In another embodiment of the present invention, the obtaining of current alarm data based on the TCP protocol includes: obtaining one or more of the alarm level, alarm type, and alarm classification based on the TCP protocol. Specifically, the alarm type includes a displacement alarm, an over-limit alarm, a deviation alarm, or a change rate alarm; and the alarm classification corresponds to a business scenario of the production monitoring system.
[0059] Specifically, the alarm type can include position change alarm, over-limit alarm, deviation alarm, change rate alarm, and combination alarm to meet the alarm requirements of different scenarios. Position change alarm is generally used for switch type alarm. The production monitoring system can set a 0-bit alarm or a 1-bit alarm. Over-limit alarm is generally used for analog alarm. Over-limit alarm includes super high limit, super low limit, super high high limit, super low low limit, super high high high limit, and super low low low limit. The limit value can be set according to the actual business scenario. The production monitoring system can trigger the alarm as long as it determines that the limit value is exceeded. Deviation alarm is generally used for the scene where the analog deviation from the set value is too large. The system determines that the deviation between the real-time value of the analog and the set value reaches the limit to trigger the alarm. Change rate alarm is generally used for the scene where the analog value changes too much. The system determines that the change rate of the analog point reaches the limit to trigger the alarm. The above four types are only applicable to single-point alarms, while combination alarms are generally used for multi-point alarms. Multiple points can trigger the alarm only when they meet the conditions at the same time. It should be noted that the alarm types listed here are only several specific situations provided by the present invention and should not constitute a limitation of the present invention.
[0060] In one example, an alarm configuration software is deployed on the server for users to access at any time, which is used to define alarm levels, alarm types, alarm categories, alarm conditions, and associated alarm screens. Users can directly open the alarm configuration software through a browser.
[0061] Furthermore, it is necessary to complete the alarm strategy configuration in the alarm configuration software, set the alarm conditions according to specific business needs, set the alarm points to different levels, set the alarm type, set the alarm classification and alarm description according to the actual business field, and configure the alarm screen and alarm voice associated with each alarm record, so that users can quickly query and filter alarm information and quickly locate the alarm location. When the alarm strategy configuration is completed, the alarm strategy information is directly updated to Figure 1 In the alarm service on the server side, the alarm service determines in real time whether the alarm conditions are met based on the alarm configuration strategy. If met, the alarm is triggered, an alarm record is generated, an alarm is recorded, an alarm is pushed, and an alarm is stored.
[0062] Preferably, if the alarm type is an analog point, an alarm threshold needs to be set to prevent the analog value from jittering back and forth and reduce the false alarm rate.
[0063] Specifically, the alarm data can be divided into different levels according to the importance of the alarm information, and the number of alarm levels can be configured according to the complexity of the production monitoring system. Preferably, the system can provide 4 alarm levels by default, namely, level 1 to level 4, where level 1 alarm reflects the most important alarm, and level 4 alarm reflects the alarm with a lower user response level. It should be noted that this is only an example and is not a limitation of the embodiments of the present invention.
[0064] Specifically, alarm classification can be customized according to actual business scenarios. For example, the power industry can define alarm classification as boiler, steam turbine, electrical, etc., and the coal industry can be divided into comprehensive mining, tunneling, ventilation, drainage, etc., which makes it easier for users to query by category and quickly locate alarm information.
[0065] In a specific embodiment of the present invention, a client data service can be developed using C# language for interactive monitoring of alarm data, and run in the tray area of the operating system. When an abnormal situation occurs in the production process, the alarm service pushes the alarm message to the client data service through the TCP protocol. This data service implements the prompt tone alarm and voice alarm functions through the Microsoft System.Speech component, and can promptly notify the user that an alarm has occurred. After the user receives the alarm information, he double-clicks the tray icon, and the client data service program opens the browser process by calling the Process API, and opens and locates the corresponding HMI alarm monitoring screen by setting the browser process parameters. The alarm monitoring screen is obtained by the WEB application calling the WEB application service through the HTTP protocol for the user to quickly view.
[0066] The content set in the browser process parameters is configured through the alarm configuration software. The alarm record generated by the alarm service must contain the configuration information. The client data service then parses the configuration information in the alarm record and sets it as the browser process parameter content, so that the corresponding alarm monitoring screen can be accurately located.
[0067] It should be noted that the client data service developed using C# language is a preferred implementation method provided by the embodiment of the present invention and should not be understood as a limitation on the solution of the present invention.
[0068] In another specific embodiment of the present invention, the alarm condition determination may be implemented based on the NCalc tool.
[0069] Specifically, the alarm types include position change alarm, over-limit alarm, deviation alarm, change rate alarm, and combination alarm. Different alarm types have different alarm conditions. The alarm service determines whether an alarm occurs by calling the calculation engine to obtain the calculation result. The calculation engine uses a lightweight open source free component NCalc that can parse C# expressions at runtime. The features supported by this tool include: support for arithmetic operators, relational operators, and logical operators; support for expression grouping and brackets, as well as increment and decrement operators; support for expression attribute access and dynamic types, support for string + operations; support for processing functions supported by System.Math; support for calculating custom functions; support for custom parameters.
[0070] All judgment condition expressions are configured in the alarm configuration software. The content of the expression is parsed by the alarm service and the calculation engine is called for calculation. After receiving the result returned by the calculation engine, the alarm service determines whether the alarm condition is met. If so, an alarm record is generated and pushed to the client data service.
[0071] It should be noted that the alarm condition judgment based on the NCalc tool is a specific implementation provided by the present invention and should not be understood as a limitation to the solution of the present invention.
[0072] Corresponds to Figure 2 The alarm management method shown in the embodiment of the present invention also provides an application Figure 1 The alarm management method of the server on the server side. Figure 3 As shown, another flow chart of the alarm management method provided by the embodiment of the present invention may include the following steps:
[0073] Step S201: Acquire current alarm data.
[0074] See also Figure 1The server is connected to multiple sensors at the collection end. Each sensor is used to collect corresponding alarm data. The collection end transmits the alarm data collected by each sensor to the server through the real-time service through the data collection service.
[0075] In one embodiment, the server transmits the current alarm data to the historical service via the real-time service and updates the historical alarm data.
[0076] Step S201: Determine whether the current alarm data meets the alarm condition. If it meets the alarm condition, send the alarm data based on the TCP protocol.
[0077] In another embodiment of the present invention, if the alarm condition is met, an alarm record is generated based on the current alarm data, and the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
[0078] Specifically, generating an alarm record based on the current alarm data includes: determining whether an alarm level of the current alarm data reaches a preset level, and generating the alarm record if the level reaches a preset level.
[0079] In one implementation, an alarm can be made based on the alarm type, and the alarm type can include position change alarm, over-limit alarm, deviation alarm, change rate alarm, and combined alarm to meet the alarm requirements of different scenarios. Position change alarm is generally used for switch type alarm, and the production monitoring system can set a 0-bit alarm or a 1-bit alarm. Over-limit alarm is generally used for analog alarm, and over-limit alarm includes super high limit, super low limit, super high high limit, super low low limit, super high high high limit, and super low low low limit. The limit value can be set according to the actual business scenario. The production monitoring system can trigger an alarm as long as it determines that the limit value is exceeded. Deviation alarm is generally used in the scenario where the analog deviation from the set value is too large. The system determines that the deviation between the real-time value of the analog and the set value reaches the limit to trigger the alarm. Change rate alarm is generally used in the scenario where the analog value changes too much. The system determines that the change rate of the analog point reaches the limit to trigger the alarm. The above four types are only applicable to single-point alarms, while combined alarms are generally used for multi-point alarms. Multiple points can trigger an alarm only when they meet the conditions at the same time. It should be noted that the alarm types listed here are only several specific situations provided by the present invention and should not constitute a limitation of the present invention.
[0080] As can be seen from the above, since the client has data service functions, it can process alarm data locally without relying on the server; when the alarm monitoring interface is not operating normally, the alarm data can be displayed through the local message prompt window of the client, and the client can promptly notify the user of the alarm information even if the browser is closed; in addition, since the client and the server communicate based on the TCP protocol, the stability of the alarm data interaction is also guaranteed, thereby reducing the number of safety accidents and improving the safety and reliability of the production monitoring system. In addition, the client data service function and the alarm monitoring interface are deployed on the same machine to avoid data communication failures or delays caused by network problems.
[0081] In one embodiment of the present invention, the method further includes sending alarm graphic data and / or alarm application data based on HTTP protocol if the alarm condition is met.
[0082] In one implementation, the server can generate an alarm list based on the alarm data. The alarm list is arranged in the order of the alarm occurrence time. Different alarm levels are distinguished by different colors. At the same time, whether the alarm is confirmed is distinguished by whether the font of each line of alarm record flashes. The alarm list information includes alarm description, alarm level, alarm classification, and alarm time. The alarm management interface is implemented using HTML5 and vue.js. At the same time, the alarm monitoring interface and all its alarm-related applications can be used Figure 1 Furthermore, all relevant alarm confirmation operations can be queried in the log management interface.
[0083] In order to solve the above technical problems, the present invention provides a computer device, such as Figure 4 As shown, it includes a memory 310, a processor 320, and a computer program stored in the memory and executable on the processor, and the method described above is implemented when the processor executes the computer program.
[0084] The computer device may be a desktop computer, a notebook, a PDA, a cloud server or other computing device. The computer device may include, but is not limited to, a processor 320 and a memory 310. Those skilled in the art will appreciate that Figure 4 It is only an example of a computer device and does not constitute a limitation of the computer device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0085] The processor 320 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0086] The memory 310 may be an internal storage unit of the computer device, such as a hard disk or memory of the computer device. The memory 310 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Further, the memory 310 may also include both an internal storage unit of the computer device and an external storage device. The memory 310 is used to store 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.
[0087] The embodiment of the present application also provides a computer-readable storage medium, which can be the computer-readable storage medium contained in the memory in the above embodiment; or it can be a computer-readable storage medium that exists independently and is not assembled into a computer device. The computer-readable storage medium stores one or more computer programs.
[0088] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory 310, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0089] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0090] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0091] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0092] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0093] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrase "if it is determined" or "if a described condition or event is detected" may be interpreted, depending on the context, as meaning "upon determination" or "in response to determining" or "upon detection of a described condition or event" or "in response to detecting a described condition or event."
[0094] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. An alarm management method, characterized in that: Applied to the client deployed with data service function and alarm monitoring interface. The alarm monitoring interface adopts B / S architecture and exchanges data with the server through HTTP protocol; the data service function adopts C / S architecture and exchanges data with the server through TCP protocol; The alarm monitoring interface is located on the client browser; The data service function is located on the client application software and has data processing and data storage capabilities, including: Obtaining current alarm data based on the TCP protocol through the data service function, including: obtaining one or more of the alarm level, alarm type, and alarm classification based on the TCP protocol; Detecting whether the alarm monitoring interface operates normally; If it is running normally, the alarm data is pushed to the alarm monitoring interface and displayed; If it is not operating normally, the alarm data is pushed to the message prompt window of the client and displayed; If the operation is normal, the alarm data is pushed to the alarm monitoring interface and displayed, and further includes: Acquire alarm graphic data based on HTTP protocol, and display the alarm graphic data on the alarm monitoring interface; It also includes obtaining alarm application data based on HTTP protocol.
2. The alarm management method according to claim 1, characterized in that: The method also includes obtaining an alarm record, wherein the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
3. The alarm management method according to claim 1, characterized in that: The alarm types include displacement alarm, over-limit alarm, deviation alarm or change rate alarm; the alarm classification corresponds to the business scenario of the production monitoring system.
4. The alarm management method according to claim 2, characterized in that: When the alarm monitoring interface is not operating normally, it also includes: When the alarm record is received, the alarm record is voice broadcasted.
5. An alarm management method, characterized in that: Applied to the server, the server exchanges data with the alarm monitoring interface on the client through the HTTP protocol, the alarm monitoring interface adopts the B / S architecture, the server also exchanges data with the data service function on the client through the TCP protocol, the data service function adopts the C / S architecture, and the alarm monitoring interface is located on the client browser; The data service function is located on the client application software and has data processing and data storage capabilities, including: Acquiring current alarm data based on the TCP protocol through the data service function, including: acquiring one or more of the alarm level, alarm type, and alarm classification based on the TCP protocol; determining whether the current alarm data meets the alarm condition, and if it meets the alarm condition, sending the alarm data to the data service function based on the TCP protocol; If the alarm condition is not met, alarm graphic data and / or alarm application data are sent based on the HTTP protocol.
6. The alarm management method according to claim 5, characterized in that: Also includes: If the alarm condition is met, an alarm record is generated based on the current alarm data, and the alarm record includes at least one of an alarm description, an alarm level, an alarm classification, and an alarm time.
7. The alarm management method according to claim 6, characterized in that: The generating of the alarm record based on the current alarm data comprises: It is determined whether the alarm level of the current alarm data reaches a preset level, and if so, the alarm record is generated.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Remote monitoring, detection, maintenance and management method for fire control facilities and information system
CN106054766A
Method and device for processing network equipment alarm message storm
CN106656590A
Intelligent park energy environment monitoring system
CN108073120A