-
公开(公告)号:US20190179748A1
公开(公告)日:2019-06-13
申请号:US16134423
申请日:2018-09-18
Inventor: Yang WANG , Xunchao SONG , Pengcheng YUAN , Xiaobo LIU , Xi CHEN
IPC: G06F12/06
Abstract: A method and an apparatus for storing data are provided. The method includes: acquiring target data, the target data including first key-value pair data, object data or array data, the key-value pair data including key data and value data, the object data including second key-value pair data, and the array data including object data; determining an object data number of the object data included in the target data, an array data number of the array data included in the target data, a first key-value pair data number of the first key-value pair data included in the target data, and a second key-value pair data number of the second key-value pair data included in the target data; determining a storage space based on the determined numbers; and storing the target data into the storage space.
-
2.
公开(公告)号:US20200050632A1
公开(公告)日:2020-02-13
申请号:US16531686
申请日:2019-08-05
Inventor: Ye ZHANG , Ying ZHU , Xuefei CUI , Xiaobo LIU , Chengyuan ZHAO
IPC: G06F16/901 , G06F9/451 , G06F16/23
Abstract: Embodiments of the present disclosure provide a method and an apparatus for generating a knowledge graph, a device, and a computer readable storage medium. The method includes: establishing a graph database based on a set of entities and relationships among the entities in given content; receiving a graph query for the given content from a user; and generating, based on the graph database, a knowledge graph of the given content by using a predefined formatted layout, the knowledge graph having a network structure.
-
公开(公告)号:US20190205439A1
公开(公告)日:2019-07-04
申请号:US16161968
申请日:2018-10-16
Inventor: Yang WANG , Xi CHEN , Pengcheng YUAN , Xunchao SONG , Xiaobo LIU
CPC classification number: G06F16/2272 , G06F3/0604 , G06F3/0644 , G06F3/0674 , G06F16/284
Abstract: The present disclosure provides a method for updating a relational index, a storage medium and an electronic device. The method includes: reading out relational data of an entity to be operated from a disk to a memory; performing an updating operation on the relational data in the memory; storing the updated relational data into a memory relational index; writing content data of the entity to be operated into the disk; and synchronizing periodically the memory relational index to a disk relational index.
-
-