首页 | 官方网站   微博 | 高级检索  
     

基于内存映射文件的进程间数据传输
引用本文:段继华,段继东.基于内存映射文件的进程间数据传输[J].无线电工程,2007,37(11):46-47,51.
作者姓名:段继华  段继东
作者单位:1. 中国电子科技集团公司第五十四研究所,河北,石家庄,050081
2. 唐山市人民政府,河北,唐山,063000
摘    要:介绍了Windows操作系统的内存管理方式及Windows操作系统中进程间通信的几种方式,论述了内存映射文件的定义,以及使用内存映射文件在进程间共享内存的原理、操作和使用内存映射文件的方法和步骤。根据内存映射文件在进程间共享数据的原理,实现了多进程间数据传输共享的消息队列,并应用于工程实践中,取得了较好的效果。

关 键 词:进程间数据传输  内存映射文件  虚拟地址空间  消息队列
文章编号:1003-3106(2007)11-0046-02
修稿时间:2007-03-02

Inter-process Data Transmission Based on Memory-mapped File
DUAN Ji-hua,DUAN Ji-dong.Inter-process Data Transmission Based on Memory-mapped File[J].Radio Engineering of China,2007,37(11):46-47,51.
Authors:DUAN Ji-hua  DUAN Ji-dong
Affiliation:1. The 54 th Research Institute of CETC , Shijiazhuang Hebei 050081, China; 2. Tangshan Uunieipal Government, Tangshan Hebei 06300, China
Abstract:First, this paper introduces the memory management mode and inter-process communication mode in Windows operating system, and then introduees the definition of memory-mapped file, the prineiple of using it to share memory between proeesses, as well as its operation method and proeedure. Finally, aeeording to the theory of memory-mapped file sharing data between proeesses, the message queue sharing data transmission between proeesses is realized and applied in the engineering praetiee, whieh is quite effeetive.
Keywords:inter-proeess data transmission  memory-mapped file  virtual address spaee  message queue
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号