Gas alarm equipment, alarm method, computing equipment and medium
By setting multiple alarm points on the gas alarm device and implementing the alarm control logic through computer programs, the problem of complex settings of existing gas alarm instruments and the inability to add alarm points without limit is solved, and the user's function of simple and fast settings and unlimited addition of alarm points is realized.
Patent Information
- Application Number
- CN202510360883.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing gas alarm instruments have complex differences in alarm mode settings and alarm modes, which are difficult for customers to set correctly, and do not support unlimited addition of alarm points.
A gas alarm device and an alarm method are provided. A plurality of alarm points are set on the device, and each alarm point is equipped with an alarm threshold, a return difference and an alarm mode. The unlimited increase of the alarm point and the execution of the alarm control logic are realized through a computer program.
Users can simply and quickly set the alarm threshold and alarm mode of the gas alarm equipment without understanding the complex industry application concepts, and realize the function of unlimited increase of alarm points.
Smart Images

Figure CN119888968A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of gas alarm, and in particular to a gas alarm device, an alarm method, a computing device and a medium. Background Art
[0002] The existing gas alarm instruments have complex alarm settings and alarm mode distinctions. Customers are not familiar with the concepts and cannot set them correctly. Moreover, they do not support customers to add alarm points without restrictions. Summary of the invention
[0003] The purpose of this application is to provide a gas alarm device, an alarm method, a computing device and a medium, which can increase the alarm points without limit and have a simple alarm method.
[0004] To achieve the above objectives, this application provides the following solutions.
[0005] In a first aspect, the present application provides a gas alarm device, wherein a plurality of alarm points are arranged on the gas alarm device, and each alarm point is provided with a corresponding alarm threshold, return difference and alarm mode.
[0006] In the second aspect, the present application provides an alarm method for a gas alarm device, which is applied to the above-mentioned gas alarm device, and the alarm method includes: obtaining actual measurement data of the gas; for the real-time measurement data, each alarm point alarms according to the corresponding alarm threshold and alarm mode; for the real-time measurement data, two adjacent alarm points determine the alarm interval according to the corresponding alarm threshold, return difference and alarm mode, and alarm.
[0007] In a third aspect, the present application provides a computer device, comprising: 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 alarm method of the above-mentioned gas alarm device.
[0008] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the alarm method of the above-mentioned gas alarm device when executed by a processor.
[0009] According to the specific embodiments provided by the present application, the present application has the following technical effects: the present application provides a gas alarm device, an alarm method, a computing device and a medium. The gas alarm device is provided with multiple alarm points, and each alarm point is provided with an alarm threshold, a return difference and an alarm mode. The user only needs to know the concept of ratio on the number axis to simply and quickly set the alarm threshold and alarm mode of the gas alarm device without having to understand too many industry application concepts, such as interval alarm, low alarm value, high alarm value and other concepts. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0011] Figure 1 A flowchart of an alarm method for a gas alarm device provided in one embodiment of the present application.
[0012] Figure 2 It is a schematic diagram of the intersection or union of the alarm thresholds of two adjacent alarm points.
[0013] Figure 3 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0014] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0015] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0016] In an exemplary embodiment, a gas alarm device is provided, wherein a plurality of alarm points are arranged on the gas alarm device, and each alarm point is provided with a corresponding alarm threshold (an empirical safety value set artificially), a return difference, and an alarm mode. The alarm mode includes a first alarm mode and a second alarm mode, wherein the first alarm mode is to alarm when the real-time measurement data is greater than or equal to the alarm threshold, and the second alarm mode is to alarm when the real-time measurement data is less than or equal to the alarm threshold. Each alarm point alarms according to the corresponding alarm threshold and alarm mode. Two adjacent alarm points determine the alarm interval according to the corresponding alarm threshold, return difference, and alarm mode, and alarm.
[0017] For example: set the alarm point A1 of the gas alarm device: alarm threshold V1, return difference R1 and alarm mode M1; Set the alarm point A2 of the gas alarm device: alarm threshold V2, return difference R2 and alarm mode M2; Set the alarm point A3 of the gas alarm device: alarm threshold V3, return difference R3 and alarm mode M3; … Set the alarm point A of the gas alarm device n : Alarm threshold V n , return difference R n and alarm mode M n .
[0018] The gas alarm device converts the gas sensor value into real-time measurement data for display to the user through internal analog-to-digital conversion. This real-time measurement data is compared with the alarm threshold of each alarm point. When it exceeds or falls below the alarm threshold, the gas alarm device prompts an alarm to remind personnel to pay attention to safety.
[0019] For two adjacent alarm points, the intersection or union of the alarm thresholds is automatically taken according to their alarm modes, and then the corresponding alarm logic is executed in the corresponding interval.
[0020] The return difference is used to prevent the gas alarm from jumping back and forth near the alarm threshold and switching between the alarm state and the non-alarm state repeatedly at a high frequency. This value is used in conjunction with the alarm threshold to determine whether the gas alarm device will exit the alarm state.
[0021] For the above-mentioned gas alarm device, in an exemplary embodiment, as Figure 1 As shown, an alarm method for a gas alarm device is provided, comprising the following steps.
[0022] S1: Get the actual measurement data of the gas.
[0023] S2: For the real-time measurement data, each alarm point generates an alarm according to the corresponding alarm threshold and alarm mode.
[0024] When the alarm mode of the alarm point is the first alarm mode, an alarm is triggered when the real-time measurement data is greater than or equal to the alarm threshold; when the alarm mode of the alarm point is the second alarm mode, an alarm is triggered when the real-time measurement data is less than or equal to the alarm threshold.
[0025] S3: For the real-time measurement data, two adjacent alarm points determine an alarm interval according to the corresponding alarm threshold, return difference and alarm mode, and issue an alarm. The alarm interval includes an interval for entering the alarm and an interval for exiting the alarm. The two adjacent alarm points are the first alarm point and the second alarm point.
[0026] Step S3 specifically includes: according to the alarm mode, obtaining the intersection or union of the alarm thresholds of two adjacent alarm points (such as Figure 2 As shown); determining an interval for entering the alarm according to the intersection or the union; determining an interval for exiting the alarm according to the intersection and the return difference, or determining an interval for exiting the alarm according to the union and the return difference.
[0027] Specific: 1) First alarm point A x : The alarm threshold is V x , the return difference is R x , alarm mode M x For the first alarm mode, x=1,2,3...,n-1.
[0028] Second alarm point A x+1 : The alarm threshold is V x+1 , the return difference is R x+1 , alarm mode M x+1 It is the first alarm mode.
[0029] The union of the two is V x .
[0030] The alarm interval is greater than V x , that is, when V r >V x Alarm when V r To measure data in real time.
[0031] The interval for exiting the alarm is greater than V x –R x , that is, when V r >V x –R x Exit alarm.
[0032] 2) First alarm point A x : The alarm threshold is V x , the return difference is R x , alarm mode M x It is the second alarm mode.
[0033] Second alarm point A x+1 : The alarm threshold is V x+1 , the return difference is R x+1 , alarm mode M x+1 It is the second alarm mode.
[0034] The union of the two is V. x+1 .
[0035] The alarm interval is less than V x+1 , that is, when V r <V x+1 Alarm when.
[0036] The interval for exiting the alarm is greater than V x+1 +R x+1 , that is, when V r >V x+1 +R x+1 Exit alarm.
[0037] 3) First alarm point A x : The alarm threshold is V x , the return difference is R x , alarm mode M x It is the second alarm mode.
[0038] Second alarm point A x+1 : The alarm threshold is V x+1 , the return difference is R x+1 , alarm mode M x+1 It is the first alarm mode.
[0039] The union of the two is V x and V x+1 .
[0040] The alarm interval is less than V x and greater than V x+1 , that is, when V r <V x , or V r >V x+1 Alarm when The interval for exiting the alarm is greater than V x +R x and less than V x+1 –R x+1 , that is, when V r >V x +R x , or V r <V x+1 –R x+1 Exit alarm.
[0041] 4) First alarm point A x The alarm threshold is V x , the return difference is R x , alarm mode M x It is the first alarm mode.
[0042] Second alarm point A x+1 The alarm threshold is V x+1 , the return difference is R x+1 , alarm mode M x+1 It is the second alarm mode.
[0043] The intersection of the two is V x and V x+1 .
[0044] The alarm interval is greater than V x and less than V x+1 , that is, when V r >V x , or V r <Vx+1 Alarm when The interval for exiting the alarm is less than V x -R x and greater than V x+1 +R x+1 , that is, when V r <V x -R x , or V r >V x+1 +R x+1 Exit alarm.
[0045] According to the above settings of alarm mode, alarm threshold and return difference, the corresponding alarm interval is counted, and then the alarm is output within the alarm interval.
[0046] This method can increase alarm points without limit and execute the above alarm control logic.
[0047] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program. The computer device may be a server or a terminal, and its internal structure diagram may be as shown in FIG. Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data to be processed. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an alarm method of a gas alarm device is implemented.
[0048] Those skilled in the art will understand that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0049] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0050] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0051] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A gas alarm device, characterized in that: The gas alarm device is provided with a plurality of alarm points, and each alarm point is provided with a corresponding alarm threshold, return difference and alarm mode.
2. The gas alarm device according to claim 1, characterized in that: The alarm mode includes a first alarm mode and a second alarm mode. The first alarm mode is to alarm when the real-time measurement data is greater than or equal to the alarm threshold, and the second alarm mode is to alarm when the real-time measurement data is less than or equal to the alarm threshold.
3. The gas alarm device according to claim 1, characterized in that: Each alarm point will sound an alarm according to the corresponding alarm threshold and alarm mode.
4. The gas alarm device according to claim 1, characterized in that: Two adjacent alarm points determine the alarm interval according to the corresponding alarm threshold, return difference and alarm mode, and issue an alarm.
5. An alarm method for a gas alarm device, characterized in that: The alarm method is applied to the gas alarm device according to any one of claims 1 to 4, and the alarm method comprises: Get actual measurement data of gas; For the real-time measurement data, each alarm point issues an alarm according to the corresponding alarm threshold and alarm mode; For the real-time measurement data, two adjacent alarm points determine the alarm interval according to the corresponding alarm threshold, return difference and alarm mode, and issue an alarm.
6. The alarm method of the gas alarm device according to claim 5, characterized in that: The alarm interval includes an alarm entry interval and an alarm exit interval.
7. The alarm method of the gas alarm device according to claim 6, characterized in that: The two adjacent alarm points determine the alarm interval according to the corresponding alarm threshold, return difference and alarm mode, including: According to the alarm mode, obtaining the intersection or union of the alarm thresholds of two adjacent alarm points; Determine an interval for entering an alarm according to the intersection or the union; An interval for exiting the alarm is determined according to the intersection and the return difference, or an interval for exiting the alarm is determined according to the union and the return difference.
8. The alarm method of gas alarm equipment according to claim 7, characterized in that: The two adjacent alarm points are the first alarm point and the second alarm point respectively; Wherein, according to the alarm mode, obtaining the intersection or union of the alarm thresholds of two adjacent alarm points specifically includes: When the alarm modes of the first alarm point and the second alarm point are both the first alarm mode, obtaining the union of the alarm thresholds of the two adjacent alarm points; When the alarm modes of the first alarm point and the second alarm point are both the second alarm mode, obtaining the union of the alarm thresholds of the two adjacent alarm points; When the alarm mode of the first alarm point is the second alarm mode, and the alarm mode of the second alarm point is the first alarm mode, obtaining a union of the alarm thresholds of two adjacent alarm points; When the alarm mode of the first alarm point is the first alarm mode, and the alarm mode of the second alarm point is the second alarm mode, the intersection of the alarm thresholds of the two adjacent alarm points is obtained.
9. A computer device comprising: 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 alarm method of the gas alarm device according to any one of claims 5 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the alarm method of the gas alarm device described in any one of claims 5 to 8 is implemented.
Citation Information
Patent Citations
Log alarm method, device and system based on rule
CN108170580A
Device alarm method and device, and computer readable storage medium
CN111007827A
Sensor alarm management method in BMC (Baseboard Management Controller) system
CN115221014A