CN103971246B - One-way function bidirectional encryption based electronic commodity security system - Google Patents
One-way function bidirectional encryption based electronic commodity security system Download PDFInfo
- Publication number
- CN103971246B CN103971246B CN201410044247.3A CN201410044247A CN103971246B CN 103971246 B CN103971246 B CN 103971246B CN 201410044247 A CN201410044247 A CN 201410044247A CN 103971246 B CN103971246 B CN 103971246B
- Authority
- CN
- China
- Prior art keywords
- commodity
- message
- rfid
- way function
- way
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention aims to provide a combined commodity security system, namely a one-way function bidirectional encryption based electronic commodity security system. The electronic commodity security system comprises an RFID (radio frequency identification device) read-write device, an RFID reader, a random number generator, a system server and RFID electronic tags arranged on commodities, and each commodity corresponds to a length of message MAi composed of serial numbers. Before delivery, each commodity generates a length of the serial numbers along with the random number generator to be used as digital signatures of the MAi. The MAi is subjected to one-way function calculation to acquire CAi=H1(MBi), and the MBi is subjected to one-way function calculation to acquire CBi=H2(MBi). The combined message is acquired as follows: K1i=MAi&CBi and K2i=CAi&MBi. Before delivery of each commodity, the RFID electronic tags are pre-written into the combined message of K1i, and the combined message of K2i is stored in the system server.
Description
Technical field
The present invention relates to anti-counterfeiting technology field.
Background technology
With the development of mobile communication technology, particularly 2.45GHz REIDs and mobile phone close range wireless communication
Technology(NFC13.56MHz)Development, the closely identification function of mobile phone and mobile terminal becomes stronger day by day.Mobile Internet and thing
The sphere of life infiltration of the positive people of networking.Emerged in an endless stream based on the anti-counterfeit recognition technology of the technology.For example, Chinese patent " one
Plant the Comodity anti-fake system based on mobile terminal and RFID " it is exactly that Internet of Things is believed by mobile interchange mode in product
The successful expansion application that breath is reviewed and verified.The technology prevents to a great extent false making, and success has also been obtained in practice
Application.Querying commodity information and Application in Anti-counterfeiting based on RFID and mobile Internet is increasingly extensive, electronic article
The information security of Antiforge system and encryption system further improve more and more important.
At present the technical merit of false making is also being correspondingly improved, and counterfeiter to the information that RFID reads by entering
Row analysis decryption, or broken through after vendor system server by hacker's means, the certification for obtaining commodity counterfeit prevention information is compared
Data or key algorithm, it becomes possible to manufacture false electronic tag in large quantity, reach the purpose of deception consumer.Therefore, it is existing
Internet false-proof authentication system needs to be improved.
The content of the invention
The purpose of the present invention is the combined goods electronics that a kind of offer includes random number signature and double one-way function encryptions
Antiforge system method.
The technical scheme adopted to realize the object of the invention is a kind of such, business based on the two-way encryption of one-way function
Product electronic anti-counterfeiting system, it is characterised in that:Including RFID read-write equipment, RF ID readers, randomizer, system service
Device and the RF ID electronic tags being arranged on each commodity;
One section of each commodity correspondence by set of serial numbers into message MAi, i=1,2 ... n;Each commodity dispatch from the factory
Before, one section of random number sequence MB is produced by the randomizeriAs the MAiDigital signature;To MAiImplement single
CA is obtained to functional operationi=H1 (MAi), to MBiImplement one-way function computing and obtain CBi=H2 (MBi);Obtain combined message
K1i=MAi&CBi, and combined message K2i=CAi&MBi;
Before each commodity dispatch from the factory, the RFID is pre-written at relatively low cost combined message K2i, i=1,2 ... n;
Combined message set { K11、K12……K1nIt is stored in system server;
When needing to verify commodity true and false, after the RFID in the RFID reader items scanning, will read
Message X be sent to the system server;The system server is received after message X of reader transmission, first determines whether X's
Form and combined message K2iIt is whether identical, if it is not, then the commodity are false;If the form of message X and combined message K2iIt is identical, then
Message X is split as into XA and XB two parts, wherein, the form and CA of XAiIt is identical, the form and MB of XBiIt is identical, i.e. X=XA&XB;
One-way function computing is carried out to message XB, value CXB=H2 (XB) is obtained:If{ CB1、CB2……CBn, commodity are
It is false;If CX is B=CBj, j=1,2 ... n, and CBj∈ { CB1、CB2……CBn, find out CBjCorresponding MAj, the MAj
∈ { MA1、MA2……MAn};To message MAjOne-way function computing is carried out, value CA is obtainedj=H1(MAj):If CAj=XA, then
Commodity are genuine piece, if CAj≠ XA, then commodity are false.
Combined message K2 being previously written in RFID on each commodityiWith randomness and uniqueness.
The CAiAnd MBiIn K2i=CAi&MBiAfter being written into RFID, in being not present in system server, K2i
=CAi&MBiValue can not be stolen and be replicated by attacking system server by scale.
Message MAiOr MBiLength be 8-160 positions.
The commodity sequence number portion MAiIncluding commodity production time and commodity sequence number.
When the commodity are activated, the RFID is destroyed.
The RFID reader is the mobile phone or mobile whole with radio frequency recognition function or close range wireless communication NFC function
End.
What deserves to be explained is, even if counterfeiter breaks through the system server, the data in system database are got, make
False person also cannot in batches extrapolate the message in the RFID being written on commodity.It is preferred that the combined message
Itself there is random partial, counterfeiter is also difficult to obtain the group corresponding to system server storage value by modes such as birthday attacks
Message is closed, so that counterfeiter cannot batch micro operations counterfeit goods.
Specific embodiment
With reference to embodiment, the invention will be further described, but should not be construed above-mentioned subject area of the invention only
It is limited to following embodiments.Without departing from the idea case in the present invention described above, according to ordinary skill knowledge and used
With means, various replacements and change are made, all should be included within the scope of the present invention.
A kind of electronic article Antiforge system based on the two-way encryption of one-way function, including RFID read-write equipment, RFID reading
Device, randomizer, system server and the RFID being arranged on each commodity.
One section of each commodity correspondence by set of serial numbers into message MAi, i=1,2 ... n.Such as MA1=
20140107000000000001, the sequence includes commodity production date and goods number, and " 20140107 " are commodity production days
Phase, 000000000001 is easy for the goods number of manufacturer's management.
Before each commodity dispatch from the factory, one section of random number sequence MB is produced by the randomizeriAs the MAi
Digital signature.Such as MB1=35,012,392,526,778,332,279,142,496,840,546,754,355,406,466,704,413,024,113 4
715519816084898981615070104898499431969926319026578802。MB1It is randomly generated, with MA1It is right
Should, as MA1Digital signature, reach one-time pad pattern.
To MAiImplement one-way function computing and obtain CAi=H1 (MAi).Wherein, y=H1 (x) is an one-way function.As
It is preferred that, y=H1 (x) is a hash function, CAiIt is MAiCryptographic Hash.Specifically, in the present embodiment, the y=H1 (x) is
MD5 functions.For example, by the MA1=20140107000000000001 carry out after md5 encryption, obtaining CA1=
4c4ed5ab830b4c439cd567c43e50ca6c。
To MBiImplement one-way function computing and obtain CBi=H2 (MBi).Wherein, y=H2 (x) is an one-way function.As
It is preferred that, y=H2 (x) is a hash function, CBiIt is MBiCryptographic Hash.Specifically, in the present embodiment, the y=H2 (x) is
The hash function different from y=H1 (x), preferably SHA-1.For example, by the MB1=
35012392526778332279142496840546754355406466704413024113471551981608489898161
5070104898499431969926319026578802 carry out after SHA-1 encryptions, obtaining CB1=
d582aeb22e4bfbf891b3a9f84469c59894c998a9。
Obtain combined message K1i=MAi&CBi, and combined message K2i=CAi&MBi.For example, K11=MA1&CB1=
20140107000000000001d582aeb22e4bfbf891b3a9f84469c59894c9 98a9, K2i=CA1&MB1=
4c4ed5ab830b4c439cd567c43e50ca6c350123925267783322791424968405467543554064667
044130241134715519816084898981615070104898499431969926319026578802。
Before each commodity dispatch from the factory, the RFID on commodity is pre-written at relatively low cost combined message K2i, i=1,
2、……n.Combined message set { K11、K12……K1nBe stored in system server, i.e., in described server there is message set
Close { MA1、MA2……MAnAnd { CB1、CB2……CBn}.And { CA1、CA2……CAnAnd { MB1、MB2……MBnBe not stored in
In server.
When needing to verify commodity true and false, after the RFID in the RFID reader items scanning, will read
Message X be sent to the system server, message X is probably real K2i, it is also possible to it is not.The system service
Device is received after message X of reader transmission, first determines whether the form and combined message K2 of XiIt is whether identical(Data bits is identical
Deng similarly hereinafter), if it is not, then the commodity are false.If the form of message X and combined message K2iIt is identical, then by message X be split as XA and
XB two parts, wherein, the form and CA of XAiIt is identical, the form and MB of XBiIt is identical, i.e. X=XA&XB(XA is likely to be real
CAi, it is also possible to it is not;In the same manner, XB is likely to be real MBi, it is also possible to it is not).One-way function fortune is carried out to message XB
Calculate, obtain value CXB=H2 (XB):If{ CB1、CB2……CBn, commodity are false.If CXB=CBj, j=1,2 ... n,
And CBj∈ { CB1、CB2……CBn, find out CBjCorresponding MAj, the MAj∈ { MA1、MA2……MAn}.To message M
AjOne-way function computing is carried out, value CA is obtainedj=H1(MAj):If CAj=XA, then commodity are genuine piece, if CAj≠ XA, then commodity be
It is false.
For example, reader reads and exist in commodity RFID sequence X=4c4ed5ab830b4c439cd567c4
3e50ca6c350123925267783322791424968405467543554064667044130241134715519816084
898981615070104898499431969926319026578802.XA and XB are sent to server by reader.Due to readding
The data that reading device reads are 143, with K2iIt is identical, need to determine whether commodity true and false.Above-mentioned sequence X is split as
Two parts, i.e. XA=4c4ed5ab830b4c439cd567c43e50ca6c and XB=
35012392526778332279142496840546754355406466704413024113471551981608489898161
5070104898499431969926319026578802.In the server, SHA-1 computings are carried out to XB, obtains CXB=
d582aeb22e4bfbf891b3a9f84469c59894c998a9.Judge whether CXB belongs to the { CB of server memory storage1、
CB2……CBn}.Above-mentioned CXB=CB1(I.e. described CBjIn, j=1), then need to determine whether commodity true and false.Find and CB1It is right
The MA for answering1, to MA1=20140107000000000001 carry out after MD5 computings, obtaining CA1=
4c4ed5ab830b4c439cd567c43e50ca6c.Due to CA1=XA, then it is true to determine the commodity, and server is to reading
Device feedback commodity are the information of genuine piece.
Claims (7)
1. a kind of electronic article Antiforge system based on the two-way encryption of one-way function, it is characterised in that:Including RFID read-write equipment,
RFID reader, randomizer, system server and the RFID being arranged on each commodity;
One section of each commodity correspondence by set of serial numbers into message MAi, i=1,2 ... n;Before each commodity dispatch from the factory, pass through
The randomizer produces one section of random number sequence MBiAs the MAiDigital signature;To MAiImplement one-way function fortune
Calculation obtains CAi=H1 (MAi), to MBiImplement one-way function computing and obtain CBi=H2 (MBi);Obtain combined message K1i=MAi&
CBi, and combined message K2i=CAi&MBi;
Before each commodity dispatch from the factory, the RFID is pre-written at relatively low cost combined message K2i, i=1,2 ... n;Combination disappears
Breath set { K11、K12……K1nIt is stored in system server;
When needing to verify commodity true and false, after the RFID in the RFID reader items scanning, by disappearing for reading
Breath X is sent to the system server;The system server is received after message X of reader transmission, first determines whether the form of X
With combined message K2iIt is whether identical, if it is not, then the commodity are false;If the form of message X and combined message K2iIt is identical, then will disappear
Breath X is split as XA and XB two parts, wherein, the form and CA of XAiIt is identical, the form and MB of XBiIt is identical, i.e. X=XA&XB;To institute
Stating message XB carries out one-way function computing, obtains value CXB=H2 (XB):If Commodity are false;
If CXB=CBj, j=1,2 ... n, and CBj∈{CB1、CB2……CBn, find out CBjCorresponding MAj, the MAj∈
{MA1、MA2……MAn};To message MAjOne-way function computing is carried out, value CA is obtainedj=H1 (MAj):If CAj=XA, then
Commodity are genuine piece, if CAj≠ XA, then commodity are false.
2. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:Combined message K2 being previously written in RFID on each commodityiWith randomness and uniqueness.
3. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:The CAiAnd MBiIn K2i=CAi&MBiAfter being written into RFID, in being not present in system server, K2i=
CAi&MBiValue can not be stolen and be replicated by attacking system server by scale.
4. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:Message MAiOr MBiLength be 8-1024 positions.
5. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:The commodity sequence number portion MAiIncluding commodity production time and commodity sequence number.
6. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:When the commodity are activated, the RFID is destroyed.
7. a kind of electronic article Antiforge system based on the two-way encryption of one-way function according to claim 1, its feature exists
In:The RFID reader is the mobile terminal with radio frequency recognition function or close range wireless communication NFC function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410044247.3A CN103971246B (en) | 2014-01-30 | 2014-01-30 | One-way function bidirectional encryption based electronic commodity security system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410044247.3A CN103971246B (en) | 2014-01-30 | 2014-01-30 | One-way function bidirectional encryption based electronic commodity security system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103971246A CN103971246A (en) | 2014-08-06 |
CN103971246B true CN103971246B (en) | 2017-04-12 |
Family
ID=51240706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410044247.3A Active CN103971246B (en) | 2014-01-30 | 2014-01-30 | One-way function bidirectional encryption based electronic commodity security system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103971246B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105844472A (en) * | 2015-01-13 | 2016-08-10 | 四川谦泰仁投资管理有限公司 | RFID merchandise anti-counterfeiting tracing system compatible with two-dimensional code counterfeiting prevention |
CN107766718A (en) * | 2017-10-12 | 2018-03-06 | 广东欧珀移动通信有限公司 | Touch-screen method for anti-counterfeit, device, mobile terminal and readable storage medium storing program for executing |
CN110648143A (en) * | 2018-06-11 | 2020-01-03 | 江峰 | Closed-loop anti-counterfeiting verification system based on Merkle trusted tree |
TWI807202B (en) * | 2019-08-06 | 2023-07-01 | 仁寶電腦工業股份有限公司 | Cap, management system and management method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945123A (en) * | 2010-08-24 | 2011-01-12 | 刘彤 | RFID mobile phone and combination key technology-based authenticity identification method |
CN102930307A (en) * | 2012-11-22 | 2013-02-13 | 重庆君盾科技有限公司 | Anti-counterfeiting authentication method for famous wine |
CN103218591A (en) * | 2013-05-07 | 2013-07-24 | 南京大学 | Anti-counterfeiting system based on RFID (radio frequency identification), and working method of same |
CN103413227A (en) * | 2013-08-02 | 2013-11-27 | 四川航天系统工程研究所 | Product fake prevention tracing system and method for implementing fake prevention tracing checking thereof |
-
2014
- 2014-01-30 CN CN201410044247.3A patent/CN103971246B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945123A (en) * | 2010-08-24 | 2011-01-12 | 刘彤 | RFID mobile phone and combination key technology-based authenticity identification method |
CN102930307A (en) * | 2012-11-22 | 2013-02-13 | 重庆君盾科技有限公司 | Anti-counterfeiting authentication method for famous wine |
CN103218591A (en) * | 2013-05-07 | 2013-07-24 | 南京大学 | Anti-counterfeiting system based on RFID (radio frequency identification), and working method of same |
CN103413227A (en) * | 2013-08-02 | 2013-11-27 | 四川航天系统工程研究所 | Product fake prevention tracing system and method for implementing fake prevention tracing checking thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103971246A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103971250B (en) | A kind of one time one card anti-fake traceability system based on mobile terminal and RFID | |
CN112041849A (en) | Method and system for automatic object identification and authentication | |
US9697298B2 (en) | ID tag authentication system and method | |
CN104184733B (en) | A kind of RFID lightweight mutual authentication methods encoded based on CRC | |
CN103295143A (en) | Commodity anti-counterfeiting verification method | |
WO2012011979A1 (en) | Fully secure item-level tagging | |
CN104794626B (en) | A kind of method for anti-counterfeit and device based on hardware information | |
CN103971245B (en) | A kind of combined ciphering system false proof for electronic article | |
CN103971246B (en) | One-way function bidirectional encryption based electronic commodity security system | |
CN101945123A (en) | RFID mobile phone and combination key technology-based authenticity identification method | |
CN101504731B (en) | Movable recognition system based on NFC | |
CN107886333A (en) | A kind of Antiforge system and its method for anti-counterfeit with dynamic anti-fake information | |
CN110598433B (en) | Block chain-based anti-fake information processing method and device | |
CN104239944A (en) | Commodity information identification method | |
CN101527021A (en) | RFID electronic tag reading and writing device used for product truth verification | |
CN105844472A (en) | RFID merchandise anti-counterfeiting tracing system compatible with two-dimensional code counterfeiting prevention | |
CN102404118A (en) | Object certification method based on short-distance communication terminal | |
US20180205714A1 (en) | System and Method for Authenticating Electronic Tags | |
CN108082723A (en) | A kind of anti-fake bottle lid and its method of work based on CPU crypto chips | |
CN103971247B (en) | A kind of combined ciphering system for commodity counterfeit prevention | |
EP2922010A2 (en) | Digital voucher authentication | |
Eldefrawy et al. | Banknote validation through an embedded RFID chip and an NFC-enabled smartphone | |
CN104091191B (en) | A kind of efficiently and effectively false proof authenticating method | |
CN203535664U (en) | A CPK electronic label, an anti-counterfeit system, and a CPK electronic label packing device | |
Mahinderjit-Singh et al. | Trust in RFID-enabled supply-chain management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |