CN107248080A - A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation - Google Patents

A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation Download PDF

Info

Publication number
CN107248080A
CN107248080A CN201710249663.0A CN201710249663A CN107248080A CN 107248080 A CN107248080 A CN 107248080A CN 201710249663 A CN201710249663 A CN 201710249663A CN 107248080 A CN107248080 A CN 107248080A
Authority
CN
China
Prior art keywords
sequence number
code
product
quick response
multinomial
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
CN201710249663.0A
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.)
South China Agricultural University
Original Assignee
South China Agricultural University
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 South China Agricultural University filed Critical South China Agricultural University
Priority to CN201710249663.0A priority Critical patent/CN107248080A/en
Publication of CN107248080A publication Critical patent/CN107248080A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0212Chance discounts or incentives

Landscapes

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

Abstract

The invention discloses a kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation, it is characterised in that including step:Each product one sequence number of correspondence, the whole or one part of sequence number are used to generate a multinomial;The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify whether product is certified products.Compared with prior art, present invention checking authenticity of products is carried out at special APP ends, is alleviated the pressure of server, is accelerated verifying speed;Storage scheme is optimized, server-side database data storage is smaller.

Description

A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation
Technical field
The present invention relates to planar bar code technology, more particularly to a kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation.
Background technology
Businessman produces commodity after substantial amounts of manpower and materials have been put into, but pseudo- often over copying when flowing in the market Dress is replaced.Criminal goes processing using commercial factor more inferior, is turned on same plate and arrives by imitating content of good Sold in market, therefrom obtain interests.This not only allows businessman to have lost the interests of oneself, also allows the interests for compromising client.
In view of this, existing some producers are carried out false proof when producing commodity using planar bar code technology.Produced When product are produced, one section of random sequence number of commodity is randomly assigned to, Quick Response Code is generated according to sequence number.Quick Response Code is then printed on On product external packaging, producer of enterprise adds corresponding identifying code and lottery numbers in database, and sequence number is then pasted onto commodity On.In order to prevent commodity to be opened before purchase, packaging bar sticks in outer package mouth in businessman.User when in use, passes through mobile phone Special APP is downloaded, Quick Response Code is scanned using special APP, the input fake certification code checking authenticity of products in the checking page, in order to Rebating is promoted, after being proved to be successful, and a prize drawing code can be also returned to user, for drawing a lottery.
From above-mentioned existing technical scheme, sequence number is saved in the database of the server end of businessman, identifying code, Prize drawing code, corresponding prize or bonus etc., if commodity amount is especially huge, such as beverage is then stored greatly in database side The data of amount, are required for from database retrieving sequence number in examining every time, then remove authentication code, are verified this slows down us Speed.
The content of the invention
To overcome the deficiencies in the prior art there is provided a kind of simplified storage, the antiforge method for commodities of fast verification, the present invention is carried A kind of antiforge method for commodities based on polynomial interopolation is gone out.
The technical proposal of the invention is realized in this way:
A kind of antiforge method for commodities based on polynomial interopolation, including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify Whether product is certified products.
Further, the multinomial is second order polynomial.
Further, described three abscissas of Serial No. and ordinate are arranged in order what is formed.
Further, sequence takes a turn for the better and turns to Quick Response Code including step in the step S2:
S21:Sequence number is converted into binary number;
S22:The binary number is arranged in order, numeral 0 is changed into white, numeral 1 is changed into black, is abbreviated as two dimension Code.
Further, whether special APP described in step S4 calculates identifying code using the whole or one part of identifying code On the polynomial curve.
The present invention also proposes a kind of commodity lottery drawing method based on polynomial interopolation, including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula, server end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, prize drawing code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and inputs prize drawing code;
S4:Special APP obtains sequence number according to the Quick Response Code, and the sequence number and prize drawing code are sent to server End;
S5:Server end reconstructs multinomial according to the sequence number, and whether calculates the prize drawing code in the multinomial On curve, to verify whether product is to get the winning number in a bond.
The present invention also proposes another commodity lottery drawing method based on polynomial interopolation, including step:
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula, server end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify Whether product is certified products, is such as verified, then sends the sequence number to server end;
S5:Whether server end reconstructs multinomial according to the sequence number, and verify the prize drawing code in the multinomial On curve, to verify whether product is to get the winning number in a bond.
The beneficial effects of the present invention are compared with prior art, present invention checking authenticity of products enters at special APP ends OK, the pressure of server is alleviated, verifying speed is accelerated;Optimize storage scheme, server-side database data storage compared with It is small.
Brief description of the drawings
Fig. 1 is a kind of antiforge method for commodities flow chart based on polynomial interopolation of the present invention;
Fig. 2 is a kind of commodity lottery drawing method flow chart based on polynomial interopolation of the present invention;
Fig. 3 is another commodity lottery drawing method flow chart based on polynomial interopolation of the present invention;
Fig. 4 is sequence number, identifying code and prize drawing code functional image schematic diagram in one embodiment of the invention;
Fig. 5 is that sequence number is converted into ASCII character arrangement image schematic diagram in one embodiment of the present of invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Refer to Fig. 1, a kind of antiforge method for commodities based on polynomial interopolation proposed by the present invention, including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify Whether product is certified products.
Fig. 2 is referred to, the invention also provides a kind of commodity lottery drawing method based on polynomial interopolation, including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula, server end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, prize drawing code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and inputs prize drawing code;
S4:Special APP obtains sequence number according to the Quick Response Code, and the sequence number and prize drawing code are sent to server End;
S5:Server end reconstructs multinomial according to the sequence number, and whether calculates the prize drawing code in the multinomial On curve, to verify whether product is to get the winning number in a bond.
Above-mentioned method for anti-counterfeit and lottery drawing method are combined, and also have another commodity prize drawing side based on polynomial interopolation Method, as shown in figure 3, including step:
S1:Each product one sequence number of correspondence, the whole or one part of sequence number is multinomial for generating one Formula, server end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify Whether product is certified products, is such as verified, then sends the sequence number to server end;
S5:Whether server end reconstructs multinomial according to the sequence number, and verify the prize drawing code in the multinomial On curve, to verify whether product is to get the winning number in a bond.
Below by taking second order polynomial as an example, illustrate the inventive concept of the present invention.
As shown in figure 4, randomly generating a quadratic function formula when taking sequence number, three point x are taken at random in the picture1、x2、 x3, its abscissa and ordinate are merged into (x1y1x2y2x3y3), as the sequence number for producing Quick Response Code, one is taken on its image Point (x4, y4) it is used as identifying code (x4y4).Lottery numbers take a bit (x from coordinate at random5, y5), get the winning number in a bond with otherwise examining (x5, y5) whether in quadratic function formula f (x)=ax2On+bx+c.
Quadratic function formula f (x)=x is randomly generated in reference axis2, four point x are taken at random on image1(1,1)、 x2(2,4), x3(3,9), x4(4,16), randomly select a point x5(5,13) as lottery numbers, by x1、x2、x3Each seat Mark is all expressed as that (0,000 0001,0,000 0001) (0,000 0010,0,000 0100) with 8 binary ASCII code forms (0000 0011,0000 1001)
Above-mentioned binary ASCII code is subjected to arrangement generation image as shown in Figure 5.The two of sequence number (112439) are entered System is arranged in order.Numeral 0 becomes white, and numeral 1 becomes black and is written as Quick Response Code.Add and correspond to therewith in database Identifying code (4,16) with prize drawing code (5,13).
The verification method of the special APP of client and server end is basically identical:
User scans Quick Response Code using special APP, the input validation code in the checking page;
The Quick Response Code sequence number after scanning is obtained, Quick Response Code sequence number is divided into three coordinates in rows;
Calculated in server using three coordinates, draw quadratic function formula, after being verified, prize drawing code is substituted into two Tested in secondary functional expression, examine and successfully then show prize-winning.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (7)

1. a kind of antiforge method for commodities based on polynomial interopolation, it is characterised in that including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number are used to generate a multinomial;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify product Whether it is certified products.
2. as claimed in claim 1 in the antiforge method for commodities of polynomial interopolation, it is characterised in that the multinomial is second order Multinomial.
3. as claimed in claim 2 in the antiforge method for commodities of polynomial interopolation, it is characterised in that the Serial No. three Point abscissa and ordinate are arranged in order what is formed.
4. as claimed in claim 1 in the antiforge method for commodities of polynomial interopolation, it is characterised in that sequence in the step S2 Improvement, which turns to Quick Response Code, includes step:
S21:Sequence number is converted into binary number;
S22:The binary number is arranged in order, numeral 0 is changed into white, numeral 1 is changed into black, is abbreviated as Quick Response Code.
5. as claimed in claim 1 in the antiforge method for commodities of polynomial interopolation, it is characterised in that special described in step S4 APP calculates identifying code whether on the polynomial curve using the whole or one part of identifying code.
6. a kind of commodity lottery drawing method based on polynomial interopolation, it is characterised in that including step
S1:Each product one sequence number of correspondence, the whole or one part of sequence number are used to generate a multinomial, clothes Business device end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, prize drawing code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and inputs prize drawing code;
S4:Special APP obtains sequence number according to the Quick Response Code, and the sequence number and prize drawing code are sent to server end;
S5:Server end reconstructs multinomial according to the sequence number, and whether calculates the prize drawing code in the polynomial curve On, to verify whether product is to get the winning number in a bond.
7. a kind of commodity lottery drawing method based on polynomial interopolation, it is characterised in that including step:
S1:Each product one sequence number of correspondence, the whole or one part of sequence number are used to generate a multinomial, clothes Business device end stores sequence number prize drawing code corresponding with the sequence number;
S2:The sequence number is converted into Quick Response Code, is attached at product external packaging, identifying code is affixed on product inner packing;
S3:User scans the Quick Response Code using special APP, and special APP reconstructs multinomial according to the sequence number;
S4:User's input validation code, the special APP calculates identifying code whether on the polynomial curve, to verify product Whether it is certified products, is such as verified, then sends the sequence number to server end;
S5:Whether server end reconstructs multinomial according to the sequence number, and verify the prize drawing code in the polynomial curve On, to verify whether product is to get the winning number in a bond.
CN201710249663.0A 2017-04-17 2017-04-17 A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation Pending CN107248080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710249663.0A CN107248080A (en) 2017-04-17 2017-04-17 A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710249663.0A CN107248080A (en) 2017-04-17 2017-04-17 A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation

Publications (1)

Publication Number Publication Date
CN107248080A true CN107248080A (en) 2017-10-13

Family

ID=60017310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710249663.0A Pending CN107248080A (en) 2017-04-17 2017-04-17 A kind of commodity counterfeit prevention and lottery drawing method based on polynomial interopolation

Country Status (1)

Country Link
CN (1) CN107248080A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678254A (en) * 2013-12-04 2014-03-26 四川理工学院 Method capable of verifying random number generation based on linear equation set
CN103729782A (en) * 2014-01-09 2014-04-16 吴操 Public platform based product drawing method
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN105827402A (en) * 2016-05-18 2016-08-03 武汉理工大学 Distributed public verifiable random number generation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678254A (en) * 2013-12-04 2014-03-26 四川理工学院 Method capable of verifying random number generation based on linear equation set
CN103729782A (en) * 2014-01-09 2014-04-16 吴操 Public platform based product drawing method
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN105827402A (en) * 2016-05-18 2016-08-03 武汉理工大学 Distributed public verifiable random number generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘忆宁等: "基于插值多项式的可验证随机数", 《计算机工程》 *

Similar Documents

Publication Publication Date Title
CN106452756B (en) Can the safe Quick Response Code construction verification method of off-line verification and device
CN104835046B (en) A kind of data false distinguishing method for two-dimension code safe verification
CN104615939B (en) Document generation method, verification method, device and system
CN102037676B (en) Secure item identification and authentication system and method based on unclonable features
US8249350B2 (en) Brand protection and product autentication using portable devices
US9253131B2 (en) System and method for authentication of communications
CN108154208B (en) Article identification method, article identification method and article identification system based on two-dimensional code
CN102930440A (en) Method for preventing and distinguishing fake products by using internet and two-dimension codes
CN107146120A (en) The generation method and generating means of electronic invoice
CN104574119B (en) A kind of method that commodity Jianzhen traces to the source
CN109034845A (en) Commodity based on block chain trace to the source code generate, verifying and querying method and device
CN102158488A (en) Dynamic countersign generation method and device and authentication method and system
CN104299146A (en) Product anti-counterfeiting inquiry system
CN107563798A (en) Prize-winning data processing method and device
CN105761091A (en) Red packet code two-stage two-dimensional code security coding method
CN107705139A (en) A kind of novel article anti-counterfeiting authentication method
CN105260900A (en) Product unique identification anti-counterfeiting method and device
US11037147B2 (en) Money transfer fraud prevention methods and systems
CN107169777A (en) A kind of system of overlay code anti-counterfeiting method and application this method
CN104036399A (en) True and false identification method based bar code scanning and dynamic password
CN109461010A (en) Fake products tracking based on big data
CN107451459A (en) The method and apparatus verified using picture validation code
CN108082723A (en) A kind of anti-fake bottle lid and its method of work based on CPU crypto chips
CN113610550B (en) Product tracing method and system based on block chain
CN101488246A (en) Check verification method, check verification apparatus and check verification system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171013

RJ01 Rejection of invention patent application after publication