摘 要:培养方案管理系统提升了人才培养方案修订工作的质量和效率,然而,该系统在使用过程中也暴露出了专业间课程独立修改与数据规范化设计难以两全、高并发环境下数据容易出现不一致、共享课程导致某一专业培养方案定稿困难等一系列问题。文章引入了“写入时复制”(Copy-on-Write)技术,增加了专业锁、学期锁、课程锁等逻辑锁,利用两阶段锁协议等技术对培养方案管理系统进行重构,保证了系统的稳定高效运行,为此类数据库系统并发一致性问题提供了解决方案。
关键词:培养方案管理系统;写时复制;数据库设计
DOI:10.19850/j.cnki.2096-4706.2023.07.005
基金项目:华北理工大学校级教改重点建设项目(ZJ2037)
中图分类号:TP311 文献标识码:A 文章编号:2096-4706(2023)07-0020-05
Design of Training Protocol Management System Logic Locking Scheme Based on “Copy-on-Write”
LYU Zhenyu, CONG He, ZHANG Di
(North China University of Science and Technology, Tangshan 063210, China)
Abstract: The Training protocol management system improves the quality and efficiency of talent training protocol revision work, however, the system in the process of use also exposes a series of problems such as professional course independent modification and data standardization design is difficult to both, high concurrency environment data prone to inconsistent, sharing courses lead to a professional training protocol finalized difficulties and so on. This paper introduces the technology of “Copy-on-Write”, adds logic locks such as professional lock, semester lock and course lock, and uses the two-stage lock protocol and other technologies to reconstruct the training protocol management system. It ensures the stable and efficient operation of the system, and provides a solution for the concurrent consistency problem of such database system.
Keywords: training protocol management system; copy-on-write; database design
参考文献:
[1] 曹宇新 .“强基计划”人才培养模式的高校政策再制定研究——基于 36 所试点高校“强基计划”培养方案的文本分析 [J].教育理论与实践,2022,42(3):3-7.
[2] 刘云 .“数据库原理与应用”课程思政教学设计与实践探索 [J]. 现代商贸工业,2022,43(12):140-141.
[3] 孙群,温伯威,陈欣 . 多源地理空间数据一致性处理研究进展 [J]. 测绘学报,2022,51(7):1561-1574.
[4] 姜文,刘立康 .Oracle 数据库死锁问题研究 [J]. 计算机技术与发展,2014,24(3):97-101.
[5] 苏学斌 . 基于聚类的数据库事务并发控制算法研究 [D].哈尔滨:哈尔滨工业大学,2020.
作者简介:吕震宇(1976—),男,汉族,山东安丘人,教授,硕士,研究方向:信息管理与信息系统、数据分析与挖掘;丛贺(1992—),男,汉族,内蒙古赤峰人,硕士在读,研究方向:数据库并发一致性控制;张迪(1999—),女,汉族,河北沧州人,本科,研究方向:计算机软件、信息管理。