1、摘 要 本文以 MTK 手机开发平台为基础,简述了 MTK 平台中使用的 Nucleus 嵌入 式操作系统,分析了 MTK 平台的软件架构,详细说明了 MTK 中的任务处理和消 息管理机制。 基于以上理论基础,对通话管理模块软件进行分析,详细分析了其中的 AT 模 块,研究了 MTK 平台中 AT 命令的类型和格式,分析了通话管理模块中 AT 命令 的收发格式。根据对通话管理模块软件的分析和 AT 命令收发格式的研究,设计出 底层 AT 命令的发送和响应过程,完成了通话管理软件中 AT 模块的设计。然后根 据实际需求,在原方案的基础上,针对 AT 模块设计的缺陷提出了改进方案。利用 扩展 AT
2、 命令的实现原理,完善了对 AT 模块软件的设计,并最终实现了通话管理 的主要功能。最后,设计测试用例,对完成的功能进行测试和验证。 关键词: MTKMTK 手机 通话管理 ATAT命令 Abstact This thesis is based on the MTK mobile phones development platform. It briefly describes Nucleus operating system used in MTK platform, analyzes the framework of MTK platform, and focuses on the tas
3、k processing and the mechanism of message management in MTK. Based on the above theory, this thesis analyzes the call management software and its AT module, studies the types and formats of AT commands, and expounds the sending and receiving formats of AT commands used in the call management. Accord
4、ing to the analysis of call management software and the study of AT commands sending and receiving formats, this paper schemes out the sending and responding processes of AT commands and completes the design of AT module in the call management. According to the actual demands and on the basis of the
5、 original program, it puts forward the improvement. By using the realization principles of the expanded AT commands, it perfects the design of AT module and ultimately achieves the main functions of call management. Finally, it tests and verifies the completed functions using test cases. Keyword: MT
6、K Mobile Phone Call Management AT command 目录 I 目录 第一章 绪论 1 1.1 课题背景 .1 1.2 课题研究的意义 .2 1.3 论文的章节安排 .3 第二章 MTK 手机开发平台的操作系统 5 2.1 常用的手机操作系统 .5 2.2 MTK 平台的 Nucleus 操作系统 6 2.2.1 Nucleus 的特点.6 2.2.2 Nucleus 支持的 CPU 类型 .7 2.2.3 Nucleus 源代码带来的优势.8 第三章 MTK 手机开发平台及其机制研究 9 3.1 平台软件架构 .9 3.2 应用模块的分析 .10 3.2.1 应用模块的组成 .10 3.2.2 屏幕历史管理机制 .10 3.3 用户界面设计的分析 .12 3.4 本地数据模块 .14 3.5 输入事件处理机制 .15 3.5.1 消息机制 .15 3.5.2 事件处理机制 .17 3.6 任务 .18 3.7 本章小结 .19 第四章 通话管理模块软件的分析 21 4.1 通话管理软件的分析 .21 4.2 AT 模块的分析 .23