摘要
文档管理包括数据库中文档对象的管理和实体文件的管理。由于数据库文档对象和实体文件对象不在同一个事务作用域中,造成文档对象属性不能和实体文件状态保持一致。提出一种统一分布式事务模型,将对数据库中文档对象和实体文件的管理纳入到同一事务作用域中,解决了文档对象属性和实体文件状态不一致的问题。另外,就文件上传和文件删除两种应用场景给出了具体的解决方案。实践证明,所提出的模型可以满足一致性要求,具备较好的实用性。
Document management consists of management of document objects in database and management of physical files. Due to different transaction domain of document object in database and physical files, the consistency of status of files and the attribute of document object could not be ensured. This paper proposes a uniform distributed transaction model, which puts document object in database and physical files into the same transaction domain, and fixes the non-consistency problem. In addition, the detailed solution about the situation of file upload and file delete is proposed. It is proved that the model proposed complies with demand of consistency and has good functionality.
作者
鲁立
Lu Li(Wuhan KM Information Technology Inc.,Hubei Wuhan,430074,China)
出处
《机械设计与制造工程》
2022年第12期108-111,共4页
Machine Design and Manufacturing Engineering
基金
国家重点研发计划项目(2019YFB1704300)。
关键词
文档管理
分布式系统
事务
一致性
document management
distributed system
transaction
consistency