| 本文已被:浏览 4851次 下载 7834次 |
 码上扫一扫! |
|
|
| 安卓应用用户界面交互模式抽取与检索 |
|
吴俊伟1,2, 沈立炜1,2, 郭武楠1,2, 王超1,2, 赵文耘1,2
|
|
1.复旦大学 计算机科学技术学院, 上海 200433;2.上海市数据科学重点实验室(复旦大学), 上海 200433
|
|
| 摘要: |
| 安卓开发者需要通过不断地经验积累来提升其设计安卓界面及行为交互的能力.在数据驱动的软件开发中,代码推荐是其中一个关注热点.在此背景下,提出了一种安卓应用用户界面交互模式抽取与检索方法,提供面向安卓应用的界面相关代码查询与推荐能力,从而降低开发者在选择、试用、学习安卓应用所带来的人工成本.以安卓活动(activity)为单元的界面交互模式代表了活动的界面构成及交互行为,该方法以此为分析目标,从一组开源的安卓应用项目中抽取出每一个活动的界面交互模式.在此基础上,支持用户通过检索的方式获取与其需求相关的活动设计细节.该方法被实现为一组工具链,为抽取与检索提供自动化支持.最后,通过两个案例对该方法的准确性和有效性进行验证. |
| 关键词: 安卓 用户界面交互模式 模式抽取 |
| DOI:10.13328/j.cnki.jos.005527 |
| 分类号: |
| 基金项目:国家自然科学基金(61402113);国家重点研发计划(2016YFB1000801) |
|
| UI Interaction Pattern Extraction and Retrieving of Android Applications |
|
WU Jun-Wei1,2, SHEN Li-Wei1,2, GUO Wu-Nan1,2, WANG Chao1,2, ZHAO Wen-Yun1,2
|
|
1.School of Computer Science, Fudan University, Shanghai 200433, China;2.Shanghai Key Laboratory of Data Science(Fudan University), Shanghai 200433, China
|
| Abstract: |
| Android developers need to accumulate experience to enhance their ability to design Android interface and behavior. Code recommendation has been one of the focuses in data driven software development. In this context, this paper proposes a method of UI interaction pattern extraction and retrieval for Android applications. The method offers the ability to retrieve and recommend UI related codes, so that developers' effort of selecting, using and learning Android applications can be reduced. The UI interaction pattern of an activity represents the interface composition and the interaction behavior of the activity. Taking the pattern as the target, this method extracts the UI interaction pattern of each activity from a set of open source Android applications. Consequently, the method supports users to retrieve the related design details of activities by constructing queries. The method is implemented as a set of tool chains that provide automatic support for extracting and retrieving. Furthermore, the accuracy and effectiveness of the method are verified by two working examples. |
| Key words: Android UI interaction pattern pattern extraction |