CN110335051A - A kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method - Google Patents

A kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method Download PDF

Info

Publication number
CN110335051A
CN110335051A CN201910592680.3A CN201910592680A CN110335051A CN 110335051 A CN110335051 A CN 110335051A CN 201910592680 A CN201910592680 A CN 201910592680A CN 110335051 A CN110335051 A CN 110335051A
Authority
CN
China
Prior art keywords
chain
information
unique code
node
block
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.)
Granted
Application number
CN201910592680.3A
Other languages
Chinese (zh)
Other versions
CN110335051B (en
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.)
Yantai Tongxiang Network Technology Co Ltd
Original Assignee
Yantai Tongxiang Network 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 Yantai Tongxiang Network Technology Co Ltd filed Critical Yantai Tongxiang Network Technology Co Ltd
Priority to CN201910592680.3A priority Critical patent/CN110335051B/en
Publication of CN110335051A publication Critical patent/CN110335051A/en
Application granted granted Critical
Publication of CN110335051B publication Critical patent/CN110335051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Landscapes

  • Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method, the unique code information block chain technology of Commercial goods labels verified in pairs using public and private key, realize main chain, secondary chain information anti-counterfeiting, anti-tamper, anti-replay, the unique code Internet communication of food labelling and one piece food information can independent chaining, quickly trace to the source, user includes the third-party institution for being separately connected internet, manufacturer at different levels, dealer and consumer;The third-party institution, manufacturer at different levels, dealer server database in store food labelling information block chain account book, the legal data of the new verifying of its other party of real-time reception publication and the local account book that timely updates, and the new block chain data of new data block, publication are mounted according to food transfer case;It obtained from more enterprise servers when consumer's barcode scanning, compare the newest block chain of timestamp, calculated and obtain foodstuff traceability information chain.

Description

A kind of unique code publication of food labelling based on block chain major-minor chain technology is traced back with circulation Source method
Technical field
The invention belongs to commodity circulations anti-fake, tracing technology field is based on block chain major-minor chain skill more particularly to one kind The unique code publication of the food labelling of art and circulation source tracing method.
Background technique
Food-safety problem is related to the health and life security of broad masses of the people, and fake and inferior commodities are seriously damaged Evil certified products businessman brand prestige and economic interests.As products in circulation are increasingly flourishing, the production division of labor increasingly refines, before circulation chain It is more difficult to realize to retrospect, the unlawful practices such as fake and forged, transregional sale are more difficult to distinguish and contain.Tradition is anti- Pseudo-, tracing technology includes the anti-counterfeiting marks such as two dimensional code, bar code, supervision code, the quality certification and two dimensional code additional coatings, scrapes off and sweep The measures such as code all can not fundamentally solve to carry out source area forgery, stream by means such as duplication, forgery, transfer anti-counterfeiting marks The problems such as logical link forgery and counterfeit and shoddy goods.In recent years, the companies such as Denmark's shipping giant Maersk, domestic Jingdone district group It attempts using technologies such as the decentralization of block chain, distributed book keeping operation and timestamps, enhancing Commercial goods labels information can not distort energy Power.
Such as: application No. is 201710335735.3, the applying date is on May 12nd, 2017, and patent name is based on for one kind The anti-counterfeit tracking verification method of block chain and the device for using this method include the following steps: that S1, buyer initiate to buy to the seller It requests and sends buyer's public key to the seller simultaneously;S2, the seller carry out signature shape to buyer's public key and data information with vendor private key Block chain is entered at antifalsification label, and by antifalsification label;Cargo is sent to buyer in company with antifalsification label by S3, the seller together; S4 after buyer receives cargo, verifies the true and false of cargo;Application No. is 201810188411.6, the applying date is 03 month 2018 07 Day, patent name is assets source tracing method, device, electronic equipment, storage medium based on block chain, the assets based on block chain Source tracing method, comprising: receive the asset identification of assets;Determine the abstract query pattern figure for being associated with the assets;Based on the pumping As query pattern figure generates query pattern figure according to the business model for being associated with the asset identification;And according to the query pattern Figure inquires the data of tracing to the source for being associated with the asset identification from the database of tracing to the source being arranged in the block chain chain;Application No. is 201710281043.5, the applying date is on 04 26th, 2017, and patent name is a kind of anti-fake traceability system of logistics Means of Agricultural Production and side It is owned by France in information services field, system include antifalsification label, anti-fake reading machine, server and supplier card, it is described anti-fake Label is fixedly mounted on the sealing part of means of agricultural production packaging bag;The anti-fake reading machine is connect with server by network data transmission, Anti-fake reading machine recognition antifalsification label and supplier's card;Supplier's card is portable information card.
But the block chain technology for being derived from bit coin need to rely on the powerful operational capability of huge amount " digging expansion person ", just can ensure that Correct data chain be most long-chain, can provide theoretic most long-chain can not forge, cause merchandise news block be added to chain with And the operations such as information source tracing verifying all have to powerful calculating ability, bring hardware burden for manufacturers at different levels, retailer, Also Consumer handheld devices' real-time perfoming commodity circulation is difficult to realize to trace to the source.
Summary of the invention
The purpose of the present invention is to provide a kind of unique code publication of food labelling based on block chain major-minor chain technology and streams Logical source tracing method, the unique code information block chain technology of Commercial goods labels verified in pairs using public and private key are produced in circulation chain The method that the front stage manufacturing enterprise of certain viand or sale enterprise are verified in pairs by private key and public key is by food labelling Main chain is added as block information at secondary chain, secondary chain and timestamp in unique code information block linking, realizes main chain, secondary chain information Anti-counterfeiting, anti-tamper, anti-replay.
The technical scheme of the present invention is realized as follows: a kind of unique code of food labelling based on block chain major-minor chain technology Publication and circulation source tracing method, user includes the third-party institution, manufacturer at different levels, dealer and consumer, is separately connected Internet;The third-party institution, manufacturer at different levels, dealer server database in store food labelling information block chain account This, the legal data of the new verifying of its other party of real-time reception publication and the local account book that timely updates, and feelings are shifted according to food Condition mounts new data block, issues new block chain data;When obtaining, compare from more enterprise servers when consumer's barcode scanning Between stab newest block chain, calculate and obtain foodstuff traceability information chain.
Furtherly, the above method uses major and minor chain structure,
(1) main chain: including previous node block HASH value, present node block information and present node block information and Previous node block HASH value calculates the HASH value generated;Present node block information includes the sender of timestamp, timestamp Intrinsic private key signature, unique yardage group, unique yardage group caller information, unique yardage group recipient's information;Adjacent node HASH value ensures that the block information of the main chain any node can not be modified or be forged;
(2) secondary chain: a unique code in unique yardage group of main chain node block information is constituted according to its circulation sequence One secondary chain, unique code stream in secondary chain is through manufacturers at different levels, dealer;Secondary chain includes that unique code data, unique code are current The disposable private key and timestamp that forwarding side temporarily generates number after the intrinsic private key signature in the forwarding side and recipient's public key encryption The unique code forwarding side of a node on the corresponding One-off public key of disposable private key and the pair chain is temporarily generated according to, current forwarding side The disposable private key and caller information temporarily generated.
Furtherly, unique yard of information in the secondary chain is generated by the third-party institution and carries out private key signature to it, respectively Grade manufacturer, dealer and consumer can utilize the unique code authenticity of third-party institution's public key verifications;
Secondary chain adjacent node with the node public and private key password that currently side of forwarding generates to linking, and through current forwarding side Intrinsic private key signature can prevent the illegal one yard of multi-purpose problem in forwarding side;
Only have recipient that could decrypt in secondary chain to obtain previous node private key and verify forwarding side's identity, it should continuing forwarding The private key is added in current node information when unique code, realizes and is mounted with previous node;
Unique yard of information is distributed to certain manufacturing enterprise, any puppet by Web broadcast for the third-party institution by secondary chain first node The secondary chain node made is added in main chain even from main chain create-rule, also cannot achieve secondary chain node linking, the i.e. forgery Secondary chain can not trace forward to form complete food circulation company information chain;
A large amount of enterprises participate in generating secondary chain and are added to main chain, and each enterprise and other multi-party enterprises may all occur only One yard of transfer relationship, verified legal secondary chain and unique code ensure the uniqueness of legal main chain;
Information includes the timestamp of sender's private key encryption, recipient's public key encryption in secondary chain node, and the information is once adding After being added to main chain, no matter sender and recipient can not be changed;
When constructing secondary chain, time forward node is used as legitimate node using in timestamp, fraudulent copying or forges in pair chain Certain nodal information simultaneously repeats sending in main chain, will be abandoned, realizes anti-replay-attack.
Furtherly, the main chain can bifurcated, secondary chain will not generate bifurcated, and the block message on main chain bifurcated is passing through secondary chain Also will be after linking verifying is legal it is effective, manufacturer at different levels, supplier are being retrieved selection according to highest security principle To longest main chain on mount newly-generated block message;
The main chain can bifurcated be to be made due to generating the chain linked to owner mounting simultaneously after of new block number there may be multiple enterprises At, the characteristics of this bifurcated is short bifurcated, small bifurcated, and main chain will extend in one direction always;
The pair chain will not generate bifurcated and refer to according to aforesaid time stamp time forward principle and public key, private key pair verifying It is connected principle, secondary chain is the chain of a front and back one-to-one linking of node.
Furtherly, unique code is generated by the third-party institution, and the information content includes food classification coding and timestamp Third-party institution's private key signature information and food classification coding and the MD5 digest information of timestamp, the third-party institution The mechanism for referring to the public letter of government authorization or society, encodes food classification using MD5 message digest algorithm and timestamp is transported The food labelling code calculated, and the intrinsic private key signature information of food classification coding and timestamp is combined to generate;Manufacturing enterprise, sale Enterprise, consumer are decrypted signing messages using third-party institution's public key, and calculate its MD5 digest, in unique code MD5 digest comparing verifies unique code correctness.
Furtherly, the intrinsic private key signature of described sender refer to sender using asymmetric cryptographic technique generate private key, Public key cryptography pair, sender save private key, open public key;Sender encrypts transmitted information using private key, receives Fang Liyong public key is decrypted encryption information to verify the identity of sender;Described sender, recipient's information refer to its enterprise The information such as industry title, social credibility number, address.
Furtherly, the secondary chain node linking refers to that the front and back phase as secondary chain is shifted in same unique yard of front and back twice Adjacent node, the disposable private key in One-off public key and latter node in former point constitute one in asymmetric cryptosystem Group key pair, wherein secondary chain first node is generated by the unique code of third-party institution's broadcast distribution, and disposable private key can be sky.
Furtherly, the secondary chain is connected verifying by One-off public key, private key;
Recipient or consumer can follow public key, private key association and caller information and successively trace food circulation, specific side Method:
S1, the unique code of a certain item, recipient or Consumer handheld devices are believed according to the corresponding sender of the unique code Breath inversely searches the node that sender sends data from main chain;
S2, to the node for belonging to sender, check unique code in unique yardage group of block information, retrieve it is identical only One yard of entry and corresponding caller information, unique yard of entry identical to the two or more pieces of same sender retain master The timestamp time is earlier in chain block information;
S3, sender is successively traced, is the third-party institution until reaching unique yard of the sender;
S4, analytical calculation unique code after sender and the time.
By adopting the above technical scheme, what the present invention realized has the beneficial effect that: the commodity mark verified in pairs using public and private key Unique code information block chain technology is signed, front stage manufacturing enterprise or the sale enterprise of certain viand in circulation chain are produced The unique code information block of food labelling is connected into secondary chain, secondary chain and timestamp with the method that public key is verified in pairs by private key Main chain is added as block information, realizes main chain, secondary chain information anti-counterfeiting, anti-tamper, anti-replay, the unique code network of food labelling Propagate and one piece food information can independent chaining, quickly trace to the source, calculation amount greatly reduces, for manufacturers at different levels, retailer Mitigate hardware burden, but also consumer is easy to carry out real-time commodity circulation by handheld device to trace to the source.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is this Some embodiments of invention to those skilled in the art, can also be according to this under the premise of not staying alone creative work A little attached drawings obtain other attached drawings.
Fig. 1 is system distribution map of the invention;
Fig. 2 is that main chain of the invention constitutes figure;
Fig. 3 is that main chain block information of the invention constitutes figure;
Fig. 4 is that unique yard of information of the invention constitutes figure;
Fig. 5 is that unique yardage group information of the invention constitutes figure;
Fig. 6 is that secondary chain of the invention constitutes figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Embodiment 1:
As shown in Figure 1, a kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method, User includes the third-party institution, manufacturer at different levels, dealer and consumer, is separately connected internet;It is the third-party institution, each Grade manufacturer, dealer server database in store food labelling information block chain account book, its other party of real-time reception publication The legal data of new verifying and the local account book that timely updates, and new data block, publication are mounted according to food transfer case New block chain data;It obtained from more enterprise servers when consumer's barcode scanning, compare the newest block chain of timestamp, calculating obtains Obtain foodstuff traceability information chain.
It is formed as shown in Fig. 2, main chain is connected by block HASH value.Certain node block includes previous node block HASH value, Also comprising by this block information data and the calculated HASH value of previous node block HASH value.The third-party institution, production at different levels Enterprise, sale enterprise and consumer end's equipment will be selected first according to highest security principle longest main chain carry out inversely by Node verification, including bifurcated chain is verified, the HASH value of calculate node block is passed through and works as proparea with what is saved in block Block HASH value is compared, and verifies accuracy, the integrality of the node block information;By node by node to being saved in current block Previous block HASH value and previous block in the current block HASH value that saves carry out calculating ratio pair, each node rank of verifying main chain Accuracy, the integrality connect.If the node that longest main chain has modification, forges block information, will successively select other shorter Main chain carries out legitimate verification.Legal but invalid block information node is associated with for the front and back HASH value being articulated on main chain, For example, the node of mounting block data, the node for forging unique code data etc. are repeated, it is such since secondary chain information can not be connected Block information does not work to tracing to the source, and only increases backbone length.For same extreme length but least significant end one or more section Point block message and its different chain of HASH value will selects the legal and the smallest chain of HASH value of verifying as main chain;Other nodes will As bifurcated.Can be traced same node due to verifying legal main chain, each enterprise when updating local server database from Same node establishes bifurcated.Node block data owned enterprise repeats mounting block data on main chain on bifurcated, to prevent point Fork data are maliciously deleted or are distorted.
As shown in figure 3, block information includes timestamp, the intrinsic private key signature of sender of timestamp, unique yardage group, hair The side's of sending information, recipient's information.Recipient traverses main chain recipient information, searches by the received data of we, by utilizing hair The side of sending public key decryptions sender verifies sender's identity, and store valid data to the intrinsic private key signature of timestamp.
As shown in figure 4, the third-party institution encodes to food classification and timestamp carries out intrinsic private key signature, and additional categories The MD5 digest data of coding and timestamp, constitute unique code.The third-party institution, manufacturing enterprise at different levels, sale enterprise and consumption Person's terminal device is compared after private key signature is decrypted using third-party institution's public key with MD5 digest data, and verifying is only One yard of legitimacy.
As shown in figure 5, One-off public key, private key pair that unique yardage group is generated by a large amount of unique codes and corresponding sender Etc. information composition.One group of unique yardage group be supplied to by sender some next link enterprise food label batch it is unique Code.After recipient receives unique yardage group, circulation situation can be dispersed according to food and breaks, recombinate the new unique yardage group of formation.
As shown in fig. 6, secondary chain is connected verifying by One-off public key, private key;
Recipient or consumer can follow public key, private key association and caller information and successively trace food circulation, specific side Method:
S1, the unique code of a certain item, recipient or Consumer handheld devices are believed according to the corresponding sender of the unique code Breath inversely searches the node that sender sends data from main chain;
S2, to the node for belonging to sender, check unique code in unique yardage group of block information, retrieve it is identical only One yard of entry and corresponding caller information, unique yard of entry identical to the two or more pieces of same sender retain master The timestamp time is earlier in chain block information;
S3, sender is successively traced, is the third-party institution until reaching unique yard of the sender;
S4, analytical calculation unique code after sender and the time.
The unique code information block chain technology of Commercial goods labels that the present invention uses public and private key to verify in pairs produces circulation chain In certain viand front stage manufacturing enterprise or the method verified in pairs by private key and public key of sale enterprise by food Main chain is added as block information at secondary chain, secondary chain and timestamp in the unique code information block linking of label, realizes main chain, secondary chain Information anti-fake makes, is anti-tamper, anti-replay, the unique code Internet communication of food labelling and one piece food information can independent chaining, Quickly trace to the source.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (8)

1. a kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method, it is characterised in that: User includes the third-party institution, manufacturer at different levels, dealer and consumer, is separately connected internet;It is the third-party institution, each Grade manufacturer, dealer server database in store food labelling information block chain account book, its other party of real-time reception publication The legal data of new verifying and the local account book that timely updates, and new data block, publication are mounted according to food transfer case New block chain data;It obtained from more enterprise servers when consumer's barcode scanning, compare the newest block chain of timestamp, calculating obtains Obtain foodstuff traceability information chain.
2. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 1 is traced back with circulation Source method, it is characterised in that: the above method uses major and minor chain structure.
(1) main chain: including previous node block HASH value, present node block information and present node block information and previous Node block HASH value calculates the HASH value generated;Present node block information includes that timestamp, the sender of timestamp are intrinsic Private key signature, unique yardage group, unique yardage group caller information, unique yardage group recipient's information;Adjacent node HASH value Ensure that the block information of the main chain any node can not be modified or be forged;
(2) secondary chain: a unique code in unique yardage group of main chain node block information constitutes one according to its process that circulates Secondary chain, unique code stream in secondary chain is through manufacturers at different levels, dealer;Secondary chain includes that unique code data, unique code currently forward The disposable private key that temporarily generates of side and timestamp after the intrinsic private key signature in the forwarding side and recipient's public key encryption data, when It is interim that forward originating party temporarily generates the unique code forwarding side of a node on the corresponding One-off public key of disposable private key and the pair chain The disposable private key and caller information generated.
3. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 2 is traced back with circulation Source method, it is characterised in that: unique yard of information in the pair chain is generated by the third-party institution and carries out private key signature to it, respectively Grade manufacturer, dealer and consumer can utilize the unique code authenticity of third-party institution's public key verifications;
Secondary chain adjacent node with the node public and private key password that currently side of forwarding generates to linking, and it is intrinsic through current forwarding side Private key signature can prevent the illegal one yard of multi-purpose problem in forwarding side;
Only have recipient that could decrypt in secondary chain to obtain previous node private key and verify forwarding side's identity, is continuing to forward this unique The private key is added in current node information when code, realizes and is mounted with previous node;
Unique yard of information is distributed to certain manufacturing enterprise by Web broadcast for the third-party institution by secondary chain first node, any forgery Secondary chain node is added in main chain even from main chain create-rule, also cannot achieve secondary chain node linking, i.e. the forgery pair chain It can not trace forward to form complete food circulation company information chain;
A large amount of enterprises participate in generating secondary chain and are added to main chain, and unique code may all occur for each enterprise and other multi-party enterprises Transfer relationship, verified legal secondary chain and unique code ensure the uniqueness of legal main chain;
Information includes the timestamp of sender's private key encryption, recipient's public key encryption in secondary chain node, and the information is once being added to After main chain, no matter sender and recipient can not be changed;
When constructing secondary chain, time forward node is used as legitimate node using in timestamp, fraudulent copying or forges certain in secondary chain and saves Point information simultaneously repeats sending in main chain, will be abandoned, realizes anti-replay-attack.
4. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 2 is signed with circulation Card method, it is characterised in that: the main chain can bifurcated, secondary chain will not generate bifurcated, and the block message on main chain bifurcated is passing through pair Also will be after chain linking verifying is legal it is effective, manufacturer at different levels, supplier are being examined selection according to highest security principle Rope to longest main chain on mount newly-generated block message;
The main chain can bifurcated be as caused by generating the chain linked to owner mounting simultaneously after of new block number there may be multiple enterprises, The characteristics of this bifurcated is short bifurcated, small bifurcated, and main chain will extend in one direction always;
The pair chain will not generate bifurcated and refer to according to aforesaid time stamp time forward principle and public key, private key pair verifying linking Principle, secondary chain are the chains of a front and back one-to-one linking of node.
5. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 2 is traced back with circulation Source method, it is characterised in that: unique code is generated by the third-party institution, and the information content includes food classification coding and timestamp Third-party institution's private key signature information and food classification coding and the MD5 digest information of timestamp, the third-party institution The mechanism for referring to the public letter of government authorization or society, encodes food classification using MD5 message digest algorithm and timestamp is transported The food labelling code calculated, and the intrinsic private key signature information of food classification coding and timestamp is combined to generate;Manufacturing enterprise, sale Enterprise, consumer are decrypted signing messages using third-party institution's public key, and calculate its MD5 digest, in unique code MD5 digest comparing verifies unique code legitimacy.
6. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 2 is traced back with circulation Source method, it is characterised in that: the intrinsic private key signature of described sender refer to sender using asymmetric cryptographic technique generate private key, Public key cryptography pair, sender save private key, open public key;Sender encrypts transmitted information using private key, receives Fang Liyong public key is decrypted encryption information to verify the identity of sender;Described sender, recipient's information refer to its enterprise The information such as industry title, social credibility number, address.
7. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 3 is traced back with circulation Source method, it is characterised in that: the pair chain node linking refers to that the front and back as secondary chain is shifted in same unique yard of front and back twice Adjacent node, the disposable private key in One-off public key and latter node in former point are constituted in asymmetric cryptosystem One group key pair, wherein secondary chain first node is generated by the unique code of third-party institution's broadcast distribution, and disposable private key can be It is empty.
8. the unique code publication of a kind of food labelling based on block chain major-minor chain technology according to claim 2 or 3 and stream Logical source tracing method, it is characterised in that: the pair chain is connected verifying by One-off public key, private key;
Recipient or consumer can follow public key, private key association and caller information and successively trace food circulation, specific method:
S1, to the unique code of a certain item, recipient or Consumer handheld devices according to the corresponding caller information of the unique code from The node that sender sends data is inversely searched in main chain;
S2, to the node for belonging to sender, check unique code in unique yardage group of block information, retrieve identical unique code Entry and corresponding caller information, unique yard of entry identical to the two or more pieces of same sender, retain main chain area The timestamp time is earlier in block message;
S3, sender is successively traced, is the third-party institution until reaching unique yard of the sender;
S4, analytical calculation unique code after sender and the time.
CN201910592680.3A 2019-07-03 2019-07-03 Food tag unique code release and circulation tracing method based on block chain main and auxiliary chain technology Active CN110335051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910592680.3A CN110335051B (en) 2019-07-03 2019-07-03 Food tag unique code release and circulation tracing method based on block chain main and auxiliary chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910592680.3A CN110335051B (en) 2019-07-03 2019-07-03 Food tag unique code release and circulation tracing method based on block chain main and auxiliary chain technology

Publications (2)

Publication Number Publication Date
CN110335051A true CN110335051A (en) 2019-10-15
CN110335051B CN110335051B (en) 2023-12-19

Family

ID=68144646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910592680.3A Active CN110335051B (en) 2019-07-03 2019-07-03 Food tag unique code release and circulation tracing method based on block chain main and auxiliary chain technology

Country Status (1)

Country Link
CN (1) CN110335051B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639328A (en) * 2020-05-25 2020-09-08 上海中通吉网络技术有限公司 Commodity traceability method based on block chain system and block chain system
CN113128245A (en) * 2021-03-24 2021-07-16 广州智投链码科技有限公司 Method for generating and managing enterprise chain code
CN113128950A (en) * 2021-03-24 2021-07-16 广州智投链码科技有限公司 Enterprise chain code service platform
CN113642018A (en) * 2021-08-11 2021-11-12 永旗(北京)科技有限公司 Key management method based on block chain
CN115643292A (en) * 2022-12-21 2023-01-24 中科航迈数控软件(深圳)有限公司 Machine tool energy consumption data tracking method and device based on double-layer block chain

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
KR101701131B1 (en) * 2016-04-28 2017-02-13 주식회사 라피 Data recording and validation methods and systems using the connecting of blockchain between different type
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
CN107566407A (en) * 2017-10-20 2018-01-09 哈尔滨工程大学 A kind of two-way authentication Security Data Transmission and storage method based on USBkey
CN108305083A (en) * 2018-02-11 2018-07-20 张国忠 A kind of commodity source tracing method and system based on block chain
CN108830617A (en) * 2018-06-12 2018-11-16 黑启栋 Super code anti-counterfeiting method and system based on block chain
CN109146516A (en) * 2018-08-02 2019-01-04 佛山鑫达智汇科技有限公司 A kind of white wine traceability system based on block chain
WO2019052286A1 (en) * 2017-09-12 2019-03-21 广州广电运通金融电子股份有限公司 User identity verification method, apparatus and system based on blockchain
US20190173667A1 (en) * 2016-12-23 2019-06-06 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block generation method, device and blockchain network
CN109948003A (en) * 2019-03-20 2019-06-28 武汉大学 A kind of the block catenary system and its block production method of isomorphism bimodulus major-minor chain

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
KR101701131B1 (en) * 2016-04-28 2017-02-13 주식회사 라피 Data recording and validation methods and systems using the connecting of blockchain between different type
CN106790431A (en) * 2016-12-05 2017-05-31 同济大学 Cloud manufacturing service Transaction Information record system and method based on block chain
US20190173667A1 (en) * 2016-12-23 2019-06-06 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block generation method, device and blockchain network
WO2019052286A1 (en) * 2017-09-12 2019-03-21 广州广电运通金融电子股份有限公司 User identity verification method, apparatus and system based on blockchain
CN107566407A (en) * 2017-10-20 2018-01-09 哈尔滨工程大学 A kind of two-way authentication Security Data Transmission and storage method based on USBkey
CN108305083A (en) * 2018-02-11 2018-07-20 张国忠 A kind of commodity source tracing method and system based on block chain
CN108830617A (en) * 2018-06-12 2018-11-16 黑启栋 Super code anti-counterfeiting method and system based on block chain
CN109146516A (en) * 2018-08-02 2019-01-04 佛山鑫达智汇科技有限公司 A kind of white wine traceability system based on block chain
CN109948003A (en) * 2019-03-20 2019-06-28 武汉大学 A kind of the block catenary system and its block production method of isomorphism bimodulus major-minor chain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639328A (en) * 2020-05-25 2020-09-08 上海中通吉网络技术有限公司 Commodity traceability method based on block chain system and block chain system
CN111639328B (en) * 2020-05-25 2023-10-10 上海中通吉网络技术有限公司 Commodity tracing method based on blockchain system and blockchain system
CN113128245A (en) * 2021-03-24 2021-07-16 广州智投链码科技有限公司 Method for generating and managing enterprise chain code
CN113128950A (en) * 2021-03-24 2021-07-16 广州智投链码科技有限公司 Enterprise chain code service platform
CN113642018A (en) * 2021-08-11 2021-11-12 永旗(北京)科技有限公司 Key management method based on block chain
CN115643292A (en) * 2022-12-21 2023-01-24 中科航迈数控软件(深圳)有限公司 Machine tool energy consumption data tracking method and device based on double-layer block chain

Also Published As

Publication number Publication date
CN110335051B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN110335051A (en) A kind of unique code publication of food labelling based on block chain major-minor chain technology and circulation source tracing method
CN109191003A (en) Fruits and vegetables agricultural product quality safety traceability system based on block chain
CN104299140A (en) Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce
US9858569B2 (en) Systems and methods in support of authentication of an item
CN110807641A (en) Pet food traceability system
CN201716765U (en) Wine counterfeiting tracing system based on two-dimensional bar codes
Jiang et al. A privacy-preserving e-commerce system based on the blockchain technology
CN107301521A (en) Strengthen the method for warehouse receipt transaction security in a kind of warehouse receipt system based on block chain
CN102004965B (en) Double ant-counterfeiting method and system of product
CN103886469A (en) Product two-dimension code generation and query system
CN107292629A (en) Anti-counterfeit tracking verification method based on block chain and the device using this method
CN104933371A (en) Logistics personal information privacy protection system based on multilayer-encrypted two-dimensional code
CN101009014A (en) Secure anti-counterfeiting method and system thereof
CN108876538B (en) A kind of order information processing method
Khalil et al. A novel RFID-based anti-counterfeiting scheme for retail environments
CN113469716A (en) Product tracing method and system based on block chain and identification analysis
CN101807285A (en) Method for interactive dynamic forgery prevention and verification
CN102855577A (en) Multiple merchandise anti-counterfeiting verification method based on cloud computing
CN101833724A (en) System and method for saving e-commerce data telegraph text and forming judicial evidence by other party
CN104182866A (en) Product or object anti-counterfeiting system and method suitable for situations, such as switch transaction and the like
CN105373933A (en) Food circulation traceability method based on electronic inspection report
CN111401927A (en) Food label unique code issuing and circulation tracing method based on block chain major-minor chain technology
CN106971311A (en) A kind of false proof traceability system of logistics Means of Agricultural Production and method
Jayaprasanna et al. A block chain based management system for detecting counterfeit product in supply chain
CN105956804A (en) Safe order system based on digital certificate

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
GR01 Patent grant
GR01 Patent grant