A steel anti-counterfeiting traceability system and method based on blockchain

Using blockchain technology to create a digital identity and record the processing and property rights transfer of steel in the steel industry solves the problems of steel counterfeiting and difficulty in tracking, realizes full digital circulation and traceability of steel, and ensures the authenticity and property rights of steel. reliability.

CN113177799BActive Publication Date: 2024-08-23JIANGYIN XINGCHENG SPECIAL STEEL WORKS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110523809.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-13
Publication Date
2024-08-23
Estimated Expiration
2041-05-13

AI Technical Summary

Technical Problem

The counterfeiting problem of high-quality steel in the steel industry is serious. It is difficult to effectively track the authenticity of steel in the supply chain with existing technology, resulting in frequent shoddy activities.

Method used

Adopting a blockchain-based steel anti-counterfeiting traceability system, through the alliance chain module, user authentication management module and user operation interface module, a digital identity is created and the processing and property rights transfer process of steel assets are recorded to achieve full digital circulation and traceability of steel.

Benefits of technology

It realizes the authenticity of the steel and the traceability of the property rights, prevents fraud, and ensures the reliability and credibility of the digital warranty of the steel quality guarantee.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113177799B
    Figure CN113177799B
Patent Text Reader

Abstract

The present invention discloses a steel anti-counterfeiting and traceability system and method based on blockchain, which is applied to alliance chain. The system comprises: an alliance chain module, which is used to deploy nodes in core steel mills and downstream manufacturers and to carry and run smart contracts; a user authentication management module, which is used to perform real-name authentication on users; a user operation interface module, which is used to provide a management interface for use by the upstream core steel mills and downstream manufacturers; wherein the management interface is associated with a steel asset authentication center smart contract module, a steel asset processing center smart contract module, a steel asset registration center smart contract module and a steel asset quality guarantee query module; the effect is: by creating a digital identity for the authenticated steel assets, the processing and property transfer process of the steel assets is recorded throughout the process, the industrial chain circulation business of the steel assets is realized in the smart contract, a consensus on steel anti-counterfeiting and traceability is reached between the core steel mills and downstream manufacturers, and the consistency of program logic and data is realized and guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of blockchain, and specifically relates to a steel anti-counterfeiting and traceability system and method based on blockchain. Background Art

[0002] Blockchain is an underlying technology brought by Bitcoin, which includes a series of technologies, such as asymmetric encryption signature, distributed ledger, consensus mechanism, peer-to-peer protocol, smart contract, etc. Blockchain can realize value transfer, data consensus, contract automation execution, etc. in a peer-to-peer network environment. Blockchain is divided into public chain and alliance chain. The public chain is an open structure, and any unfamiliar node can join; the alliance chain is a permissioned structure, and only the nodes with permission can participate in consensus and accounting.

[0003] In the steel industry, the problem of counterfeiting of high-quality steel is very serious, but due to the difficulty of detection and accountability, counterfeiting activities of passing inferior products as good ones are prevalent. When the user's contract explicitly requires that the raw steel comes from a certain steel plant, processing and manufacturing companies in the supply chain dare to pass inferior products as good ones, and it has become normal to borrow and misappropriate "steel quality assurance certificates" to deceive users.

[0004] The reason is that it is very difficult to distinguish high-quality steel from ordinary or low-quality steel, which requires professional laboratories and equipment. The "steel quality guarantee" in the industry is mostly paper-based, with backward means, easy to embezzle and forge, and it is impossible to verify the authenticity, nor to compare the "steel quality guarantee" with the purchaser's name and the actual steel.

[0005] The industry uses some technical means such as electronic signature warranties and QR code labels, but due to the changes in the form of steel during the circulation of steel in the supply chain, it is impossible to truly track it.

[0006] In view of this, the present invention is proposed. Summary of the invention

[0007] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a steel anti-counterfeiting traceability system and method based on blockchain, so as to overcome the defect in the prior art that the steel cannot be truly tracked to the end due to the changes in the form of steel during the circulation of the supply chain.

[0008] Aspect 1: A steel anti-counterfeiting traceability system based on blockchain, applied to the alliance chain, the system comprising:

[0009] The alliance chain module is used to deploy nodes in core steel mills and downstream manufacturers and to carry and run smart contracts;

[0010] A user authentication management module is used to perform real-name authentication on users; wherein the users include core steel mills and downstream manufacturers;

[0011] A user operation interface module is used to provide a management interface for the upstream core steel mills and downstream manufacturers; wherein the management interface is associated with a steel asset authentication center smart contract module, a steel asset processing center smart contract module, a steel asset registration center smart contract module and a steel asset quality guarantee query module;

[0012] The steel asset authentication center smart contract module is used to maintain the authenticated archival information of steel assets; wherein the steel assets include raw steel, steel products and steel product processing;

[0013] A smart contract module for the steel asset processing center, used to record the processing information of the steel assets;

[0014] The smart contract module of the steel asset registration center is used to record the transfer of ownership of the steel assets due to processing and trading, thereby realizing the ownership registration of the steel assets;

[0015] The steel asset quality guarantee query module is used to generate a digital quality guarantee in a fixed format according to the ownership registration information of the steel asset for users to conduct anti-counterfeiting and traceability.

[0016] As an optional implementation of the present application, the alliance chain is specifically used for:

[0017] Alliance nodes are deployed between the core steel mills and downstream manufacturers. Certified enterprises and organizations can join the alliance as nodes and participate in blockchain transaction accounting. Each enterprise node uses the public and private keys obtained through CA node application for identity authentication.

[0018] And, smart contracts are carried and run on the chain, and the business logic and data of steel anti-counterfeiting traceability are implemented in the smart contracts; wherein the smart contracts include the steel asset authentication center smart contract, the steel asset processing center smart contract and the steel asset registration center smart contract;

[0019] The operation of smart contracts on the blockchain requires a digital signature from the address initiating the transaction, while the operation of smart contracts on the consortium chain realizes the digital signature of the transaction initiator.

[0020] As an optional implementation of the present application, the smart contract module of the steel asset certification center is specifically used for:

[0021] Authentication and recording of various steel asset categories and processing categories in the steel anti-counterfeiting traceability ecosystem;

[0022] The steel asset class is used to record the certified raw steel and steel product information;

[0023] The Steel Processing category is used to record information about certified steel processing operations.

[0024] As an optional implementation mode of the present application, the registration of the raw steel is entered into the management interface; the registration of the steel products can only be automatically generated by transactions and processing to register the ownership; wherein, the steel asset transaction is initiated by the upstream delivery party, and the steel asset consignee only needs to provide the public key delivery address. After the transaction is initiated and executed, the ownership registration information of the original asset is destroyed and new ownership registration information is generated; at the same time, the steel asset transaction is only associated with the public key in the smart contract of the steel asset registration center, and the user's real name is not recorded, so as to realize privacy protection on the chain.

[0025] As an optional implementation of the present application, the steel asset processing center smart contract module is also used to implement the processing logic of steel assets in the smart contract, wherein the initial parameters of the processing logic are controlled by the archival information of the steel product processing; after the steel asset processing process is executed, the invested steel assets are destroyed and new steel assets are generated.

[0026] As an optional implementation of the present application, the data of the user operation interface module is stored in a centralized database. The module is connected to the blockchain via an API to write and query steel asset registration and transaction information on the blockchain.

[0027] A second aspect: A steel anti-counterfeiting traceability method based on blockchain, applied to a steel anti-counterfeiting traceability system based on blockchain described in the first aspect, the blockchain is a consortium chain, and the method comprises:

[0028] Deploy nodes in core steel mills and downstream manufacturers to host and run smart contracts;

[0029] Conduct real-name authentication and apply for public and private keys for users of each node;

[0030] Register the certified steel assets and processing procedures; the steel assets include raw steel, steel products and steel product processing;

[0031] Raw steel asset registration;

[0032] Raw steel asset transactions, recording the transfer of the raw steel assets, recording the transfer of steel asset ownership in the form of transactions, and subsequently generating property registration information;

[0033] Steel asset processing, processing the raw steel assets into new steel products, destroying the input steel assets and generating new steel assets;

[0034] Steel product asset transactions, recording the transfer of the steel product assets, recording the transfer of steel asset ownership in the form of transactions, and subsequently generating property registration information;

[0035] A steel asset quality guarantee is generated based on the property registration information for users to conduct anti-counterfeiting and traceability inquiries.

[0036] As an optional implementation of the present application, the smart contracts on the alliance chain include a steel asset certification center smart contract, a steel asset registration center smart contract and a steel asset processing center smart contract. Through each smart contract, the credibility of steel asset circulation is realized in the steel ecosystem, thereby realizing steel anti-counterfeiting traceability.

[0037] As an optional implementation of the present application, the steel asset processing and the steel asset transaction can be circulated multiple times and repeatedly executed in the steel industry ecosystem.

[0038] As an optional implementation of the present application, when steel assets are processed, steel asset registration information for change is also generated for the processing manufacturer.

[0039] The above technical solution has the following advantages: the blockchain-based steel anti-counterfeiting and traceability system and method proposed in the present invention adopts alliance chain technology to create a digital identity for certified steel assets, record the processing and property transfer process of steel assets throughout the process, and realize the industrial chain circulation business of steel assets in smart contracts. Combined with centralized real-name authentication information, it realizes the full digital process and full digital view of steel asset circulation, and can transmit and transfer steel quality certificates to downstream manufacturers in the industrial chain in digital form, and can be traced back; at the same time, the steel quality certificate can be infinitely subdivided and any product form can be loaded to achieve true tracking. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of the structure of a steel anti-counterfeiting and traceability system based on blockchain provided by an embodiment of the present invention;

[0041] Figure 2 A flowchart of a steel anti-counterfeiting and traceability method based on blockchain provided by an embodiment of the present invention;

[0042] Figure 3 This is a schematic diagram of the steel asset transaction principle in an embodiment of the present invention;

[0043] Figure 4 It is a schematic diagram of the steel asset processing principle in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments described herein are only used for illustration and are not intended to limit the present invention. In the following description, in order to provide a thorough understanding of the present invention, a large number of specific details are set forth. However, it is obvious to those of ordinary skill in the art that these specific details do not need to be adopted to implement the present invention.

[0045] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.

[0046] The inventive concept of the present invention is: taking "steel assets" as the core on the blockchain, creating a digital identity for raw steel and steel products, fully describing the digital information of the "steel assets", and recording the entire process of the property transfer and processing of the "steel assets". Based on the digital address of the "steel asset" owner and the property transfer transaction, digital circulation is realized, and based on the weight of the "steel assets" and the processing weight ratio, a digital quality guarantee of steel that is "infinitely subdividable and convertible" is realized.

[0047] Based on the above invention concept, and with reference to Figure 1 As shown, an embodiment of the present invention provides a steel anti-counterfeiting traceability system based on blockchain, which is applied to the alliance chain. The system includes:

[0048] The alliance chain module is used to deploy nodes in core steel mills and downstream manufacturers and to host and run smart contracts.

[0049] Specifically, alliance nodes are deployed between the core steel mills and downstream manufacturers. Certified enterprises and organizations can join the alliance as nodes and participate in blockchain transaction accounting. Each enterprise node uses the public and private keys obtained through CA node application for identity authentication.

[0050] And, smart contracts are carried and run on the chain, and the business logic and data of steel anti-counterfeiting traceability are implemented in the smart contracts; wherein the smart contracts include the steel asset authentication center smart contract, the steel asset processing center smart contract and the steel asset registration center smart contract;

[0051] The operation of smart contracts on the blockchain requires a digital signature from the address initiating the transaction, while the operation of smart contracts on the consortium chain realizes the digital signature of the transaction initiator.

[0052] The user authentication management module is used to perform real-name authentication on users; wherein the users include core steel mills and downstream manufacturers.

[0053] Specifically, user authentication information includes: serial number, enterprise name, enterprise code, other enterprise information, enterprise public key, enterprise private key, and authentication time.

[0054] A user operation interface module is used to provide a management interface for the upstream core steel mills and downstream manufacturers; wherein the management interface is associated with a steel asset authentication center smart contract module, a steel asset processing center smart contract module, a steel asset registration center smart contract module and a steel asset quality guarantee query module;

[0055] Specifically, the data of the user operation interface module is stored in a centralized database. The module is connected to the blockchain through an API to write and query steel asset registration and transaction information on the blockchain.

[0056] The steel asset authentication center smart contract module is used to maintain the authenticated archival information of steel assets; wherein the steel assets include raw steel, steel products and steel product processing;

[0057] Specifically, various steel asset categories and processing categories in the steel anti-counterfeiting traceability ecosystem are authenticated and recorded; the records are archive information, and the archive information includes corresponding raw steel archive information, steel product archive information and steel product processing archive information;

[0058] The steel asset class is used to record the certified raw steel and steel product information;

[0059] The Steel Processing category is used to record information about certified steel processing operations.

[0060] Furthermore, the raw steel file information includes a public key, a code, a specification name, an element composition, and a raw steel file character string;

[0061] The steel product archive information includes a public key, a product code, a product name, a single product weight, a yield rate, and a product archive character string;

[0062] The steel product processing file information includes a public key, a steel product file string, a processing name, a processing code, an input material array, an output quantity, and a processing file string; wherein the input material array information is [array serial number, raw steel file string / steel product file string, quantity].

[0063] The steel asset processing center smart contract module is used to record the processing information of the steel assets.

[0064] Specifically, the processing logic of steel assets is implemented in the smart contract, that is, a certain amount of a certain steel asset is invested to generate a certain amount of a new steel asset; wherein the initial parameters of the processing logic are controlled by the steel product processing archive information; after the steel asset processing process is executed, the invested steel assets are destroyed and new steel assets are generated;

[0065] Steel asset processing information includes public key, processing file string, input material array, output quantity, date and time, and steel asset processing string. The input material array is [array serial number, original steel file string / product file string, quantity], where the quantity is input data and the original steel file string / product file string comes from the steel product processing file information. The output quantity is automatically generated based on the steel product processing file information.

[0066] The smart contract module of the steel asset registration center is used to record the transfer of ownership of the steel assets due to processing and trading, thereby realizing the ownership registration of the steel assets.

[0067] Specifically, the registration of the raw steel is entered into the management interface; the registration of the steel products can only be automatically generated by transactions and processing to register the ownership; wherein, the steel asset transaction is initiated by the upstream delivery party, and the steel asset consignee only needs to provide the public key delivery address. After the transaction is initiated and executed, the ownership registration information of the original asset is destroyed and new ownership registration information is generated; at the same time, the steel asset transaction is only associated with the public key in the smart contract of the steel asset registration center, and the user's real name is not recorded, so as to realize privacy protection on the chain.

[0068] Furthermore, the raw steel asset registration information includes a public key, furnace number, batch number, quantity, chemical composition information, metallographic structure information, and a raw steel archive character string.

[0069] The steel asset registration information includes the public key, product profile string, processing batch string, quantity, registration date, transaction string / processing string, steel asset string, whether to destroy, and destruction date.

[0070] The transaction information includes: source public key, destination public key, input steel asset array, output quantity, date, and transaction string; wherein the input steel asset array is: [input steel asset string, quantity, change quantity].

[0071] The steel asset quality guarantee query module is used to generate a digital quality guarantee in a fixed format according to the ownership registration information of the steel asset for users to conduct anti-counterfeiting and traceability.

[0072] Specifically, a digital quality assurance certificate is generated in a fixed format based on the steel asset registration information (including public key, product file string, processing batch string, quantity, registration date, transaction string / processing string, whether to destroy, destruction date, and steel asset string).

[0073] In the solution, the "Alliance Chain" module carries and runs the "Steel Asset Certification Center" smart contract module, the "Steel Asset Registration Center" smart contract module, and the "Steel Asset Processing Center" smart contract module; by reaching a consensus on steel anti-counterfeiting traceability between core steel mills and downstream manufacturers, the consistency of program logic and data is achieved and guaranteed, and through the consistency of programs and data, the credibility of steel asset circulation, processing, and quality assurance certificates is achieved in the ecosystem.

[0074] Preferably, the "alliance chain" module can adopt the Quorum blockchain based on the POA consensus algorithm to meet the needs of deploying a large number of nodes.

[0075] Preferably, the "Steel Asset Certification Center" smart contract module, the "Steel Asset Registration Center" smart contract module, and the "Steel Asset Processing Center" smart contract module are developed using the Solidity scripting language and deployed on the blockchain.

[0076] Preferably, the "user authentication management" module, the "steel asset" quality guarantee query module, and the "user operation interface" module are centralized systems that can be developed in Java, based on the Mysql database, and integrated with the blockchain communication through an API interface;

[0077] Furthermore, the following functions can be realized through the user operation interface module:

[0078] Certified archive information maintenance function for “raw steel”, “steel products” and “steel product processing”;

[0079] The core steel mill’s raw steel asset registration function;

[0080] Steel asset trading function;

[0081] Steel asset processing capabilities;

[0082] Comprehensive query function for steel assets;

[0083] Steel warranty query and printing function.

[0084] The above technical solution adopts alliance chain technology to create a digital identity for certified steel assets, record the property transfer and processing process of steel assets throughout the process, realize the industrial chain circulation business of steel assets in smart contracts, and combine centralized real-name authentication information to realize the full digital process and full digital view of steel asset circulation. It can transmit and transfer steel quality assurance certificates to downstream manufacturers in the industrial chain in digital form and trace the source. At the same time, the steel quality assurance certificate can be infinitely subdivided and loaded in any product form to achieve true tracking.

[0085] Reference Figure 2 As shown, an embodiment of the present invention further provides a steel anti-counterfeiting traceability method based on blockchain, which is applied to a steel anti-counterfeiting traceability system based on blockchain described in the first aspect, and the blockchain is a consortium chain, and the method includes:

[0086] S101 deploys nodes in core steel mills and downstream manufacturers and carries and runs smart contracts, that is, alliance chain node deployment and smart contract deployment.

[0087] Specifically, the smart contracts on the alliance chain include the steel asset certification center smart contract, the steel asset registration center smart contract and the steel asset processing center smart contract. Through each smart contract, the credibility of steel asset circulation is guaranteed in the steel ecosystem, thereby realizing steel anti-counterfeiting traceability.

[0088] S102, real-name registration authentication and public and private key application are performed for users of each node, that is, public and private key application and real-name authentication registration are performed for enterprise users.

[0089] Specifically, enterprise users can apply for public and private keys through the public and private key management function in the management interface, or through third-party plug-ins such as Metamask;

[0090] Real-name registration requires submitting real-name information to the core node or centralized system operator through the user authentication management module and obtaining approval. The public and private keys are associated with the real name in the user authentication management module.

[0091] S103, registering the certified steel assets and processing procedure files; wherein the steel assets include raw steel, steel products and steel product processing.

[0092] Specifically, enterprise users enter steel asset information and processing process file information through the management interface provided by the user operation interface module. The user operation interface module writes the information into the steel asset certification center smart contract module through the API.

[0093] The steel asset categories include "raw steel" and "steel products", which are used to record certified raw steel and steel product information; the steel processing category is used to record certified steel processing operation information.

[0094] The raw steel archive information includes the public key, code, specification name, element composition, and raw steel archive character string.

[0095] Steel product information includes public key, product code, product name, unit weight, yield rate, and steel product archive string.

[0096] The steel product processing file information includes the public key, steel product file string, processing name, processing code, input material array, output quantity, and processing file string, where the input material array information is [array serial number, original steel file string / steel product file string, quantity].

[0097] S104, raw steel asset registration.

[0098] Specifically, the core steel mills enter and register raw steel asset information through the "user operation interface". The "user operation interface" is written into the smart contract module of the steel asset registration center through the API.

[0099] Preferably, the ERP system of the core steel mill automatically writes into the "user operation interface" to register the raw steel asset information through the API interface.

[0100] The raw steel asset registration information includes the public key, furnace number, batch number, chemical composition information, metallographic structure information, and raw steel archive string.

[0101] S105, raw steel asset transaction, records the transfer of the raw steel assets, records the transfer of steel asset ownership in the form of transactions, and generates property registration information accordingly.

[0102] Specifically, the core steel mills initiate transactions through the "user operation interface" to transfer and deliver raw steel assets to downstream enterprises. The "user operation interface" is written into the smart contract module of the steel asset registration center through the API.

[0103] Preferably, the ERP system of the core steel mill automatically writes into the "user operation interface" to register the raw steel asset information through the API interface.

[0104] The original steel asset transaction information includes: source public key, destination public key, input steel asset array, output quantity, date, and transaction string. Among them, the input steel asset array is: [input steel asset string, quantity, change quantity].

[0105] S106, steel asset processing, processing the original steel assets into new steel products, destroying the invested steel assets, and generating new steel assets.

[0106] Specifically, steel product enterprise users initiate processing through the "user operation interface" to process raw steel assets and steel assets into new steel products. The "user operation interface" is written into the steel asset processing center smart contract module and the steel asset registration center smart contract module through the API.

[0107] After the steel asset processing process is executed, the invested steel assets are destroyed and new steel assets are generated. The destruction and generation of steel assets are completed by driving the smart contract module of the steel asset registration center.

[0108] Steel asset processing information includes public key, processing file string, input material array, output quantity, date and time, and steel asset processing string. The input material array is [array serial number, original steel file string / product file string, quantity], where the quantity is input data and the original steel file string / product file string comes from the steel product processing file information. The output quantity is automatically generated based on the steel product processing file information.

[0109] S107, steel product asset transaction, records the transfer of the steel product assets, records the transfer of steel asset ownership in the form of transactions, and generates property registration information accordingly.

[0110] Specifically, it is the same as the aforementioned S105 Zhongyuan Steel asset transaction. Steel product enterprises initiate transactions through the "User Operation Interface" to transfer and deliver steel assets to downstream enterprises. The "User Operation Interface" is written into the "Steel Asset Registration Center" smart contract module through the API.

[0111] Steel product asset transaction information includes: source public key, destination public key, input steel product asset array, output quantity, date, and transaction string. Among them, the input steel asset array is: [input steel asset string, quantity, change quantity].

[0112] Furthermore, the steel asset processing in S106-S107 and the steel asset transaction can be circulated multiple times and repeatedly executed in the steel industry ecosystem.

[0113] S108, generating a steel asset quality guarantee certificate based on the property registration information for users to conduct anti-counterfeiting and traceability inquiries; that is, realizing steel asset inquiries and digital quality guarantee certificate inquiries.

[0114] Specifically, steel product companies and end users can initiate inquiries through the "User Operation Interface" to verify whether the steel assets have been received, whether the steel asset furnace number and quality are correct, and print a warranty certificate.

[0115] It should be noted that, for further textual explanation of the above steps, reference can be made to the description in the previous system embodiment, which will not be repeated here.

[0116] Further, for a better understanding of the present invention, Figure 3 As shown in the figure, combined with the embodiment, the principle of steel asset transaction in the steel anti-counterfeiting traceability system based on blockchain is explained:

[0117] Core steel mills and steel product companies initiate transactions by entering data through the "user operation interface" and transfer steel assets to downstream companies.

[0118] The raw steel assets at the source of the industrial chain come from the raw steel asset registration. Only users set as core steel mills in the system can perform raw steel asset registration. The raw steel asset registration information is: public key, furnace number, batch number, chemical composition information, metallographic structure information, raw steel archive string, and steel asset string.

[0119] Steel asset transaction information includes: source public key, destination public key, steel asset string, quantity, date, and transaction string.

[0120] When the steel asset transaction is generated, the steel asset registration information used by the delivery party is destroyed (i.e., the initiator's steel assets are destroyed), and new steel asset registration information is generated for the recipient (i.e., the recipient's steel assets are generated). Considering that the number of steel assets used for delivery is greater than the steel assets that need to be delivered, it may also be necessary to generate steel asset registration information for change for the delivery party (i.e., generate change for the initiator's steel assets).

[0121] For example, Steel Plant A wants to deliver 50 tons of special steel with specification XYZ to Bearing Plant B. Steel Plant A has a 100-ton special steel with specification XYZ and furnace number 123 in the "Steel Asset Registration Center" smart contract module. Steel Plant A can initiate a transaction to Bearing Plant B. The order of executing the transaction is:

[0122] Submit a transaction of 50 tons of special steel with specification XYZ to the "Steel Asset Registration Center" smart contract module to Bearing Factory B;

[0123] Destroy the special steel asset of 100 tons with specification XYZ and furnace number 123 owned by Steel Plant A in the "Steel Asset Registration Center" smart contract module;

[0124] In the "Steel Asset Registration Center" smart contract module, a 50-ton special steel asset with specification XYZ and furnace number 123 is generated for Steel Plant A as change;

[0125] In the "Steel Asset Registration Center" smart contract module, a 50-ton special steel asset with specification XYZ and furnace number 123 is generated for Bearing Factory B;

[0126] Write a transaction of 50 tons of special steel with specification XYZ to Bearing Factory B in the smart contract module of "Steel Asset Registration Center";

[0127] For ease of operation, the "User Operation Interface" provides flexible query methods based on specifications, product codes, furnace numbers, and steel asset strings to quickly complete transactions.

[0128] Correspondingly, such as Figure 4 As shown in the figure, combined with the embodiment, the principle of steel asset processing in the steel anti-counterfeiting traceability system based on blockchain is explained:

[0129] Steel asset processing information includes public key, processing file string, input material array, output quantity, date and time, and steel asset processing string. The input material array is [array serial number, raw steel file string / steel product file string, quantity], where the quantity is input data and the raw steel file string / product file string comes from the steel product processing file information. The output quantity is automatically generated based on the steel product processing file information.

[0130] When steel assets are processed and generated, the steel asset registration information used as input for processing is destroyed (i.e., input steel assets are destroyed), and new output steel asset registration information is generated (i.e., processing result steel assets are generated). Considering that the number of steel assets used for processing is greater than the number of steel assets that need to be processed, it may also be necessary to generate steel asset registration information for change for the processing manufacturer (i.e., generate input steel asset change).

[0131] For example, according to the example given above, Bearing Factory B wants to produce 49 tons of UVW bearings, a total of 49,000 pieces. According to the process file registration information, the processing requires special steel with specification XYZ and a yield rate of 98%, so 50 tons are needed. Bearing Factory B has a 50-ton special steel with specification XYZ and furnace number 123 in the "Steel Asset Registration Center" smart contract module, and Bearing Factory B can initiate a processing. The order of executing the processing business is:

[0132] Submit a production order of 49 tons of UVW bearings, totaling 49,000 pieces, to the "Steel Asset Processing Center" smart contract module. The input raw material for this processing is a 50-ton special steel with a specification of XYZ and a furnace number of 123 owned by Bearing Factory B in the "Steel Asset Registration Center" smart contract module;

[0133] Destroy a 50-ton special steel asset with specification XYZ and furnace number 123 owned by Bearing Factory B in the "Steel Asset Registration Center" smart contract module;

[0134] In the "Steel Asset Registration Center" smart contract module, a 1-ton special steel asset with specification XYZ and furnace number 123 is generated for Bearing Factory B as change;

[0135] In the "Steel Asset Registration Center" smart contract module, a 49-ton special bearing steel asset with specification UVW and furnace number 123 is generated for Bearing Factory B, totaling 49,000 pieces;

[0136] Write a production of 49 tons of UVW bearings in the "Steel Asset Processing Center" smart contract module, a total of 49,000 pieces of processing to the "Steel Asset Processing Center" smart contract module. The input raw material for this processing is a 50-ton special steel with a specification of XYZ and a furnace number of 123 owned by B Bearing Factory in the "Steel Asset Registration Center" smart contract module;

[0137] For ease of operation, the "User Operation Interface" provides flexible query methods based on specifications, product codes, furnace numbers, and steel asset strings to quickly complete transactions.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A steel anti-counterfeiting traceability system based on blockchain, It is characterized in that Applied to the alliance chain, the system includes: The alliance chain module is used to deploy nodes in core steel mills and downstream manufacturers and to carry and run smart contracts; A user authentication management module is used to perform real-name authentication on users; wherein the users include core steel mills and downstream manufacturers; A user operation interface module is used to provide a management interface for the core steel mills and downstream manufacturers; wherein the management interface is associated with a steel asset authentication center smart contract module, a steel asset processing center smart contract module, a steel asset registration center smart contract module and a steel asset quality guarantee query module; The steel asset authentication center smart contract module is used to maintain the authenticated archival information of steel assets; wherein the steel assets include raw steel, steel products and steel product processing; A smart contract module for the steel asset processing center, used to record the processing information of the steel assets; The smart contract module of the steel asset registration center is used to record the transfer of ownership of the steel assets due to processing and trading, thereby realizing the ownership registration of the steel assets; The steel asset quality guarantee query module is used to generate a digital quality guarantee in a fixed format according to the ownership registration information of the steel asset, so as to provide users with anti-counterfeiting and traceability; The alliance chain is specifically used for: Alliance nodes are deployed between the core steel mills and downstream manufacturers. Certified enterprises and organizations can join the alliance as nodes and participate in the transaction accounting of the blockchain. Each enterprise node uses the public and private keys obtained through CA node application for identity authentication; And, smart contracts are carried and run on the chain, and the business logic and data of steel anti-counterfeiting traceability are implemented in the smart contracts; wherein the smart contracts include the steel asset authentication center smart contract, the steel asset processing center smart contract and the steel asset registration center smart contract; The operation of smart contracts on blockchain requires a digital signature from the address initiating the transaction, while the operation of smart contracts on the consortium chain implements the digital signature of the transaction initiator. The raw steel file information includes a public key, a code, a specification name, an element composition, and a raw steel file character string; The steel product archive information includes a public key, a product code, a product name, a single product weight, a yield rate, and a product archive character string; The steel product processing file information includes a public key, a steel product file string, a processing name, a processing code, an input material array, an output quantity, and a processing file string; The steel asset processing center smart contract module is also used to implement the processing logic of steel assets in the smart contract, wherein the initial parameters of the processing logic are controlled by the archival information of the steel product processing; after the steel asset processing process is executed, the input steel assets are destroyed and new steel assets are generated; when the steel assets are processed, the steel asset registration information for change is also generated for the processing manufacturer; The smart contract module of the steel asset certification center is specifically used for: Authentication and recording of various steel asset categories and processing categories in the steel anti-counterfeiting traceability ecosystem; The steel asset class is used to record the certified raw steel and steel product information; The steel processing category is used to record the certified steel processing operation information; The registration of the raw steel is entered through the management interface; the registration of the steel products can only be automatically generated by trading and processing; the steel asset transaction is initiated by the upstream delivery party, and the steel asset consignee only needs to provide the public key delivery address. After the transaction is initiated, the original asset ownership registration information is destroyed and new ownership registration information is generated; at the same time, the steel asset transaction is only associated with the public key in the smart contract of the steel asset registration center, and the user's real name is not recorded, so as to realize privacy protection on the chain; By reaching a consensus on steel anti-counterfeiting traceability between core steel mills and downstream manufacturers, we can achieve and ensure the consistency of program logic and data. Through the consistency of programs and data, we can achieve the credibility of steel asset circulation, processing, and warranty certificates in the ecosystem.

2. According to the blockchain-based steel anti-counterfeiting traceability system of claim 1, It is characterized in that The data of the user operation interface module is stored in a centralized database. The module is connected to the blockchain through an API to write and query steel asset registration and transaction information on the blockchain.

3. A steel anti-counterfeiting traceability method based on blockchain, It is characterized in that The steel anti-counterfeiting traceability system based on blockchain as described in claim 1, wherein the blockchain is a consortium chain, and the method comprises: Deploy nodes in core steel mills and downstream manufacturers to host and run smart contracts; Conduct real-name authentication and apply for public and private keys for users of each node; Register the certified steel assets and processing procedures; the steel assets include raw steel, steel products and steel product processing; Raw steel asset registration; Raw steel asset transactions, recording the transfer of the raw steel assets, recording the transfer of steel asset ownership in the form of transactions, and subsequently generating property registration information; Steel asset processing, processing the raw steel assets into new steel products, destroying the input steel assets and generating new steel assets; during the steel asset processing, steel asset registration information for change is also generated for the processing manufacturer; Steel product asset transactions, recording the transfer of the steel product assets, recording the transfer of steel asset ownership in the form of transactions, and subsequently generating property registration information; Generate a steel asset quality guarantee based on the property registration information for users to conduct anti-counterfeiting and traceability inquiries; The smart contracts on the alliance chain include the steel asset certification center smart contract, the steel asset registration center smart contract and the steel asset processing center smart contract. Through each smart contract, the credibility of the steel asset circulation is realized in the steel ecosystem, thereby realizing steel anti-counterfeiting traceability; the steel asset processing and the steel asset transaction can be circulated multiple times in the steel industry ecosystem and repeatedly executed.