中圖分類號:TD672 文獻標志碼:A DOI: 10.16157/j.issn.0258-7998.234698 中文引用格式: 王磊,黃晴,尚偉棟,等. 面向微服務架構的煤礦生產監控數據采集系統設計[J]. 電子技術應用,2023,49(12):31-37. 英文引用格式: Wang Lei,Huang Qing,Shang Weidong,et al. Design of coal mine production monitoring data collection system based on microservice architecture[J]. Application of Electronic Technique,2023,49(12):31-37.
Design of coal mine production monitoring data collection system based on microservice architecture
Wang Lei1,Huang Qing2,3,Shang Weidong1,Chang Yanhui1,Zhang Xiaoxia2,3
1.Shanxi Tiandi Wangpo Coal Mining Co..Ltd.,Jincheng048016,China;2.Research Institute of Mine Big Data, Chinese Institute of Coal Science, Beijing100000, China;3.Tiandi Science and Technology Co., Ltd., Beijing100000, China
Abstract: Aiming at the problems existing in the current coal mine monitoring data acquisition system, such as inconsistent data coding standards, poor single system operation reliability, data visualization tools that do not support the Web mode and the host cannot be switched intelligently, based on the industrial internet platform technology system, the front and rear end separation and Restful API interface access technologies are used to integrate Internet open source reports and other components, Research and design a microservices oriented coal mine production monitoring data acquisition system, introduce the existing problems of the current coal mine monitoring data acquisition system, complete the architecture design of the microservices oriented coal mine monitoring data acquisition system, and specifically elaborate the key technologies such as data unified standardization, single channel acquisition microservices processing, data service status monitoring and data and information visualization components. The coal mine production monitoring data acquisition system has been verified in Shanxi Tiandi Wangpo Coal Mine. The application results show that the data model is designed according to the unified standard specifications, and the coal mine production monitoring data acquisition and monitoring are realized through the deployment and operation of data acquisition, data service, visualization and other application microservices, which provides important data support and basic support for other applications in the coal mine. At the same time, the operation mode of microservices improves the operation and maintenance efficiency of coal mine system maintenance personnel.
Key words : micro service;industrial internet platform;single system;Restful API;front and rear end separation
數據采集問題是推動煤炭行業智能化的關鍵環節,眾多學者和企業對此開展了研究與實踐。賀耀宜[6]等提出采用OID編碼技術實現煤礦設備的對象標志方案,實現設備統一數據編碼;采用主備方式采集設備數據,主鏈路正常時,備鏈路僅保持連接而不傳數據,同時對路由協議進行優化,實現路由自發現和故障自恢復,從而保證鏈路的穩定可靠。孟光偉[7]提出了數據采集平臺提供統一的SDK,讓應用通過SDK編碼獲取采集數據進行可視化。李國民等[8]提出將協議封裝為驅動動態鏈接庫(Dynamic Link Library,DLL),通過采用單體進程開辟多線程加載適配協議驅動的方式實現各業務系統的數據采集。杜毅博等[9]提出自己的設備編碼規則,便于后期處理過程中的數據關聯分析;提出應用基于面向服務架構(SOA),調用Restful和RPC協議,研發定制化數據報表系統實現應用界面與業務邏輯的數據快速展示。