基于WebService和Android的C/S+B/S结构手机电影系统  被引量:14

C/S + B/S ARCHITECTURE CELLPHONE MOVIE SYSTEM BASED ON WEBSERVICE AND ANDROID

在线阅读下载全文

作  者:罗国涛[1] 裴广[2] 

机构地区:[1]四川托普信息技术职业学院计算机学院,四川成都611743 [2]中国科学院成都计算机应用研究所,四川成都610041

出  处:《计算机应用与软件》2015年第9期328-333,共6页Computer Applications and Software

摘  要:针对各个电影系统数据资源有限且不能共享、人们通过智能手机访问最新影视信息效率低下以及手机客户端多任务访问服务端时易出现未响应错误,提出一种基于WebService和Android的C/S+B/S结构手机电影系统实现方法。系统总体由Android手机客户端、Java EE服务器端和基于WebService的分布式异构数据库三部分组成。在手机桌面主屏上采用AppWidget组件方便用户以多角度快速浏览最新影视信息从而增强用户独特的视觉体验。手机客户端访问服务器端时客户端采用线程池方法避免手机出现ANR错误。后台管理系统采用SSH2+JQuery+JSON组合框架使得展示层、业务层以及数据持久层三层分离,降低了系统各模块的耦合性,提高了系统的可维护性和可重用性。为更好地实现电影数据共享,系统中心数据库采用触发器与日志表法、API法相结合的变更数据捕获方法实现了分布式异构数据库的同步操作。通过实验证明了该系统的可行性及实用性。Aiming at the problems that every movie system is limited in data resources and cannot share each other, the efficiency of peo- ple accessing to the latest movie information through smart phones is low, and the access to server by cellphone client in multitask mode is prone to not-responding error, in this article we proposed a WebService and Android-based implementation method of C/S + B/S architecture cellphone movie system. The system is composed of three parts, the Android client, the JavaEE server and the WebService-based distributed heterogeneous database. In cellphone desktop main screen, the AppWidget component is used, this makeg the users convenient to have a quick browse on the latest film and television information with various angles so as to enhance usem'unique visual experience. When the cell- phone client accessing the server, the client uses thread pool method to avoid ANR mistakes occurring on ceUphone. The background manage- ment system uses an SSH2 + JQuery + JSON combination framework, this separates the presentation layer, business layer and data persistence layer, reduces the coupling of each module of the system, and improves the maintainability and reusability of the system. To better realise movie data sharing, the system centre database adopts a changed data capture method combining the triggers, the log table method and the API method, and realises the synchronised operation of distributed heterogeneous database. The feasibility and practicability of the system are proved through the experiment.

关 键 词:WEBSERVICE SSH2框架AppWidget 分布式异构数据库 线程池 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TN929.5[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象