作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2015, Vol. 41 ›› Issue (1): 261-265. doi: 10.3969/j.issn.1000-3428.2015.01.049

• 多媒体技术及应用 • 上一篇    下一篇

商用多媒体信息发布系统持久层设计与优化

吉亚云a,刘新b,叶德建b   

  1. 复旦大学 a.软件学院;b.网络信息安全审计与监控教育部工程研究中心,上海 201203
  • 收稿日期:2014-01-22 修回日期:2014-04-04 出版日期:2015-01-15 发布日期:2015-01-16
  • 作者简介:吉亚云(1989-),女,硕士研究生,主研方向:网络多媒体;刘 新,讲师;叶德建,副教授。
  • 基金资助:
    上海市科技成果转化和产业化基金资助项目“基于云计算构建的电信网络交互式电视业务系统研发”(12511503000)

Design and Optimization of Persistence Layer for Commercial Multimedia Information Publishing System

JI Yayuna,LIU Xinb,YE Dejianb   

  1. a.School of Software;b.Engineering Research Center of Cyber Security Auditing and
    Monitoring,Ministry of Education,Fudan University,Shanghai 201203,China
  • Received:2014-01-22 Revised:2014-04-04 Online:2015-01-15 Published:2015-01-16

摘要: 大规模的商业多媒体信息发布系统因资源及终端数量庞大,会导致系统性能低下。为此,提出一种能优化系统数据存取操作的数据持久层设计方案。研究并分析多媒体信息发布系统的特征,选择Hibernate框架设计系统持久层,总结Hibernate框架在该类系统中合理并高效使用的方法,针对基于Web的多媒体信息发布系统,给出可以使用Servlet过滤器来管理Hibernate的Session缓存,以延长Session对象的生命周期,减少系统对Session对象的查找,并能较为充分地利用Session对象中的缓存数据。实验结果表明,综合上述多种优化方法,可大幅减少多媒体信息发布系统的资源消耗,有效提高系统的整体性能。

关键词: 多媒体信息发布系统, 数据持久性, Session缓存, 过滤器

Abstract: For large-scale commercial Multimedia Information Publishing System(MPS) contains huge number of resources and terminals,that can lead to low performance of the system,this paper puts forward a design plan of data persistence layer to optimize the system data access operation.Based on the research and analysis of the characteristics of MPS,it chooses the Hibernate framework as the system data persistence design,summarizes and analyzes the general methods of how to use Hibernate properly in MPS,and puts forward that web-based MPS can use the servlet filters to manage the Hibernate session,which can prolong the life cycle of the session object and reduces the system consumption of the session object,and makes full use of the cached data in the session object.Experimental results show that the integrated optimization method mentioned above,can greatly reduce the resource consumption of MPS system and improves the overall performance of the system effectively.

Key words: Multimedia Information Publishing System(MPS), data persistence, Session cache, filter

中图分类号: