中国农业科学 ›› 2011, Vol. 44 ›› Issue (23): 4801-4806.doi: 10.3864/j.issn.0578-1752.2011.23.005

• 耕作栽培·生理生化·农业信息技术 • 上一篇    下一篇

农产品追溯码的编码研究

余华, 吴振华   

  1. 1.河南农业大学信息与管理科学学院,郑州 450002
  • 收稿日期:2011-04-08 出版日期:2011-12-01 发布日期:2011-06-17
  • 通讯作者: 余 华,E-mail:yuhua_11@126.com
  • 作者简介:余 华,E-mail:yuhua_11@126.com
  • 基金资助:

    国家“863”计划(2008AA10Z220)、河南省教育厅自然科学研究项目(2007520020)

Coding for Agricultural Product Trace

 YU  Hua, WU  Zhen-Hua   

  1. 1.河南农业大学信息与管理科学学院,郑州 450002
  • Received:2011-04-08 Online:2011-12-01 Published:2011-06-17

摘要: 【目的】设计一种农产品追溯码,实现公众不需查询专业数据库便可获知企业信息的愿望。【方法】根据每个区位码唯一对应一个汉字的特点,采用区位码表示生产企业信息,针对码长增加的问题设计加密算法。【结果】追溯码由产品码、产地码、生产日期码、认证类型码等部分组成,其中产地码由行政区划码与企业名称相结合构成;通过进制转换、划分区段等编码算法对产地码、生产日期码进行加密转换,并将产地码、生产日期码中的区段标识码与认证类型码进行排列组合生产校验码后,34位的追溯码缩短为20位。【结论】本文设计出的20位追溯码长度较短,加密性较强,可以脱离数据库追溯出与生产企业和农产品相关的关键信息,在发生农产品质量安全问题时,能够快速准确地定位到企业以采取应急措施。

关键词: 农产品, 追溯, 编码, 区位码

Abstract: 【Objective】An agricultural product trace coding was designed, which can ensure the public to get the enterprise information by the trace coding without professional database.【Method】As each area position code is associated with only one character, the enterprise information is consisted of area position code. Encryption algorithm was applied according to the increasing of code length.【Result】 The trace coding is composed of product code, producing area code, production date code and attestation type code while the producing area code is composed of administrative division code and enterprise name. Producing area code and production date code is converted by decimal-quaternary conversion and dividing section. The validation code is generated by permutation and combination of the identifiers in producing area code and production date code, and attestation type code. The trace coding with thirty-four bits is converted to that with twenty bits.【Conclusion】The design of this twenty trace coding has the characteristics of short code extent and strong encryption. The key information about production enterprise and agricultural products can be traced to locate the production enterprise quickly and accurately without the database and can take emergency measures when the question concerning quality safety of agricultural products happened.

Key words: agricultural products, traceability, encoding, area position code