基于Linux的激光射击系统的研究与实现

Dengyou Wang, Shunxiang Wu, W. Guo
{"title":"基于Linux的激光射击系统的研究与实现","authors":"Dengyou Wang, Shunxiang Wu, W. Guo","doi":"10.1109/ICCSE.2017.8085542","DOIUrl":null,"url":null,"abstract":"Laser shooting will gradually replace the traditional live fire shooting as the main shooting training method, this paper discusses the Linux environment based on laser shooting system server-side software design ideas and implementation of the program. The software uses a multithreaded architecture, the use of message queues as a tool for communication between threads. Based on the V4L2 standard-driven USB camera to capture images, the introduction of third-party open source library OpenCV processing images, custom network data transfer protocol, the use of JSON string as a message carrier, server and client communicate through the socket interface based on the TCP protocol. This paper discusses in detail the communication between threads and synchronous access to shared resource methods.","PeriodicalId":256055,"journal":{"name":"2017 12th International Conference on Computer Science and Education (ICCSE)","volume":"54 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Research and implementation of laser shooting system based on Linux\",\"authors\":\"Dengyou Wang, Shunxiang Wu, W. Guo\",\"doi\":\"10.1109/ICCSE.2017.8085542\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Laser shooting will gradually replace the traditional live fire shooting as the main shooting training method, this paper discusses the Linux environment based on laser shooting system server-side software design ideas and implementation of the program. The software uses a multithreaded architecture, the use of message queues as a tool for communication between threads. Based on the V4L2 standard-driven USB camera to capture images, the introduction of third-party open source library OpenCV processing images, custom network data transfer protocol, the use of JSON string as a message carrier, server and client communicate through the socket interface based on the TCP protocol. This paper discusses in detail the communication between threads and synchronous access to shared resource methods.\",\"PeriodicalId\":256055,\"journal\":{\"name\":\"2017 12th International Conference on Computer Science and Education (ICCSE)\",\"volume\":\"54 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2017 12th International Conference on Computer Science and Education (ICCSE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCSE.2017.8085542\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 12th International Conference on Computer Science and Education (ICCSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSE.2017.8085542","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

激光射击将逐渐取代传统实弹射击作为射击训练的主要方式,本文论述了基于Linux环境的激光射击系统服务器端软件的设计思路和实现方案。该软件采用多线程架构,使用消息队列作为线程间通信的工具。基于V4L2标准驱动的USB摄像头采集图像,引入第三方开源库OpenCV处理图像,自定义网络数据传输协议,使用JSON字符串作为消息载体,服务器端和客户端通过基于TCP协议的套接字接口进行通信。本文详细讨论了线程间通信和对共享资源方法的同步访问。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Research and implementation of laser shooting system based on Linux
Laser shooting will gradually replace the traditional live fire shooting as the main shooting training method, this paper discusses the Linux environment based on laser shooting system server-side software design ideas and implementation of the program. The software uses a multithreaded architecture, the use of message queues as a tool for communication between threads. Based on the V4L2 standard-driven USB camera to capture images, the introduction of third-party open source library OpenCV processing images, custom network data transfer protocol, the use of JSON string as a message carrier, server and client communicate through the socket interface based on the TCP protocol. This paper discusses in detail the communication between threads and synchronous access to shared resource methods.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信