CN116756461A - Quick analysis system and analysis method for fire-fighting linkage formula - Google Patents
Quick analysis system and analysis method for fire-fighting linkage formula Download PDFInfo
- Publication number
- CN116756461A CN116756461A CN202310466173.1A CN202310466173A CN116756461A CN 116756461 A CN116756461 A CN 116756461A CN 202310466173 A CN202310466173 A CN 202310466173A CN 116756461 A CN116756461 A CN 116756461A
- Authority
- CN
- China
- Prior art keywords
- linkage
- alarm
- fire
- equipment
- analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 121
- 239000000779 smoke Substances 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 238000000034 method Methods 0.000 claims description 5
- 238000013500 data storage Methods 0.000 claims description 3
- 230000014509 gene expression Effects 0.000 description 3
- 238000002360 preparation method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001364 causal effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Alarm Systems (AREA)
Abstract
The invention provides a rapid analysis system and an analysis method for a fire-fighting linkage formula, wherein the linkage formula is required to be designed in advance, and when alarm equipment alarms and linkage field equipment is required, the rapid analysis of the linkage formula is realized through the cooperation of a pre-analysis algorithm and the linkage formula; when analyzing the linkage formula, firstly pre-analyzing the input linkage formula, namely, firstly making a preliminary judgment by sequentially comparing the start-up mark, the general secondary code and the equipment type, and if the comparison of the start-up mark, the general secondary code and the equipment type is unsuccessful, directly exiting the analysis of the linkage formula.
Description
Technical Field
The invention relates to a rapid analysis system and a rapid analysis method for a fire-fighting linkage formula, and belongs to the technical field of remote debugging of fire alarm equipment.
Background
The fire-fighting linkage equipment is suitable for being installed in public places, factories and other environments, when fire alarms exist, the fire-fighting linkage equipment can send alarm signals to a fire-fighting controller through a communication technology after receiving the closing signals, and can output the closing signals to be matched with other equipment (such as smoke exhaust valves, fireproof doors and the like), so that fire-fighting linkage actions are realized, and the fire conditions are blocked.
The linkage formula is a logic expression for defining the linkage relation between the alarm equipment and the fire-fighting linkage equipment (controlled equipment) in the system. When the state of the detecting equipment alarm or control module in the system changes, the controller can automatically execute starting or stopping operation on the controlled equipment according to the logic expressions. The quick response and the starting of the fire-fighting linkage equipment are of great importance, and the fire-fighting linkage equipment can fight out golden time for blocking fire. However, in the prior art, a linkage formula of the fire-fighting linkage equipment generally adopts a mode of analyzing the coding character strings in the logic expression one by one, so that the analysis efficiency is low, and the linkage formula analyzed by the fire-fighting linkage equipment is more complicated under the condition of especially doubling fire-fighting facilities, so that the time consumption required by analysis is longer and longer. Under the circumstance, a rapid analysis method for a fire-fighting linkage formula is designed.
Patent CN111913845a discloses a method and a device for debugging a fire-fighting host, and a system for debugging the fire-fighting host, and also discloses a CSV engineering file, wherein the CSV engineering file at least comprises at least one of the following information: host information of a fire-fighting host, peripheral equipment information of the fire-fighting host, linkage equipment information, wire coil information and telephone disc information; the linkage formulas include a wide variety of, for example, general linkage formulas, gas linkage formulas, early warning linkage formulas; the wire coil information may include, but is not limited to, multi-wire coil information, bus coil information. In the embodiment of the present invention, description will be given taking the downloaded information as a general linkage formula as an example. The test end can edit the corresponding CSV file in the compressed package according to the format of the general linkage formula of the existing fire-fighting host, and the content of the CSV file is shown in the table 1. After a tester at the test end can write a linkage formula by himself, the written linkage formula is uploaded to a server only by opening a webpage through a browser of a computer or a mobile phone, and contents to be debugged are selected to click a corresponding engineering file to download. And analyzing the target engineering file to obtain an analysis result, and generating a debugging instruction based on the analysis result. Although the patent discloses resolving the linkage formula to obtain a debugging instruction and improving the efficiency of debugging the fire-fighting host, the patent does not disclose how to achieve rapid resolving of the linkage formula.
Disclosure of Invention
The invention provides a rapid analysis system and an analysis method for a fire-fighting linkage formula, which are used for realizing rapid analysis of the linkage formula by designing a pre-analysis algorithm and matching the linkage formula, so as to achieve rapid response and starting of fire-fighting linkage equipment.
The technical scheme of the invention adopts the following steps: the rapid analysis system for the fire-fighting linkage formula is characterized in that the periphery of a fire alarm controller is connected with the following modules:
the linkage formula input module is used for inputting a linkage formula;
the linkage formula storage module is used for storing the input linkage formula into the nonvolatile memory;
the linkage formula pre-analysis module is used for pre-analyzing the input linkage formula and obtaining a pre-analysis linkage algorithm;
the linkage formula pre-analysis data storage module is used for storing the obtained pre-analysis linkage algorithm into a nonvolatile memory;
the fire alarm information input module is used for inputting fire alarm information when a fire alarm occurs and inputting the fire alarm information to the linkage analysis module;
the linkage analysis module is used for reading the pre-analysis linkage algorithm and judging whether the fire alarm information input by the fire alarm information input module needs to read the linkage formula or not, if so, the fire alarm information obtains a linkage analysis result through analysis so as to determine linkage equipment needing linkage;
and the linkage equipment starting module is used for rapidly starting corresponding linkage equipment on the bus through the linkage analysis result output by the linkage analysis module.
Further, the coding format of each fire alarm information is (secondary code of alarm equipment+alarm equipment type), the secondary code of alarm equipment and the alarm equipment type adopt character strings respectively, the secondary code symbol string of alarm equipment adopts eight bits or ten bits, wherein the secondary code of alarm equipment represents the position of the alarm equipment and the information related to the position, and the alarm equipment type represents different fire detection equipment.
Further, the coding format of the linkage analysis result is (linkage equipment secondary code+linkage equipment type), the linkage equipment secondary code and the linkage equipment type adopt character strings respectively, wherein the linkage equipment secondary code represents the position of the linkage equipment and information related to the position, and the linkage equipment type represents different fire-fighting linkage equipment.
The fire detection device includes, but is not limited to, a smoke detector, a temperature detector, a manual alarm button, a combustible gas detector, an electrical fire detector.
Taking the linkage equipment secondary code and the alarm equipment secondary code as examples, the eight-bit character string is adopted, and the format of the linkage formula is as follows:
1. y (linkage device secondary code linkage device type) = (alarm device secondary code alarm device type) _x+, is recorded as: y (XXXXXXXX XXX) = (xxxxxxxxxxxx XXX) _ + (XXXXXXXXX) _ +,.
2. Y (linkage device secondary code linkage device type) =x (alarm device secondary code alarm device type) _x+, is noted: y (XXXXXXXX XXX) = X (XXXXXXXXX XXX) + (xxxxxxxxxxxxx) _x+,.
3. Y (linkage device secondary code linkage device type) = (alarm device secondary code alarm device type) _x (alarm device secondary code alarm device type) _x..the name is: y (XXXXXXXX XXX) = (xxxxxxxxxxxxxxx) _x (XXXXXXXXX) _x.
4. Y (linkage device secondary code linkage device type) =x (alarm device secondary code alarm device type) _x (alarm device secondary code alarm device type) _x..the name is: y (XXXXXXXX XXX) = X (XXXXXXXXX XXX) (xxxxxxxxxxx) _x.,;
in the above linkage formula, 1) a symbol "=" indicates that the linkage device is started when the condition is satisfied, and a symbol "= X" indicates that the linkage device is stopped when the condition is satisfied; 2) The symbol "_x" indicates the number of alarms that the alarm device in brackets meets the condition; 3) The symbol "+" represents "or", and the symbol "×" represents "and"; 4) The equipment secondary code and the alarm equipment type in the fire alarm information alarm are subjected to OR operation according to the bits of all groups, and the condition that the two groups are not equal is given to the OR operation, so that the general configuration secondary code is obtained.
The rapid analysis method for the fire-fighting linkage formula adopts the analysis system and comprises the following steps:
(1) Defining a linkage formula coding format: respectively defining the coding formats of the fire information and the linkage analysis result, wherein the number of the character string bits is required to be consistent;
(2) Forming a linkage formula: based on the fire information and the coding format of the linkage analysis result, compiling a linkage formula with consistent coding format according to the requirement;
(3) Inputting a linkage formula: inputting a linkage formula through a linkage formula input module, and storing the linkage formula into a linkage formula storage module; in the linkage formula, fire alarm information is subjected to OR operation according to bits through all groups, and is endowed with an OR operation if the fire alarm information is not equal to the OR operation, so that a wild secondary code is obtained;
(4) Obtaining a pre-analysis linkage algorithm: pre-analyzing the input linkage formula by a linkage formula pre-analyzing module to obtain a pre-analyzing linkage algorithm;
(5) Inputting fire alarm information: when a fire alarm occurs, the fire alarm information is input through the fire alarm information input module, and the fire alarm information is input into the linkage analysis module;
(6) Pre-analyzing: the linkage analysis module reads the fire alarm information and judges whether to pre-analyze the fire alarm information by comparing the universal secondary codes according to a pre-analysis linkage algorithm, if so, the next step is carried out after the pre-analysis is completed, and analysis is carried out;
(7) Analysis: the linkage analysis result is obtained by further comparing the fire information with the equipment type and the residual secondary code analysis in the linkage formula so as to determine linkage equipment needing linkage;
(8) The linkage on the bus is quickly activated.
Further, the pre-analysis linkage algorithm specifically comprises the following steps: the information of the alarm device after "=" or "= X" in the linkage formula is sequentially analyzed as follows: the alarm device is provided with a general secondary code, an alarm device type, an alarm device starting mark, a reserved bit, an alarm device output type, a total number of brackets, a total number of groups in a first bracket, a device type in the first group, a total number of condition satisfaction in the first group, a logic operator after the first bracket, a total number of groups in a second bracket, a device type in the second group and a secondary code starting position … … ending symbol in the second group, wherein each item of information is respectively represented by numerical values.
Further, the pre-analysis and analysis process is specifically,
(1) Judging the state of a starting mark: 1 indicates started, and 0 indicates not started; if the start flag is 0, proceeding to the next step (2);
(2) If the general secondary code of the alarm device and the secondary code of the alarm device are successfully compared, the next step (3) is carried out, and the type of the alarm device is continuously compared;
(3) If the type of the alarm equipment is successfully compared, reading a linkage formula, and acquiring the offset position of the secondary code of the type of the alarm equipment according to a pre-analysis algorithm, and rapidly comparing the secondary codes of the alarm equipment in the remaining positions;
(4) If the secondary code of the alarm equipment in a certain bracket is successfully compared with the type of the alarm equipment, judging whether the total number of the alarm numbers meeting the condition is equal;
(5) If the total number of alarms meeting the condition is equal, judging whether the logic carrier after the bracket is an OR operator;
(6) If the operator is the OR operator, the subsequent formulas do not need to be parsed again, and if the operator is not the OR operator, the subsequent linkage formulas continue to be parsed;
(7) In the steps (2) to (6), any step is unsuccessful in comparison or is judged as no, the linkage formula analysis is directly exited, and the analysis is ended.
The invention has the technical effects that:
when the method is implemented, a linkage formula is designed in advance, and when the alarm equipment alarms and needs to link the field equipment, the quick analysis of the linkage formula is realized through the cooperation of a pre-analysis algorithm and the linkage formula;
in the invention, when analyzing the linkage formula, firstly, pre-analyzing the input linkage formula, namely, firstly, carrying out preliminary judgment by sequentially comparing the starting mark, the general secondary code and the equipment type, and if the starting mark, the general secondary code and the equipment type are not successfully compared, directly exiting the analysis of the linkage formula.
Drawings
FIG. 1 is a block diagram of a system of the present invention.
Description of the embodiments
The invention provides a rapid analysis system for a fire-fighting linkage formula, which comprises a controller and the following modules connected with the periphery of the controller:
(1) The linkage formula input module is used for inputting a linkage formula; an input interface of the fire alarm system, such as a USB interface, is generally used as a linkage formula input module;
(2) The linkage formula storage module is used for storing the input linkage formula into a nonvolatile memory, such as Flash, EEPROM and the like;
(3) The linkage formula pre-analysis module is used for pre-analyzing the input linkage formula and obtaining a pre-analysis linkage algorithm;
(4) The linkage formula pre-analysis data storage module is used for storing the obtained pre-analysis linkage algorithm into a nonvolatile memory, such as Flash, EEPROM and the like;
(5) The fire alarm information input module is used for inputting fire alarm information when a fire alarm occurs and inputting the fire alarm information to the linkage analysis module;
(6) The linkage analysis module is used for reading the pre-analysis linkage algorithm and judging whether the fire alarm information input by the fire alarm information input module needs to read the linkage formula or not, if so, the fire alarm information obtains a linkage analysis result through analysis so as to determine linkage equipment needing linkage;
(7) And the linkage equipment starting module is used for rapidly starting corresponding linkage equipment on the bus through the linkage analysis result output by the linkage analysis module.
The coding format of each fire alarm information is defined as (secondary code of alarm equipment+type of alarm equipment), the secondary code of alarm equipment and the type of alarm equipment are respectively character strings, the secondary code character strings of alarm equipment are eight or ten bits, wherein the secondary code of alarm equipment represents the position of alarm equipment and information related to the position, and the type of alarm equipment represents different fire detection equipment.
The coding format of the linkage analysis result is defined as (linkage equipment secondary code+linkage equipment type), the linkage equipment secondary code and the linkage equipment type adopt character strings respectively, wherein the linkage equipment secondary code represents the position of linkage equipment and information related to the position, and the linkage equipment type represents different fire-fighting linkage equipment.
The fire detection device includes, but is not limited to, a smoke detector, a temperature detector, a manual alarm button, a combustible gas detector, an electrical fire detector; the fire protection linkage includes, but is not limited to, a fire door and a smoke evacuation valve.
Further, a linkage or alarm device secondary code is defined, consisting of eight digits 0 to 9, which is a set of numbers that are artificially defined to express the particular field environment in which the device is located, through which a user can easily know the location of the device being coded (linkage or alarm device) and other information related to the location.
The secondary code for the linkage or alarm device is generally specified as follows:
the number of the building where the first and second corresponding devices are located is 0-99. By building number is meant a relatively independent building such as: a garden district is composed of a plurality of office buildings, and each building can be regarded as a building;
the third position corresponds to the area code of the building where the equipment is located, and the value range is 0-9. If a building has 3 units, each unit is a zone;
the fourth and fifth digits are floor numbers, for the convenience of defining the equipment of the underground part of the building, the underground first floor is 99, the underground second floor is 98, and so on;
the sixth, seventh and eighth bits correspond to the room number or other code that can identify the feature where the bus system device is located.
Further, a linkage formula is defined
The linkage formula of the system is divided into a front part and a rear part by an equal sign, and the rear part is used as a condition and consists of an alarm device secondary code, an alarm device type and a relation operator; the equipment to be linked is composed of a linkage equipment secondary code and a linkage equipment type.
For example: y (01010001 011) = (01010 x 004) 2
The representation is: in the hand report with the front 5 bits of the secondary code being 01010, when any two alarms are given, the 01010001 audible and visual alarm is started immediately.
Note that:
1) Symbol "=" indicates that the device is started when the condition is satisfied, and symbol "= X" indicates that the device is stopped when the condition is satisfied;
2) In the linkage formula, "=" the front and back devices are required to be composed of secondary codes and device types, the types cannot default, and the secondary codes and the device types are separated by spaces. The = "is preceded by a linkage equipment secondary code and a linkage equipment type, the" = "is followed by an alarm equipment secondary code and an alarm equipment type, and the _ after each group of brackets of the alarm equipment represents the number of alarms in the brackets when the alarm equipment meets the condition;
3) The relation symbols are AND, OR, wherein "+" represents OR and "×" represents AND;
4) The linkage formula allows a wild card to be expressed by a "#", and any number between 0 and 9 is replaced by the wild card. Wild cards are currently only used in the secondary code portion, e.g. 0 x 001315 represents: 01001315+02001315+03001315+04001315+05001315+06001315+07001315+08001315+09001315+00001315, cannot be used in a type;
for example: y (01010001 011) = (01010 x 002) _1+ (01010 x 004) _1)
The representation is: when any one of smoke sensations with the front 5 bits of the secondary code being 01010 alarms or any one of handreports with the front 5 bits of the secondary code being 01010 alarms, an acousto-optic alarm of 01010001 is started immediately;
for example: y (0101000×011) = (01010×002) _1× (01010×004) _1)
The representation is: when any one of smoke sensations with the front 5 bits of the secondary code being 01010 alarms and any one of handreports with the front 5 bits of the secondary code being 01010 alarms simultaneously, an audible and visual alarm with the front 7 bits of the secondary code being 0101000 is started immediately;
5) There can only be one symbol representing a causal relationship in one linkage formula.
The embodiment provides a rapid analysis method for a fire-fighting linkage formula, which adopts the analysis system and comprises the following steps:
(1) Defining a coding format: respectively defining the coding formats of the fire information and the linkage analysis result, wherein the number of the character string bits is required to be consistent;
(2) Forming a linkage formula: based on the fire information and the coding format of the linkage analysis result, compiling a linkage formula with consistent coding format according to the requirement;
(3) Inputting a linkage formula: inputting a linkage formula through a linkage formula input module, and storing the linkage formula into a linkage formula storage module; in the linkage formula, fire alarm information is subjected to OR operation according to bits through all groups, and is endowed with an OR operation if the fire alarm information is not equal to the OR operation, so that a wild secondary code is obtained;
(4) Obtaining a pre-analysis linkage algorithm: pre-analyzing the input linkage formula by a linkage formula pre-analyzing module to obtain a pre-analyzing linkage algorithm;
(5) Inputting fire alarm information: when a fire alarm occurs, the fire alarm information is input through the fire alarm information input module, and the fire alarm information is input into the linkage analysis module;
(6) Judging the state of a starting mark: 1 indicates started, and 0 indicates not started; if the start flag is 0, proceeding to the next step (2);
(7) If the general secondary code of the alarm device and the secondary code of the alarm device are successfully compared, the next step (8) is carried out, and the type of the alarm device is continuously compared;
(8) If the type of the alarm equipment is successfully compared, reading a linkage formula, and acquiring the offset position of the secondary code of the type of the alarm equipment according to a pre-analysis algorithm, and rapidly comparing the secondary codes of the alarm equipment in the remaining positions;
(9) If the secondary code of the alarm equipment in a certain bracket is successfully compared with the type of the alarm equipment, judging whether the total number of the alarm numbers meeting the condition is equal;
(10) If the total number of alarms meeting the condition is equal, judging whether the logic carrier after the bracket is an OR operator;
(11) If the operator is the OR operator, the subsequent formulas do not need to be parsed again, and if the operator is not the OR operator, the subsequent linkage formulas continue to be parsed;
in the steps (6) to (11), any step is unsuccessful in comparison or is judged as no, the linkage formula analysis is directly exited, and the analysis is ended; and if the linkage analysis result is obtained, determining and quickly starting the linkage equipment on the bus.
Further, the pre-analysis linkage algorithm specifically comprises the following steps: the information (i.e. fire information) of the alarm device after "=" or "= X" in the linkage formula is sequentially analyzed as follows: the alarm device is provided with a general secondary code, an alarm device type, an alarm device starting mark, a reserved bit, an alarm device output type, a total number of brackets, a total number of groups in a first bracket, a device type in the first group, a total number of condition satisfaction in the first group, a logic operator after the first bracket, a total number of groups in a second bracket, a device type in the second group and a secondary code starting position … … ending symbol in the second group, wherein each item of information is respectively represented by numerical values.
Example 1: the linkage formula is as follows: y (01001009 010) = (01001006 004) _1x (01001007 004) _1 is taken as an example, and the pre-analysis linkage algorithm corresponding to the linkage formula is as follows: 30 31 30 30 31 30 30 2A 04 0400 0000 0000 0000 0000 0000 0001 02 01 04 11 01 58 01 04 22 01 00-terminator, as shown in table 1 below.
TABLE 1
General purpose medicine Matching with Two (II) Secondary times Code | Is provided with Preparation method Class(s) A kind of electronic device with a display unit | Opening and closing Dynamic movement Label (C) Sign of the user | Protection device Leave behind | Conveying device Out of Class(s) A kind of electronic device with a display unit | Scraper Number (number) Total (S) Number of digits | First, the A first part Personal (S) Scraper Number (number) In (a) Group of Total (S) Number of digits | First, the A first part Group of In (a) Is provided with Preparation method Class(s) A kind of electronic device with a display unit | First, the A first part Group of In (a) Two (II) Secondary times Code Starting up Starting from the beginning Bit position Device for placing articles | First, the A first part Group of In (a) Strip Piece Full of Foot support Total (S) Number of digits | First, the A first part Personal (S) Scraper Number (number) Rear part (S) A kind of electronic device Logic (toy) Editing machine Transport and transport Calculation of Symbol | First, the Two (II) Personal (S) Scraper Number (number) In (a) Group of Total (S) Number of digits | First, the Two (II) Group of In (a) Is provided with Preparation method Class(s) A kind of electronic device with a display unit | First, the Two (II) Group of In (a) Two (II) Secondary times Code Starting up Starting from the beginning Bit position Device for placing articles | Knot(s) Bundle of wires Symbol | |
30 31 30 30 31 30 30 2A | 04 04 00 00 00 00 00 00 00 00 00 00 | 00 | 00 | 01 | 02 | 01 | 04 | 11 | 01 | 58 | 01 | 04 | 22 | 00 |
Example 2, in the linkage formula: y (01001×011) =x (01001001 001+01001002 002) _1+ (01001003 004) _1 is taken as an example, and the pre-resolution linkage algorithm corresponding to the linkage formula is as follows: 30 31 30 30 31 30 30 2A 01 02 0400 0000 0000 0000 0000 0000 01 02 02 01 02 12 1F 01 2B 2B 01 04 3001 00-terminator, as shown in table 2 below.
TABLE 2
Wherein the following formats are applicable (only an increased number of types is required, in the example only 12 types are supported, at most 12 groups)
Format Y (0100×011) = X (01001001 002+0100100 × 002+01001001 002+01001002 002+01001003 002+01001004 002+01001005 002+01001006 002+01001007 002+01001008 002+01001009 002+01001010 002+ …) _9
The format Y (01001036 011) = X (01001001 002) _1+ (01001002 002) _2+ (01001001 002) _4x (01001002 002) _1+ (01001003 002) _1+ (01001004 002) _1+ (01001005 002) _1+ (01001006 002) _1+ (01001007 002) _1+ (01001008 002) _1+ (01001009 002) _1x (01001010 002) _9+ …)
Format Y (01001036 011) = X (01001001 002+01001005 004+ …) _1+ (01001002 002) _2+ (01001001 002) _4x (01001002 002) _1+ (01001003 002) _1+ (01001004 002) _1+ (01001005 002) _1+ (01001006 002) _1+ (01001007 002) _1+ (01001008 002) _1+ (01001009 002) _1x (01001010 002) _9+ …)
For example 3, the linkage formula is input: y (01001009 010) = (01001006 004) _1+ (01001007 004) _1), the pre-resolution algorithm is output: 30 31 30 30 31 30 30 2A 04 0400 0000 0000 0000 0000 0000 0001 02 01 04 11 01 2B 01, the analytical process is as follows:
(1) When the fire alarm input module inputs fire alarm information, the secondary code and the equipment type of the alarm equipment mainly provide the fire alarm information, such as 01001006 004;
(2) The linkage analysis module reads a linkage pre-analysis algorithm: 30 31 30 30 31 30 30 2A 04 0400 0000 0000 0000 0000 0000 0001 02 01 04 11 01 2B 01;
(3) Judging the state of a starting mark, wherein 1 represents that the starting is performed, and 0 represents that the starting is not performed;
(4) If the start flag is 0, continuing to compare the wild secondary code 0100100;
(5) If the comparison of the wild secondary codes is successful (the alarm device secondary code 01001006 and the wild secondary code 0100100) or the alarm device secondary code 01001007 and the wild secondary code 0100100), continuing to compare the device type secondary codes 004;
(6) If the equipment type secondary code is successfully compared, a linkage formula is read, and according to a pre-analysis algorithm, the provided linkage formula is used for alarming equipment secondary codes, the positions of the alarming equipment type deviations are compared with the residual position alarming equipment secondary codes, such as 01001006 004 in the linkage formula and 01001006 004 for alarming information input;
(7) If the comparison is successful, the secondary code of the alarm device in a certain bracket and the type of the alarm device are compared, and the total number is continuously judged to be satisfied;
(8) Judging whether the total number of the condition satisfaction is equal or not (the satisfaction is once indicated as being true in the linkage formula;
(9) If the total number of the condition satisfaction is equal, judging whether the logic carrier behind the bracket is an OR operator (the "+" in the linkage formula represents OR operation), if the logic carrier is the OR operator, analyzing the following formula is not needed, and if the logic carrier is not the linkage formula in the bracket behind the linkage formula, continuing to analyze the linkage formula;
(10) The comparison in any step is unsuccessful, and the linkage formula analysis is directly exited, so that the quick judgment is realized.
Claims (8)
1. A fire control linkage formula is with quick analytic system, its characterized in that: the periphery of the fire alarm controller is connected with the following modules:
the linkage formula input module is used for inputting a linkage formula;
the linkage formula storage module is used for storing the input linkage formula into the nonvolatile memory;
the linkage formula pre-analysis module is used for pre-analyzing the input linkage formula and obtaining a pre-analysis linkage algorithm;
the linkage formula pre-analysis data storage module is used for storing the obtained pre-analysis linkage algorithm into a nonvolatile memory;
the fire alarm information input module is used for inputting fire alarm information when a fire alarm occurs and inputting the fire alarm information to the linkage analysis module;
the linkage analysis module is used for reading the pre-analysis linkage algorithm and judging whether the fire alarm information input by the fire alarm information input module needs to read the linkage formula or not, if so, the fire alarm information obtains a linkage analysis result through analysis so as to determine linkage equipment needing linkage;
and the linkage equipment starting module is used for rapidly starting corresponding linkage equipment on the bus through the linkage analysis result output by the linkage analysis module.
2. The rapid analysis system for a fire fighting linkage formula of claim 1, wherein: the coding format of each fire alarm information is (secondary code of alarm equipment+alarm equipment type), the secondary code of alarm equipment and the alarm equipment type adopt character strings respectively, the secondary code symbol string of alarm equipment adopts eight bits or ten bits, wherein the secondary code of alarm equipment represents the position of the alarm equipment and the information related to the position, and the alarm equipment type represents different fire detection equipment.
3. The rapid analysis system for a fire fighting linkage formula of claim 1, wherein: the linkage analysis result is in a coding format (linkage equipment secondary code+linkage equipment type), and the linkage equipment secondary code and the linkage equipment type adopt character strings respectively, wherein the linkage equipment secondary code represents the position of linkage equipment and information related to the position, and the linkage equipment type represents different fire-fighting linkage equipment.
4. The rapid analysis system for a fire fighting linkage formula of claim 1, wherein: the fire detection device includes, but is not limited to, a smoke detector, a temperature detector, a manual alarm button, a combustible gas detector, an electrical fire detector.
5. A rapid analysis system for fire fighting linkage formulas according to claim 1 or 2, characterized in that: taking the linkage equipment secondary code and the alarm equipment secondary code as examples, the eight-bit character string is adopted, and the format of the linkage formula is as follows:
y (linkage device secondary code linkage device type) = (alarm device secondary code alarm device type) _x+, is recorded as: y (XXXXXXXX XXX) = (xxxxxxxxxxxx XXX) _ + (XXXXXXXXX) _ +,.
Y (linkage device secondary code linkage device type) =x (alarm device secondary code alarm device type) _x+, is noted: y (XXXXXXXX XXX) = X (XXXXXXXXX XXX) + (xxxxxxxxxxxxx) _x+,.
Y (linkage device secondary code linkage device type) = (alarm device secondary code alarm device type) _x (alarm device secondary code alarm device type) _x..the name is: y (XXXXXXXX XXX) = (xxxxxxxxxxxxxxx) _x (XXXXXXXXX) _x.
Y (linkage device secondary code linkage device type) =x (alarm device secondary code alarm device type) _x (alarm device secondary code alarm device type) _x..the name is: y (XXXXXXXX XXX) = X (XXXXXXXXX XXX) (xxxxxxxxxxx) _x.,;
in the above linkage formula, 1) a symbol "=" indicates that the linkage device is started when the condition is satisfied, and a symbol "= X" indicates that the linkage device is stopped when the condition is satisfied; 2) The symbol "_x" indicates the number of alarms that the alarm device in brackets meets the condition; 3) The symbol "+" represents "or", and the symbol "×" represents "and"; 4) The equipment secondary code and the alarm equipment type in the fire alarm information alarm are subjected to OR operation according to the bits of all groups, and the condition that the two groups are not equal is given to the OR operation, so that the general configuration secondary code is obtained.
6. A rapid analysis method for a fire-fighting linkage formula, which adopts the analysis system as claimed in any one of claims 1 to 5, and is characterized by comprising the following steps:
(1) Defining a linkage formula coding format: respectively defining the coding formats of the fire information and the linkage analysis result, wherein the number of the character string bits is required to be consistent;
(2) Forming a linkage formula: based on the fire information and the coding format of the linkage analysis result, compiling a linkage formula with consistent coding format according to the requirement;
(3) Inputting a linkage formula: inputting a linkage formula through a linkage formula input module, and storing the linkage formula into a linkage formula storage module; in the linkage formula, fire alarm information is subjected to OR operation according to bits through all groups, and is endowed with an OR operation if the fire alarm information is not equal to the OR operation, so that a wild secondary code is obtained;
(4) Obtaining a pre-analysis linkage algorithm: pre-analyzing the input linkage formula by a linkage formula pre-analyzing module to obtain a pre-analyzing linkage algorithm;
(5) Inputting fire alarm information: when a fire alarm occurs, the fire alarm information is input through the fire alarm information input module, and the fire alarm information is input into the linkage analysis module;
(6) Pre-analyzing: the linkage analysis module reads the fire alarm information and judges whether to pre-analyze the fire alarm information by comparing the universal secondary codes according to a pre-analysis linkage algorithm, if so, the next step is carried out after the pre-analysis is completed, and analysis is carried out;
(7) Analysis: the linkage analysis result is obtained by further comparing the fire information with the equipment type and the residual secondary code analysis in the linkage formula so as to determine linkage equipment needing linkage;
(8) The linkage on the bus is quickly activated.
7. The rapid analysis method for a fire-fighting linkage formula according to claim 6, wherein the pre-analysis linkage algorithm is specifically: the information of the alarm device after "=" or "= X" in the linkage formula is sequentially analyzed as follows: the alarm device is provided with a general secondary code, an alarm device type, an alarm device starting mark, a reserved bit, an alarm device output type, a total number of brackets, a total number of groups in a first bracket, a device type in the first group, a total number of condition satisfaction in the first group, a logic operator after the first bracket, a total number of groups in a second bracket, a device type in the second group and a secondary code starting position … … ending symbol in the second group, wherein each item of information is respectively represented by numerical values.
8. The rapid analysis method for a fire-fighting linkage formula according to claim 6, wherein the pre-analysis and analysis process is specifically,
(1) Judging the state of a starting mark: 1 indicates started, and 0 indicates not started; if the start flag is 0, proceeding to the next step (2);
(2) If the general secondary code of the alarm device and the secondary code of the alarm device are successfully compared, the next step (3) is carried out, and the type of the alarm device is continuously compared;
(3) If the type of the alarm equipment is successfully compared, reading a linkage formula, and acquiring the offset position of the secondary code of the type of the alarm equipment according to a pre-analysis algorithm, and rapidly comparing the secondary codes of the alarm equipment in the remaining positions;
(4) If the secondary code of the alarm equipment in a certain bracket is successfully compared with the type of the alarm equipment, judging whether the total number of the alarm numbers meeting the condition is equal;
(5) If the total number of alarms meeting the condition is equal, judging whether the logic carrier after the bracket is an OR operator;
(6) If the operator is the OR operator, the subsequent formulas do not need to be parsed again, and if the operator is not the OR operator, the subsequent linkage formulas continue to be parsed;
(7) In the steps (2) to (6), any step is unsuccessful in comparison or is judged as no, the linkage formula analysis is directly exited, and the analysis is ended.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310466173.1A CN116756461B (en) | 2023-04-27 | 2023-04-27 | Quick analysis system and analysis method for fire-fighting linkage formula |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310466173.1A CN116756461B (en) | 2023-04-27 | 2023-04-27 | Quick analysis system and analysis method for fire-fighting linkage formula |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116756461A true CN116756461A (en) | 2023-09-15 |
CN116756461B CN116756461B (en) | 2024-03-12 |
Family
ID=87957848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310466173.1A Active CN116756461B (en) | 2023-04-27 | 2023-04-27 | Quick analysis system and analysis method for fire-fighting linkage formula |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116756461B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409463A (en) * | 2008-12-02 | 2009-04-15 | 江西省电力科学研究院 | Protection and video system gang control method for electric power system digitalization transforming plant |
CN105023403A (en) * | 2015-08-21 | 2015-11-04 | 成都格理特电子技术有限公司 | Linkage control method based on industrial safety emergency command integrated system |
CN105788157A (en) * | 2016-03-30 | 2016-07-20 | 无锡蓝天电子股份有限公司 | Packet linkage method |
CN107787073A (en) * | 2016-08-26 | 2018-03-09 | 江苏银佳电子设备有限公司 | A kind of linkage type centralized Control evacuation indication system |
CN112947172A (en) * | 2021-02-03 | 2021-06-11 | 湖南海龙国际智能科技股份有限公司 | Intelligent fire-fighting remote monitoring system and method for park |
WO2022052153A1 (en) * | 2020-09-11 | 2022-03-17 | 南京越赢科技有限公司 | Intelligent fire safety facility monitoring system and method |
CN114554580A (en) * | 2022-02-21 | 2022-05-27 | 营口天成消防设备有限公司 | Quick starting method of wireless fire-fighting linkage equipment |
-
2023
- 2023-04-27 CN CN202310466173.1A patent/CN116756461B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409463A (en) * | 2008-12-02 | 2009-04-15 | 江西省电力科学研究院 | Protection and video system gang control method for electric power system digitalization transforming plant |
CN105023403A (en) * | 2015-08-21 | 2015-11-04 | 成都格理特电子技术有限公司 | Linkage control method based on industrial safety emergency command integrated system |
CN105788157A (en) * | 2016-03-30 | 2016-07-20 | 无锡蓝天电子股份有限公司 | Packet linkage method |
CN107787073A (en) * | 2016-08-26 | 2018-03-09 | 江苏银佳电子设备有限公司 | A kind of linkage type centralized Control evacuation indication system |
WO2022052153A1 (en) * | 2020-09-11 | 2022-03-17 | 南京越赢科技有限公司 | Intelligent fire safety facility monitoring system and method |
CN112947172A (en) * | 2021-02-03 | 2021-06-11 | 湖南海龙国际智能科技股份有限公司 | Intelligent fire-fighting remote monitoring system and method for park |
CN114554580A (en) * | 2022-02-21 | 2022-05-27 | 营口天成消防设备有限公司 | Quick starting method of wireless fire-fighting linkage equipment |
Non-Patent Citations (1)
Title |
---|
刘启龙;: "智能建筑火灾自动报警与消防联动***分析", 福建建材, no. 11 * |
Also Published As
Publication number | Publication date |
---|---|
CN116756461B (en) | 2024-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1550945A (en) | Field device maintenance tool with enhanced scripts | |
CN110795732A (en) | SVM-based dynamic and static combination detection method for malicious codes of Android mobile network terminal | |
CN111307194B (en) | Beidou-based environmental equipment detection method, device, equipment and storage medium | |
CN110689148A (en) | Metering equipment fault detection method based on AR technology | |
CN111309505B (en) | Page exception handling method and device and electronic equipment | |
CN105095753B (en) | Broadcast safe detection method, device | |
CN110213243A (en) | A kind of industrial communication protocol conversed analysis method based on the analysis of dynamic stain | |
CN116756461B (en) | Quick analysis system and analysis method for fire-fighting linkage formula | |
US20200394600A1 (en) | Fire protection inspection method, fire protection inspection device, and remote device | |
CN112801145B (en) | Security monitoring method, device, computer equipment and storage medium | |
CN110287700A (en) | A kind of iOS application safety analytical method and device | |
CN109933532A (en) | One kind being based on matched Internet of Things firmware library function recognition methods | |
CN113704339A (en) | Recording of read information status, apparatus, device and storage medium | |
CN113554364A (en) | Disaster emergency management method, device, equipment and computer storage medium | |
US7174482B2 (en) | Process control bus monitoring and analysis | |
CN115017015B (en) | Method and system for detecting abnormal behavior of program in edge computing environment | |
KR101079036B1 (en) | Apparatus and method of detecting anomaly in control system network | |
CN111459774A (en) | Method, device and equipment for acquiring flow of application program and storage medium | |
CN115309661A (en) | Application testing method and device, electronic equipment and readable storage medium | |
CN115292178A (en) | Test data searching method, device, storage medium and terminal | |
CN113868137A (en) | Method, device and system for processing buried point data and server | |
CN110427320B (en) | Lightweight embedded program control flow abnormity positioning detection method | |
CN114676428A (en) | Application program malicious behavior detection method and device based on dynamic characteristics | |
CN113010434A (en) | System and method for realizing lightweight application point burying | |
CN111092967A (en) | Equipment address conflict processing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |