1、I 摘 要 随着计算机和数码设备的普及,数字图片资源已成为我们日常生活中的一个重要 部分,对于日益增多的图片资源,如何更好的存储和有效检索已成为人们面临的一个 新的课题,于是电子相册应运而生。该系统和一般的数字相册系统相比,更具有一定 的智能性。例如:当用户需要某幅相片时,可以通过简单的人机交互,或者根据用户 的使用记录,自动推荐出用户可能需要的图像。 本文介绍基于.NET平台开发的基于B/S模式的智能数字相册的具体实现。 系统的主 要开发语言为C#,应用了XML、Ajax等技术,结合了目录管理与SQL Server数据库管 理。同时采用基于文件方式的图像存储,即图像文件以文件形式存放于指定的
2、计算机 目录下,在数据库表中只反映图像数据文件的存储路径及各种属性,这种存储方式缩 小了数据库的容量,对图像的操作和使用都十分方便。对于数字相片的录入,检索等 功能的实现,系统采用了当今流行的Ajax技术,其改变了传统的客户端与服务器端交 互的方式,使得用户无需等待数据刷新,即可执行其他的操作,所有的数据处理都在 后台进行,提高了用户体验。 系统的主要功能包括:用户登录与用户管理、图像的导入和显示,根据关键字检 索图像,根据图像的分类浏览相册及改变相册的风格。 关键词: Ajax; .NET; 电子相册 II Abstract With the popularity of computers
3、and numeral devices, the resources of digital photos have become important parts of our daily life. As for the growing number of images, how to keep and retrieval them effectively is the facing problem. As a result, e-album came into being. Compared with other e-albums, this new system attend to be
4、more intellect. For example, if you want to find out one picture from the album, you could choose to contact with your computer. Also, you could wait the system to recommend according your records, then you will find out the image you want. At the same time, if you want to look though some related pictures, you could input some keywords, then your pictures will come into being immediately. This paper will introduce you the intelligent e-album, which is developed with B/S model and is based on .N