CN102819812A - Anti-cheating system for tracing agricultural products based on chaos encryption algorithm - Google Patents

Anti-cheating system for tracing agricultural products based on chaos encryption algorithm Download PDF

Info

Publication number
CN102819812A
CN102819812A CN2012102524337A CN201210252433A CN102819812A CN 102819812 A CN102819812 A CN 102819812A CN 2012102524337 A CN2012102524337 A CN 2012102524337A CN 201210252433 A CN201210252433 A CN 201210252433A CN 102819812 A CN102819812 A CN 102819812A
Authority
CN
China
Prior art keywords
information
agricultural product
chaos
formula
gprs
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
CN2012102524337A
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.)
Heilongjiang University
Original Assignee
Heilongjiang 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 Heilongjiang University filed Critical Heilongjiang University
Priority to CN2012102524337A priority Critical patent/CN102819812A/en
Publication of CN102819812A publication Critical patent/CN102819812A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an anti-cheating system for tracing agricultural products based on a chaos encryption algorithm. The anti-cheating system comprises a managing system, a scanning terminal, an inquiring terminal and multiple radio frequency identification devices (RFID) cards. Agricultural products provided with the RFID cards are scanned by the scanning terminal in each link from seeding to the eating, and related information of the agricultural products is input into the scanning terminal after putting an account password into the scanning terminal; the scanning terminal scans the RFID cards which are provided on a batch of the agricultural products, and encrypts into encrypted information by the chaos encryption algorithm and then encrypted data is sent to the managing system which is used for storing information sent by a general packet radio service (GPRS) after a receiving end receives the information; if a user wants to know a process of producing the agricultural products to be eaten, the RFID information is logged to the managing system through the GPRS by the inquiring terminal, the agricultural product information to be inquired is decrypted by the managing system and is sent back by the GPRS, and then the information is displayed after being received by the inquiring terminal. The system has the advantages of good encryption and convenient for inquiring.

Description

Anti-cheating agricultural product traceability system based on chaos encryption algorithm
Technical field
The present invention relates to a kind of anti-cheating agricultural product traceability system based on chaos encryption algorithm.
Background technology
Along with development of science and technology; The mankind have created increasing wealth, and the food on the dining table is horn of plenty more also, and people can have fresh vegetables throughout the year; What but food-safety problem showed in recent years is more and more important, has occurred a lot of food poisonings both at home and abroad.Along with pay attention to day by day to food security, some agricultural product traceability systems have appearred, because these systems have comprised the details of process of producing product, these information are obtained by the rival easily.Some illegal businessman is the change production information of possibility malice also.So, develop that a kind of agricultural product producer oneself can not change and system that the rival also can't obtain product information just seems particularly important.
Summary of the invention
The objective of the invention is the anti-cheating agricultural product traceability system based on chaos encryption algorithm, review to solve food source and production run, prevent that producer's malice from distorting production information, the protection production information is not obtained by the rival.
For realizing above-mentioned purpose, the present invention realizes through following technical scheme:
A kind of anti-cheating agricultural product traceability system based on chaos encryption algorithm; Comprise management system, end of scan, inquiry terminal and a plurality of rfid card; For each batch agricultural product are worn rfid card, agricultural product all pass through end of scan scanning from being seeded into edible preceding each link; In the scanning agricultural product information, the input account password gets into end of scan, and with agricultural product information, current time and end of scan numbering, end of scan utilizes chaos encryption algorithm to be encrypted to ciphertext, and data encrypted sends to management system through GPRS; The management system receiving end is stored after receiving the information of GPRS transmission; If the user wonders the process of production in food agricultural produce; Through inquiry terminal RFID information is logged on management system through GPRS; Management system through deciphering, sends the agricultural product information of being inquired about return through GPRS, and inquiry terminal shows after receiving.
Wherein, described chaos encryption algorithm, method is following:
1, the generation of chaos sequence
What produce the chaos sequence employing is the Henon mapping, and formula is following:
x n - 1 = 1 - a x n 2 + b x n - 1 (i=1,2,......,n) (1)
In the formula, x N+1Expression x nThe value that produces after the iteration 1 time, x nThe value that the n time back of expression initial value iteration produces, a, b representes controlled variable, value is respectively a=1.4, b=0.3;
The quantitative formula of formula (1) is: k i=x i* 10 8Mod255
k iExpression x nValue after the quantification, k i(i=1,2 ..., n) be chaos sequence;
2, the application of chaos algorithm in this patent
(2.1) information stores process: agricultural product information scans into after the system, carries out byte-by-byte transmission with the sixteen bit scale-of-two, and stores, and in transmission course, carries out following computing
C i=f i^k i(i=1,2,.......,n) (2)
In the formula, k iPromptly be i position by the definite chaos sequence of Henon mapping, f iBe agricultural product information i position expressly, C iBe the i position of the food security information ciphertext after the encryption, formula (2) through to agricultural product information expressly f and chaos sequence k carry out producing after the XOR information C that the form that comprises the ciphertext that food security information still can not discern with the third party exists,
(2.2) information reads process: when food security information need read, from storer, read ciphertext C, carry out byte-by-byte transmission with the sixteen bit scale-of-two, in transmission course, carry out following computing:
f i=C i^k i(i=1,2,.......,n) (3)
In the formula, k iPromptly be i position by the definite chaos sequence of Henon mapping, C iBe the i position of the agricultural product information ciphertext after the encryption in the storer, f iBe agricultural product information i position expressly, formula (3) through to the encryption of reading in the storer agricultural product information C and chaos sequence k carry out producing after the XOR and comprise agricultural product information plaintext f.
Beneficial effect of the present invention is: conventional agricultural product traceability system not only can be known product security information; The business information that has comprised a lot of agricultural product production runes equally; In anti-cheating traceability system, in the typing agricultural product information, entry information is encrypted, become ciphertext through chaos encryption, because ciphertext can not be discerned owing to chaos encryption algorithm; Have only when needs are checked; Become expressly through chaos encryption algorithm again, read, in information stores and transmission, avoided the possibility of being stolen by the rival like this.Conventional agricultural product traceability system database is all expressly deposited, and so just has illegal businessman database is made amendment, after product information is encrypted through chaos algorithm; The crops production information all is to deposit with ciphertext; The information of lane database can't Direct Recognition, so can't make amendment to database, can decipher when reading; But reading terminals can only read and can not revise, and has so just avoided malice to distort production information.The chaos encryption algorithm of each other system of agricultural production strain is all established different initial values, and each all possesses the authority of oneself like this, has avoided stolen, and each identification terminal all is unique, has avoided assuming another's name signing, and has guaranteed the validity of recorded information.It is untouchable to use rfid card identification to have among the design, has reduced the pollution in the scanning process like this, and adopts gprs system, is convenient on the car that flows, upload agricultural product information, has prevented losing of information.
Description of drawings
Fig. 1 is the described anti-cheating agricultural product traceability system block scheme based on chaos encryption algorithm of the embodiment of the invention;
Fig. 2 is a data typing process block scheme;
Fig. 3 is a data query process block scheme.
Embodiment
Embodiment 1:
Certain batch of tomato production process was reviewed, and this batch tomato is worn rfid card (card number 02109092913), had carried out insecticide spraying on March 2nd, 2012, the auspicious tinkling of pieces of jade pesticide of pesticide name, and consumption 2L/ hectare sprays people king master worker.Tomato got into the dining table of Li Nvshijia on May 3rd, the most 1 through a series of production runes (other processes are omited, and workflow is consistent with the spray medicine), and the result vomitted the edible same day, and the edible vegetable kind is a lot, but suspection is tomato, need review reason.
Spray medicine process:
The king master worker receives the task of will carry out pesticide spraying; The king master worker is with identity information and my password " 1.4+0.3 " entry terminal; Title, consumption input scan terminal with pesticide; And with the RFID scanning of end of scan with this batch tomato; End of scan has just obtained the information of this operation and " has sprayed auspicious tinkling of pieces of jade pesticide, consumption 2L/ hectare, ID 02109092913, sprays people king master worker, on March 2nd, 2012 ", and the chaos algorithm in the terminal carries out loop computation according to chaos sequence algorithm and the initial value of receiving, produces new numerical value and gets and carry out mould 255 computings as chaos sequence.The information that end of scan will " spray auspicious tinkling of pieces of jade pesticide, consumption 2L/ hectare, ID 02109092913, spray people king master worker, on March 2nd, 2012 " combines with chaos sequence; Produce " pinch admittedly speed kind sound of sighing this wipe Gansu Province? look achievement kind sound of sighing ellipse village nation of nation plant sound of sighing Liu Zhuan help the foolish modern village cruel 1<hang achievement friend nation to sacrifice one's life for ", and be transferred to management system through GPRS.
Trace back process:
Mrs Li finds the supermarket; Search request is proposed; The supermarket is with inquiry terminal scanning rfid card and input password " 1.4+0.3 "; Inquiry terminal is transferred to management system with the ID " 02109092913 " and the password of rfid card through GPRS; Management system accesses the record in this process of producing product to come according to ID, the information of wherein spraying insecticide for " pinch admittedly speed kind sound of sighing this wipe Gansu Province? look achievement kind sound of sighing ellipse village nation of nation plant sound of sighing Liu Zhuan help the foolish modern village cruel 1<hang achievement friend nation to sacrifice one's life for ", be transferred to inquiry terminal through GPRS; Chaos algorithm in the inquiry terminal carries out loop computation according to chaos sequence algorithm and the initial value of receiving; Produce new numerical value and get and carry out mould 255 computings as chaos sequence, inquiry terminal combines above-mentioned information with chaos sequence, produces " spray auspicious tinkling of pieces of jade pesticide, consumption 2L/ hectare, ID 02109092913, spray people king master worker, on March 2nd, 2012 " and shows.
Other processes:
If the rival wants to steal data; Intercept and capture GPRS information or invade management system through intercepting and capturing technology; Then see be " pinch admittedly speed kind sound of sighing this wipe Gansu Province? look achievement kind sound of sighing ellipse village nation of nation plant sound of sighing Liu Zhuan help the foolish modern village cruel 1<hang achievement friend nation to sacrifice one's life for "; Through these data, what the rival did not know that the manufacturer uses is any agricultural chemicals.
If processing factory is in order to sell agricultural product into more senior place; Want to be modified as the sharp pesticide of antelope to the auspicious tinkling of pieces of jade pesticide of pesticide name inferior; So his entrance management system; But see equally and be " pinch admittedly speed kind sound of sighing this wipe Gansu Province? look achievement kind sound of sighing ellipse village nation of nation plant sound of sighing Liu Zhuan help the foolish modern village cruel 1<hang achievement friend nation to sacrifice one's life for " of this sort data, do not know to replace which data.

Claims (2)

1. anti-cheating agricultural product traceability system based on chaos encryption algorithm; Comprise management system, end of scan, inquiry terminal and a plurality of rfid card; It is characterized in that: for each batch agricultural product are worn rfid card, agricultural product all pass through end of scan scanning from being seeded into edible preceding each link; In the scanning agricultural product information; The input account password gets into end of scan; With agricultural product relevant information input scan terminal; And the rfid card scanning of this batch agricultural product being worn with end of scan, end of scan utilizes chaos encryption algorithm to be encrypted to ciphertext, and data encrypted sends to management system through GPRS; The management system receiving end is stored after receiving the information of GPRS transmission; If the user wonders the process of production in food agricultural produce; Through inquiry terminal RFID information is logged on management system through GPRS; Management system through deciphering, sends the agricultural product information of being inquired about return through GPRS, and inquiry terminal shows after receiving.
2. according to a kind of anti-cheating agricultural product traceability system of claim, it is characterized in that based on chaos encryption algorithm: described chaos encryption algorithm, method is following:
(1), the generation of chaos sequence
What produce the chaos sequence employing is the Henon mapping, and formula is following:
x n - 1 = 1 - a x n 2 + b x n - 1 (i=1,2,......,n) (1)
In the formula, x N+1Expression x nThe value that produces after the iteration 1 time, x nThe value that the n time back of expression initial value iteration produces, a, b representes controlled variable, value is respectively a=1.4, b=0.3;
The quantitative formula of formula (1) is: k i=x i* 10 8Mod255
k iExpression x nValue after the quantification, k i(i=1,2 ..., n) be chaos sequence;
(2), the application of chaos algorithm in this patent
(2.1) information stores process: agricultural product information scans into after the system, carries out byte-by-byte transmission with the sixteen bit scale-of-two, and stores, and in transmission course, carries out following computing
C i=f i^k i(i=1,2,......,n) (2)
In the formula, k iPromptly be i position by the definite chaos sequence of Henon mapping, f iBe agricultural product information i position expressly, C iBe the i position of the food security information ciphertext after the encryption, formula (2) through to agricultural product information expressly f and chaos sequence k carry out producing after the XOR information C that the form that comprises the ciphertext that food security information still can not discern with the third party exists,
(2.2) information reads process: when food security information need read, from storer, read ciphertext C, carry out byte-by-byte transmission with the sixteen bit scale-of-two, in transmission course, carry out following computing
f i=C i^k i(i=1,2,......,n) (3)
In the formula, k iPromptly be i position by the definite chaos sequence of Henon mapping, C iBe the i position of the agricultural product information ciphertext after the encryption in the storer, f iBe agricultural product information i position expressly, formula (3) through to the encryption of reading in the storer agricultural product information C and chaos sequence k carry out producing after the XOR and comprise agricultural product information plaintext f.
CN2012102524337A 2012-07-12 2012-07-12 Anti-cheating system for tracing agricultural products based on chaos encryption algorithm Pending CN102819812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102524337A CN102819812A (en) 2012-07-12 2012-07-12 Anti-cheating system for tracing agricultural products based on chaos encryption algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102524337A CN102819812A (en) 2012-07-12 2012-07-12 Anti-cheating system for tracing agricultural products based on chaos encryption algorithm

Publications (1)

Publication Number Publication Date
CN102819812A true CN102819812A (en) 2012-12-12

Family

ID=47303919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102524337A Pending CN102819812A (en) 2012-07-12 2012-07-12 Anti-cheating system for tracing agricultural products based on chaos encryption algorithm

Country Status (1)

Country Link
CN (1) CN102819812A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103692981A (en) * 2013-12-17 2014-04-02 五邑大学 Chaotic-encryption-technology-based LED (Light Emitting Diode) electronic license plate and encoding and decoding method thereof
CN104766124A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and system for safety tracing of packaged foods
CN108182482A (en) * 2017-11-20 2018-06-19 广东中科南海岸车联网技术有限公司 The cultivation monitoring method and device of long-term cropping based on block chain
CN110006831A (en) * 2019-03-19 2019-07-12 江苏大学 A kind of instant tea powder Quality Safety retrospective device and method based on Fast Detection Technique

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110169636A1 (en) * 2004-02-02 2011-07-14 United Parcel Service Of America, Inc. System and Method for Generating a Transporting Instruction Using an Environmental Sensor
CN201974855U (en) * 2011-04-06 2011-09-14 河北寰众电子科技有限公司 Food safety tracing visualizing system
CN102542310A (en) * 2011-12-30 2012-07-04 威海逸云数字传媒有限公司 Painting and calligraphy source-tracing instrumented method adopting electronic picture seal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110169636A1 (en) * 2004-02-02 2011-07-14 United Parcel Service Of America, Inc. System and Method for Generating a Transporting Instruction Using an Environmental Sensor
CN201974855U (en) * 2011-04-06 2011-09-14 河北寰众电子科技有限公司 Food safety tracing visualizing system
CN102542310A (en) * 2011-12-30 2012-07-04 威海逸云数字传媒有限公司 Painting and calligraphy source-tracing instrumented method adopting electronic picture seal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑凡 等: "基于Henon映射的数字图像加密", 《北京邮电大学学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103692981A (en) * 2013-12-17 2014-04-02 五邑大学 Chaotic-encryption-technology-based LED (Light Emitting Diode) electronic license plate and encoding and decoding method thereof
CN103692981B (en) * 2013-12-17 2017-02-01 五邑大学 Chaotic-encryption-technology-based LED (Light Emitting Diode) electronic license plate and encoding and decoding method thereof
CN104766124A (en) * 2014-01-03 2015-07-08 航天信息股份有限公司 Method and system for safety tracing of packaged foods
CN108182482A (en) * 2017-11-20 2018-06-19 广东中科南海岸车联网技术有限公司 The cultivation monitoring method and device of long-term cropping based on block chain
CN110006831A (en) * 2019-03-19 2019-07-12 江苏大学 A kind of instant tea powder Quality Safety retrospective device and method based on Fast Detection Technique
CN110006831B (en) * 2019-03-19 2021-10-12 江苏大学 Instant tea powder quality safety tracing device and method based on rapid detection technology

Similar Documents

Publication Publication Date Title
CN103729770B (en) A kind of anti-fake traceability system and its method
CN102819812A (en) Anti-cheating system for tracing agricultural products based on chaos encryption algorithm
US8917159B2 (en) Fully secure item-level tagging
CN104933584A (en) Traceability system and traceability method for agricultural product based on cloud platform
US20130262330A1 (en) Managing objects in a supply chain using a secure identifier
DE102014007329A1 (en) Device and method for securing beacons
CN102184506A (en) Digital anti-counterfeiting method based on chaos password encryption
CN108846294A (en) Food data storage method and device based on block chain
CN110503290A (en) The twin volume data management method of number towards product lifecycle
CN104112205A (en) Commodity authentication and source tracing system and method based on combined public-key cryptosystem
CN201721758U (en) Dynamic code anti-counterfeiting coded lock case
Jisha et al. Rfid based security platform for internet of things in health care environment
Huang et al. Key technologies and alogrithms’ application in agricultural food supply chain tracking system in E-commerce
Toyoda et al. Secret sharing based unidirectional key distribution with dummy tags in Gen2v2 RFID-enabled supply chains
CN201721757U (en) Combination structure of dynamic code anti-counterfeiting recognizer and electronic password lock
CN106779751A (en) A kind of Food Logistics supply chain system and method based on UHF RFID
Sheng et al. A new digital anti-counterfeiting scheme based on chaotic cryptography
Rajput et al. Agricultural food supply chain traceability using blockchain
Lei et al. A one-way Hash based low-cost authentication protocol with forward security in RFID system
Han et al. Anonymous mutual authentication protocol for RFID tag without back-end database
CN108462569A (en) A kind of virtual plot block chain data managing method based on Mercator projection
CN115082087A (en) Food safety traceability system based on block chain and big data
Wang et al. Efficient tag path authentication protocol with less tag memory
CN106570540B (en) Novel label of system of traceing back raw and fresh agricultural product based on NFC
Bocchetti Security and privacy in rfid protocols

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121212