基于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协议的套接字接口进行通信。本文详细讨论了线程间通信和对共享资源方法的同步访问。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
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
期刊最新文献
A unified approach to automate the usage of plagiarism detection tools in programming courses Software verification of Orion cockpit displays Wine quality identification based on data mining research A comparison of inertial-based navigation algorithms for a low-cost indoor mobile robot A HCI design for developing touch-operation-based DGS: What you think is what you get
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1