作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (20): 80-82. doi: 10.3969/j.issn.1000-3428.2010.20.028

• 软件技术与数据库 • 上一篇    下一篇

基于元数据的通用数据维护框架设计

李晓航,胡晓鹏   

  1. (西南交通大学信息科学与技术学院,成都 610031)
  • 出版日期:2010-10-20 发布日期:2010-10-18
  • 作者简介:李晓航(1973-),男,讲师、硕士,主研方向:数据维护自动化,软件工程,信息安全;胡晓鹏,副教授、硕士
  • 基金资助:
    西南交通大学学位与研究生教育科学研究基金资助项目(2009YY03)

Design of Uniform Data Maintenance Framework Based on Metadata

LI Xiao-hang, HU Xiao-peng   

  1. (School of Information Science and Technology, Southwest Jiaotong University, Chengdu 610031, China)
  • Online:2010-10-20 Published:2010-10-18

摘要: 针对数据维护程序代码重复、对需求变化适应性差等问题,提出一种以数据库表的元数据为核心的通用数据维护框架。该元数据模型能描述表之间的一般关系和基于面向对象的继承关系。框架实现了数据操纵SQL语句和数据维护程序界面的自动生成,并能自适应表结构的变化。实际应用验证了该框架的可行性和高效性。

关键词: 数据维护, 元数据, 虚表

Abstract: To mitigate the duplicate codes and improve the adaptability of data maintenance program in database applications, a data maintenance framework based on metadata is proposed. The metadata model can describe the relationship of tables and the inheritance of the tables in object-oriented paradigm. Implementation of the framework including data manipulation SQL statement retrieval, data maintenance user interface generation and adaptability to the table structure alternation is discussed. Practical applications validate the feasibility of the framework.

Key words: data maintenance, metadata, virtual table

中图分类号: