应用Ajax提高跨库检索系统SRU接口检索速度.pdfVIP

  • 1
  • 0
  • 约1.66万字
  • 约 5页
  • 2017-07-05 发布于湖北
  • 举报

应用Ajax提高跨库检索系统SRU接口检索速度.pdf

2o0年年1第10月期 计算机技术与发展 Voi.20 No.10 第 卷 201 COMPUTERTECHNOL(~ YANDDEVELOPMENT Oct. 2010 应用 Ajax提高跨库检索系统 SRU 接 口的检索速度 周 强,许雁冬,李 宇 (中国科学院 国家科学图书馆,北京 100190) 摘 要:跨库检索系统SRU接 口,需要同时检索多个数据库。但是,每个数据库检索的快慢程度不同,原来是应用同步技 术实现的,当全部数据库检索完毕,才能显示检索结果。用户通常需要等 8秒左右 ,才能显示检索结果,等待时间较长。 文中对检索过程进行了改进 ,采用Ajax技术 ,通过应用异步技术实现检索过程 ,当有一个数据库检索完成后 ,就显示检索 结果。用户只需要等待 3秒左右 ,就能显示检索结果。文中论述了检索、显示结果异步处理的问题,并且给出了解决问题 的办法。现在,跨库检索系统的SRU检索,检索结果显示正确,运行状态稳定,得到了使用者的好评。 关键词:同步;异步;ax 中图分类号:TP391.3 文献标识码 :A 文章编号:1673—629X(2010)10—0203—04 UseAjaxtoImproveMetasearchSystem SRUInterface toRetrievalRate ZHOU Qiang,XU Yah—dong,LIYu (NationalScienceLibrary,ChineseAcademyofSciences,Beijing100190,China) Abstract:Themetasearchsystem SRU interfacetosimultaneouslysearchmultipledatabases.However,eachdatabase,differentlevelsof speedofretrieval,theoriginal istoapplysynchronoustechnology,whenallthedatabasesearchiscompleted,todisplaythesearchre— suits,Theusersusuallyhavetowait8secondsor80,todisplaythesearchrmults,waitingforalongtime.Inthispaper,theretrieval processhasbeenimproved,using Aiaxtechnology,througfitheapplicationofasynchronoustechnologytoachievetheretrievalprocess, whenaadtabasesearchisComplete,itdisplayssearchresults.Uesrsonlyneedtowaitfor3secondsorso,canshowsearchresults.Discuss theproblemsforretrievalnaddisplayasnychronousprocessingresNt,nadgivethesolutiontotheproblem.Atpresent,formetasearchsys— ternSRU interface,searchresultsdisplaycorrectly,runningstatusisstable,80ithasobtainde user’spraise. Keywords:snychronization;asynchronization;Ajax O 引 言 据规范 (如DC)的XML编码。由于SRU实现 了web

文档评论(0)

1亿VIP精品文档

相关文档