信易通嵌入式终端订单系统的设计与实现
原站著录信息
摘要
硕士学位论文 论文题目: 信易通嵌入式终端订单系统的设计与实现 Design and Implementation of XYT-Embedded Terminal Order System 目录 摘 要 I ABSTRACT II 第1章 绪论 1 1.1系统开发背景 1 1.2 国内外研究现状 2 1.2.1 嵌入式系统现状 2 1.2.2 商业嵌入式终端系统现状 3 1.2.3 烟草行业销售终端 3 1.2 本文的主要工作 4 1.3 本文的组织结构 6 第2章 需求分析与获取 7 2.1 总体业务描述 7…
硕士学位论文
论文题目:
信易通嵌入式终端订单系统的设计与实现
Design and Implementation of XYT-Embedded Terminal Order System
目录
摘 要 I
ABSTRACT II
第1章 绪论 1
1.1系统开发背景 1
1.2 国内外研究现状 2
1.2.1 嵌入式系统现状 2
1.2.2 商业嵌入式终端系统现状 3
1.2.3 烟草行业销售终端 3
1.2 本文的主要工作 4
1.3 本文的组织结构 6
第2章 需求分析与获取 7
2.1 总体业务描述 7
2.2 系统目标和解决的问题 8
2.3 系统需求获取 8
2.4 系统需求分析 9
2.4.1 系统功能性需求 11
2.4.2 系统界面需求 19
2.4.3 系统非功能性需求 22
第3章 系统概要设计 24
3.1 系统物理架构 24
3.1.1基于ARM的硬件平台 24
3.1.2 系统网络平台 24
3.2 系统技术架构 25
3.2.1逻辑架构设计 26
3.2.2软件架构设计 27
3.3 系统功能架构 29
第4章 系统详细设计 31
4.1 系统功能模块建模 31
4.1.1 系统的静态建模 31
4.1.2 系统的动态建模 34
4.2 系统数据库设计 37
4.2.1 基础数据数据库设计 39
4.2.2 业务模块数据库设计 41
第5章 系统实现与测试 43
5.1系统总体实现 43
5.1.1订单系统主界面 43
5.1.2 烟草/非烟订单编辑界面 44
5.1.3 订单管理界面 46
5.2 系统核心模块实现 46
5.1.1 系统多线程系统同步技术的设计与实现 47
5.1.2 建议订单算法设计实现 49
5.1.3 需求量采集的设计实现 50
5.3 电子商务平台通讯协议设计实现 52
5.4 系统测试 54
5.2.1 系统测试的环境与方案 54
5.2.2 系统测试数据与过程 56
第6章 总结与展望 60
6.1 本文总结 60
6.2 展望 61
参考文献 62
致谢 64
CONTENTS
ABSTRACT IN CHINESE I
ABSTRACT IN ENGLISH II
CHAPTER 1 INTRODUCTION 1
1.1 Background 1
1.2 Current Status 2
1.2.1 Current Status of Emmbedded System 2
1.2.2 Current Status of POS System 3
1.2.3 Current Status of Tobacoo Industy Sale Terminal 3
1.2 Main Contribution 4
1.3 Contents Orgnization 6
CHAPTER 2 REQUIREMENTS ANALYSIS 7
2.1 Description of Overall business 7
2.2 Destination and Primary Issues 8
2.3 System Requirements Obtain 8
2.4 System Requirements Analysis 9
2.4.1 Functional Requirements 11
2.4.2 System GUI Requirements 19
2.4.3 Non-Functional Requirements 22
CHAPTER 3 SYSTEM DESIGN 24
3.1 System Physical Capability 24
3.1.1 Base on ARM 24
3.1.2 System Network Platform 24
3.2 Technical Framework Design 25
3.2.1 Embedded Linux 26
3.2.2 Software Architecture Design 27
3.3 Systemhttp: Function Design 29
CHAPTER 4 DETAIL DESIG 31
4.1 Modeling System Functions Modeling 31
4.1.1 System Static Static Model 31
4.1.2 Dynamic Model of System 34
4.2 Database Design 37
4.2.1 Basic Database Design 39
4.2.2 Business Module Database Design 41
CHAPTER 5 SYSTEM ACHIEVE AND TESTING 43
5.1 Estate Realizing of System 43
5.1.1 Order System Main Interface 43
5.1.2 Order Editing Interface 44
5.1.3 Order Management Interface 46
5.2 Kernel Module Realize 46
5.1.1 Multi-thread synchronization technology 47
5.1.2 Realize of Order Achiva 49
5.1.3 Realize of Quantity of Demand 50
5.3 E-mergence Communication Protocol 52
5.4 System Testing 54
5.4.1 Condition of System Testing 54
5.4.2 System Database Testing 56
CHAPTER 6 CONCLUSIONS AND PROSPECT 60
6.1 Conclusions 60
6.2 Prospect 61
REFERENCES 62
ACKNOWLEDGMENTS 64
摘 要
自新中国成立60年来,烟草行业在党的正确领导与国家的大力支持下取得了巨大的成功和发展,并伴随着改革开放的不断深入,逐渐成为中国重要的利税企业。烟草企业通过自身的不断发展,社会的不断进步,逐渐认识到信息化发展的重要性。然而由于行业的特殊性及诸多历史原因,烟草信息系统往往具有关联性不强、欠缺信息互通等缺陷。在以顾客为导向、以变革为主题的今天,烟草行业迫切需要通过对自身水平的提升、流程的优化、相应技术的采用使得自身能够快速应对市场的变化、顾客的需求,从而更优质高效地为客户服务。
同时随着计算机科学以及网络的发展,嵌入式系统在我们生活的方方面面发挥着重要的作用。将专业而又灵活的嵌入式智能终端部署给零售户,不但可以提供给零售户更丰富的商品管理功能,更重要的是把烟草物流跟踪的触角进一步的延伸到了终端,由终端提供的准确而又详细的信息,为烟草公司打通从生产到销售的整个流程。从而成为一套高效、快捷的信息收集和发布系统,进一步帮助烟草企业制定管理决策。
本文以面向对象的思想为指导,以UML为分析设计工具,对信易通嵌入式智能终端订单系统进行需求分析与设计。根据嵌入式终端的特点,我们采用了C/S的架构模式,技术上基于MVC的框架,用户界面则采用的是Qt(多平台的C++图形用户界面)应用程序开发库,以C/C++为编程语言。该订单系统运行在基于ARM平台的Linux系统中,数据库采用的是近年来比较受嵌入式设备青睐的SQLite3轻量级数据库,整个系统分成三个层次,驱动层、接口层和应用层。应用层包括了订单系统的各个模块,系统管理等。接口层主要是数据库接口和网络同步协议。在驱动层包括了系统硬件打印机,银联设备、通联设备等驱动程序。整个系统从设计上看,条理明确,分支清晰,升级性和维护性优秀。
目前信易通智能终端订单系统即将在山东、山西、福建各省下的诸多地市上线运营,其中山东省预计将部署近1万台智能终端设备分别在青岛、淄博、等几个地市上线运营。
关键词:烟草;嵌入式;订单;Qt;MVC
Abstract
Since founding of New China 60 years ago, the tobacco industry in the party’s correct leadership and the strong support of the country has achieved tremendous success and development. Besides the deepening of reform, it becomes an important corporate profits and taxes gradually. Tobacco companies through their own continuous development, social progress, and gradually realize the importance of the development of information technology. However, due to the special nature of the industry and the many historical reasons, tobacco is often a correlation between information systems is not strong, the lack of information exchange and other defects. Today, business and information technology is no longer simply rely on a few office software will be able to achieve the enterprise modernization management era. In a customer-oriented in order to change the theme of today, the tobacco industry urgently needs to upgrade its own level, process optimization, the appropriate use of technology enables its quick response to market changes, customer needs, to more high-quality and efficient for customer service. At the same time as computer science, and the development of networks, embedded system in all aspects of our lives, play an important role. Will be professional and flexible deployment of embedded intelligent terminal to the retailer, not only can provide a richer retailer management functions of goods, more importantly, the tobacco logistics tracking tentacles further extended to the terminal, from terminal to provide accurate and Also detailed information, for the tobaccohttp: companies get through from production to sale of the entire process. Thus becoming a very efficient and fast information gathering and distribution system to further help the tobacco companies develop management decisions.
In this paper, object-oriented thinking in order to UML for the analysis and design tool for embedded intelligent terminal orders the letter ETS system requirements analysis and design. According to the characteristics of embedded devices, we have adopted C/S architecture model, technically-based MVC framework, user interface, then uses a Qt (multi-platform C++ Graphical User Interface) application framework for C/C + + as the programming language. The order system is running on ARM-based platform
