当前位置:网站首页>[DDS] ddsi-rtps specification
[DDS] ddsi-rtps specification
2022-06-12 10:03:00 【Lindo】
DDS DDSI-RTPS standard
background
- DDSI-RTPS: Full name “Real-time Publish Subscribe Protocol DDS Interoperability Wire Protocol”, It is DDS Wire-protocol. yes DDS Implement interoperability ( Standardization ) agreement .( It will be DDSI-RTPS, Referred to as RTPS)
- About DDS, Reference resources :
【DDS】DDS And OpenDDS - there Wire Protocol refer to ? He is referring to a transmission mechanism .
A wire protocol is the mechanism for transmitting data from point a to point b.
- This article focuses on :RTPS Specification , The structure of data interaction ( It can be roughly understood as network topology )
- RTPS And the specific transmission mode used ( Such as UDP/IP) irrelevant , It defines a set for DDS The design of the “wire protocol”. It defines a set of PIM Model .DDS According to this model , Carry out specific implementation .PIM Modules include :
- Structure Module:RTPS How entities represent
- Message Module:RTPS The message used indicates
- Behavior Module: How to interact with messages , What messages are exchanged
- Discovery Module: How to find between endpoints

- How to ensure reliable transmission ?
- Reliability does not depend on specific implementation (TCP or UDP)
- RTPS The reliability specification is defined
Data interaction
- I'm just going to focus on DDS(DDSI-RTPS) Network topology of . That is, the part of data interaction .
- DDS The interaction of entity data can be simply summarized into two parts :
- Discovery between endpoints : Include Participain Discover And Endpoint Discovery
- Between the ends ( Matched ) To transmit data : RTPS Writer And RTPS Reader The data transfer

Discover
- Discover Include :Participaint Discover and EndPoint(Writer/Reader) Discover
Participaint Discover
- Every Participant Contains built-in ParticipiantDataWriter And ParticipiantDataReader, as well as PariticipaintData(Topic), according to DDSI-RTPS The provisions of the ,Simple Participant Discovery Protocol( all DDS What the implementer must achieve Pariticipanit Discovery standard ) Use the built-in Writer/Reade/Topic Realization Discovery.
- How to achieve Participaint Discovery?Participant Use ParticipiantDataWriter towards LocatorList( predefined ) Send a message to the address in ( regular ). Tell yourself that you are Active state .
- LocatorList:Unicast( Specify or automatically configure )+Multicast ( Specified by the concrete implementation )

EndPoint Discovery
- Participaint Discover After the Endpoint Discovery, In exchange for Endpoint Information
- Every Endpoint Contains built-in PubWriter/Reader、SubWriter/Reader And the corresponding built-in theme (topic). according to DDSI-RTPS The provisions of the , Simple Endpoint Discovery Protocol( all DDS What the implementer must achieve Pariticipanit Discovery standard ) Use the built-in Writer/Reade/Topic Realization Discovery.
- EndPoint towards LocatorList(unicast and multicast) Send a message
Transport
- after Discovery after ,Writer And Reader Match each other . It can transmit data ( Subscribe to the Topic).
- The general process of data transmission is :
- DataWriter add to CacheChange To HistoryCache in ( Local cache )
- DataWriter take CacheChange Send it to the appropriate DataReader Of HistoryChace( Local cache )
- HistoryCache(Reader) notice Reader There are new ones CacheChange.
- Reader Reading data .

RTPS Two implementation reference models of the proposed entity :
Stateless Reference Implementation
- characteristic :
no state on remote entities
improved scalability
less memory
more bandwidht usage
Stateful Reference Implementation
- characteristic :
maintains full state on remote entities
reduced scalability
more memory
minimizes bandwidth usage
Depending on how much state is maintained, implementations may be a combination of the reference implementations.
Global data space
- About DDS The global data space is understood as follows :
- By existing in different physical locations HistoryCache Constructed global data space
- Logically unified , Physically distributed

Reference material
DDS series
【DDS】DDS And OpenDDS
【DDS】DDS-RPC Communication mechanism
【DDS】 be based on OpenDDS Of DDS-RPC Realization
边栏推荐
- 7-5 zhe zhe playing games
- Using C language code to realize factory LCD RGB test program
- 【clickhouse专栏】基础数据类型说明
- C#入门系列(十二) -- 字符串
- 《第五项修炼》读书笔记
- True north reading notes
- 7-13 underground maze exploration (adjacency table)
- Web3.0与数字时尚,该如何落地?
- SAP Hana error message sys_ XSA authentication failed SQLSTATE - 28000
- MySQL III Configuration file & log file
猜你喜欢

MySQL 4 Database table storage structure & tablespace

Web3.0与数字时尚,该如何落地?

How to do industry analysis

基于 Ceph 对象存储的实战兵法

Introduction to on-line circuit simulation and open source electronic hardware design

High quality and good books help guide apes and recommend "good summer books" with the four major publishers

Li Yang, a scientific and technological innovator and CIO of the world's top 500 group: the success of digital transformation depends on people. Decision makers should always focus on "firewood"

基于SSM实现水果商城批发平台

SAP Hana error message sys_ XSA authentication failed SQLSTATE - 28000

【926. 将字符串翻转到单调递增】
随机推荐
gnu-efi开发环境设置
FPGA VGA display based on de2-115 platform
Introduction to applet
行业分析怎么做
2021-02-12
002: what are the characteristics of the data lake
MySQL优化之慢日志查询
MySQL index FAQs
Strange error -- frame detected by contour detection, expansion corrosion, and reversal of opening and closing operation effect
Japanese economic foam and house price foam
【ParquetEncodingException: empty fields are illegal, the field should be ommited completely instead
Quickly build oncyber io
5种最常见的CEPH失败方案
Auto. JS learning note 4: after autojs is packaged, most Huawei and other big brand mobile phones cannot be installed? This problem can be solved by using the simulator to remotely sign and package in
7-4 network red dot punch in strategy (DFS)
1268_FreeRTOS任务上下文切换的实现
Enumerate all USB device codes
MySQL v Index and algorithm
Auto. JS learning notes 8: some common and important APIs
List of computer startup shortcut keys