摘要
针对企业信息系统中查询处理时间较长、响应较慢等问题,提出了一种基于Agent和XML技术的查询优化算法。首先每个用户根据自己的工作任务和计划定制查询任务,然后将所有用户的任务放入一个任务池,接着通过任务调度算法逐个执行每个定制任务,最后存储执行结果。当用户需要这些数据时,直接取出缓存的结果返回给用户。实验证明,该方法大大节约了用户提交查询后的等待时间,提高了用户的工作效率。
With an aim at the problems of longer time query processing and slow response in the enterprise information system, this paper suggests a kind of querying optimization algorithm based on Agent and XML. To begin with, every user customizes the query tasks according to his or her jobs and plans; In the second place, the tasks of all the users are put into a task pool, and then, every customized task should be executed one by one via the task scheduling algorithm, and finally, the executed results are stored. The results stored are taken out and returned to the users when needed. The experiments proved that this method might greatly reduce the response time after submission and furthermore improve the user's working efficiency.
出处
《西安理工大学学报》
CAS
2007年第3期310-313,共4页
Journal of Xi'an University of Technology
基金
陕西省自然科学基金资助项目(2005F05)
西安市信息技术专项资助项目(ZX06030)