Patent9 专利在线
高级搜索 ▼
申请号或专利号
公开号
专利名称
专利摘要
申请人
发明人
全部专利
发明专利
实用新型专利
外观设计专利
高级搜索 - 多字段组合检索
+ 增加条件
查询语句:
(请输入搜索条件)
普通搜索
当前查询到
3
条专利与查询词 "
Zhou Gangping
"相关,搜索用时0.2500882秒!
排序方式:
按相关度排序
按申请日升序↑
按申请日降序↓
按公开日升序↑
按公开日降序↓
发明专利:
1
实用新型:
2
外观设计:
0
共
1
条,当前第
1-1
条
返回搜索页
1:
[发明]
【中文】一种基于关系型数据库数据生成图数据的方法和装置 【EN】Method and device for generating mapping data based on relational database data
申请号:
201911284276.6
公开号:CN111125265A 主分类号:G06F16/28
申请人:
【中文】四川蜀天梦图数据科技有限公司【EN】SICHUAN SHUTIAN MENGTU DATA TECHNOLOGY Co.,Ltd.
申请日:2019.12.13 公开日:2020.05.08
发明人:
【中文】金世钰
;
周帆
;
周港平【EN】Jin Shiyu
;
Zhou Fan
;
Zhou Gangping
摘要:【中文】本发明涉及数据库技术领域,提供了一种基于关系型数据库数据生成图数据的方法和装置。方法包括加载关系型数据库到内存中,作为原始数据;确定原始数据的图数据目标类型;其中,所述图数据包括节点、关系、节点属性和关系属性;构建图数据目标类型的数据结构,并将原始数据填充到所述图数据目标类型的数据结构中。本发明提供的技术为使用链表将关系连接起来,也就是链表中的节点是属于该顶点的关系,并且在每一个关系中都保存了对前向关系和后向关系的链接,使得关系的查询更加方便。另外,本发明中的属性和关系都采用ID标识,使得相同的属性可以采用ID引用的方式,减少重复创建相同的值,缩减空间利用。 【EN】The invention relates to the technical field of databases, and provides a method and a device for generating graph data based on relational database data. The method comprises the steps of loading a relational database into a memory as original data; determining a graph data target type of the original data; wherein the graph data comprises nodes, relationships, node attributes and relationship attributes; and constructing a data structure of a graph data object type, and filling the original data into the data structure of the graph data object type. The technology provided by the invention is that the linked list is used for connecting the relations, namely the nodes in the linked list belong to the relation of the vertex, and the links of the forward relation and the backward relation are stored in each relation, so that the inquiry of the relation is more convenient. In addition, the attributes and the relations in the invention are identified by the ID, so that the same attribute can be referenced by the ID, repeated creation of the same value is reduced, and space utilization is reduced.
详细信息
下载全文
共
1
条,当前第
1-1
条
返回搜索页