Method and system for optimizing DDS (Direct Digital Synthesizer) data processing rate and medium
The invention relates to a method and system for optimizing the DDS data processing rate and a medium, and relates to the technical field of intelligent automobile communication, and the method comprises the steps: designing a structure completion rule according to a DDS deserialization mode, and en...
Gespeichert in:
1. Verfasser: | |
---|---|
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 relates to a method and system for optimizing the DDS data processing rate and a medium, and relates to the technical field of intelligent automobile communication, and the method comprises the steps: designing a structure completion rule according to a DDS deserialization mode, and enabling the memory offset of a completed DDS to be the same as the memory offset; based on the structure completion rule, filling the message; and dynamically checking whether each data type meets a memory alignment requirement or not, and directly copying binary data into a corresponding memory for the data type meeting the memory alignment. According to the invention, the efficiency of deserializing the data after the DDS subscriber receives the information is improved, the communication time delay is reduced, and the method is compatible with the DDS standard.
本发明涉及一种优化DDS数据处理速率的方法、系统及介质,涉及智能汽车通信技术领域,所述方法包括根据DDS反序列化的方式,设计结构补齐规则,使得补齐后的DDS内存偏移与内存偏移相同;基于所述结构补齐规则,对消息进行填充;动态检查每个数据类型是否符合内存对齐要求,对满足内存对齐的数据类型采用直接复制二进制数据到相 |
---|