Alarm level determination method and apparatus, and electronic device and storage medium

By automatically determining the alarm level in the fire monitoring system of the lithium battery box, the problems of complex development of alarm strategies and inconvenient management in the existing technology are solved, and efficient fire warning and loss reduction are achieved.

WO2025066958A1PCT designated stage expired Publication Date: 2025-04-03ZEPHYR INTELLIGENT SYST (SHANGHAI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/119131
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-28
Filing Date
2024-09-14
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

In the prior art, in the fire monitoring of lithium battery boxes, alarm strategies need to be developed separately according to different scenarios and sensor types, resulting in an increase in the number of software, an extension of development and testing cycles, and inconvenient code upgrade management.

Method used

An alarm level determination method and device are provided, by acquiring the current environmental data collected by multiple preset sensors, determining the alarm conditions based on the sensor identification information, and automatically determining the target alarm level in response to the sub-alarm rules.

Benefits of technology

It realizes automatic determination of alarm levels, reduces system error alarms, improves users' fire detection and fire extinguishing capabilities when high alarm levels, and reduces fire losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024119131_03042025_PF_FP_ABST
    Figure CN2024119131_03042025_PF_FP_ABST
Patent Text Reader

Abstract

An alarm level determination method and apparatus, and an electronic device and a storage medium. The alarm level determination method comprises: acquiring current environment data collected by a plurality of preset sensors (S110); on the basis of respective identification information of the plurality of preset sensors, determining an alarm condition to which the respective corresponding current environment data belongs (S120); when a piece of current environment data meets an alarm sub-rule of a corresponding alarm condition, determining the alarm condition as a target alarm condition (S130); and determining as a target alarm level an alarm level to which the target alarm condition belongs, wherein the alarm level comprises at least one alarm condition (S140).
Need to check novelty before this filing date? Find Prior Art

Description

Alarm level determination method, device, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on September 28, 2023, with application number 202311282879.9. The entire contents of the above application are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of fire alarm technology, for example, to an alarm level determination method, device, electronic device and storage medium. Background Art

[0003] Lithium battery boxes are used for energy storage, have a large fire load, and are highly hazard-prone. Once a battery experiences thermal runaway, it is difficult to extinguish the fire, and it is particularly prone to systemic fires. Unless discovered and extinguished in time, the battery box will be severely damaged or even explode. Therefore, real-time monitoring of the fire situation in the battery box is required.

[0004] The alarm strategies used in related technologies can detect and trigger alarms using different sensors for different lithium battery boxes. However, the software for each sensor needs to be developed separately, meaning different alarm strategies for different scenarios correspond to different software. As non-standard application scenarios increase, the amount of software also increases. Programmers need to modify alarm strategies to meet these non-standard requirements, which increases development and testing cycles and makes code upgrade management inconvenient.

[0005] Summary of the Invention

[0006] The present application provides an alarm level determination method, device, electronic device and storage medium to achieve automatic determination of the alarm level, so that the system can issue early warnings according to different strategies based on the alarm level.

[0007] This application provides a method for determining an alarm level, comprising:

[0008] Get current environmental data collected by multiple preset sensors;

[0009] Determining, according to the identification information of each of the plurality of preset sensors, the alarm conditions to which the corresponding current environmental data belongs;

[0010] In response to a sub-alarm rule in which current environmental data satisfies a corresponding alarm condition, determining the alarm condition as a target alarm condition;

[0011] The alarm level to which the target alarm condition belongs is determined as the target alarm level; wherein the alarm level includes at least one alarm condition.

[0012] The present application also provides an alarm level determination device, comprising:

[0013] An environmental data determination module is configured to obtain current environmental data collected by a plurality of preset sensors;

[0014] an alarm condition determination module, configured to determine the alarm condition to which the current environmental data corresponding to each of the plurality of preset sensors belongs based on the identification information of each of the plurality of preset sensors;

[0015] a target alarm condition determination module configured to determine, in response to a sub-alarm rule in which current environmental data satisfies a corresponding alarm condition, the alarm condition as a target alarm condition;

[0016] The alarm level determination module is configured to determine the alarm level to which the target alarm condition belongs as the target alarm level; wherein the alarm level includes at least one alarm condition.

[0017] The present application also provides an electronic device, comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the alarm level determination method described in any embodiment of the present application.

[0021] The present application also provides a computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a processor to implement the alarm level determination method described in any embodiment of the present application when executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The following is a brief introduction to the drawings required for describing the embodiments.

[0023] FIG1 is a flow chart of a method for determining an alarm level provided in an embodiment of the present application;

[0024] FIG2 is a flow chart of another method for determining an alarm level provided in an embodiment of the present application;

[0025] FIG3 is a schematic structural diagram of an alarm level determination device provided in an embodiment of the present application;

[0026] FIG4 is a schematic structural diagram of an electronic device that implements a method for determining an alarm level according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will describe the technical solutions in the embodiments of this application in conjunction with the drawings in the embodiments of this application. The embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0028] The terms "first", "second" etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, in addition to comprising the process, method, system, product or equipment of a series of steps or units shown in the embodiments of the present application, other processes, methods, systems, products or equipment of this series of steps or units not clearly listed may also be included, or other steps or units inherent to these processes, methods, systems, products or equipment.

[0029] In one embodiment, FIG1 is a flow chart of a method for determining an alarm level provided by an embodiment of the present application. This embodiment is applicable to determining an alarm level. The method can be performed by an alarm level determination device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. As shown in FIG1 , the method includes:

[0030] S110: Acquire current environmental data collected by multiple preset sensors.

[0031] The current environment data may refer to fire warning-related data collected in the current environment. For example, the current environment data may include, but is not limited to, carbon monoxide concentration, hydrogen concentration, temperature, smoke concentration, and the like. There are multiple types of preset sensors, and different preset sensors may be used to collect different types of current environment data. In actual operation, a preset carbon monoxide concentration sensor may be used to collect the carbon monoxide concentration in the environment, a preset hydrogen concentration sensor may be used to collect the hydrogen concentration in the environment, a preset temperature sensor may be used to collect the current environment temperature, and a preset smoke concentration sensor may be used to collect the smoke concentration in the environment.

[0032] In this embodiment, the current environmental data collected by multiple preset sensors can be read. In actual applications, a sampling time interval can be pre-set to obtain the current environmental data such as carbon monoxide concentration, hydrogen concentration, temperature, smoke concentration, etc. collected by multiple preset sensors according to the sampling time interval.

[0033] S120: Determine the alarm conditions to which the current environmental data corresponding to each of the plurality of preset sensors belongs according to the identification information of each of the plurality of preset sensors.

[0034] The identification information may be an identifier for each preset sensor. During actual operation, the identification information may include the sensor number, sensor name identifier, etc. The alarm condition may refer to the conditions for satisfying a fire alarm and may be set in advance according to user needs. The number of alarm conditions may include multiple, and each alarm level may contain multiple alarm conditions. When any alarm condition in an alarm level is satisfied, it can be determined that the alarm level is satisfied. For example, the alarm condition may include that the current environmental data corresponding to the preset sensor with identification information of 1 satisfies a first preset condition, and the current environmental data corresponding to the preset sensor with identification information of 2 satisfies a second preset condition.

[0035] In this embodiment, a correspondence between the identification information of each preset sensor and an alarm condition can be pre-set, and the alarm condition corresponding to the current environmental data of each preset sensor can be determined based on the identification information of each preset sensor. In actual operation, a data temporary storage bit can be set in advance for the identification information of each preset sensor, stored in a preset first array, and the alarm condition corresponding to the current environmental data can be determined based on the identification information of each preset sensor in the preset first array.

[0036] S130: When the current environment data satisfies the sub-alarm rule of the corresponding alarm condition, the alarm condition is determined as the target alarm condition.

[0037] A sub-alarm rule can be an alarm rule configured for each alarm condition corresponding to the current environmental data. A sub-alarm rule can include judgment rules and preset alarm thresholds, and each data buffer location corresponds to a sub-alarm rule. In other words, each alarm condition can correspond to multiple sub-alarm rules. The target alarm condition can be the alarm condition met by the current environmental data, and can be the alarm condition with the highest alarm level among the satisfied alarm conditions.

[0038] In this embodiment, the sub-alarm rules corresponding to each alarm condition are extracted, and each piece of current environmental data is sequentially determined to determine whether it satisfies the corresponding sub-alarm rule, that is, whether it satisfies the judgment rule and preset alarm threshold of the sub-alarm rule. When it is determined that all sub-alarm rules within the same alarm condition are satisfied, the alarm condition is determined as the target alarm condition. In one embodiment, when there is an alarm condition that satisfies at least two sub-alarm rules, the alarm condition with the highest alarm level among the satisfied alarm conditions can be determined as the target alarm condition.

[0039] In actual operation, multiple alarm conditions can be prioritized according to their alarm levels. Starting with the highest-priority alarm condition, the system determines whether the corresponding current environmental data satisfies the corresponding alarm condition's sub-alarm rules. If the current environmental data satisfies the corresponding alarm condition's sub-alarm rules, the system stops determining the next alarm condition and determines that alarm condition as the target alarm condition.

[0040] S140: Determine the alarm level to which the target alarm condition belongs as the target alarm level; wherein the alarm level includes at least one alarm condition.

[0041] The alarm level may be pre-set according to the severity of the fire situation, and the number of alarm levels may be at least two, each of which has at least one alarm condition. When any alarm condition in an alarm level is satisfied, it can be determined that the alarm level is satisfied.

[0042] In this embodiment, after determining the target alarm condition, the alarm level to which the target alarm condition belongs can be determined, and the alarm level to which the target alarm condition belongs can be used as the target alarm level. In actual operation, the alarm levels can be determined in descending order of alarm levels to determine whether the target alarm condition is included, and the alarm level containing the target alarm condition can be used as the target alarm level.

[0043] In an embodiment of the present application, current environmental data collected by multiple preset sensors is obtained, and the alarm conditions corresponding to the current environmental data are determined according to the respective identification information of the multiple preset sensors. When the current environmental data meets the sub-alarm rule of the corresponding alarm condition, the alarm condition is determined as the target alarm condition, and the alarm level to which the target alarm condition belongs is determined as the target alarm level, thereby realizing automatic determination of the alarm level, so that the system can issue early warnings according to different strategies based on the alarm level, reduce the system's false alarms, and enable users to detect and extinguish fires in time when the alarm level is high, thereby minimizing fire losses.

[0044] In one embodiment, before obtaining the current environment data collected by multiple preset sensors, the method further includes:

[0045] Determine at least one preset sensor corresponding to each alarm condition according to the alarm requirement, and for each alarm condition, set a data temporary storage bit in the preset first array corresponding to the alarm condition according to the identification information of each preset sensor;

[0046] Determine the alarm level corresponding to each alarm condition, associate each alarm level and the corresponding alarm condition and store them in a preset second array, and identify different alarm conditions corresponding to the same alarm level with different priorities in the preset second array;

[0047] Configure the judgment rule corresponding to each data temporary storage location and the preset alarm threshold as a sub-alarm rule.

[0048] The preset first array can be used to store temporary data locations corresponding to the identification information of multiple preset sensors. The identification information of the multiple preset sensors can be used as an index of the preset first data, and the temporary data location of the current environmental data collected by each preset sensor can be determined according to the identification information. The preset second array can be used to store alarm conditions corresponding to multiple alarm levels, and the corresponding alarm level can be determined according to the alarm conditions. Within the preset second array, different alarm conditions of the same alarm level can be assigned different priorities.

[0049] The judgment rule may refer to a judgment method for judging the current environmental data corresponding to the temporary data storage position. For example, the judgment rule may include greater than or equal to and less than or equal to. In the actual operation process, the identifier of each judgment rule may be set, and the identifiers of multiple judgment rules and the temporary data storage position may be stored in an array corresponding to the judgment rule, so as to facilitate the extraction of the judgment rule. The preset alarm threshold may refer to the judgment threshold for judging the current environmental data corresponding to the temporary data storage position. The preset alarm threshold may be set according to the empirical value or user demand. The preset alarm threshold may also be stored in an array corresponding to the temporary data storage position, so as to facilitate the extraction of the preset alarm threshold. The corresponding judgment rule and preset alarm threshold may be extracted according to the temporary data storage position. When the current environmental data meets the preset alarm threshold according to the judgment rule, it can be determined that the current environmental data stored in the temporary data storage position meets the sub-alarm rule.

[0050] In this embodiment, the preset sensor corresponding to each alarm condition can be determined. For each alarm condition, a data temporary storage location is set in a preset first array corresponding to the alarm condition according to the identification information of each preset sensor. There can be multiple preset first arrays, each corresponding to an alarm condition. Simultaneously, the alarm level corresponding to each alarm condition can be determined, and each alarm level and corresponding alarm condition are associated and stored in a preset second array. Within the preset second array, different alarm conditions corresponding to the same alarm level are assigned different priorities. The judgment rule corresponding to each data temporary storage location and the preset alarm threshold are configured as sub-alarm rules to facilitate judgment of the target alarm condition.

[0051] In one embodiment, the alarm level determination method further includes:

[0052] Determine the current environmental data corresponding to the target alarm level, and output the target alarm level and the current environmental data.

[0053] In this embodiment, after the target alarm level is determined, the current environmental data corresponding to the target alarm level can be determined, and the target alarm level and the current environmental data can be output, so that the user can promptly determine the situation corresponding to the current environmental data, detect the fire in time, and extinguish the fire in time according to the current environmental data corresponding to the target alarm level.

[0054] In one embodiment, FIG2 is a flow chart of another alarm level determination method provided by an embodiment of the present application. This embodiment is based on the above embodiment and is optimized and expanded, and can be combined with multiple optional technical solutions in the above embodiment. As shown in FIG2, the method includes:

[0055] S210. Extracting environmental data collected by multiple preset sensors as current environmental data at preset time intervals; wherein the current environmental data includes at least one of the following: carbon monoxide concentration, hydrogen concentration, temperature, and smoke concentration.

[0056] The preset time interval may be a time interval for collecting data from a preset sensor set according to user needs. In actual operation, the preset time interval may include but is not limited to 200ms, 500ms, 1s, etc.

[0057] In this embodiment, environmental data collected by multiple preset sensors can be extracted at preset time intervals, and the environmental data collected by the multiple preset sensors can be used as current environmental data. Different types of preset sensors can be used for different current environmental data. The preset time intervals for extracting environmental data collected by each preset sensor can be the same or different, and there is no limitation on this. In one embodiment, the carbon monoxide concentration in the environment can be collected by a preset carbon monoxide concentration sensor at preset time intervals, the hydrogen concentration in the environment can be collected by a preset hydrogen concentration sensor at preset time intervals, the temperature of the current environment can be collected by a preset temperature sensor at preset time intervals, and the smoke concentration in the environment can be collected by a preset smoke concentration sensor at preset time intervals, and the carbon monoxide concentration, hydrogen concentration, temperature, and smoke concentration can be used as current environmental data.

[0058] S220 , extracting a preset first array corresponding to each alarm condition, and storing each current environmental data into a data temporary storage location of the preset first array corresponding to the corresponding alarm condition according to identification information of the corresponding preset sensor.

[0059] In this embodiment, the preset first array corresponding to each alarm condition can be extracted, and the corresponding current environmental data can be stored in the data temporary storage location of the preset first array corresponding to the corresponding alarm condition according to the identification information of each preset sensor. Each alarm condition can correspond to a preset first array, and the corresponding current environmental data can be stored in the data temporary storage location of the preset first array corresponding to the corresponding alarm condition according to the identification information of the preset sensor.

[0060] S230: Determine the sub-alarm rule configured for each data temporary storage location as the alarm condition for the current environmental data corresponding to the data temporary storage location.

[0061] In this embodiment, a sub-alarm rule configured for each data temporary storage location may be determined, and the sub-alarm rule configured for each data temporary storage location may be used as an alarm condition.

[0062] S240: Arrange a plurality of preset first arrays corresponding to the plurality of alarm conditions according to their priorities.

[0063] In this embodiment, since different alarm conditions corresponding to the same alarm level are identified with different priorities in the preset second array, the arrangement order of the corresponding multiple preset first arrays can be determined according to the priorities of the multiple alarm conditions, so that the preset first arrays corresponding to the alarm conditions with higher priorities are judged first.

[0064] S250: Determine whether the current environmental data of all data temporary storage locations in each preset first array meet the corresponding configured sub-alarm rules according to the arrangement order.

[0065] In this embodiment, the sub-alarm rule corresponding to each data temporary storage location can be extracted, the judgment rule of the sub-alarm rule and the preset alarm threshold can be determined, and the current environmental data of all data temporary storage locations in each preset first array can be judged in order of arrangement to determine whether they meet the corresponding configured sub-alarm rule. In actual operation, the current environmental data corresponding to each data temporary storage location in the preset first array can be determined in turn, and whether the preset alarm threshold is met according to the corresponding configured judgment rule.

[0066] S260: When the current environmental data of all data temporary storage locations in the preset first array meet the judgment rule of the corresponding sub-alarm rule and the preset alarm threshold, mark the alarm condition corresponding to the preset first array as the target alarm condition.

[0067] In this embodiment, when the current environmental data of all temporary data storage locations within the preset first array satisfies the corresponding configured sub-alarm rules, the alarm condition corresponding to the preset first array can be marked as the target alarm condition. In other words, when the current environmental data of the temporary data storage locations corresponding to the same alarm condition satisfies both the judgment rules of the sub-alarm rules and the preset alarm rules, the corresponding alarm condition is determined to be the target alarm condition.

[0068] S270 , based on the order of alarm levels from large to small, determine in sequence whether a target alarm condition exists in each alarm level, and use the alarm level to which the target alarm condition belongs as the target alarm level.

[0069] In the embodiment of the present application, after the target alarm condition is determined, it is possible to determine whether each alarm level contains the target alarm condition in descending order of alarm levels, and use the alarm level with the target alarm condition as the target alarm level.

[0070] In an embodiment of the present application, environmental data collected by multiple preset sensors are extracted as current environmental data according to preset time intervals, a preset first array corresponding to each alarm condition is extracted, and each current environmental data is stored in a data temporary storage position of the preset first array corresponding to the corresponding alarm condition according to the identification information of the corresponding preset sensor, a sub-alarm rule configured for each data temporary storage position is determined as an alarm condition, multiple preset first arrays are arranged according to the priority of the multiple alarm conditions, and it is judged in the order of arrangement whether the current environmental data of all data temporary storage positions in each preset first array meet the corresponding configured sub-alarm rules. When the current environmental data of all data temporary storage positions in the preset first array meet the judgment rules of the corresponding sub-alarm rules and the preset alarm threshold, the alarm condition corresponding to the preset first array is marked as a target alarm condition. Based on the order of alarm levels from large to small, it is determined in turn whether there is a target alarm condition in each alarm level, and the alarm level to which the target alarm condition belongs is used as the target alarm level, so as to realize automatic determination of the alarm level according to the priority of the alarm condition, improve the convenience of determining the alarm level, and enhance the user experience.

[0071] In one embodiment, this embodiment is a specific embodiment based on the above embodiment. Taking the number of the preset sensor as the identification information of the preset sensor as an example, a method for determining the alarm level is described, and can be combined with multiple optional technical solutions in the above implementation mode.

[0072] You can create an array of alarm conditions, an array of judgment rules, and an array of preset alarm thresholds.

[0073] sensorID[LevelMax][ConditionMax][SubConditionMax]; / / Preset sensor number

[0074] moreOrLess[LevelMax][ConditionMax][SubConditionMax]; / / 0:>=,1:<=(judgment rule)

[0075] ThrValue[LevelMax][ConditionMax][SubConditionMax]; / / Preset alarm threshold

[0076] Among them, sensorID: sensor number, used to retrieve sensor value (current environmental data);

[0077] moreOrLess: used to judge whether it is greater than or equal to or less than or equal to;

[0078] ThrValue: According to moreOrLess, if the value is greater than or equal to or less than this value, the alarm condition is met;

[0079] LevelMax: maximum alarm level;

[0080] ConditionMax: The maximum number of sufficient but not necessary conditions to reach the corresponding alarm level. The relationship between each condition is "or", and if one of them is met, the alarm level is met.

[0081] SubConditionMax: A necessary but not sufficient condition for the corresponding Condition to be met. Each Condition consists of SubConditionMax judgment conditions. If all SubConditions are met, the Condition satisfies the alarm.

[0082] In one embodiment, the highest level is set first during setting, that is, ThrValue[0][0][0] is the highest alarm level, and the lowest level is set last.

[0083] In one embodiment, a single alarm determination alarmCondition[L][m][n] may be performed first.

[0084] Calculate alarmCondition[L][m][n] alarm:

[0085] if moreOrLess[L][m][n]=0;

[0086] Then judge that the sensor value corresponding to sensorID[L][m][n] is greater than or equal to ThrValue[L][m][n] and alarm is triggered;

[0087] if moreOrLess[L][m][n]=1;

[0088] Then it is judged that the sensor value corresponding to sensorID[L][m][n] value≤ThrValue[L][m][n] and an alarm is triggered.

[0089] Then perform compound alarm condition judgment alarmCondition[L][m][0..n].

[0090] Calculate whether the compound alarm of alarmCondition[L][m][0..n] is established;

[0091] First set subAlarmFlg = 0;

[0092] Loop to make a single alarm condition judgment, n maximum value SubConditionMax-1;

[0093] If a single alarm condition is met, then subAlarmFlg=subalarmFlg+2 n ;

[0094] After the calculation is completed, when subAlarmFlg=2subalarmFlg-1, it is determined that the alarm condition is met.

[0095] Determine the target alarm level alarmCondition[L][0..m].

[0096] First set AlarmFlg=0;

[0097] Cycle through the compound alarm condition judgment, m maximum value ConditionMax-1;

[0098] If the alarm condition is met, AlarmFlg=AlarmFlg+2 m ;

[0099] After the calculation is completed, when AlarmFlg>0, the alarm level is established;

[0100] Determine the target alarm level = LevelMax-L.

[0101] In one embodiment, FIG3 is a schematic diagram of the structure of an alarm level determination device provided by an embodiment of the present application. As shown in FIG3 , the device includes: an environmental data determination module 31 , an alarm condition determination module 32 , a target alarm condition determination module 33 , and an alarm level determination module 34 .

[0102] The environmental data determination module 31 is configured to obtain current environmental data collected by a plurality of preset sensors;

[0103] An alarm condition determination module 32 is configured to determine the alarm conditions to which the corresponding current environmental data belongs based on the identification information of each of the plurality of preset sensors;

[0104] The target alarm condition determination module 33 is configured to determine the alarm condition as the target alarm condition when the current environmental data satisfies the sub-alarm rule of the corresponding alarm condition;

[0105] The alarm level determination module 34 is configured to determine the alarm level to which the target alarm condition belongs as the target alarm level; wherein the alarm level includes at least one alarm condition.

[0106] In an embodiment of the present application, the current environmental data collected by multiple preset sensors is obtained through the environmental data determination module, the alarm condition determination module determines the alarm conditions corresponding to the current environmental data according to the respective identification information of the multiple preset sensors, the target alarm condition determination module determines the alarm condition as the target alarm condition when the current environmental data meets the sub-alarm rule of the corresponding alarm condition, and the alarm level determination module determines the alarm level to which the target alarm condition belongs as the target alarm level, thereby realizing automatic determination of the alarm level, so that the system can issue early warnings according to different strategies based on the alarm level, reduce the system's false alarms, and enable users to detect and extinguish fires in time when the alarm level is high, thereby minimizing fire losses.

[0107] In one embodiment, the alarm level determination device further includes:

[0108] a temporary storage location setting module configured to determine at least one preset sensor corresponding to each alarm condition according to an alarm requirement, and for each alarm condition, set a data temporary storage location in a preset first array corresponding to the alarm condition according to identification information of each preset sensor;

[0109] a priority determination module configured to determine an alarm level corresponding to each alarm condition, associate each alarm level and the corresponding alarm condition and store them in a preset second array, and identify different alarm conditions corresponding to the same alarm level with different priorities within the preset second array;

[0110] The rule configuration module is configured to configure the judgment rule corresponding to each data temporary storage position and the preset alarm threshold as a sub-alarm rule.

[0111] In one embodiment, the environmental data determination module 31 includes:

[0112] The environmental data determination unit is configured to extract environmental data collected by multiple preset sensors as current environmental data at preset time intervals; wherein the current environmental data includes at least one of the following: carbon monoxide concentration, hydrogen concentration, temperature and smoke concentration.

[0113] In one embodiment, the alarm condition determination module 32 includes:

[0114] The data storage unit is configured to extract the preset first array corresponding to each alarm condition, and store each current environmental data in a data temporary storage position of the preset first array corresponding to the corresponding alarm condition according to the identification information of the corresponding preset sensor;

[0115] The alarm condition determination unit is configured to determine the sub-alarm rule configured for each data temporary storage location as the alarm condition for the current environmental data corresponding to each data temporary storage location.

[0116] In one embodiment, the target alarm condition determination module 33 includes:

[0117] an array arrangement unit configured to arrange a plurality of preset first arrays corresponding to a plurality of warning conditions according to the priorities of the plurality of alarm conditions;

[0118] an alarm rule matching unit configured to determine, in order of arrangement, whether the current environmental data of all data temporary storage locations in each preset first array satisfy the corresponding configured sub-alarm rules;

[0119] The alarm condition marking unit is configured to mark the alarm condition corresponding to the preset first array as the target alarm condition when the current environmental data of all data temporary storage locations in the preset first array meet the judgment rules of the corresponding sub-alarm rules and the preset alarm threshold.

[0120] In one embodiment, the alarm level determination module 34 includes:

[0121] The alarm level determination unit is configured to determine whether a target alarm condition exists in each alarm level in descending order of the alarm levels, and use the alarm level to which the target alarm condition belongs as the target alarm level.

[0122] In one embodiment, the alarm level determination device further includes:

[0123] The data output module is configured to determine the current environmental data corresponding to the target alarm level and output the target alarm level and the current environmental data.

[0124] The alarm level determination device provided in the embodiments of the present application can execute the alarm level determination method provided in any embodiment of the present application, and has the corresponding functional modules and effects of the execution method.

[0125] In one embodiment, FIG4 is a schematic diagram of the structure of an electronic device that implements an alarm level determination method of an embodiment of the present application. The electronic device can be any form of digital computer, such as a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also be any form of mobile device, such as a personal digital processing, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0126] As shown in FIG4 , the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, that is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0127] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as any type of display, a speaker, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or any telecommunication network.

[0128] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes any of the methods and processes described above, such as the alarm level determination method.

[0129] In some embodiments, the alarm level determination method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the alarm level determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the alarm level determination method in any other suitable manner (e.g., via firmware).

[0130] Any implementation of the systems and techniques described herein can be implemented in a digital electronic circuit system, an integrated circuit system, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or a combination thereof. These implementations can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0131] Computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0132] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0133] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube (CRT) or a liquid crystal display (LCD) monitor) configured to display information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be configured to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0134] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0135] A computing system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. This client-server relationship is established by running computer programs on the respective computers. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a host product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosts and virtual private server (VPS) services.

[0136] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the multiple steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of this application can be achieved. This is not limited herein.

Claims

1. A method for determining an alarm level, comprising: Obtain current environmental data collected by multiple preset sensors; Determining the alarm conditions to which the current environmental data corresponding to each of the plurality of preset sensors belongs according to the respective identification information of the plurality of preset sensors; In response to a sub-alarm rule that the current environment data satisfies a corresponding alarm condition, determining the alarm condition as a target alarm condition; The alarm level to which the target alarm condition belongs is determined as the target alarm level; wherein the alarm level includes at least one alarm condition.

2. The method according to claim 1, before acquiring the current environment data collected by the plurality of preset sensors, further comprising: Determine at least one preset sensor corresponding to each alarm condition according to the alarm requirement, and for each alarm condition, set a data temporary storage bit in the preset first array corresponding to the alarm condition according to the identification information of each preset sensor; Determine the alarm level corresponding to each alarm condition, associate each alarm level and the corresponding alarm condition and store them in a preset second array, and identify different alarm conditions corresponding to the same alarm level with different priorities in the preset second array; The judgment rule corresponding to each data temporary storage position and the preset alarm threshold are configured as the sub-alarm rule.

3. The method according to claim 1, wherein: The obtaining of current environmental data collected by a plurality of preset sensors includes: The environmental data collected by the plurality of preset sensors are extracted as current environmental data at preset time intervals; wherein the current environmental data includes at least one of the following: carbon monoxide concentration, hydrogen concentration, temperature, and smoke concentration.

4. The method according to claim 2, wherein: The step of determining the alarm conditions to which the current environmental data corresponding to each of the plurality of preset sensors belongs according to the respective identification information of the plurality of preset sensors comprises: Extracting the preset first array corresponding to each alarm condition, and storing each current environmental data into the data temporary storage position of the preset first array corresponding to the corresponding alarm condition according to the identification information of the corresponding preset sensor; The sub-alarm rule configured for each data temporary storage location is determined as the alarm condition of the current environmental data corresponding to each data temporary storage location.

5. The method according to claim 2, wherein: In response to a sub-alarm rule that the current environment data satisfies a corresponding alarm condition, determining the alarm condition as a target alarm condition includes: Arrange a plurality of preset first arrays corresponding to the plurality of alarm conditions according to the priorities of the plurality of alarm conditions; Determining whether the current environmental data of all data temporary storage locations in each preset first array all meet the corresponding configured sub-alarm rules according to the arrangement order; In response to the current environmental data of all data temporary storage locations in the preset first array satisfying the judgment rule of the corresponding sub-alarm rule and the preset alarm threshold, the alarm condition corresponding to the preset first array is marked as the target alarm condition.

6. The method according to claim 1, wherein: The step of determining the alarm level to which the target alarm condition belongs as the target alarm level includes: Based on the order of alarm levels from large to small, it is determined in turn whether the target alarm condition exists in each alarm level, and the alarm level to which the target alarm condition belongs is used as the target alarm level.

7. The method according to claim 1, further comprising: Determine the current environment data corresponding to the target alarm level, and output the target alarm level and the current environment data.

8. An alarm level determination device, comprising: An environmental data determination module, configured to obtain current environmental data collected by a plurality of preset sensors; An alarm condition determination module, configured to determine the alarm conditions to which the respective corresponding current environmental data belong according to the respective identification information of the plurality of preset sensors; An alarm condition determination module, configured to respond to a sub-alarm rule of a current environmental data satisfying a corresponding alarm condition, and determine the alarm condition as a target alarm condition; The alarm level determination module is configured to determine the alarm level to which the target alarm condition belongs as the target alarm level; wherein the alarm level includes at least one alarm condition.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the alarm level determination method according to any one of claims 1 to 7.

10. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the alarm level determination method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Intelligent alarm method and system

    CN109767599A

  • Methods for detecting environmental anomaly and initiating enhanced automatic response

    CN112771551A

  • Carbon monoxide early warning system and equipment

    CN115668323A

  • Sensor data transmission device and method

    CN116743879A

  • Alarm level determination method and device, electronic equipment and storage medium

    CN117198017A