点评外卖的用户端系统商户列表和订单确认模块的设计与实现
发布时间:2018-08-26 10:23
【摘要】:外卖作为人们日常生活的高频次需求,急需互联网思维来改造这个产业,以便人们享受更好的外卖服务,商家获得额外的利润,因此外卖O2O应运而生。外卖连接商户与用户,而我们这里主要描述用户端的外卖解决方案。作为一个强地理位置属性的业务,通过手机寻找附近外卖是天然的需求。外卖的手机app与其他app有着截然不同的要求,我们面临着地理位置体验、商家配送范围的界定和活动营销推广的问题。本文针对地理位置体验设计了一套可随时热切换、迅速降级的地图方案,满足了用户使用场景中的地理位置需求。针对商家配送范围,我们采用了在地图上绘制多边形的方案,并解决了相关判定用户位置否在配送范围内的问题。针对活动营销这样一个规则复杂多变的业务领域,设计了一套易于扩展、高度灵活的方案。技术架构上采用了mobile-shell、spring、ibatis框架,使用标准的三层结构,并在表示层使用了MVC模式的设计思想。系统深度结合了互联网企业常用的中间件服务,保证了系统的性能、可用性和扩展性。本文方案亦可用于O2O其他业务领域。业务场景的相似性是可用的基础;其次通过日常监控数据可以看到本系统的各个服务接口平均响应时间保持在50ms内,性能高;可扩展性好,可以迅速扩展功能,添加业务平台;完善的降级方案保证了系统99.99%的可用性。本文首先介绍了外卖背景,然后是项目开发过程中使用的各项技术,主要是框架和中间件。紧接着明确了项目的需求并根据需求完成项目的设计,需求的内容包括功能性需求、非功能需求以及用例分析,设计内容包括系统架构设计和策略、数据库设计等。之后,本文详细介绍了系统各个模块的具体实现,对涉及的算法有详细的描述。最后,总结了整个项目的不足和进一步的展望。
[Abstract]:As a high frequency demand of people's daily life, takeout is in urgent need of Internet thinking to transform this industry so that people can enjoy better take-out service, and merchants get extra profits, so takeout O2O emerges as the times require. Takeout links merchants to users, and we mainly describe the client-side delivery solution here. As a strong geographical location of the business, through the mobile phone to find nearby takeout is a natural demand. The app of take-out mobile phone has very different requirements from other app. We are faced with the problems of geographical experience, the definition of distribution scope and the promotion of activities. In this paper, we design a map scheme which can be hot-switched and quickly degraded to meet the needs of the users in the scene. In view of the distribution range of the merchant, we adopt the scheme of drawing polygon on the map, and solve the problem of determining whether the user's position is in the distribution range. In view of the activity marketing which is a complex and changeable business field, a set of extensible and highly flexible scheme is designed. The mobile-shell,spring,ibatis framework is used in the technical architecture, the standard three-tier structure is used, and the design idea of MVC pattern is used in the presentation layer. The system deeply combines the middleware services commonly used by Internet enterprises, and ensures the performance, availability and expansibility of the system. This scheme can also be used in other business areas of O _ 2O. The similarity of business scenarios is the basis of availability; secondly, through the daily monitoring data, we can see that the average response time of each service interface of the system is kept in 50ms, the performance is high, the extensibility is good, the function can be expanded quickly, and the service platform can be added. The perfect demotion scheme ensures 99.99% availability of the system. This paper first introduces the take-out background, then the technologies used in the development of the project, mainly framework and middleware. Then the requirements of the project are defined and the design of the project is completed according to the requirements. The content of the requirements includes functional requirements, non-functional requirements and use case analysis. The design content includes system architecture design and strategy, database design and so on. Then, this paper introduces the implementation of each module in detail, and describes the algorithm involved in detail. At last, the deficiency of the whole project and further prospect are summarized.
【学位授予单位】:南京大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP311.52
本文编号:2204566
[Abstract]:As a high frequency demand of people's daily life, takeout is in urgent need of Internet thinking to transform this industry so that people can enjoy better take-out service, and merchants get extra profits, so takeout O2O emerges as the times require. Takeout links merchants to users, and we mainly describe the client-side delivery solution here. As a strong geographical location of the business, through the mobile phone to find nearby takeout is a natural demand. The app of take-out mobile phone has very different requirements from other app. We are faced with the problems of geographical experience, the definition of distribution scope and the promotion of activities. In this paper, we design a map scheme which can be hot-switched and quickly degraded to meet the needs of the users in the scene. In view of the distribution range of the merchant, we adopt the scheme of drawing polygon on the map, and solve the problem of determining whether the user's position is in the distribution range. In view of the activity marketing which is a complex and changeable business field, a set of extensible and highly flexible scheme is designed. The mobile-shell,spring,ibatis framework is used in the technical architecture, the standard three-tier structure is used, and the design idea of MVC pattern is used in the presentation layer. The system deeply combines the middleware services commonly used by Internet enterprises, and ensures the performance, availability and expansibility of the system. This scheme can also be used in other business areas of O _ 2O. The similarity of business scenarios is the basis of availability; secondly, through the daily monitoring data, we can see that the average response time of each service interface of the system is kept in 50ms, the performance is high, the extensibility is good, the function can be expanded quickly, and the service platform can be added. The perfect demotion scheme ensures 99.99% availability of the system. This paper first introduces the take-out background, then the technologies used in the development of the project, mainly framework and middleware. Then the requirements of the project are defined and the design of the project is completed according to the requirements. The content of the requirements includes functional requirements, non-functional requirements and use case analysis. The design content includes system architecture design and strategy, database design and so on. Then, this paper introduces the implementation of each module in detail, and describes the algorithm involved in detail. At last, the deficiency of the whole project and further prospect are summarized.
【学位授予单位】:南京大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP311.52
【参考文献】
相关期刊论文 前2条
1 刘德儿;漆文成;兰小机;;基于反向射线与顶点退化判断点在多边形内外的算法及应用[J];测绘科学;2008年04期
2 陈树强;陈学工;王丽青;;判定检测点是否在多边形内的新方法[J];微电子学与计算机;2006年08期
,本文编号:2204566
本文链接:https://www.wllwen.com/guanlilunwen/yingxiaoguanlilunwen/2204566.html