第一章 绪论
1.1. 课题研究背景
1.2. 国内外浏览器翻译插件的现状
1.3. 研究目的和意义
1.4. 论文内容和结构
第二章 课题关键技术
2.1. VC++简介
2.2. MFC简介
2.3. C++简介及语言特点
2.4. 屏幕取词技术介绍
第三章 需求分析
3.1. 项目名称
3.2. 可行性分析
3.3. 界面需求
3.4. 功能需求
3.5. 用例分析
3.6. 系统非功能性需求分析
第四章 系统设计
4.1. 系统总体设计
4.2. 系统设计目标
4.3. 系统详细设计
4.3.1. 屏幕取词模块详细设计
4.3.2. 屏幕取词技术解决方案的设计
4.3.3. 单词查询模块详细设计
4.3.4. 词库管理模块
4.4. 用户界面设计
4.4.1. Chrome浏览器翻译插件主界面设计
4.4.2. 词库管理界面
4.5. 数据库设计
4.5.1. 编写目的
4.5.2. 概念设计
4.5.3. 逻辑设计
4.5.4. 物理设计
第五章 系统实现
5.1. 用户界面
5.2. 屏幕取词模块实现
5.2.1. 百度API调用
5.2.2. 获取鼠标位置
5.3. 单词查询模块实现
5.4. 词库管理模块实现
5.4.1. 添加和修改功能的实现
5.4.2. 删除功能的实现
第六章 系统测试
6.1. 软件测试简介
6.2. 功能测试
6.3. 测试总结
第七章 总结与展望
参考文献
致谢
Chrome浏览器翻译插件的开发
摘 要:Google Chrome浏览器自从2008年上市以来,以强势的技术实力及用户体验迎来了众多使用者及开发者的追捧。同时作为功能拓展的插件并不再是Firefox的特权,众多开发者及软件开发商开始将目光转移到浏览器行业的新星Chrome上。有越来越多的插件开始向Chrome平台进发。Chrome浏览器高安全性的沙盒技术,多进程技术,隐身模式,快速高效的浏览体验吸引了大量用户.Chrome扩展可以提升用户体验,乃至解决一些使用过程中遇到的实际问题.不同于Firefox基于XUL的扩展界面开发,Chrome基于HTML的扩展开发方式极大地方便了开发人员。本系统是基于Chrome浏览器程序的翻译插件,它主要功能是:屏幕取词、单词查询和词库管理。论文先对本课题涉及的关键技术进行逐个的解释与介绍,然后对整个系统做了功能与运行环境的需求说明,接着进行系统的设计部分,包括界面设计和数据库设计,最后对系统的实现做了更具体的阐述。本系统实现了用户从屏幕中随机截取字符串,构成单词在数据词库中进行查询并通过界面显示给用户,同时系统还提供词库管理功能,可对词库进行添加、修改、删除单词等操作。本文把理论与实践交替结合起来从技术介绍到系统实现的每一部分都认真完成,努力做到最好的论文描述与系统呈现。
关键词:Chrome;浏览器;翻译;插件;开发
Development of Chrome browser translation plug-in
Absrtact: Google Chrome browser has been popular with many users and developers with strong technical strength and user experience since its launch in 2008. Meanwhile, as a feature expansion plug-in is no longer a Firefox privilege, many developers and software developers began to focus on the browser industry's new star Chrome. A growing number of plug-ins are moving towards Chrome platforms. Chrome browser high security sandboxie technology, multi-process technology, stealth mode, fast and efficient browsing experience attracted a large number of users. Chrome expansion can improve the user experience and even solve some practical problems encountered in the process of use. Unlike Firefox XUL-based extended interface development, HTML-based extended development greatly facilitates developers. this system is a translation plug-in based on Chrome browser program. its main functions are: screen word picking, word query and word library management. This paper first explains and introduces the key technologies involved in this subject one by one, then explains the functions and operating environment of the whole system, and then carries on the design part of the system, including interface design and database design. Finally, the implementation of the system is described more concretely. This system realizes the user to intercept the string randomly from the screen, forms the word to carry on the inquiry in the database and displays to the user through the interface, at the same time, the system also provides the word library management function, may carry on the addition, the modification, the deletion word and so on operation to the word library. This paper combines the theory and practice alternately from the technical introduction to the system implementation of each part of the serious completion of efforts to achieve the best paper description and system presentation.
Keywords: Chrome; browser; translation; plug-in; development