CN113326323A - Block chain-based product information storage method, device and system - Google Patents
Block chain-based product information storage method, device and system Download PDFInfo
- Publication number
- CN113326323A CN113326323A CN202110648880.3A CN202110648880A CN113326323A CN 113326323 A CN113326323 A CN 113326323A CN 202110648880 A CN202110648880 A CN 202110648880A CN 113326323 A CN113326323 A CN 113326323A
- Authority
- CN
- China
- Prior art keywords
- product
- information
- identification
- product information
- block chain
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000003860 storage Methods 0.000 title claims description 43
- 238000004519 manufacturing process Methods 0.000 claims description 40
- 230000007246 mechanism Effects 0.000 claims description 13
- 238000012795 verification Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 210000001503 joint Anatomy 0.000 claims 1
- 238000012423 maintenance Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 9
- 238000007689 inspection Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000008439 repair process Effects 0.000 description 6
- 230000008676 import Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000008520 organization Effects 0.000 description 4
- 230000001105 regulatory effect Effects 0.000 description 4
- 206010039203 Road traffic accident Diseases 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012797 qualification Methods 0.000 description 3
- 238000012550 audit Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The specification discloses a method, a device and a system for storing product information based on a block chain. The method comprises the following steps: after any product producer assembles any new product, the appointed intelligent contract is called to execute: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product; after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
Description
Technical Field
The embodiment of the specification relates to the technical field of block chains, in particular to a method, a device and a system for storing product information based on a block chain.
Background
At present, when a product side manufactures a product, each part manufacturer is required to manufacture required parts, and then the parts are assembled to manufacture the product, so that the product is put on the market. For example, when manufacturing automobiles, automobile manufacturers generally entrust various parts manufacturers to produce required parts such as engines, doors, tires, and steering wheels, and then assemble the parts to manufacture automobiles.
After purchasing a product, a customer typically has a need to query information about the product. The product-related information may specifically include information on a production side of the product, an expiration date or warranty date of the product, product logistics information, product usage information, and the like.
The customer can judge the product quality according to the inquired product related information. For example, whether a producer of the product is in compliance or not, whether the validity period of the product is overdue or not, whether the product is used or the length of time for which the product is used, and the like are judged.
Product related information is often stored in a distributed manner in different locations. For example, logistics information is stored in a logistics company, validity period and warranty period information is stored in a product production side, part information of an assembled product is stored in a part production side, and maintenance information of a product is stored in a maintenance side.
When a client or other mechanism with inquiry requirements inquires the relevant information of the product, the information needs to be inquired from each party, the operation is troublesome, and the credibility of the relevant information of the product inquired from each party is low, so that the relevant information can be modified by each party. For example, a product producer may extend the life of a product for reasons such as evading liability.
Disclosure of Invention
In order to solve the above technical problems, the present specification provides a method, an apparatus, and a system for storing product information based on a block chain. The technical scheme is as follows.
A product information storage method based on a block chain is characterized in that a block chain network stores a specified intelligent contract, and the specified intelligent contract is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the method comprises the following steps:
after any product producer assembles any new product, the appointed intelligent contract is called to execute: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
A product information storage system based on a block chain is disclosed, wherein a block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the system comprises the blockchain network, at least one docked product producer and at least one product information uploader;
the product production method is used for: after any new product is assembled, the specified intelligent contract is invoked to perform: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
the product information uploader is configured to: after target information is generated for a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
A product information storage device based on a block chain is disclosed, wherein a block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the device is applied to any product production method and comprises the following steps:
a creation unit: for invoking the specified intelligent contract to execute, after assembling any new product: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set;
a storage unit: for invoking the specified intelligent contract to perform: for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
the set of correspondences is used for: after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
By means of the characteristics that the blockchain is difficult to tamper and is traceable in the whole process, all parties can store the product related information into a credible environment comprehensively, and when inquiring the product related information, a client or other organizations with inquiry requirements can trust that the product related information is not tampered after being stored into the blockchain, so that the credibility of the information is improved. In addition, the client or other mechanisms with query requirements only need to query information in the block chain, and do not need to query from all parties, so that query operation is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a block chain-based product information storage method provided in an embodiment of the present specification;
FIG. 2 is a schematic diagram illustrating a block chain-based product information storage and query method according to an embodiment of the present specification;
FIG. 3 is a schematic diagram illustrating a block chain-based automobile information storage method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a block chain-based product information storage system according to an embodiment of the present specification;
fig. 5 is a schematic structural diagram of a block chain-based product information storage apparatus according to an embodiment of the present specification;
fig. 6 is a schematic structural diagram of an apparatus for configuring a method according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments derived by one of ordinary skill in the art from the embodiments given herein are intended to fall within the scope of the disclosure.
At present, when a product side manufactures a product, each part manufacturer is required to manufacture required parts, and then the parts are assembled to manufacture the product, so that the product is put on the market. For example, when manufacturing automobiles, automobile manufacturers generally entrust various parts manufacturers to produce required parts such as engines, doors, tires, and steering wheels, and then assemble the parts to manufacture automobiles.
After purchasing a product, a customer typically has a need to query information about the product. The product-related information may specifically include information on a production side of the product, an expiration date or warranty date of the product, product logistics information, product usage information, and the like.
The customer can judge the product quality according to the inquired product related information. For example, whether a producer of the product is in compliance or not, whether the validity period of the product is overdue or not, whether the product is used or the length of time for which the product is used, and the like are judged.
For example, for automobile products, after purchasing an automobile, a customer wants to be able to inquire whether a manufacturer of the automobile is a regular manufacturer, so as to preliminarily determine the quality of the automobile. If the customer purchases a second-hand automobile, the customer also wants to be able to inquire whether the second-hand automobile is damaged, the used time and other information.
In addition, other mechanisms exist that have the need to query for information about a product.
For example, a regulatory department may also have a need to query product-related information, control the quality of products circulating in the market, and reduce the potential safety hazards of the products. For example, the regulatory authorities often need to spot check cars on an irregular basis, query relevant information about the cars to be checked, and check for compliance. The damage and the service condition of the automobile to be detected can be checked, and the potential safety hazard of the automobile is reduced.
For example, for a product imported and exported, the customs department needs to query product-related information to determine whether the product is prepared in a regular way, for example, a compliant logistics company prepares the product to the customs department. If it is determined that the product is not circulated through a regular route, the product may be temporarily paid.
For example, when an automobile insurance company carries out a business, it is usually necessary to query relevant information of an automobile to determine the specific situation of the automobile. Specifically, when the insurance line is evaluated aiming at the automobile, the related information of the automobile can be inquired, and the past damage condition and the use condition of the automobile are determined, so that a reasonable insurance line is evaluated.
Product related information is often stored in a distributed manner in different locations. For example, logistics information is stored in a logistics company, validity period and warranty period information is stored in a product production side, part information of an assembled product is stored in a part production side, and maintenance information of a product is stored in a maintenance side.
When a client or other mechanism with inquiry requirements inquires the relevant information of the product, the information needs to be inquired from each party, the operation is troublesome, and the credibility of the relevant information of the product inquired from each party is low, so that the relevant information can be modified by each party. For example, a product producer may extend the life of a product for reasons such as evading liability.
Taking automobiles as an example, the automobile products themselves often have different qualities and production conditions.
For example, there may be refurbished automotive parts that are refurbished using old automotive parts, defective automotive parts produced by a compliant parts producer, triple defective automotive parts produced by a non-compliant parts producer, used automotive parts that are disassembled directly from other automobiles in the market. Automobiles assembled or repaired using these inferior automobile parts often have large quality problems, which may cause serious safety accidents.
For example, in the automobile trading market, a bad merchant often pretends a three-handed and four-handed automobile to be a second-handed automobile, and deceives the consumer to purchase the automobile with the use time greatly exceeding the safety range, so that a great safety hazard exists. Alternatively, a bad merchant considers a smuggling car as a regular imported product to raise the price, which disturbs the car market order.
At present, no specific scheme is available for automobile supervision and quality control, and automobile owners often have difficulty in acquiring credible automobile related information after purchasing or maintaining automobiles, so that great economic loss and potential safety hazards are borne.
In order to solve the technical problem, an embodiment of the present specification provides a block chain-based product information storage method.
In the method, a block chain can be newly added, and the related information of the product is uploaded to the block chain by each party for storage. Specifically, the corresponding relationship between the product identifier and the product information set may be deployed in the blockchain, and each party may store the product-related information stored in the party itself into the product information set corresponding to the product identifier in the blockchain according to the product identifier.
By means of the characteristics that the blockchain is difficult to tamper and is traceable in the whole process, all parties can store the product related information into a credible environment comprehensively, and when inquiring the product related information, a client or other organizations with inquiry requirements can trust that the product related information is not tampered after being stored into the blockchain, so that the credibility of the information is improved.
In addition, the client or other mechanisms with query requirements only need to query information in the block chain, and do not need to query from all parties, so that query operation is simplified.
It should be noted that when each party stores the product-related information in the blockchain, because the blockchain has a multi-party signature mechanism, each party needs to attach its own digital signature when sending a transaction, so that the product-related information uploaded by each party cannot be repudiated, and can be used as an evidence in post-audit, thereby warning each party not to do malicious work and improving the credibility of the product-related information.
In an optional embodiment, a corresponding blockchain account may be created for a product, so that product-related information is stored in fields such as a balance of the blockchain account corresponding to the product in the world state of the blockchain.
Specifically, after the product producer assembles the new product, a corresponding blockchain account is created in the blockchain for the new product (which may be a transaction initiated by the product producer to create a blockchain account and associate the created blockchain account with the new product). And other parties may store the information about the new product in the record of the blockchain account corresponding to the new product.
Because the records of the blockchain accounts in the world state need to be anchored in the blockchain, the product-related information stored in the blockchain account corresponding to the product is difficult to be tampered. And any operations performed on the blockchain account corresponding to the product are recorded into the blockchain.
Optionally, the blockchain account corresponding to the product may include a product identifier as a basis for storing or querying the related information.
In this embodiment, a product may uniquely correspond to a blockchain account, thereby facilitating storage or querying.
In another alternative embodiment, the product and corresponding product-related information may be stored directly in the transaction, and the transaction itself may be stored in the blockchain, thereby enabling storage of the part-related information.
Specifically, each party directly packs the product identification and the corresponding product related information into a transaction to be stored on the blockchain. When the product related information is specifically inquired, the transaction in the block chain can be traversed, and the product identification to be inquired and the corresponding product related information are determined. Of course, the blockchain may also construct an index according to the product identifier, which facilitates determining the transaction location containing the corresponding product-related information.
In the embodiment, the specific operation is simple to realize, and the product related information in the transaction is more difficult to tamper.
In another alternative embodiment, the product-related information may be stored using smart contracts.
Alternatively, the product-related information may be stored in the contract account by the smart contract itself. Specifically, each party may send a transaction to the intelligent contract account, where the transaction includes product-related information, so that the intelligent contract may store the product-related information in a field of the contract account or in another storage area. The smart contracts may anchor the stored product-related information to the blockchain to prevent tampering.
The intelligent contract may create a table or a set when storing the product-related information, where one or more sets of product identifiers and product-related information may be stored.
Further, optionally, the storage method in the above 2 embodiments may also be executed by the smart contract.
For example, corresponding blockchain accounts may be created for a product by a smart contract, or product-related information may be stored in a transaction by a smart contract.
Specifically, a transaction to create a blockchain account may be initiated by the smart contract and the created blockchain account may be associated with a product. Or the intelligent contract sends the transaction to itself, and the product identification and the corresponding product related information are stored in the transaction.
Because the execution process and the execution result of the intelligent contract are both recorded in the blockchain and are difficult to be tampered, the storage process and the storage result can be reserved and anchored to the blockchain to prevent tampering.
The following explains a block chain-based product information storage method provided by an embodiment of the present specification with reference to a specific embodiment.
The basic concepts involved in the process flow of the method are explained first.
Block chain network: for convenience of description, the device related to the blockchain is determined as a blockchain network as a whole, wherein each node device of the blockchain may be included.
Product identification: the product may be uniquely associated with an identifier at the time of manufacture. The identifier may be a unique field string, and may include a product manufacturer identifier, a production date, a production lot, a specific serial number, and the like.
Optionally, to facilitate determining the identity of the product, the product may be caused to carry the identity in some manner. For example, the product identification is carved on the product by a special process, so that the carved product identification is difficult to modify or is easy to find after modification. For example, for an assembled car, it may uniquely correspond to a vehicle identification number or frame number. The vehicle identification number is a group of seventeen letters or numbers, is used for a group of unique numbers on the automobile, and can identify the manufacturer, the engine, the chassis serial number, other performance and other data of the automobile.
As a specific example, in the conventional automobile industry, a vehicle identification number (i.e. a frame number or VIN code) is a set of seventeen letters or numbers as an international common standard, and is used for a unique set of numbers on an automobile to identify the manufacturer, engine, chassis serial number and other performance data of the automobile. The vehicle identification code is arranged and combined, so that the phenomenon of repeated identification can not occur within 30 years of vehicle type production, and the vehicle identification code has unique identification on the vehicle. Automobile manufacturers need to report and apply for vehicle VIN codes to the jurisdictional countries for national unified management before developed vehicles are ready to leave factories and sell. The VIN code of an automobile is globally unique.
The production method of the product comprises the following steps: a mechanism for producing a product. For example, an automobile manufacturer.
Product information uploading party: and the mechanism is used for developing related businesses of the products and generating related information aiming at the products. For example, a logistics company for transporting products may generate logistics information for the transported products; an insurance company for providing an automobile insurance business, which can generate insurance information for automobiles, etc.; a repair company, which repairs product replacement parts, may generate part replacement information or assembly information for an automobile.
It should be noted that the product producer may also act as a product information uploader to generate the relevant information.
For example, the product producer may generate production-related information for the product, such as production date, production place, and the like, and may perform quality inspection to generate quality inspection result information to be stored in the blockchain network.
Specifying an intelligent contract: and the intelligent contract is used for maintaining the corresponding relation set of the product identification and the product information set.
The corresponding relation between the product identification and the product information set can be stored in the block chain, so that the credibility of the product information is improved, and the product information is prevented from being tampered. The designated intelligent contract may maintain the corresponding relationship set, specifically, create a new corresponding relationship, add new product information to the product information set, and the like.
It should be noted that the designated intelligent contract may include one or more intelligent contracts, and optionally, the operation of the entire maintenance set may be performed by a single intelligent contract, or the operation of the maintenance set may be shared by a plurality of intelligent contracts.
For convenience of understanding, in the following method flow, one intelligent contract may be selected to perform all maintenance operations, and the embodiment in which multiple intelligent contracts share the execution operations may also be obtained by simple reasoning based on the method flow, and therefore, the embodiment in which multiple intelligent contracts share the execution operations is also within the disclosure of the present specification.
Fig. 1 is a schematic flowchart of a block chain-based product information storage method provided in an embodiment of the present disclosure.
The block chain network can store a designated intelligent contract, and the designated intelligent contract is used for maintaining a corresponding relation set of the product identification and the product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product assembling party is used for assembling a product by utilizing at least one part; the product information uploader is configured to generate the relevant information for the product.
The method may include the following steps.
S101: after any product producer assembles any new product, calling a specified intelligent contract to execute: creating a group of corresponding relations between new product identifications and product information sets for the new products, and adding the created corresponding relations into the corresponding relation sets; for any part used to assemble the new product, the identification of that part is added to the set of product information corresponding to the identification of the new product, if specified.
S102: after any product information uploading party generates target information aiming at a target product, a specified intelligent contract is called to execute: and adding the target information into a product information set corresponding to the identification of the target product.
It should be noted that the above steps S101-S102 are not limited to a definite time sequence relationship, and may be executed in parallel or sequentially.
For the product producer and the product information uploader interfaced with the blockchain network, in an optional embodiment, for any product producer, the blockchain network may check in advance whether the product producer is compliant, and if so, the blockchain network may interface with the product producer. In particular, compliance may be determined by the blockchain network on a business basis.
Optionally, the specifically checking whether the product producing party is compliant may include checking whether a qualification rate of the product produced by the product producing party is greater than a preset qualification rate, and the like.
For example, the blockchain network may be managed by a government agency that may monitor the production of the product producer to verify compliance.
Of course, the non-compliant product producer cannot pass the check of the blockchain network, and the produced product identifier cannot be queried in the blockchain. The user can trust that products corresponding to the product identifiers existing in the blockchain network are all produced by a compliant product producer, so that the quality of the products is conveniently controlled.
In addition to the above-described verification for the product producer, in an alternative embodiment, compliance verification may also be performed for any product information uploader. If compliance is determined, the blockchain network may interface with the product information uploader.
Optionally, the specific checking of the product information uploader may include checking whether the product information uploader qualifies to generate the related information for the product.
For example, for an automobile, the product information uploader includes at least a regular 4S store, and cannot include an unqualified automobile assembly plant or other non-certified vendor.
In this embodiment, the non-compliant product information uploader cannot upload product related information through the inspection of the block chain network, so that the quality of the product can be controlled conveniently.
In an optional embodiment, the correspondence set may be stored in a contract account corresponding to the specified intelligent contract, and specifically may be stored in a field of the contract account.
In another alternative embodiment, the corresponding relation set may be stored elsewhere in the blockchain, but the corresponding relation set needs to be anchored on the blockchain to prevent tampering. Specifically, the hash value of the entire correspondence set may be stored in a contract account corresponding to the specified intelligent contract.
In another optional embodiment, the correspondence set may be stored in a transaction in the blockchain, and specifically, each set of correspondences in the correspondence set may be stored in the transaction. For example, the product information uploader may package the correspondence between the product identification and the product-related information in a transaction and upload to the blockchain. The operation of storing information in the embodiment is simple, and the stored information is difficult to tamper.
In another alternative embodiment, the set of correspondences may be stored in a world state. Specifically, one blockchain account may correspond to one product identifier, and a product information set corresponding to the product identifier is stored in the blockchain account.
With respect to S101, in an alternative embodiment, after any new product is produced by any product producer, a product identifier may be uniquely associated with the new product.
Optionally, the new product may be made to carry a product identification. The unique product identifier can be directly fired or imprinted on the new product, so that a product information uploading party or other users or mechanisms needing to inquire product related information according to the product identifier can directly execute the service according to the identifier carried on the product.
In one particular embodiment, the new product may include: an automobile. Correspondingly, the identification of the new product may include: a unique identification code for the car. The product identification can be used to distinguish products, facilitating determination of uniquely corresponding products.
Therefore, the product identification can facilitate uploading and querying of relevant information of the product. The product information uploading party can conveniently determine the corresponding product information set according to the product identification, so that the product information is stored in the corresponding product information set. And a user or an organization with query requirements can query the corresponding product information set according to the product identification.
In addition, the product producer can also be used as a product information uploading party to store part of product related information in the product information set in advance.
For example, the product producer may generate information such as production date, expiration date, warranty period, etc. for a new product, and store the information in the product information set corresponding to the new product identifier.
Specifically, when creating a corresponding relationship between a set of new product identifiers and a set of product information, in an optional embodiment, any product identifier uniquely corresponds to a set of product information.
Alternatively, where the designated intelligent contract stores a set of correspondences in its own contract account, the designated intelligent contract may create a set of correspondences and store the created correspondences in the set of correspondences of its own contract account.
Alternatively, in the case where the blockchain account corresponds to the product identifier, the designated intelligent contract may create a blockchain account, correspond the new product identifier to the created blockchain account, and create a product information set in the created blockchain account, specifically, create a product information set in a field of the created blockchain account.
Optionally, in the case that the correspondence is stored in a transaction, the designated intelligent contract may package the new product identification into a transaction that is uploaded into the blockchain as a create transaction for creating the correspondence. And then if any party needs to store the product related information in the product information set, directly packaging the product identification and the product related information into a transaction and sending the transaction to a block chain, wherein the specified intelligent contract can check whether a created transaction corresponding to the product identification exists, and if so, the received transaction can be stored.
Specifically, during verification, the designated intelligent contract can traverse the transaction in the block chain to search for a creating transaction containing the product identifier, and the product identifier of the creating transaction can be stored in the contract account in advance, so that the product identifier can be directly searched in the contract account of the designated intelligent contract, and the verification is convenient.
After creating the correspondence between the product identifier and the product information set, the identifier of the part used to assemble the product may be added to the corresponding product information set as product-related information.
Wherein each part may also have a unique identification. Since the product itself is assembled from parts, the identification of each part constituting the product can be used as product-related information to characterize the parts included in the product. Of course, if parts in subsequent products are replaced, part identifications in corresponding product information sets may be further replaced.
In an alternative embodiment, the blockchain network may also interface with at least one part producer, which may be used to produce parts, and create a unique corresponding identification for each produced part.
To make the part identification authentic, the part identification may also be added to the blockchain. Specifically, after any part producer produces any new part, the identity of the new part is stored in the blockchain network.
Alternatively, the blockchain network may interface any part producer after determining that the part producer is compliant. Specifically, the method may be to determine the compliance of the part production side from the business, or to determine the qualification rate of the parts produced by the part production side.
Based on the credible part identifier, in an optional embodiment, before the part identifier is added to the corresponding product information set, only the part identifier already stored in the blockchain network may be limited to be stored in the product information set, so that the credibility of the product related information is improved, and the forged or non-compliant part identifier is prevented from being stored in the product information set.
Therefore, the specific specified cases in S101 may include: the identifier of the part is stored in the blockchain network.
For S102, in an optional embodiment, the product information uploading party may be a product seller, and after the product is sold, the information related to the sales situation may be stored in a product information set corresponding to the sold product in the block chain network, so as to characterize the use situation of the product.
In an alternative embodiment, the product information uploading party may also be a consumer, and after purchasing a product, the user information may be stored in the blockchain network to represent that the product has been purchased by the user, which is used as a basis for determining new products and second-hand products.
It should be noted that, because the block chain network has the characteristic of leaving traces in the whole process, any product information uploading party needs to sign the stored product-related information to prevent repudiation. Therefore, the risk of storing error information or modifying information by the product information uploading party can be reduced, and the record stored according to the block chain can be rolled back at any time, so that the accuracy of the related information of the product is ensured.
For the target product in S102, optionally, any product may be used, and for convenience of description, the product is described as the target product; after any product information uploading party carries out business aiming at the target product, the generated related information is called target information.
Through the above steps S101-S102, the related information of the product may be stored in the blockchain by using the specified intelligent contract, specifically, the related information of the product may be stored in the product information set corresponding to the product identifier.
Wherein the related information may include one or more of the following information: the system comprises logistics information of the product, information of a producer of the product, information of parts contained in the product, content for representing whether the product is damaged or not, content for representing whether the product is in compliance or not, content for representing whether the product is qualified or unqualified by the producer of the product, and content for representing that the product is produced by the producer of the product which is in compliance or not.
After the product related information is stored in the block chain, the query of a user or an organization with the query requirement can be facilitated. Specifically, the query can be performed in the blockchain according to the product identifier.
In an alternative embodiment, any user or authority may invoke a specific smart contract to perform: and inquiring and returning a product information set corresponding to the product identifier from the corresponding relation set based on the product identifier to be inquired.
In this embodiment, a user or an organization can conveniently query according to a product identifier, and on one hand, the credibility of the queried product information can be determined to be higher based on the trust of the block chain, so that the quality of the product or the source of the traced product can be determined, and the risk of potential safety hazard or economic loss is reduced.
In a specific embodiment, information related to the automobile, such as automobile production data, whole automobile and part data, logistics circulation data, part replacement data and the like, can be uploaded to a block chain for storage, so that the whole-process datamation and transparentization of the automobile information can be realized, the information fragmentation of the automobile market is broken, and the whole-process traceability is realized. The user or the mechanism can conveniently inquire the full flow of the automobile according to the unique identification of the automobile.
Meanwhile, the information of maintenance, repair and part replacement of the automobile is uploaded to the block chain, so that the situations that the abandoned parts are not sold again and the like in good order can be prevented, and the potential safety hazard or the economic loss of a user is reduced.
In an alternative embodiment, any product producer, any part producer, or any product information uploader may query product information or other information in the blockchain based on the requirements.
For example, an insurance company needs to query historical damage conditions of automobiles, and in the case that a traffic department or other departments store the damage conditions of automobiles in a blockchain network, the insurance company can conveniently query corresponding historical damage conditions in the blockchain network through automobile identifiers, and the credibility of the queried information is high.
For example, a customs company needs to label a reported import/export automobile product, and specifically, the import/export permission may be stored in an automobile information set corresponding to an automobile identifier in a block chain network. The logistics company or other organizations can conveniently inquire the corresponding automobile information set in the block chain network according to the automobile identification, and determine whether the automobile is in compliance by judging whether the set contains import and export permission.
For example, in order to monitor the sales situation of the produced product, the product producer may query the blockchain network for the corresponding sales situation according to the product identifier, in case the sales store stores the sales situation in the blockchain network.
For example, since the part identifier included in the product is already stored in the blockchain network in S101, the part producing side can determine the product assembled by the corresponding part according to the part identifier, and further track the use condition of the part.
Based on the analysis, each party related to the product can use the blockchain network as a shared trusted database, and each party can store the product-related information generated by the party to the shared trusted database and read the information stored by other parties for carrying out the business.
Because the data in the trusted database is difficult to be tampered and is traceable in the whole process, the credibility is greatly improved, and all parties can better utilize the credible related information of products to develop business; and because the product related information of other parties can be obtained only by interacting with the trusted database, the interaction cost is greatly reduced.
In addition, the product-related information stored in the blockchain may also have other roles, for example, facilitating the supervision of the product by a regulatory body.
In an alternative embodiment, the blockchain network may also be interfaced to at least one supervisor; a supervisor may be used to check whether a product is in compliance.
The embodiment does not limit how to judge whether the product is in compliance.
Optionally, determining whether the product stores the product identification in the blockchain at the time of production may be included. Specifically, any supervisor may invoke a specific intelligent contract to execute: and based on the identifier of the product to be checked, if the product information set corresponding to the identifier cannot be inquired from the corresponding relation set, determining that the product to be checked is not in compliance.
Obviously, if the product information set corresponding to the identifier cannot be queried from the corresponding relationship set, the product producer does not create a corresponding relationship for the product identifier, and the block chain does not have product related information and does not meet the specification. In the case where only a compliant producer can interface to the blockchain network, it is apparent that the product may be produced by a non-compliant producer.
Optionally, the method may further include determining whether a product information set corresponding to the product in the blockchain meets a specified check condition. Specifically, any supervisor may invoke a specific intelligent contract to execute: based on the identifier of the product to be checked, if the product information set corresponding to the identifier inquired from the corresponding relation set meets the specified checking condition, determining that the product to be checked is not in compliance, and adding the content for representing that the product to be checked is not in compliance into the product information set corresponding to the identifier.
The specified checking condition may be used to judge the condition of the product according to the product information set corresponding to the product. In particular, quality situations, damage situations, etc. may be mentioned.
Optionally, the specified checking condition may include one or more of the following conditions: the product information set comprises damaged contents for representing the product to be checked; the product information set comprises content for representing non-compliance of the product to be checked; the product information set comprises the identification of the parts which are not assembled in the product to be checked; the product information set does not include the identification of the parts assembled in the product to be checked; the product information set comprises content for representing that the product to be checked is determined to be unqualified by a product producer; the product information set contains contents for characterizing that the product to be checked is produced by a non-compliant product producer.
When the product information set comprises the damaged content for representing the damaged product to be checked, the product to be checked is damaged, and then the supervisor can determine that the product to be checked is not compliant. The content characterizing the damage of the product to be checked can be uploaded by the traffic accident management department according to the products involved in the traffic accident.
When the product information set comprises content for representing the non-compliance of the product to be checked, the supervisor can directly determine that the product to be checked is not compliant. The content for characterizing the non-compliance of the product to be checked may specifically include: and the product producer or the logistics party determines the quality inspection result that the quality of the product to be inspected is unqualified during the quality inspection.
When the product information set comprises the identification of the parts which are not assembled in the product to be checked, it is indicated that part of the parts may be disassembled in the product to be checked, so that the product to be checked cannot be normally used or potential safety hazards exist. For example, the corresponding automobile information set of the automobile includes an identifier of a safety valve part, but the safety valve part does not exist on the automobile, and obviously, the automobile has a quality problem, so that a supervisor can determine that the product to be checked is not qualified.
When the product information set does not include the identification of the parts assembled in the product to be checked, the fact that the parts which are not normally installed exist in the product to be checked is indicated. It may be particularly the case that the repair party replaces the non-compliant part while repairing the product. For example, if the identifier corresponding to the engine part in the automobile is not included in the product information set, the engine part may be an out-of-compliance part, the automobile has a quality problem, obviously does not conform to the specification, and the supervisor may determine that the product to be checked is out of compliance.
When the product information set contains the content for representing that the product to be checked is not qualified by the product producer, it is obvious that the product to be checked is not qualified by the producer, but is circulated in the market in violation of the regulations, so that the supervisor can determine that the product to be checked is not qualified.
When the product information set contains content for characterizing the product to be checked, which is produced by a non-compliant product producer, the producer itself is not compliant, and the produced product is obviously not compliant. For example, the product manufacturer produces a product with a low pass rate and a product with a high pass rate that fails. Thus, the regulatory party may identify that the product to be checked is not compliant.
After determining that the product to be checked is not in compliance, the supervisor can put the product to be checked off shelf, specifically, recycle or destroy the product, and add the content for representing that the product to be checked is not in compliance to the product information set corresponding to the identifier, which indicates that the product to be checked is not suitable for market circulation, so as to facilitate subsequent user or mechanism query.
According to the method, by means of the characteristics that the blockchain is difficult to tamper and the whole course of the blockchain is marked, all parties can store the product related information into a credible environment comprehensively, when inquiring the product related information, a client or other organizations can trust that the product related information is not tampered after being stored into the blockchain, and as the uploading parties of the product related information are recorded by the blockchain, the malicious uploading parties can be determined through post audit, so that the risk that the uploading parties forge the product related information is reduced, and the credibility of the information is improved.
In addition, the client or other mechanisms with query requirements only need to query information in the block chain, and do not need to query from all parties, so that query operation is simplified.
In addition, under the condition that a client or an organization inquires credible product related information, the product quality can be effectively judged, product traceability and the like are carried out, the true and false and traceability operations of the product can be conveniently verified by the client, so that the risk and potential safety hazard of economic loss are reduced, and the product with poor replaced quality is avoided.
For convenience of understanding, fig. 2 is a schematic diagram illustrating a block chain-based product information storage and query method according to an embodiment of the present disclosure.
The system comprises a block chain network, a product producer, a product information uploading party and a user.
The product producer creates a correspondence between the target product identification and the product information set in the blockchain network for the target product newly produced by using the at least one part. And storing each part identification used for assembling the target product into a product information set corresponding to the target product identification.
And the product information uploading party generates logistics information aiming at the target product and stores the logistics information into a product information set corresponding to the target product identification.
After purchasing a target product, a user can inquire a corresponding product information set in a block chain network according to an identifier carried on the target product, so that logistics information can be obtained, and product tracing can be performed through the logistics information.
Of course, the product information set may also include other product-related information, which may be referred to by the user as needed.
For convenience of understanding, the present specification further provides an application embodiment, and as shown in fig. 3, a schematic diagram of a block chain-based automobile information storage method provided for the embodiment of the present specification is provided.
The system comprises a block chain network, a steam distribution factory as a part producer, an automobile complete factory as a product producer, a supervision department for supervising automobiles, a logistics party for transporting automobiles, a 4S shop as a product seller, an insurance company for providing automobile insurance, an automobile maintenance shop for maintaining automobiles and a user for purchasing automobiles.
Each party can use the block chain network as a shared trusted database, and after the automobile unique identifier is uploaded to the block chain network in the automobile factory, the automobile related information can be stored in the automobile information set corresponding to the automobile unique identifier.
Each party can ensure the credibility of the information stored by the party and can trust the information stored by other parties, so that the information intercommunication can be better realized, and the credibility of the information and the convenience of information query are improved because the information only needs to be interacted with the block chain network.
All parties can interact with the blockchain network, specifically, the automobile related information generated by the parties can be stored in the corresponding automobile information set, and the required automobile information set can be inquired from the blockchain network.
For example, when parts are produced in a steam distribution plant, part identifiers and corresponding information need to be reported to a block chain to allow normal circulation. The influence of manufacturers and parts on market behaviors can be effectively prevented.
The VIN code of the automobile can be obtained after the complete automobile assembly of the automobile complete factory is subjected to national supervision, and then the VIN code of the automobile and all part marks used for assembly are required to be reported to a block chain network to represent part information used by the automobile in production, so that illegal modification and application of the automobile can be monitored.
Under the scenes of regular annual inspection of vehicles, inspection of customs entrances and exits, traffic accident handling and the like, a supervision department can acquire relevant vehicle inspection qualified information, entrance and exit reporting information, vehicle accident damage information and the like in real time and upload the information to a block chain network, and the functions of real-time vehicle information review, illegal behaviors inquiry, public information back-up and the like can be achieved.
When the logistics party imports and exports and goods are transported, the logistics information can be uploaded in real time, and automobile circulation track information can be established. In addition, the logistics party can also inquire required import and export provision information from the block chain network so as to check whether the smuggling automobile exists.
When a 4S shop sells vehicles, the automobile information and the purchaser information can be uploaded to the block chain in real time, and the association relationship between persons and automobiles can be established for storing the asset attribution relationship; when the system is used for vehicle maintenance, vehicle maintenance and part replacement, the information of part replacement is uploaded to the block chain, and the block chain can be reserved for user inquiry.
The insurance company can upload the vehicle information and the information of purchasers, insurance information and accident information to the block chain, and reserves the vehicle information and the information of purchasers, insurance information and accident information for government supervision departments and users in the aspects of checking the insurance information and inquiring the accident information.
When the automobile repair and assembly plant is used for vehicle maintenance, vehicle maintenance and part replacement, the information of part replacement is uploaded to the block chain, and the block chain can be reserved for user inquiry.
The user who purchases the car can inquire the relevant information of the car in the block chain network according to the car VIN code of the purchased car, so that the use condition, the damage condition and the like of the car are determined.
From the perspective of the user, a specific client can be provided for the user, and the function of inquiring the automobile related information is packaged in the client. The automobile source query system can specifically provide functions of automobile source query, automobile authenticity query, automobile logistics query and the like.
The block chain technology has the characteristics of 'unforgeability', 'trace in the whole process', 'traceability', 'open transparency', 'collective maintenance' and the like. Based on these features, in each sub-link of the entire cycle of the automobile industry, each party can record corresponding information in the blockchain. In the business roles of automobile parts factories, automobile whole factories, national supervision departments, logistics parties, 4S shops, insurance companies, automobile repair factories and the like, a quality management control system and a data application system of automobiles are established, so that the operations of anti-counterfeiting tracing, data inquiry, quality supervision and the like are effectively carried out.
Of course, the above listed automobile-related parties are only examples, and other parties in the automobile industry may participate in the automobile industry, so as to realize the overall informatization of the automobile industry, and be beneficial to enhancing the trust and information supervision of the parties. By simple reasoning, the whole of other industries can also realize informatization by a similar method.
Corresponding to the above method flow, the present specification also provides a corresponding system embodiment. Fig. 4 is a schematic structural diagram of a block chain-based product information storage system according to an embodiment of the present disclosure.
The system comprises a block chain network, at least one product producer and at least one product information uploading party which are connected in an abutting mode. For convenience of description, at least one product producer is described in its entirety by a product producer, and at least one product information uploader is described in its entirety by a product information uploader in the drawings.
The system comprises a product production side, a product information uploading side and a product information uploading side, wherein the product production side is integrally connected with a block chain network and the product information uploading side is integrally connected with a block chain network.
The block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of the product identification and the product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producing side is used for assembling a product by utilizing at least one part; the product information uploader is configured to generate the relevant information for the product.
The product production method is used for: after any new product is assembled, calling a specified intelligent contract to execute: creating a group of corresponding relations between new product identifications and product information sets for the new products, and adding the created corresponding relations into the corresponding relation sets; for any part used to assemble a new product, the identification of that part is added to the set of product information corresponding to the identification of the new product, if specified.
The product information uploading party is used for: after target information is generated for a target product, calling a specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
For specific explanation, reference may be made to the above method flow, which is not described herein again.
Corresponding to the above method flow, the present specification also provides a corresponding apparatus embodiment. Fig. 5 is a schematic structural diagram of a block chain-based product information storage apparatus according to an embodiment of the present disclosure.
The block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of the product identification and the product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producing side is used for assembling a product by utilizing at least one part; the product information uploader is configured to generate the relevant information for the product.
The apparatus can be applied to any product producing side, including the creating unit 201 and the storing unit 202.
The creating unit 201: after assembling any new product, calling a specified intelligent contract to execute: creating a group of new product identifications and corresponding relations of the product information sets for the new products, and adding the created corresponding relations into the corresponding relation sets.
Storage unit 202: for invoking a specified intelligent contract execution: for any part used to assemble a new product, the identification of that part is added to the set of product information corresponding to the identification of the new product, if specified.
The set of correspondences may be used to: after any product information uploading party generates target information aiming at a target product, a specified intelligent contract is called to execute: and adding the target information into a product information set corresponding to the identification of the target product.
For specific explanation, reference may be made to the above method flow, which is not described herein again.
Embodiments of the present specification further provide a computer device, which at least includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the program to implement steps performed by any product producer or any product information uploader in a block chain-based product information storage method.
Fig. 6 is a schematic diagram illustrating a more specific hardware structure of a computer device according to an embodiment of the present disclosure, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps performed by any product producer or any product information uploader in a blockchain-based product information storage method.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a detailed description of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, many modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as protection for the embodiments of the present disclosure.
Claims (15)
1. A product information storage method based on a block chain is characterized in that a block chain network stores a specified intelligent contract, and the specified intelligent contract is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the method comprises the following steps:
after any product producer assembles any new product, the appointed intelligent contract is called to execute: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
2. The method of claim 1, the blockchain network further interfacing with at least one part producer; the method further comprises the following steps:
after any part producer produces any new part, the identity of the new part is stored in the blockchain network.
3. The method of claim 2, the specified circumstances comprising: the block chain network stores the identification of the part.
4. The method of claim 1, further comprising:
any user or mechanism invokes the specified intelligent contract to perform: and inquiring and returning a product information set corresponding to the product identifier from the corresponding relation set based on the product identifier to be inquired.
5. The method of claim 1, the new product carrying a product identification.
6. The method of claim 1, the blockchain network further interfacing with at least one supervisor; the supervisor is used for checking whether the product is in compliance;
the method further comprises the following steps:
any supervisor invokes the specified intelligent contract to perform: and based on the identifier of the product to be checked, if the product information set corresponding to the identifier cannot be inquired from the corresponding relation set, determining that the product to be checked is not in compliance.
7. The method of claim 6, further comprising:
based on the identifier of the product to be checked, if the product information set corresponding to the identifier inquired from the corresponding relation set meets the specified checking condition, determining that the product to be checked is not in compliance, and adding the content for representing that the product to be checked is not in compliance into the product information set corresponding to the identifier.
8. The method of claim 7, the specified verification conditions comprising one or more of:
the product information set comprises the damaged content for representing the product to be checked;
the product information set comprises content for representing the non-compliance of the product to be checked;
the product information set comprises the identification of the parts which are not assembled in the product to be checked;
the product information set does not comprise the identification of parts assembled in the product to be checked;
the product information set comprises content for representing that the product to be checked is determined to be unqualified by a product producer;
the product information set comprises contents for representing that the product to be checked is produced by a non-compliant product producer.
9. The method of claim 1, further comprising: after determining the compliance of any product production party, the block chain network is butted with the product production party;
and/or
And after determining the compliance of any product information uploading party, the block chain network is in butt joint with the product information uploading party.
10. The method of claim 1, the new product comprising: an automobile; the identification of the new product includes: a unique identification code for the car.
11. The method of claim 1, the related information comprising one or more of:
the system comprises logistics information of the product, information of a producer of the product, information of parts contained in the product, content for representing whether the product is damaged or not, content for representing whether the product is in compliance or not, content for representing whether the product is qualified or unqualified by the producer of the product, and content for representing that the product is produced by the producer of the product which is in compliance or not.
12. A product information storage method based on a block chain is characterized in that a block chain network stores a specified intelligent contract, and the specified intelligent contract is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the method is applied to any product production method and comprises the following steps:
after any new product is assembled, the specified intelligent contract is invoked to perform: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
the set of correspondences is used for: after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
13. A product information storage system based on a block chain is disclosed, wherein a block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the system comprises the blockchain network, at least one docked product producer and at least one product information uploader;
the product production method is used for: after any new product is assembled, the specified intelligent contract is invoked to perform: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set; for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
the product information uploader is configured to: after target information is generated for a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
14. A product information storage device based on a block chain is disclosed, wherein a block chain network stores a specified intelligent contract which is used for maintaining a corresponding relation set of a product identifier and a product information set; the block chain network is connected with at least one product producer and at least one product information uploading party in an opposite mode; the product producer is used for assembling a product by utilizing at least one part; the product information uploader is used for generating related information for the product;
the device is applied to any product production method and comprises the following steps:
a creation unit: for invoking the specified intelligent contract to execute, after assembling any new product: creating a set of corresponding relations between the new product identification and the product information set for the new product, and adding the created corresponding relations into the corresponding relation set;
a storage unit: for invoking the specified intelligent contract to perform: for any part used for assembling the new product, under a specified condition, adding the identification of the part into a product information set corresponding to the identification of the new product;
the set of correspondences is used for: after any product information uploading party generates target information aiming at a target product, calling the specified intelligent contract to execute: and adding the target information into a product information set corresponding to the identification of the target product.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 12 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110648880.3A CN113326323A (en) | 2021-06-10 | 2021-06-10 | Block chain-based product information storage method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110648880.3A CN113326323A (en) | 2021-06-10 | 2021-06-10 | Block chain-based product information storage method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113326323A true CN113326323A (en) | 2021-08-31 |
Family
ID=77421299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110648880.3A Pending CN113326323A (en) | 2021-06-10 | 2021-06-10 | Block chain-based product information storage method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113326323A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685674A (en) * | 2018-12-21 | 2019-04-26 | 众安信息技术服务有限公司 | Order based on block chain leads to cardization, compensation, the method, apparatus of inquiry and storage medium |
CN110930168A (en) * | 2019-11-21 | 2020-03-27 | 山东爱城市网信息技术有限公司 | Anti-counterfeiting method and device for anti-counterfeiting label based on block chain and storage medium |
CN111383020A (en) * | 2020-05-29 | 2020-07-07 | 腾讯科技(深圳)有限公司 | Block chain-based article anti-counterfeiting management method, device, equipment and storage medium |
CN111913982A (en) * | 2020-07-15 | 2020-11-10 | 玉林师范学院 | Communication product detection parameter tracing method and system based on block chain technology |
CN112699179A (en) * | 2019-10-18 | 2021-04-23 | 霍尼韦尔国际公司 | System and method for providing sourcing and anti-counterfeiting of parts using blockchain techniques |
-
2021
- 2021-06-10 CN CN202110648880.3A patent/CN113326323A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685674A (en) * | 2018-12-21 | 2019-04-26 | 众安信息技术服务有限公司 | Order based on block chain leads to cardization, compensation, the method, apparatus of inquiry and storage medium |
CN112699179A (en) * | 2019-10-18 | 2021-04-23 | 霍尼韦尔国际公司 | System and method for providing sourcing and anti-counterfeiting of parts using blockchain techniques |
CN110930168A (en) * | 2019-11-21 | 2020-03-27 | 山东爱城市网信息技术有限公司 | Anti-counterfeiting method and device for anti-counterfeiting label based on block chain and storage medium |
CN111383020A (en) * | 2020-05-29 | 2020-07-07 | 腾讯科技(深圳)有限公司 | Block chain-based article anti-counterfeiting management method, device, equipment and storage medium |
CN111913982A (en) * | 2020-07-15 | 2020-11-10 | 玉林师范学院 | Communication product detection parameter tracing method and system based on block chain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11645264B2 (en) | Systems and methods for analyzing vehicle sensor data via a blockchain | |
US12118571B2 (en) | System and process for digital certification of pre-owned vehicles and equipment | |
CN111177275A (en) | Block chain-based management method, terminal, device and storage medium | |
CN109409538B (en) | Vehicle spare and accessory part management method and device and block link point equipment | |
CN105678610A (en) | Management system and method for automobile spare part electronic merchant transaction | |
CN111985938A (en) | Method, device and equipment for verifying authenticity of cross-border transaction | |
US20210303350A1 (en) | System for tracking a resource performance and maintenance | |
CN104504487A (en) | Method and system for tracing service object information between platforms | |
CN112465644A (en) | Steel scrap purchasing and selling operation system and method | |
Sharkey | Products Liability in the Digital Age: Online Platforms as" Cheapest Cost Avoiders" | |
CN112541804A (en) | Purchasing and selling management system for steel scrap industry | |
KR102086688B1 (en) | Vehicle information using system using block chain | |
CN117670623A (en) | Industrial carbon chain analysis tracking system and method based on identification analysis | |
Crandal et al. | Measuring the cost of quality. | |
Elmay et al. | Nfts for trusted traceability and management of digital twins for shipping containers | |
CN108470200A (en) | A kind of transaction of auto parts machinery and Life cycle traceability system and method | |
CN113326323A (en) | Block chain-based product information storage method, device and system | |
CN112132492A (en) | Biomass fuel tracing management method, device and system based on block chain | |
Mouna et al. | Business Leadership in E-Commerce in the USA: The Impact of Blockchain Technology | |
KR102535763B1 (en) | Blockchain-based comprehensive car management system | |
CN112785238B (en) | Supply chain enabling-based e-commerce platform sales management system and method | |
da Silva Andrade et al. | Supply chain development–model, opportunities, and challenges | |
EP3991066B1 (en) | A method for managing data and storing them in blockchain | |
CN114493796A (en) | Modularized order management method and system for verification and cancellation service | |
Sharma | Blockchain--Its Role in Demand and Supply Planning. |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210831 |