CN108710924A - Information query method based on block chain and system - Google Patents

Information query method based on block chain and system Download PDF

Info

Publication number
CN108710924A
CN108710924A CN201810395972.3A CN201810395972A CN108710924A CN 108710924 A CN108710924 A CN 108710924A CN 201810395972 A CN201810395972 A CN 201810395972A CN 108710924 A CN108710924 A CN 108710924A
Authority
CN
China
Prior art keywords
block chain
product
information
codes
product labelling
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
CN201810395972.3A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810395972.3A priority Critical patent/CN108710924A/en
Publication of CN108710924A publication Critical patent/CN108710924A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of information query method and system based on block chain, establishes block chain to back up the specify information in central database corresponding to each Product labelling;Specify information is added in corresponding block chain according to the number of Product labelling;After the sealing QR codes of Product labelling are scanned for the first time, writing scan date and time in corresponding block chain and in central database, and close corresponding block chain.The present invention is combined block chain with Product labelling, can inquire whether product is used, sealed off or failed;Prevent a certain block, label in other products;Anyone even central database altered data is prevented, information addition is unidirectional, is terminated after scanning seal laber, data safety and reliability.

Description

Information query method based on block chain and system
Technical field
The present invention relates to communication and product certification technical fields, and in particular, to the information query method based on block chain And system.
Background technology
The certification and tracking of product refer to:In product automation assembling line and each process, it is using bar code Main parts size stamps bar-code label.After acquiring and decode by barcode reader, bar code information inputs the number of Computer Service According to library.Every product and critical piece all can be there are one unique bar codes.It, all can there are records no matter product is sent to where.Such as Problem occurs for fruit, need to only read in the bar code on product, so that it may to recall all related datas of the product in database, significantly Facilitate the follow-up of quality and after-sale service of product.
However, product certification currently on the market and tracking system and unsound, it can only the certified product true and false and certification Whether product is sealed off, however bar code itself and its internal information do not have safeguard protection, is easy to be illegally used and distort.
Current block chain (DLT) increasingly focuses on encryption currency, secondly the block chain distribution classification of concern actual use The practical utilization power of account technology.It does not show that whom actual verification node is, these nodes are mainly used to dig coin, secondly uses In other purposes.Therefore, it is necessary to a kind of reality being directed to product certification and tracking and the block chain technologies realized comprehensively.
Invention content
For the defects in the prior art, the object of the present invention is to provide a kind of information query method based on block chain and System.
According to a kind of information query method based on block chain provided by the invention, including
Block chain establishment step:Block chain is established to back up the specified letter in central database corresponding to each Product labelling Breath;
Information adds step:Specify information is added in corresponding block chain according to the number of Product labelling;
Information inquiry step:After the sealing QR codes of Product labelling are scanned for the first time, in corresponding block chain and Writing scan date and time in central database, and close corresponding block chain.
Preferably, the block chain includes key node and participates in node, the key node has respective server system System carrys out separate storage ledger, and the participation node is the common node for having specified IP address.
Preferably, the specify information includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, Seal QR codes, Expiration Date and logistics information.
Preferably, the number of the Product labelling of each Product labelling, the product QR codes and sealing QR codes are random It generates and is associated together at random.
According to a kind of information query system based on block chain provided by the invention, including
Block chain establishes module:Block chain is established to back up the specified letter in central database corresponding to each Product labelling Breath;
Information add module:Specify information is added in corresponding block chain according to the number of Product labelling;
Information inquiry module:After the sealing QR codes of Product labelling are scanned for the first time, in corresponding block chain and Writing scan date and time in central database, and close corresponding block chain.
Preferably, the block chain includes key node and participates in node, the key node has respective server system System carrys out separate storage ledger, and the participation node is the common node for having specified IP address.
Preferably, the specify information includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, Seal QR codes, Expiration Date and logistics information.
Preferably, the number of the Product labelling of each Product labelling, the product QR codes and sealing QR codes are random It generates and is associated together at random.
Compared with prior art, the present invention has following advantageous effect:
The present invention is combined block chain with Product labelling, can inquire whether product is used, sealed off or failed;Prevent certain One block, label are in other products;Prevent anyone even central database altered data, information addition be it is unidirectional, Terminate after scanning seal laber, data safety and reliability.
Description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of the present invention.
Specific implementation mode
With reference to specific embodiment, the present invention is described in detail.Following embodiment will be helpful to the technology of this field Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention Protection domain.
As shown in Figure 1, a kind of information query method based on block chain provided by the invention, including
Block chain establishment step:Block chain is established to back up the specified letter in central database corresponding to each Product labelling Breath.Block chain includes key node and participates in node, and key node has respective server system to carry out separate storage ledger, is joined It is the common node for having specified IP address with node.Key node is anchor partner node, such as Product labelling and government Association and authoritative institution and strategic partner (logistics etc.), it is participant/trade company in system to participate in node, and is participated in Person/trade company can also possess the key node of oneself.
Information adds step:Specify information is added in corresponding block chain according to the number of Product labelling.Specified letter Breath includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, sealing QR codes, Expiration Date and logistics letter Breath.
Number, product QR codes and the sealing QR codes of the Product labelling of each Product labelling are random generation and are associated at random Together.Its generation step is as follows:The random number for generating Product labelling, product QR codes and sealing QR codes;Verify Product labelling Number, product QR codes and the uniqueness for sealing QR codes;At random by the number of Product labelling with uniqueness, product QR codes and close Envelope QR codes are associated together Product labelling are made, and are recorded in central database and block chain, effectively prevent being forged with It usurps.In the present embodiment, Product labelling uses double-layer structure, product QR codes to be set to outer layer, and sealing QR codes are set to internal layer, Outer layer is torn i.e. it can be seen that the sealing strip QR codes of internal layer.Product labelling integrally uses metal material, and scratch-resistant, heat-resisting and waterproof can To use for a long time.Product QR codes can be used as product that can trace label and information channel, and one scanned can know related production The information of product.Sealing QR codes are " stealth " pattern, expose, as a child fail 8 after scanning, to promote certification once tearing Level is registered, simple using process, safe and reliable.
Information inquiry step:After the sealing QR codes of Product labelling are scanned for the first time, in corresponding block chain and Writing scan date and time in central database, and close corresponding block chain, if closing cannot interpolation data again, table Show that product has been used/failed.The block chain closed is stored, the reliable sources of Future Data analysis are can be used as.
On the basis of a kind of above-mentioned information query method based on block chain, the present invention also provides one kind being based on block chain Information query system, including
Block chain establishes module:Block chain is established to back up the specified letter in central database corresponding to each Product labelling Breath.Block chain includes key node and participates in node, and key node has respective server system to carry out separate storage ledger, is joined It is the common node for having specified IP address with node.Key node is anchor partner node, such as Product labelling and government Association and authoritative institution and strategic partner (logistics etc.), it is participant/trade company in system to participate in node, and is participated in Person/trade company can also possess the key node of oneself.
Information add module:Specify information is added in corresponding block chain according to the number of Product labelling.Specified letter Breath includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, sealing QR codes, Expiration Date and logistics letter Breath.
Number, product QR codes and the sealing QR codes of the Product labelling of each Product labelling are random generation and are associated at random Together.Its generation module is as follows:The random number for generating Product labelling, product QR codes and sealing QR codes;Verify Product labelling Number, product QR codes and the uniqueness for sealing QR codes;At random by the number of Product labelling with uniqueness, product QR codes and close Envelope QR codes are associated together Product labelling are made, and are recorded in central database and block chain, effectively prevent being forged with It usurps.In the present embodiment, Product labelling uses double-layer structure, product QR codes to be set to outer layer, and sealing QR codes are set to internal layer, Outer layer is torn i.e. it can be seen that the sealing strip QR codes of internal layer.Product labelling integrally uses metal material, and scratch-resistant, heat-resisting and waterproof can To use for a long time.Product QR codes can be used as product that can trace label and information channel, and one scanned can know related production The information of product.Sealing QR codes are " stealth " pattern, expose, as a child fail 8 after scanning, to promote certification once tearing Level is registered, simple using process, safe and reliable.
Information inquiry module:After the sealing QR codes of Product labelling are scanned for the first time, in corresponding block chain and Writing scan date and time in central database, and close corresponding block chain, if closing cannot interpolation data again, table Show that product has been used/failed.The block chain closed is stored, the reliable sources of Future Data analysis are can be used as.
One skilled in the art will appreciate that in addition to realizing system provided by the invention in a manner of pure computer readable program code It, completely can be by the way that method and step be carried out programming in logic come so that the present invention provides and its other than each device, module, unit System and its each device, module, unit with logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedding Enter the form of the controller that declines etc. to realize identical function.So system provided by the invention and its every device, module, list Member is considered a kind of hardware component, and also may be used for realizing the device of various functions, module, unit to include in it To be considered as the structure in hardware component;It can also will be considered as realizing the device of various functions, module, unit either real The software module of existing method can be the structure in hardware component again.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, those skilled in the art can make a variety of changes or change within the scope of the claims, this not shadow Ring the substantive content of the present invention.In the absence of conflict, the feature in embodiments herein and embodiment can arbitrary phase Mutually combination.

Claims (8)

1. a kind of information query method based on block chain, which is characterized in that including
Block chain establishment step:Block chain is established to back up the specify information in central database corresponding to each Product labelling;
Information adds step:Specify information is added in corresponding block chain according to the number of Product labelling;
Information inquiry step:It is in corresponding block chain and central after the sealing QR codes of Product labelling are scanned for the first time Writing scan date and time in database, and close corresponding block chain.
2. the information query method according to claim 1 based on block chain, which is characterized in that the block chain includes closing Key node and participation node, the key node have respective server system to come separate storage ledger, the participation node To there is the common node of specified IP address.
3. the information query method according to claim 1 based on block chain, which is characterized in that the specify information packet It includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, sealing QR codes, Expiration Date and logistics information.
4. the information query method according to claim 3 based on block chain, which is characterized in that the institute of each Product labelling The number, the product QR codes and sealing QR codes for stating Product labelling are random generation and are associated together at random.
5. a kind of information query system based on block chain, which is characterized in that including
Block chain establishes module:Block chain is established to back up the specify information in central database corresponding to each Product labelling;
Information add module:Specify information is added in corresponding block chain according to the number of Product labelling;
Information inquiry module:It is in corresponding block chain and central after the sealing QR codes of Product labelling are scanned for the first time Writing scan date and time in database, and close corresponding block chain.
6. the information query system according to claim 5 based on block chain, which is characterized in that the block chain includes closing Key node and participation node, the key node have respective server system to come separate storage ledger, the participation node To there is the common node of specified IP address.
7. the information query system according to claim 5 based on block chain, which is characterized in that the specify information packet It includes:Product indexes, supplier's index, the number of Product labelling, product QR codes, sealing QR codes, Expiration Date and logistics information.
8. the information query system according to claim 7 based on block chain, which is characterized in that the institute of each Product labelling The number, the product QR codes and sealing QR codes for stating Product labelling are random generation and are associated together at random.
CN201810395972.3A 2018-04-27 2018-04-27 Information query method based on block chain and system Pending CN108710924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810395972.3A CN108710924A (en) 2018-04-27 2018-04-27 Information query method based on block chain and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810395972.3A CN108710924A (en) 2018-04-27 2018-04-27 Information query method based on block chain and system

Publications (1)

Publication Number Publication Date
CN108710924A true CN108710924A (en) 2018-10-26

Family

ID=63868624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810395972.3A Pending CN108710924A (en) 2018-04-27 2018-04-27 Information query method based on block chain and system

Country Status (1)

Country Link
CN (1) CN108710924A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284206A (en) * 2018-10-29 2019-01-29 深圳市元征科技股份有限公司 A kind of database backup method and relevant device based on block chain
CN110032602A (en) * 2019-04-17 2019-07-19 中国联合网络通信集团有限公司 A kind of storage of product information, inquiry and management system and method
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment based on block chain
CN112052930A (en) * 2020-07-31 2020-12-08 优思物联科技(深圳)有限公司 Block chain-based electronic tag production method and electronic tag card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544517A (en) * 2013-11-05 2014-01-29 中国海洋大学 Agricultural product traceability anti-fake system and two-dimension code label used for same
CN106096986A (en) * 2016-06-20 2016-11-09 北京太云科技有限公司 A kind of Antiforge system based on block chain and method
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN107220836A (en) * 2017-05-31 2017-09-29 无锡井通网络科技有限公司 A kind of block chain logistics based on Quick Response Code is traced to the source tracking method for anti-counterfeit
CN107818158A (en) * 2017-10-31 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of system and method that Antiforge inquiry is carried out to motor vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544517A (en) * 2013-11-05 2014-01-29 中国海洋大学 Agricultural product traceability anti-fake system and two-dimension code label used for same
CN106096986A (en) * 2016-06-20 2016-11-09 北京太云科技有限公司 A kind of Antiforge system based on block chain and method
CN106779737A (en) * 2016-11-30 2017-05-31 电子科技大学 Product based on block chain technology is traced to the source verification method
CN107220836A (en) * 2017-05-31 2017-09-29 无锡井通网络科技有限公司 A kind of block chain logistics based on Quick Response Code is traced to the source tracking method for anti-counterfeit
CN107818158A (en) * 2017-10-31 2018-03-20 济南浪潮高新科技投资发展有限公司 A kind of system and method that Antiforge inquiry is carried out to motor vehicle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284206A (en) * 2018-10-29 2019-01-29 深圳市元征科技股份有限公司 A kind of database backup method and relevant device based on block chain
CN110032602A (en) * 2019-04-17 2019-07-19 中国联合网络通信集团有限公司 A kind of storage of product information, inquiry and management system and method
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment based on block chain
CN110502922B (en) * 2019-08-13 2024-01-16 上海域乎信息技术有限公司 Article circulation link tracing method and device based on block chain and electronic equipment
CN112052930A (en) * 2020-07-31 2020-12-08 优思物联科技(深圳)有限公司 Block chain-based electronic tag production method and electronic tag card

Similar Documents

Publication Publication Date Title
CN108710924A (en) Information query method based on block chain and system
Benčić et al. DL-Tags: DLT and smart tags for decentralized, privacy-preserving, and verifiable supply chain management
Weber Internet of things–Need for a new legal environment?
Weber et al. Internet of things
DeNardis Protocol politics: The globalization of Internet governance
CN110349056A (en) Transaction processing system and method based on block chain
WO2019028026A1 (en) A secure and confidential custodial transaction system, method and device using zero-knowledge protocol
Kwok et al. Design and development of a mobile EPC-RFID-based self-validation system (MESS) for product authentication
CN109034833A (en) A kind of product back-tracing information management system and method based on block chain
CN109325785A (en) A kind of multi-model source tracing method based on alliance's chain
Chen et al. An IoT-based traceable drug anti-counterfeiting management system
Augusto et al. An application of ethereum smart contracts and IoT to logistics
Egwuonwu et al. The influence of blockchains and internet of things on global value chain
Cakic et al. Digital transformation and transparency in wine supply chain using ocr and dlt
Islam A survey on the use of blockchains to achieve supply chain security
US20170147588A1 (en) System and method for centralized document capture, management and retention
Nguyen et al. A Blockchain‐Based Framework for Developing Traceability Applications towards Sustainable Agriculture in Vietnam
Wang et al. Design of power material management system basing on Internet of Things identification and blockchain
CN108665028A (en) Product certification method and system based on block chain and label
Kayιkcι Blockchain driven supply chain management: The application potential of blockchain technology in supply chain and logistics
Chen et al. Improve the performance of traceability system by using a digital certificate enabled anti-counterfeit QR-code mechanism
Shi et al. Measurement of media exposure
Dongre et al. An IOT based private blockchain framework for attendance management using QR code
Hadi et al. A proposed methodology to use a Block-chain in Supply Chain Traceability
CN108665027A (en) Product labelling condition control method and system based on block chain

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

Application publication date: 20181026

RJ01 Rejection of invention patent application after publication