中圖分類號(hào):TD672 文獻(xiàn)標(biāo)志碼:A DOI: 10.16157/j.issn.0258-7998.234698 中文引用格式: 王磊,黃晴,尚偉棟,等. 面向微服務(wù)架構(gòu)的煤礦生產(chǎn)監(jiān)控?cái)?shù)據(jù)采集系統(tǒng)設(shè)計(jì)[J]. 電子技術(shù)應(yīng)用,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
數(shù)據(jù)采集問(wèn)題是推動(dòng)煤炭行業(yè)智能化的關(guān)鍵環(huán)節(jié),眾多學(xué)者和企業(yè)對(duì)此開(kāi)展了研究與實(shí)踐。賀耀宜[6]等提出采用OID編碼技術(shù)實(shí)現(xiàn)煤礦設(shè)備的對(duì)象標(biāo)志方案,實(shí)現(xiàn)設(shè)備統(tǒng)一數(shù)據(jù)編碼;采用主備方式采集設(shè)備數(shù)據(jù),主鏈路正常時(shí),備鏈路僅保持連接而不傳數(shù)據(jù),同時(shí)對(duì)路由協(xié)議進(jìn)行優(yōu)化,實(shí)現(xiàn)路由自發(fā)現(xiàn)和故障自恢復(fù),從而保證鏈路的穩(wěn)定可靠。孟光偉[7]提出了數(shù)據(jù)采集平臺(tái)提供統(tǒng)一的SDK,讓?xiě)?yīng)用通過(guò)SDK編碼獲取采集數(shù)據(jù)進(jìn)行可視化。李國(guó)民等[8]提出將協(xié)議封裝為驅(qū)動(dòng)動(dòng)態(tài)鏈接庫(kù)(Dynamic Link Library,DLL),通過(guò)采用單體進(jìn)程開(kāi)辟多線程加載適配協(xié)議驅(qū)動(dòng)的方式實(shí)現(xiàn)各業(yè)務(wù)系統(tǒng)的數(shù)據(jù)采集。杜毅博等[9]提出自己的設(shè)備編碼規(guī)則,便于后期處理過(guò)程中的數(shù)據(jù)關(guān)聯(lián)分析;提出應(yīng)用基于面向服務(wù)架構(gòu)(SOA),調(diào)用Restful和RPC協(xié)議,研發(fā)定制化數(shù)據(jù)報(bào)表系統(tǒng)實(shí)現(xiàn)應(yīng)用界面與業(yè)務(wù)邏輯的數(shù)據(jù)快速展示。