摘要
深入分析了关系模型的特点及其在层次结构建模上的不足以及可扩展标记语言的内在特性、建模手段。提出将XML与树状控件、关系数据库相结合,以方便地保持数据的层次结构和次序语义,并对层次结构数据和关系数据进行无缝管理,同时具备强大的表现功能。给出了该解决方案的存储层、中间层和表现层三层框架结构及其核心构件,和在半结构化的武器交互毁伤结果建模上的应用实例。认为应用XML进行层次结构建模具有特殊的优势,可有效弥补关系数据库的不足。
The relational model is only adept at the modeling of a fraction of the world's data,for several good reasons.On the contrary,the eXtensible Markup Language(XML) is suitable to model hierarchy with its superior characteristics.An in-depth analysis about XML's features and its information-modeling methods,i.e.,Document Type Definition and XML Schema was performed.Furthermore,in a bid to preserve the hierarchy and sequence semantics which data own in real world and manage the hierarchical data and the relational data seamlessly,and a 3-tied solution was proposed,which comprised storage layer,middle layer and representation layer and incorporates XML with the relational database and the tree control.The solution makes full use of the mainstream COTS components,such as MSXML,ADO and MFC,and provides developers with powerful representation functions as well.Its framework and kernel component were given,and a practical example,the modeling of the semi-structured interaction results,was given to further exemplify our ideas.After all,it concludes that there is great advantage to model hierarchy with XML and XML complements well with the relational model regarding hierarchy modeling.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2009年第6期1511-1514,共4页
Journal of System Simulation
基金
国家"十一五"国防预研基金(513040102)