Zero-copy-based DDS (Direct Digital Synthesizer) communication method and system
The invention discloses a DDS communication method and system based on zero copy, and relates to the technical field of automatic driving communication, and the method comprises the steps: initializing the communication configuration of a DDS; storing the data in a shared memory to obtain storage po...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a DDS communication method and system based on zero copy, and relates to the technical field of automatic driving communication, and the method comprises the steps: initializing the communication configuration of a DDS; storing the data in a shared memory to obtain storage pointer information of the data; sending the storage pointer information to a write-in cache region, and performing data encapsulation to obtain a message type pointer; storing the message type pointer to a write-in buffer area; the write-in buffer area sends the message type pointer to a shared memory; sending the message type pointer in the shared memory to a reading buffer area; the message type pointer in the reading buffer area is unpacked, and storage pointer information is obtained; obtaining position information of the data in the shared memory through the storage pointer information; and the data reader reads the data stored at the position corresponding to the position information in the shared memory. Zero |
---|