img

QQ群聊

img

官方微信

高级检索

黄金科学技术 ›› 2021, Vol. 29 ›› Issue (5): 719-728.doi: 10.11872/j.issn.1005-2518.2021.05.193

• 采选技术与矿山管理 • 上一篇    下一篇

基于JSON的数字采矿协同技术研究及应用

谭正华1,2(),李国泰1(),文阳1   

  1. 1.湘潭大学计算机学院·网络空间安全学院,湖南 湘潭 411105
    2.中南大学数字矿山研究中心,湖南 长沙 410083
  • 收稿日期:2020-11-05 修回日期:2020-12-27 出版日期:2021-10-31 发布日期:2021-12-17
  • 通讯作者: 李国泰 E-mail:33539318@qq.com;1647993240@qq.com
  • 作者简介:谭正华(1981-),男,湖南邵阳人,讲师,博士,从事数字矿山理论与技术研究工作。33539318@qq.com

Research and Application of Digital Mining Collaborative Technology Based on JSON

Zhenghua TAN1,2(),Guotai LI1(),Yang WEN1   

  1. 1.School of Computer Science & School of Cyberspace Security,Xiangtan University,Xiangtan 411105,Hunan,China
    2.Research Center of Digital Mine,Central South University,Changsha 410083,Hunan,China
  • Received:2020-11-05 Revised:2020-12-27 Online:2021-10-31 Published:2021-12-17
  • Contact: Guotai LI E-mail:33539318@qq.com;1647993240@qq.com

摘要:

针对矿山业务软件数据格式繁多,缺乏统一数据标准,业务流程多次流转后产生海量异构数据造成数据难以管理的问题,提出了一种基于JSON的数字采矿协同技术。首先对采集的矿山数据进行分类,并采用轻量级的JSON格式对分类后的矿山业务数据进行标准化处理。然后采用微服务架构的分布式思想,依据明确的矿山业务边界将整个数字采矿协同平台的业务功能模块划分为独立的服务模块。由于微服务的特性,可以根据不同的业务服务设计单独的数据库存储信息,并基于Spring Cloud框架管理协同平台中各独立业务服务和数据库,实现数据跨业务式互联互通,最后将其应用于新疆阿舍勒铜矿。结果表明:该方法充分利用JSON数据格式与微服务架构的特点,解决了矿山信息孤岛、信息断层等问题,减少了数据调用及管理时间,提高了矿山各业务跨部门、跨学科协作的能力与工作效率。

关键词: 数字采矿协同技术, JSON, 数据标准化, 微服务架构, Spring Cloud框架, 阿舍勒铜矿

Abstract:

Building a mine mining full life cycle business management platform with standardized business data and standardized workflows is the focus of current digital mine research.The platform can provide a unified digital operating environment for mine production technology and management,and the business datas is automatically flowed on the same platform in strict accordance with the work process,realizing efficient collaboration and data interconnection among business departments throughout the mine life cycle.For the data generated by the mining geology,surveying,mining and businesses on the platform which have multiple sources,heterogeneity and mass,each business software has its own proprietary data format causes lack a unified data standard and the business process is not smooth enough.This article propose a digital mining collaboration technology based on JSON.Firstly,classify the collected mine datas,and compare the data format with XML and JSON.The JSON format data occupies a smaller space,having a more concise data structure and a faster analysis speed.Therefore,the light-weight JSON format is used to standardize the classified mining business data.By comparing the traditional architecture with the microservice architecture,it can be seen that the microservice architecture is a distributed mode that combines componentization and serviceization.It can divides the overall module into smaller business services according to business boundaries and flexibly deploy corresponding databases according to different business services.By comparing with the four mainstream Spring Cloud,gPRC,Dubbo,and Motan microservice frameworks,it can be seen that Spring Cloud is a resource angle splits the whole.It sets a specific uniform resource identifier microservice framework for each split module.This framework provides a full set of functions for building a mine microservice system,also it’s deploys mine business quickly and conveniently and simple to operate.Therefore,the distributed idea of ??microservice architecture was adopted.The mining business boundaries were divided into independent service modules,each independent service deploys a separate database to store the corresponding business data,managing each independent business of the collaborative platform based on the Spring Cloud framework service and database.Finally,the technology was applyed to the Ashele copper mine in Xinjiang.The results show that the method adopts data standardization combined with microservices makes full use of the advantages of JSON data format and Spring Cloud microservice architecture.The method solves the problems of mine information islands and information faults,reduces the time for data calling and management,improves the ability and work efficiency of cross-departmental and cross-disciplinary collaboration of various businesses of the mine,and realizes the sustainable hige-efficient and economic production of the mine.

Key words: digital mining collaboration technology, JSON, data standardization, microservice architecture, Spring Cloud framework, Ashele copper mine

中图分类号: 

  • TD852

表1

基础数据经JSON和XML标准化处理对比"

标准化处理的影响因素XMLJSON
存储空间大小/Mb2.421.22
传输数据时间/s21
解析数据时间/s72.2
查询数据时间/s10.4
可读性

图1

基础数据标准化流程图"

图2

基础数据标准化示例图"

表2

4种微服务框架的关键技术比较"

微服务框架Spring CloudgPRCDubboMotan
注册中心Netflix EurekaZookeeper/Consul/EtcdZookeeper/Redis/MulticastZookeeper/Consul
服务网关Netflix ZuulgRPC Gateway
服务通信同步/异步调用同步/异步调用同步/异步调用同步/异步调用
负载均衡Netflix RibbonNginx/Apache /HAProxyLVS /HAProxy/NginxCluster
容错机制Netflix HystrixFailoverFailover/Failfast/Failsafe /Failback /Forking/BroadcastFailover/Failfast

图3

数字采矿协同平台管理端"

图4

数字采矿协同平台业务软件端"

图5

数字采矿协同平台架构"

图6

数字采矿协同流程图"

图7

阿舍勒铜矿后台管理端"

图8

阿舍勒铜矿待办业务图"

Bi Lin,Wang Jinmiao,2019.Digital mine construction goals,tasks and methods [J].Metal Mine,48(6):148-156.
Chen Y,2011.A conceptual framework for a BIM-based collaboration platform supported by mobile computing[J].Applied Mechanics and Materials,94/95/96:2144-2148.
Guo Zhiyuan,Wei Yinzhen,2019.Design and application of service invocation based on Spring Cloud[J].Information Technology and Network Security,38(2):87-91.
Han Xiaobing,Tian Feng,2009.Research on integration of heterogeneous data in digital mines[J].Coal Science and Te-chnology,37(3):87-89.
Hu Jianjun,Liu Enwei,2012.Building green mines to promote sustainable development of mining industry[J].China Mining Magazine,21(Supp.1):60-61,87.
Lei Guocai,2018.Prospecting engineering technology and safety production design[J].World Nonferrous Metals,(9):170,172.
Liu Kainan,Dong Lihong,2007.Heterogeneous data sharing of mining information[J].Journal of Xi’an University of Science and Technology,27(2):178-181.
Lu J J,Wang X L,Ma L,al et,2008.Informationization of coal enterprises and digital mine[J].Journal of Coal Science and Engineering(China),14(3):512-516.
Lu Xinming,Yin Hong,2010.Definition connotation and progress of digital mine[J].Coal Science and Technology,38(1):48-52.
Ma Xiong,2017.System Design and Development Based on Microservice Architecture [D].Nanjing:Nanjing University of Posts and Telecommunications.
Singh V,Gu N,Wang X Y,2011.A theoretical framework of a BIM-based multi-disciplinary collaboration platform[J].Automation in Construction,20:134-144.
Sun Shuqiong,2017.Research on Heterogeneous Data Integration Based on JSON[D].Kunming:Yunnan University.
Sun Xiaoyu,Zhang Weiguo,Yang Hongxian,2012.System application integration and data sharing method in digital mine construction[J].Metal Mine,41(7):123-125,129.
Tan Zhenghua,2010.Research on the Key Technologies of Mining Design and Production Planning Under Three-Dimensional Visualization Environment[D].Changsha:Central South University.
Volk R,Stengel J,Schultmann F,2014.Building Information Modeling (BIM) for existing buildings—Literature review and future needs[J].Automation in Construction,38:109-127.
Wang J M,Bi L,Wang L G,al et,2019.A mining technology collaboration platform theory and its product development and application to support China’s digital mine construction[J].Applied Science,9:5373.DOI:10.3392/app9245373.
doi: 10.3392/app9245373
Wang Ru,Song Hantao,2002.XML document structure definition specification—XMLSchema[J].Computer Application Research,(1):127-129.
Wang Yonghe,Zhang Jinsong,Deng Anming,al et,2016.Research and application of SpringBoot[J].Information Communication,10:91-94.
Wu Qiang,Xu Hua,2013.Three-dimensional geological modeling and its application in digital mine[J].Science China(Earth Sciences),43(12):1996-2006.
Xie Jihui,Bai Xiaoying,Chen Bin,al et,2007. A review of enterprise service bus research[J].Computer Science,34(11):13-18.
Yang Chao,2017.Research and Implementation of Cluster Server Based on Distributed Service Framework Dubbo[D].Beijing:Beijing University of Posts and Telecommunications.
Yu Can,Li Feng,Zhang Dabing,al et,2015.Geological modeling and reserves calculation of Honglongchang copper deposit based on DIMINE[J].Metal Mine,44(2):108-112.
Yu Runcang,Liu Cheng,Zhu Ruijun,al et,2018.Mine information model—The development direction of mining informatization[J].China Mining Engineering,47(5):1-3,13.
Zhao Zhijuan,Chen Huiying,2015.Research on 3D visualization system of coal mine based on SOA[J].Coal Technology,34(4):316-318.
Zhou Yan,2014.Regulatory System of Mine Land Reclamation on Life Cycle and the Informatization[D].Beijing:China University of Geosciences(Beijing).
Zhou Zhiyong,Chen Jianhong,Tang Qiwang,al et,2013.Three-dimensional space digitization and projection transformation algorithm of roadway geological cataloging[J].Surveying and Mapping Science,38(3):128-130.
毕林,王晋淼,2019.数字矿山建设目标、任务与方法[J].金属矿山,48(6):148-156.
郭致远,魏银珍,2019.基于Spring Cloud服务调用的设计与应用[J].信息技术与网络安全,38(2):87-91.
韩晓冰,田丰,2009.数字化矿山中异构数据集成研究[J].煤炭科学技术,37(3):87-89.
胡建军,刘恩伟,2012.建设绿色矿山促进采矿业可持续发展[J].中国矿业,21(增1):60-61,87.
雷国才,2018.探矿工程技术和安全生产设计[J].世界有色金属,(9):170,172.
刘开南,董立红,2007.矿业信息异构数据的共享[J].西安科技大学学报,27(2):178-181.
卢新明,尹红,2010.数字矿山的定义、内涵与进展[J].煤炭科学技术,38(1):48-52.
马雄,2017.基于微服务架构的系统设计与开发[D].南京:南京邮电大学.
孙书琼,2017.基于JSON的异构数据集成的研究[D].昆明:云南大学.
孙效玉,张维国,杨宏贤,2012.数字矿山建设中的系统应用集成与数据共享方法[J].金属矿山,41(7):123-125,129.
谭正华,2010.三维可视化环境下采矿设计与生产规划关键技术研究[D].长沙:中南大学.
王茹,宋瀚涛,2002.XML文档结构定义规范—XML Schema[J].计算机应用研究,(1):127-129.
王永和,张劲松,邓安明,等,2016.Spring Boot研究和应用[J].信息通信,10:91-94.
武强,徐华,2013.数字矿山中三维地质建模方法与应用[J].中国科学(地球科学),43(12):1996-2006.
谢继晖,白晓颖,陈斌,等,2007.企业服务总线研究综述[J].计算机科学,34(11):13-18.
杨超,2017.基于分布式服务框架Dubbo的集群式服务器的研究与实现[D].北京:北京邮电大学.
余璨,李峰,张达兵,等,2015.基于DIMINE的红龙厂铜矿床地质建模与储量计算[J].金属矿山,44(2):108-112.
于润沧,刘诚,朱瑞军,等,2018.矿山信息模型——矿业信息化的发展方向[J].中国矿山工程,47(5):1-3,13.
赵志娟,陈惠英,2015.基于SOA的煤矿三维可视化系统研究[J].煤炭技术,34(4):316-318.
周妍,2014.矿山土地复垦全生命周期监管体系及信息化研究[D].北京:中国地质大学(北京).
周智勇,陈建宏,汤其旺,等,2013.巷道地质编录三维空间数字化及投影变换算法[J].测绘科学,38(3):128-130.
[1] 陈鑫,高峰,谢雄辉,毛杜,马天义. 矿山生产技术协同平台研发与应用[J]. 黄金科学技术, 2021, 29(3): 449-456.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!