摘 要为了解决当下软件性能不足造成的用户体验低下的问题,我们设计并实现了这款安卓系统性能测试工具,以帮助开发者对软件的性能进行评估,从而为软件的性能优化提供建议。
系统采用C/S结构,客户端监听应用的性能参数:CPU使用率、CPU频率、电池温度、电池电量,结合服务端测试的数据结果,得出软件性能优劣的结论。服务端以SQLSERVER为数据库平台,IIS作为应用服务器,通过C#连接访问数据库。在数据交互方面,采用在服务端通过C#访问SQLSERVER数据库来新增和查询数据,再利用WebService实现服务端与客户端的数据交互。
客户端主要包括软件性能图表分析界面、云端数据对比界面。开发者可以在图表分析界面直观的看到性能参数的变化曲线图以及统计得出的数据,在云端数据对比界面可以看到所有测试的平均数据以及当前测试出来的数据。论文详细的描述了开发过程,给出了最终的效果图,并且通过实验验证了该工具的可靠性和正确性。87197
AbstractIn order to solve the current software performance problems caused by poor user experience, we design and realize the Android system performance testing tool, to help developers of software evaluate the performance of the software, in order to provide suggestions for the optimization of the performance of the software。
The system is based on the structure of Client/Server。 The client monitors application performance parameters: CPU usage, CPU frequency, battery temperature, battery power, combing with the results of the data server test results to come to the conclusion of software performance。 The server uses SQLSERVER as database platform, as well as IIS as application server, and access the database through the C#。 In data exchange, the server access SQLSERVERSQL to add and query data through the C#, and then use WebService to achieve the data exchange between client and server。
The client mainly includes the software performance chart analysis interface and the cloud data contrast interface。 The developers can intuitively see the performance parameters of the curves in the chart analysis interface, they can also see the statistics derived from the data。 In the cloud data comparison interface, they can see the average data for all tests and the data currently tested。 The article describes the system’s development process in detail and gives the final using interface diagrams, we also verify the reliability and correctness of the tool by experiments。
Keywords: Android, Process, CPU, WebService
目 录
第一章 绪论 1
1。1 课题背景 1
1。2 研究内容 1
第二章 可行性分析 2
2。1 相关技术 2
2。1。1 Android简介 2
2。1。2 IIS、ASP。NET、C#、SQLSERVER简介 5
2。2 技术分析 6
2。2。1 服务器 6
2。2。2 进程和线程 6
2。2。3 WebService 7
2。2。4 三层架构 8
3。1需求分析 9
3。2 系统目标 10
3。3 系统结构 10
3。4 系统功能设计 11
3。4。1 数据库设计