CN115760382A - Block chain-based product information management method, device, system and platform - Google Patents

Block chain-based product information management method, device, system and platform Download PDF

Info

Publication number
CN115760382A
CN115760382A CN202210929783.6A CN202210929783A CN115760382A CN 115760382 A CN115760382 A CN 115760382A CN 202210929783 A CN202210929783 A CN 202210929783A CN 115760382 A CN115760382 A CN 115760382A
Authority
CN
China
Prior art keywords
information
product
block
block chain
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210929783.6A
Other languages
Chinese (zh)
Inventor
艾意其
曾少航
党成斌
王博
封鹏
孙煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Industrial Edge Intelligent Innovation Center Co ltd
Original Assignee
Guangdong Industrial Edge Intelligent Innovation Center Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Industrial Edge Intelligent Innovation Center Co ltd filed Critical Guangdong Industrial Edge Intelligent Innovation Center Co ltd
Priority to CN202210929783.6A priority Critical patent/CN115760382A/en
Publication of CN115760382A publication Critical patent/CN115760382A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method, a device, a system and a platform for managing product information based on a block chain, wherein the method comprises the following steps: when a new block is generated in the block chain, reading the block information of the latest block on the block chain; extracting transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product; when the authority of the target user meets the preset condition, the decryption key of the fragmentation information of the authority corresponding to the target product is sent to the target user, so that the target user decrypts the fragmentation information by adopting the decryption key to obtain the decrypted fragmentation information; the fragment information includes part of product information of the target product. The product information management method, the device, the system and the platform based on the block chain can utilize the property that the block chain can not be tampered to be matched with encryption processing, and the product information is interconnected and communicated on the premise of safety.

Description

Block chain-based product information management method, device, system and platform
Technical Field
The invention relates to the technical field of block chains, in particular to a product information management method, a device, a system and a platform based on block chains
Background
At present, the problem of information isolated island exists in the management of a supply chain in the manufacturing industry, and the situations of information transmission delay and inaccurate information transmission are increased along with the increasing enlargement of the scale of the supply chain and the increasing complexity of the structure; some suppliers are reluctant to expose all products and to share information with others based on business privacy, privacy protection and information security considerations. The resolution capability of users to information is insufficient, especially in the process of designing and manufacturing links, the parameter models of products are not updated timely, the respective real-time product information is stored in respective independent systems, and the technical architectures, communication protocols, data storage formats and the like of the systems are different, so that the efficiency of interconnection and intercommunication is seriously influenced, and all information of parts in the manufacturing links is difficult to obtain in real time. In order to change the situation, each link of the supply chain needs to be capable of quickly and efficiently acquiring the real-time information of the product, but if the real-time information of the product is disclosed, the safety of the product information is difficult to guarantee.
Disclosure of Invention
The product information management method, the device, the system and the platform based on the block chain can utilize the property that the block chain can not be tampered to be matched with encryption processing, and the product information is interconnected and communicated on the premise of safety.
In a first aspect, the present invention provides a method for managing product information based on a blockchain, where the method is executed on an intelligent contract of a blockchain platform, and includes:
when a new block is generated in the block chain, reading the block information of the latest block on the block chain;
extracting transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
when the authority of the target user meets the preset condition, the decryption key of the fragmentation information of the authority corresponding to the target product is sent to the target user, so that the target user decrypts the fragmentation information by adopting the decryption key to obtain the decrypted fragmentation information; the fragment information includes part of product information of the target product.
Optionally, the determining the target user's rights based on the target product includes:
judging whether the block information contains order information of the target user for the target product, and determining that the authority of the target user meets a preset condition when the block information contains the order information; alternatively, the first and second electrodes may be,
and judging whether the block information contains bid-winning information of the target user aiming at the target product, and determining that the authority of the target user meets a preset condition when the block information contains the bid-winning information.
In a second aspect, the present invention provides a method for managing product information based on a blockchain, executed on a blockchain platform, including:
fragmenting the product information to form at least one first fragment information and at least one second fragment information;
distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage; the first fragment information is stored in a public mode, and the second fragment information is stored in a secret mode;
executing the intelligent contract in response to a request by the user, wherein the intelligent contract is capable of performing the method of any of the above.
Optionally, after the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage, the method further includes:
recording the stored procedure into a blockchain;
recording a storage procedure into a blockchain, comprising:
the storage location, hash value and/or storage cost of each first slice information and each second slice information is recorded into the blockchain.
Optionally, after the step of fragmenting the product information to form at least one first fragmentation information and at least one second fragmentation information, the method further includes:
and giving corresponding identification codes to the product information, and respectively establishing a mapping relation between the identification codes and the first fragment information and a mapping relation between the identification codes and the second fragment information.
Optionally, the product information includes product information corresponding to a product that the user needs to sell, or product information corresponding to a product that the user needs to customize.
Optionally, the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage includes:
and distributing each first slicing information and each second slicing information to at least two block chain storage nodes for storage.
In a third aspect, the present invention provides a product information management apparatus based on a blockchain, which is applied to an intelligent contract of a blockchain platform, and includes:
the reading module is used for reading the block information of the latest block on the block chain when a new block is generated by the block chain;
the extraction module is used for extracting the transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
the sending module is used for sending the decryption key of the fragmentation information of the authority corresponding to the target product to the target user when the authority of the target user meets the preset condition, so that the target user obtains the decrypted fragmentation information after decrypting the fragmentation information by adopting the decryption key; the fragment information contains part of product information of the target product.
In a fourth aspect, the present invention provides a product information management system based on a blockchain, which is applied to a blockchain platform, and includes:
the slicing module is used for slicing the product information to form at least one first slicing message and at least one second slicing message;
the distribution module is used for distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage and recording the storage process into a block chain; the first slicing information is stored in a public mode, and the second slicing information is stored in a secret mode;
an execution module for executing an intelligent contract in response to a request from a user, wherein the intelligent contract comprises an apparatus as described above.
In a fifth aspect, the present invention provides a blockchain platform, comprising:
a memory for storing executable instructions;
and the processor is used for executing the executable instructions stored in the memory to realize the product information management method based on the block chain.
In the technical scheme provided by the invention, the characteristics of distributed storage, encryption transmission, non-falsification and the like of a block chain technology are utilized, and a block chain is used as a bottom layer technology for realizing trusted data exchange among entities. By establishing the industrial alliance block chain between enterprises on the upstream and downstream of the industrial chain, product data of the enterprises can be stored on the block chain in a controllable and credible mode, and is opened to other enterprises on the chain in an access controllable mode, so that the cost and trust problem of information sharing between the enterprises are greatly reduced, and information isolated islands between the enterprises are opened. Meanwhile, the safety of the product information in the transmission process is completed through mutual trust of the block chains, all data and information are recorded on the block chains, distributed storage of the block chains is utilized, data cannot be tampered, and potential safety hazards are solved. Based on the advantages, the technical scheme provided by the invention can support the cooperative relationship among a plurality of links involved in the industrial production and manufacturing stage, reduce the problems and friction in the cooperative process and improve the efficiency of cooperation and design. By means of the block chain technology, ownership of analysis data and models on an industrial internet platform can be guaranteed, random use and sharing of the analysis data and the models are avoided, the analysis data and the models can be shared among cross-platforms through the block chain, and work efficiency is improved.
Drawings
Fig. 1 is a flowchart of a block chain-based product information management method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for managing product information based on block chains according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a block chain-based product information management apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a product information management system based on a block chain according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for managing product information based on a block chain, where the method is implemented in an intelligent contract of a block chain platform, as shown in fig. 1, and includes:
step 110, reading the block information of the latest block in the block chain when a new block is generated in the block chain;
in some embodiments, the block information of each block includes a block header and a block body. The chunk header includes three sets of metadata (1) for linking previous chunks, data indexed from the parent chunk hash value. (2) Difficulty of block out, nonce (random number, counter for workload attestation algorithm), timestamp; (3) The Merkle root data of all transaction data in the check block can be summarized and quickly summarized. The block contains transaction data including records of additions, deletions, modifications or queries to product information and product status. For example, the ordering of the product by the product demand side can be regarded as the modification of the product state, and for example, the winning bid information of the product by the product supplier can also be regarded as the modification of the product state.
Step 120, extracting the transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
in some embodiments, extracting transaction information refers to extracting product information or a record of change in product status from the tile body. Because the change record of the product information or the product state is recorded in a mode of 'the target user performs the predetermined operation on the target product', the transaction information can provide the target user and the target product corresponding to the transaction, and meanwhile, the predetermined operation can represent the permission change of the target user on the target product. For example, when a product demander orders a product, it can indicate that the authority of the product demander changes, and the product demander acquires the authority of the product on a three-dimensional model or detailed parameters. For another example, when the product supplier successfully wins the bid, it can indicate that the authority of the product supplier has changed, and at this time, the product supplier can obtain the detailed three-dimensional model or the detailed parameters of the demand side.
Step 130, when the authority of the target user meets the preset condition, sending the decryption key of the fragment information of the authority corresponding to the target product to the target user, so that the target user obtains the decrypted fragment information after decrypting the fragment information by using the decryption key; the fragment information includes part of product information of the target product.
In some embodiments, during the process of storing data by a data holder, the data is fragmented to form a plurality of data fragments, and each fragment is copied to a plurality of copies and then sent to a plurality of blockchain storage nodes for storage. It should be noted that each blockchain storage node does not own all data fragments to ensure the security of data. In order to present product information to a data user, part of the data needs to be disclosed in a fragmented manner, and in order to ensure the confidentiality of the data, part of the data needs to be encrypted. For the disclosed data slice, any one block link point can acquire the data slice. For encrypted data fragments, only the block chain nodes with the authority meeting the preset condition can be decrypted. Therefore, when the authority of the target user is confirmed to meet the preset condition, the decryption key of the fragment information of the authority corresponding to the target product is sent to the target user, so that the target user can decrypt the corresponding data fragment conveniently. For multiple data slices, the multiple data slices may be encrypted with different keys. The target user can have various rights, and different rights are matched with conditions through different transaction contents.
In the technical scheme provided by the embodiment of the invention, the characteristics of distributed storage, encryption transmission, non-falsification and the like of a block chain technology are utilized, and a block chain is used as a bottom layer technology for realizing trusted data exchange among entities. By establishing the industrial alliance block chain between enterprises on the upstream and downstream of the industrial chain, the product data of the enterprises can be stored on the block chain in a controllable and credible mode, and is opened to other enterprises on the chain in an access controllable mode, so that the cost and the trust problem of information sharing between the enterprises are greatly reduced, and information islands among the enterprises are communicated. Meanwhile, the safety of the product information in the transmission process is completed through mutual trust of the block chains, all data and information are recorded on the block chains, distributed storage of the block chains is utilized, data cannot be tampered, and potential safety hazards are solved. Based on the advantages, the technical scheme provided by the invention can support the cooperative relationship among a plurality of links involved in the industrial production and manufacturing stage, reduce the problems and friction in the cooperative process and improve the efficiency of cooperation and design. By means of the block chain technology, ownership of analysis data and models on an industrial internet platform can be guaranteed, random use and sharing of the analysis data and the models are avoided, the analysis data and the models can be shared among cross-platforms through the block chain, and work efficiency is improved.
As an optional implementation manner, in step 120, the determining that the target user has the right based on the target product includes:
judging whether the block information contains order information of the target user for the target product, and determining that the authority of the target user meets a preset condition when the block information contains the order information;
in some embodiments, if the data holder is a product supplier, for example, the product data may be fragmented, data such as product parameters and price in the product information may be disclosed, and a three-dimensional model of the product may be used as secret information. When the target user determines an order for the target product, the order information is sent to the blockchain forming block for recording. When the record with the order in the latest block is read, the authority of the initiator of the transaction is determined, and the corresponding key is sent, so that the target user can obtain data such as a three-dimensional model.
Alternatively, the first and second electrodes may be,
and judging whether the block information contains bid-winning information of the target user aiming at the target product, and determining that the authority of the target user meets a preset condition when the block information contains the bid-winning information.
In some embodiments, if the data holder is the product demanding party, for example, the demanded product data may be fragmented, data such as product processing technology demand, length, width, height parameters, and performance parameters in the product information may be published, and a three-dimensional model and a drawing of the product may be used as secret information. When the target user carries out the bid-winning on the target product, the bid-winning information is sent to the block chain forming block for recording. When the record with the bid-winning information in the latest block is read, the authority of the initiator of the transaction is determined, and the corresponding key is sent, so that the target user can obtain data such as a three-dimensional model, a drawing and the like.
An embodiment of the present invention further provides a method for managing product information based on a block chain, which is executed on a block chain platform, as shown in fig. 2, and includes:
step 210, fragmenting the product information to form at least one first fragmentation information and at least one second fragmentation information;
in some embodiments, the product information is fragmented, the storage system divides the product data information into small fragments, different information is stored in different fragments, for example, parameters such as price, length, width, and performance of the product are stored in one group of fragments, and other data such as a three-dimensional model is stored in another group of fragments.
Step 220, distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage; the first slicing information is stored in a public mode, and the second slicing information is stored in a secret mode;
in some embodiments, each shard may be encrypted, with the goal of ensuring that anyone other than the content owner cannot view/access the data in the shard, regardless of where the data is located, whether the data is static or dynamic. In this process, it is possible to select which shards the other users can view/access the data in, and to select which shards no one can view/access the data in. A Hash (Hash) is generated for each slice. The blockchain storage system generates a unique hash, i.e., a fixed-length encrypted output string, from the fragmented data or encryption key. The hash will be added to the ledger and shard metadata to link the transaction to the stored shard. The exact method of generating the hash varies from system to system. The data which the product needs to disclose can be stored in a plaintext form, and can also be stored in a ciphertext form and then the decryption key is sent to the corresponding node. And the data needing to be stored in a secret way is stored in a form of a ciphertext.
Step 230, executing the intelligent contract in response to the user's request, wherein the intelligent contract is capable of performing the method as described in any one of the above.
In some embodiments, a user can read product parameters corresponding to a product according to a corresponding key, and initiate a change to required product information to form a block chain transaction, at this time, an intelligent contract execution condition is triggered, a corresponding product important information decryption key is sent to the user, and the user executes and verifies the information to complete an intelligent contract.
As an optional implementation manner, after the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage, the method further includes:
recording the stored procedure into a blockchain;
recording a storage procedure into a blockchain, comprising:
the storage location, hash value and/or storage cost of each first slice information and each second slice information is recorded into the blockchain.
In some embodiments, the blockchain records information for each transaction and synchronizes this information between all nodes. Store detailed information related to the transaction such as slice location, slice hash, and lease cost, etc. Based on the block chain technique, it has transparency, verifiability, traceability and tamper resistance.
As an optional implementation manner, after the step of fragmenting the product information to form at least one first fragmentation information and at least one second fragmentation information, the method further includes:
and giving corresponding identification codes to the product information, and respectively establishing a mapping relation between the identification codes and the first fragment information and a mapping relation between the identification codes and the second fragment information.
In some embodiments, the identity authentication and circulation process recording is performed on the product models by using a block chain technology, a unique electronic identity code is established for each product model and used for recording the attributes of the product model and storing the unique electronic identity code into the block chain, meanwhile, the source place, the use history record and the attribution place of the product model are faithfully recorded in the chain, and once illegal transaction activities or fraudulent and fake behaviors occur, the product model can be discovered in time. The specific tracing process is as follows: the product model is encoded and coded by the supply chain upstream according to relevant regulations and is transmitted to the supply chain downstream terminal for verification step by step in the system. The source flow of the product model is clear at a glance and is real and reliable.
As an optional implementation manner, the product information includes product information corresponding to a product that the user needs to sell, or product information corresponding to a product that the user needs to customize.
In some embodiments, the product information should include product information corresponding to a product to be sold for a product supplier, and the product information should include product information corresponding to a product to be customized for a product demander.
Optionally, the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage includes:
and distributing each first slicing information and each second slicing information to at least two block chain storage nodes for storage.
The storage system replicates each shard so there are enough redundant copies to ensure availability and performance and prevent performance degradation and data loss. The number of copies per fragment and the location of the fragments are determined by the content owner. In this process, the content owner should establish a threshold for the minimum number of copies that need to be maintained to ensure that no data is lost.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
An embodiment of the present invention further provides a device for managing product information based on a blockchain, which is applied to an intelligent contract of a blockchain platform, and as shown in fig. 3, the device includes:
the reading module is used for reading the block information of the latest block on the block chain when a new block is generated by the block chain;
in some embodiments, the block information of each block includes a block header and a block body. The chunk header includes three sets of metadata (1) for linking previous chunks, data indexed from the parent chunk hash value. (2) Difficulty of block out, nonce (random number, counter for workload proof algorithm), timestamp; (3) The Merkle root data of all transaction data in the check block can be summarized and quickly summarized. The block contains transaction data including records of additions, deletions, modifications or queries to product information and product status. For example, the ordering of the product by the product demand side can be regarded as the modification of the product state, and for example, the winning bid information of the product by the product supplier can also be regarded as the modification of the product state.
The extraction module is used for extracting the transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
in some embodiments, extracting transaction information refers to extracting product information or a record of change in product status from the tile. Because the change record of the product information or the product state is recorded in a mode of 'the target user performs the predetermined operation on the target product', the transaction information can provide the target user and the target product corresponding to the transaction, and meanwhile, the predetermined operation can represent the permission change of the target user on the target product. For example, when a product demander orders a product, it can indicate that the authority of the product demander changes, and the product demander acquires the authority of the product on a three-dimensional model or detailed parameters. For another example, when the product supplier successfully wins the bid, it can indicate that the authority of the product supplier has changed, and at this time, the product supplier can obtain the detailed three-dimensional model or the detailed parameters of the demand side.
The sending module is used for sending the decryption key of the fragmentation information of the authority corresponding to the target product to the target user when the authority of the target user meets the preset condition so that the target user obtains the decrypted fragmentation information after decrypting the fragmentation information by adopting the decryption key; the fragment information includes part of product information of the target product.
In some embodiments, during the process of storing data by a data holder, the data is fragmented to form a plurality of data fragments, and each fragment is copied to a plurality of copies and then sent to a plurality of blockchain storage nodes for storage. It should be noted that each blockchain storage node does not own all data fragments to ensure the security of data. In order to present product information to a data user, part of the data needs to be disclosed in a fragmented manner, and in order to ensure the confidentiality of the data, part of the data needs to be encrypted. For the disclosed data slice, any one block link point can acquire the data slice. For the encrypted data fragments, only the block chain nodes with the authority meeting the preset conditions can be decrypted. Therefore, when the authority of the target user is confirmed to meet the preset condition, the decryption key of the fragment information of the authority corresponding to the target product is sent to the target user, so that the target user can decrypt the corresponding data fragment conveniently. For multiple data slices, the multiple data slices may be encrypted with different keys. The target user can have various rights, and different rights are matched with conditions through different transaction contents.
In the technical scheme provided by the embodiment of the invention, the characteristics of distributed storage, encryption transmission, non-tampering and the like of a block chain technology are utilized, and a block chain is used as a bottom layer technology for realizing trusted data exchange among entities. By establishing the industrial alliance block chain between enterprises on the upstream and downstream of the industrial chain, product data of the enterprises can be stored on the block chain in a controllable and credible mode, and is opened to other enterprises on the chain in an access controllable mode, so that the cost and trust problem of information sharing between the enterprises are greatly reduced, and information isolated islands between the enterprises are opened. Meanwhile, the safety of the product information in the transmission process is completed through mutual trust of the block chains, all data and information are recorded on the block chains, distributed storage of the block chains is utilized, data cannot be tampered, and potential safety hazards are solved. Based on the advantages, the technical scheme provided by the invention can support the cooperative relationship among a plurality of links involved in the industrial production and manufacturing stage, reduce the problems and friction in the cooperative process and improve the efficiency of cooperation and design. By means of the block chain technology, ownership of analysis data and models on an industrial internet platform can be guaranteed, random use and sharing of the analysis data and the models are avoided, the analysis data and the models can be shared among cross-platforms through the block chain, and work efficiency is improved.
As an optional implementation, the extraction module includes:
the first judging unit is used for judging whether the block information contains order information of the target user for the target product, and when the block information contains the order information of the target user, determining that the authority of the target user meets a preset condition;
in some embodiments, if the data holder is a product supplier, for example, the product data may be fragmented, data such as product parameters and price in the product information may be disclosed, and a three-dimensional model of the product may be used as secret information. When the target user determines an order for the target product, the order information is sent to the blockchain forming block for recording. When the record with the order in the latest block is read, the authority of the initiator of the transaction is determined, and the corresponding key is sent, so that the target user can obtain data such as a three-dimensional model.
Or, the second judging unit is configured to judge whether the block information includes bid-winning information of the target user for the target product, and when the block information includes the bid-winning information of the target user, determine that the authority of the target user meets the predetermined condition.
In some embodiments, if the data holder is the product demanding party, for example, the demanded product data may be fragmented, data such as product processing technology demand, length, width, height parameters, and performance parameters in the product information may be published, and a three-dimensional model and a drawing of the product may be used as secret information. When the target user carries out the bid-winning on the target product, the bid-winning information is sent to the block chain forming block for recording. When the record with the bid-winning information in the latest block is read, the authority of the initiator of the transaction is determined, and the corresponding key is sent, so that the target user can obtain data such as a three-dimensional model, a drawing and the like.
An embodiment of the present invention further provides a product information management system based on a block chain, which is applied to a block chain platform, as shown in fig. 4, and includes:
the slicing module is used for slicing the product information to form at least one first slicing message and at least one second slicing message;
in some embodiments, the product information is processed in a slicing manner, the storage system divides the product data information into small pieces, different information is stored in different slices, parameters such as price, length, width, and performance of the product are stored in one set of slices, and other data such as a three-dimensional model is stored in another set of slices.
The distribution module is used for distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage; the first fragment information is stored in a public mode, and the second fragment information is stored in a secret mode;
in some embodiments, each shard may be encrypted, with the goal of ensuring that anyone other than the content owner cannot view/access the data in the shard, regardless of where the data is located, whether the data is static or dynamic. In this process, it is possible to select which shards the other users can view/access the data in, and to select which shards no one can view/access the data in. A Hash (Hash) is generated for each slice. The blockchain storage system generates a unique hash, i.e., a fixed-length encrypted output string, from the fragmented data or encryption key. The hash will be added to the ledger and shard metadata to link the transaction to the stored shard. The exact method of generating the hash varies from system to system. The data which the product needs to disclose can be stored in a plaintext form, and can also be stored in a ciphertext form and then the decryption key is sent to the corresponding node. And the data needing to be stored in a secret way is stored in a form of a ciphertext.
And the execution module is used for responding to the request of the user to execute the intelligent contract and recording the execution process into the blockchain, wherein the intelligent contract comprises the device as described in any item.
In some embodiments, a user can read product parameters corresponding to a product according to a corresponding key, and initiate a change to required product information to form a block chain transaction, at this time, an intelligent contract execution condition is triggered, a corresponding product important information decryption key is sent to the user, and the user executes and verifies the information to complete an intelligent contract.
As an optional implementation, the distribution module includes:
and a recording unit which records the storage location, hash value and/or storage cost of each first slice information and each second slice information into the blockchain.
In some embodiments, the blockchain records information for each transaction and synchronizes the information between all nodes. Store detailed information related to the transaction such as slice location, slice hash, and lease cost, etc. Based on the block chain technique, it has transparency, verifiability, traceability and tamper resistance.
As an optional implementation, the apparatus further comprises:
and the code assigning module is used for assigning a corresponding identification code to the product information and establishing a mapping relation between the identification code and the first fragment information and the second fragment information.
In some embodiments, the identity authentication and circulation process recording is performed on the product models by using a block chain technology, a unique electronic identity code is established for each product model and used for recording the attributes of the product model and storing the unique electronic identity code into the block chain, meanwhile, the source place, the use history record and the attribution place of the product model are faithfully recorded in the chain, and once illegal transaction activities or fraudulent and fake behaviors occur, the product model can be discovered in time. The specific tracing process is as follows: the product model is encoded and coded by the supply chain upstream according to relevant regulations and is transmitted to the supply chain downstream terminal for verification step by step in the system. The source flow of the product model is clear at a glance, and the product model is real and reliable.
As an optional implementation manner, the slicing module is specifically configured to slice product information corresponding to a product that a user needs to sell or product information corresponding to a product that a user needs to customize.
In some embodiments, the product information should include product information corresponding to a product to be sold for a product supplier, and the product information should include product information corresponding to a product to be customized for a product demander.
As an optional implementation manner, the distribution module is specifically configured to distribute each first fragmentation information and each second fragmentation information to at least two blockchain storage nodes for storage.
The storage system replicates each shard so there are enough redundant copies to ensure availability and performance and prevent performance degradation and data loss. The number of copies per fragment and the location of the fragments are determined by the content owner. In this process, the content owner should establish a threshold for the minimum number of copies that need to be maintained to ensure that no data is lost.
As an exemplary embodiment, an execution method when a supplier manages product information corresponding to a product that needs to be sold is provided as follows:
the supplier uploads the product information to the blockchain platform, specifically as follows: the product information is processed in a slicing mode, the storage system divides the product data information into small segments, different information is stored in different slices, parameters such as price, length, width and high performance of the product are stored in one group of slices, and other data such as a three-dimensional model are stored in the other group of slices. The goal of encrypting each fragment is to ensure that anyone other than the content owner cannot view/access the data in the fragment, regardless of where the data is located, whether the data is static or dynamic. In this process, it is possible to select which shards the other users can view/access the data in, and to select which shards no one can view/access the data in. A Hash (Hash) is generated for each slice. The blockchain storage system generates a unique hash, i.e., a fixed length encrypted output string, from the fragmented data or encryption key. The hash will be added to the ledger and shard metadata to link the transaction to the stored shard. The exact method of generating the hash varies from system to system. The time stamp is attached through encryption by the key 1, wherein the fragment where the parameters such as the price, the length, the width and the performance of the public product are located is public to all persons (the key 1 is sent to all persons), and the fragment where other data such as the three-dimensional model is located is not public after being encrypted by the key 2.
The product information is delivered to other users on the block chain platform through the data layer flowing to the consensus layer, namely, through various consensus algorithms, such as PoW, poS, PBFT, and DpoS. Specifically, the method comprises the following steps: the storage system replicates each shard so there are enough redundant copies to ensure availability and performance and prevent performance degradation and data loss. The number of copies per fragment and the location of the fragments are determined by the content owner (provider). In this process, the content owner should establish a threshold for the minimum number of copies that need to be maintained to ensure that no data is lost. The distribution of duplicate segments, i.e. other providers as well as other users, can receive the corresponding segments. The replicated shards are distributed over a P2P network to geographically dispersed storage nodes, whether regional or global. Multiple organizations or individuals (sometimes also referred to as firmers) own storage nodes. No one entity can own all the storage data or control the storage infrastructure. Only the content owner (namely, the data uploading owner) can completely access all the data, and the data leakage is effectively prevented.
The product information flows to the application layer through the consensus layer, wherein the product information has a timestamp, so that a data source can be effectively verified, and meanwhile, an intelligent contract is deployed (wherein the intelligent contract can be deployed in the initial pre-process or after a user obtains partial data, the contract can be deployed), for example, the user generates an order and sends a secret key 2 corresponding to important data (such as data of a three-dimensional model and the like). The transaction is recorded to the ledger during this process. The storage system records all transactions in the blockchain ledger and synchronizes this information between all nodes. The ledger stores detailed information about the transaction, such as the slice location, slice hash, and lease cost, among others. Since the ledger is based on the blockchain technique, it has transparency, verifiability, traceability, and tamper resistance.
The user reads product parameters corresponding to the product according to the corresponding secret key 1, places an order for the required product, sends the corresponding product important information secret key 2 to the user when the order is placed to a supplier and the execution condition of the intelligent contract is triggered, and the user executes and verifies the information to complete the intelligent contract.
As another exemplary embodiment, an execution method for managing product information corresponding to a product that needs to be customized by a product demander is provided as follows:
product information which needs to be customized by a user is uploaded to a block chain platform, the product information is subjected to fragment processing, a storage system divides product data information into small fragments, different information is stored in different fragments, parameters such as product price, length, width and high performance are stored in one group of fragments, and other data such as a three-dimensional model are stored in the other group of fragments. The goal of encrypting each fragment is to ensure that anyone other than the content owner (user) cannot view/access the data in the fragment, regardless of where the data is located, whether the data is static or dynamic. In this process, it is possible to select which shards the other users can view/access the data in, and to select which shards no one can view/access the data in. A Hash (Hash) is generated for each slice. The blockchain storage system generates a unique hash, i.e., a fixed length encrypted output string, from the fragmented data or encryption key. The hash will be added to the ledger and shard metadata to link the transaction to the stored shard. The exact method of generating the hash varies from system to system. The time stamp is attached through encryption by the key 1, wherein the segment where the parameters such as the demand of the public product are located is public to all persons (the key is sent to all persons), and the segment where the important privacy data (specific product model processing drawing and the like) are located is not public after being encrypted by the key 2.
The product information is delivered to other suppliers on the block chain platform via the data layer flow to the consensus layer, i.e. through various consensus algorithms, such as PoW, poS, PBFT, dpoS, etc. Specifically, the method comprises the following steps: the storage system replicates each shard so there are enough redundant copies to ensure availability and performance and prevent performance degradation and data loss. The number of copies of each segment and the location of the segments (i.e., determining which users are able to store data and view data) are determined by the content owner (user). In this process, the content owner should establish a threshold for the minimum number of copies that need to be maintained to ensure that no data is lost. The distribution of duplicate segments, i.e. other providers as well as other users, can receive the corresponding segments. The replicated shards are distributed over a P2P network to geographically dispersed storage nodes, whether regional or global. Multiple organizations or individuals (sometimes also referred to as firmers) own storage nodes. No one entity can own all the storage data or control the storage infrastructure. Only the content owner (namely, the data uploading owner) can completely access all the data, and the data leakage is effectively prevented.
The product information flows to the application layer through the consensus layer, wherein the product information has a time stamp, so that a data source can be effectively verified, and meanwhile, an intelligent contract is deployed, for example, a secret key corresponding to important data (such as data of a three-dimensional model) is sent by a standard contract in a supplier. The transaction is recorded to the ledger during this process. The storage system records all transactions in the blockchain ledger and synchronizes this information between all nodes. The ledger stores detailed information about the transaction such as the patch location, patch hash, and lease cost, among others. Since the ledger is based on the blockchain technique, it has transparency, verifiability, traceability, and tamper resistance.
The supplier reads the product parameters corresponding to the products according to the corresponding secret key 1, bids for the needed products, when the supplier wins a bid, the intelligent contract execution condition is triggered, the corresponding product important information secret key 2 is sent to the supplier, and the supplier executes and verifies the information to complete the intelligent contract.
In some embodiments, there is provided a blockchain platform comprising:
a memory for storing executable instructions;
and the processor is used for executing the executable instructions stored in the memory to realize the steps in the method embodiments.
In some embodiments, there is further provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A block chain-based product information management method is characterized in that an intelligent contract executed on a block chain platform comprises the following steps:
when a new block is generated in the block chain, reading the block information of the latest block on the block chain;
extracting transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
when the authority of the target user meets a preset condition, sending a decryption key of the piece information of the authority corresponding to the target product to the target user, so that the target user decrypts the piece information by using the decryption key to obtain decrypted piece information; the fragment information comprises part of product information of the target product.
2. The method of claim 1, wherein the step of determining the target user's rights based on the target product comprises:
judging whether the block information contains order information of the target user for the target product, and determining that the authority of the target user meets the preset condition when the block information contains the order information; alternatively, the first and second electrodes may be,
and judging whether the block information contains bid-winning information of the target user aiming at the target product, and determining that the authority of the target user meets the preset condition when the block information contains the bid-winning information.
3. A method for managing product information based on a block chain, which is executed on a block chain platform, comprises:
fragmenting the product information to form at least one first fragment information and at least one second fragment information;
distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage; wherein the first fragmentation information is stored in a public manner and the second fragmentation information is stored in a secret manner;
executing an intelligent contract in response to a request by a user, the intelligent contract being capable of performing the method of any of claims 1 to 2.
4. The method according to claim 3, wherein after the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage, further comprising:
recording the stored procedure into a blockchain;
the step of recording the stored procedure into a blockchain comprises:
recording a storage location, a hash value, and/or a storage cost of each of the first fragmentation information and each of the second fragmentation information into the blockchain.
5. The method of claim 3, wherein the step of fragmenting the product information to form at least one first fragmentation information and at least one second fragmentation information is further followed by:
and endowing the product information with corresponding identification codes, and respectively establishing a mapping relation between the identification codes and the first fragment information and a mapping relation between the identification codes and the second fragment information.
6. The method of claim 3, wherein the product information comprises product information corresponding to a product that the user needs to sell or product information corresponding to a product that the user needs to customize.
7. The method of claim 3, wherein the step of distributing the first fragmentation information and the second fragmentation information to a plurality of blockchain storage nodes for storage comprises:
and distributing each piece of first fragmentation information and each piece of second fragmentation information to at least two block chain storage nodes for storage.
8. The utility model provides a product information management device based on block chain which characterized in that, is applied to the intelligent contract of block chain platform, includes:
the reading module is used for reading the block information of the latest block on the block chain when a new block is generated by the block chain;
the extraction module is used for extracting transaction information from the block information, acquiring a target product and a target user corresponding to the transaction information, and judging the authority of the target user based on the target product;
the sending module is used for sending the decryption key of the fragment information of the authority corresponding to the target product to the target user when the authority of the target user meets a preset condition, so that the target user decrypts the fragment information by adopting the decryption key to obtain decrypted fragment information; the fragment information comprises part of product information of the target product.
9. A product information management system based on a block chain is applied to a block chain platform and comprises the following components:
the slicing module is used for slicing the product information to form at least one first slicing message and at least one second slicing message;
the distribution module is used for distributing the first fragmentation information and the second fragmentation information to a plurality of block chain storage nodes for storage and recording the storage process into a block chain; wherein the first fragmentation information is stored in a public manner and the second fragmentation information is stored in a secret manner;
an execution module configured to execute an intelligent contract in response to a request from a user, wherein the intelligent contract comprises an apparatus according to any one of claims 8 to 9.
10. A blockchain platform, comprising:
a memory for storing executable instructions;
a processor for executing executable instructions stored in the memory to implement the blockchain-based product information management method according to any one of claims 1 to 7.
CN202210929783.6A 2022-08-03 2022-08-03 Block chain-based product information management method, device, system and platform Pending CN115760382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210929783.6A CN115760382A (en) 2022-08-03 2022-08-03 Block chain-based product information management method, device, system and platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210929783.6A CN115760382A (en) 2022-08-03 2022-08-03 Block chain-based product information management method, device, system and platform

Publications (1)

Publication Number Publication Date
CN115760382A true CN115760382A (en) 2023-03-07

Family

ID=85349143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210929783.6A Pending CN115760382A (en) 2022-08-03 2022-08-03 Block chain-based product information management method, device, system and platform

Country Status (1)

Country Link
CN (1) CN115760382A (en)

Similar Documents

Publication Publication Date Title
US11824768B2 (en) Verification of data processes in a network of computing resources
US11962513B2 (en) Verification of data processes in a network of computing resources
CN109417479B (en) Cryptographic logic rewritable block chains
US11360963B2 (en) Tracking and verification of physical assets
EP3260979B1 (en) Verification of data processes in a network of computing resources
CN114365116A (en) Out-of-chain notification of updates from private blockchains
CN114651248A (en) Random node selection for licensed blockchains
US11195177B1 (en) Distributed ledger systems for tracking recurring transaction authorizations
JP2023504492A (en) Efficient threshold storage of data objects
CN113469716A (en) Product tracing method and system based on block chain and identification analysis
CN114450708A (en) Chain code recommendation based on existing chain codes
KR20230005353A (en) Sanctioned Events in a Decentralized Database
CN110020538B (en) Transaction data encryption and decryption method and system based on block chain
CN113315745A (en) Data processing method, device, equipment and medium
US20240097879A1 (en) Blockchain-based data management of distributed binary objects
JP2023520634A (en) Maintaining contextual integrity
CN116436708A (en) Trusted data sharing method and system based on blockchain technology
CN115760382A (en) Block chain-based product information management method, device, system and platform
JP2023505686A (en) Partner anonymization
CN110990845A (en) Data organization method based on block chain and supply chain financial data organization method
He et al. Cloud computing data privacy protection method based on blockchain
Yuan et al. Blockchain‐Based Self‐Auditing Scheme with Batch Verification for Decentralized Storage
CN116319792A (en) Resource transfer medium attribution changing method and device based on block chain system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination