CN113326322A - Part information storage method and system based on block chain - Google Patents

Part information storage method and system based on block chain Download PDF

Info

Publication number
CN113326322A
CN113326322A CN202110648874.8A CN202110648874A CN113326322A CN 113326322 A CN113326322 A CN 113326322A CN 202110648874 A CN202110648874 A CN 202110648874A CN 113326322 A CN113326322 A CN 113326322A
Authority
CN
China
Prior art keywords
information
identification
party
intelligent contract
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
Application number
CN202110648874.8A
Other languages
Chinese (zh)
Inventor
张睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110648874.8A priority Critical patent/CN113326322A/en
Publication of CN113326322A publication Critical patent/CN113326322A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • G06Q10/0875Itemisation or classification of parts, supplies or services, e.g. bill of materials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Bioethics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The specification discloses a part information storage method and system based on a block chain. The method comprises the following steps: after any part producer produces any new part, the appointed intelligent contract is called to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets; after any part assembler assembles any new product, the appointed intelligent contract is called to execute: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part; after any part information uploader generates target information for any target part, the appointed intelligent contract is called to execute: and adding the target information into a part information set corresponding to the identification of the target part.

Description

Part information storage method and system based on block chain
Technical Field
The embodiment of the specification relates to the technical field of block chains, in particular to a part information storage method and system 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.
The parts produced by the part producing side can be independently used as commodities to be circulated in the market for a product maintenance side or a customer to maintain the products and replace new parts besides being used for assembling and manufacturing the products.
After purchasing a product or part, a customer typically has a need to query information about the part. The concrete step can include inquiring the relevant information of the parts contained in the product. The information related to the part may specifically include information on a production side of the part, an expiration date of the part, information on a logistics of the part, information on a use of the part, and the like.
But part related information is often stored in a distributed manner in different locations. For example, the logistics information is stored in a logistics company, the production side information is stored in a product side, the expiration date information is stored in a part production side, and the maintenance information is stored in a maintenance side.
When a client inquires the relevant information of the part, the client needs to inquire the information from each party, the operation is troublesome, and the credibility of the relevant information of the part inquired from each party is low, so that the relevant information can be modified by each party. For example, the producer may modify the producer information for the part from an out-of-compliance producer to a compliant producer for reasons such as evasion of liability; the part production side may modify the validity period so that the validity period is delayed, etc. for the reason of exaggerating the lifetime of the part, etc.
Disclosure of Invention
In order to solve the above technical problem, the present specification provides a part information storage method and system based on a block chain. The technical scheme is as follows.
A part 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 part identification and a part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploading party is used for generating related information aiming at the part;
the method comprises the following steps:
after any part producer produces any new part, the appointed intelligent contract is called to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets;
after any part assembler assembles any new product, the appointed intelligent contract is called to execute: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part;
after any part information uploader generates target information for any target part, the appointed intelligent contract is called to execute: and adding the target information into a part information set corresponding to the identification of the target part.
A part information storage system 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 part identification and a part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploading party is used for generating related information aiming at the part;
the system comprises the block chain network, at least one part production party, at least one part assembly party and at least one part information uploading party;
the part production side is used for: after any new part is produced, calling the specified intelligent contract to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets;
the part assembly side is used for: after any new product is assembled, the specified intelligent contract is invoked to perform: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part;
the part information uploading party is used for: after target information is generated for any target part, calling the specified intelligent contract to execute: and adding the target information into a part information set corresponding to the identification of the target part.
According to the technical scheme, by means of the characteristics that the blockchain is difficult to tamper and the whole process of the blockchain is marked, all parties can integrate the related information of the parts and store the information in a credible environment. When inquiring the related information of the part, the client can trust that the related information of the part is not tampered after being stored to the block chain, and because the uploading party of the related information of the part is recorded by the block chain, the malicious uploading party can be determined through post audit, the risk that the uploading party forges the related information of the part is reduced, and the credibility of the inquired information is improved. In addition, the client only needs to inquire information in the block chain, and does not need to inquire information from all parties, so that the inquiry 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 part information storage method based on a blockchain according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a block chain-based part information storage and query method according to an embodiment of the present disclosure;
FIG. 3 is a block chain-based part information storage system according to an embodiment of the present disclosure;
fig. 4 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.
The parts produced by the part producing side can be independently used as commodities to be circulated in the market for a product maintenance side or a customer to maintain the products and replace new parts besides being used for assembling and manufacturing the products.
After purchasing a product or part, a customer typically has a need to query information about the part. The concrete step can include inquiring the relevant information of the parts contained in the product. The information related to the part may specifically include information on a production side of the part, an expiration date of the part, information on a logistics of the part, information on a use of the part, and the like.
The customer can judge the quality of the part according to the inquired related information of the part. For example, whether a production side of the part is in compliance or not is judged, whether the validity period of the part is overdue or not is judged, the number of times of use and the use time of the part are inquired, and the like.
In addition, other mechanisms exist that have the need to query for information about a part.
For example, a supervision department may also have a need to query information related to parts, control the quality of parts circulating in the market, and reduce the potential safety hazard of products. For example, the quality of an engine and a brake system of an automobile is generally required to be monitored by a monitoring department, so that the potential safety hazard of the automobile is reduced.
But part related information is often stored in a distributed manner in different locations. For example, the logistics information is stored in a logistics company, the production side information is stored in a product side, the expiration date information is stored in a part production side, and the maintenance information is stored in a maintenance side.
When a client or other mechanism with query requirements queries the relevant information of the part, the information needs to be queried from each party, the operation is troublesome, and the credibility of the relevant information of the part queried from each party is low, so that the relevant information can be modified by each party. For example, the producer may modify the producer information for the part from an out-of-compliance producer to a compliant producer for reasons such as evasion of liability; the part production side may modify the validity period so that the validity period is delayed, etc. for the reason of exaggerating the lifetime of the part, etc.
In the case of automobiles, the automobile parts 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. These poor quality automobile parts often have greater quality problems, which may cause serious safety accidents.
Automobile manufacturers manufacturing automobiles may employ refurbished automobile parts or no automobile parts in order to reduce costs; in order to increase sales, the part manufacturer can provide the vehicle manufacturer with the new vehicle parts as the produced vehicle parts; the vehicle maintenance party responsible for maintaining the vehicle may use three non-vehicle parts or used vehicle parts for maintenance in order to increase profits.
At present, no specific scheme is available for supervision and quality control of automobile parts, and automobile owners often have difficulty in acquiring credible relevant information of the parts after purchasing automobiles or maintaining the 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 part information storage method based on a blockchain.
In the method, a block chain can be newly added, and the related information of the parts is uploaded to the block chain by all parties for storage. The corresponding relation between the part identification and the part information set can be deployed in the block chain, and all parties can store the part related information stored by themselves into the part information set corresponding to the part identification in the block chain according to the part identification.
By means of the characteristics that the blockchain is difficult to tamper and is traceable in the whole process, all parties can store the related information of the parts into a credible environment in a comprehensive mode, and when the related information of the parts is inquired, a client or other mechanisms with inquiry requirements can trust that the related information of the parts 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 related information of the part in the block chain, because the block chain has a mechanism of multi-party signature, each party needs to attach the digital signature of the party when sending the transaction, so the related information of the part uploaded by each party cannot be repudiated, and can be used as an evidence in post audit, thereby warning each party not to do any harm and improving the credibility of the related information of the part.
In an optional embodiment, a corresponding blockchain account may be created for the part, so that the part related information is stored in fields such as a balance of the blockchain account corresponding to the part in the world state of the blockchain.
Specifically, after the part producer produces a new part, a corresponding blockchain account is created in the blockchain for the new part (a transaction for creating the blockchain account may be initiated by the part producer and the created blockchain account is associated with the new part). And other parties can store the relevant information of the new part in the record of the blockchain account corresponding to the new part.
Because the records of the blockchain accounts in the world state need to be anchored in the blockchain, the information related to the parts stored in the blockchain accounts corresponding to the parts is difficult to be tampered. And any operations performed on the blockchain account corresponding to the part are recorded into the blockchain.
Optionally, the blockchain account corresponding to the part may include a part identifier as a basis for storing or querying the related information.
In this embodiment, parts may uniquely correspond to a blockchain account, thereby facilitating storage or querying.
In another alternative embodiment, the part and corresponding part 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 can directly pack the part identification and the corresponding part related information into a transaction to be stored on the blockchain. When the relevant information of the part is specifically inquired, the transaction in the block chain can be traversed, and the part identification to be inquired and the corresponding relevant information of the part are determined. Of course, the block chain may also construct an index according to the part identifier, which facilitates determining the transaction location containing the corresponding part related information.
In the embodiment, the specific operation is simple to realize, and the part related information in the transaction is more difficult to tamper.
In another alternative embodiment, intelligent contracts may be utilized to store part-related information.
Alternatively, part-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 part-related information, so that the intelligent contract may store the part-related information in a field of the contract account or in another storage area. The smart contract may anchor the stored part-related information to the blockchain to prevent tampering.
The intelligent contract may specifically create a table or a set when storing the part related information, where the correspondence between the part identification and the part related information is stored.
Further, optionally, the storage method in the above 2 embodiments may also be executed by the smart contract.
For example, a corresponding blockchain account may be created for a part by a smart contract, or part-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 the part. Or the intelligent contract sends the transaction to the intelligent contract, and the part identification and the corresponding part 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 part information storage method based on a blockchain 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.
Part identification: the part may be uniquely associated with an identifier at the time of manufacture. The identifier may be a unique field string, and may include a part manufacturer identifier, a production date, a production lot, a specific serial number, and the like.
Optionally, to facilitate determining the identity of the part, the part may be made to carry the identity in some manner. For example, the part identifier is carved on the part by a special process, so that the carved part identifier is difficult to modify or is easy to find after modification.
The part production method comprises the following steps: a mechanism for producing parts. Such as an automobile door production mechanism, an automobile transmitter production mechanism, and the like.
Assembling parts: a mechanism for assembling a product from at least one part. Such as automobile manufacturers, etc. Wherein, after the product is assembled, the product can also uniquely correspond to a product identification.
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.
Uploading part information: and the mechanism is used for developing related business of the parts and generating related information aiming at the parts. For example, a logistics company for transporting parts may generate logistics information for the transported parts; an insurance company for providing an automobile insurance business, which can generate insurance information and the like for automobiles and parts; a maintenance company, which is used to maintain a product to replace parts, may generate replacement information or assembly information for the parts.
It should be noted that the part producing side or the part assembling side may also serve as the part information uploading side to generate the related information. For example, the part producing side may generate production-related information for the part, such as a production date, a production place, and the like, and may perform quality inspection to generate quality inspection result information; the part assembling method may perform quality inspection on the part to generate quality inspection result information.
Specifying an intelligent contract: and the intelligent contract is used for maintaining the corresponding relation set of the part identification and the part information set.
The corresponding relation between the part identification and the part information set can be stored in the block chain, so that the credibility of the part information is improved, and the part information is prevented from being tampered. The specified intelligent contract may maintain the corresponding relationship set, specifically, create a new corresponding relationship, add new part information to the part 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 part information storage method based on a blockchain according to 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 part identifier and the part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploader is configured to generate the relevant information for the part.
The method may include the following steps.
S101: after any part producer produces any new part, calling a specified intelligent contract to execute: and creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets.
S102: after any part assembler assembles any new product, calling a specified intelligent contract to execute: for any part used to assemble the new product, the identity of the new product is added to the set of part information corresponding to the identity of the part.
S103: after any part information uploader generates target information aiming at any target part, a specified intelligent contract is called to execute: and adding the target information into a part information set corresponding to the identification of the target part.
It should be noted that the above steps S101 to S103 are not limited to a definite time sequence relationship, and may be executed in parallel or sequentially.
For the part producing party, the part assembling party and the part information uploading party which are connected with the blockchain network, in an optional embodiment, for any part producing party, the blockchain network can check whether the part producing party is in compliance in advance, and if the part producing party is in compliance, the blockchain network can be connected with the part producing party. In particular, compliance may be determined by the blockchain network on a business basis.
Optionally, specifically checking whether the part producing party is compliant may include checking whether a qualification rate of the parts produced by the part 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 part manufacturer to verify compliance of the part manufacturer.
Of course, the non-compliant part producer cannot pass the check of the blockchain network, and the produced part identifier cannot be queried in the blockchain. The user can trust that parts corresponding to part identifications existing in the blockchain network are all produced by a compliant part producing party, so that the quality of the parts is conveniently controlled.
In addition to the above-described inspection for the part producing side, in an alternative embodiment, the compliance inspection may also be performed for any part assembling side or any part information uploading side. If compliance is determined, the blockchain network may interface the part assembler or part information uploader.
Optionally, specifically checking whether the part assembling party is in compliance may include checking whether a yield of a product assembled by the part assembling party is greater than a preset yield, and the like. The specific inspection of the part information uploader may include inspecting whether the part information uploader is qualified for generating the related information for the part.
For example, for an automobile, the part 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 inspection that the part assembly side or the part information uploading side that do not comply can't pass block chain network just also can't upload the relevant information of part to the convenient quality management and control to the part.
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 part information uploader may package the correspondence between the part identifier and the part related information in a transaction and upload the package 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 part identifier, and the part information set corresponding to the part identifier is stored in the blockchain account.
With respect to S101, in an alternative embodiment, after any new part is produced by any part producing party, a part identifier may be uniquely associated with the new part.
Optionally, the new part may be made to carry a part identification. The unique part identifier can be directly fired or imprinted on the new part, so that a part assembling party, a part information uploading party or other users or mechanisms needing to inquire the relevant information of the part according to the part identifier can directly execute the service according to the identifier carried on the part.
The part identification can facilitate uploading and inquiring of relevant information of the part. The part information uploading party can conveniently determine the corresponding part information set according to the part identification, so that the part information is stored in the corresponding part information set. And a user or a mechanism with query requirements can query the corresponding part information set according to the part identification.
In addition, the part production side can also be used as a part information uploading side to store part of part related information in the part information set in advance.
For example, the part producer may generate information such as production date, quality guarantee period, warranty period, etc. for the new part, and store the information into the part information set corresponding to the new part identifier.
Specifically, when a set of correspondence between new part identifiers and part information sets is created, in an optional embodiment, any part identifier uniquely corresponds to one part information set.
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 part identifier, the designated intelligent contract may create a blockchain account, correspond the new part identifier to the created blockchain account, and create a part information set in the created blockchain account, specifically, create a part information set in a field of the created blockchain account.
Optionally, in the case where the correspondence is stored in a transaction, the designated smart contract may package the new part identification into a transaction that is uploaded into the blockchain as a create transaction to create the correspondence. And then if any party needs to store the part related information in the part information set, directly packaging the part identification and the part 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 part 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 part identifiers, and the part identifiers of the creating transaction can be stored in the contract account in advance, so that the part identifiers can be directly searched in the contract account of the designated intelligent contract, and the verification is convenient.
With respect to S102, after assembling any new product with at least one part, any part assembling party may uniquely correspond a product identifier to the new 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.
And the storage of the product identification may characterize that the part has been assembled for use, as well as the identification of the product being assembled. A user or organization that facilitates the query determines the usage of the part and the product in which the part is used.
Optionally, the part assembling side can also upload other part related information for storage. Such as product warranty period, product quality related information, etc.
Through the above steps S101 to S103, the related information of the part may be stored in the blockchain by using the specified intelligent contract, specifically, the related information of the part may be stored in the part information set corresponding to the part identifier.
Wherein the related information may include one or more of the following information: the parts are classified according to the production method, the production method and the assembly method, and the parts are classified according to the production method, the production method and the assembly method.
After the related information of the parts is stored in the block chain, the query of a user or a mechanism with the query requirement can be facilitated. Specifically, the part can be queried in the blockchain according to the part identification.
In an alternative embodiment, any user or authority may invoke a specific smart contract to perform: and inquiring and returning a part information set corresponding to the part identifier from the corresponding relation set based on the part identifier to be inquired.
In this embodiment, a user or an organization can conveniently query according to the part identifier, and on one hand, the credibility of the queried part information can be determined to be higher based on the trust of the block chain, so that the quality of the part or the source of the traced part can be determined, and the risk of potential safety hazard or economic loss is reduced.
In a specific embodiment, information related to automobile parts, such as part 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, whole-process datamation and transparentization of the part information can be realized, information fragmentation of an automobile part market is broken, and whole-process traceability is realized. The user or the mechanism can conveniently inquire the full flow of the part according to the part identification.
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 addition, the information about the part stored in the blockchain may also have other roles, for example, facilitating the supervision of the part by a supervision authority.
In an alternative embodiment, the blockchain network may also be interfaced to at least one supervisor; a supervisor can be used to check whether the part is in compliance.
The present embodiment does not limit how to determine whether the parts are in compliance.
Optionally, determining whether the part stores the part 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 identification of the part to be checked, if the part information set corresponding to the identification cannot be inquired from the corresponding relation set, determining that the part to be checked is not in compliance.
Obviously, if the part information set corresponding to the identifier cannot be queried from the corresponding relationship set, the part producer does not create a corresponding relationship for the part identifier, and the block chain does not have part related information and does not meet the specification. In the case where only a compliant part producer can interface the blockchain network, it is apparent that the part may be produced by a non-compliant part producer.
Optionally, the method may further include determining whether a part information set corresponding to the part in the blockchain satisfies a specified check condition. Specifically, any supervisor may invoke a specific intelligent contract to execute: based on the identification of the part to be checked, if the part information set corresponding to the identification inquired from the corresponding relation set meets the specified checking condition, determining that the part to be checked is not in compliance, and adding the content for representing that the part to be checked is not in compliance into the part information set corresponding to the identification.
The specified checking condition can be used for judging the condition of the part according to the part information set corresponding to the part. 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 part information set comprises the damaged content used for representing the part to be checked; the part information set comprises content for representing non-compliance of the part to be checked; the part information set comprises product identification and the corresponding part to be checked is not assembled in the product currently; the part information set does not comprise a product identifier which is currently assembled by the corresponding part to be checked; the part information set comprises content for representing that the part to be checked is determined to be unqualified by a part producer; the part information set comprises contents for representing that the part to be checked is produced by a non-compliant part producer.
When the part information set comprises the damaged content for representing the damaged part to be checked, the part to be checked is damaged, and the supervisor can determine that the part to be checked is not qualified. The content characterizing the damage of the part to be checked can be uploaded by the traffic accident management department according to the parts involved in the traffic accident.
When the part information set comprises content for representing the non-compliance of the part to be checked, the supervisor can directly identify the non-compliance of the part to be checked. The content for characterizing the non-compliance of the part to be checked may specifically include: and the part assembling party or the logistics party determines the quality inspection result that the quality of the part to be inspected is unqualified during quality inspection.
When the part information set comprises the product identification and the corresponding part to be checked is not currently assembled in the product, the part to be checked is indicated to be assembled and used and is currently disassembled. For example, the disassembled parts on the vehicle usually have quality problems, so that the supervisor can determine that the parts to be checked are not qualified.
When the part information set does not comprise the product identification currently assembled by the corresponding part to be checked, the fact that the part to be checked is directly used for assembling the product is shown, and the assembled product identification is not uploaded and obviously does not conform to the regulation, the part to be checked can be determined to be not qualified by a supervisor.
When the part information set contains contents for representing that the part to be checked is not qualified by the part producer, the part to be checked is obviously not qualified by the producer but is circulated in the market in violation of the regulations, so that the supervisor can determine that the part to be checked is not qualified.
When the part information set contains content for representing that the part to be checked is produced by a part producer who is not in compliance, the producer itself is not in compliance, and the produced part is obviously not in compliance. For example, the part producing side produces parts that have a low yield, and produces parts that have a high yield and fail. Thus, the supervisor can identify that the part to be checked is non-compliant.
After determining that the part to be checked is not in compliance, the supervisor can put the part to be checked off shelf, specifically, recycle or destroy the part, and add the content for representing that the part to be checked is not in compliance to the part information set corresponding to the identifier, which indicates that the part 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 block chain is difficult to tamper and the whole process is marked, all parties can store the relevant information of the part into a credible environment comprehensively, when inquiring the relevant information of the part, a client or other organizations with inquiry requirements can trust that the relevant information of the part is not tampered after being stored into the block chain, and as the uploading party of the relevant information of the part is recorded by the block chain, a malicious uploading party can be determined through post-audit, the risk that the uploading party forges the relevant information of the part 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 relevant information of the part, the quality of the part can be effectively judged, the part tracing and the like can be carried out, the authenticity and the tracing operation of the part can be conveniently verified by the client, so that the risk and the potential safety hazard of economic loss are reduced, and the part with poor replaced quality is avoided.
For convenience of understanding, fig. 2 is a schematic diagram illustrating a part information storage and query method based on a blockchain according to an embodiment of the present disclosure.
The system comprises a block chain network, a part production party, a part assembly party, a part information uploading party and a user.
The part production method aims at the newly produced target part and creates the corresponding relation between the target part identification and the part information set in the block chain network.
And the part assembling party assembles the target parts into a product and stores the product identification into the part information set corresponding to the target part identification.
The part information uploading method generates logistics information for the product assembled by the target part, and stores the logistics information into the part information set corresponding to the target part identification.
After purchasing a product assembled by target parts, a user can inquire a corresponding part information set in a block chain network according to the identification of the target parts, so that the product identification and logistics information can be obtained, and further, whether the identification of the purchased product is the same as the obtained product identification can be verified through verification, and the authenticity of the parts can be verified. Part tracing can be performed through logistics information.
Corresponding to the above method flow, the present specification also provides a corresponding system embodiment. Fig. 3 is a schematic structural diagram of a part information storage system based on a blockchain according to an embodiment of the present disclosure.
The system comprises a block chain network, at least one part production party, at least one part assembly party and at least one part information uploading party. For convenience of description, at least one part producing side is described in entirety with a part producing side, at least one part assembling side is described in entirety with a part assembling side, and at least one part information uploading side is described in entirety with a part information uploading side in the drawings.
The system comprises a part production side integral connection block chain network, a part assembly side integral connection block chain network and a part information uploading side integral connection block chain network.
The block chain network stores a designated intelligent contract which is used for maintaining a corresponding relation set of the part identification and the part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploader is configured to generate the relevant information for the part.
The part production side is used for: after any new part is produced, calling a specified intelligent contract to execute: and creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets.
The part assembly side is used for: after any new product is assembled, calling a specified intelligent contract to execute: for any part used to assemble a new product, the identity of the new product is added to the set of part information corresponding to the identity of the part.
The part information uploading party is used for: after target information is generated for any target part, calling a specified intelligent contract to execute: and adding the target information into a part information set corresponding to the identification of the target part.
For specific explanation, reference may be made to the above method flow, which is not described herein again.
The 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 the steps performed by any part producing party, any part assembling party, or any part information uploading party in a part information storage method based on a blockchain.
Fig. 4 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).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
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 steps performed by any part producing party, any part assembling party, or any part information uploading party in a part information storage method based on a blockchain.
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 (12)

1. A part 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 part identification and a part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploading party is used for generating related information aiming at the part;
the method comprises the following steps:
after any part producer produces any new part, the appointed intelligent contract is called to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets;
after any part assembler assembles any new product, the appointed intelligent contract is called to execute: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part;
after any part information uploader generates target information for any target part, the appointed intelligent contract is called to execute: and adding the target information into a part information set corresponding to the identification of the target part.
2. The method of claim 1, further comprising:
any user or mechanism invokes the specified intelligent contract to perform: and inquiring and returning a part information set corresponding to the part identifier from the corresponding relation set based on the part identifier to be inquired.
3. The method of claim 1, the new part carrying a part identification.
4. The method of claim 1, the blockchain network further interfacing with at least one supervisor; the monitoring party is used for checking whether the parts are in compliance;
the method further comprises the following steps:
any supervisor invokes the specified intelligent contract to perform: and based on the identification of the part to be checked, if the part information set corresponding to the identification cannot be inquired from the corresponding relation set, determining that the part to be checked is not in compliance.
5. The method of claim 4, further comprising:
based on the identification of the part to be checked, if the part information set corresponding to the identification inquired from the corresponding relation set meets the specified checking condition, determining that the part to be checked is not in compliance, and adding the content for representing that the part to be checked is not in compliance into the part information set corresponding to the identification.
6. The method of claim 5, the specified audit conditions comprising one or more of the following:
the part information set comprises the damaged content used for representing the part to be checked;
the part information set comprises content for representing the non-compliance of the part to be checked;
the part information set comprises a product identifier and the corresponding part to be checked is not currently assembled in the product;
the part information set does not comprise the product identification currently assembled by the corresponding part to be checked;
the part information set comprises content for representing that the part to be checked is determined to be unqualified by a part producer;
the part information set comprises contents for representing that the part to be checked is produced by a non-compliant part producer.
7. The method of claim 1, further comprising: after determining that any part production side is in compliance, the block chain network is butted with the part production side;
and/or
After determining the compliance of any part assembling party, the block chain network is butted with the part assembling party;
and/or
And after determining the uploading party compliance of any part information, the block chain network is in butt joint with the uploading party of the part information.
8. 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.
9. The method of claim 1, the related information comprising one or more of:
the parts are classified according to the production method, the production method and the assembly method, and the parts are classified according to the production method, the production method and the assembly method.
10. A part 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 part identification and a part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploading party is used for generating related information aiming at the part;
the method is applied to any part production method and comprises the following steps:
after any new part is produced, calling the specified intelligent contract to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets;
the part information set is used for: after any part assembler assembles any new product, the appointed intelligent contract is called to execute: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part; after any part information uploader generates target information for any target part, the appointed intelligent contract is called to execute: and adding the target information into a part information set corresponding to the identification of the target part.
11. A part information storage system 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 part identification and a part information set; the block chain network is in butt joint with at least one part production party, at least one part assembly party and at least one part information uploading party; the part assembling side is used for assembling a product by utilizing at least one part; the part information uploading party is used for generating related information aiming at the part;
the system comprises the block chain network, at least one part production party, at least one part assembly party and at least one part information uploading party;
the part production side is used for: after any new part is produced, calling the specified intelligent contract to execute: creating a group of corresponding relations between the new part identifications and the part information sets for the new parts, and adding the created corresponding relations into the corresponding relation sets;
the part assembly side is used for: after any new product is assembled, the specified intelligent contract is invoked to perform: for any part used for assembling the new product, adding the identification of the new product to a part information set corresponding to the identification of the part;
the part information uploading party is used for: after target information is generated for any target part, calling the specified intelligent contract to execute: and adding the target information into a part information set corresponding to the identification of the target part.
12. 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 10 when executing the program.
CN202110648874.8A 2021-06-10 2021-06-10 Part information storage method and system based on block chain Pending CN113326322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110648874.8A CN113326322A (en) 2021-06-10 2021-06-10 Part information storage method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110648874.8A CN113326322A (en) 2021-06-10 2021-06-10 Part information storage method and system based on block chain

Publications (1)

Publication Number Publication Date
CN113326322A true CN113326322A (en) 2021-08-31

Family

ID=77421259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110648874.8A Pending CN113326322A (en) 2021-06-10 2021-06-10 Part information storage method and system based on block chain

Country Status (1)

Country Link
CN (1) CN113326322A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111340628A (en) * 2020-03-13 2020-06-26 普洛斯科技(重庆)有限公司 Asset information management method and device based on block chain
CN112699179A (en) * 2019-10-18 2021-04-23 霍尼韦尔国际公司 System and method for providing sourcing and anti-counterfeiting of parts using blockchain techniques

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699179A (en) * 2019-10-18 2021-04-23 霍尼韦尔国际公司 System and method for providing sourcing and anti-counterfeiting of parts using blockchain techniques
CN111340628A (en) * 2020-03-13 2020-06-26 普洛斯科技(重庆)有限公司 Asset information management method and device based on block chain

Similar Documents

Publication Publication Date Title
US11776061B1 (en) Using a distributed ledger for tracking VIN recordkeeping
US11270387B1 (en) Parts valuation and use
US20180341915A1 (en) Method and system for tracking and managing regulatory certificates of aircraft components
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
CN109101839B (en) Product maintenance support system based on block chain
US20110078074A1 (en) Systems, methods, and media for industry resource management and contract management
CN112200690A (en) Ship quality traceability system based on block chain
Dobaj et al. Towards a security‐driven automotive development lifecycle
US20220335553A1 (en) System and a method for generating and managing machine executable digital contracts
US10789570B1 (en) Parts inventory management
US20200143606A1 (en) System and method for detecting non-approved parts in a vehicle
CN109427014A (en) Insurance application generation method, device, equipment and computer readable storage medium
Burkacky Cybersecurity in automotive
CN104504487A (en) Method and system for tracing service object information between platforms
US11599390B2 (en) Tracking and managing resource performance and maintenance via distributed ledgers
KR102086688B1 (en) Vehicle information using system using block chain
Jiang et al. A Blockchain‐Based Vehicle Condition Recording System for Second‐Hand Vehicle Market
Gallina et al. VROOM & cC: a method to build safety cases for ISO 26262-compliant product lines
US20220035621A1 (en) Software query information management system and software query information management method
CN115049269A (en) Client credit management system applied to building material industry
US20230351317A1 (en) Systems and methods for initiating electronic remediation actions
CN113326322A (en) Part information storage method and system based on block chain
CN113326323A (en) Block chain-based product information storage method, device and system
CN114741738A (en) Tracing data processing method and device based on block chain, electronic equipment and medium

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