摘要
跨库检索系统SRU接口,需要同时检索多个数据库。但是,每个数据库检索的快慢程度不同,原来是应用同步技术实现的,当全部数据库检索完毕,才能显示检索结果。用户通常需要等8秒左右,才能显示检索结果,等待时间较长。文中对检索过程进行了改进,采用Ajax技术,通过应用异步技术实现检索过程,当有一个数据库检索完成后,就显示检索结果。用户只需要等待3秒左右,就能显示检索结果。文中论述了检索、显示结果异步处理的问题,并且给出了解决问题的办法。现在,跨库检索系统的SRU检索,检索结果显示正确,运行状态稳定,得到了使用者的好评。
The metasearch system SRU interface to simultaneously search multiple databases. However,each database,different levels of speed of retrieval,the original is to apply synchronous technology,when all the database search is completed,to display the search results.The users usually have to wait 8 seconds or so,to display the search results,waiting for a long time.In this paper,the retrieval process has been improved,using Ajax technology,through the application of asynchronous technology to achieve the retrieval process,when a database search is complete,it displays search results.Users only need to wait for 3 seconds or so,can show search results.Discuss the problems for retrieval and display asynchronous processing result,and give the solution to the problem.At present,for metasearch system SRU interface,search results display correctly,running status is stable,so it has obtained user's praise.
出处
《计算机技术与发展》
2010年第10期203-206,210,共5页
Computer Technology and Development
关键词
同步
异步
AJAX
synchronization
asynchronization
Ajax