A method and system for managing fire safety information based on intelligence
By generating an information database and setting up search information and browsing permissions, combined with distributed ledger technology, the efficiency and security issues of smart fire safety information management are solved, and convenient information retrieval and security management are achieved.
Patent Information
- Application Number
- CN202510013712.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2045-01-06
AI Technical Summary
The prior art cannot effectively manage various safety information related to smart fire protection.
By generating information databases to store various safety information related to smart firefighting, setting corresponding search information and browsing permissions, using distributed ledger technology for information management, and combining information correction frequency, browsing frequency, similarity and time correlation scores, information storage and retrieval are optimized.
It realizes convenient retrieval and effective management of security information, while protecting information security.
Smart Images

Figure CN119939551B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of safety information management, and in particular to a method and system for intelligent fire safety information management. Background Art
[0002] "Smart firefighting" leverages the latest technologies, including the Internet of Things (IoT), artificial intelligence (AI), virtual reality (VR), and mobile internet plus, in conjunction with specialized applications such as big data cloud computing platforms and intelligent fire alarm analysis. This approach aims to achieve intelligent urban firefighting, improve the efficiency of information transmission, ensure the integrity of firefighting facilities, enhance rescue capabilities, and reduce the incidence and losses of fires. This process generates a wealth of relevant safety information, including monitoring information, emergency response plan information, and firefighting knowledge. Effective management of this information can significantly aid firefighting efforts.
[0003] In the relevant technologies, it is still impossible to effectively manage various safety information related to smart fire protection. Summary of the Invention
[0004] In order to solve the above technical problems, the present invention provides a method for managing safety information based on smart fire protection. By generating an information library to store various safety information related to smart fire protection, and setting corresponding retrieval information and browsing permissions, it is not only convenient to retrieve safety information, but also able to protect the security of information, and thus can effectively manage various safety information.
[0005] The technical solution adopted in the present invention is as follows:
[0006] A method for managing safety information based on smart fire protection is characterized by comprising the following steps: S1, obtaining various safety information related to the smart fire protection, and distributing the obtained safety information in multiple independent servers to generate a corresponding information library; S2, generating retrieval information based on distributed ledger technology, and distributing the retrieval information in multiple servers to retrieve the safety information in the information library; S3, encoding the safety information in each server to set browsing permissions for the safety information in the information library.
[0007] In one embodiment of the present invention, step S1 specifically includes: S11, calculating the information correction frequency score and the information browsing frequency score of the security information; S12, adjusting the storage server location and storage method in real time according to the information correction frequency score and the information browsing frequency score; S13, calculating the similarity score and the time correlation score between the security information; S14, adjusting the size of the information block and the stored information block location in real time according to the similarity score and the time correlation score.
[0008] In one embodiment of the present invention, step S11 specifically includes: calculating the information correction frequency score using the following formula:
[0009]
[0010] Among them, J(X i ) is the information correction frequency score of the i-th safety information, X i is the i-th piece of security information, T1(X i ) is the time difference between the last time the i-th security information was corrected; the information browsing frequency score is calculated using the following formula:
[0011]
[0012] Among them, L(X i ) is the browsing frequency score of the i-th security information, T2(X i ) is the total time that the i-th security information is browsed, N(X i ) is the number of times the i-th security information is viewed within the total time.
[0013] In one embodiment of the present invention, step S12 specifically includes:
[0014] The server storage level score is calculated using the following formula:
[0015] G(F i , X i )=k1*J(X i )+k2*L(X i )+k3*Y(F i , X i ),
[0016] Among them, G(F i , X i ) is the i-th security information X i On the i-th server F i Server storage level score, Y(F i , X i ) is the i-th security information X i With the i-th server F i The transmission distance between them is k1, k2, and k3, respectively; according to the calculated server storage level score, the server with the largest server storage level score is selected to store the corresponding security information.
[0017] In one embodiment of the present invention, step S13 specifically includes: calculating the similarity score using the following formula:
[0018]
[0019] Among them, X m is the mth piece of security information, X n is the nth piece of security information, O(X m , X n ) is the similarity between the mth security information and the nth security information, α1 is the first adjustment factor, XD1(X m , X n ) is the similarity score between the mth piece of security information and the nth piece of security information; the temporal correlation score is calculated using the following formula:
[0020]
[0021] Among them, XD2(X m , X n ) is the time correlation score between the mth safety information and the nth safety information, T(X m ) is the time to obtain the mth piece of security information, T(X n ) is the acquisition time of the nth piece of security information, and α2 is the second adjustment factor.
[0022] In one embodiment of the present invention, step S14 specifically includes: calculating the information block storage level score using the following formula:
[0023]
[0024] Among them, Q s For the sth information block, P(Q s , X m ) is the information block storage level score of the mth security information stored in the sth information block, R(Q s ) is the current load of the sth information block; according to the calculated information block storage level score, the information block with the largest information block storage level score is selected to store the corresponding security information.
[0025] A smart fire safety information management system includes: a generation module, which is used to obtain various safety information related to the smart fire protection, and disperse the obtained safety information in multiple independent servers to generate a corresponding information library; a retrieval module, which is used to generate retrieval information based on distributed ledger technology, and disperse the retrieval information in multiple servers to retrieve the safety information in the information library; and an encoding module, which is used to encode the safety information in each server to set browsing permissions for the safety information in the information library.
[0026] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned intelligent fire safety information management method is implemented.
[0027] A non-temporary computer-readable storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned intelligent fire safety information management method.
[0028] Beneficial effects of the present invention:
[0029] The present invention generates an information library to store various security information related to smart fire protection, and sets corresponding retrieval information and browsing permissions, which not only facilitates the retrieval of security information, but also protects the security of information, and thus can effectively manage various security information. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a flowchart of the intelligent fire safety information management method according to an embodiment of the present invention.
[0031] Figure 2 Schematic diagram of a smart fire safety information management system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only 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 making creative efforts are within the scope of protection of the present invention.
[0033] like Figure 1 As shown, the intelligent fire safety information management method according to the embodiment of the present invention may include the following steps:
[0034] S1, obtain various safety information related to smart fire protection, and store the obtained safety information in multiple independent servers to generate a corresponding information database.
[0035] In one embodiment of the present invention, the obtained security information is dispersedly stored in multiple independent servers to generate a corresponding information database, specifically comprising the following steps:
[0036] S11, calculating the information correction frequency score and the information browsing frequency score of the security information.
[0037] In one embodiment of the present invention, step S11 specifically includes: calculating the information correction frequency score using the following formula:
[0038]
[0039] Among them, J(X i ) is the information correction frequency score of the i-th safety information, X i is the i-th piece of security information, T1(X i ) is the time difference between the i-th safety information and the last correction.
[0040] The information viewing frequency score is calculated using the following formula:
[0041]
[0042] Among them, L(X i ) is the browsing frequency score of the i-th security information, T2(X i ) is the total time that the i-th security information is browsed, N(X i ) is the number of times the i-th security information is viewed within the total time.
[0043] S12, adjusting the storage server location and storage method in real time according to the information correction frequency score and the information browsing frequency score.
[0044] In one embodiment of the present invention, step S12 specifically includes: calculating the server storage level score using the following formula:
[0045] G(F i , X i )=k1*J(X i )+k2*L(X i )+k3*Y(F i , X i ),
[0046] Among them, G(F i , X i ) is the i-th security information X i On the i-th server F i Server storage level score, Y(F i , X i ) is the i-th security information X i With the i-th server F i The transmission distance between them, k1 is the first weight, k2 is the second weight, and k3 is the third weight.
[0047] Furthermore, based on the calculated server storage grade scores, the server with the highest server storage grade score is selected to store the corresponding security information. In other words, each piece of security information can be stored according to the size of the server storage grade score of each server to which it corresponds, and preferably, can be stored on the server with the highest server storage grade score.
[0048] S13, calculating the similarity score and time correlation score between the security information.
[0049] In one embodiment of the present invention, step S13 specifically includes: calculating the similarity score using the following formula:
[0050]
[0051] Among them, X m is the mth piece of security information, X n is the nth piece of security information, O(X m , X n ) is the similarity between the mth security information and the nth security information, α1 is the first adjustment factor, XD1(X m , X n ) is a similarity score between the mth piece of security information and the nth piece of security information. The similarity between the mth piece of security information and the nth piece of security information can be obtained by calculating the Euclidean distance between them.
[0052] The temporal relevance score is calculated using the following formula:
[0053]
[0054] Among them, XD2(X m , X n ) is the time correlation score between the mth safety information and the nth safety information, T(X m ) is the time to obtain the mth piece of security information, T(X n ) is the acquisition time of the nth piece of security information, and α2 is the second adjustment factor.
[0055] S14, adjusting the size of the information block and the location of the stored information block in real time according to the similarity score and the time correlation score.
[0056] In one embodiment of the present invention, step S14 specifically includes:
[0057] The information block storage level score is calculated using the following formula:
[0058]
[0059] Among them, Q s For the sth information block, P(Q s , X m ) is the information block storage level score of the mth security information stored in the sth information block, R(Q s ) is the current load of the sth information block.s Indicates that a piece of security information has been allocated in the current information block, and the current load is the total occupancy of the currently stored information in the block.
[0060] According to the calculated information block storage level score, the information block with the largest information block storage level score is selected to store the corresponding security information. s (i.e., a piece of information block has been allocated to it), each piece of information block Q s The corresponding information block storage level score is stored in the order of the server storage level score. The corresponding server storage level score is stored in the order of the server storage level score. Preferably, it can be stored in the information block Q with the largest information block storage level score. s middle.
[0061] S2 generates retrieval information based on distributed ledger technology and distributes the retrieval information on multiple servers to retrieve security information in the information database.
[0062] In one embodiment of the present invention, step S2 specifically includes the following steps:
[0063] S21, the search information is distributed on multiple servers.
[0064] S i =F(S i-1 +F(X i )+T i ),
[0065] Among them, S i Represents the hash function value of the i-th block, which is the retrieval information set on the current block, S i-1 Represents the hash function value of the i-1th block, which is the retrieval information set on the previous block, X i is the i-th security information, is the actual information content, T i Indicates the time point of the i-th block.
[0066] S22, select the optimal server for the i-th block according to the following formula:
[0067]
[0068] Among them, FQ j represents the optimal server for the i-th block, FQ s Represents the set of all servers, WY(FQ k , X i ) indicates server FQ k The information transmission time between the i-th block.
[0069] S23, adjusting the response time and information transmission time between servers to reduce the average lag time of cross-server retrieval.
[0070]
[0071] Among them, T zs represents the average latency of cross-server retrieval, z represents the total number of servers involved in the retrieval, T fs (FQ k ,X i ) represents the response time for retrieving the i-th security information on the k-th server, T xs (FQ k ,X i ) represents the time it takes for the k-th server to transmit the information to the query server for the i-th piece of security information.
[0072] S3, encode the security information in each server to set the browsing authority of the security information in the information library.
[0073] The security information may be encoded using conventional encoding methods to set browsing permissions for the security information in the information library. For example, ASCII encoding, UTF-8 encoding, etc. may be used, which is not limited here.
[0074] In summary, according to the smart fire safety information management method of an embodiment of the present invention, various security information related to smart fire protection is obtained and stored in a plurality of independent servers to generate a corresponding information library. Retrieval information is generated based on distributed ledger technology and the retrieval information is distributed across a plurality of servers to retrieve the security information in the information library. The security information in each server is encoded to set browsing permissions for the security information in the information library. Thus, by generating an information library to store various security information related to smart fire protection and setting corresponding retrieval information and browsing permissions, it is not only convenient to retrieve security information, but also possible to protect the security of the information, thereby effectively managing various security information.
[0075] Corresponding to the intelligent fire safety information management method of the above embodiment, the present invention also proposes an intelligent fire safety information management system.
[0076] like Figure 2 As shown, the smart fire safety information management system according to an embodiment of the present invention may include: a generation module 100, a retrieval module 200 and an encoding module 300.
[0077] Among them, the generation module 100 is used to obtain various security information related to smart fire protection, and store the obtained security information in multiple independent servers to generate a corresponding information library; the retrieval module 200 is used to generate retrieval information based on distributed ledger technology, and disperse the retrieval information in multiple servers to retrieve the security information in the information library; the encoding module 300 is used to encode the security information in each server to set the browsing permission of the security information in the information library.
[0078] In one embodiment of the present invention, the generation module 100 is specifically used to: calculate the information correction frequency score and the information browsing frequency score of security information; adjust the storage server location and storage method in real time according to the information correction frequency score and the information browsing frequency score; calculate the similarity score and the time correlation score between security information; and adjust the size of the information block and the storage location of the information block in real time according to the similarity score and the time correlation score.
[0079] In one embodiment of the present invention, the generation module 100 is specifically configured to calculate the information correction frequency score using the following formula:
[0080]
[0081] Among them, J(X i ) is the information correction frequency score of the i-th safety information, X i is the i-th piece of security information, T1(X i ) is the time difference between the last time the i-th security information was corrected; the information browsing frequency score is calculated using the following formula:
[0082]
[0083] Among them, L(X i ) is the browsing frequency score of the i-th security information, T2(X i ) is the total time that the i-th security information is browsed, N(X i ) is the number of times the i-th security information is viewed within the total time.
[0084] In one embodiment of the present invention, the generation module 100 is specifically configured to calculate the server storage level score using the following formula:
[0085] G(F i , X i )=k1*J(X i )+k2*L(X i )+k3*Y(F i , X i ),
[0086] Among them, G(Fi , X i ) is the i-th security information X i On the i-th server F i Server storage level score, Y(F i , X i ) is the i-th security information X i With the i-th server F i The transmission distance between them is k1, k2, and k3, respectively; according to the calculated server storage level score, the server with the largest server storage level score is selected to store the corresponding security information.
[0087] In one embodiment of the present invention, the generation module 100 is specifically configured to calculate the similarity score using the following formula:
[0088]
[0089] Among them, X m is the mth piece of security information, X n is the nth piece of security information, O(X m , X n ) is the similarity between the mth security information and the nth security information, α1 is the first adjustment factor, XD1(X m , X n ) Score the similarity between the mth piece of security information and the nth piece of security information;
[0090] The temporal relevance score is calculated using the following formula:
[0091]
[0092] Among them, XD2(X m , X n ) is the time correlation score between the mth safety information and the nth safety information, T(X m ) is the time to obtain the mth piece of security information, T(X n ) is the acquisition time of the nth piece of security information, and α2 is the second adjustment factor.
[0093] In one embodiment of the present invention, the generation module 100 is specifically configured to calculate the information block storage level score using the following formula:
[0094]
[0095] Among them, Q s For the sth information block, P(Q s , X m ) is the information block storage level score of the mth security information stored in the sth information block, R(Qs ) is the current load of the sth information block; according to the calculated information block storage level score, the information block with the largest information block storage level score is selected to store the corresponding security information.
[0096] It should be noted that for details not disclosed in the intelligent fire safety information management system in the embodiment of the present invention, please refer to the details disclosed in the intelligent fire safety information management method in the embodiment of the present invention, and the specific details will not be described here.
[0097] According to an embodiment of the present invention, the smart fire safety information management system obtains various security information related to smart fire protection through a generation module, and stores the obtained security information in multiple independent servers to generate a corresponding information library. The retrieval module generates retrieval information based on distributed ledger technology, and stores the retrieval information in multiple servers to retrieve the security information in the information library. The encoding module encodes the security information in each server to set browsing permissions for the security information in the information library. Thus, by generating an information library to store various security information related to smart fire protection and setting corresponding retrieval information and browsing permissions, it is not only convenient to retrieve security information, but also possible to protect the security of the information, thereby effectively managing various security information.
[0098] Corresponding to the above embodiment, the present invention further provides a computer device.
[0099] The computer device of an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the intelligent fire safety information management method based on the above-mentioned embodiment is implemented.
[0100] According to the computer device of the embodiment of the present invention, by generating an information library to store various security information related to smart fire protection and setting corresponding retrieval information and browsing permissions, it is not only convenient to retrieve security information, but also able to protect the security of information, and thus can effectively manage various security information.
[0101] Corresponding to the above embodiment, the present invention further proposes a non-transitory computer-readable storage medium.
[0102] The non-temporary computer-readable storage medium of an embodiment of the present invention stores a computer program, which, when executed by a processor, implements the above-mentioned intelligent fire safety information management method.
[0103] According to the non-temporary computer-readable storage medium of an embodiment of the present invention, by generating an information library to store various security information related to smart fire protection and setting corresponding retrieval information and browsing permissions, it is not only convenient to retrieve security information, but also able to protect the security of information, and thus can effectively manage various security information.
[0104] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of such features. "Multiple" means two or more, unless otherwise specifically defined.
[0105] In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "connect," "fixed," etc. should be understood broadly. For example, they may refer to fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two components or interaction between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.
[0106] In the present invention, unless otherwise expressly specified or limited, when a first feature is "above" or "below" a second feature, it may mean that the first and second features are in direct contact, or that the first and second features are in indirect contact through an intermediary. Furthermore, when a first feature is "above," "above," or "above" a second feature, it may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is at a higher level than the second feature. When a first feature is "below," "below," or "below" a second feature, it may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature is at a lower level than the second feature.
[0107] In the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0108] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
[0109] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A method for managing fire safety information based on intelligence, characterized in that: The following steps are involved: S1, obtaining various security information related to the smart fire protection, and distributing and storing the obtained security information in multiple independent servers to generate a corresponding information database; wherein step S1 specifically includes: S11, calculating the information correction frequency score and the information browsing frequency score of the security information; wherein step S11 specifically includes: The information correction frequency score is calculated by the following formula: , in, Score the frequency of information correction for the i-th safety information, is the i-th piece of security information, is the time difference between the last time the i-th security information was corrected; the information browsing frequency score is calculated using the following formula: , in, Score the browsing frequency of the i-th safety information, is the total time the i-th security information is browsed, The number of times the i-th security information is viewed within the total duration; S12, adjusting the server location and storage method of the stored information in real time according to the information correction frequency score and the information browsing frequency score; wherein step S12 specifically includes: The server storage level score is calculated using the following formula: , in, is the i-th safety information On the i-th server The server storage level score on is the i-th safety information With the i-th server The transmission distance between is the first weight, is the second weight, is the third weight; According to the calculated server storage grade score, the server with the highest server storage grade score is selected to store the corresponding security information; S13, calculating the similarity score and time correlation score between the security information; S14, adjusting the size of the information block and the location of the stored information block in real time according to the similarity score and the time correlation score; S2, generating retrieval information based on distributed ledger technology, and distributing the retrieval information on multiple servers to retrieve security information in the information database; S3, encoding the security information in each server to set browsing authority of the security information in the information library.
2. A method for managing fire safety information based on intelligence according to claim 1, characterized in that: Step S13 specifically includes: The similarity score is calculated by the following formula: , in, is the mth piece of security information, is the nth piece of security information, is the similarity between the mth piece of security information and the nth piece of security information, is the first adjustment factor, Score the similarity between the mth piece of security information and the nth piece of security information; The temporal relevance score is calculated using the following formula: , in, Score the temporal correlation between the mth piece of safety information and the nth piece of safety information, is the time when the mth piece of security information is obtained, is the time when the nth piece of security information is obtained, is the second adjustment factor.
3. The method for managing fire safety information based on intelligence according to claim 2, characterized in that: Step S14 specifically includes: The information block storage level score is calculated using the following formula: , in, For the sth information block, Score the information block storage level for the mth piece of security information stored in the sth information block, is the current load of the sth information block; According to the calculated information block storage level score, the information block with the largest information block storage level score is selected to store the corresponding security information.
4. A smart fire safety information management system, characterized in that: include: A generation module is used to obtain various security information related to the smart fire protection, and to disperse and store the obtained security information in multiple independent servers to generate a corresponding information library; wherein the generation module is specifically used to: calculate the information correction frequency score and the information browsing frequency score of the security information; adjust the storage server location and storage method in real time according to the information correction frequency score and the information browsing frequency score; calculate the similarity score and time correlation score between the security information; and adjust the size of the information block and the storage location of the information block in real time according to the similarity score and the time correlation score; wherein the generation module is specifically used to: The information correction frequency score is calculated by the following formula: , in, Score the frequency of information correction for the i-th safety information, is the i-th piece of security information, is the time difference between the last time the i-th security information was corrected; the information browsing frequency score is calculated using the following formula: , in, Score the browsing frequency of the i-th safety information, is the total time the i-th security information is browsed, is the number of times the i-th security information is viewed within the total duration; wherein the generating module is further configured to: The server storage level score is calculated using the following formula: , in, is the i-th safety information On the i-th server The server storage level score on is the i-th safety information With the i-th server The transmission distance between is the first weight, is the second weight, is the third weight; According to the calculated server storage grade score, the server with the highest server storage grade score is selected to store the corresponding security information; A retrieval module, configured to generate retrieval information based on distributed ledger technology and distribute the retrieval information across multiple servers to retrieve security information from the information repository; The encoding module is used to encode the security information in each server to set the browsing authority of the security information in the information library.
5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, it implements the intelligent fire safety information management method according to any one of claims 1 to 3.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for managing fire safety information based on intelligence according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Internet-of-data reliable log record management, construction and assembly method and log traceability method
CN118689858A