A fire protection system strategy reconstruction method, device, electronic equipment and storage medium
By acquiring and classifying new equipment information, calculating the correlation degree of equipment in the fire protection system, and generating and updating fire protection strategies, the problem of poor linkage of the fire protection system after the secondary construction of the building is solved and the fire protection capability is improved.
Patent Information
- Application Number
- CN202410372782.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-03-29
AI Technical Summary
After the secondary construction of the building or the entry of chemical enterprises, the integrity of the fire protection system is destroyed, resulting in the linkage of fire control being separated, the fire protection capability being weakened, and the existing technology lacking an effective reconstruction path.
By obtaining the information of newly added fire protection equipment, classifying and characterizing the equipment, calculating the Manhattan distance and correlation between the equipment, generating new fire protection strategies based on the fire protection environment information and preset linkage intervals, updating the original fire protection strategies, and realizing the equipment's Connections and linkages.
It optimizes the overall linkage of the fire protection system, improves the fire protection capability, solves the problem of poor equipment linkage after system transformation, and provides a reconstruction path for the fire protection system.
Smart Images

Figure CN118037512B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of fire protection technology, and in particular to a fire protection system strategy reconstruction method, device, electronic equipment and storage medium. Background Art
[0002] Firefighting is the basic guarantee for urban development. In recent years, the total amount of fire hazards has been increasing year by year. Traditional and non-traditional fire safety factors are intertwined and mutually penetrating. The risks and pressures of maintaining the fire situation are increasing. The people have put forward higher expectations and requirements for social management innovation and service optimization, including firefighting work.
[0003] Commercial facilities, office buildings, hospitals, factories and other places need to refer to the building design fire protection code when designing the buildings, and install fire protection systems that meet the basic standards during construction. However, with the secondary construction of the site or the entry of chemical companies, the fire protection system and some fire protection levels of the original site will be changed. For example, new fire sensors, fire extinguishing equipment and fire controllers are added, and the construction party often only associates the fire sensors and fire extinguishing equipment with the new fire controllers, making the new fire protection equipment independent of the original fire protection system, resulting in the destruction of the integrity of the site fire protection system. When a fire occurs, the linkage of fire control is severed, which weakens the fire protection capabilities of the site itself, and the existing technology lacks a technical path to reconstruct the fire protection system. Summary of the invention
[0004] To solve the above problems, the technical solution provided by the present invention is:
[0005] A fire protection system strategy reconstruction method, comprising:
[0006] Obtaining device access request information, and receiving newly added fire-fighting equipment information according to the device access request information;
[0007] Classify the newly added fire-fighting equipment information to obtain a first equipment classification result; traverse the original fire-fighting equipment information to extract a second equipment classification result;
[0008] Acquire fire protection environment information, calculate the vector correlation between the first device classification result and the second device classification result, classify and associate them, traverse the Manhattan distance results between the first device classification result vector and the second device classification result vector, obtain fire protection weight values of different fire protection areas according to the fire protection environment information, use the fire protection weight value to weight the Manhattan distance result, and obtain the device association result according to the weighted result and the preset linkage interval;
[0009] Based on the device association result and the preset linkage rules, a new fire protection strategy is generated, and the new fire protection strategy is updated to the original fire protection strategy to complete the reconstruction of the fire protection system.
[0010] The present invention is further configured that the newly added firefighting equipment information includes new equipment node information, new equipment type information and new equipment location information, the new equipment location information is feature-encoded to obtain a first feature vector, and the first feature vector is mapped with the new equipment node information and the new equipment type information;
[0011] The original fire-fighting equipment information includes original equipment node information, original equipment type information and original equipment location information. The original equipment location information is feature-encoded to obtain a second feature vector, and the second feature vector is mapped with the original equipment node information and the original equipment type information.
[0012] The present invention is further configured to divide the first feature vector into an input-type first feature vector and an output-type first feature vector according to the new device type information; divide the second feature vector into an input-type second feature vector and an output-type second feature vector according to the new device type information; calculate the correlation between the input-type first feature vector and the output-type second feature vector, and calculate the correlation between the output-type first feature vector and the input-type second feature vector.
[0013] The present invention is further configured to cluster the input type first feature vector and the output type second feature vector as well as the output type first feature vector and the input type second feature vector before calculating the correlation between the input / output type first feature vector and the input / output type second feature vector.
[0014] The present invention is further configured to traverse the Manhattan distance between the input first feature vector and the output second feature vector pair by pair to obtain a first Manhattan distance result ;
[0015] , where n is the dimension of the input first eigenvector and the output second eigenvector, 1 ≥ m ≥ n, x a is the first eigenvector of the a-th input type, y b is the b-th output type second eigenvector;
[0016] Traverse the Manhattan distance between the output first eigenvector and the input second eigenvector pair by pair to obtain the second Manhattan distance result ;
[0017] , where n is the dimension of the output first eigenvector and the input second eigenvector, 1 ≥ m ≥ n, x c is the first eigenvector of the cth output type, y d is the dth input type second eigenvector;
[0018] According to the fire environment information, the fire weight values W of different fire zones are obtained. i , using the fire protection weight value W i The first Manhattan distance result And the second Manhattan distance result Weighting is performed respectively to obtain a first correlation degree and a second correlation degree, the first correlation degree and the second correlation degree are normalized, and it is determined whether the normalized result belongs to the preset linkage interval. If so, the newly added fire-fighting equipment information and the original fire-fighting equipment information are associated; if not, the newly added fire-fighting equipment information and the original fire-fighting equipment information are not associated.
[0019] The present invention is further arranged that if the position corresponding to the input-type first eigenvector and the position corresponding to the output-type second eigenvector are in the same fire zone, or if the position corresponding to the output-type first eigenvector and the position corresponding to the input-type second eigenvector are in the same fire zone, then the weight is the fire weight value of the fire zone; if the position corresponding to the input-type first eigenvector and the position corresponding to the output-type second eigenvector are in different fire zones, or if the position corresponding to the output-type first eigenvector and the position corresponding to the input-type second eigenvector are in different fire zones, then the weight is the average of the fire weight values of the two fire zones.
[0020] The present invention is further configured such that the preset linkage rules include at least one of linkage lighting, linkage fire extinguishing, linkage alarm and linkage emergency power supply.
[0021] A fire protection system reconstruction device, using the fire protection system strategy reconstruction method, comprises:
[0022] A newly connected equipment acquisition unit is used to receive information about newly added fire fighting equipment;
[0023] New equipment classification unit, used to classify the newly added fire equipment information;
[0024] The original equipment extraction unit is used to extract the classification results of the original fire-fighting equipment information;
[0025] A fire information acquisition unit, used to acquire fire environment information;
[0026] An equipment association unit calculates the degree of association between the first equipment classification result and the second equipment classification result according to the fire environment information and the preset linkage interval, and associates them to obtain an equipment association result;
[0027] The fire protection strategy generation unit generates a new fire protection strategy based on the equipment association results and preset linkage rules;
[0028] The fire protection strategy updating unit updates the newly added fire protection strategy into the fire protection strategy database.
[0029] An electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned fire protection system strategy reconstruction method when executing the computer program.
[0030] A computer-readable storage medium stores a computer program, which implements the fire protection system strategy reconstruction method when executed by a processor.
[0031] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:
[0032] The fire protection system strategy reconstruction method of this technical solution is applied to the problems of poor overall system linkage and weakened fire protection capabilities caused by the transformation of the fire protection system of the site after the secondary construction of the site or the entry of special enterprises such as chemical companies. By obtaining new equipment information and classifying it, the classification results of the original equipment are extracted, and the new equipment is associated with the original equipment according to the site's own fire protection environment information and the preset linkage interval, so as to establish a linkage relationship between the new equipment and the equipment in the original fire protection system, and obtain a new fire protection strategy based on the preset linkage rules.
[0033] The fire protection system strategy reconstruction method of the present invention performs system reconstruction after the fire protection system is transformed, realizes the coordinated work of the newly added equipment and the equipment in the original fire protection system, optimizes the overall linkage of the fire protection system, improves the overall fire protection capability of the fire protection system, and provides a solution path for the fire protection strategy reconstruction after the fire protection system is transformed. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 This is a flow chart of a fire protection system strategy reconstruction method according to an embodiment of the present invention.
[0035] Figure 2 The figure is a specific flow chart of the fire protection system strategy reconstruction method according to an embodiment of the present invention.
[0036] Figure 3 It is a schematic diagram of the structure of a fire protection system reconstruction device according to an embodiment of the present invention.
[0037] Figure 4 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example 1
[0039] Combined with Figure 1 and attached Figure 2 The technical solution of the present invention is a fire protection system strategy reconstruction method, comprising:
[0040] S100, obtaining device access request information, and receiving newly added firefighting equipment information according to the device access request information;
[0041] S200, classifying the newly added firefighting equipment information to obtain a first equipment classification result;
[0042] S300, traversing the original fire-fighting equipment information and extracting the second equipment classification result;
[0043] S400, obtaining fire environment information, calculating the vector association degree between the first device classification result and the second device classification result, and classifying and associating them, traversing the Manhattan distance results between the first device classification result vector and the second device classification result vector, obtaining fire weight values of different fire zones according to the fire environment information, weighting the Manhattan distance results by using the fire weight values, and obtaining device association results according to the weighted results and a preset linkage interval;
[0044] S500, based on the device association result and the preset linkage rule, a new fire protection strategy is generated, and the new fire protection strategy is updated to the original fire protection strategy to complete the reconstruction of the fire protection system.
[0045] In this embodiment, the fire protection system strategy reconstruction method is applied to the problems of poor overall system linkage and weakened fire protection capabilities caused by the transformation of the fire protection system of the site after the secondary construction of the site or the entry of special enterprises such as chemical companies. By obtaining new equipment information and classifying it, the classification results of the original equipment are extracted, and the new equipment is associated with the original equipment according to the site's own fire protection environment information and the preset linkage interval, so as to establish a linkage relationship between the new equipment and the equipment in the original fire protection system, and obtain a new fire protection strategy based on the preset linkage rules.
[0046] In this embodiment, the steps S200 and S300 specifically include:
[0047] The newly added fire fighting equipment information includes new equipment node information, new equipment type information and new equipment location information.
[0048] S210, performing feature encoding on the new device location information to obtain a first feature vector, and mapping the first feature vector with the new device node information and the new device type information;
[0049] S220, dividing the first feature vector into an input-type first feature vector and an output-type first feature vector according to the new device type information;
[0050] The original fire fighting equipment information includes original equipment node information, original equipment type information and original equipment location information.
[0051] S310, feature-encoding the original device location information to obtain a second feature vector, and mapping the second feature vector with the original device node information and the original device type information.
[0052] S320, dividing the second feature vector into an input-type second feature vector and an output-type second feature vector according to the new device type information;
[0053] The correlation between the input type first feature vector and the output type second feature vector is calculated, and the correlation between the output type first feature vector and the input type second feature vector is calculated.
[0054] In the above embodiment, the device node information is a specific identification code of the device in the fire protection system, which is unique. The device node information of any new device is different from that of the original device.
[0055] In the above embodiment, the device type information is the role of the device in the fire protection system, which is generally divided into input type devices and output type devices. The input type devices are various types of sensors, such as smoke alarms, temperature alarms, combustible gas alarms, etc., and the output type devices are various fire response equipment, such as fire sprinkler equipment, emergency lights, sound and light alarm equipment, etc.
[0056] In the above embodiment, the device location information is the specific installation location of the device in the site, for example, a certain location in a certain workshop on a certain floor of a certain building in a certain factory area, which is determined according to the information filling requirements when the device is entered into the electronic device. Therefore, the dimension of the feature vector is determined when filling in the device information.
[0057] In this embodiment, before calculating the correlation between the input / output type first feature vector and the output / input type second feature vector, it includes S410, first clustering the input type first feature vector and the output type second feature vector and the output type first feature vector and the input type second feature vector.
[0058] In the above embodiment, in order to reduce the amount of calculation of the linkage correlation between the newly added equipment and the original equipment, the input type first feature vector and the output type second feature vector are clustered according to the feature vector, and the output type first feature vector and the input type second feature vector are clustered. The specific clustering rules can be determined according to the specific dimensions in the feature vector and the actual situation of the site.
[0059] In this embodiment, after clustering is completed, the following steps are included:
[0060] S420, traversing the Manhattan distance between the input first eigenvector and the output second eigenvector pair by pair, and obtaining a first Manhattan distance result ; As shown in formula (1),
[0061] , formula (1), where n is the dimension of the input first eigenvector and the output second eigenvector, 1 ≥ m ≥ n, x a is the first eigenvector of the a-th input type, y b is the b-th output type second eigenvector;
[0062] S430, traversing the Manhattan distance between the output first feature vector and the input second feature vector pair by pair, and obtaining a second Manhattan distance result ; As shown in formula (2),
[0063] , formula (2), where n is the dimension of the output first eigenvector and the input second eigenvector, 1 ≥ m ≥ n, x c is the first eigenvector of the cth output type, y d is the dth input type second eigenvector;
[0064] S440, obtaining fire weight values W of different fire zones according to the fire environment information i , using the fire protection weight value W i The first Manhattan distance result And the second Manhattan distance result The first correlation degree and the second correlation degree are weighted respectively, as shown in the following formula (3) and the following formula (4), and the first correlation degree and the second correlation degree are normalized;
[0065] in,
[0066] First degree of association , formula (3),
[0067] First degree of association , formula (4);
[0068] S450, determining whether the normalization processing result belongs to the preset linkage interval;
[0069] S460, if yes, associating the newly added fire-fighting equipment information with the original fire-fighting equipment information;
[0070] S470: If it does not belong to the above, then the newly added firefighting equipment information and the original firefighting equipment information are not associated.
[0071] In the above embodiment, when m is greater than 1, it indicates that a specific dimension in the feature vector is used as a basis for clustering, but is excluded when calculating the Manhattan distance between each pair of feature vectors.
[0072] In the above embodiment, the fire protection weight value W i It is set according to the specific fire protection requirements of the site, and the fire protection requirements serve as an influencing factor for the correlation between the newly added equipment and the original equipment.
[0073] In this embodiment, if the position corresponding to the input first eigenvector and the position corresponding to the output second eigenvector are in the same fire zone, or if the position corresponding to the output first eigenvector and the position corresponding to the input second eigenvector are in the same fire zone, then the weight is the fire weight value of the fire zone; if the position corresponding to the input first eigenvector and the position corresponding to the output second eigenvector are in different fire zones, or if the position corresponding to the output first eigenvector and the position corresponding to the input second eigenvector are in different fire zones, then the weight is the average of the fire weight values of the two fire zones.
[0074] In the above embodiment, since the fire area division may result in the new device and the original device being located in two adjacent areas, the common fire weight value of the two fire areas needs to be considered when calculating the association result. For example, the new device is located in the 11th fire area, and the original device is located in the 9th fire area. The Manhattan distance result is weighted with a weight of W. i =(W 11 +W9) / 2.
[0075] In this embodiment, the preset linkage rules include at least one of linkage lighting, linkage fire extinguishing, linkage alarm and linkage emergency power supply.
[0076] The fire protection system strategy reconstruction method of this embodiment performs system reconstruction after the fire protection system is transformed, realizes the coordinated work of the newly added equipment and the equipment in the original fire protection system, optimizes the overall linkage of the fire protection system, improves the overall fire protection capability of the fire protection system, and provides a solution path for the fire protection strategy reconstruction after the fire protection system is transformed; it should be noted that the present invention focuses on the linkage between the newly added equipment and the equipment in the original fire protection system, and the linkage strategy between the newly added input equipment and the newly added output equipment is updated to the database before or synchronously with the reconstruction. Example 2
[0077] Combined with Figure 3 The technical solution of the present invention is a fire protection system reconstruction device, which adopts the fire protection system strategy reconstruction method described in Example 1, including:
[0078] A newly connected equipment acquisition unit 21 is used to receive information of newly added fire fighting equipment;
[0079] A new equipment classification unit 22, used for classifying the newly added fire equipment information;
[0080] The original equipment extraction unit 23 is used to extract the classification results of the original fire-fighting equipment information;
[0081] A fire information acquisition unit 24, used to acquire fire environment information;
[0082] The device association unit 25 calculates the degree of association between the first device classification result and the second device classification result according to the fire environment information and the preset linkage interval, and associates them to obtain a device association result;
[0083] The fire protection strategy generation unit 26 generates a new fire protection strategy according to the device association result and the preset linkage rule;
[0084] The fire protection strategy updating unit 27 updates the newly added fire protection strategy into the fire protection strategy database.
[0085] In other embodiments, the units may also be divided according to their specific functions. For example, the fire strategy generating unit 26 and the fire strategy updating unit 27 may be implemented in the same unit. Example 3
[0086] Combined with Figure 4 The technical solution of the present invention is an electronic device, including a memory 32 and a processor 31, the memory 32 stores a computer program, the memory 32 and the processor 31 are communicatively connected via a bus 33, the bus 33 is connected with a communication interface 34, the communication interface 34 is connected to an external fire-fighting equipment, and the processor 31 implements the fire-fighting system strategy reconstruction method described in Example 1 when executing the computer program.
[0087] In this embodiment, the electronic equipment may be a fire control cabinet. Example 4
[0088] The technical solution of the present invention is a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the fire protection system strategy reconstruction method described in Example 1 is implemented.
[0089] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0090] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0091] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A fire protection system strategy reconstruction method, characterized in that: include: Obtaining device access request information, and receiving newly added fire-fighting equipment information according to the device access request information; Classifying the newly added fire-fighting equipment information to obtain a first equipment classification result; Traverse the original fire-fighting equipment information and extract the second equipment classification result; Acquire fire protection environment information, calculate the vector correlation between the first device classification result and the second device classification result, classify and associate them, traverse the Manhattan distance results between the first device classification result vector and the second device classification result vector, obtain fire protection weight values of different fire protection areas according to the fire protection environment information, use the fire protection weight value to weight the Manhattan distance result, and obtain the device association result according to the weighted result and the preset linkage interval; Based on the device association result and the preset linkage rules, a new fire protection strategy is generated, and the new fire protection strategy is updated to the original fire protection strategy to complete the reconstruction of the fire protection system; The newly added firefighting equipment information includes new equipment node information, new equipment type information and new equipment location information, the new equipment location information is feature-encoded to obtain a first feature vector, and the first feature vector is mapped with the new equipment node information and the new equipment type information; The original fire-fighting equipment information includes original equipment node information, original equipment type information and original equipment location information, the original equipment location information is feature-encoded to obtain a second feature vector, and the second feature vector is mapped with the original equipment node information and the original equipment type information; The first feature vector is divided into an input-type first feature vector and an output-type first feature vector according to the new device type information; the second feature vector is divided into an input-type second feature vector and an output-type second feature vector according to the original device type information; the correlation between the input-type first feature vector and the output-type second feature vector is calculated, and the correlation between the output-type first feature vector and the input-type second feature vector is calculated; Before calculating the correlation between the input / output type first feature vector and the input / output type second feature vector, clustering the input type first feature vector and the output type second feature vector and the output type first feature vector and the input type second feature vector; After clustering is completed, the Manhattan distance between the input first eigenvector and the output second eigenvector is traversed pair by pair to obtain the first Manhattan distance result D i1o2 ; Traverse the Manhattan distance between the output first eigenvector and the input second eigenvector pair by pair to obtain the second Manhattan distance result D o1i2 According to the fire environment information, the fire weight value W of different fire zones is obtained i , using the fire protection weight value W i For the first Manhattan distance result D i1o2 And the second Manhattan distance result D o1i2 weighting them respectively to obtain a first correlation degree and a second correlation degree, normalizing the first correlation degree and the second correlation degree, and judging whether the normalized processing result belongs to the preset linkage interval, if so, associating the newly added fire-fighting equipment information with the original fire-fighting equipment information, and if not, not associating the newly added fire-fighting equipment information with the original fire-fighting equipment information; If the position corresponding to the input first eigenvector and the position corresponding to the output second eigenvector are in the same fire zone, or if the position corresponding to the output first eigenvector and the position corresponding to the input second eigenvector are in the same fire zone, then the weight is the fire weight value of the fire zone; if the position corresponding to the input first eigenvector and the position corresponding to the output second eigenvector are in different fire zones, or if the position corresponding to the output first eigenvector and the position corresponding to the input second eigenvector are in different fire zones, then the weight is the average of the fire weight values of the two fire zones.
2. A fire protection system strategy reconstruction method according to claim 1, characterized in that: The preset linkage rules include at least one of linkage lighting, linkage fire extinguishing, linkage alarm and linkage emergency power supply.
3. A fire protection system reconstruction device, characterized in that: The fire protection system strategy reconstruction method according to any one of claims 1 to 2 comprises: A newly connected equipment acquisition unit is used to receive information about newly added fire fighting equipment; New equipment classification unit, used to classify the newly added fire equipment information; The original equipment extraction unit is used to extract the classification results of the original fire-fighting equipment information; A fire information acquisition unit, used to acquire fire environment information; An equipment association unit calculates the degree of association between the first equipment classification result and the second equipment classification result according to the fire environment information and the preset linkage interval, and associates them to obtain an equipment association result; The fire protection strategy generation unit generates a new fire protection strategy based on the equipment association results and preset linkage rules; The fire protection strategy updating unit updates the newly added fire protection strategy into the fire protection strategy database.
4. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the fire protection system strategy reconstruction method described in any one of claims 1 to 2 is implemented.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the fire protection system strategy reconstruction method described in any one of claims 1 to 2 is implemented.
Citation Information
Patent Citations
Intelligent fire-fighting dispatching method and device, electronic equipment and storage medium
CN115841231A
Fire-fighting inspection system based on mobile terminal and linkage method
CN117037321A
Digital fire-fighting monitoring platform and core equipment based on big data Internet of Things
CN117618842A
Intelligent fire-fighting resource dynamic scheduling and management method and system based on Internet of Things
CN117709739A
Real fire-fighting equipment and virtual environment collaboration method and system
CN117717743A
