网学网为广大网友收集整理了,设计模式在短信触发平台中的实践和应用,希望对大家有所帮助!
论文字数:17345,页数:38 有开题报告,任务书
摘 要
短信触发业务是利用了用户在收/发短信的过程中触发进短信触发业务平台,进行相关的业务操作。在用户收短信的过程中,可以触发了被叫触发业务属性,从而进行与被叫相关的一些业务操作,比如:短信拦截、短信自动回复、短信转移、短信U盘、短信加密业务等。在用户发送短信的过程,可以触发了主叫触发业务属性,从而进行与主叫相关的一些业务操作,比如:发短信点值累积计算,以鼓励用户多发短信,等业务。
设计模式是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码、让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制真正工程化,设计模式是软件工程的基石,如同大厦的一块块砖石一样。设计模式使人们可以更加简单方便地复用成功的设计和体系结构。将已证实的技术表述成设计模式也会使新系统开发者更加容易理解其设计思路。
通过在短信触发平台运用好的设计模式,实践结果表明,选择适当的设计模式大大提高了开发效率,而且提高了代码的可读性和可维护性。
关键词:短信触发,指令,设计模式。
The practice and application of design patterns
in messaging platform trigger
Abstract
SMS trigger business users triggered into SMS platform and operate related business in the use of the process of send / receive SMS. SMS users in the send process, can trigger an Called trigger business attributes, Thus, with some Called related business operations, such as : SMS interception, automatic SMS reply message transfer, text messaging USB ,SMS encryption, and so on. Send SMS users in the process and could trigger a calling trigger business attributes. Thus, with the calling of some business operations, such as: the value of the accumulated points SMS, to encourage more users send text messages. And so on.
A design pattern was repeated use, and the majority of people know about it, after the catalog, code design experience. It was used to designed to be reusable code, more easily understood by others, ensuring code reliability. Undoubtedly, the design pattern to ourselves to others in the system are a win-win, so that code designed to prepare really works,Design software engineering model is the cornerstone, as a building block in the same brick. Design patterns so that people can be more convenient to the successful reuse of design and architecture. Will be confirmed as the technical presentation is designed to make the new system developers more easily understand their design ideas.
SMS triggered by the use of good design platform model results show, select appropriate design pattern has greatly improved the efficiency of development and improve code readability and maintainability.
Keywords: SMS trigger, directives, design patterns.
目 录
1 绪论 1
1.1 题背景及目的 1
1.1.1 课题背景 1
1.1.2 课题目的 1
1.2 国内研究现状 2
1.2.1 IVR 2
1.2.2 SMPP 3
2 设计模式 4
2.1 设计模式简介 4
2.1.1 基本要素 4
2.1.2 一些基本的设计模式 5
2.1.3 设计模式之Factory 6
2.2 应用框架 12
2.2.1 Spring Framework 13
2.2.2 WebWork 13
2.2.3 Struts 14
2.2.4 Hibernate 14
3 短信触发平台的需求和设计 15
3.1 需求概述 15
3.1.1 短信拦截业务 15
3.1.2 短信自动回复业务 15
3.1.3 短信转移业务 15
3.1.4 短信U盘业务 15
3.1.5 短信加密业务 16
3.2 系统结构 16
3.2.1 短信平台结构 16
3.2.2 短信触发系统结构 17
4 短信触发平台的实现 18
4.1 开发环境 18
4.1.1 流程开发IVR TOOLS 18
4.1.2 开发平台Eclipse 18
4.1.3 数据库Sybase 19
4.2 IVR接口形式 20
4.3 IVR处理流程 20
4.3.1 用户业务登记注册 20
4.3.2 短信中心业务触发 21
4.3.3 短信中心短信处理流程 21
4.3.4 短信中心回执处理流程: 21
4.4 IVR指令方案 21
4.5 设计模式在短信触发平台中的应用 22
4.5.1 新太科技的openeap平台 23
4.5.2 Factory在短信触发平台应用 23
4.5.3 后台调度设计 27
5 结论与展望 30