[1]邹春杰,赵学健,朱 涛,等.基于微服务架构的农产品溯源系统优化[J].计算机技术与发展,2022,32(01):147-153.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 025]
 ZOU Chun-jie,ZHAO Xue-jian,ZHU Tao,et al.Optimization of Agricultural Product Traceability System Based onMicro-service Architecture[J].,2022,32(01):147-153.[doi:10. 3969 / j. issn. 1673-629X. 2022. 01. 025]
点击复制

基于微服务架构的农产品溯源系统优化()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
32
期数:
2022年01期
页码:
147-153
栏目:
应用前沿与综合
出版日期:
2022-01-10

文章信息/Info

Title:
Optimization of Agricultural Product Traceability System Based onMicro-service Architecture
文章编号:
1673-629X(2022)01-0147-07
作者:
邹春杰1 赵学健1 朱 涛1 刘红帅1 江 婷2
1. 南京邮电大学 现代邮政学院,江苏 南京 210003;
2. 南京航空航天大学 电子信息工程学院,江苏 南京 210016
Author(s):
ZOU Chun-jie1 ZHAO Xue-jian1 ZHU Tao1 LIU Hong-shuai1 JIANG Ting2
1. School of Modern Posts,Nanjing University of Posts and Telecommunications,Nanjing 210003,China;
2. School of Electronic and Information Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,China
关键词:
溯源微服务系统优化响应时间农产品
Keywords:
traceabilitymicro-servicessystem optimizationresponse timeagricultural products
分类号:
TP391
DOI:
10. 3969 / j. issn. 1673-629X. 2022. 01. 025
摘要:
农产品溯源系统用户量急速增加,对农产品溯源系统的并发性、扩展性、隔离性、高可用性提出了更高要求。 当前,溯源系统原有的单一架构已经很难适应农产品的业务规模,为了缓解用户量激增带来的高并发,必须提升农产品溯源系统的性能,实现服务组件化,提高系统的扩容能力,保证高可用。 该文对基于 SSM 框架的农产品溯源系统进行了优化。通过在农产品溯源系统中引入微服务架构,将农产品溯源系统按照不同的功能划分成若干个相互独立的微服务功能模块,使用 spring boot 框架单独开发每一个微服务实例功能模块,并通过 spring cloud 框架将由 spring boot 框架开发完成的若干个微服务实例功能模块进行链接。 此外,为了进一步提升基于微服务架构的农产品溯源系统的性能,该文通过 Redis 对农产品溯源系统的缓存进行处理。 实验证明,通过微服务模块的引入及对缓存空间的处理,农产品溯源系统的响应时间得到了明显降低。
Abstract:
The rapid increase in the number of users of agricultural product traceability system has put forward higher requirements for itsconcurrency, expansibility, isolation and high availability. At present,the original single structure of traceability system can hardly adaptto the business scale of agricultural products. In order to alleviate the high concurrency caused by the surge of users,it is necessary toimprove the performance of agricultural product traceability system, realize the componentization of service, improve the capacity ofexpansion of the system, and ensure high availability. The agricultural product traceability system based on the SSM framework isoptimized. By introducing micro-service architecture into the agricultural product traceability system,the agricultural product traceabilitysystem is divided into several mutually independent micro-service functional modules according to different functions. The spring bootframework is used to independently develop each microservice instance function module,and the spring cloud framework is used to linkseveral microservice instance function modules developed by spring boot framework. In addition,to further improve the performance ofthe system,Redis is used to process the cache. Experiment shows that the response time of agricultural product traceability system is significantly reduced by the introduction of micro-service module and the processing of cache space.

相似文献/References:

[1]杨坤 杨庚.关于无线传感器网络中溯源方法的分析[J].计算机技术与发展,2011,(07):58.
 YANG Kun,YANG Geng.An Analysis on Traceback Methods in Wireless Sensor Networks[J].,2011,(01):58.
[2]黄继杰,林昌年,杨选怀,等.一种支持私有云仿真的 HLA/ RTI 实现方法[J].计算机技术与发展,2019,29(09):164.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 031]
 HUANG Ji-jie,LIN Chang-nian,YANG Xuan-huai,et al.An HLA/ RTI Implementation Supporting Private Cloud Simulation[J].,2019,29(01):164.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 031]
[3]罗钦凯,倪成章.基于微服务的工作流技术在云管平台的应用[J].计算机技术与发展,2019,29(09):122.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 024]
 LUO Qin-kai,NI Cheng-zhang.Application of Workflow Technology Based on Micro-service in Cloud Management Platform[J].,2019,29(01):122.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 024]
[4]吴 磊,湛 健,宋丽华.微服务架构在智能家居网关系统中的应用研究[J].计算机技术与发展,2019,29(11):200.[doi:10. 3969 / j. issn. 1673-629X. 2019. 11. 040]
 WU Lei,ZHAN Jian,SONG Li-hua.Research of Application of Micro-service Architecture in Smart Home Gateway System[J].,2019,29(01):200.[doi:10. 3969 / j. issn. 1673-629X. 2019. 11. 040]
[5]姜 伟,潘邵芹.基于 SDN 的微服务负载均衡方案研究[J].计算机技术与发展,2020,30(02):23.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 005]
 JIANG Wei,PAN Shao-qin.Research on Load Balance of Microservice Based on SDN[J].,2020,30(01):23.[doi:10. 3969 / j. issn. 1673-629X. 2020. 02. 005]
[6]贾花萍.“区块链+电商”在渭南市农产品电商领域的应用[J].计算机技术与发展,2020,30(06):191.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 037]
 JIA Hua-ping.Application of “Blockchain+E-commerce” in E-commerce of Agricultural Products in Weinan[J].,2020,30(01):191.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 037]
[7]郑杰生,谢彬瑜,吴广财,等.一种基于模式识别的微服务异常检测方法[J].计算机技术与发展,2020,30(11):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 023]
 ZHENG Jie-sheng,XIE Bin-yu,WU Guang-cai,et al.An Anomaly Detection Approach for Microservices Based on Pattern Recognition[J].,2020,30(01):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 11. 023]
[8]郑杰生,谢彬瑜,吴广财,等.一种基于 Lasso 回归的微服务性能建模方法[J].计算机技术与发展,2020,30(12):216.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 038]
 ZHENG Jie-sheng,XIE Bin-yu,WU Guang-cai,et al.A Lasso Regression Based Performance Modeling Method for Microservices[J].,2020,30(01):216.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 038]
[9]廖 艺,王友国,朱 亮.基于谱优化社区划分的双信源溯源算法[J].计算机技术与发展,2020,30(12):72.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 013]
 LIAO Yi,WANG You-guo,ZHU Liang.Identifying Dual Information Source with Community Partition Based on Spectral Optimization[J].,2020,30(01):72.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 013]
[10]耿晓利,张 芒,尹永宏.高并发高可用的分布式电商平台架构研究[J].计算机技术与发展,2021,31(02):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]
 GENG Xiao-li,ZHANG Mang,YIN Yong-hong.Research on Distributed E-commerce Platform Architecture with High Concurrency and High Availability[J].,2021,31(01):111.[doi:10. 3969 / j. issn. 1673-629X. 2021. 02. 021]

更新日期/Last Update: 2022-01-10