摘要
近年来,旅游业发展迅速,旅行社提供给旅客的服务也日趋完善,旅行社预定管理系统应运而生。旅行社要想在竞争激烈的环境中脱颖而出,就需要为旅客提供更好的服务,而好的服务离不开好的管理。事务保证了数据库的一致性,线程作为系统运行的组成部分,与事务的运行存在相似性。本文将事务作为一个线程运行,提出了适合内存数据库的事务模型及状态图,并设计了一个分布式旅行管理系统事务管理器。
In recent years, with the rapid development of tourism, the services provided by travel agencies to passengers are becoming more and more perfect, and the travel agency reservation management system came into being. If travel agencies want to stand out in the highly competitive environment, they need to provide better services for passengers, and good service is inseparable from good management. Transaction ensures the consistency of database. As a part of system operation, thread is similar to transaction operation. In this paper, the transaction is run as a thread, the transaction model and state diagram suitable for memory database are proposed, and a transaction manager of distributed travel management system is designed.
作者
邢春芳
XING Chunfang(Library of Guilin University of Electronic Technology,Guilin Guangxi 541000,China)
出处
《信息与电脑》
2021年第19期168-170,共3页
Information & Computer