[1]胡章兵,左良利.时态 JSON 数据模型及查询语言处理[J].计算机技术与发展,2019,29(10):141-145.[doi:10. 3969 / j. issn. 1673-629X. 2019. 10. 028]
 HU Zhang-bing,ZUO Liang-li.Modeling Temporal Information with JSON and Query Language[J].,2019,29(10):141-145.[doi:10. 3969 / j. issn. 1673-629X. 2019. 10. 028]
点击复制

时态 JSON 数据模型及查询语言处理()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
29
期数:
2019年10期
页码:
141-145
栏目:
智能、算法、系统工程
出版日期:
2019-10-10

文章信息/Info

Title:
Modeling Temporal Information with JSON and Query Language
文章编号:
1673-629X(2019)10-0141-05
作者:
胡章兵左良利
南京航空航天大学 计算机科学与技术学院,江苏 南京 211106
Author(s):
HU Zhang-bingZUO Liang-li
School of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China
关键词:
时态 XML 模型时态 JSON 数据模型查询语言模式映射算法
Keywords:
temporal XML modeltemporal JSON data modelquery languageschemamapping algorithm
分类号:
TP311
DOI:
10. 3969 / j. issn. 1673-629X. 2019. 10. 028
摘要:
JSON 作为新一代的数据交换格式,因其轻量级,易解析,高效率等特点在数据交换领域变得越来越受欢迎。 但是,传统的 JSON 文档不能反映自身的历史演变进程,而同时又希望能够检索任意时间点的文档内容。 因此,能够反映文档内容随时间变化的时态模型变得十分必要和有价值。 由于 JSON 和 XML 的功能非常类似,并且时态 XML 已经得到了众多学者的广泛研究,因此通过借鉴时态 XML 的研究成果可以为时态 JSON 研究工作提供很多帮助和启示。 通过在非时态 JSON模型中加入时间属性,提出时态 JSON 数据模型。 该时态模型记录了 JSON 文档元素随时间变化的历史数据,再对非时态查询语言进行时态扩展支撑,就可以得到在任意时间点的文档快照,检索出查询语句的结果。 最后,给出了模型的模式定义和时态模型到时态文档的映射算法。
Abstract:
As a new generation of data exchange format,JSON is becoming more and more popular in the field of data exchange because of its lightweight,easy to parse and high efficiency. However,traditional JSON document cannot reflect their own historical evolution, while at the same time hope to retrieve the document content at any point in time. As a result,a temporal model that reflects changes in document content over time becomes necessary and valuable. Because JSON and XML have extreme similar functions,and temporal XML has been widely studied by many scholars,it can provide a lot of help and inspiration for the study of temporal JSON by referring to the research results of temporal XML. A temporal JSON data model is proposed by adding temporal attributes to the non-temporal JSON model. It records the historical data of JSON document elements varying with time,then supports the temporal expansion of the non-temporal query language to obtain a snapshot of the document at any point in time and retrieve the results of query statement. Finally,the schema definition of the model and the mapping algorithm from temporal model to temporal document are given.
更新日期/Last Update: 2019-10-10