摘 要: 为了引导更多的工控厂家参与快捷方便的线上采购,改善当下工控品线上规模与线下规模不匹配的状 况,采购平台根据专业工控工作人士的建议需求,使用基于PHP技术的ThinkPHP框架与MySQL数据库搭建业务后 端,Bootstrap框架设计友好、直观的用户交互界面。同时搭配合适的聚类、分类等算法结合后台数据库做数据统计, 为用户提供专业、便捷、高效的购买方案。应用上述模式方案设计的采购平台,经测试在高并发量的情况下性能良好, 大约平均每秒处理10次请求,平均响应时间在3至5秒。基于ThinkPHP框架开发的线上工控品采购平台完全可以胜任一 般厂家的业务需求,并给予厂家便利。 |
关键词: 工控品;采购平台;ThinkPHP框架;数据统计;性能 |
中图分类号: TP3-0
文献标识码: A
|
|
Design and Implementation of Industrial Devices Procurement Platform Based on the ThinkPHP Framework |
GU Kechen
|
( Zhejiang A&F University, Hangzhou 311300, China)
|
Abstract: For the purpose that guiding more industry manufactures to participate in easy,quick online purchase and ameliorating the mismatch purchase scale of industrial devices between online purchase and offline purchase,according to industrial professional's suggestion and demand,purchasing platform adopts the ThinkPHP framework based on PHP with MySQL Database technique to build the backend,and adopts bootstrap framework to build the friendly,intuitively interactive frontend.Meanwhile,this paper selects suitable algorithms such as clustering algorithms and classification algorithms combined with the database to conduct data statistics,which provides a professional,convenient,and efficient purchasing scheme for the customers.The purchasing platform that adopts the model mentioned above was tested with highly concurrent cases and showed good performance for dealing with ten requests per second,resulting in an average response time of three to five seconds approximately.The online platform based on the ThinkPHP framework is good enough to deal with demands from common manufactures and provide them with convenience. |
Keywords: industrial devices;purchasing platform;ThinkPHP framework;data statistics;performance |