Efficient socket-based data transmission method and implementation in deep learning

IF 0.7 4区 地球科学 Q4 GEOCHEMISTRY & GEOPHYSICS Applied Geophysics Pub Date : 2024-06-05 DOI:10.1007/s11770-024-1090-y
Xin-Jian Wei, Shu-Ping Li, Wu-Yang Yang, Xiang-Yang Zhang, Hai-Shan Li, Xin Xu, Nan Wang, Zhanbao Fu
{"title":"Efficient socket-based data transmission method and implementation in deep learning","authors":"Xin-Jian Wei, Shu-Ping Li, Wu-Yang Yang, Xiang-Yang Zhang, Hai-Shan Li, Xin Xu, Nan Wang, Zhanbao Fu","doi":"10.1007/s11770-024-1090-y","DOIUrl":null,"url":null,"abstract":"<p>The deep learning algorithm, which has been increasingly applied in the field of petroleum geophysical prospecting, has achieved good results in improving efficiency and accuracy based on test applications. To play a greater role in actual production, these algorithm modules must be integrated into software systems and used more often in actual production projects. Deep learning frameworks, such as TensorFlow and PyTorch, basically take Python as the core architecture, while the application program mainly uses Java, C#, and other programming languages. During integration, the seismic data read by the Java and C# data interfaces must be transferred to the Python main program module. The data exchange methods between Java, C#, and Python include shared memory, shared directory, and so on. However, these methods have the disadvantages of low transmission efficiency and unsuitability for asynchronous networks. Considering the large volume of seismic data and the need for network support for deep learning, this paper proposes a method of transmitting seismic data based on Socket. By maximizing Socket’s cross-network and efficient longdistance transmission, this approach solves the problem of inefficient transmission of underlying data while integrating the deep learning algorithm module into a software system. Furthermore, the actual production application shows that this method effectively solves the shortage of data transmission in shared memory, shared directory, and other modes while simultaneously improving the transmission efficiency of massive seismic data across modules at the bottom of the software.</p>","PeriodicalId":55500,"journal":{"name":"Applied Geophysics","volume":null,"pages":null},"PeriodicalIF":0.7000,"publicationDate":"2024-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Geophysics","FirstCategoryId":"89","ListUrlMain":"https://doi.org/10.1007/s11770-024-1090-y","RegionNum":4,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"GEOCHEMISTRY & GEOPHYSICS","Score":null,"Total":0}
引用次数: 0

Abstract

The deep learning algorithm, which has been increasingly applied in the field of petroleum geophysical prospecting, has achieved good results in improving efficiency and accuracy based on test applications. To play a greater role in actual production, these algorithm modules must be integrated into software systems and used more often in actual production projects. Deep learning frameworks, such as TensorFlow and PyTorch, basically take Python as the core architecture, while the application program mainly uses Java, C#, and other programming languages. During integration, the seismic data read by the Java and C# data interfaces must be transferred to the Python main program module. The data exchange methods between Java, C#, and Python include shared memory, shared directory, and so on. However, these methods have the disadvantages of low transmission efficiency and unsuitability for asynchronous networks. Considering the large volume of seismic data and the need for network support for deep learning, this paper proposes a method of transmitting seismic data based on Socket. By maximizing Socket’s cross-network and efficient longdistance transmission, this approach solves the problem of inefficient transmission of underlying data while integrating the deep learning algorithm module into a software system. Furthermore, the actual production application shows that this method effectively solves the shortage of data transmission in shared memory, shared directory, and other modes while simultaneously improving the transmission efficiency of massive seismic data across modules at the bottom of the software.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于套接字的高效数据传输方法及其在深度学习中的应用
深度学习算法在石油地球物理勘探领域的应用越来越广泛,在提高效率和精度方面,基于试验应用的深度学习算法取得了良好的效果。为了在实际生产中发挥更大的作用,必须将这些算法模块集成到软件系统中,并在实际生产项目中更多地使用。TensorFlow 和 PyTorch 等深度学习框架基本以 Python 为核心架构,应用程序设计主要使用 Java、C# 等编程语言。在集成过程中,必须将 Java 和 C# 数据接口读取的地震数据传输到 Python 主程序模块。Java、C# 和 Python 之间的数据交换方法包括共享内存、共享目录等。但这些方法存在传输效率低、不适合异步网络等缺点。考虑到地震数据量大,深度学习需要网络支持,本文提出了一种基于 Socket 的地震数据传输方法。该方法通过最大限度地发挥 Socket 的跨网络和高效长距离传输特性,在将深度学习算法模块集成到软件系统中的同时,解决了底层数据传输效率低下的问题。此外,实际生产应用表明,该方法有效解决了共享内存、共享目录等模式下数据传输的不足,同时提高了海量地震数据在软件底层模块间的传输效率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Applied Geophysics
Applied Geophysics 地学-地球化学与地球物理
CiteScore
1.50
自引率
14.30%
发文量
912
审稿时长
2 months
期刊介绍: The journal is designed to provide an academic realm for a broad blend of academic and industry papers to promote rapid communication and exchange of ideas between Chinese and world-wide geophysicists. The publication covers the applications of geoscience, geophysics, and related disciplines in the fields of energy, resources, environment, disaster, engineering, information, military, and surveying.
期刊最新文献
Earthquake detection probabilities and completeness magnitude in the northern margin of the Ordos Block Multi-well wavelet-synchronized inversion based on particle swarm optimization Low-Frequency Sweep Design—A Case Study in Middle East Desert Environments Research on Paleoearthquake and Recurrence Characteristics of Strong Earthquakes in Active Faults of Mainland China Capacity matching and optimization of solar-ground source heat pump coupling systems
×
引用
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