CN108960855B - Tracing method and terminal, and verification method, device and system - Google Patents

Tracing method and terminal, and verification method, device and system Download PDF

Info

Publication number
CN108960855B
CN108960855B CN201810660365.5A CN201810660365A CN108960855B CN 108960855 B CN108960855 B CN 108960855B CN 201810660365 A CN201810660365 A CN 201810660365A CN 108960855 B CN108960855 B CN 108960855B
Authority
CN
China
Prior art keywords
tracing
dimensional code
traceability
commodity
information
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.)
Active
Application number
CN201810660365.5A
Other languages
Chinese (zh)
Other versions
CN108960855A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810660365.5A priority Critical patent/CN108960855B/en
Publication of CN108960855A publication Critical patent/CN108960855A/en
Application granted granted Critical
Publication of CN108960855B publication Critical patent/CN108960855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a tracing two-dimensional code, which is used for tracing a commodity, and comprises a characteristic pattern, wherein the characteristic pattern carries commodity tracing information encrypted by a preset private key, and the commodity tracing information comprises: representing the identification information of the current link of the tracing two-dimensional code; representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain; representing the identification information of the next link of the tracing two-dimensional code; information characterizing a batch number of the commodity. The invention also provides a traceability two-dimensional code group, a traceability method for tracing the commodity by using the traceability two-dimensional code group, a traceability terminal for executing the traceability method, a verification method for verifying the commodity by using the traceability two-dimensional code group, a verification device for executing the verification method, and a monitoring system comprising the traceability terminal and the verification device. The tracing two-dimensional code group can be used for accurately tracing the source of the commodity.

Description

Tracing method and terminal, and verification method, device and system
Technical Field
The invention relates to the field of commodity monitoring, in particular to a traceability two-dimensional code, a traceability two-dimensional code group, a traceability method for traceability of a commodity by using the traceability two-dimensional code group, a traceability terminal for executing the traceability method, a verification method for verifying the commodity by using the traceability two-dimensional code group, a verification device for executing the verification method, and a monitoring system comprising the traceability terminal and the verification device.
Background
In order to verify the authenticity of the commodity, a demand for tracing the source of the commodity is gradually generated. The prior common commodity tracing method needs to use a special chip, and the source information and the circulation information of commodities are stored in the special chip. However, in this manner, a special terminal device is usually required to read the information in the chip. For ordinary consumers, the source tracing method is not easy to implement.
In order to facilitate the operation of consumers, a traceability two-dimensional code is generated, the traceability two-dimensional code is arranged on a package of a commodity, the consumers can scan the traceability two-dimensional code by using a mobile phone terminal to obtain source information and circulation information of the butterfly commodity, but the traceability two-dimensional code is very easy to forge.
Therefore, how to provide a tracing way for merchandise which is easy for consumers to execute and is not easy to forge becomes a technical problem to be solved in the field.
Disclosure of Invention
The invention aims to provide a traceability two-dimensional code, a traceability method for tracing a commodity by using the traceability two-dimensional code, a traceability terminal for executing the traceability method, a verification method for verifying the commodity by using the traceability two-dimensional code, a verification device for executing the verification method, and a monitoring system comprising the traceability terminal and the verification device. The traceable two-dimensional code is not easy to forge, and a consumer can easily obtain commodity information through the traceable two-dimensional code.
In order to achieve the above object, an aspect of the present invention provides a tracing two-dimensional code, where the tracing two-dimensional code is used to trace a source of a commodity, and the tracing two-dimensional code includes a feature pattern, where the feature pattern carries commodity tracing information encrypted by a predetermined private key, and the commodity tracing information includes:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing a batch number of the commodity.
Preferably, the characteristic pattern also carries plaintext information representing a name of a current link corresponding to the tracing two-dimensional code.
As a second aspect of the present invention, a traceability two-dimensional code group is provided, where the traceability two-dimensional code group includes a plurality of traceability two-dimensional codes, the traceability two-dimensional codes are the traceability two-dimensional codes provided in the present invention, links corresponding to the plurality of traceability two-dimensional codes are different from each other, and a supply chain of a commodity using the traceability two-dimensional code group includes a current link corresponding to the plurality of traceability two-dimensional codes.
As a third aspect of the present invention, a traceability method for traceability of a commodity by using a traceability two-dimensional code group is provided, where the traceability two-dimensional code group is the traceability two-dimensional code group provided by the present invention, and the traceability method includes:
scanning all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes;
decoding commodity tracing information which is encrypted by a preset private key in the information carried by each tracing two-dimensional code by using a corresponding public key;
sequencing the position information of each link obtained from all the tracing two-dimensional codes in the tracing two-dimensional code group to obtain a supply chain of the commodity using the tracing two-dimensional code group;
and verifying the identification information of the current link for representing the tracing two-dimensional codes in each tracing two-dimensional code.
Preferably, the information carried by each tracing two-dimensional code comprises plaintext information of the name of the link corresponding to the tracing two-dimensional code,
the step of decoding the commodity tracing information which is encrypted by the preset private key in the information carried by each tracing two-dimensional code by using the corresponding public key comprises the following steps:
searching a locally stored public key by utilizing the plaintext information of the name of the link corresponding to the tracing two-dimensional code;
when the public key corresponding to the plaintext information of the link name corresponding to the tracing two-dimensional code is not found locally, the plaintext information of the link name corresponding to the tracing two-dimensional code is sent to a verification platform, and the public key corresponding to the tracing two-dimensional code sent by the verification platform is obtained.
As a fourth aspect of the present invention, a tracing terminal is provided, where the tracing terminal traces a source of a commodity by using the tracing two-dimensional code group provided by the present invention, and the tracing terminal includes:
the scanning module is used for scanning all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes;
the decoding module is used for decoding the commodity traceability information which is encrypted by a preset private key in the information carried by each traceability two-dimensional code by using a corresponding public key;
and the sequencing module is used for sequencing the position information of each link obtained in all the tracing two-dimensional codes in the tracing two-dimensional code group so as to obtain a supply chain of the commodity using the tracing two-dimensional code group.
Preferably, the tracing terminal comprises a storage module and a communication module, and the storage module stores names of a plurality of links of the commodity and public keys corresponding to the links;
the decoding module is used for searching in the storage module according to plaintext information carried in the tracing two-dimensional code;
when the decoding module does not find the public key corresponding to the plaintext information of the link corresponding to the tracing two-dimensional code, the decoding module controls the communication module to send the plaintext information of the link corresponding to the tracing two-dimensional code to a verification platform,
the communication module is further configured to obtain a public key corresponding to the traceable two-dimensional code and sent by the verification platform, and send the obtained public key to the decoding module.
As a fifth aspect of the present invention, there is provided a verification method for verifying a commodity by using a traceable two-dimensional code group, where the traceable two-dimensional code group is the traceable two-dimensional code group provided by the present invention, and the verification method includes:
receiving commodity traceability information of all traceability two-dimensional codes;
adding the number of commodities with the same serial number in each link, and obtaining a sum;
and when the sum of the commodities numbered in the same batch in any link is larger than the total number of the commodities in the batch, judging that the adulteration action occurs in the previous link of the link, and/or judging that the adulteration action occurs in the link when a plurality of groups of same commodity traceability information exist in any link.
As a sixth aspect of the present invention, there is provided a verification apparatus for a traceability two-dimensional code, wherein the verification apparatus is configured to verify the traceability two-dimensional code set provided by the present invention, and the verification apparatus includes:
the receiving module is used for receiving the commodity traceability information of all traceability two-dimensional codes;
the adding module is used for adding the quantity of the commodities in the same batch in each link to obtain an added sum;
the judging module is used for judging that the adulteration action occurs in the previous link of any link when the sum of the commodities numbered in the same batch in any link is larger than the total number of the commodities in the batch, and/or the judging module is also used for judging that the adulteration action occurs in the link when a plurality of groups of same commodity traceability information exist in any link.
As a seventh aspect of the present invention, there is provided a product traceability system, wherein the product traceability system comprises a traceability terminal, a traceability two-dimensional code verification device and a remote platform,
the tracing terminal is the tracing terminal provided by the invention;
the verification device is the verification device provided by the invention;
the remote platform is used for receiving the commodity traceability information of all the traceability two-dimensional codes and sending the received commodity traceability information to the verification device.
The traceability two-dimensional codes provided by the invention are applied to traceability two-dimensional code groups, specifically, each traceability two-dimensional code group comprises a plurality of traceability two-dimensional codes, and links corresponding to the traceability two-dimensional codes are different from each other. Correspondingly, each link corresponds to a two-dimensional code in the supply chain of the commodity. In a plurality of links which are carried out in sequence, the tracing information corresponding to the tracing two-dimensional code corresponding to the next link not only comprises the identification information of the current link, but also comprises the identification information of the next link, therefore, the information in the tracing two-dimensional code of the next link can be used as the evidence of the previous link, and the difficulty of counterfeiting the tracing two-dimensional code is increased.
When the consumer scans the second traceability two-dimensional code and does not obtain the identification information of the previous link, or the obtained identification information of the previous link is wrong, the traceability two-dimensional code is indicated to be forged, and meanwhile, the commodity is indicated to be forged possibly. When a consumer scans the middle tracing two-dimensional code, the identification information of the previous link of the tracing two-dimensional code can be obtained, and the tracing two-dimensional code is true. When all the tracing two-dimensional codes are not true, the whole supply chain of the commodity can be obtained by sequencing the positions of the current links of all the two-dimensional codes in the commodity supply chain.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a tracing method provided by the present invention;
FIG. 2 is a block diagram of a tracing terminal provided by the present invention;
FIG. 3 is a flow chart of a verification method provided by the present invention;
fig. 4 is a block diagram of an authentication apparatus provided in the present invention.
Description of the reference numerals
210: the scanning module 220: decoding module
230: the sorting module 240: memory module
250: the communication module 410: receiving module
420: the summing module 430: decision module
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
As an aspect of the present invention, a tracing two-dimensional code is provided, where the tracing two-dimensional code is used to trace a source of a commodity, and the tracing two-dimensional code includes a feature pattern, where the feature pattern carries commodity tracing information encrypted by a predetermined private key, and the commodity tracing information includes:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing a batch number of the commodity.
In the supply chain of goods, a plurality of links are included. The current link can be a one-time selling link, and then the next link of the selling link is a purchasing link.
It should be explained that the traceability two-dimensional codes provided by the invention are applied to traceability two-dimensional code groups, specifically, each traceability two-dimensional code group includes a plurality of traceability two-dimensional codes, and links corresponding to the plurality of traceability two-dimensional codes are different from each other. Correspondingly, each link corresponds to a two-dimensional code in the supply chain of the commodity. In a plurality of links which are carried out in sequence, the tracing information corresponding to the tracing two-dimensional code corresponding to the next link not only comprises the identification information of the current link, but also comprises the identification information of the next link, therefore, the information in the tracing two-dimensional code of the next link can be used as the evidence of the previous link, and the difficulty of counterfeiting the tracing two-dimensional code is increased.
For example, when the commodity is a genuine product, before retail sale, three traceable two-dimensional codes are sprayed on the commodity: the traceability two-dimensional code corresponding to the manufacturer, the traceability two-dimensional code corresponding to the primary wholesaler and the traceability two-dimensional code corresponding to the secondary wholesaler.
When a manufacturer sells commodities to a first-level wholesaler, the tracing information of the commodities carried by the tracing two-dimensional code generated at the generator comprises: identification information of the manufacturer, location information of the manufacturer in the supply chain of the goods (for example, the location information may be 1), identification information of the next link of the manufacturer (i.e., the primary wholesaler), and a lot number (for example, the first lot) of the goods.
After a manufacturer sells commodities to a primary wholesaler, the primary wholesaler generates a traceability two-dimensional code, and the commodity traceability information carried by the traceability two-dimensional code of the link comprises: identification information of the primary wholesaler, position information of the primary wholesaler in the commodity supply chain (for example, the position information may be 2), identification information of a next link of the primary wholesaler (namely, the secondary wholesaler), and a batch number (for example, a first batch) of the commodity.
After the primary wholesaler sells the commodity to the secondary wholesaler, the commodity traceability information included in the traceability two-dimensional code generated by the secondary wholesaler comprises: identification information of the secondary wholesaler, location information of the secondary wholesaler in the supply chain of the goods (for example, the location information may be 3), identification information of the next link of the secondary wholesaler (i.e., the retailer), and a lot number of the goods (for example, the first lot).
After the commodity arrives at the retailer, three traceable two-dimensional codes are arranged on the package of the commodity. The consumer can obtain the entire supply chain before the merchandise reaches the retailer by scanning the three traceable two-dimensional codes with a terminal (e.g., a cell phone).
When the consumer scans the second traceability two-dimensional code and does not obtain the identification information of the previous link, or the obtained identification information of the previous link is wrong, the traceability two-dimensional code is indicated to be forged, and meanwhile, the commodity is indicated to be forged possibly. When a consumer scans the middle tracing two-dimensional code, the identification information of the previous link of the tracing two-dimensional code can be obtained, and the tracing two-dimensional code is true. When all the tracing two-dimensional codes are not true, the whole supply chain of the commodity can be obtained by sequencing the positions of the current links of all the two-dimensional codes in the commodity supply chain.
In the application, the commodity traceability information comprises batch numbers, and the commodity traceability information is favorable for verifying commodities. Which will be described in detail hereinafter and will not be described in detail herein.
As a preferred embodiment of the present invention, the characteristic pattern further carries plaintext information representing a name of a current link corresponding to the tracing two-dimensional code. After the tracing two-dimensional code is scanned, plaintext information representing the name of the current link corresponding to the tracing two-dimensional code can be obtained (for example, when the current link is a manufacturer, the name of the current link is a name in production). And searching the corresponding public key for the plaintext information by using the scanning terminal, thereby decrypting the commodity tracing information encrypted by the preset private key.
As a second aspect of the present invention, a traceability two-dimensional code group is provided, where the traceability two-dimensional code group includes a plurality of traceability two-dimensional codes, where the traceability two-dimensional codes are the traceability two-dimensional codes provided in the present invention, links corresponding to the plurality of traceability two-dimensional codes are different from each other, and a supply chain of a commodity using the traceability two-dimensional code group includes a current link corresponding to the plurality of traceability two-dimensional codes.
As described above, in the supply chain of the goods, each link corresponds to a two-dimensional code. And generating a source tracing two-dimensional code as long as the commodity is transferred. In a plurality of links which are carried out in sequence, the tracing information corresponding to the tracing two-dimensional code corresponding to the next link not only comprises the identification information of the current link, but also comprises the identification information of the next link, therefore, the information in the tracing two-dimensional code of the next link can be used as the evidence of the previous link, and the difficulty of counterfeiting the tracing two-dimensional code is increased.
When the consumer scans the second traceability two-dimensional code and does not obtain the identification information of the previous link, or the obtained identification information of the previous link is wrong, the traceability two-dimensional code is indicated to be forged, and meanwhile, the commodity is indicated to be forged possibly. When a consumer scans the middle tracing two-dimensional code, the identification information of the previous link of the tracing two-dimensional code can be obtained, and the tracing two-dimensional code is true. When all the tracing two-dimensional codes are not true, the whole supply chain of the commodity can be obtained by sequencing the positions of the current links of all the two-dimensional codes in the commodity supply chain.
As a third aspect of the present invention, a traceability method for traceability of a commodity by using a traceability two-dimensional code group is provided, where the traceability two-dimensional code group is the traceability two-dimensional code group provided by the present invention, as shown in fig. 1, the traceability method includes:
in step S110, scanning all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes;
in step S120, the commodity tracing information encrypted by the predetermined private key in the information carried by each tracing two-dimensional code is decoded by using the corresponding public key;
in step S130, the position information of each link obtained in all the tracing two-dimensional codes in the tracing two-dimensional code group is sequenced to obtain a supply chain of the commodity using the tracing two-dimensional code group;
in step S140, the identification information of the current link representing the tracing two-dimensional code in each tracing two-dimensional code is verified.
After the tracing two-dimensional codes are scanned and the commodity tracing information carried in each tracing two-dimensional code is decrypted, each link of the commodity before retail can be obtained, and the supply chain of the commodity can be obtained through sequencing, so that the commodity can be accurately traced. Moreover, the tracing two-dimensional code is difficult to forge, so that the forgery can be basically prevented.
As described above, the information carried by each tracing two-dimensional code includes the plaintext information of the name of the link corresponding to the tracing two-dimensional code.
In such an embodiment, step S120 may include:
in step S121, a locally stored public key is searched for by using plaintext information of a name of a link corresponding to the tracing two-dimensional code;
in step S122, when the public key corresponding to the plaintext information of the link name corresponding to the tracing two-dimensional code is not found locally, the plaintext information of the link name corresponding to the tracing two-dimensional code is sent to a verification platform, and the public key corresponding to the tracing two-dimensional code sent by the verification platform is obtained.
Of course, when the public key corresponding to the plaintext information of the name of the link corresponding to the traceability two-dimensional code is not found locally, the locally stored public key can be directly used for decrypting the commodity traceability information.
As a fourth aspect of the present invention, a tracing terminal is provided, where the tracing terminal traces a source of a commodity by using the tracing two-dimensional code group provided in the present invention, as shown in fig. 2, the tracing terminal includes a scanning module 210, a decoding module 220, and a sorting module 230. The tracing terminal is used for executing the tracing method provided by the invention.
Specifically, the scanning module 210 is configured to execute step S110, that is, the scanning module 210 is configured to scan all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes.
The decoding module 220 is configured to perform step S120, that is, the decoding module 220 is configured to decode, by using the corresponding public key, the commodity tracing information that is encrypted by the predetermined private key in the information carried by each tracing two-dimensional code.
The sorting module 230 is configured to execute step S130, that is, the sorting module 230 is configured to sort the position information of each link obtained in all the tracing two-dimensional codes in the tracing two-dimensional code group, so as to obtain a supply chain of the commodity using the tracing two-dimensional code group.
The principle and the advantageous effects of the tracing method have been described in detail above, and are not repeated herein.
Preferably, the tracing apparatus may further include a display panel and a controller, and the controller is configured to control the display panel to display an operation interface. The scanning module 210 may be a camera.
After scanning a two-dimensional code, the controller may control the scanning module to automatically return to the scanning mode, and control the display panel to display two options, i.e., "continue scanning" and "completed", and execute step S120 by the selection of the operator. In the scanning process, if the same tracing two-dimensional code is scanned for a plurality of times, the scanning started for the second time is automatically ignored. If the operator selects "done", the scanning mode is exited (i.e., step S120 is ended).
Preferably, the tracing terminal further includes a storage module 240 and a communication module 250, and the storage module 240 stores names of a plurality of links of the commodity and public keys corresponding to the links.
The decoding module 220 is configured to search in the storage module 240 according to plaintext information carried in the tracing two-dimensional code. And when the public key corresponding to the plaintext information carried in the tracing two-dimensional code is found, directly calling the process, and decoding the corresponding commodity tracing information.
When the decoding module 220 does not find the public key corresponding to the plaintext information of the link corresponding to the tracing two-dimensional code, the decoding module 220 controls the communication module 250 to send the plaintext information of the link corresponding to the tracing two-dimensional code to the verification platform. After receiving the plaintext information of the name of the link corresponding to the tracing two-dimensional code on the verification product platform, the public key corresponding to the link can be searched and retrieved, and is sent to the communication module 250.
The communication module 250 is further configured to obtain a public key corresponding to the traceable two-dimensional code sent by the verification platform, and send the obtained public key to the decoding module 220.
As a fifth aspect of the present invention, there is provided a verification method for verifying a commodity by using a traceable two-dimensional code group, where the traceable two-dimensional code group is the traceable two-dimensional code group provided by the present invention, and as shown in fig. 3, the verification method includes:
in step S310, commodity traceability information of all traceability two-dimensional codes is received;
in step S320, the number of the commodities with the same batch number in each link is summed up to obtain a sum;
in step S330, when the sum of the commodities numbered in the same batch in any link is greater than the total number of the commodities in the batch, it is determined that an adulteration action occurs in a previous link of the link, and/or when there are multiple sets of the same commodity tracing information in any link, it is determined that an adulteration action occurs in the link.
In the present invention, the authentication method is performed at the commodity manufacturer side. After the two-dimensional code is scanned by the traceability terminal, the obtained commodity traceability information is sent to the remote platform, and the remote platform sends the received commodity traceability information to a device (i.e., a verification device described below) at the commodity manufacturer end.
The verification method provided by the invention can be used for rapidly determining whether the adulteration behavior occurs or not and can also be used for rapidly locking the link in which the adulteration behavior occurs.
As a sixth aspect of the present invention, a verification apparatus for a tracing two-dimensional code is provided, where the verification apparatus is configured to verify the tracing two-dimensional code group provided by the present invention, as shown in fig. 4, and the verification apparatus includes a receiving module 410, an adding module 420, and a determining module 430.
The receiving module 410 is configured to perform step S310, specifically, the receiving module 410 is configured to receive the commodity tracing information of all tracing two-dimensional codes.
The summing module 420 is configured to perform the step S420, specifically, the summing module 420 is configured to sum the number of the commodities of the same batch in each link to obtain a sum.
The determining module 430 is configured to execute the step S430, specifically, the determining module 430 is configured to determine that a adulteration action occurs in a previous link of any link when the sum of the commodities with the same batch number in the link is greater than the total number of the commodities in the batch. And/or the determining module 430 is further configured to determine that a adulteration action occurs in any link when multiple sets of identical commodity tracing information exist in the link.
The verification device provided by the present invention is used for executing the verification method provided by the present invention, and the principle and the intended effect of the verification method have been described in detail above, and are not described again here.
As a seventh aspect of the present invention, there is provided a product traceability system, wherein the product traceability system comprises a traceability terminal, a traceability two-dimensional code verification device and a remote platform,
the tracing terminal is the tracing terminal provided by the invention;
the verification device is the verification device provided by the invention;
the remote platform is used for receiving the commodity traceability information of all the traceability two-dimensional codes and sending the received commodity traceability information to the verification device.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (7)

1. The utility model provides an utilize traceability two-dimensional code group to carry out traceability method to commodity, its characterized in that, traceability two-dimensional code group includes a plurality of traceability two-dimensional codes, traceability two-dimensional code is used for tracing to the commodity, traceability two-dimensional code includes the characteristic pattern, the characteristic pattern carries the commodity traceability information through predetermined private key encryption processing, commodity traceability information includes:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing the batch number of the commodity;
the characteristic pattern also carries plaintext information representing the name of the current link corresponding to the tracing two-dimensional code;
the source tracing two-dimensional code is generated in the corresponding current link;
links corresponding to the tracing two-dimensional codes are different from one another, and a supply chain of the commodity using the tracing two-dimensional code group comprises current links corresponding to the tracing two-dimensional codes;
the tracing method comprises the following steps:
scanning all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes;
decoding commodity tracing information which is encrypted by a preset private key in the information carried by each tracing two-dimensional code by using a corresponding public key;
sequencing the position information of each link obtained from all the tracing two-dimensional codes in the tracing two-dimensional code group to obtain a supply chain of the commodity using the tracing two-dimensional code group;
and verifying the identification information of the current link for representing the tracing two-dimensional codes in each tracing two-dimensional code.
2. The tracing method of claim 1, wherein the information carried by each tracing two-dimensional code includes plaintext information of a name of a link corresponding to the tracing two-dimensional code,
the step of decoding the commodity tracing information which is encrypted by the preset private key in the information carried by each tracing two-dimensional code by using the corresponding public key comprises the following steps:
searching a locally stored public key by utilizing the plaintext information of the name of the link corresponding to the tracing two-dimensional code;
when the public key corresponding to the plaintext information of the link name corresponding to the tracing two-dimensional code is not found locally, the plaintext information of the link name corresponding to the tracing two-dimensional code is sent to a verification platform, and the public key corresponding to the tracing two-dimensional code sent by the verification platform is obtained.
3. A tracing terminal is characterized in that the tracing terminal traces the source of a commodity by using a tracing two-dimensional code group,
the traceability two-dimensional code group comprises a plurality of traceability two-dimensional codes, the traceability two-dimensional codes are used for traceability of commodities, the traceability two-dimensional codes comprise characteristic patterns, the characteristic patterns carry commodity traceability information encrypted and processed by a preset private key, and the commodity traceability information comprises:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing the batch number of the commodity;
the characteristic pattern also carries plaintext information representing the name of the current link corresponding to the tracing two-dimensional code;
the source tracing two-dimensional code is generated in the corresponding current link;
links corresponding to the tracing two-dimensional codes are different from one another, and a supply chain of the commodity using the tracing two-dimensional code group comprises current links corresponding to the tracing two-dimensional codes;
the tracing terminal comprises:
the scanning module is used for scanning all tracing two-dimensional codes in the tracing two-dimensional code group to obtain information carried by all tracing two-dimensional codes;
the decoding module is used for decoding the commodity traceability information which is encrypted by a preset private key in the information carried by each traceability two-dimensional code by using a corresponding public key;
and the sequencing module is used for sequencing the position information of each link obtained in all the tracing two-dimensional codes in the tracing two-dimensional code group so as to obtain a supply chain of the commodity using the tracing two-dimensional code group.
4. The tracing terminal of claim 3, wherein the tracing terminal comprises a storage module and a communication module, and the storage module stores names of a plurality of links of the commodity and public keys corresponding to the links;
the decoding module is used for searching in the storage module according to plaintext information carried in the tracing two-dimensional code;
when the decoding module does not find the public key corresponding to the plaintext information of the link corresponding to the tracing two-dimensional code, the decoding module controls the communication module to send the plaintext information of the link corresponding to the tracing two-dimensional code to a verification platform,
the communication module is further configured to obtain a public key corresponding to the traceable two-dimensional code and sent by the verification platform, and send the obtained public key to the decoding module.
5. The utility model provides an utilize traceability two-dimensional code group to carry out verification method to commodity which characterized in that, traceability two-dimensional code group includes a plurality of traceability two-dimensional codes, traceability two-dimensional code is used for tracing to the commodity, traceability two-dimensional code includes the characteristic pattern, the characteristic pattern carries the commodity traceability information through predetermined private key encryption processing, commodity traceability information includes:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing the batch number of the commodity;
the characteristic pattern also carries plaintext information representing the name of the current link corresponding to the tracing two-dimensional code;
the source tracing two-dimensional code is generated in the corresponding current link;
links corresponding to the tracing two-dimensional codes are different from one another, and a supply chain of the commodity using the tracing two-dimensional code group comprises current links corresponding to the tracing two-dimensional codes;
the verification method comprises the following steps:
receiving commodity traceability information of all traceability two-dimensional codes;
adding the number of commodities with the same serial number in each link, and obtaining a sum;
and when the sum of the commodities with the same serial number in any link is larger than the total number of the commodities with the serial number in the batch, judging that the adulteration action occurs in the previous link of the link, and/or judging that the adulteration action occurs in the link when a plurality of groups of same commodity traceability information exist in any link.
6. The verification device of the traceability two-dimensional code is characterized in that the verification device is used for verifying the traceability two-dimensional code group,
the traceability two-dimensional code group comprises a plurality of traceability two-dimensional codes, the traceability two-dimensional codes are used for traceability of commodities, the traceability two-dimensional codes comprise characteristic patterns, the characteristic patterns carry commodity traceability information encrypted and processed by a preset private key, and the commodity traceability information comprises:
representing the identification information of the current link of the tracing two-dimensional code;
representing the position information of the current link of the tracing two-dimensional code in the commodity supply chain;
representing the identification information of the next link of the tracing two-dimensional code;
information characterizing the batch number of the commodity;
the characteristic pattern also carries plaintext information representing the name of the current link corresponding to the tracing two-dimensional code;
the source tracing two-dimensional code is generated in the corresponding current link;
links corresponding to the tracing two-dimensional codes are different from one another, and a supply chain of the commodity using the tracing two-dimensional code group comprises current links corresponding to the tracing two-dimensional codes;
the authentication apparatus includes:
the receiving module is used for receiving the commodity traceability information of all traceability two-dimensional codes;
the adding module is used for adding the quantity of the commodities in the same batch in each link to obtain an added sum;
the judging module is used for judging that the adulteration action occurs in the previous link of any link when the sum of the commodities numbered in the same batch in any link is larger than the total number of the commodities numbered in the batch, and/or the judging module is also used for judging that the adulteration action occurs in the link when a plurality of groups of same commodity traceability information exist in any link.
7. A commodity traceability system is characterized by comprising a traceability terminal, a traceability two-dimensional code verification device and a remote platform,
the tracing terminal is the tracing terminal of claim 3 or 4;
the authentication apparatus is the authentication apparatus of claim 6;
the remote platform is used for receiving the commodity traceability information of all the traceability two-dimensional codes and sending the received commodity traceability information to the verification device.
CN201810660365.5A 2018-06-25 2018-06-25 Tracing method and terminal, and verification method, device and system Active CN108960855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810660365.5A CN108960855B (en) 2018-06-25 2018-06-25 Tracing method and terminal, and verification method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810660365.5A CN108960855B (en) 2018-06-25 2018-06-25 Tracing method and terminal, and verification method, device and system

Publications (2)

Publication Number Publication Date
CN108960855A CN108960855A (en) 2018-12-07
CN108960855B true CN108960855B (en) 2021-10-26

Family

ID=64486464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810660365.5A Active CN108960855B (en) 2018-06-25 2018-06-25 Tracing method and terminal, and verification method, device and system

Country Status (1)

Country Link
CN (1) CN108960855B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799989A (en) * 2012-06-19 2012-11-28 袁开国 Product source tracing scheme based on PKI (Public Key Infrastructure) and two-dimensional codes
CN103886444A (en) * 2014-04-03 2014-06-25 江苏物联网研究发展中心 Provenance-oriented agricultural capital invoicing system
CN104091272A (en) * 2014-07-09 2014-10-08 北京信长城技术研究院 Identifying and tracing system with unique identity and method
CN105139210A (en) * 2015-07-31 2015-12-09 孙宪彬 Commodity traceability method and system
CN105550732A (en) * 2016-02-22 2016-05-04 冯贵良 Combined-type source tracing label and commodity source tracing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030097335A1 (en) * 2001-11-21 2003-05-22 International Business Machines Corporation Secure method and system for determining charges and assuring privacy
CN102637275A (en) * 2012-02-28 2012-08-15 刘杨志 Safe shopping method and system based on Internet of things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799989A (en) * 2012-06-19 2012-11-28 袁开国 Product source tracing scheme based on PKI (Public Key Infrastructure) and two-dimensional codes
CN103886444A (en) * 2014-04-03 2014-06-25 江苏物联网研究发展中心 Provenance-oriented agricultural capital invoicing system
CN104091272A (en) * 2014-07-09 2014-10-08 北京信长城技术研究院 Identifying and tracing system with unique identity and method
CN105139210A (en) * 2015-07-31 2015-12-09 孙宪彬 Commodity traceability method and system
CN105550732A (en) * 2016-02-22 2016-05-04 冯贵良 Combined-type source tracing label and commodity source tracing method and system

Also Published As

Publication number Publication date
CN108960855A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN104836780B (en) Data interactive method, checking terminal, server and system
CN104992335B (en) A kind of current global mechanism type two-dimension code anti-counterfeit system and its implementation
KR101476732B1 (en) Certificating qualifying goods label, certificating qualifying goods terminal thereof, certificating qualifying goods label printer, the system and method for certificating qualifying goods
CN103123709A (en) Bar-code-based information verification system
CN107392583B (en) Two-dimensional code graphic data generation method and device
US20180240129A1 (en) Method and a system of electronic verification of reliability of goods introduced to the trade turnover and of transmission of data concerning the origin of goods
CN111639734A (en) Novel QR code embedded two-dimensional code coding and anti-counterfeiting application method
CN104182878A (en) Method and system for product authentication
CN109034842B (en) Agricultural product supply chain tracing system and method based on block chain
CN109214166B (en) Intelligent device authorization control method and system
CN113610550B (en) Product tracing method and system based on block chain
CN105139205A (en) Payment verification method, terminal and server
CN109461010A (en) Fake products tracking based on big data
CN105631687A (en) Product verification method and device
CN108960855B (en) Tracing method and terminal, and verification method, device and system
CN105427112A (en) Encryption two-dimension code technology-based label anti-fake system and method thereof
CN103577964A (en) Method and system for acquiring product circulation regional information and verifying authenticity of product
CN110738489A (en) Two-dimensional code payment anti-theft method and system, storage medium and terminal
CN115062740A (en) Extensible identification analysis method and device
US20200293846A1 (en) Code including additional information and method of generating and reading the same
CN107239813A (en) The method and device being authenticated to information medium
CN114493631A (en) Tracing anti-counterfeiting method and device for ceramic product
CN102622694A (en) DNA (Deoxyribose Nucleic Acid) spiral color code anti-counterfeiting method and system
CN104821986A (en) Method for discriminating authenticity of mobile terminal, device and system thereof
CN110782262A (en) Commodity anti-counterfeiting method and system based on dynamic verification code

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