Method, electronic device, and storage medium for expanding data

    公开(公告)号:US12165072B2

    公开(公告)日:2024-12-10

    申请号:US17213952

    申请日:2021-03-26

    Abstract: A method, apparatus, device, and storage medium for expanding data are disclosed. The method includes: acquiring a triplet from a knowledge graph; mining a relationship path equivalent to a relationship in the triplet from the knowledge graph, a subject in the triplet being used as a start point of the relationship path, and an object in the triplet being used as an end point of the relationship path; and expanding the triplet based on the relationship path to generate an expanded triplet. This implementation expands the triplet in the knowledge graph, and strengthens the association between the subject and the object in the triplet in a larger context, such that the association between the subject and the object in the triplet is more global.

    METHOD, ELECTRONIC DEVICE, AND STORAGE MEDIUM FOR EXPANDING DATA

    公开(公告)号:US20210216885A1

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

    申请号:US17213952

    申请日:2021-03-26

    Abstract: A method, apparatus, device, and storage medium for expanding data are disclosed. The method includes: acquiring a triplet from a knowledge graph; mining a relationship path equivalent to a relationship in the triplet from the knowledge graph, a subject in the triplet being used as a start point of the relationship path, and an object in the triplet being used as an end point of the relationship path; and expanding the triplet based on the relationship path to generate an expanded triplet. This implementation expands the triplet in the knowledge graph, and strengthens the association between the subject and the object in the triplet in a larger context, such that the association between the subject and the object in the triplet is more global.

    Data transmission method and system for transmitting data between processes using shared memory block indexes

    公开(公告)号:US10423542B2

    公开(公告)日:2019-09-24

    申请号:US15281261

    申请日:2016-09-30

    Abstract: A method and a system for transmitting data are disclosed. A method embodiment comprises: acquiring a most recent shared memory block index of a shared memory segment by a data receiver, the shared memory segment being used by a data transmitter and the data receiver to transmit data; deciding whether the most recent shared memory block index is consistent with a shared memory block index corresponding to data recently read by the data receiver; and determining, according to the decision, whether to read the data in the shared memory block corresponding to the most recent shared memory block index, where the determining includes reading the data in the shared memory block corresponding to the most recent shared memory block index when the decision indicates that the most recent shared memory block index is inconsistent with the shared memory block index corresponding to the data recently read by the data receiver.

    Data transmission method and system

    公开(公告)号:US10152277B2

    公开(公告)日:2018-12-11

    申请号:US15281268

    申请日:2016-09-30

    Abstract: The present application discloses a data transmission method and system. A specific embodiment of the method includes: receiving a data transmission-instruction by a data sender, wherein the data transmission-instruction includes a thematic name indicative of a type of to-be-transmitted data required by a data receiver; creating a shared memory segment corresponding to the thematic name. It makes possible for the data sender and the data receiver to run in a separate memory space. When data is needed to be transmitted, a corresponding shared memory segment may be created for data transmission in accordance with any transmitting requirement, and the shared memory segment may be released when the transmission is done or appears abnormal. On one hand, it reduces the redundant operations of the data transmission system during data transmission, and improves the data transmission performance; on the other hand, the data transmitting procedure between the data sender and the data receiver, and other operations executed by the data sender or the data receiver are independent of each other, which improves the stability of the data transmission system.

    Data storage method and apparatus

    公开(公告)号:US10969971B2

    公开(公告)日:2021-04-06

    申请号:US15410953

    申请日:2017-01-20

    Abstract: The present application discloses a data storage method and apparatus. A specific implementation of the method includes: acquiring to-be-serialized data and a description file related to the to-be-serialized data, wherein the to-be-serialized data includes a data name and a data value, and the description file includes a file identifier and at least one data element, the data element includes at least one data item, and the data item includes a data item name and a data type; allocating a memory space to the data item according to the data type; finding, according to a preset matching relationship between the to-be-serialized data and the data item, a data item matched with the to-be-serialized data; and storing the data value into the memory space of the found data item as a data item value of the found data item. This implementation improves the data storage efficiency.

    Method and apparatus for transmitting information

    公开(公告)号:US10133688B2

    公开(公告)日:2018-11-20

    申请号:US15409930

    申请日:2017-01-19

    Abstract: The present application discloses a method and an apparatus for transmitting information. A specific implementation of the method includes: sending first information to be transmitted to a shared memory; traversing memory groups in the shared memory, and acquiring a first memory unit suitable for the amount of the first information, each of the memory groups including at least one memory unit, each of memory units in the memory group having an identical size, and the memory units in different memory groups having different sizes; and storing the first information into the acquired first memory unit, so that the first information is read from the first memory unit by a receiving node. Through this implementation, the first information that needs to be transmitted is stored into the memory unit suitable for the amount of the first information, thereby saving memory resources.

Patent Agency Ranking