arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1604.02377cs.DB
收藏

一种新的复杂信息通信理论和一种突破性的对象数据库更新声明方法

A New Communication Theory on Complex Information and a Groundbreaking New Declarative Method to Update Object Databases

Heikki Virkkunen

摘要:

在这篇文章中,我介绍了一种新的通信理论,复杂的信息表示为一个有向图的节点。此外,我还介绍了该理论的一个应用,即一种新的激进方法embed,可用于以声明方式更新对象数据库。嵌入式方法是对象数据库更新的一次革命。一次嵌入式方法调用可以代替传统对象数据库客户端程序中几十行复杂的更新代码,这是一个巨大的进步。作为一种声明式方法,embed方法只需要一个自然参数,即运行时内存中修改后的对象结构的根对象,这使得它非常容易使用。embed方法背后的通信理论指出,修改后的复杂信息表示为节点的有向图,总是可以以准确和有意义的方式传输回其原始系统。该理论还可以有其他的应用,因为今天的信息通常具有网络或有向图的结构,并且它经常演变或维护。嵌入方法应用通信理论,通过将对象数据库和运行时内存中的修改的对象结构建模为节点的有向图,而没有任何人为的限制。例如,允许不同种类的循环子结构及其修改。对象数据库中的持久性是通过持久根对象的可达性以一种众所周知且被接受的方式定义的。如果在更新操作期间出现垃圾对象,embed方法还将从对象数据库中删除垃圾对象的结构,使数据库保持一致状态。嵌入方法应用引用计数技术。它理解对象数据库的局部拓扑,避免检查数据库中不相关的对象。由于这些原因,嵌入方法是有效的,它可以扩展到不同大小的数据库。

英文摘要:

In this article I introduce a new communication theory for complex information represented as a direct graph of nodes. In addition, I introduce an application for the theory, a new radical method, embed, that can be used to update object databases declaratively. The embed method revolutionizes updating of object databases. One embed method call can replace dozens of lines of complicated updating code in a traditional client program of an object database, which is a huge improvement. As a declarative method the embed method takes only one natural parameter, the root object of a modified object structure in the run-time memory, which makes it extremely easy to use.The communication theory behind the embed method states that modified complex information represented as a directed graph of nodes can always be transferred back to its original system in an exact and meaningful way. The theory can also have additional applications since today information often has a network or directed graph like structure and it often evolves or it is maintained. The embed method applies the communication theory by modeling the object database and a modified object structure in the run-time memory as directed graphs of nodes without any artificial limitations. For example, different kinds of circular substructures and their modifications are allowed. Persistence in the object database is defined in a well known and accepted way, by reachability from persistent root objects. The embed method also removes structures of garbage objects from the object database if any appear during the update operation, leaving the database in a consistent state. The embed method applies reference counting techniques. It understands local topology of the object database, avoiding examining unrelated objects in the database. For these reasons, the embed method is efficient and it scales for databases of different sizes.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑