基于ThinkPHP和Redis的高并发微信公众号开发的研究与实现
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:RESEARCH AND IMPLEMENTATION OF HIGH CONCURRENT WECHAT PUBLIC ACCOUNT DEVELOPMENT BASED ON THINKPHP AND REDIS
  • 作者:李建华 ; 夏汛 ; 罗明全
  • 英文作者:Li Jianhua;Xia Xun;Luo Mingquan;Department of Information and Engineering ,Luzhou Vocational and Technical College;
  • 关键词:ThinkPHP ; Redis ; 公众号二次开发 ; 快速建站 ; 高并发
  • 英文关键词:ThinkPHP;;Redis;;Secondary development of WeChat public account;;Rapid establishment;;High concurrence
  • 中文刊名:JYRJ
  • 英文刊名:Computer Applications and Software
  • 机构:泸州职业技术学院信息工程系;
  • 出版日期:2019-02-12
  • 出版单位:计算机应用与软件
  • 年:2019
  • 期:v.36
  • 基金:四川省教育厅基金项目(18ZB0286);四川省教育厅——川酒文化传播中心(CJCB-2017-14)
  • 语种:中文;
  • 页:JYRJ201902020
  • 页数:5
  • CN:02
  • ISSN:31-1260/TP
  • 分类号:114-118
摘要
随着"互联网+"的快速发展,微信公众号已经逐渐融入大家的生活。微信公众号基础平台仅提供一些较为常用的服务,而对于一些特殊的需求,则需要使用微信平台封装的接口进行二次开发,扩展公众号功能,定制个性化服务。针对这种情况,以某公司价值文化宣传为例,考虑到用户需求特殊和开发周期等要求,设计并实现基于ThinkPHP和Redis快速搭建高并发微信公众号二次开发平台。实验结果表明,使用ThinkPHP框架可以减少开发难度,使用Redis缓存技术可以提高系统并发度。其开发技术具有通用性,能够在高并发的微信公众号二次开发方面有所借鉴。
        With the rapid development of the Internet plus,the WeChat public account has gradually integrated into everyone's life.The WeChat public account basic platform only provides some common services.For some special needs,it needs to use the interface encapsulated by the WeChat platform for secondary development,expand the public number function,and customize personalized services.In view of this,we took a company's value culture propaganda as an example.Considering the special requirements of users and the development cycle,we designed and implemented a secondary development platform of high-concurrency WeChat public account based on ThinkPHP and Redis.The experimental results show that using the ThinkPHP framework can reduce the difficulty in development,and the Redis cache technology can improve the system concurrency.The development technology is universal and can be used for reference in the secondary development of the high-concurrency WeChat public account.
引文
[1]2017年微信数据报告[EB/OL].https://wenku.baidu.com/view/a8122d5077c66137ee06eff9aef8941ea66e4b11.html.
    [2]王俊芳,李隐峰,王池.基于MVC模式的Think PHP框架研究[J].电子科技,2014,27(4):151-153,158.
    [3]郎泓钰,任永功.基于Redis内存数据库的快速查找算法[J].计算机应用与软件,2016,33(5):40-43,52.
    [4]H-ui.admin V3.1后台模版[EB/OL].http://www.h-ui.net/H-ui.admin.shtml.
    [5]谢远超.微信公众号信息服务平台的设计与实现[D].广州:中山大学,2014.
    [6]微信公众平台技术文档[EB/OL].https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1445241432.
    [7]王蓁蓁.软件测试理论初步框架[J].计算机科学,2014,41(3):12-16,35.