METHOD AND DEVICE FOR STORING DATA
    1.
    发明申请

    公开(公告)号:US20190179748A1

    公开(公告)日:2019-06-13

    申请号:US16134423

    申请日:2018-09-18

    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.

    METHOD AND APPARATUS FOR TRAVERSING GRAPH DATABASE

    公开(公告)号:US20210216373A1

    公开(公告)日:2021-07-15

    申请号:US17076400

    申请日:2020-10-21

    Abstract: The present disclosure discloses a methods for traversing a graph database, a related device and a related storage medium A graph traversal statement is obtained. At least two operators contained in the graph traversal statement and an execution order of the at least two operators are determined. A thread is allocated to each operator. A buffer queue is created for each two adjacent operators. For each two adjacent operators, an operation of a former operator is executed by a thread corresponding to the former operator of the two adjacent operators. The execution result of the former operator is written to the buffer queue corresponding to the two adjacent operators. From the buffer queue, the execution result of the former operator of the two adjacent operators is read in parallel by a thread corresponding to a latter operator of the two adjacent operators, to execute an operation of the latter operator.

Patent Agency Ranking