首页> 外国专利> Mechanism and method for accessing data in a shared memory

Mechanism and method for accessing data in a shared memory

机译:用于访问共享存储器中的数据的机制和方法

摘要

In a shared memory data are allocated into topics 32, accessible through respective constant addresses. A number of buffers 36 is allocated to each topic, the number being equal to that of clients 40 accessing the topic plus two for each server 50. The clients and servers have active access pointers 42, 52 which are directed to the buffers by an active access pointer director 38 based on the transaction request. Director 38 identifies the buffer 58 containing the most recent data and directs newly communicating clients 40 to them. Server read/write transactions are directed to a further buffer 70 where the most recent data are copied. Most recent data is only guaranteed at the time of transaction. Zero-copy operations, whereby data is accessed without copying at operating system level, uses machine assembly language transactions only ensuring that the most recent data is lock free. Topics include airspeed, waypoints, flight plans.
机译:在共享内存中,数据被分配到主题32中,可以通过相应的常量地址进行访问。缓冲区36的数量被分配给每个主题,该数量等于访问该主题的客户端40的数量加上每个服务器50的两个数量。客户端和服务器具有活动的访问指针42、52,它们由活动的指针指向缓冲区。基于交易请求访问指针导向器38。控制器38识别包含最新数据的缓冲器58,并将新通信的客户端40定向到它们。服务器读/写事务被引导到另一缓冲器70,在该缓冲器中复制了最新数据。仅在交易时保证最新数据。零复制操作(无需在操作系统级别进行复制即可访问数据)使用机器汇编语言事务来确保最新数据是无锁的。主题包括空速,航点,飞行计划。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号