CN111311268A - Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium - Google Patents

Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium Download PDF

Info

Publication number
CN111311268A
CN111311268A CN201811418211.1A CN201811418211A CN111311268A CN 111311268 A CN111311268 A CN 111311268A CN 201811418211 A CN201811418211 A CN 201811418211A CN 111311268 A CN111311268 A CN 111311268A
Authority
CN
China
Prior art keywords
code
commodity
counterfeiting
verification
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.)
Pending
Application number
CN201811418211.1A
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.)
Shenzhen Jiedianjia Technology Co ltd
Original Assignee
Shenzhen Jiedianjia 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 Shenzhen Jiedianjia Technology Co ltd filed Critical Shenzhen Jiedianjia Technology Co ltd
Priority to CN201811418211.1A priority Critical patent/CN111311268A/en
Publication of CN111311268A publication Critical patent/CN111311268A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06046Constructional details

Abstract

The invention discloses a commodity anti-counterfeiting code generation and verification method, which comprises the steps of allocating one to three ID codes of different anti-counterfeiting code types to each commodity, wherein the ID codes comprise anti-counterfeiting code type codes, manufacturer identification codes and commodity codes, and the anti-counterfeiting code types comprise plain codes, secret codes and internal codes; and the verification password is distributed to each ID code, and is a character string formed by encrypting the ID code or a character string formed by combining and encrypting the ID code, the production time of the ID code and at least one random value. The commodity anti-counterfeiting code verification method comprises the following steps: receiving anti-counterfeiting code information, wherein the anti-counterfeiting code information comprises the ID code and the verification password; and judging whether the type of the anti-counterfeiting code of the ID code is a plain code, a secret code or an internal code. The commodity anti-counterfeiting code generation and verification method of the invention ensures that the commodity anti-counterfeiting is safer and more reliable.

Description

Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium
Technical Field
The invention relates to the technical field of anti-counterfeiting, in particular to a method and a system for generating and verifying a commodity anti-counterfeiting code and a computer readable storage medium.
Background
The current anti-counterfeiting technology sets a unique random password for each piece of online commodity, the password is printed on an anti-counterfeiting label in a sealing way, and the password is stored in a database of a query center. National consumers can access and inquire the database through telephone, short message service or website. The inquiry system inquires the corresponding manufacturer information in the database according to the password and prompts the manufacturer information to a consumer to prevent counterfeiting, but once someone carries out malicious law breaking or random coding (batch collision is possible and the code is consistent with the code of the genuine product), the consumer can access and inquire the corresponding coded information by scanning one code, and the consumer cannot confirm whether the code is the information inquired by the genuine product or the counterfeit code through the code because the code is possibly counterfeit, so that the security and the reliability of the commodity anti-counterfeiting of the mode are not enough.
Disclosure of Invention
The invention mainly aims to provide a commodity anti-counterfeiting code generation and verification method, aiming at ensuring that the commodity anti-counterfeiting is safer and more reliable.
In order to achieve the above object, the present invention provides a method for generating and verifying a commodity anti-counterfeit code, wherein the method for generating the commodity anti-counterfeit code comprises the following steps:
s10: the anti-counterfeiting code comprises ID codes which are distributed to one to three commodities and have different anti-counterfeiting code types, wherein the ID codes comprise anti-counterfeiting code type codes, manufacturer identification codes and commodity codes, and the anti-counterfeiting code types comprise plain codes, secret codes and internal codes;
s20: a verification password corresponding to each ID code, wherein the verification password is a character string formed by encrypting the ID code or a character string formed by combining and encrypting the ID code, the production time of the ID code and at least one random value,
the commodity anti-counterfeiting code verification method comprises the following steps:
s40: receiving anti-counterfeiting code information, wherein the anti-counterfeiting code information comprises the ID code and the verification password;
s50: judging whether the type of the anti-counterfeiting code of the ID code is a plain code, a secret code or an internal code,
s51: when the anti-counterfeiting code type of the ID code is a plain code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s511: if so, judging whether the commodity has an internal code or a password,
s512: if the commodity has the internal code or the secret code, judging whether the internal code or the secret code is verified,
s513: if not, sending the corresponding commodity relevant information and all the client information of the commodity anti-counterfeiting codes which are inquired and verified historically to the client of the inquiry, recording the client information of the inquiry and verification,
s52: when the anti-counterfeiting code type of the ID code is a secret code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s521: if so, determining whether to receive the verification information of the password for the first time,
s522: if the verification information of the password is received for the first time, judging whether the commodity has the internal code,
s523: if the internal code exists, judging whether the internal code is verified,
s524: if the verification is not carried out, sending corresponding commodity relevant information to the client side of the current query, and recording the client side information of the current query and verification;
s53: and when the anti-counterfeiting code type of the ID code is an internal code, judging whether the ID code corresponds to the encrypted ID code in the verification password, if so, sending corresponding commodity related information and all client information of the commodity anti-counterfeiting code verified by historical query to the queried client, recording the queried and verified client information, and if not, prompting that the commodity is a counterfeit commodity.
Preferably, the ID code is an ordered code, the verification password is an invisible string formed by encrypting the ID code, the production time of the ID code and a random value by using an AES symmetric encryption algorithm, a TEA symmetric encryption algorithm, an RSA asymmetric encryption algorithm or an ECC asymmetric encryption algorithm in a combined manner, and the invisible string is converted into a visible character by urlsafe-base64, bin2hex, base64 or base 32.
Preferably, the first character of the ID code is a security code type code,
and/or the first character of the plain code, the secret code and the internal code allocated to the same commodity is different, and the rest characters are the same.
Preferably, step S40 specifically includes the following steps:
s41: receiving the scanned anti-counterfeiting code information and the client information,
s42: and judging whether the account information of the client information is safe and effective, if so, storing the time and the place of the client inquiry, and executing S50.
Preferably, after the step S20, the step S40 further includes the following steps:
s30: and connecting a printer to print the anti-counterfeiting code distributed by the commodity so that the plain code, the secret code or the internal code forms a corresponding printed label on the commodity.
Preferably, the following steps are further included after step S512:
s514: if the internal code or the secret code is verified, sending information prompting that the commodity is verified by the internal code or the secret code and is guarded against counterfeiting to the client side of the current query, sending commodity relevant information corresponding to the commodity and all client side information of which the historical query verifies the commodity anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query verification.
Preferably, step S523 is followed by the following steps:
s525: if the internal code is verified, sending information prompting that the commodity is subjected to secret code verification and is wary of counterfeiting prevention to the client side of the current query, sending commodity relevant information corresponding to the commodity and all client side information of the commodity which is subjected to historical query verification and is provided with the anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query verification.
Preferably, the code forms a printed label which is covered with a disposable coating, the plain code is arranged on the outer part of the commodity, and the inner code is arranged on the inner part of the commodity.
The invention also provides a system for generating and verifying the commodity anti-counterfeiting code, which comprises the following components: the commodity anti-counterfeiting code generation and verification system comprises a memory, a processor and a commodity anti-counterfeiting code generation and verification program which is stored on the memory and can run on the processor, wherein:
the commodity anti-counterfeiting code generation and verification program is executed by the processor to realize the steps of any one of the commodity anti-counterfeiting code generation and verification methods.
The invention also provides a computer readable storage medium, wherein a commodity anti-counterfeiting code generation and verification program is stored on the computer readable storage medium, and when being executed by a processor, the commodity anti-counterfeiting code generation and verification program realizes the steps of any one of the commodity anti-counterfeiting code generation and verification methods.
The technical scheme of the invention comprises the following steps of: s10: the anti-counterfeiting code comprises ID codes which are distributed to one to three commodities and have different anti-counterfeiting code types, wherein the ID codes comprise anti-counterfeiting code type codes, manufacturer identification codes and commodity codes, and the anti-counterfeiting code types comprise plain codes, secret codes and internal codes; s20: the verification password is distributed to each ID code, and is a character string formed by encrypting the ID code or a character string formed by combining and encrypting the ID code, the production time of the ID code and at least one random value; the commodity anti-counterfeiting code verification method comprises the following steps: s40: receiving anti-counterfeiting code information, wherein the anti-counterfeiting code information comprises the ID code and the verification password; s50: judging whether the type of the anti-counterfeiting code of the ID code is a plain code, a secret code or an internal code, S51: when the type of the anti-counterfeit code of the ID code is plain code, determining whether the ID code corresponds to the encrypted ID code in the verification password, S511: if yes, judging whether the commodity has an internal code or a password, and S512: if the commodity has the internal code or the secret code, judging whether the internal code or the secret code is verified, and S513: if the commodity anti-counterfeiting code is not verified, sending corresponding commodity relevant information and all client information of the commodity anti-counterfeiting code which is verified by historical inquiry to the client of the inquiry, and recording the client information of the inquiry and verification, S52: when the anti-counterfeiting code type of the ID code is a secret code, judging whether the ID code corresponds to the encrypted ID code in the verification password, and S521: if so, determining whether to receive the verification information of the secret code for the first time, S522: if the verification information of the password is received for the first time, whether the commodity has the internal code is judged, S523: if the internal code exists, whether the internal code is verified is judged, and S524: if the verification is not carried out, sending corresponding commodity relevant information to the client side of the current query, and recording the client side information of the current query and verification; s53: and when the anti-counterfeiting code type of the ID code is an internal code, judging whether the ID code corresponds to the encrypted ID code in the verification password, if so, sending corresponding commodity related information and all client information of the commodity anti-counterfeiting code verified by historical query to the queried client, recording the queried and verified client information, and if not, prompting that the commodity is a counterfeit commodity. Thereby improving the security and reliability of the anti-counterfeiting of the commodity.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic view of a flow structure of an embodiment of a method for generating and verifying a merchandise anti-counterfeit code according to the present invention;
FIG. 2 is a schematic view of a flow structure of another embodiment of a method for generating and verifying a merchandise anti-counterfeit code according to the present invention;
FIG. 3 is a schematic diagram of a detailed flow chart of step S40 in FIGS. 1 and 2;
FIG. 4 is a schematic diagram of a detailed flow structure of step S51 in FIGS. 1 and 2;
fig. 5 is a schematic diagram of a detailed flow structure of step S52 in fig. 1 and 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a commodity anti-counterfeiting code generation and verification system. The commodity anti-counterfeiting code generation and verification system can be mobile devices such as mobile phones, smart phones, notebook computers, PAD (PAD computer) and the like, and fixed terminals such as desktop computers, servers and the like. The commodity anti-counterfeiting code generation and verification system comprises a memory, a processor and a commodity anti-counterfeiting code generation and verification program which is stored on the memory and can run on the processor.
One embodiment is that a third party platform distributes anti-counterfeiting codes to manufacturers, the manufacturers use at least one anti-counterfeiting code on commodities, consumers verify the anti-counterfeiting codes through the third party platform after purchasing the commodities and inquire the authenticity of the commodities, the manufacturers can inquire the distributed anti-counterfeiting codes on the third party platform, supervise the anti-counterfeiting codes and verification conditions distributed by the third party platform and accept the supervision of government and anti-counterfeiting associations at the same time, and a commodity anti-counterfeiting code generation and verification system with the distribution, use and verification modes of the anti-counterfeiting codes mutually restricted and supervised is obtained.
The memory at least comprises a computer readable storage medium for storing an operating system installed in the commodity anti-counterfeiting code generation and verification system and various types of application software, such as program codes of a commodity anti-counterfeiting code generation and verification program. In addition, the memory may also be used to temporarily store various types of data that have been output or are to be output.
The processor may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor is generally used to control the overall operation of the merchandise anti-counterfeiting code generation and verification system. In this embodiment, the processor is configured to run a program code stored in the memory or process data, for example, run the commodity anti-counterfeit code generation and verification program.
Referring to fig. 1, 4 and 5, when the commodity anti-counterfeit code generation and verification program is executed by the processor, the following steps are implemented:
s10: the anti-counterfeiting code comprises ID codes which are distributed to one to three commodities and have different anti-counterfeiting code types, wherein the ID codes comprise anti-counterfeiting code type codes, manufacturer identification codes and commodity codes, and the anti-counterfeiting code types comprise plain codes, secret codes and internal codes;
s20: a verification password corresponding to each ID code, wherein the verification password is a character string formed by encrypting the ID code or a character string formed by combining and encrypting the ID code, the production time of the ID code and at least one random value,
the commodity anti-counterfeiting code verification method comprises the following steps:
s40: receiving anti-counterfeiting code information, wherein the anti-counterfeiting code information comprises the ID code and the verification password;
s50: judging whether the type of the anti-counterfeiting code of the ID code is a plain code, a secret code or an internal code,
s51: when the anti-counterfeiting code type of the ID code is a plain code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s511: if so, judging whether the commodity has an internal code or a password,
s512: if the commodity has the internal code or the secret code, judging whether the internal code or the secret code is verified,
s513: if not, sending the corresponding commodity relevant information and all the client information of the commodity anti-counterfeiting codes which are inquired and verified historically to the client of the inquiry, recording the client information of the inquiry and verification,
s514: if the internal code or the secret code is verified, sending information prompting that the commodity is verified by the internal code or the secret code and is guarded against counterfeiting to the client side of the current query, sending commodity relevant information corresponding to the commodity and all client side information of which the historical query verifies the commodity anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query verification;
s52: when the anti-counterfeiting code type of the ID code is a secret code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s521: if so, determining whether to receive the verification information of the password for the first time,
s522: if the verification information of the password is received for the first time, judging whether the commodity has the internal code,
s523: if the internal code exists, judging whether the internal code is verified,
s524: if the verification is not carried out, sending corresponding commodity relevant information to the client side of the current query, and recording the client side information of the current query and verification;
s525: if the internal code is verified, sending information prompting that the commodity is subjected to secret code verification and is guarded against counterfeiting to the client side of the current query, sending commodity relevant information corresponding to the commodity and client side information of the commodity which is subjected to the historical query and verification and is provided with the anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query and verification;
s53: and when the anti-counterfeiting code type of the ID code is an internal code, judging whether the ID code corresponds to the encrypted ID code in the verification password, if so, sending corresponding commodity related information and all client information of the commodity anti-counterfeiting code verified by historical query to the queried client, recording the queried and verified client information, and if not, prompting that the commodity is a counterfeit commodity.
When in specific use, a disposable coating is covered on a printed label formed by the secret code, the inner code is arranged inside the commodity or inside the commodity packaging box, the plain code and the secret code are arranged outside the commodity or outside the commodity packaging box, when the code is to be obtained, the disposable coating needs to be removed, when the inner code is obtained, the commodity needs to be opened or the sealing state of the commodity packaging box needs to be destroyed, wherein the commodity anti-counterfeiting code on the commodity can be realized by only using a secret code/internal code mode, a clear code + secret code/internal code mode or a clear code + secret code + internal code mode, and can record the client information of the inquiry when scanning and inquiring the plain code, the secret code and the internal code on the commodity so as to be convenient for displaying when inquiring again, the anti-counterfeiting method and the anti-counterfeiting device have the advantages that other people except the client can inquire the anti-counterfeiting method and the anti-counterfeiting risk of the commodity before selling is prevented, and therefore the anti-counterfeiting safety and reliability of the commodity are improved.
The ID code is an ordered code, the verification password is an invisible character string formed by performing combined encryption on the ID code, the production time of the ID code and a random value by adopting an AES (advanced encryption standard) symmetric encryption algorithm, a TEA (TEA symmetric encryption algorithm), an RSA (rivest-Shamir-Adleman) asymmetric encryption algorithm or an ECC (error correction code) asymmetric encryption algorithm, and the invisible character string is converted into a visible character through urlsafe-base64, bin2hex, base64 or base 32. The SECRET code (SECRET) is url space-base 64(AES128(ID + Timestamp + Random)). The first character of the ID code is an anti-counterfeiting code type code, and/or the first characters of a plain code, a secret code and an internal code which are distributed by the same commodity are different, and the other characters are the same. The ID code format can be xx xx xx xx yy yy yy yy, the ID format is not limited to 16 characters, is not limited to the 1 st character representation type and is not limited to 2-6 bit manufacturer numbers; wherein, x xx xx xx is a manufacturer identifier, yy yyy yy is a commodity code; the x xx xx xx is a code (the code value of each bit is 0-f) distributed by the anti-counterfeiting code verification system for each manufacturer, and the yy yy yy yy is a code distributed by the anti-counterfeiting code verification system for each manufacturer, so that the anti-counterfeiting safety reliability of the commodity is further enhanced.
Referring to fig. 3, preferably, step S40 specifically includes the following steps:
s41: receiving the scanned anti-counterfeiting code information and the client information,
s42: and judging whether the account information of the client information is safe and effective, if so, storing the time and the place inquired by the client, and executing the next step.
After the anti-counterfeiting code is scanned by a scanner or a client with a scanning function, the anti-counterfeiting code verification system receives scanned anti-counterfeiting code information and client information, firstly verifies the client information to prevent the information of the client from being forged, and stores the time and the place inquired by the client so as to enhance the anti-counterfeiting safety and reliability of the commodity.
Referring to fig. 2, it is preferable that the following steps are further included after the step S20 and before the step S40:
s30: and connecting a printer to print the anti-counterfeiting code distributed by the commodity so that the plain code, the secret code or the internal code forms a corresponding printed label on the commodity. So that the customer can use the anti-counterfeiting code conveniently, and the anti-counterfeiting code information distributed by each commodity can be stored so as to inquire the anti-counterfeiting code information conveniently.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A commodity anti-counterfeiting code generation and verification method is characterized by comprising the following steps:
s10: the anti-counterfeiting code comprises ID codes which are distributed to one to three commodities and have different anti-counterfeiting code types, wherein the ID codes comprise anti-counterfeiting code type codes, manufacturer identification codes and commodity codes, and the anti-counterfeiting code types comprise plain codes, secret codes and internal codes;
s20: a verification password corresponding to each ID code, wherein the verification password is a character string formed by encrypting the ID code or a character string formed by combining and encrypting the ID code, the production time of the ID code and at least one random value,
the commodity anti-counterfeiting code verification method comprises the following steps:
s40: receiving anti-counterfeiting code information, wherein the anti-counterfeiting code information comprises the ID code and the verification password;
s50: judging whether the type of the anti-counterfeiting code of the ID code is a plain code, a secret code or an internal code,
s51: when the anti-counterfeiting code type of the ID code is a plain code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s511: if so, judging whether the commodity has an internal code or a password,
s512: if the commodity has the internal code or the secret code, judging whether the internal code or the secret code is verified,
s513: if not, sending the corresponding commodity relevant information and all the client information of the commodity anti-counterfeiting codes which are inquired and verified historically to the client of the inquiry, recording the client information of the inquiry and verification,
s52: when the anti-counterfeiting code type of the ID code is a secret code, judging whether the ID code corresponds to the encrypted ID code in the verification password,
s521: if so, determining whether to receive the verification information of the password for the first time,
s522: if the verification information of the password is received for the first time, judging whether the commodity has the internal code,
s523: if the internal code exists, judging whether the internal code is verified,
s524: if the verification is not carried out, sending corresponding commodity relevant information to the client side of the current query, and recording the client side information of the current query and verification;
s53: and when the anti-counterfeiting code type of the ID code is an internal code, judging whether the ID code corresponds to the encrypted ID code in the verification password, if so, sending corresponding commodity related information and all client information of the commodity anti-counterfeiting code verified by historical query to the queried client, recording the queried and verified client information, and if not, prompting that the commodity is a counterfeit commodity.
2. The method for generating and verifying the merchandise security code according to claim 1, wherein the ID code is an ordered code, and the verification password is an invisible string formed by encrypting the ID code, the production time of the ID code and the random value by using AES symmetric encryption algorithm, TEA symmetric encryption algorithm, RSA asymmetric encryption algorithm or ECC asymmetric encryption algorithm, and is converted into a visible character by urlsafe-base64, bin2hex, base64 or base 32.
3. The merchandise anti-counterfeiting code generation and verification method according to claim 1, wherein the first character of the ID code is an anti-counterfeiting code type code,
and/or the first character of the plain code, the secret code and the internal code allocated to the same commodity is different, and the rest characters are the same.
4. The method for generating and verifying the merchandise anti-counterfeiting code according to claim 1, wherein the step S40 specifically comprises the following steps:
s41: receiving the scanned anti-counterfeiting code information and the client information,
s42: and judging whether the account information of the client information is safe and effective, if so, storing the time and the place of the client inquiry, and executing S50.
5. The merchandise security code generation and verification method of claim 4, wherein after step S20, before step S40, the method further comprises the steps of:
s30: and connecting a printer to print the anti-counterfeiting code distributed by the commodity so that the plain code, the secret code or the internal code forms a corresponding printed label on the commodity.
6. The method for generating and verifying the merchandise anti-counterfeiting code according to claim 1, wherein the step S512 is followed by the following steps:
s514: if the internal code or the secret code is verified, sending information prompting that the commodity is verified by the internal code or the secret code and is guarded against counterfeiting to the client side of the current query, sending commodity relevant information corresponding to the commodity and all client side information of which the historical query verifies the commodity anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query verification.
7. The method for generating and verifying the merchandise anti-counterfeiting code according to claim 1, wherein the step S523 is followed by the following steps:
s525: if the internal code is verified, sending information prompting that the commodity is subjected to secret code verification and is wary of counterfeiting prevention to the client side of the current query, sending commodity relevant information corresponding to the commodity and all client side information of the commodity which is subjected to historical query verification and is provided with the anti-counterfeiting code to the client side of the current query, and recording the client side information of the current query verification.
8. The method for generating and verifying the anti-counterfeiting code of the commodity according to any one of claims 1 to 7, wherein the printing label formed by the secret code is covered by a disposable coating, the plain code is arranged outside the commodity, and the internal code is arranged inside the commodity.
9. A commodity anti-counterfeiting code generation and verification system is characterized by comprising: the commodity anti-counterfeiting code generation and verification system comprises a memory, a processor and a commodity anti-counterfeiting code generation and verification program which is stored on the memory and can run on the processor, wherein:
the commodity anti-counterfeiting code generation and verification program realizes the steps of the commodity anti-counterfeiting code generation and verification method according to any one of claims 1 to 8 when being executed by the processor.
10. A computer-readable storage medium, wherein a commodity anti-counterfeiting code generation and verification program is stored on the computer-readable storage medium, and when the commodity anti-counterfeiting code generation and verification program is executed by a processor, the steps of the commodity anti-counterfeiting code generation and verification method according to any one of claims 1 to 8 are implemented.
CN201811418211.1A 2018-11-26 2018-11-26 Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium Pending CN111311268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811418211.1A CN111311268A (en) 2018-11-26 2018-11-26 Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811418211.1A CN111311268A (en) 2018-11-26 2018-11-26 Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111311268A true CN111311268A (en) 2020-06-19

Family

ID=71159546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811418211.1A Pending CN111311268A (en) 2018-11-26 2018-11-26 Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111311268A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609536A (en) * 2021-08-05 2021-11-05 国科量子通信网络有限公司 Anti-counterfeiting system and method based on quantum secret communication
CN113706170A (en) * 2021-08-26 2021-11-26 国科量子通信网络有限公司 Quantum intelligent service code anti-counterfeiting system
CN114529315A (en) * 2022-02-23 2022-05-24 南京第壹时间信息科技有限公司 Verification method and device based on Internet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077467A (en) * 2013-01-30 2013-05-01 王志刚 Method and system for verifying product authenticity
CN103093365A (en) * 2013-01-30 2013-05-08 王志刚 Method and system for verifying authenticity of product
CN104951943A (en) * 2015-04-24 2015-09-30 杭州甲骨文科技有限公司 Anti-counterfeiting method based on random plain and secret code association examination
CN107133532A (en) * 2017-05-31 2017-09-05 无锡井通网络科技有限公司 A kind of block chain logistics based on NFC is traced to the source tracking method for anti-counterfeit
CN108665288A (en) * 2018-05-11 2018-10-16 中国联合网络通信集团有限公司 The method of checking article genuine-fake and the system of checking article genuine-fake

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077467A (en) * 2013-01-30 2013-05-01 王志刚 Method and system for verifying product authenticity
CN103093365A (en) * 2013-01-30 2013-05-08 王志刚 Method and system for verifying authenticity of product
CN104951943A (en) * 2015-04-24 2015-09-30 杭州甲骨文科技有限公司 Anti-counterfeiting method based on random plain and secret code association examination
CN107133532A (en) * 2017-05-31 2017-09-05 无锡井通网络科技有限公司 A kind of block chain logistics based on NFC is traced to the source tracking method for anti-counterfeit
CN108665288A (en) * 2018-05-11 2018-10-16 中国联合网络通信集团有限公司 The method of checking article genuine-fake and the system of checking article genuine-fake

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609536A (en) * 2021-08-05 2021-11-05 国科量子通信网络有限公司 Anti-counterfeiting system and method based on quantum secret communication
CN113706170A (en) * 2021-08-26 2021-11-26 国科量子通信网络有限公司 Quantum intelligent service code anti-counterfeiting system
CN114529315A (en) * 2022-02-23 2022-05-24 南京第壹时间信息科技有限公司 Verification method and device based on Internet
CN114529315B (en) * 2022-02-23 2023-12-26 南京第壹时间信息科技有限公司 Verification method and device based on Internet

Similar Documents

Publication Publication Date Title
JP5149909B2 (en) Data access control with RFID devices
US8368516B2 (en) Secure data exchange with a transponder
JP4791497B2 (en) Radio frequency identification system and method
US20190347888A1 (en) Document authentication system
CN111311268A (en) Commodity anti-counterfeiting code generation and verification method, system and computer readable storage medium
US20180047032A1 (en) Merchandise anti-counterfeiting and authentication method and the non-transitory computer readable medium thereof
US20080079535A1 (en) Method and system for verifying authenticity of an object
US20090129595A1 (en) Verification of a product identifier
US9679117B2 (en) System and method for obtaining an authorization key to use a product
WO2017116303A1 (en) Secure dual-mode anti-counterfeit product authentication methodology and system
WO2016019456A1 (en) Id tag authentication system and method
CN102855574A (en) Method and system for identifying commodity information based on NFC (Near Field Communication)
CN104240095A (en) Two-dimensional code anti-fake method and system based on domain name
US11805111B2 (en) Secure RFID tag identification
CN109360008B (en) Product anti-counterfeiting authentication updating method and system
EP3282402A1 (en) Merchandise anti-counterfeiting and authentication method and the non-transitory computer readable medium thereof
KR101527582B1 (en) System for verifying product genuineness using double security key and method thereof
US9070001B2 (en) Safe initialization procedure for a communication system
CN109583555B (en) Product anti-counterfeiting electronic tag authentication method and system
US9450765B2 (en) System and method capable of verifying contactless sensor tag
KR101074778B1 (en) Sensor tag and method for authenticating for the same
KR101285972B1 (en) System and method for preventing forgery and tampering of electronic tag
CN113033746A (en) Filter element anti-counterfeiting method, filter element anti-counterfeiting equipment and filter element anti-counterfeiting system
EP2101302A1 (en) Method and system for verifying authenticity of an object
KR20140123251A (en) Method and system for providing certification of financial service page

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20231229

AD01 Patent right deemed abandoned