METHOD AND APPARATUS FOR TRANSMITTING A MESSAGE

    公开(公告)号:US20180052783A1

    公开(公告)日:2018-02-22

    申请号:US15410680

    申请日:2017-01-19

    Abstract: The present application discloses a method and an apparatus for transmitting a message. The method of an embodiment comprises: dividing a shared memory area allocated by an operating system into a plurality of memory blocks for storing messages having different priorities; dividing each memory block in the plurality of memory blocks into at least one memory unit having a successive serial number; determining, from the plurality of memory blocks according to a priority of a to-be-transmitted message, a target memory block for storing the to-be-transmitted message; and writing the to-be-transmitted message into a memory unit of the target memory block. This embodiment implements message transmission based on priorities of the messages, and improves the control security of an intelligent control system.

    Data storage method and apparatus
    12.
    发明授权

    公开(公告)号: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.

    DATA STORAGE METHOD AND APPARATUS
    17.
    发明申请

    公开(公告)号:US20180074729A1

    公开(公告)日:2018-03-15

    申请号:US15410953

    申请日:2017-01-20

    CPC classification number: G06F3/0619 G06F3/0631 G06F3/065 G06F3/067

    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.

Patent Agency Ranking