CN110232574A - Product Validation method, apparatus, equipment and storage medium based on block chain - Google Patents
Product Validation method, apparatus, equipment and storage medium based on block chain Download PDFInfo
- Publication number
- CN110232574A CN110232574A CN201910375887.5A CN201910375887A CN110232574A CN 110232574 A CN110232574 A CN 110232574A CN 201910375887 A CN201910375887 A CN 201910375887A CN 110232574 A CN110232574 A CN 110232574A
- Authority
- CN
- China
- Prior art keywords
- product
- target
- block chain
- identifying code
- target identifying
- 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
Links
- 238000012019 product validation Methods 0.000 title claims abstract description 86
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001960 triggered effect Effects 0.000 claims abstract description 16
- 238000004519 manufacturing process Methods 0.000 claims description 15
- 230000007246 mechanism Effects 0.000 claims description 5
- 238000004806 packaging method and process Methods 0.000 claims description 5
- 238000012795 verification Methods 0.000 abstract description 5
- 239000000047 product Substances 0.000 description 184
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
Abstract
The present invention provides a kind of Product Validation method, apparatus, equipment and storage medium based on block chain, i.e. when receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product, target identifying code in the Product Validation instruction is obtained, and is judged in block chain according to the target identifying code with the presence or absence of the corresponding relevant product information of the target identifying code;If obtaining the inquiry times of the target identifying code there are the relevant product information in the block chain, and judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;If the target identifying code is not anti-fake certificate for the first time, show the target identifying code inquiry times and corresponding query time, generate and show that current commodity may be the reminder message of counterfeit goods.The present invention improves the authenticity of relevant product information, improves the accuracy and practicability of authenticity of products verification result.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of Product Validation method, apparatus based on block chain, set
Standby and computer readable storage medium.
Background technique
With the improvement of living standards, the personation that demand of the consumer to product is continuously increased, and frequently occurs in the market
Low-quality goods not only threatens the life security of consumer, while also causing huge loss to regular manufacturer.Therefore,
Product false proof, which is traced to the source, is increasingly becoming consumer and manufacturer's focus of attention.Currently, product in the market is usually using bar code
As anti-counterfeiting mark, bar code is a string of Arabic numerals, has certain coding rule.But the corresponding coding of bar code
Rule is relatively simple, is easy to be cracked by illegal person and carry out the batch duplicating of bar code, to cause anti-fake inefficiency.
Therefore, how to solve the problem of that the anti-fake inefficiency of existing product bar code is current urgent need to resolve.
Summary of the invention
The main purpose of the present invention is to provide a kind of Product Validation method, apparatus, equipment and calculating based on block chain
Machine readable storage medium storing program for executing, it is intended to the technical issues of solving existing product bar code anti-fake inefficiency.
To achieve the above object, the present invention provides a kind of Product Validation method based on block chain, described to be based on block chain
Product Validation method the following steps are included:
When receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product, obtains the product and test
Target identifying code in card instruction, and judge to correspond in block chain with the presence or absence of the target identifying code according to the target identifying code
Relevant product information;
If there are the relevant product informations in the block chain, the inquiry times of the target identifying code are obtained, and
Judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;
If the target identifying code is not anti-fake certificate for the first time, the inquiry times of the target identifying code and right are shown
The query time answered generates and shows that current commodity may be the reminder message of counterfeit goods.
Optionally, described when receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product, it obtains
Target identifying code in the Product Validation instruction is taken, and is judged in block chain according to the target identifying code with the presence or absence of the mesh
Before the step of marking identification code corresponding relevant product information, further includes:
When receiving the uploading instructions of businessman's triggering, the corresponding businessman's identification code of the businessman is obtained, and according to described
Businessman's identification code judges whether the businessman is legal businessman;
If the businessman is legal businessman, the product ID and corresponding product letter that the businessman uploads are obtained
Breath, wherein the product information include in production time, manufacturer's information, target marketing region and circulation information at least
It is a kind of;
The product information is stored to the publicly-owned chain of block chain, corresponding key is generated according to businessman's identification code,
And the key is sent to the businessman.
Optionally, if there are the relevant product informations in the block chain, the target identifying code is obtained
Inquiry times, and according to the inquiry times judge the target identifying code whether be for the first time anti-fake certificate the step of after, also
Include:
If the target identifying code is that anti-fake certificate, the location information and the correlation for obtaining the user produce for the first time
Target marketing region in product information, and judge whether the location information matches with the target marketing region;
If the location information matches with the target marketing region, the production in the relevant product information is shown
Quotient's information, production time and shelf-life, so that user is according in the relevant product information and target product packaging
The product information of record carries out authenticity of products verifying.
Optionally, if the target identifying code is anti-fake certificate for the first time, obtain the location information of the user with
And the target marketing region in the Related product, and judge whether the location information matches with the target marketing region
The step of after, further includes:
If the location information and the target marketing region mismatch, according to the target marketing Area generation and show
Show the corresponding reminder message for selling region exception.
Optionally, described when receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product, it obtains
Target identifying code in the Product Validation instruction is taken, and is judged in block chain according to the target identifying code with the presence or absence of the mesh
After the step of marking identification code corresponding relevant product information, further includes:
If the relevant product information is not present in the block chain, show that current commodity may mentioning for counterfeit goods
Awake message, so that the fake products is reported to corresponding administrative department by user.
Optionally, if the relevant product information is not present in the block chain, show that current commodity may be
The reminder message of counterfeit goods is also wrapped after the step of fake products is reported to corresponding administrative department so as to user
It includes:
When reporting instruction of user's operation triggering is being received, is obtaining and reports the product information of target product and factory in instruction
Commodity board, obtains the image of target product, user mobile phone number and product purchase place, and by the product information, manufacturer's product
Board, image, user mobile phone number and product purchase place are uploaded to right-safeguarding mechanism.
Optionally, if there are the relevant product informations in the block chain, the target identifying code is obtained
Inquiry times, and according to the inquiry times judge the target identifying code whether be for the first time anti-fake certificate the step of after, also
Include:
If the target identifying code is anti-fake certificate for the first time, the triggered time of the Product Validation instruction is obtained, and will
The triggered time is set as the opening time for the first time of the target product, obtains and show the Related product of the target product
Information, so that user checks.
In addition, to achieve the above object, it is described to be based on the present invention also provides a kind of Product Validation device based on block chain
The Product Validation device of block chain includes:
Signal judgement module, in the Product Validation instruction for receiving antifalsification label triggering of the user based on target product
When, target identifying code in the Product Validation instruction is obtained, and judge to whether there is in block chain according to the target identifying code
The corresponding relevant product information of the target identifying code;
Number judgment module, if obtaining the target for there are the relevant product informations in the block chain and knowing
The inquiry times of other code, and judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;
Reminding module is palmed off, if not being anti-fake certificate for the first time for the target identifying code, shows the target identification
The inquiry times of code and corresponding query time generate and show that current commodity may be the reminder message of counterfeit goods.
In addition, to achieve the above object, it is described to be based on the present invention also provides a kind of Product Validation equipment based on block chain
The Product Validation equipment of block chain includes processor, memory and is stored on the memory and can be by the processor
The Product Validation program based on block chain executed, wherein the Product Validation program based on block chain is held by the processor
When row, realize such as the step of the above-mentioned Product Validation method based on block chain.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
The Product Validation program based on block chain is stored on storage medium, wherein the Product Validation program based on block chain is located
When managing device execution, realize such as the step of the above-mentioned Product Validation method based on block chain.
The present invention provides a kind of Product Validation method based on block chain, that is, is receiving user based on the anti-of target product
When the Product Validation instruction of pseudo label triggering, target identifying code in the Product Validation instruction is obtained, and know according to the target
Other code judges in block chain with the presence or absence of the corresponding relevant product information of the target identifying code;If in the block chain, there are institutes
Relevant product information is stated, then obtains the inquiry times of the target identifying code, and judge the target according to the inquiry times
Whether identification code is anti-fake certificate for the first time;If the target identifying code is not anti-fake certificate for the first time, the target identification is shown
The inquiry times of code and corresponding query time generate and show that current commodity may be the reminder message of counterfeit goods.It is logical
Aforesaid way is crossed, the present invention is saved the relevant product information of product by block chain, improves the authenticity of relevant product information,
And anti-fake certificate number based on the relevant product information carries out the judgement of commodity true and false, prevent product identification code be cracked or
Person is the case where product identification code is secondary use, and improves the accuracy and practicability of authenticity of products verification result, solves
The technical issues of existing product bar code anti-fake inefficiency.
Detailed description of the invention
Fig. 1 is the hardware configuration signal of the Product Validation equipment based on block chain involved in the embodiment of the present invention
Figure;
Fig. 2 is that the present invention is based on the flow diagrams of the Product Validation method first embodiment of block chain;
Fig. 3 is that the present invention is based on the flow diagrams of the Product Validation method second embodiment of block chain;
Fig. 4 is that the present invention is based on the flow diagrams of the Product Validation method 3rd embodiment of block chain;
Fig. 5 is that the present invention is based on the functional block diagrams of the Product Validation device first embodiment of block chain.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to the Product Validation method based on block chain be mainly used in the product based on block chain
Equipment is verified, being somebody's turn to do the Product Validation equipment based on block chain can be PC, portable computer, mobile terminal etc. with display and place
The equipment for managing function.
Referring to Fig.1, Fig. 1 is the hardware knot of the Product Validation equipment based on block chain involved in the embodiment of the present invention
Structure schematic diagram.In the embodiment of the present invention, the Product Validation equipment based on block chain may include processor 1001 (such as CPU),
Communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing this
Connection communication between a little components;User interface 1003 may include display screen (Display), input unit such as keyboard
(Keyboard);Network interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface);It deposits
Reservoir 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic
Disk storage, memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 is not constituted to the product based on block chain
The restriction for verifying equipment may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation system
System, network communication module and the Product Validation program based on block chain.
In Fig. 1, network communication module is mainly used for connecting server, carries out data communication with server;And processor
1001 can call the Product Validation program based on block chain stored in memory 1005, and execute offer of the embodiment of the present invention
The Product Validation method based on block chain.
The embodiment of the invention provides a kind of Product Validation methods based on block chain.
It is that the present invention is based on the flow diagrams of the Product Validation method first embodiment of block chain referring to Fig. 2, Fig. 2.
In the present embodiment, the Product Validation method based on block chain the following steps are included:
Step S10 obtains institute when receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product
Target identifying code in Product Validation instruction is stated, and judges to know in block chain with the presence or absence of the target according to the target identifying code
The corresponding relevant product information of other code;
It, can be by product the technical issues of in order to solve existing product bar code anti-fake inefficiency in the present embodiment
Identification code and product information are stored to block chain, and product information is prevented to be tampered.Quotient is saved by the publicly-owned chain of block chain
Family's information, that is, product information.Then network and mobile terminal customer inquiries authenticity of products are provided and report fake products mode.Specifically
Ground absorbs and knows the two-dimensional code anti-counterfeiting label being positioned respectively on commodity after consumer buys target product, by hand-held whole
The two dimensional code or three-dimension code antifalsification label being positioned respectively on commodity are known in the end intake of the terminal such as mobile phone, PAD.Concrete operations
Are as follows: wechat small routine, APP etc. can be opened, identification code is shot by mobile phone terminal camera, system penetrates CDR picture recognition skill
Art obtains the target identifying code in the antifalsification label, and the product information that will be stored in the target identifying code and block chain
It is compared, judges the target identifying code for whether being stored with businessman's upload in block chain and corresponding Related product letter
Breath.Wherein, antifalsification label can be the label code of the diversified forms such as bar code or two dimensional code.In the present embodiment, with two dimensional code
It is illustrated.Inquire the corresponding Related product of the target product in block chain according to the target identifying code as a result,
Information.
Step S20 obtains the inquiry of the target identifying code if there are the relevant product informations in the block chain
Number, and judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;
In the present embodiment, the antifalsification label of product is arranged in interiors of products, i.e., when only opening and using the product, ability
The antifalsification label is got, and barcode scanning is carried out to the antifalsification label, to obtain the target identification code of target product.Due to one
The corresponding fixed two-dimensional code anti-counterfeiting label of part product, it is assumed that the two-dimensional code anti-counterfeiting label is counterfeited, or by largely multiple
It makes, in this way when being verified, it is possible to by verifying, so the same antifalsification label quilt in order to prevent in the present embodiment
Multiple authentication first determines whether the two-dimensional code anti-counterfeiting label of the identification is to compare certification for the first time, if so, continuing
Carry out subsequent verification operations.
Further, after the step S10, further includes:
If the relevant product information is not present in the block chain, show that current commodity may mentioning for counterfeit goods
Awake message, so that the fake products is reported to corresponding administrative department by user.
In the present embodiment, if there is corresponding product information, then continue true according to the inquiry times of product progress product
Otherwise puppet verifying shows that current commodity may be the reminder message of counterfeit goods.In specific embodiment, if the product is not believed
Breath, can show the reminder message of counterfeit goods, be fake products so that user understands current production.In specific embodiment, may be used also
To be further accused of the buying pattern of the merchandise news palmed off and counterfeit goods by the product and buy place to be recorded
In block chain, or the product is accused of to the merchandise news of personation and the buying pattern and the push of purchase place of counterfeit goods
To the corresponding businessman of target product, so that businessman investigates the counterfeit goods.
Further, if the relevant product information is not present in the block chain, show that current commodity may
For the reminder message of counterfeit goods, after the step of fake products is reported to corresponding administrative department so as to user, also
Include:
When reporting instruction of user's operation triggering is being received, is obtaining and reports the product information of target product and factory in instruction
Commodity board, obtains the image of target product, user mobile phone number and product purchase place, and by the product information, manufacturer's product
Board, image, user mobile phone number and product purchase place are uploaded to right-safeguarding mechanism.
In the present embodiment, while prompting user's current commodity may be counterfeit goods, it can also display whether to carry out
Palm off the reminder message of information reporting.And receiving reporting for reminder message triggering of the user based on the personation information reporting
When instruction, display reports interface, reports information so that user reports interface to fill in correlation based on the display.If intake is comprising producing
The product picture of product information and manufacturer's brand, and the relevant information of itself is filled in, such as phone number and name, with after an action of the bowels
It is continuous to collect evidence.It further includes the information such as purchase place, buying pattern and time buying that correlation, which reports information,.And user fills in
Above-mentioned correlation reports information to be uploaded to right-safeguarding mechanism, so that consumer be helped to carry out right-safeguarding.
Step S30 shows the inquiry time of the target identifying code if the target identifying code is not anti-fake certificate for the first time
Several and corresponding query time generates and shows that current commodity may be the reminder message of counterfeit goods.
In the present embodiment, if the target identifying code is not anti-fake certificate for the first time, i.e. two-dimensional code anti-counterfeiting label is not first
It is secondary to compare certification, illustrate that the antifalsification label had been verified, the antifalsification label of the requests verification may be personation.Also
The corresponding inquiry times of the target identification code, query time can further be obtained and target product is corresponding opens for the first time
Time etc., and will opening time, inquiry times and the corresponding query time for the first time.Wherein, the opening time is for the first time
The first query time of user.
Further, after the step S30, further includes:
If the target identifying code is anti-fake certificate for the first time, the triggered time of the Product Validation instruction is obtained, and will
The triggered time is set as the opening time for the first time of the target product, obtains and show the Related product of the target product
Information, so that user checks.
In the present embodiment, if the target identifying code is that anti-fake certificate, i.e., the described target product are certified products for the first time, currently it is
The Product Validation that user carries out antifalsification label scanning after opening for the first time and triggers instructs.By receive the Product Validation instruction when
Between be set as opening time for the first time of the target product, that is, obtain the triggered time of the Product Validation instruction, and will be described
Triggered time is set as the opening time for the first time of the target product, to record the corresponding target product of the antifalsification label
Use the time.And by the corresponding relevant product information of the target product, such as date of manufacture, manufacturer's information, shelf-life, target
Sales region and corresponding distributor information etc., are shown by terminal interface, so that user checks.
The present embodiment provides a kind of Product Validation methods based on block chain, that is, are receiving user based on target product
When the Product Validation instruction of antifalsification label triggering, target identifying code in the Product Validation instruction is obtained, and according to the target
Identification code judges in block chain with the presence or absence of the corresponding relevant product information of the target identifying code;If existing in the block chain
The relevant product information then obtains the inquiry times of the target identifying code, and judges the mesh according to the inquiry times
Whether mark identification code is anti-fake certificate for the first time;If the target identifying code is not anti-fake certificate for the first time, show that the target is known
The inquiry times of other code and corresponding query time generate and show that current commodity may be the reminder message of counterfeit goods.
By the above-mentioned means, the present invention saves the relevant product information of product by block chain, the true of relevant product information is improved
Property, and the anti-fake certificate number based on the relevant product information carries out the judgement of commodity true and false, prevents product identification code and is broken
The case where solution or product identification code are secondary use, improves the accuracy and practicability of authenticity of products verification result, solves
The technical issues of existing product bar code of having determined anti-fake inefficiency.
It is that the present invention is based on the flow diagrams of the Product Validation method second embodiment of block chain referring to Fig. 3, Fig. 3.
Based on above-mentioned embodiment illustrated in fig. 2, in the present embodiment, before the step S10, further includes:
Step S41 obtains the corresponding businessman's identification code of the businessman when receiving the uploading instructions of businessman's triggering, and
Judge whether the businessman is legal businessman according to businessman's identification code;
In the present embodiment, businessman is when being stored in block chain for relevant product information, it is desirable to provide can prove that businessman is legal
The relevant information of Business Information, such as merchant identification code either status of a legal person card number.Wherein, businessman is producing each product
When, for the corresponding unique Product identification code for mark of each production, the combination of the product ID can
Think YYYYMMDDHHMMSS+ businessman identification code+UUID, then encrypts the product ID according to predetermined manner
Afterwards, the product ID of encryption and relevant product information are written in the publicly-owned chain of block chain.Receive businessman user's input
Businessman's identification code, and businessman's identification code is compared with registration and effective businessman's identification code, to judge the quotient
Whether family is the legal businessman with effective businessman's identification code.
Step S42 obtains product ID that the businessman uploads and corresponding if the businessman is legal businessman
Product information, wherein the product information includes in production time, manufacturer's information, target marketing region and circulation information
At least one;
In the present embodiment, if businessman's identification code be effective identification code, receive businessman upload product ID with
And the corresponding product information of the affiliated product of product ID.Wherein, the product information includes production time, manufacturer's letter
At least one of breath, target marketing region and circulation information.
Step S43 stores the product information to the publicly-owned chain of block chain, is generated and is corresponded to according to businessman's identification code
Key, and the key is sent to the businessman.
In the present embodiment, product ID that businessman uploads and corresponding product information are stored publicly-owned to block chain
In chain, to carry out the anti-tamper preservation of product ID and corresponding product information.Then according to businessman's identification code
Corresponding key is generated, prevents criminal from carrying out distorting for product information using businessman's identification code, and the key is sent
To businessman, so that businessman passes through the legal operation for carrying out product information of the key.
It is that the present invention is based on the flow diagrams of the Product Validation method 3rd embodiment of block chain referring to Fig. 4, Fig. 4.
Based on above-mentioned embodiment illustrated in fig. 3, in the present embodiment, after the step S20, further includes:
Step S51 obtains location information and the institute of the user if the target identifying code is anti-fake certificate for the first time
State the target marketing region in relevant product information, and judge the location information whether with target marketing region phase
Match;
In the present embodiment, by judging whether the sales region of product is target marketing region, not only can further into
The verifying of row fake products can also further prevent string goods therefore can further judge the target marketing of the target product
Whether region is identical as the present sales region of target product.The current location information of user can the approximate purchase position as product
Confidence breath, the location information of user target marketing corresponding with target product region is matched, such as user
The location information that location information belongs to the target marketing region either user is the target marketing region, then determines institute
Location information is stated to match with the target marketing region.
Step S52 shows the relevant product information if the location information matches with the target marketing region
In manufacturer's information, production time and shelf-life, so that user produces according to the relevant product information and the target
The product information recorded in product packaging carries out authenticity of products verifying.
In the present embodiment, if the location information belongs to the target marketing region or the location information is institute
Target marketing region is stated, then the sale locations of the target product are without exception.The phase of the target product can be further displayed
Product information is closed, such as manufacturer's information, production time and shelf-life, user can be further according to manufacturer's information, life
It produces the time and the shelf-life judges whether manufacturer's information, production time and the shelf-life recorded in product packaging are consistent, if
Inconsistent, then the product may also be fake products.
Step S53, if the location information and the target marketing region mismatch, according to the target marketing region
It generates and shows the corresponding reminder message for selling region exception.
In the present embodiment, if it is determined that the location information is not belonging to the target marketing region or determines the location information
It is not the target marketing region, then determines that transaction is abnormal, system manager and related dealer is notified to confirm.Thus may be used
To identify whether to be implicitly present in the situations of maliciously disrupting the market such as violation string goods, protect the equity of related operator without damage.
In addition, the embodiment of the present invention also provides a kind of Product Validation device based on block chain.
It is that the present invention is based on the signals of the functional module of the Product Validation device first embodiment of block chain referring to Fig. 5, Fig. 5
Figure.
In the present embodiment, the Product Validation device based on block chain includes:
Signal judgement module 10, for referring in the Product Validation for receiving antifalsification label triggering of the user based on target product
When enabling, target identifying code in the Product Validation instruction is obtained, and judge whether deposit in block chain according to the target identifying code
In the corresponding relevant product information of the target identifying code;
Number judgment module 20, if obtaining the target for there are the relevant product informations in the block chain
The inquiry times of identification code, and judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;
Reminding module 30 is palmed off, if not being anti-fake certificate for the first time for the target identifying code, shows that the target is known
The inquiry times of other code and corresponding query time generate and show that current commodity may be the reminder message of counterfeit goods.
Further, the Product Validation device based on block chain further include:
Reporting module, if showing that current commodity may for the relevant product information to be not present in the block chain
For the reminder message of counterfeit goods, so that the fake products is reported to corresponding administrative department by user.
Further, the reporting module is also used to:
When reporting instruction of user's operation triggering is being received, is obtaining and reports the product information of target product and factory in instruction
Commodity board, obtains the image of target product, user mobile phone number and product purchase place, and by the product information, manufacturer's product
Board, image, user mobile phone number and product purchase place are uploaded to right-safeguarding mechanism.
Further, the Product Validation device based on block chain further include:
First information display module obtains the product and tests if being anti-fake certificate for the first time for the target identifying code
The triggered time of instruction is demonstrate,proved, and sets the triggered time to opening time for the first time of the target product, obtains and shows
The relevant product information of the target product, so that user checks.
Further, the Product Validation device based on block chain further include:
Businessman's judgment module, for obtaining the corresponding businessman of the businessman when receiving the uploading instructions of businessman's triggering
Identification code, and judge whether the businessman is legal businessman according to businessman's identification code;
Data obtaining module obtains the product ID that the businessman uploads if being legal businessman for the businessman
And corresponding product information, wherein the product information include the production time, manufacturer's information, target marketing region and
At least one of circulation information;
Information storage module is identified for storing the product information to the publicly-owned chain of block chain according to the businessman
Code generates corresponding key, and the key is sent to the businessman.
Further, the Product Validation device based on block chain further include:
Region decision module obtains the position of the user if being anti-fake certificate for the first time for the target identifying code
Target marketing region in information and the relevant product information, and judge the location information whether with the target marketing
Region matches;
Second information display module shows institute if matching for the location information and the target marketing region
Manufacturer's information, production time and the shelf-life in relevant product information are stated, so that user is according to the relevant product information
And the product information recorded in the target product packaging carries out authenticity of products verifying.
Region abnormity prompt module, if being mismatched for the location information and the target marketing region, according to institute
It states target marketing Area generation and shows the corresponding reminder message for selling region exception.
Wherein, modules and the above-mentioned Product Validation based on block chain in the above-mentioned Product Validation device based on block chain
Each step is corresponding in embodiment of the method, and function and realization process no longer repeat one by one here.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium.
The Product Validation program based on block chain is stored on computer readable storage medium of the present invention, wherein described be based on
When the Product Validation program of block chain is executed by processor, the step such as the above-mentioned Product Validation method based on block chain is realized
Suddenly.
Wherein, the Product Validation program based on block chain, which is performed realized method, can refer to that the present invention is based on blocks
Each embodiment of the Product Validation method of chain, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of Product Validation method based on block chain, which is characterized in that the Product Validation method packet based on block chain
Include following steps:
When receiving the Product Validation instruction that user is triggered based on the antifalsification label of target product, obtains the Product Validation and refer to
Target identifying code in order, and judged in block chain according to the target identifying code with the presence or absence of the corresponding phase of the target identifying code
Close product information;
If the inquiry times of the target identifying code are obtained there are the relevant product information in the block chain, and according to
The inquiry times judge whether the target identifying code is anti-fake certificate for the first time;
If the target identifying code is not anti-fake certificate for the first time, the inquiry times of the target identifying code and corresponding are shown
Query time generates and shows that current commodity may be the reminder message of counterfeit goods.
2. as described in claim 1 based on the Product Validation method of block chain, which is characterized in that described to receive user's base
When the Product Validation instruction that the antifalsification label of target product triggers, target identifying code in the Product Validation instruction is obtained, and
The step of judging relevant product information corresponding with the presence or absence of the target identifying code in block chain according to the target identifying code
Before, further includes:
When receiving the uploading instructions of businessman's triggering, the corresponding businessman's identification code of the businessman is obtained, and according to the businessman
Identification code judges whether the businessman is legal businessman;
If the businessman is legal businessman, product ID and corresponding product information that the businessman uploads are obtained,
In, the product information includes at least one of production time, manufacturer's information, target marketing region and circulation information;
The product information is stored to the publicly-owned chain of block chain, corresponding key is generated according to businessman's identification code, and will
The key is sent to the businessman.
3. as claimed in claim 2 based on the Product Validation method of block chain, which is characterized in that if in the block chain
There are the relevant product informations, then obtain the inquiry times of the target identifying code, and judge institute according to the inquiry times
State target identifying code whether be for the first time anti-fake certificate the step of after, further includes:
If the target identifying code is that anti-fake certificate, the location information and the Related product for obtaining the user are believed for the first time
Target marketing region in breath, and judge whether the location information matches with the target marketing region;
If the location information matches with the target marketing region, manufacturer's letter in the relevant product information is shown
Breath, production time and shelf-life, so that user records according in the relevant product information and target product packaging
Product information carry out authenticity of products verifying.
4. as claimed in claim 3 based on the Product Validation method of block chain, which is characterized in that if the target identification
Code is anti-fake certificate for the first time, then obtains the target marketing region in the location information and the Related product of the user, and
After judging the step of whether location information matches with the target marketing region, further includes:
If the location information and the target marketing region mismatch, according to the target marketing Area generation and display pair
That answers sells the reminder message of region exception.
5. as described in claim 1 based on the Product Validation method of block chain, which is characterized in that described to receive user's base
When the Product Validation instruction that the antifalsification label of target product triggers, target identifying code in the Product Validation instruction is obtained, and
The step of judging relevant product information corresponding with the presence or absence of the target identifying code in block chain according to the target identifying code
Later, further includes:
If the relevant product information is not present in the block chain, show that current commodity may disappear for the prompting of counterfeit goods
Breath, so that the fake products is reported to corresponding administrative department by user.
6. as claimed in claim 5 based on the Product Validation method of block chain, which is characterized in that if in the block chain
There is no the relevant product informations, then show that current commodity may be the reminder message of counterfeit goods, so that user will be described
Fake products reported to after the step of corresponding administrative department, further includes:
When reporting instruction of user's operation triggering is being received, the product information and manufacturer's product for reporting target product in instruction are obtained
Board, obtains the image of target product, user mobile phone number and product purchase place, and by the product information, manufacturer's brand, figure
Picture, user mobile phone number and product purchase place are uploaded to right-safeguarding mechanism.
7. the Product Validation method based on block chain as described in claim 1 to 6 any one, which is characterized in that if described
There are the relevant product informations in the block chain, then obtain the inquiry times of the target identifying code, and look into according to described
Ask number judge the target identifying code whether be for the first time anti-fake certificate the step of after, further includes:
If the target identifying code is anti-fake certificate for the first time, the triggered time of the Product Validation instruction is obtained, and will be described
Triggered time is set as the opening time for the first time of the target product, obtains and show the Related product letter of the target product
Breath, so that user checks.
8. a kind of Product Validation device based on block chain, which is characterized in that the Product Validation device packet based on block chain
It includes:
Signal judgement module, when for being instructed in the Product Validation for receiving antifalsification label triggering of the user based on target product,
Target identifying code in the Product Validation instruction is obtained, and is judged in block chain according to the target identifying code with the presence or absence of described
The corresponding relevant product information of target identifying code;
Number judgment module, if obtaining the target identifying code for there are the relevant product informations in the block chain
Inquiry times, and judge whether the target identifying code is anti-fake certificate for the first time according to the inquiry times;
Reminding module is palmed off, if not being anti-fake certificate for the first time for the target identifying code, shows the target identifying code
Inquiry times and corresponding query time generate and show that current commodity may be the reminder message of counterfeit goods.
9. a kind of Product Validation equipment based on block chain, which is characterized in that the Product Validation equipment packet based on block chain
It includes processor, memory and is stored in the product based on block chain that can be executed on the memory and by the processor
Proving program, wherein when the Product Validation program based on block chain is executed by the processor, realize such as claim 1 to
The step of Product Validation method described in any one of 7 based on block chain.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on area
The Product Validation program of block chain, wherein realizing such as right when the Product Validation program based on block chain is executed by processor
It is required that the step of Product Validation method described in any one of 1 to 7 based on block chain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910375887.5A CN110232574A (en) | 2019-05-07 | 2019-05-07 | Product Validation method, apparatus, equipment and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910375887.5A CN110232574A (en) | 2019-05-07 | 2019-05-07 | Product Validation method, apparatus, equipment and storage medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110232574A true CN110232574A (en) | 2019-09-13 |
Family
ID=67860607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910375887.5A Pending CN110232574A (en) | 2019-05-07 | 2019-05-07 | Product Validation method, apparatus, equipment and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110232574A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599212A (en) * | 2019-09-29 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Anti-counterfeiting parameter generation and anti-counterfeiting verification method, device and storage medium |
CN110782265A (en) * | 2019-11-12 | 2020-02-11 | 北京海益同展信息科技有限公司 | Information processing method, device, system and computer readable storage medium |
CN110910148A (en) * | 2019-10-11 | 2020-03-24 | 北京海益同展信息科技有限公司 | Block chain-based article authentication method and device and storage medium |
CN112163871A (en) * | 2020-10-12 | 2021-01-01 | 深圳劲嘉盒知科技有限公司 | Product verification method and device, computer equipment and storage medium |
CN112488261A (en) * | 2020-11-27 | 2021-03-12 | 广州富港生活智能科技有限公司 | Method and system for identifying authenticity of article based on block chain information storage |
CN112825091A (en) * | 2019-11-15 | 2021-05-21 | 息科安宝有限公司 | Genuine authentication content generating device and comprehensive authentication system using the same |
CN112989861A (en) * | 2021-02-08 | 2021-06-18 | 北京声智科技有限公司 | Sample identification code reading method and device, electronic equipment and storage medium |
CN113538009A (en) * | 2021-07-20 | 2021-10-22 | 黑龙江省疾病预防控制中心(黑龙江省公共卫生监测检验中心) | Food safety tracing system based on block chain and device thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341676A (en) * | 2017-07-17 | 2017-11-10 | 深圳天净喔溯源科技有限公司 | False proof mark and the method for tracing to the source |
CN108830617A (en) * | 2018-06-12 | 2018-11-16 | 黑启栋 | Super code anti-counterfeiting method and system based on block chain |
CN109146516A (en) * | 2018-08-02 | 2019-01-04 | 佛山鑫达智汇科技有限公司 | A kind of white wine traceability system based on block chain |
CN109360002A (en) * | 2018-09-21 | 2019-02-19 | 蛙力买(浙江)信息科技有限公司 | A kind of method for anti-counterfeit and device of product |
-
2019
- 2019-05-07 CN CN201910375887.5A patent/CN110232574A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107341676A (en) * | 2017-07-17 | 2017-11-10 | 深圳天净喔溯源科技有限公司 | False proof mark and the method for tracing to the source |
CN108830617A (en) * | 2018-06-12 | 2018-11-16 | 黑启栋 | Super code anti-counterfeiting method and system based on block chain |
CN109146516A (en) * | 2018-08-02 | 2019-01-04 | 佛山鑫达智汇科技有限公司 | A kind of white wine traceability system based on block chain |
CN109360002A (en) * | 2018-09-21 | 2019-02-19 | 蛙力买(浙江)信息科技有限公司 | A kind of method for anti-counterfeit and device of product |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110599212A (en) * | 2019-09-29 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Anti-counterfeiting parameter generation and anti-counterfeiting verification method, device and storage medium |
CN110910148A (en) * | 2019-10-11 | 2020-03-24 | 北京海益同展信息科技有限公司 | Block chain-based article authentication method and device and storage medium |
CN110782265A (en) * | 2019-11-12 | 2020-02-11 | 北京海益同展信息科技有限公司 | Information processing method, device, system and computer readable storage medium |
CN112825091A (en) * | 2019-11-15 | 2021-05-21 | 息科安宝有限公司 | Genuine authentication content generating device and comprehensive authentication system using the same |
CN112163871A (en) * | 2020-10-12 | 2021-01-01 | 深圳劲嘉盒知科技有限公司 | Product verification method and device, computer equipment and storage medium |
CN112488261A (en) * | 2020-11-27 | 2021-03-12 | 广州富港生活智能科技有限公司 | Method and system for identifying authenticity of article based on block chain information storage |
CN112989861A (en) * | 2021-02-08 | 2021-06-18 | 北京声智科技有限公司 | Sample identification code reading method and device, electronic equipment and storage medium |
CN113538009A (en) * | 2021-07-20 | 2021-10-22 | 黑龙江省疾病预防控制中心(黑龙江省公共卫生监测检验中心) | Food safety tracing system based on block chain and device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110232574A (en) | Product Validation method, apparatus, equipment and storage medium based on block chain | |
US10387695B2 (en) | Authenticating and managing item ownership and authenticity | |
US10152720B2 (en) | Authentication tags and systems for golf clubs | |
JP5319621B2 (en) | Method and system for preventing counterfeiting, diversion and piracy of products | |
US9076024B2 (en) | Anti-counterfeiting system and method | |
US8421593B2 (en) | Apparatus, systems and methods for authentication of objects having multiple components | |
CN107341676A (en) | False proof mark and the method for tracing to the source | |
Lehtonen et al. | Trust and security in RFID-based product authentication systems | |
US20110231316A1 (en) | Method, system and computer readable media containing a program for identifying whether a product is genuine | |
CN102855577B (en) | Multiple commodity antifake check method based on cloud computing | |
NZ542765A (en) | Mobile communication terminal having a function of reading out information from contactless type communication tag and method for providing information of whether an article is genuine or not | |
US8335491B1 (en) | Mobilux system utilizing camera-equipped cellular telephones for anti-counterfeit authentication | |
CN104794626B (en) | A kind of method for anti-counterfeit and device based on hardware information | |
CN111950673B (en) | Commodity anti-counterfeiting verification method, device and equipment based on two-dimensional code and storage medium | |
WO2017116303A1 (en) | Secure dual-mode anti-counterfeit product authentication methodology and system | |
CN105849739B (en) | Authentication system and authentication method | |
WO2005083644A1 (en) | Method and system for verifying the authenticity of goods | |
Ting et al. | A two-factor authentication system using Radio Frequency Identification and watermarking technology | |
KR101638787B1 (en) | Mobile ticket security system and method of based location information and terminal unique number | |
KR101195162B1 (en) | System and method for validationg product authenticity by using marker | |
WO2022094635A1 (en) | Anti-tampering medium, anti-tampering authentication system and tamper detection method | |
KR20180137667A (en) | Mobile quality certificate management system using identification code attached to product And method | |
TWI496095B (en) | Anti-counterfeit verification system | |
KR20110100801A (en) | System and method for recognizing authenticity uisng label | |
KR102511635B1 (en) | System for providing genuine watch evaluating service using qr 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 |