Fire-fighting product data safety management system based on block chain

Through the blockchain-based fire protection product data security management system, the production organization diagram and verification subsystem are used to solve the problem of low security of fire protection product production data records, efficient verification and storage of data is achieved, and the authenticity of data is ensured. Sex and traceability.

CN119249504AActive Publication Date: 2025-01-03CHENXUAN ZHONGXIAO (JINAN) NETWORK TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411303430.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-01-03
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

The existing fire-fighting product production data recording methods are relatively low, and it is impossible to determine the authenticity of uploaded data, making it difficult to trace the production data.

Method used

Adopt a blockchain-based fire protection product data security management system, through the communication connection between the data verification subsystem and the data storage blockchain, use the production organization diagram to determine the verification node, calculate the verification confidence and store data to ensure the security of the data Sex and authenticity.

Benefits of technology

Through blockchain technology, the security and authenticity of fire-fighting product data are improved, the reliability and traceability of data are ensured, and the traceability of production data is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119249504A_ABST
    Figure CN119249504A_ABST
Patent Text Reader

Abstract

The invention provides a blockchain-based fire-fighting product data security management system, which comprises a data storage blockchain and a data verification subsystem, and is characterized in that when the data verification subsystem receives to-be-verified product data, a data verification node sending the to-be-verified product data is determined as a first verification node; determining a verification coefficient corresponding to each data verification node according to the number of upstream verification nodes, downstream verification nodes, same-type verification nodes and second verification nodes corresponding to the first verification node; sending the to-be-verified product data to each data verification node except the first verification node to obtain a plurality of corresponding data verification confidence coefficients; according to each data verification confidence coefficient and the corresponding verification coefficient, obtaining the total verification confidence coefficient of the to-be-verified product data; and storing the to-be-verified product data and the total verification confidence in a data storage block chain to ensure the security and authenticity of the uploaded product data.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the production process of fire protection products, for the safety of users of fire protection products and to facilitate the inspection of regulatory authorities, it is necessary to record data at each link in the production chain of fire protection products in order to achieve the purpose of tracing the production data of fire protection products. At present, the production data of fire protection products is recorded by establishing a fire protection Internet platform or fire protection software. Users or manufacturers in various production links can exchange data on the fire protection Internet platform, but this data recording method has low security and cannot determine the authenticity of the uploaded production data. Summary of the invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] According to one aspect of the present application, a security management system for fire protection product data based on blockchain is provided, including a data storage blockchain and a data verification subsystem; the data verification subsystem is communicatively connected to the data storage blockchain; a plurality of data verification nodes are connected to the data verification subsystem, each data verification node corresponds to a product organization identifier, and the product organization identifier is used to indicate the production organization to which the corresponding data verification node belongs in the production chain of the fire protection product;

[0005] The data verification subsystem described in this application is used to perform the following method:

[0006] Step S100: In response to receiving the product data to be verified, determining the data verification node that sends the product data to be verified as the first verification node;

[0007] Step S200, according to a preset production organization relationship diagram, determine the upstream verification node and the downstream verification node corresponding to the first verification node from among the plurality of data verification nodes; the production organization relationship diagram stores the association relationship of the production organizations corresponding to each production link on the production chain of each fire protection product; the upstream verification node is the data verification node of the production organization corresponding to the upstream production link of the first verification node on the production chain of the fire protection product corresponding to the product data to be verified; the downstream verification node is the data verification node of the production organization corresponding to the downstream production link of the first verification node on the production chain of the fire protection product corresponding to the product data to be verified;

[0008] Step S300: According to the product organization identifiers of the plurality of data verification nodes, determine the verification nodes of the same type as the first verification node that belong to the production organization corresponding to the same production link;

[0009] Step S400: Determine the verification coefficient corresponding to each data verification node according to the number of upstream verification nodes, downstream verification nodes, verification nodes of the same type, and second verification nodes; the second verification node is other data verification nodes among the data verification nodes except for the upstream verification nodes, downstream verification nodes, verification nodes of the same type, and the first verification nodes;

[0010] Step S500: Send the product data to be verified to each data verification node except the first verification node to obtain a number of corresponding data verification confidences;

[0011] Step S600: Obtain the total verification confidence of the product data to be verified according to each data verification confidence and its corresponding verification coefficient;

[0012] Step S700: Store the product data to be verified and the total verification confidence in the data storage blockchain.

[0013] In an exemplary embodiment of the present application, the production organization relationship diagram is determined by the following steps:

[0014] Step S201: Obtain product identifications corresponding to a number of fire protection products produced by each data verification node during a historical period, and obtain a product identification list set A = (A1, A2, ..., A m ,...,A h );A m =(A m1 ,A m2 ,...,A mj ,...,A mk(m) ), where m = 1, 2, ..., h, and h is the number of data verification nodes. m is the product identification list corresponding to the mth data verification node; j = 1, 2, ..., k(m); k(m) is the number of fire protection products produced by the mth data verification node in the historical period; A mj The product identifier corresponding to the j-th fire protection product produced by the m-th data verification node during the historical period;

[0015] Step S202: perform deduplication processing on the product identification list set A to obtain a number of product identifications, and determine a deduplication product identification list B = (B1, B2, ..., B p ,...,B q ), where p = 1, 2, ..., q; q is the number of product identifiers obtained after deduplication; B p is the pth product ID obtained after deduplication processing;

[0016] Step S203, traverse product identification list set A, if A m Including Bp , then the mth data verification node is determined as B p Corresponding product production nodes, to obtain a number of product production nodes corresponding to each product identification;

[0017] Step S204: Obtain the product organization identifier corresponding to each product production node, and obtain a product organization identifier list set C = (C1, C2, ..., C p ,...,C q );C p =(C p1 ,C p2 ,...,C pn ,...,C pr(p) ), where C p is the product organization identification list corresponding to the p-th product identification; n=1,2,...,r(p); r(p) is the number of product production nodes corresponding to the p-th product identification; C pn The product organization identifier of the nth product production node corresponding to the pth product identifier;

[0018] Step S204: sort the production node identifiers of the product production nodes corresponding to the several product organization identifiers in each product organization identifier list according to the preset production organization sequence corresponding to the several production links of the fire protection product, so as to obtain the corresponding several production node identifier lists;

[0019] Step S205: Connecting several production node identifiers in each production node identifier list in sequence according to corresponding ranks to obtain a product organization relationship network of fire protection products corresponding to each product identifier;

[0020] Step S206: Integrate the product organization relationship networks of q fire protection products to obtain a production organization relationship diagram.

[0021] In an exemplary embodiment of the present application, step S200 includes:

[0022] Step S210: determining the fire protection product corresponding to the product data to be verified as the first fire protection product;

[0023] Step S220: determine the product organization relationship network corresponding to the first fire protection product in the production organization relationship diagram as the first product organization relationship network;

[0024] Step S230: determine the data verification node that is one rank before the first verification node in the first product organization relationship network as an upstream verification node;

[0025] Step S240: determine the data verification node that is one rank after the first verification node in the first product organization relationship network as a downstream verification node.

[0026] In an exemplary embodiment of the present application, step S300 includes:

[0027] Step S310: Obtain the product organization identifier corresponding to each data verification node except the first verification node, and obtain the first product organization identifier list D=(D1, D2, ..., D i ,...,D h-1 ), where i = 1, 2, ..., h-1; D i is the product organization identifier corresponding to the i-th data verification node except the first verification node;

[0028] Step S320, traverse the first product organization identifier list D, if D i Same as D0, then D i The corresponding data verification node is determined to be a verification node of the same type; wherein D0 is the product organization identifier corresponding to the first verification node.

[0029] In an exemplary embodiment of the present application, step S400 includes:

[0030] Step S410, determine that the verification coefficient corresponding to the upstream verification node is u1 / ((h-1)×t1);

[0031] The verification coefficient corresponding to the downstream verification node is u2 / ((h-1)×t2);

[0032] The verification coefficient corresponding to the same type of verification node is u3 / ((h-1)×t3);

[0033] The verification coefficient corresponding to the second verification node is u4 / ((h-1)×t4);

[0034] Where t1 is the number of upstream verification nodes; t2 is the number of downstream verification nodes; t3 is the number of verification nodes of the same type; t4 is the number of second verification nodes; t1+t2+t3+t4=h-1;

[0035] u1 is the preset first verification index; u2 is the preset second verification index; u3 is the preset third verification index; u4 is the preset fourth verification index; u1+u2+u3+u4=h-1; u1>u2>u3>u4>0.

[0036] In an exemplary embodiment of the present application, step S500 includes:

[0037] Step S510: Send the product data to be verified to each data verification node except the first verification node, and obtain the direct data verification confidence of each data verification node for verifying the product data according to its corresponding data verification rules, so as to determine the first data verification confidence list W = (W1, W2, ..., W i ,...,W h-1 ), where W i is the direct data verification confidence obtained by the i-th data verification node other than the first verification node verifying the product data to be verified;

[0038] Step S520: traverse the first data verification confidence list W and set W i The data verification node in the upstream production link of the corresponding data verification node performs data verification on the product data to be verified and sends the verification result to W i In the corresponding data verification node, we get W i The corresponding data verification node performs secondary verification on the verification result according to the corresponding data verification rule to determine the second data verification confidence list Y = (Y1, Y2, ..., Y i ,...,Y h-1 ), where Y i W i The corresponding data verification node performs secondary verification to obtain the indirect data verification confidence;

[0039] Step S530: According to the first data verification confidence list W and the second data verification confidence list Y, determine the target data verification confidence of each data verification node for data verification of the product data to be verified.

[0040] In an exemplary embodiment of the present application, step S530 includes:

[0041] Step S531: Determine the target data verification confidence list Z=(Z1, Z2, ..., Z i ,...,Z h-1 ), where Z i W i The corresponding data verification node verifies the target data confidence level of the product data to be verified; Z i =(W i +Y i ) / 2.

[0042] In an exemplary embodiment of the present application, step S600 includes:

[0043] Step S610: traverse the target data verification confidence list Z. If Z i The corresponding data verification node is the upstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u1 / ((h-1)×t1); if Z i The corresponding data verification node is the downstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u2 / ((h-1)×t2); if Z i If the corresponding data verification node is the same type of verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u3 / ((h-1)×t3); if Z i The corresponding data verification node is the second verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u4 / ((h-1)×t4);

[0044] Step S620: According to the data verification confidence and verification coefficient corresponding to each data verification node, determine the total verification confidence of the product data to be verified as ∑ h-1 i=1 (Z i ×T i ).

[0045] In an exemplary embodiment of the present application, step S700 includes:

[0046] Step S710: If the total verification confidence of the product data to be verified is greater than or equal to the preset verification confidence threshold, the product data to be verified and the total verification confidence are stored in the data storage blockchain.

[0047] In an exemplary embodiment of the present application, step S700 further includes:

[0048] Step S720: If the total verification confidence of the product data to be verified is less than the preset verification confidence threshold, an abnormal data identifier corresponding to the product data to be verified is generated, and the product data to be verified, the abnormal data identifier and the total verification confidence are stored in the data storage blockchain.

[0049] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the method performed by the data verification subsystem included in the aforementioned blockchain-based fire product data safety management system.

[0050] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned non-transitory computer-readable storage medium.

[0051] The present invention has at least the following beneficial effects:

[0052] The blockchain-based safety management system for fire protection product data of the present invention comprises a data storage blockchain and a data verification subsystem. When receiving product data to be verified, the data verification subsystem determines the data verification node that sends the product data to be verified as the first verification node, and determines the upstream verification node and the downstream verification node corresponding to the first verification node from among a plurality of data verification nodes according to the production organization relationship diagram, and determines the same type of verification node of the production organization corresponding to the same production link as the first verification node according to the product organization identification of the plurality of data verification nodes, and determines the other data verification nodes after removing the upstream verification node, the downstream verification node, the verification node of the same type and the first verification node from among the plurality of data verification nodes as the second verification node, and then determines the other data verification nodes according to the upstream verification node, the downstream verification node, the verification node of the same type and the first verification node, and determines the other data verification nodes according to the upstream verification node, the downstream verification node, the verification node of the same type and the verification node, and determines the other data verification nodes according to the product organization identification of the plurality of data verification nodes. The number of data verification nodes and second verification nodes is determined, and the verification coefficient corresponding to each data verification node is determined to determine the importance of verification of the product data to be verified by each data verification node, and then the product data to be verified is sent to each data verification node except the first verification node, and a corresponding number of data verification confidences are obtained to represent the verification results of the corresponding data verification nodes for verifying the product data to be verified according to their respective verification rules. According to each data verification confidence and its corresponding verification coefficient, the total verification confidence of the product data to be verified is obtained, and the product data to be verified and the total verification confidence are stored in the data storage blockchain to ensure the security of the uploaded product data, and the product data is independently verified by data verification nodes of different organizational types to improve the authenticity of the uploaded product data. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0054] Figure 1 A schematic diagram of a method performed by a data verification subsystem included in a blockchain-based fire protection product data security management system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 those skilled in the art without creative work are within the scope of protection of the present invention.

[0056] The blockchain-based security management system for fire protection product data described in the present application is applied to a fire protection Internet platform or fire protection software, which includes a data storage blockchain and a data verification subsystem. The data verification subsystem is communicatively connected to the data storage blockchain. A number of data verification nodes are connected to the data verification subsystem. Each data verification node corresponds to a product organization identifier, and the product organization identifier is used to indicate the production organization to which the corresponding data verification node belongs in the production chain of fire protection products.

[0057] The data storage blockchain is used to store fire protection product data, which includes the production data of fire protection products. The production data includes the data of each production link in the production chain of fire protection products.

[0058] The data verification subsystem is used to verify and count the fire product data uploaded to the data storage blockchain, and upload the verification results obtained after statistics together with the fire product data to the data storage blockchain.

[0059] Each data verification node is connected to the data verification subsystem and the data storage blockchain. The data verification node is used to verify the fire product data to be uploaded to the data storage blockchain, and to view the fire product data that has been uploaded to the data storage blockchain. The production organization represented by the product organization identifier corresponding to each data verification node is the corresponding position of the manufacturer corresponding to the data verification node in the production chain of fire products. The production organization can be the provider of raw materials for fire products, the assembler of fire products, the manufacturer of fire products, etc.

[0060] Among them, Figure 1 As shown, the data verification subsystem described in this application is used to perform the following method:

[0061] Step S100: In response to receiving the product data to be verified, determining the data verification node that sends the product data to be verified as the first verification node;

[0062] The product data to be verified is the fire product data to be uploaded to the data storage blockchain. Before uploading to the data storage blockchain, in order to ensure the authenticity of the uploaded data, the uploaded fire product data needs to be verified.

[0063] Step S200: According to a preset production organization relationship diagram, an upstream verification node and a downstream verification node corresponding to a first verification node are determined from a plurality of data verification nodes;

[0064] The production organization relationship diagram stores the association relationship between the production organizations corresponding to each production link in the production chain of each fire protection product, that is, the sequence of each production link in the production chain of each fire protection product, which is used to represent the complete production chain of fire protection products, and facilitates the subsequent production information traceability of fire protection products.

[0065] The upstream verification node is a data verification node of a production organization corresponding to the upstream production link of the first verification node in the production chain of the fire protection product corresponding to the product data to be verified.

[0066] The downstream verification node is a data verification node of a production organization corresponding to the downstream production link of the first verification node in the production chain of the fire protection product corresponding to the product data to be verified.

[0067] The production organization relationship chart is determined through steps S201 to S206:

[0068] Step S201: Obtain product identifications corresponding to a number of fire protection products produced by each data verification node during a historical period, and obtain a product identification list set A = (A1, A2, ..., A m ,...,A h );A m =(A m1 ,A m2 ,...,A mj ,...,A mk(m) ), where m = 1, 2, ..., h, and h is the number of data verification nodes. m is the product identification list corresponding to the mth data verification node; j = 1, 2, ..., k(m); k(m) is the number of fire protection products produced by the mth data verification node in the historical period; A mj The product identifier corresponding to the j-th fire protection product produced by the m-th data verification node during the historical period;

[0069] Step S202: perform deduplication processing on the product identification list set A to obtain a number of product identifications, and determine a deduplication product identification list B = (B1, B2, ..., B p ,...,B q ), where p = 1, 2, ..., q; q is the number of product identifiers obtained after deduplication; B p is the pth product ID obtained after deduplication processing;

[0070] The fire protection products corresponding to the p product identifications obtained after deduplication are all the fire protection products that all data verification nodes participated in producing during the historical period.

[0071] Step S203, traverse product identification list set A, if A m Including B p , then the mth data verification node is determined as B p Corresponding product production nodes, to obtain a number of product production nodes corresponding to each product identification;

[0072] Step S204: Obtain the product organization identifier corresponding to each product production node, and obtain a product organization identifier list set C = (C1, C2, ..., C p ,...,C q );C p =(C p1 ,C p2 ,...,C pn ,...,C pr(p) ), where C p is the product organization identification list corresponding to the p-th product identification; n=1,2,...,r(p); r(p) is the number of product production nodes corresponding to the p-th product identification; C pn The product organization identifier of the nth product production node corresponding to the pth product identifier;

[0073] Step S204: sort the production node identifiers of the product production nodes corresponding to the several product organization identifiers in each product organization identifier list according to the preset production organization sequence corresponding to the several production links of the fire protection product, so as to obtain the corresponding several production node identifier lists;

[0074] Step S205: Connecting several production node identifiers in each production node identifier list in sequence according to corresponding ranks to obtain a product organization relationship network of fire protection products corresponding to each product identifier;

[0075] The several production node identifiers in each production node identifier list are sorted according to the positions of their respective production links on the production chain of the corresponding fire protection products, that is, the production link with a lower rank is the preceding production step of the production link with a higher rank.

[0076] Step S206: Integrate the product organization relationship networks of q fire protection products to obtain a production organization relationship diagram.

[0077] Further, step S200 includes steps S210 to S240:

[0078] Step S210: determining the fire protection product corresponding to the product data to be verified as the first fire protection product;

[0079] Step S220: determine the product organization relationship network corresponding to the first fire protection product in the production organization relationship diagram as the first product organization relationship network;

[0080] The first product organizational relationship network includes the chronological relationship of each production link in the production chain corresponding to the first fire protection product.

[0081] Step S230: determine the data verification node that is one rank before the first verification node in the first product organization relationship network as an upstream verification node;

[0082] The upstream verification node is a data verification node corresponding to a preceding production step of the first verification node.

[0083] Step S240: determine the data verification node that is one rank after the first verification node in the first product organization relationship network as a downstream verification node.

[0084] The downstream verification node is a data verification node corresponding to a subsequent production step of the first verification node.

[0085] Step S300: According to the product organization identifiers of the plurality of data verification nodes, determine the verification nodes of the same type as the first verification node that belong to the production organization corresponding to the same production link;

[0086] The same type of verification node is a data verification node with the same production link as that of the first verification node.

[0087] Further, step S300 includes step S310-step S320:

[0088] Step S310: Obtain the product organization identifier corresponding to each data verification node except the first verification node, and obtain the first product organization identifier list D=(D1, D2, ..., D i ,...,D h-1 ), where i = 1, 2, ..., h-1; D i is the product organization identifier corresponding to the i-th data verification node except the first verification node;

[0089] Step S320, traverse the first product organization identifier list D, if D i Same as D0, then D i The corresponding data verification node is determined to be a verification node of the same type; wherein D0 is the product organization identifier corresponding to the first verification node.

[0090] Step S400: Determine the verification coefficient corresponding to each data verification node according to the number of upstream verification nodes, downstream verification nodes, verification nodes of the same type, and second verification nodes;

[0091] The second verification node is other data verification nodes among the plurality of data verification nodes after removing the upstream verification node, the downstream verification node, the same type verification node and the first verification node.

[0092] Further, step S400 includes step S410:

[0093] Step S410, determine that the verification coefficient corresponding to the upstream verification node is u1 / ((h-1)×t1);

[0094] The verification coefficient corresponding to the downstream verification node is u2 / ((h-1)×t2);

[0095] The verification coefficient corresponding to the same type of verification node is u3 / ((h-1)×t3);

[0096] The verification coefficient corresponding to the second verification node is u4 / ((h-1)×t4);

[0097] Where t1 is the number of upstream verification nodes; t2 is the number of downstream verification nodes; t3 is the number of verification nodes of the same type; t4 is the number of second verification nodes; t1+t2+t3+t4=h-1;

[0098] u1 is the preset first verification index; u2 is the preset second verification index; u3 is the preset third verification index; u4 is the preset fourth verification index; u1+u2+u3+u4=h-1; u1>u2>u3>u4>0.

[0099] In the production chain of fire protection products, the data verification nodes in the previous steps have greater credibility and accuracy in verifying the product data to be verified than the data verification nodes in the subsequent steps. The same type of verification nodes and the second verification nodes are second. Therefore, different data verification nodes are classified and verified, and the verification coefficient corresponding to each type of data verification node is determined according to the number of each type of data verification nodes, so that the subsequent verification results of the product data to be verified will be more accurate.

[0100] Step S500: Send the product data to be verified to each data verification node except the first verification node to obtain a number of corresponding data verification confidences;

[0101] Further, step S500 includes step S510-step S530:

[0102] Step S510: Send the product data to be verified to each data verification node except the first verification node, and obtain the direct data verification confidence of each data verification node for verifying the product data according to its corresponding data verification rules, so as to determine the first data verification confidence list W = (W1, W2, ..., W i ,...,W h-1 ), where W i is the direct data verification confidence obtained by the i-th data verification node other than the first verification node verifying the product data to be verified;

[0103] Each data verification node has its own corresponding data verification rules, which are preset for the data verification node or obtained based on historical verification results, and will not be repeated here.

[0104] Step S520: traverse the first data verification confidence list W and set W i The data verification node in the upstream production link of the corresponding data verification node performs data verification on the product data to be verified and sends the verification result to W i In the corresponding data verification node, we get W i The corresponding data verification node performs secondary verification on the verification result according to the corresponding data verification rule to determine the second data verification confidence list Y = (Y1, Y2, ..., Y i ,...,Y h-1 ), where Y i W i The corresponding data verification node performs secondary verification to obtain the indirect data verification confidence;

[0105] In order to further improve the credibility of data verification, it is necessary to conduct a second verification of the verification results, that is, to conduct a second verification of the verification results of the corresponding data verification nodes in the previous production link through the corresponding data verification nodes in the subsequent production link connected in sequence, so as to determine the accuracy of the verification of the product data to be verified by the corresponding data verification nodes in the previous production link.

[0106] Step S530: According to the first data verification confidence list W and the second data verification confidence list Y, determine the target data verification confidence of each data verification node for data verification of the product data to be verified.

[0107] Wherein, step S530 includes step S531:

[0108] Step S531: Determine the target data verification confidence list Z=(Z1, Z2, ..., Z i ,...,Zh-1 ), where Z i W i The corresponding data verification node verifies the target data confidence level of the product data to be verified; Z i =(W i +Y i ) / 2.

[0109] Step S600: Obtain the total verification confidence of the product data to be verified according to each data verification confidence and its corresponding verification coefficient;

[0110] Further, step S600 includes step S610-step S620:

[0111] Step S610: traverse the target data verification confidence list Z. If Z i The corresponding data verification node is the upstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u1 / ((h-1)×t1); if Z i The corresponding data verification node is the downstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u2 / ((h-1)×t2); if Z i If the corresponding data verification node is the same type of verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u3 / ((h-1)×t3); if Z i The corresponding data verification node is the second verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u4 / ((h-1)×t4);

[0112] Step S620: According to the data verification confidence and verification coefficient corresponding to each data verification node, determine the total verification confidence of the product data to be verified as ∑ h-1 i=1 (Z i ×T i ).

[0113] Step S700: storing the product data to be verified and the total verification confidence in the data storage blockchain;

[0114] Further, step S700 includes step S710-step S720:

[0115] Step S710: If the total verification confidence of the product data to be verified is greater than or equal to a preset verification confidence threshold, the product data to be verified and the total verification confidence are stored in the data storage blockchain;

[0116] Step S720: If the total verification confidence of the product data to be verified is less than the preset verification confidence threshold, an abnormal data identifier corresponding to the product data to be verified is generated, and the product data to be verified, the abnormal data identifier and the total verification confidence are stored in the data storage blockchain.

[0117] The blockchain-based safety management system for fire protection product data of the present invention comprises a data storage blockchain and a data verification subsystem. When receiving product data to be verified, the data verification subsystem determines the data verification node that sends the product data to be verified as the first verification node, and determines the upstream verification node and the downstream verification node corresponding to the first verification node from among a plurality of data verification nodes according to the production organization relationship diagram, and determines the same type of verification node of the production organization corresponding to the same production link as the first verification node according to the product organization identification of the plurality of data verification nodes, and determines the other data verification nodes after removing the upstream verification node, the downstream verification node, the verification node of the same type and the first verification node from among the plurality of data verification nodes as the second verification node, and then determines the other data verification nodes according to the upstream verification node, the downstream verification node, the verification node of the same type and the first verification node, and determines the other data verification nodes according to the upstream verification node, the downstream verification node, the verification node of the same type and the verification node, and determines the other data verification nodes according to the product organization identification of the plurality of data verification nodes. The number of data verification nodes and second verification nodes is determined, and the verification coefficient corresponding to each data verification node is determined to determine the importance of verification of the product data to be verified by each data verification node, and then the product data to be verified is sent to each data verification node except the first verification node, and a corresponding number of data verification confidences are obtained to represent the verification results of the corresponding data verification nodes for verifying the product data to be verified according to their respective verification rules. According to each data verification confidence and its corresponding verification coefficient, the total verification confidence of the product data to be verified is obtained, and the product data to be verified and the total verification confidence are stored in the data storage blockchain to ensure the security of the uploaded product data, and the product data is independently verified by data verification nodes of different organizational types to improve the authenticity of the uploaded product data.

[0118] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0119] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0120] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0121] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0122] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0123] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0124] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).

[0125] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0126] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0127] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0128] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0129] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device, and / or any device that enables the electronic device to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter.

[0130] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0131] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0132] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0133] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0134] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0135] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0136] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0137] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0138] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A safety management system for fire protection product data based on blockchain, characterized in that: It includes a data storage blockchain and a data verification subsystem; the data verification subsystem is communicatively connected to the data storage blockchain; the data verification subsystem is connected to a plurality of data verification nodes, each of which corresponds to a product organization identifier, and the product organization identifier is used to indicate the production organization to which the corresponding data verification node belongs in the production chain of fire protection products; The data verification subsystem is used to perform the following method: Step S100: In response to receiving product data to be verified, determining a data verification node that sends the product data to be verified as a first verification node; Step S200, according to a preset production organization relationship diagram, determine the upstream verification node and the downstream verification node corresponding to the first verification node from a number of data verification nodes; the production organization relationship diagram stores the association relationship of the production organizations corresponding to each production link on the production chain of each fire protection product; the upstream verification node is the data verification node of the production organization corresponding to the upstream production link of the first verification node on the production chain of the fire protection product corresponding to the product data to be verified; the downstream verification node is the data verification node of the production organization corresponding to the downstream production link of the first verification node on the production chain of the fire protection product corresponding to the product data to be verified; Step S300: According to the product organization identifiers of the plurality of data verification nodes, determining a verification node of the same type as the first verification node belonging to a production organization corresponding to the same production link; Step S400: Determine the verification coefficient corresponding to each of the data verification nodes according to the number of the upstream verification nodes, the downstream verification nodes, the verification nodes of the same type, and the second verification nodes; the second verification node is other data verification nodes among the data verification nodes, excluding the upstream verification nodes, the downstream verification nodes, the verification nodes of the same type, and the first verification nodes; Step S500: sending the product data to be verified to each of the data verification nodes except the first verification node to obtain a number of corresponding data verification confidences; Step S600: Obtaining the total verification confidence of the product data to be verified according to each data verification confidence and its corresponding verification coefficient; Step S700: store the product data to be verified and the total verification confidence in the data storage blockchain.

2. According to claim 1, the security management system for fire protection product data based on blockchain is characterized in that: The production organization relationship diagram is determined by the following steps: Step S201: Obtain product identifications corresponding to a number of fire protection products produced by each data verification node in a historical period, and obtain a product identification list set A = (A1, A2, ..., A m ,...,A h );A m =(A m1 ,A m2 ,...,A mj ,...,A mk(m) ), wherein m=1, 2, ..., h, and h is the number of data verification nodes; A m is a product identification list corresponding to the mth data verification node; j = 1, 2, ..., k(m); k(m) is the number of fire protection products produced by the mth data verification node in the historical period; A mj The product identifier corresponding to the j-th fire protection product produced by the m-th data verification node during the historical period; Step S202: De-duplicate the product identification list set A to obtain a number of product identifications, and determine a de-duplicate product identification list B = (B1, B2, ..., B p ,...,B q ), where p = 1, 2, ..., q; q is the number of product identifiers obtained after deduplication; B p is the pth product ID obtained after deduplication processing; Step S203: traverse the product identification list set A. If A m Including B p , then the mth data verification node is determined as B p Corresponding product production nodes, to obtain a number of product production nodes corresponding to each product identification; Step S204: Obtain the product organization identifier corresponding to each product production node, and obtain a product organization identifier list set C = (C1, C2, ..., C p ,...,C q );C p =(C p1 ,C p2 ,...,C pn ,...,C pr(p) ), where C p is the product organization identification list corresponding to the p-th product identification; n=1,2,...,r(p); r(p) is the number of product production nodes corresponding to the p-th product identification; C pn The product organization identifier of the nth product production node corresponding to the pth product identifier; Step S204: sort the production node identifiers of the product production nodes corresponding to the several product organization identifiers in each of the product organization identifier lists according to the order of the production organizations corresponding to the several production links of the preset fire protection products, so as to obtain the corresponding several production node identifier lists; Step S205: connecting the multiple production node identifiers in each of the production node identifier lists in sequence according to the corresponding ranks, so as to obtain a product organization relationship network of the fire protection products corresponding to each product identifier; Step S206: Integrate the product organization relationship networks of q fire protection products to obtain a production organization relationship diagram.

3. The blockchain-based safety management system for fire protection product data according to claim 2 is characterized in that: The step S200 includes: Step S210: determining the fire protection product corresponding to the product data to be verified as a first fire protection product; Step S220: Determine the product organization relationship network corresponding to the first fire protection product in the production organization relationship diagram as the first product organization relationship network; Step S230: determine the data verification node that is one rank before the first verification node in the first product organization relationship network as an upstream verification node; Step S240: determine a data verification node that is one rank behind the first verification node in the first product organization relationship network as a downstream verification node.

4. The blockchain-based safety management system for fire protection product data according to claim 3 is characterized in that: The step S300 includes: Step S310: Obtain the product organization identifier corresponding to each of the data verification nodes except the first verification node, and obtain a first product organization identifier list D=(D1, D2, ..., D i ,...,D h-1 ), where i = 1, 2, ..., h-1; D i is a product organization identifier corresponding to the i-th data verification node except the first verification node; Step S320, traverse the first product organization identifier list D, if D i Same as D0, then D i The corresponding data verification node is determined to be a verification node of the same type; wherein D0 is the product organization identifier corresponding to the first verification node.

5. The blockchain-based safety management system for fire protection product data according to claim 4 is characterized in that: The step S400 includes: Step S410, determining that the verification coefficient corresponding to the upstream verification node is u1 / ((h-1)×t1); The verification coefficient corresponding to the downstream verification node is u2 / ((h-1)×t2); The verification coefficient corresponding to the same type of verification node is u3 / ((h-1)×t3); The verification coefficient corresponding to the second verification node is u4 / ((h-1)×t4); Wherein, t1 is the number of the upstream verification nodes; t2 is the number of the downstream verification nodes; t3 is the number of the same type of verification nodes; t4 is the number of the second verification nodes; t1+t2+t3+t4=h-1; u1 is the preset first verification index; u2 is the preset second verification index; u3 is the preset third verification index; u4 is the preset fourth verification index; u1+u2+u3+u4=h-1; u1>u2>u3>u4>0.

6. The blockchain-based fire protection product data security management system according to claim 5 is characterized in that: The step S500 includes: Step S510: Send the product data to be verified to each of the data verification nodes except the first verification node, and obtain the direct data verification confidence of each data verification node verifying the product data to be verified according to the corresponding data verification rules, so as to determine the first data verification confidence list W = (W1, W2, ..., W i ,...,W h-1 ), where W i is the direct data verification confidence obtained by the i-th data verification node other than the first verification node verifying the product data to be verified; Step S520: traverse the first data verification confidence list W and set W i The data verification node in the upstream production link of the corresponding data verification node performs data verification on the product data to be verified and sends the verification result to W i In the corresponding data verification node, we get W i The corresponding data verification node performs secondary verification on the verification result according to the corresponding data verification rule to determine the second data verification confidence list Y = (Y1, Y2, ..., Y i ,...,Y h-1 ), where Y i W i The corresponding data verification node performs secondary verification to obtain the indirect data verification confidence; Step S530: According to the first data verification confidence list W and the second data verification confidence list Y, determine the target data verification confidence of each data verification node for data verification of the product data to be verified.

7. The blockchain-based safety management system for fire protection product data according to claim 6 is characterized in that: The step S530 includes: Step S531: Determine a target data verification confidence list Z=(Z1, Z2, ..., Z i ,...,Z h-1 ), where Z i W i The target data verification confidence level of the corresponding data verification node for data verification of the product data to be verified; Z i =(W i +Y i ) / 2.

8. The blockchain-based safety management system for fire protection product data according to claim 7 is characterized in that: The step S600 includes: Step S610: traverse the target data verification confidence list Z. If Z i The corresponding data verification node is the upstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u1 / ((h-1)×t1); if Z i The corresponding data verification node is the downstream verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u2 / ((h-1)×t2); if Z i If the corresponding data verification node is the same type of verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u3 / ((h-1)×t3); if Z i The corresponding data verification node is the second verification node, then Z i The verification coefficient T of the corresponding data verification node i Determined as u4 / ((h-1)×t4); Step S620: According to the data verification confidence and verification coefficient corresponding to each data verification node, determine the total verification confidence of the product data to be verified as ∑ h-1 i=1 (Z i ×T i ).

9. The blockchain-based safety management system for fire protection product data according to claim 8 is characterized in that: The step S700 includes: Step S710: If the total verification confidence of the product data to be verified is greater than or equal to a preset verification confidence threshold, the product data to be verified and the total verification confidence are stored in the data storage blockchain.

10. The blockchain-based safety management system for fire protection product data according to claim 9 is characterized in that: The step S700 further includes: Step S720: If the total verification confidence of the product data to be verified is less than a preset verification confidence threshold, an abnormal data identifier corresponding to the product data to be verified is generated, and the product data to be verified, the abnormal data identifier and the total verification confidence are stored in the data storage blockchain.

Citation Information

Patent Citations

  • Food traceability information uplink method and food traceability system

    CN115829597A

  • Fire-fighting product maintenance traceability system and method

    CN117010917A

  • Remote wireless communication method for mechanical protection device of one-stop internet-of-things fire-fighting cabinet

    CN117676501A

  • Two-tier token method and system for an asset-based consensus

    US20240283667A1