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.

    REMOTE CONTROL METHOD, ELECTRONIC DEVICE, CAB, CLOUD SERVER AND AUTONOMOUS VEHICLE

    公开(公告)号:US20210341917A1

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

    申请号:US17373859

    申请日:2021-07-13

    Abstract: A remote control method, an electronic device, a cab, a cloud server and an autonomous vehicle are provided. The method includes: receiving first remote control request information sent by a cloud, the first remote control request information is sent by the cloud after receiving second remote control request information sent by the vehicle to the cloud; sending a control parameter synchronization signal of a cab to the cloud such that the cloud sends the control parameter synchronization signal to the vehicle, so that the vehicle synchronizes the control parameter with the cab; sending verification information for taking over vehicle control to the cloud to enable the cloud to switch on a control channel between the vehicle and the cab; and sending a control signal by the cab against the vehicle and receiving a response signal from the vehicle against the control signal through the control channel.

    Method and apparatus for transmitting a message

    公开(公告)号:US10817439B2

    公开(公告)日:2020-10-27

    申请号: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.

    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

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

    Method and apparatus for synchronizing data in a robot operating system

    公开(公告)号:US11126639B2

    公开(公告)日:2021-09-21

    申请号:US15409967

    申请日:2017-01-19

    Abstract: This present application discloses a method and apparatus for synchronizing data in a robot operating system. A specific implementation of the method includes: detecting an operation on data being transmitted between communication processes, wherein the operation includes at least one of updating the data, deleting the data, and storing the data; determining whether the data are persistent data, in response to positively detecting an operation on the data being transmitted between the communication processes; and transmitting a change message of the data to communication processes other than the communication processes in response to positively determining that the data are persistent data. In the embodiment, the persistent data may always remain consistent across the communication processes.

    Data transmission method and apparatus

    公开(公告)号:US09935651B1

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

    申请号:US15410642

    申请日:2017-01-19

    CPC classification number: H03M7/30 H03M7/14 H04N21/23

    Abstract: The present application discloses a data transmission method and apparatus. A specific implementation of the method includes: receiving to-be-transmitted data sent from an information sending end, and determining a sending coding type of the to-be-transmitted data; determining a receiving coding type of an information receiving end receiving the to-be-transmitted data; converting the to-be-transmitted data from the sending coding type to the receiving coding type using a preset transcoding model, to obtain transcoded transmission data, the transcoding model representing a corresponding relationship between the sending coding type and the receiving coding type; and sending the transcoded transmission data to the information receiving end. This implementation improves the data transmission efficiency.

Patent Agency Ranking