总第484期2023年第4期基于Kafka和JavaScript的城轨信号系统智能运维数据采集与处理方法谭力天,李靖兰,杨将(湖南中车时代通信信号有限公司,湖南长沙410005)摘要:在城市轨道交通(简称“城轨”)信号系统的传统运维过程中,运维数据采集和处理的效率较低、数据间缺乏关联性且及时性差。为了将城轨信号系统的各种专业运维数据转化为具有通用格式、可读性强且标准化的信息资源,从而为后续的数据分析和信息融合提供数据基础,文章提出一种采用Kafka数据采集和JavaScript(JS)脚本数据处理的方法。其首先通过Kafka系统集中采集不同信号专业的运维数据;然后,通过动态加载JS脚本文件,自动处理并存储所采集的运维数据;最后,以ZC、VOBC信号系统运维数据为例进行试验验证。结果显示,与人工数据采集和处理方式相比,该方法缩短了50%的处理时间,且处理结果与人工采集的相一致,证明了本文的数据采集和处理方法能够有效实现城轨智能运维系统数据的通用化、可读化和标准化。关键词:智能运维;信号系统;数据采集处理;城市轨道交通;Kafka数据采集中图分类号:U284.5文献标识码:A文章编号:2096−5427(2023)04−0105−06doi:10.13889/j.issn.2096−5427.2023.04.016AMethodofDataCollectionandProcessingforUrbanRailTransitIntelligentOperationandMaintenanceBasedonKafkaandJavaScriptTANLitian,LIJinglan,YANGJiang(HunanCRRCTimesSignal&CommunicationCo.,Ltd.,Changsha,Hunan410005,China)Abstract:Inthetraditionaloperationandmaintenanceprocessofurbanrailtransitsignalsystem,thecollectionandprocessingefficiencyofoperationandmaintenancedataislow.Thereisalsoalackofcorrelationamongdata,andthetimelinessispoor.Inordertotransformtheoperationandmaintenancedataofvariousprofessionsinurbanrailsignalsystemintostandardizedinformationresourceswithauniversalformatandgoodreadability,andprovideafoundationforsubsequentdataanalysisandinformationfusion,thepaperproposesamethodusingKafkadatacollectionandJSscriptdataprocessing.ItcollectsoperationandmaintenancedataofdifferentprofessionsinsignalingthroughtheKafkasystem,andthenautomaticallyprocessesandstoresthecollecteddatabyloadingJavaScript(JS)filesdynamically.TheZCandVOBCsignalsystemoperationandmaintenancedataareusedasexamplesforverificat...