Journal of Agricultural Big Data ›› 2025, Vol. 7 ›› Issue (3): 343-352.doi: 10.19788/j.issn.2096-6369.000099
Previous Articles Next Articles
SU Nan1(), WANG QingMei2, SI HaiPing1, LI YanLing1,*(
), Fernando Bacao3
Received:
2025-01-27
Accepted:
2025-03-12
Online:
2025-09-26
Published:
2025-09-28
Contact:
LI YanLing
SU Nan, WANG QingMei, SI HaiPing, LI YanLing, Fernando Bacao. Research on Data Storage Model of High Quality Crop Germplasm Resources Based on Blockchain[J].Journal of Agricultural Big Data, 2025, 7(3): 343-352.
Table 2
Function functions"
函数名 | 说明 |
---|---|
Init | 初始化函数,是智能合约提供给外界的接口,相当于智能合约的入口 |
Invoke | 触发函数,是智能合约和Fabric区块链之间的接口 |
Main | 用于启动智能合约 |
SaveGer | 实现将指定的种质数据对象保存至账本 |
AddGer | 接收数据对象并调用SaveGer函数实现保存数据的功能 |
FindGerByName | 实现根据种质名称查询数据功能 |
ModifyGer | 实现对种质数据进行编辑的功能 |
FindGerInfoByName | 实现种质数据添加后再查询功能 |
InstallAndInstantiateChaincode | 实现智能合约的安装及实例化 |
Table 3
Smart contract for germplasm information release(partial)"
种质信息发布智能合约(部分) |
---|
func (t *ServiceSetup) SaveGer(ger Germplasm) (string, error) { eventID := "eventAddGer" reg, notifier := regitserEvent(t.Client, t.ChaincodeID, eventID) defer t.Client.UnregisterChaincodeEvent(reg) //将Ger对象序列化成为字节数组 b, err := json.Marshal(ger) if err != nil { return "", fmt.Errorf("指定的ger对象序列化时发生错误") } req := channel.Request{ChaincodeID: t.ChaincodeID, Fcn: "addGer", Args: [][]byte{b, []byte(eventID)}} respone, err := t.Client.Execute(req) if err != nil { return "", err } err = eventResult(notifier, eventID) if err != nil { return "", err } return string(respone.TransactionID), nil } msg, err := serviceSetup.SaveEdu(edu) if err != nil { fmt.Println(err.Error()) }else { fmt.Println("种质信息发布成功, 交易编号为: " + msg) } |
[1] | 刘旭, 黎裕, 李立会, 等. 作物种质资源学理论框架与发展战略. 植物遗传资源学报, 2023, 24(1):1-10. |
LIU X, LI Y, LI L H, et al. Theoretical framework and development strategy of crop germplasm resources. Journal of Plant Genetic Resources, 2023, 24(1):1-10. | |
[2] |
武晶, 郭刚刚, 张宗文, 等. 作物种质资源管理:现状与展望. 植物遗传资源学报, 2022, 23(3):627-635.
doi: 10.13430/j.cnki.jpgr.20220125002 |
WU J, GUO G G, ZHANG Z W, et al. Crop germplasm resource management: current situation and prospects. Journal of Plant Genetic Resources, 2022, 23 (3):627-635. | |
[3] | 昝香存, 常莹莹, 董海滨, 等. 河南省小麦种质资源品质特性多样性分析. 植物遗传资源学报, 2025, 26(1):67-78. |
ZAN X, CHANG Y, DONG H, et al. Quality characteristics diversity of wheat germplasm resources in Henan province. Journal of Plant Genetic Resources, 2025, 26(1):67-78. | |
[4] |
刘海洋, 方沩, 陈彦清, 等. 区块链在农作物种质资源数据管理中的应用初探. 农业大数据学报, 2019, 1(2):105-113.
doi: 10.19788/j.issn.2096-6369.190209 |
LIU H Y, FANG L, CHEN Y Q, et al. Preliminary exploration of the application of blockchain in crop germplasm resource data management. Journal of Agricultural Big Data, 2019, 1 (2):105-113. | |
[5] | 邓祝云, 曲乐庆, 巫永睿, 等. 作物品质研究现状与展望. 中国科学: 生命科学, 2021, 51(10):1405-1414. |
DENG Z Y, QU L Q, WU YR, et al. current status and prospects of crop quality research. Chinese Science: Life Sciences, 2021, 51 (10):1405-1414. | |
[6] | 潘静娴, 宋韵琼, 张朝阳, 等. 园艺作物种质资源管理及数据库建设研究综述. 上海师范大学学报(自然科学版), 2017, 46(5):762-768. |
PAN J X, SONG Y Q, ZHANG C Y, et al. A review of research on germplasm resource management and database construction of horticultural crops. Journal of Shanghai Normal University (Natural Science Edition), 2017, 46 (5):762-768. | |
[7] | WANG F, CHEN Y, WANG R, et al. An experimental investigation into the hash functions used in blockchains. IEEE Transactions on Engineering Management, 2019, 67(4):1404-1424. |
[8] |
万巍, 刘建伟, 龙春, 等. 区块链上的零知识证明技术及其典型算法、工具综述. 农业大数据学报, 2024, 6(2):205-219.
doi: 10.19788/j.issn.2096-6369.200002 |
WAN W, LIU J W, LONG C, et al. Overview of Zero Knowledge Proof Technology and its typical algorithms and tools on blockchain. Journal of Agricultural Big Data, 2024, 6 (2):205-219.
doi: 10.19788/j.issn.2096-6369.200002 |
|
[9] |
刘海洋, 曹永生, 陈彦清, 等. 农作物种质资源登记区块链模型研究. 植物遗传资源学报, 2021, 22(1):28-37.
doi: 10.13430/j.cnki.jpgr.20200506001 |
LIU H Y, CAO Y S, CHEN Y Q, et al. Research on blockchain model for crop germplasm resource registration. Journal of Plant Genetic Resources, 2021, 22 (1):28-37. | |
[10] | NAKAMOTO S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review, 2008:21260. |
[11] |
龚海燕, 麻付强, 张达威, 等. 区块链与机密计算技术在材料数据库平台中的应用分析. 农业大数据学报, 2024, 6(2):241-252.
doi: 10.19788/j.issn.2096-6369.000026 |
GONG H Y, MA F Q, ZHANG D W, et al. Application analysis of blockchain and confidential computing technology in material database platform. Journal of Agricultural Big Data, 2024, 6(2):241-252.
doi: 10.19788/j.issn.2096-6369.000026 |
|
[12] |
何蒲, 于戈, 张岩峰, 等. 区块链技术与应用前瞻综述. 计算机科学, 2017, 44(4):1-7+15.
doi: 10.11896/j.issn.1002-137X.2017.04.001 |
HE P, YU G, ZHANG Y F, et al. Overview of blockchain technology and application prospects. Computer Science, 2017, 44 (4):1-7+15.
doi: 10.11896/j.issn.1002-137X.2017.04.001 |
|
[13] | WOOD G. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper, 2014, 151:1-32. |
[14] | DWIVEDI A D, SRIVASTAVA G, DHAR S, et al. A decentralized privacy-preserving healthcare blockchain for IoT. Sensors, 2019, 19(2):326. |
[15] |
SHAHZAD B, CROWCROFT J. Trustworthy electronic voting using adjusted blockchain technology. IEEE Access, 2019, 7:24477-24488.
doi: 10.1109/ACCESS.2019.2895670 |
[16] | 张朝阳, 王建祥, 侯乃明, 等. 基于大数据与区块链的智能平台身份认证技术. 高技术通讯, 2024, 34(12):1279-1285. |
ZHANG C Y, WANG J X, HOU N M, et al. Intelligent platform identity authentication technology based on big data and blockchain. Chinese High Technology Letters, 2024, 34(12):1279-1285. | |
[17] | 徐金胜, 张恩. 基于区块链的芝麻油防伪溯源系统的设计与实现. 食品科学, 2024, 45(8):13-18. |
XU J S, ZANG N. Design and implementation of blockchain-based anti-counterfeiting and traceability system for sesame oil. Food Science, 2024, 45(8):13-18.
doi: 10.7506/spkx1002-6630-20231201-001 |
|
[18] | MOHIT M, KAUR S, SINGH M. Design and implementation of transaction privacy by virtue of ownership and traceability in blockchain based supply chain. Cluster Computing, 2022:1-18. |
[19] | 范贤丽, 范春晓, 吴岳辛. 基于区块链和IPFS技术实现粮食供应链隐私信息保护. 应用科学学报, 2019, 37(2):179-190. |
FAN X L, FAN C X, WU Y X. Implementing privacy information protection in the grain supply chain based on blockchain and IPFS technology. Journal of Applied Science, 2019, 37 (2):179-190. | |
[20] | XIAO Y, ZHANG N, HOU Y T. A Survey of distributed consensus protocols for blockchain networks. IEEE Communications Surveys & Tutorials, 2020, 22(2):1432-1465. |
[21] | KHAN S N, LOUKIL F, GHEDIRA-GUEGAN C, et al. Blockchain smart contracts: Applications, challenges, and future trends. Peer-to- peer Networking and Applications, 2021, 14:2901-2925. |
[22] | XU G, LIU Y, KHAN P W. Improvement of the DPoS consensus mechanism in blockchain based on vague sets. IEEE Transactions on Industrial Informatics, 2019, 16(6):4252-4259. |
[23] | 刘录祥, 孙其信, 王士芸. 灰色系统理论应用于作物新品种综合评估初探. 中国农业科学, 1989(3):22-27. |
LIU L X, SUN Q X, WANG S Y. Preliminary study on the application of Grey System Theory in comprehensive evaluation of new crop varieties. Scientia Agricultura Sinica, 1989(3):22-27. | |
[24] |
王正航, 武仙山, 昌小平, 等. 小麦旗叶叶绿素含量及荧光动力学参数与产量的灰色关联度分析. 作物学报, 2010, 36(2):217-227.
doi: 10.3724/SP.J.1006.2010.00217 |
WANG Z H, WU X S, CHANG X P, et al. Grey correlation analysis of chlorophyll content and fluorescence kinetics parameters in wheat flag leaves with yield. Journal of Crop Science, 2010, 36(2):217-227. | |
[25] | 昝凯, 陈亚光, 申为民, 等. 黄淮海夏大豆(南片)品种(系)农艺性状的综合分析及评价模型构建. 大豆科学, 2023, 42(2):129-137. |
ZANG K, CHEN Y G, SHEN W M, et al. Comprehensive analysis and evaluation model construction of agronomic traits of Huang Huai Hai summer soybean (southern) varieties (lines). Soybean Science, 2023, 42(2):129-137. | |
[26] | 郭强, 马文清, 秦昌鲜, 等. 甘蔗新品系的DTOPSIS法综合评价. 作物杂志, 2021(4):32-37. |
GUO Q, MA W Q, QIN C X, et al. Comprehensive evaluation of new sugarcane strains using DTOPSIS method. Crop Journal, 2021(4):32-37. | |
[27] |
高山, 闫程铭, 万畅, 等. 基于灰色关联度法和DTOPSIS法对羊草种质资源综合评价. 草地学报, 2024, 32(2):599-609.
doi: 10.11733/j.issn.1007-0435.2024.02.029 |
GAO S, YAN C M, WAN C, et al. Comprehensive evaluation of germplasm resources of Leymus chinensis based on grey correlation method and DTOPSIS method. Acta Agrestia Sinica, 2024, 32(2):599-609. |
[1] | YUE RuiJun, HE Liang, TANG MinRui, YAN Wei, LIU ShengQuan, YANG WanXia, SUN WeiHong, HUANG YongFeng. Agri-CBI: Agricultural Big Data Security Governance Model Leveraging Cloud-Blockchain Integration [J]. Journal of Agricultural Big Data, 2024, 6(3): 333-350. |
[2] | WAN Wei, LIU JianWei, LONG Chun, LI Jing, YANG Fan, FU YuHao, YUAN ZiMeng. An Overview of Zero-Knowledge Proof Technology and Its Typical Algorithms and Tools [J]. Journal of Agricultural Big Data, 2024, 6(2): 205-219. |
[3] | GONG HaiYan, MA FuQiang, ZHANG DaWei, LI XiaoGang. Application Analysis of Blockchain and Confidential Computing Technology in Material Database Platform [J]. Journal of Agricultural Big Data, 2024, 6(2): 241-252. |
[4] | LIU YuJie, LIAN XiaoQin, ZHAO ZhiYao, LI Yue, ZHANG Xin. Research on Trusted Management of Blockchain-based Food Safety Knowledge Graph [J]. Journal of Agricultural Big Data, 2023, 5(3): 69-82. |
[5] | GUAN Bolun, DONG Wei, ZHANG Liping, YANG Qianjin, WANG Yan. Development and Application of Traceability Tracking Platform for Ratooning Rice [J]. Journal of Agricultural Big Data, 2023, 5(1): 55-67. |
[6] | Xin Zhang, Xiangzhen Peng, Yue Li, Xiaoyi Wang, Zhiyao Zhao, Jiping Xu. Information Traceability Model for the Grain and Oil Food Supply Chain Based on Trusted Identification and Trusted Blockchain [J]. Journal of Agricultural Big Data, 2022, 4(1): 35-48. |
[7] | Zhe Zhang, Xinting Yang, Helong Yu, Shanshan Li, Chuanheng Sun. Progress of Research to Develop a Traceability System for Fresh Agricultural Products Using Blockchain Technology [J]. Journal of Agricultural Big Data, 2022, 4(1): 25-34. |
[8] | Wendou Wu, Bing Zhou, Lei Zhu, Qing Li, Yong Zhang, Shaoqi Zi, Tianxia Liu, Wenqing Yang, Xingping Tang. Design of Environmental Monitoring System for Walnut Base in Mountainous Area Based on STM32 [J]. Journal of Agricultural Big Data, 2022, 4(1): 145-156. |
[9] | Jiali Li, Han Yang, Jianping Qian. An Credible Traceability System for Cold Chain Logistics Developed for China’s Agricultural Products in the Context of COVID-19 [J]. Journal of Agricultural Big Data, 2022, 4(1): 14-24. |
[10] | Chen Chen. Research on the Construction of a Traceability System for Imported Cold Chain Food Based on Blockchain Technology under COVID-19 [J]. Journal of Agricultural Big Data, 2022, 4(1): 77-81. |
[11] | Yali Shu, Yuan Rao, Lei Xu. Design and Implementation of a Trusted Tea Quality Control System Based on Edge Intelligence [J]. Journal of Agricultural Big Data, 2021, 3(4): 40-50. |
[12] | Huijuan Wang, Qian Xu, Ailian Zhou, Xiaohe Liang, Nengfu Xie, Xiaoyu Li, Saisai Wu. The Development of Blockchain and Its Application in Agriculture [J]. Journal of Agricultural Big Data, 2021, 3(3): 76-86. |
[13] | Min Zuo, Siyu He, Qingchuan Zhang, Shuangshun Yao. Research on Food Source Traceability Technology Based on Blockchain [J]. Journal of Agricultural Big Data, 2020, 2(3): 52-60. |
[14] | Xuejing Zheng, Hang Xiong. How the Blockchain Technology Facilitate Data to Realize Value: the Case of Food Supply Chain [J]. Journal of Agricultural Big Data, 2020, 2(3): 13-20. |
[15] | Linli Jiang, Lei Shi. From Liangping Pomelos to Meizhou Pomelos: Using Blockchain Technology to Trace the Origins of Agricultural Products [J]. Journal of Agricultural Big Data, 2020, 2(2): 94-103. |
|