[go: up one dir, main page]

CN115118754B - Remote monitoring and testing system and monitoring and testing method for electric vehicles - Google Patents

Remote monitoring and testing system and monitoring and testing method for electric vehicles Download PDF

Info

Publication number
CN115118754B
CN115118754B CN202211036485.0A CN202211036485A CN115118754B CN 115118754 B CN115118754 B CN 115118754B CN 202211036485 A CN202211036485 A CN 202211036485A CN 115118754 B CN115118754 B CN 115118754B
Authority
CN
China
Prior art keywords
data
test
preset
test data
analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211036485.0A
Other languages
Chinese (zh)
Other versions
CN115118754A (en
Inventor
于洋
郑天雷
张凯明
窦汝鹏
邓程鹏
孙文军
曹冬冬
郝维健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Technology and Research Center Co Ltd
Original Assignee
China Automotive Technology and Research Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Automotive Technology and Research Center Co Ltd filed Critical China Automotive Technology and Research Center Co Ltd
Priority to CN202211036485.0A priority Critical patent/CN115118754B/en
Publication of CN115118754A publication Critical patent/CN115118754A/en
Application granted granted Critical
Publication of CN115118754B publication Critical patent/CN115118754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0816Indicating performance data, e.g. occurrence of a malfunction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

本发明涉及电动汽车领域,公开了一种针对电动汽车的远程监控测试系统和监控测试方法。该系统包括:数据采集服务,用于获取电动汽车的测试数据,并对所述测试数据进行筛选;数据解析服务,用于对数据进行解析;定时任务服务,用于对预设检测条目进行周期性统计;数据推送服务,用于将测试数据以及对应的解析结果推送至前端进行展示;系统应用服务,用于对数据进行多维度分析;流媒体服务,用于获取并存储所述电动汽车关联的视频数据。实现了针对电动汽车进行远程监控与检测的目的,提高了监控检测效率和监控检测精度,节约了人力成本。

Figure 202211036485

The invention relates to the field of electric vehicles, and discloses a remote monitoring and testing system and a monitoring and testing method for electric vehicles. The system includes: data acquisition service, used to obtain test data of electric vehicles, and screen the test data; data analysis service, used to analyze the data; timing task service, used to periodically perform preset detection items performance statistics; data push service, used to push test data and corresponding analysis results to the front end for display; system application service, used for multi-dimensional analysis of data; streaming media service, used to obtain and store the electric vehicle related video data. The purpose of remote monitoring and detection for electric vehicles is realized, the efficiency and accuracy of monitoring and detection are improved, and labor costs are saved.

Figure 202211036485

Description

针对电动汽车的远程监控测试系统和监控测试方法Remote monitoring and testing system and monitoring and testing method for electric vehicles

技术领域technical field

本发明涉及电动汽车领域,尤其涉及一种针对电动汽车的远程监控测试系统和监控测试方法。The invention relates to the field of electric vehicles, in particular to a remote monitoring and testing system and a monitoring and testing method for electric vehicles.

背景技术Background technique

国家要求每辆电动车都需要按照GB/T32960《电动汽车远程服务与管理系统技术规范》要求把车辆的实时数据接入国家监管系统,以确保人民群众的生命财产安全。The state requires that every electric vehicle need to connect the real-time data of the vehicle to the national supervision system in accordance with the requirements of GB/T32960 "Technical Specifications for Remote Service and Management System of Electric Vehicles" to ensure the safety of people's lives and property.

有鉴于此,特提出本发明。In view of this, the present invention is proposed.

发明内容Contents of the invention

为了解决上述技术问题,本发明提供了一种针对电动汽车的远程监控测试系统和监控测试方法,实现了针对电动汽车进行远程监控与检测的目的,提高了监控效率和监控精度,节约了人力成本。In order to solve the above technical problems, the present invention provides a remote monitoring and testing system and monitoring and testing method for electric vehicles, which realizes the purpose of remote monitoring and testing for electric vehicles, improves monitoring efficiency and monitoring accuracy, and saves labor costs .

本发明实施例提供了一种针对电动汽车的远程监控测试系统,该系统包括:An embodiment of the present invention provides a remote monitoring and testing system for electric vehicles, the system includes:

数据采集服务,用于基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息;The data collection service is used to obtain the test data of the electric vehicle based on the wireless communication network, and to screen the test data. If it is determined that the test data meets the preset conditions, then write the test data into the message queue. If it is determined The test data does not meet the preset conditions, and an error message is fed back to the data sender associated with the electric vehicle;

数据解析服务,用于按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述测试数据以及对应的解析结果缓存至第二数据库;The data analysis service is used to analyze the data in the message queue according to the preset protocol rules, obtain the analysis results, store the data in the message queue and the corresponding analysis results in the first database, and at the same time store the data in the message queue recently acquired The obtained test data and corresponding parsing results are cached in the second database;

定时任务服务,用于基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎;The scheduled task service is used to perform periodic statistics on preset detection items based on the analysis results stored in the first database, obtain statistical results, and store the statistical results in a preset search engine;

数据推送服务,用于将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示;A data push service, configured to push the test data cached in the second database and the corresponding analysis results to the front end for display;

系统应用服务,用于根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示;The system application service is used to perform multi-dimensional analysis based on the test data cached in the second database, the corresponding analysis results and the statistical results stored in the preset search engine according to the current test items, and obtain the analysis results , and send the analysis results to the front end for display;

流媒体服务,用于获取并存储所述电动汽车关联的视频数据,并将所述视频数据发送至前端进行展示。The streaming media service is used to obtain and store the video data associated with the electric vehicle, and send the video data to the front end for display.

本发明实施例提供了针对电动汽车的远程监控测试方法,应用于上述远程监控测试系统,该方法包括:The embodiment of the present invention provides a remote monitoring and testing method for electric vehicles, which is applied to the above-mentioned remote monitoring and testing system. The method includes:

通过数据采集服务基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息;Obtain the test data of the electric vehicle based on the wireless communication network through the data collection service, and screen the test data, if it is determined that the test data meets the preset conditions, then write the test data into the message queue, if it is determined that the The test data does not meet the preset conditions, and an error message is fed back to the data sender associated with the electric vehicle;

通过数据解析服务按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述测试数据以及对应的解析结果缓存至第二数据库;Analyze the data in the message queue according to the preset protocol rules through the data analysis service, obtain the analysis result, store the data in the message queue and the corresponding analysis result in the first database, and store the recently acquired The test data and corresponding parsing results are cached in the second database;

通过定时任务服务基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎;performing periodic statistics on preset detection items based on the analysis results stored in the first database through the scheduled task service, obtaining statistical results, and storing the statistical results in a preset search engine;

通过数据推送服务将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示;Pushing the test data cached in the second database and the corresponding analysis results to the front end for display through a data push service;

通过系统应用服务根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示;performing multi-dimensional analysis based on the test data cached in the second database, the corresponding analysis results and the statistical results stored in the preset search engine according to the current test items through the system application service, to obtain the analysis results, and Send the analysis results to the front end for display;

通过流媒体服务获取所述电动汽车关联的视频数据,并将所述视频数据发送至预设服务器进行存储,以供前端对所述视频数据进行下载并展示。The video data associated with the electric vehicle is obtained through a streaming service, and the video data is sent to a preset server for storage, so that the front end can download and display the video data.

本发明实施例提供了一种电子设备,所述电子设备包括:An embodiment of the present invention provides an electronic device, and the electronic device includes:

处理器和存储器;processor and memory;

所述处理器通过调用所述存储器存储的程序或指令,用于执行任一实施例所述的一种针对电动汽车的远程监控测试方法的步骤。The processor is used to execute the steps of the remote monitoring and testing method for electric vehicles described in any embodiment by calling the programs or instructions stored in the memory.

本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储程序或指令,所述程序或指令使计算机执行任一实施例所述的针对电动汽车的远程监控测试方法的步骤。An embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores programs or instructions, and the programs or instructions cause the computer to execute the remote monitoring and testing method for electric vehicles described in any embodiment. step.

本发明实施例具有以下技术效果:Embodiments of the present invention have the following technical effects:

实现了针对电动汽车进行远程监控与检测的目的,提高了监控检测效率和监控检测精度,节约了人力成本。The purpose of remote monitoring and detection for electric vehicles is realized, the efficiency and accuracy of monitoring and detection are improved, and labor costs are saved.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.

图1是本发明实施例提供的一种针对电动汽车的远程监控测试系统的结构示意图;Fig. 1 is a schematic structural diagram of a remote monitoring and testing system for electric vehicles provided by an embodiment of the present invention;

图2是本发明实施例提供的一种针对电动汽车的远程监控测试方法的流程示意图;Fig. 2 is a schematic flow chart of a remote monitoring and testing method for electric vehicles provided by an embodiment of the present invention;

图3为本发明实施例提供的一种电子设备的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将对本发明的技术方案进行清楚、完整的描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施例,都属于本发明所保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

国家要求每辆电动车都需要按照GB/T32960《电动汽车远程服务与管理系统技术规范》要求把车辆的实时数据接入国家监管系统,以方便对电动车进行监控,从而保证人民群众的生命财产安全。鉴于此,本发明实施例提供一种针对电动汽车的远程监控测试系统,用于对电动汽车进行远程监控与检测。The state requires that every electric vehicle needs to connect the real-time data of the vehicle to the national supervision system in accordance with the requirements of GB/T32960 "Technical Specifications for Electric Vehicle Remote Service and Management System", so as to facilitate the monitoring of electric vehicles, so as to ensure the lives and property of the people Safety. In view of this, an embodiment of the present invention provides a remote monitoring and testing system for electric vehicles, which is used for remote monitoring and testing of electric vehicles.

图1是本发明实施例提供的一种针对电动汽车的远程监控测试系统的结构示意图。参见图1,该针对电动汽车的远程监控测试系统具体包括:数据采集服务110,用于基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息。其中,消息队列具体可以是kafka,kafka是由Apache软件基金会开发的一个开源流处理系统,是一种高吞吐量的分布式发布订阅消息系统。为了满足大量数据的实时处理需求,消息队列具体可以是kafka集群,即包括多个并列的kafka,以同时对更多的数据进行处理。同样的,数据采集服务110可以分别部署在多台服务器,即每台服务器上均部署有数据采集服务110,以实现同时对更多的数据进行采集。进一步的,在分别部署有数据采集服务110的多台服务器之前,还可以设置负载均衡器Nginx,以将大量数据平均分配到各部署有数据采集服务110的服务器,达到提高系统性能的目的。通过该负载均衡器能够较好地对数据进行分流,在提高吞吐量的同时保证了数据采集服务的高可用,负载均衡器Nginx的应用对实际报警检测项目提供很好的支撑,报警检测项目中不仅报警种类繁多,其中,新能源三电系统报警、安全报警等几十种复杂的工况,同时报警数据发送的频率远远高于正常测试的数据发送频率,同时需要对实时报文和补发报文进行同时接收。Fig. 1 is a schematic structural diagram of a remote monitoring and testing system for electric vehicles provided by an embodiment of the present invention. Referring to Fig. 1, the remote monitoring and testing system for electric vehicles specifically includes: data acquisition service 110, used to obtain test data of electric vehicles based on a wireless communication network, and screen the test data, if it is determined that the test data conforms to Preset conditions, then write the test data into the message queue, and if it is determined that the test data does not meet the preset conditions, feed back error prompt information to the data sender associated with the electric vehicle. Specifically, the message queue may be kafka, which is an open source stream processing system developed by the Apache Software Foundation, and is a high-throughput distributed publish-subscribe message system. In order to meet the real-time processing requirements of a large amount of data, the message queue can specifically be a kafka cluster, which includes multiple parallel kafkas to process more data at the same time. Similarly, the data collection service 110 can be deployed on multiple servers respectively, that is, each server is deployed with the data collection service 110, so as to collect more data at the same time. Further, before deploying multiple servers with data collection service 110, a load balancer Nginx can also be set up to evenly distribute a large amount of data to each server with data collection service 110, so as to improve system performance. Through the load balancer, the data can be well distributed, and the high availability of the data collection service can be ensured while improving the throughput. The application of the load balancer Nginx provides good support for the actual alarm detection project. Not only are there various types of alarms, among them, there are dozens of complex working conditions such as new energy three-electric system alarms and safety alarms. At the same time, the frequency of alarm data transmission is much higher than that of normal test data. At the same time, real-time messages and supplementary Send messages for simultaneous reception.

所述测试数据根据当前进行的测试项目以及测试标准(例如GB/T32960《电动汽车远程服务与管理系统技术规范》规定的测试标准)针对所述测试项目的规定确定。即测试项目不同,对应的所述测试数据不同。示例性的,测试项目根据GB/T32960《电动汽车远程服务与管理系统技术规范》的规定包括:登入登出测试、车辆行驶测试、车辆报警测试、车辆充电测试和车辆补发测试。The test data is determined according to the current test items and test standards (such as the test standards specified in GB/T32960 "Technical Specifications for Electric Vehicle Remote Service and Management System") for the test items. That is, different test items correspond to different test data. Exemplarily, the test items according to GB/T32960 "Technical Specifications for Electric Vehicle Remote Service and Management System" include: login and logout test, vehicle driving test, vehicle alarm test, vehicle charging test and vehicle reissue test.

示例性的,当所述测试项目为充电测试时,所述测试数据至少包括:驱动电机数据、车辆定位数据、充电储能装置的电压数据以及充电储能装置的温度数据。Exemplarily, when the test item is a charging test, the test data at least includes: driving motor data, vehicle positioning data, voltage data of the charging energy storage device, and temperature data of the charging energy storage device.

其中,数据采集服务获取到的测试数据可能存在质量或安全问题,因此需要对所述测试数据进行筛选,以将有问题的测试数据进行筛选过滤。示例性的,对所述测试数据进行筛选包括:Wherein, the test data acquired by the data collection service may have quality or safety problems, so the test data needs to be screened, so as to screen and filter problematic test data. Exemplarily, screening the test data includes:

确定所述测试数据是否是符合预设格式的报文数据;Determine whether the test data is message data conforming to a preset format;

确定所述测试数据是否是包括预设字段的报文数据,其中预设字段可以是用于指示当前进行的测试项目的标识信息;确定所述测试数据是否是按照异或校验法组装校验码的报文数据,其中,按照异或校验法组装校验码通常是由采用的通信协议确定的;若所述测试数据是符合预设格式的报文数据且是包括预设字段的报文数据且是按照异或校验法组装校验码的报文数据,则确定所述测试数据符合预设条件;若所述测试数据不是符合预设格式的报文数据或者不是包括预设字段的报文数据或者不是按照异或校验法组装校验码的报文数据,则确定所述测试数据不符合预设条件。Determine whether the test data is message data including a preset field, wherein the preset field may be identification information for indicating a currently-conducted test item; determine whether the test data is assembled and verified according to an exclusive OR check method code message data, wherein, according to the XOR check method assembly check code is usually determined by the communication protocol adopted; if the test data is message data conforming to the preset format and includes text data and is the message data assembled with the check code according to the XOR check method, then it is determined that the test data meets the preset condition; if the test data is not the message data of the preset format or does not include the preset field or the message data that is not assembled with the check code according to the XOR check method, it is determined that the test data does not meet the preset condition.

参见图1,该针对电动汽车的远程监控测试系统还包括:数据解析服务120,用于按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述测试数据以及对应的解析结果缓存至第二数据库。其中,数据解析服务具体可以是流处理程序SparkStreaming,具有集成性好和数据吞吐量大的优点,较符合远程监控测试系统数据量大,频发高的工况,通过Spark Streaming持续消费kafKa消息队列中的数据报文,然后按照系统协议进行解析,将原始数据报文转化成类对象形式的数据存至第一数据库--HBase集群中。Hbase是一个开源的非关系型分布式数据库,具有实时读写、随机访问超大规模数据集的特点,较适合本实施例的远程监控测试系统,不仅可以准确的对每条报文进行分段处理展示,同时还可以对报文进行准确的解析,使得相关人员可以直观明了读取报文信息的真实含义,大大提高了报文解读的友好性。同时在第二数据库Redis集群里存储当前最新的数据报文,以供实时查询使用。Referring to Fig. 1, the remote monitoring and testing system for electric vehicles also includes: a data analysis service 120, which is used to analyze the data in the message queue according to the preset protocol rules, obtain the analysis result, and store the data in the message queue The data and the corresponding analysis results are stored in the first database, and the most recently acquired test data and the corresponding analysis results are cached in the second database. Among them, the data parsing service can specifically be the stream processing program SparkStreaming, which has the advantages of good integration and large data throughput, which is more suitable for the remote monitoring and testing system with large data volume and high frequency, and continuously consumes kafKa message queue through Spark Streaming The data message in the system is analyzed according to the system protocol, and the original data message is converted into data in the form of a class object and stored in the first database - the HBase cluster. Hbase is an open source non-relational distributed database, which has the characteristics of real-time reading and writing and random access to large-scale data sets. It is more suitable for the remote monitoring and testing system of this embodiment. It can not only accurately segment each message At the same time, it can accurately analyze the message, so that relevant personnel can intuitively understand the true meaning of the message information, which greatly improves the friendliness of message interpretation. At the same time, the latest data packets are stored in the second database Redis cluster for real-time query.

参见图1,该针对电动汽车的远程监控测试系统还包括:定时任务服务130,用于基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎。其中,定时任务服务130基于Hive和Mapreduce对流程中的检测条目进行周期性的统计,对于不同的测试项目,比如充电测试、行驶测试等的报文进行不同维度的统计,并将统计结果存储至预设搜索引擎Elasticsearch集群,后续供核验人员最终判断结果提供数据依据和支撑。Hive是一个数据仓库工具,它可以让结构化的数据文件映射为一张数据库表,并提供SQL查询功能,将SQL语句转换为MapReduce任务进行运行,其优点是学习成本低。MapReduce是一个编程模型,用以进行大数据量的计算。Elasticsearch是一款搜索服务器,它提供了分布式多用户能力的全文搜索引擎,能很方便地对大量数据进行搜索、分析和探索。Referring to Fig. 1, the remote monitoring and testing system for electric vehicles also includes: a scheduled task service 130, which is used to perform periodic statistics on preset detection items based on the analysis results stored in the first database, obtain statistical results, and The statistical results are stored in a preset search engine. Among them, the scheduled task service 130 periodically counts the detection items in the process based on Hive and Mapreduce, and performs statistics in different dimensions for different test items, such as charging test, driving test, etc., and stores the statistical results in The default search engine Elasticsearch cluster will provide data basis and support for the final judgment results of the verifiers. Hive is a data warehouse tool that maps structured data files into a database table and provides SQL query functions to convert SQL statements into MapReduce tasks for execution. Its advantage is low learning costs. MapReduce is a programming model for computing large amounts of data. Elasticsearch is a search server that provides a distributed multi-user full-text search engine that can easily search, analyze and explore large amounts of data.

示例性的,所述基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,包括下述至少一种:Exemplarily, the periodic statistics of preset detection items based on the analysis results stored in the first database to obtain statistical results includes at least one of the following:

对所述电动汽车的总里程进行周期性统计,获得总里程的统计结果;Periodically counting the total mileage of the electric vehicle to obtain a statistical result of the total mileage;

对所述电动汽车的故障次数进行周期性统计,获得总故障次数的统计结果;Perform periodic statistics on the number of failures of the electric vehicle to obtain a statistical result of the total number of failures;

对所述电动汽车行驶的总时长进行周期性统计,获得总时长的统计结果;Periodically counting the total duration of driving of the electric vehicle to obtain a statistical result of the total duration;

对所述电动汽车的速度进行周期性统计,获得速度分布的统计结果。The speed of the electric vehicle is periodically counted to obtain the statistical result of the speed distribution.

参见图1,该针对电动汽车的远程监控测试系统还包括:数据推送服务140,用于将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示。数据推送服务采用WebSocket技术将实时缓存数据实时推送给前端展示,可以实时查看原始报文和解析结果,供核验人员实时监控和掌握测试的情况,及时排查问题和错误情况。Referring to FIG. 1 , the remote monitoring and testing system for electric vehicles further includes: a data push service 140 for pushing the test data cached in the second database and the corresponding analysis results to the front end for display. The data push service uses WebSocket technology to push the real-time cached data to the front-end display in real time, and can view the original message and analysis results in real time, so that the verification personnel can monitor and grasp the test situation in real time, and troubleshoot problems and errors in time.

参见图1,该针对电动汽车的远程监控测试系统还包括:系统应用服务150,用于根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示。Referring to Fig. 1, the remote monitoring and testing system for electric vehicles also includes: a system application service 150, which is used to store the test data and corresponding analysis results cached in the second database based on the currently performed test items and stored in the The statistical results of the preset search engine are analyzed in multiple dimensions to obtain the analysis results, and the analysis results are sent to the front end for display.

示例性的,若当前进行的测试项目是充电测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,包括:Exemplarily, if the current test item is a charging test, the multi-dimensional analysis is performed based on the test data cached in the second database and the corresponding analysis results and statistical results stored in the preset search engine, Get analysis results, including:

基于所述解析结果确定是否有逆向充电电流,且逆向充电电流的持续时长达到预设时长,若所述逆向充电电流的持续时长达到预设时长,则确定机制性校验通过的分析结果;根据测试标准GB/T32960《电动汽车远程服务与管理系统技术规范》的规定,预设时长为15分钟,即充电测试必须保证获取插上充电枪(此时能检测到逆向充电电流)之后15分钟的数据;通常,总数据包数>=90,首包数据的时间和最后一包数据的时间差>=14.5分钟,且每包数据中的电流均小于0,满足上述条件时,则可确定机制性校验通过的分析结果。Determine whether there is a reverse charging current based on the analysis results, and the duration of the reverse charging current reaches a preset duration, and if the duration of the reverse charging current reaches a preset duration, then determine the analysis result of the mechanism verification passing; according to According to the test standard GB/T32960 "Technical Specifications for Remote Service and Management System of Electric Vehicles", the preset time is 15 minutes, that is, the charging test must ensure that 15 minutes after plugging in the charging gun (the reverse charging current can be detected) Data; usually, the total number of data packets >= 90, the time difference between the first packet of data and the last packet of data >= 14.5 minutes, and the current in each packet of data is less than 0, when the above conditions are met, the mechanism can be determined Validate the analysis results passed.

基于所述解析结果进行空值率、零值率和/或无效值率分析,获得第一分析结果;其中,空值率的含义是测试数据中数据单位为空的数据报文所占的比例,计算方式为:空值率=数据单位为空的数据报文条数/测试数据报文总条数;零值率的含义是测试数据中数据单位显示为零的数据报文所占的比例,计算方式为:零值率=测试数据中数据单位显示为零的数据报文条数/测试数据报文总条数;无效值率的含义是测试数据中数据单位显示为无效值(FF)的数据报文所占的比例,计算方式为:无效值率=测试数据中数据单位显示为无效值(FF)的数据报文条数/测试数据报文总条数。Perform null rate, zero rate and/or invalid value rate analysis based on the analysis results to obtain the first analysis result; wherein, the meaning of the null rate is the proportion of data packets whose data units are empty in the test data , the calculation method is: Null value rate = number of data packets whose data unit is empty/total number of test data packets; the meaning of zero value rate is the proportion of data packets whose data unit is displayed as zero in the test data , the calculation method is: zero value rate = the number of data messages whose data unit is displayed as zero in the test data/the total number of test data messages; the meaning of the invalid value rate is that the data unit in the test data is displayed as an invalid value (FF) The proportion of the data packets, the calculation method is: invalid value rate = the number of data packets whose data unit is displayed as an invalid value (FF) in the test data / the total number of test data packets.

基于所述解析结果确定充电电流的正负,以及确定所述汽车电池剩余电量的变化率,获得第二分析结果;其中,所述分析结果至少包括所述机制性校验通过的分析结果、所述第一分析结果以及所述第二分析结果。Determine the positive or negative of the charging current based on the analysis results, and determine the rate of change of the remaining power of the car battery to obtain a second analysis result; wherein, the analysis results at least include the analysis results that the mechanism check passes, the The first analysis result and the second analysis result.

若当前进行的测试项目是充电测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,还包括:If the current test item is a charging test, the multi-dimensional analysis is performed based on the test data cached in the second database and the corresponding analysis results and the statistical results stored in the preset search engine to obtain the analysis results, Also includes:

至少基于所述机制性校验通过的分析结果、所述第一分析结果以及所述第二分析结果确定充电测试是否满足测试条件;若确定充电测试不满足测试条件,确定测试失败关联的参考数据;其中,所述分析结果还包括所述参考数据;所述系统应用服务还用于:基于设定报告模板生成充电测试报告,并将所述充电测试报告发送至前端进行展示,其中,若确定充电测试不满足测试条件时,所述充电测试报告包括所述参考数据。例如,根据充电的实际情况,通过信息融合技术,针对充电电流以及电池剩余电量的变化率进行分析,确定充电测试是否满足测试条件,即确定充电测试是否成功,如果确定充电测试失败,确定测试失败关联的参考数据。例如通过分析确定充电测试失败的原因是电池剩余电量的变化率不符合要求,则将充电测试过程中获取的电池剩余电量的变化率作为参数数据进行错误反馈,可方便相关人员进行排查。例如通过分析确定充电测试失败的原因是充电电流为零,则将充电测试过程中获取的充电电流数据作为参数数据进行错误反馈,可方便相关人员进行排查。Determine whether the charging test meets the test conditions based at least on the analysis results of the passing of the mechanism check, the first analysis results, and the second analysis results; if it is determined that the charging test does not meet the test conditions, determine the reference data associated with the test failure ; Wherein, the analysis result also includes the reference data; the system application service is also used to: generate a charging test report based on the set report template, and send the charging test report to the front end for display, wherein, if determined When the charging test does not meet the test conditions, the charging test report includes the reference data. For example, according to the actual situation of charging, through information fusion technology, analyze the rate of change of the charging current and the remaining battery power, determine whether the charging test meets the test conditions, that is, determine whether the charging test is successful, if it is determined that the charging test fails, determine that the test failed Associated reference data. For example, it is determined through analysis that the reason for the failure of the charging test is that the rate of change of the remaining battery capacity does not meet the requirements, and the rate of change of the remaining battery capacity obtained during the charging test is used as parameter data for error feedback, which is convenient for relevant personnel to troubleshoot. For example, it is determined through analysis that the reason for the failure of the charging test is that the charging current is zero, and the charging current data obtained during the charging test process is used as parameter data for error feedback, which is convenient for relevant personnel to troubleshoot.

示例性的,若当前进行的测试项目是报警测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,包括:Exemplarily, if the current test item is an alarm test, the multi-dimensional analysis is performed based on the test data cached in the second database and the corresponding analysis results and statistical results stored in the preset search engine, Get analysis results, including:

基于所述测试数据确定报警时间点,以及在所述报警时间点之前的第一预设时间段内报警报文的第一数量,以及在所述报警时间点之后的第二预设时间段内报警报文的第二数量;若所述第一数量超过第一阈值,且所述第一数量与所述第二数量的和超过第二阈值,则确定机制性校验通过的分析结果。其中,所述第一阈值、所述第二阈值、所述第一预设时间段以及所述第二预设时间段根据测试标准GB/T32960《电动汽车远程服务与管理系统技术规范》中的规定确定。通常,第一阈值为29,第二阈值为60,第一预设时间段为35s,第二预设时间段为40s,换言之,报警时间点之前的35s内的补发数据包数>=29,且与报警时间点之后的40s内获取到的实时数据包数的总和>=60。Determining an alarm time point based on the test data, and a first number of alarm messages within a first preset time period before the alarm time point, and within a second preset time period after the alarm time point The second number of alarm messages; if the first number exceeds the first threshold, and the sum of the first number and the second number exceeds the second threshold, determine the analysis result that the mechanism check passes. Wherein, the first threshold, the second threshold, the first preset time period and the second preset time period are according to the test standard GB/T32960 "Technical Specifications for Electric Vehicle Remote Service and Management System" The regulations are determined. Usually, the first threshold is 29, the second threshold is 60, the first preset time period is 35s, and the second preset time period is 40s. In other words, the number of reissued data packets within 35s before the alarm time point >=29 , and the sum of the number of real-time data packets acquired within 40s after the alarm time point >=60.

参见图1,该针对电动汽车的远程监控测试系统还包括:流媒体服务160,用于获取所述电动汽车关联的视频数据,并将所述视频数据发送至预设服务器进行存储,以供前端对所述视频数据进行下载并展示,满足测试过程中检测视频的收集、存储和展示,用于验证测试结果的真实性。具体的,电动汽车关联的视频数据例如是针对当前待测试电动汽车进行视频录制所获得的视频,在进行充电测试项目时,电动汽车需要插上充电枪,通过对电动汽车进行视频录制,可以结合视频信息确认当前接收到的测试数据与该电动汽车是否一致,可提高远程监控与检测的准确性。概括性的,基于所述视频数据以及所述测试数据确定远程监控与检测的一致性。Referring to Fig. 1, the remote monitoring and testing system for electric vehicles also includes: a streaming media service 160 for obtaining video data associated with the electric vehicle, and sending the video data to a preset server for storage, for front-end The video data is downloaded and displayed to meet the collection, storage and display of detection videos during the test, and to verify the authenticity of the test results. Specifically, the video data associated with the electric vehicle is, for example, the video obtained by video recording of the current electric vehicle to be tested. When performing the charging test project, the electric vehicle needs to be plugged in a charging gun. By recording the video of the electric vehicle, it can be combined with Video information confirms whether the currently received test data is consistent with the electric vehicle, which can improve the accuracy of remote monitoring and detection. In general, the consistency of remote monitoring and detection is determined based on the video data and the test data.

需要说明的是,图1中示出的第三数据库中存储有业务数据,例如在该远程监控测试系统注册的账号数据、车辆申请数据(包括车辆型号、所申请的测试项目等数据)。在前端展示测试数据、测试结果数据时,可同时展示业务数据,以保证测试数据、测试结果、测试项目与测试车辆之间的一致性,达到提高测试准确性的目的。前端展示服务用于执行前端展示逻辑,实现展示相关界面与数据的功能。It should be noted that the third database shown in FIG. 1 stores business data, such as account data registered in the remote monitoring and testing system, vehicle application data (including vehicle model, applied test items, etc.). When displaying test data and test result data at the front end, business data can be displayed at the same time to ensure the consistency between test data, test results, test items and test vehicles, and achieve the purpose of improving test accuracy. The front-end display service is used to execute the front-end display logic and realize the function of displaying related interfaces and data.

本发明实施例提供的针对电动汽车的远程监控测试系统,具备远程数据采集、数据筛选、数据解析、数据统计、数据分析、数据存储、数据查询、数据展示以及测试报告自动生成等功能,实现了针对电动汽车的远程监控与测试,提高了测试效率,降低了人力成本;通过采用分布式存储和大数据处理组件等技术,对多并发、高频率数据进行高效处理,实现了测试功能稳定高效的运行;通过对数据进行统计分析,对于数据的真实和合理性校验提供了可靠支撑。The remote monitoring and testing system for electric vehicles provided by the embodiment of the present invention has the functions of remote data collection, data screening, data analysis, data statistics, data analysis, data storage, data query, data display, and automatic generation of test reports, etc., realizing For the remote monitoring and testing of electric vehicles, the test efficiency is improved and the labor cost is reduced; by adopting technologies such as distributed storage and big data processing components, the multi-concurrency and high-frequency data are processed efficiently, and the test function is stable and efficient. Operation; through the statistical analysis of the data, it provides reliable support for the verification of the authenticity and rationality of the data.

在上述实施例的基础上,本发明实施例还提供了一种针对电动汽车的远程监控测试方法,应用于上述远程监控测试系统,参考图2所示的一种针对电动汽车的远程监控测试方法的流程示意图,该方法包括如下步骤:On the basis of the above-mentioned embodiments, the embodiment of the present invention also provides a remote monitoring and testing method for electric vehicles, which is applied to the above-mentioned remote monitoring and testing system, referring to a remote monitoring and testing method for electric vehicles shown in Figure 2 A flow diagram of the method, the method may include the following steps:

步骤210、通过数据采集服务基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息。Step 210: Obtain the test data of the electric vehicle based on the wireless communication network through the data collection service, and screen the test data. If it is determined that the test data meets the preset conditions, then write the test data into the message queue. If It is determined that the test data does not meet the preset condition, and an error message is fed back to the data sender associated with the electric vehicle.

步骤220、通过数据解析服务按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述测试数据以及对应的解析结果缓存至第二数据库。Step 220: Analyze the data in the message queue through the data analysis service according to the preset protocol rules, obtain the analysis result, store the data in the message queue and the corresponding analysis result in the first database, and save the latest The acquired test data and corresponding analysis results are cached in the second database.

步骤230、通过定时任务服务基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎。Step 230: Periodically count the preset detection items based on the analysis results stored in the first database through the scheduled task service, obtain the statistical results, and store the statistical results in the preset search engine.

步骤240、通过数据推送服务将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示。Step 240, push the test data cached in the second database and the corresponding parsing results to the front end for display through the data push service.

步骤250、通过系统应用服务根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示。Step 250, use the system application service to perform multi-dimensional analysis based on the test data cached in the second database, the corresponding analysis results, and the statistical results stored in the preset search engine according to the current test items, and obtain the analysis results, and send the analysis results to the front end for display.

步骤260、通过流媒体服务获取所述电动汽车关联的视频数据,并将所述视频数据发送至预设服务器进行存储,以供前端对所述视频数据进行下载并展示。Step 260: Obtain video data associated with the electric vehicle through a streaming media service, and send the video data to a preset server for storage, so that the front end can download and display the video data.

图3为本发明实施例提供的一种电子设备的结构示意图。如图3所示,电子设备400包括一个或多个处理器401和存储器402。FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 3 , an electronic device 400 includes one or more processors 401 and a memory 402 .

处理器401可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备400中的其他组件以执行期望的功能。The processor 401 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 400 to perform desired functions.

存储器402可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器401可以运行所述程序指令,以实现上文所说明的本发明任意实施例的一种针对电动汽车的远程监控测试系统以及/或者其他期望的功能。在所述计算机可读存储介质中还可以存储诸如初始外参、阈值等各种内容。Memory 402 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and/or a cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, and the like. One or more computer program instructions can be stored on the computer-readable storage medium, and the processor 401 can execute the program instructions to realize the remote monitoring of electric vehicles in any embodiment of the present invention described above Test system and/or other desired functionality. Various contents such as initial external parameters and thresholds may also be stored in the computer-readable storage medium.

在一个示例中,电子设备400还可以包括:输入装置403和输出装置404,这些组件通过总线系统和/或其他形式的连接机构(未示出)互连。该输入装置403可以包括例如键盘、鼠标等等。该输出装置404可以向外部输出各种信息,包括预警提示信息、制动力度等。该输出装置404可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。In an example, the electronic device 400 may further include: an input device 403 and an output device 404, and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown). The input device 403 may include, for example, a keyboard, a mouse, and the like. The output device 404 can output various information to the outside, including early warning prompt information, braking force and so on. The output device 404 may include, for example, a display, a speaker, a printer, a communication network and remote output devices connected thereto, and the like.

当然,为了简化,图3中仅示出了该电子设备400中与本发明有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备400还可以包括任何其他适当的组件。Of course, for simplicity, only some components related to the present invention in the electronic device 400 are shown in FIG. 3 , and components such as bus, input/output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 400 may also include any other appropriate components.

除了上述方法和设备以外,本发明的实施例还可以是计算机程序产品,其包括计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本发明任意实施例所提供的一种针对电动汽车的远程监控测试方法的步骤。In addition to the above-mentioned methods and devices, embodiments of the present invention may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the functions provided by any of the embodiments of the present invention. The invention relates to the steps of a remote monitoring and testing method for electric vehicles.

所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本发明实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be written in any combination of one or more programming languages for executing the program codes for the operations of the embodiments of the present invention, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.

此外,本发明的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本发明任意实施例所提供的一种针对电动汽车的远程监控测试方法的步骤。In addition, an embodiment of the present invention may also be a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the processor executes a program provided by any embodiment of the present invention. The steps of a remote monitoring and testing method for electric vehicles.

所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

需要说明的是,本发明所用术语仅为了描述特定实施例,而非限制本申请范围。如本发明说明书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。It should be noted that the terms used in the present invention are only used to describe specific embodiments, but not to limit the scope of the application. As shown in the description of the present invention, words such as "a", "an", "an" and/or "the" do not refer to the singular, and may also include the plural, unless the context clearly suggests an exception. The term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method or apparatus comprising a set of elements includes not only those elements but also other elements not expressly listed, Alternatively, elements inherent in such a process, method, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element.

还需说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。除非另有明确的规定和限定,术语“安装”、“相连”、“连接”等应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。It should also be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate the orientation or positional relationship Based on the orientation or positional relationship shown in the drawings, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as a limitation of the invention. Unless otherwise clearly specified and limited, the terms "mounted", "connected", "connected" and so on should be interpreted in a broad sense, for example, it can be fixed connection, detachable connection, or integral connection; it can be mechanical connection , can also be an electrical connection; it can be a direct connection, or an indirect connection through an intermediary, or an internal connection between two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种针对电动汽车的远程监控测试系统,其特征在于,包括:1. A remote monitoring and testing system for electric vehicles, characterized in that it comprises: 数据采集服务,用于基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息;The data collection service is used to obtain the test data of the electric vehicle based on the wireless communication network, and to screen the test data. If it is determined that the test data meets the preset conditions, then write the test data into the message queue. If it is determined The test data does not meet the preset conditions, and an error message is fed back to the data sender associated with the electric vehicle; 数据解析服务,用于按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述消息队列中的测试数据以及对应的解析结果缓存至第二数据库;The data analysis service is used to analyze the data in the message queue according to the preset protocol rules, obtain the analysis results, store the data in the message queue and the corresponding analysis results in the first database, and at the same time store the data in the message queue recently acquired The received test data in the message queue and the corresponding analysis results are cached in the second database; 定时任务服务,用于基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎;The scheduled task service is used to perform periodic statistics on preset detection items based on the analysis results stored in the first database, obtain statistical results, and store the statistical results in a preset search engine; 数据推送服务,用于将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示;A data push service, configured to push the test data cached in the second database and the corresponding analysis results to the front end for display; 系统应用服务,用于根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示;The system application service is used to perform multi-dimensional analysis based on the test data cached in the second database, the corresponding analysis results and the statistical results stored in the preset search engine according to the current test items, and obtain the analysis results , and send the analysis results to the front end for display; 流媒体服务,用于获取所述电动汽车关联的视频数据,并将所述视频数据发送至预设服务器进行存储,以供前端对所述视频数据进行下载并展示。The streaming media service is used to obtain the video data associated with the electric vehicle, and send the video data to a preset server for storage, so that the front end can download and display the video data. 2.根据权利要求1所述的远程监控测试系统,其特征在于,所述测试数据根据当前进行的测试项目以及测试标准针对所述测试项目的规定确定,当所述测试项目为充电测试时,所述测试数据至少包括:驱动电机数据、车辆定位数据、充电储能装置的电压数据以及充电储能装置的温度数据。2. The remote monitoring and testing system according to claim 1, wherein the test data is determined according to the current test item and the test standard for the test item, and when the test item is a charging test, The test data at least includes: driving motor data, vehicle positioning data, voltage data of the charging energy storage device, and temperature data of the charging energy storage device. 3.根据权利要求1所述的远程监控测试系统,其特征在于,对所述测试数据进行筛选包括:3. The remote monitoring and testing system according to claim 1, wherein screening the test data comprises: 确定所述测试数据是否是符合预设格式的报文数据;Determine whether the test data is message data conforming to a preset format; 确定所述测试数据是否是包括预设字段的报文数据;determining whether the test data is message data including preset fields; 确定所述测试数据是否是按照异或校验法组装校验码的报文数据;Determine whether the test data is the message data of the assembled check code according to the XOR check method; 若所述测试数据是符合预设格式的报文数据且是包括预设字段的报文数据且是按照异或校验法组装校验码的报文数据,则确定所述测试数据符合预设条件;If the test data is message data that conforms to the preset format and is message data that includes preset fields and is message data that assembles a check code according to the XOR check method, then it is determined that the test data conforms to the preset condition; 若所述测试数据不是符合预设格式的报文数据或者不是包括预设字段的报文数据或者不是按照异或校验法组装校验码的报文数据,则确定所述测试数据不符合预设条件。If the test data is not the message data conforming to the preset format or the message data including the preset field or the message data assembled with the verification code according to the XOR check method, it is determined that the test data does not meet the preset set conditions. 4.根据权利要求1所述的远程监控测试系统,其特征在于,所述基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,包括下述至少一种:4. The remote monitoring and testing system according to claim 1, wherein the periodic statistics of preset detection items based on the analysis results stored in the first database to obtain statistical results includes at least one of the following kind: 对所述电动汽车的总里程进行周期性统计,获得总里程的统计结果;Periodically counting the total mileage of the electric vehicle to obtain a statistical result of the total mileage; 对所述电动汽车的故障次数进行周期性统计,获得总故障次数的统计结果;Perform periodic statistics on the number of failures of the electric vehicle to obtain a statistical result of the total number of failures; 对所述电动汽车行驶的总时长进行周期性统计,获得总时长的统计结果;Periodically counting the total duration of driving of the electric vehicle to obtain a statistical result of the total duration; 对所述电动汽车的速度进行周期性统计,获得速度分布的统计结果。The speed of the electric vehicle is periodically counted to obtain the statistical result of the speed distribution. 5.根据权利要求1所述的远程监控测试系统,其特征在于,若当前进行的测试项目是充电测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,包括:5. The remote monitoring and testing system according to claim 1, wherein if the current test item is a charging test, the test data cached in the second database and the corresponding analysis results and stored in the The statistical results of the preset search engine are analyzed in multiple dimensions to obtain the analysis results, including: 基于所述解析结果确定是否有逆向充电电流,且逆向充电电流的持续时长达到预设时长,若所述逆向充电电流的持续时长达到预设时长,则确定机制性校验通过的分析结果;Determine whether there is a reverse charging current based on the analysis result, and the duration of the reverse charging current reaches a preset duration, and if the duration of the reverse charging current reaches a preset duration, then determine the analysis result that the mechanism check passes; 基于所述解析结果进行空值率、零值率和/或无效值率分析,获得第一分析结果;Performing null rate, zero rate and/or invalid rate analysis based on the analysis results to obtain a first analysis result; 基于所述解析结果确定充电电流的正负,以及确定所述汽车电池剩余电量的变化率,获得第二分析结果;Determining the positive or negative of the charging current based on the analysis results, and determining the rate of change of the remaining power of the vehicle battery, to obtain a second analysis result; 其中,所述分析结果至少包括所述机制性校验通过的分析结果、所述第一分析结果以及所述第二分析结果。Wherein, the analysis result includes at least the analysis result of passing the mechanical verification, the first analysis result and the second analysis result. 6.根据权利要求5所述的远程监控测试系统,其特征在于,所述若当前进行的测试项目是充电测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,还包括:6. The remote monitoring and testing system according to claim 5, wherein if the currently-conducted test item is a charging test, the test data cached in the second database and the corresponding analysis results and Multi-dimensional analysis is performed on the statistical results stored in the preset search engine to obtain analysis results, which also include: 至少基于所述机制性校验通过的分析结果、所述第一分析结果以及所述第二分析结果确定充电测试是否满足测试条件;determining whether the charging test satisfies a test condition based on at least an analysis result of passing the mechanical check, the first analysis result, and the second analysis result; 若确定充电测试不满足测试条件,确定测试失败关联的参考数据;If it is determined that the charging test does not meet the test conditions, determine the reference data associated with the test failure; 其中,所述分析结果还包括所述参考数据;Wherein, the analysis result also includes the reference data; 所述系统应用服务还用于:The system application service is also used for: 生成充电测试报告,并将所述充电测试报告发送至前端进行展示,其中,若确定充电测试不满足测试条件时,所述充电测试报告包括所述参考数据。Generate a charging test report, and send the charging test report to the front end for display, wherein, if it is determined that the charging test does not meet the test conditions, the charging test report includes the reference data. 7.根据权利要求1所述的远程监控测试系统,其特征在于,若当前进行的测试项目是报警测试,所述基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,包括:7. The remote monitoring and testing system according to claim 1, wherein, if the currently performed test item is an alarm test, the test data and corresponding analysis results stored in the second database based on the cache and stored in the The statistical results of the preset search engine are analyzed in multiple dimensions to obtain the analysis results, including: 基于所述测试数据确定报警时间点,以及在所述报警时间点之前的第一预设时间段内报警报文的第一数量,以及在所述报警时间点之后的第二预设时间段内报警报文的第二数量;Determining an alarm time point based on the test data, and a first number of alarm messages within a first preset time period before the alarm time point, and within a second preset time period after the alarm time point the second number of alarm messages; 若所述第一数量超过第一阈值,且所述第一数量与所述第二数量的和超过第二阈值,则确定机制性校验通过的分析结果。If the first quantity exceeds a first threshold, and the sum of the first quantity and the second quantity exceeds a second threshold, then determine an analysis result that the mechanical check passes. 8.一种针对电动汽车的远程监控测试方法,应用于上述权利要求1-7任一项所述的远程监控测试系统,其特征在于,包括:8. A remote monitoring and testing method for electric vehicles, applied to the remote monitoring and testing system according to any one of claims 1-7, characterized in that it comprises: 通过数据采集服务基于无线通讯网络获取电动汽车的测试数据,并对所述测试数据进行筛选,若确定所述测试数据符合预设条件,则将所述测试数据写入消息队列,若确定所述测试数据不符合预设条件,向所述电动汽车关联的数据发送方反馈错误提示信息;Obtain the test data of the electric vehicle based on the wireless communication network through the data collection service, and screen the test data, if it is determined that the test data meets the preset conditions, then write the test data into the message queue, if it is determined that the The test data does not meet the preset conditions, and an error message is fed back to the data sender associated with the electric vehicle; 通过数据解析服务按照预设协议规则对所述消息队列中的数据进行解析,获得解析结果,并将所述消息队列中的数据以及对应的解析结果存储至第一数据库,同时将最近获取到的所述消息队列中的测试数据以及对应的解析结果缓存至第二数据库;Analyze the data in the message queue according to the preset protocol rules through the data analysis service, obtain the analysis result, store the data in the message queue and the corresponding analysis result in the first database, and store the recently acquired The test data in the message queue and the corresponding analysis results are cached in the second database; 通过定时任务服务基于所述第一数据库中存储的解析结果对预设检测条目进行周期性统计,获得统计结果,并将所述统计结果存储至预设搜索引擎;performing periodic statistics on preset detection items based on the analysis results stored in the first database through the scheduled task service, obtaining statistical results, and storing the statistical results in a preset search engine; 通过数据推送服务将缓存至所述第二数据库中的所述测试数据以及对应的解析结果推送至前端进行展示;Pushing the test data cached in the second database and the corresponding analysis results to the front end for display through a data push service; 通过系统应用服务根据当前进行的测试项目,基于缓存至所述第二数据库中的测试数据以及对应的解析结果以及存储至所述预设搜索引擎的统计结果进行多维度分析,获得分析结果,并将所述分析结果发送至前端进行展示;performing multi-dimensional analysis based on the test data cached in the second database, the corresponding analysis results and the statistical results stored in the preset search engine according to the current test items through the system application service, to obtain the analysis results, and Send the analysis results to the front end for display; 通过流媒体服务获取所述电动汽车关联的视频数据,并将所述视频数据发送至预设服务器进行存储,以供前端对所述视频数据进行下载并展示。The video data associated with the electric vehicle is obtained through a streaming service, and the video data is sent to a preset server for storage, so that the front end can download and display the video data. 9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 处理器和存储器;processor and memory; 所述处理器通过调用所述存储器存储的程序或指令,用于执行如权利要求8所述的一种针对电动汽车的远程监控测试方法的步骤。The processor is used to execute the steps of the remote monitoring and testing method for electric vehicles according to claim 8 by calling the programs or instructions stored in the memory. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储程序或指令,所述程序或指令使计算机执行如权利要求8所述的一种针对电动汽车的远程监控测试方法的步骤。10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program or an instruction, and the program or instruction causes the computer to perform a remote monitoring test for electric vehicles as claimed in claim 8 method steps.
CN202211036485.0A 2022-08-29 2022-08-29 Remote monitoring and testing system and monitoring and testing method for electric vehicles Active CN115118754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211036485.0A CN115118754B (en) 2022-08-29 2022-08-29 Remote monitoring and testing system and monitoring and testing method for electric vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211036485.0A CN115118754B (en) 2022-08-29 2022-08-29 Remote monitoring and testing system and monitoring and testing method for electric vehicles

Publications (2)

Publication Number Publication Date
CN115118754A CN115118754A (en) 2022-09-27
CN115118754B true CN115118754B (en) 2022-11-25

Family

ID=83335738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211036485.0A Active CN115118754B (en) 2022-08-29 2022-08-29 Remote monitoring and testing system and monitoring and testing method for electric vehicles

Country Status (1)

Country Link
CN (1) CN115118754B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306298A (en) * 2015-10-28 2016-02-03 东风汽车公司 Vehicle network based remote wireless testing system and testing method
CN107682351A (en) * 2017-10-20 2018-02-09 携程旅游网络技术(上海)有限公司 Method, system, equipment and the storage medium of network security monitoring
CN112134952A (en) * 2020-09-22 2020-12-25 北京嘀嘀无限科技发展有限公司 Vehicle management system and method based on Internet of vehicles
CN114328093A (en) * 2021-12-17 2022-04-12 苏州浪潮智能科技有限公司 A Hadoop-based monitoring method, system, storage medium and device
CN114584584A (en) * 2022-02-28 2022-06-03 福思(杭州)智能科技有限公司 System and method for processing vehicle driving data and storage medium
CN114705454A (en) * 2022-04-12 2022-07-05 合众新能源汽车有限公司 Ring die testing system and method for electric automobile
US11405462B1 (en) * 2021-07-15 2022-08-02 Argo AI, LLC Systems, methods, and computer program products for testing of cloud and onboard autonomous vehicle systems

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076806B (en) * 2013-03-26 2016-12-07 北汽福田汽车股份有限公司 A kind of electric control gear to automobile carries out the method and apparatus of automatic test
CN109558450B (en) * 2018-10-30 2023-05-09 中国汽车技术研究中心有限公司 A method and device for car remote monitoring based on distributed architecture
CN109801399A (en) * 2018-12-29 2019-05-24 北京理工新源信息科技有限公司 New energy vehicle failure Realtime Alerts method and system
CN112462742A (en) * 2020-11-30 2021-03-09 上海汽车集团股份有限公司 Method for rapidly carrying out national standard data conformance simulation detection on new energy automobile
CN113190583B (en) * 2021-05-14 2024-02-20 长春理工大学 Data acquisition system, method, electronic equipment and storage medium
CN114185323B (en) * 2021-10-19 2023-09-26 威凯检测技术有限公司 Vehicle-mounted terminal testing method and device
CN114201640A (en) * 2021-11-08 2022-03-18 深圳市安软科技股份有限公司 Garden management method and system based on video acquisition and related equipment
CN114791524B (en) * 2022-04-13 2024-09-13 中国第一汽车股份有限公司 Vehicle test report generation method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306298A (en) * 2015-10-28 2016-02-03 东风汽车公司 Vehicle network based remote wireless testing system and testing method
CN107682351A (en) * 2017-10-20 2018-02-09 携程旅游网络技术(上海)有限公司 Method, system, equipment and the storage medium of network security monitoring
CN112134952A (en) * 2020-09-22 2020-12-25 北京嘀嘀无限科技发展有限公司 Vehicle management system and method based on Internet of vehicles
US11405462B1 (en) * 2021-07-15 2022-08-02 Argo AI, LLC Systems, methods, and computer program products for testing of cloud and onboard autonomous vehicle systems
CN114328093A (en) * 2021-12-17 2022-04-12 苏州浪潮智能科技有限公司 A Hadoop-based monitoring method, system, storage medium and device
CN114584584A (en) * 2022-02-28 2022-06-03 福思(杭州)智能科技有限公司 System and method for processing vehicle driving data and storage medium
CN114705454A (en) * 2022-04-12 2022-07-05 合众新能源汽车有限公司 Ring die testing system and method for electric automobile

Also Published As

Publication number Publication date
CN115118754A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN112000502B (en) Processing method and device for mass error logs, electronic device and storage medium
CN104243236B (en) Method, system and server for analyzing operation and maintenance alarm data of monitoring system
CN107391746A (en) Log analysis method, equipment and computer-readable recording medium
CN103235820B (en) Date storage method and device in a kind of group system
CN107370806B (en) HTTP status code monitoring method, device, storage medium and electronic device
CN111881011A (en) Log management method, platform, server and storage medium
CN113505044B (en) Database warning method, device, equipment and storage medium
CN112084224A (en) Data management method, system, device and medium
CN108234199A (en) Monitoring method, apparatus and system based on Kafka
WO2025103085A1 (en) Log processing method and system, log management platform, and electronic device
CN112052134A (en) Method and device for monitoring service data
CN120017736A (en) A power equipment data acquisition and processing system and method
US20120109663A1 (en) Advanced Metering Infrastructure Event Filtering
CN115277355A (en) Method, device, equipment and medium for processing state code data of monitoring system
CN114546780A (en) Data monitoring method, device, equipment, system and storage medium
CN114138720A (en) Log processing method, log processing device, electronic device and storage medium
CN104602288B (en) A kind of railway GPRS network key network element equipment actively monitoring system and method
CN103823743B (en) The monitoring method of software system and equipment
CN117632651A (en) A fault self-healing system and method based on MySQL database
CN115118754B (en) Remote monitoring and testing system and monitoring and testing method for electric vehicles
CN114422324B (en) Alarm information processing method, device, electronic equipment and storage medium
CN112710915B (en) Method, device, electronic equipment and computer storage medium for monitoring power equipment
CN118897784A (en) Interface call log analysis method, device, equipment, medium and product
CN113900898B (en) Data processing system, equipment and medium
CN118708555A (en) Log management system, method, electronic device and storage medium applied to business travel platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant