[go: up one dir, main page]

CN114285840A - Vehicle data acquisition method, intelligent terminal and storage medium - Google Patents

Vehicle data acquisition method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN114285840A
CN114285840A CN202111596464.XA CN202111596464A CN114285840A CN 114285840 A CN114285840 A CN 114285840A CN 202111596464 A CN202111596464 A CN 202111596464A CN 114285840 A CN114285840 A CN 114285840A
Authority
CN
China
Prior art keywords
data
file
vehicle
diagnostic
diagnosis
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.)
Granted
Application number
CN202111596464.XA
Other languages
Chinese (zh)
Other versions
CN114285840B (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.)
Zhejiang Remote New Energy Commercial Vehicle Group Co ltd
Zhejiang Geely Holding Group Co Ltd
Zhejiang Remote Commercial Vehicle R&D Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Geely New Energy Commercial Vehicle Group Co Ltd
Zhejiang Remote Commercial Vehicle R&D 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Geely New Energy Commercial Vehicle Group Co Ltd, Zhejiang Remote Commercial Vehicle R&D Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202111596464.XA priority Critical patent/CN114285840B/en
Publication of CN114285840A publication Critical patent/CN114285840A/en
Application granted granted Critical
Publication of CN114285840B publication Critical patent/CN114285840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

本发明公开了车辆数据的获取方法、智能终端及存储介质,应用于车联网技术领域;所述车辆数据的获取方法通过采用根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息的技术方案,解决了无法对车辆故障进行定位和复现的问题,实现对车辆故障的定位。

Figure 202111596464

The invention discloses a vehicle data acquisition method, an intelligent terminal and a storage medium, which are applied to the technical field of the Internet of Vehicles; the vehicle data acquisition method generates a diagnosis file corresponding to a vehicle system according to a set diagnostic parameter and a set data upload period. ; Send the diagnostic file to the vehicle system, wherein after receiving the diagnostic file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnostic parameters in the diagnostic file, and according to the diagnostic file The technical solution of uploading the target data to the intelligent terminal in the set data upload period in , which solves the problem that the vehicle fault cannot be located and reproduced, and realizes the location of the vehicle fault.

Figure 202111596464

Description

车辆数据的获取方法、智能终端及存储介质Vehicle data acquisition method, intelligent terminal and storage medium

技术领域technical field

本发明涉及车联网技术领域,尤其涉及一种车辆数据的获取方法、智能终端及存储介质。The invention relates to the technical field of Internet of Vehicles, and in particular, to a method for acquiring vehicle data, an intelligent terminal and a storage medium.

背景技术Background technique

目前,车联网行业在高速发展,车辆上的车载设备通过无线通信技术,对信息网络平台中的所有车辆动态信息进行有效利用,从而在车辆运行中提供不同的功能服务。目前,在车辆故障的定位时,需要采集大量的数据分析解决问题,但是国家规定不能无限制采集车辆数据,并且在数据存储时间上做了一定的限制,导致车辆故障问题难以复现和定位。At present, the Internet of Vehicles industry is developing rapidly. The on-board equipment on the vehicle effectively utilizes all vehicle dynamic information in the information network platform through wireless communication technology, thereby providing different functional services during vehicle operation. At present, when locating vehicle faults, it is necessary to collect a large amount of data to analyze and solve the problem. However, the state stipulates that vehicle data cannot be collected without restrictions, and there are certain restrictions on data storage time, which makes it difficult to reproduce and locate vehicle faults.

发明内容SUMMARY OF THE INVENTION

本发明实施例通过提供一种车辆数据的获取方法、智能终端及存储介质,旨在解决车辆故障无法复现和定位的问题。The embodiments of the present invention aim to solve the problem that vehicle faults cannot be reproduced and located by providing a method for acquiring vehicle data, an intelligent terminal and a storage medium.

本发明实施例提供了一种车辆数据的获取方法,应用于智能终端;所述车辆数据的获取方法包括:An embodiment of the present invention provides a method for acquiring vehicle data, which is applied to an intelligent terminal; the method for acquiring vehicle data includes:

根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;Generate a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload cycle;

将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;Send the diagnostic file to the vehicle system, wherein after receiving the diagnostic file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnostic parameters in the diagnostic file, and selects the target data according to the diagnostic file in the diagnostic file. The set data upload cycle of the set data upload cycle to upload the target data to the intelligent terminal;

接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息。The target data fed back by the vehicle system is received, so as to diagnose fault information of the vehicle system according to the target data.

在一实施例中,所述根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件的步骤包括:In one embodiment, the step of generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period includes:

获取当前车辆系统的整车型号对应的预设诊断文件模板,以及获取设定诊断参数以及设定数据上传周期;Obtain the preset diagnostic file template corresponding to the vehicle model of the current vehicle system, as well as obtain the set diagnostic parameters and set the data upload cycle;

将所述设定诊断参数以及所述设定数据上传周期写入所述预设诊断文件模板,生成所述车辆系统对应的诊断文件。Writing the set diagnostic parameters and the set data upload period into the preset diagnostic file template to generate a diagnostic file corresponding to the vehicle system.

在一实施例中,所述接收所述车辆系统反馈的所述目标数据,以根据所述目标数据确定所述车辆系统的故障信息的步骤之后,还包括:In an embodiment, after the step of receiving the target data fed back by the vehicle system to determine the fault information of the vehicle system according to the target data, the method further includes:

接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期;When receiving a diagnostic parameter modification request, obtain the modified diagnostic parameter and/or the modified data upload period according to the modification request;

根据所述修改后的诊断参数和/或所述修改后的数据上传周期更新所述诊断文件;Update the diagnostic file according to the modified diagnostic parameters and/or the modified data upload cycle;

返回执行所述将所述诊断文件发送至车辆系统的步骤。Return to performing the step of sending the diagnostic file to the vehicle system.

在一实施例中,所述接收所述车辆系统反馈的所述目标数据,以根据所述目标数据确定所述车辆系统的故障信息的步骤之后,还包括:In an embodiment, after the step of receiving the target data fed back by the vehicle system to determine the fault information of the vehicle system according to the target data, the method further includes:

根据所述目标数据分析所述车辆系统的故障信息;Analyze fault information of the vehicle system according to the target data;

根据所述故障信息确定车辆故障原因是预设故障原因时,采用初始诊断参数和初始数据上传周期更新所述诊断文件;When it is determined according to the failure information that the cause of the vehicle failure is the preset failure cause, the diagnosis file is updated by using the initial diagnosis parameters and the initial data upload cycle;

根据所述故障信息确定车辆故障原因不是所述预设故障原因时,执行所述接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期的步骤。When it is determined according to the failure information that the cause of the vehicle failure is not the preset failure cause, executing the process of obtaining the modified diagnostic parameters and/or the modified data upload cycle according to the modification request when the request for modification of the diagnostic parameters is received. step.

在一实施例中,应用于车辆系统;所述车辆数据的获取方法包括:In one embodiment, it is applied to a vehicle system; the method for acquiring the vehicle data includes:

接收智能终端发送的诊断文件,所述诊断文件包括设定诊断参数以及设定数据上传周期;receiving a diagnosis file sent by an intelligent terminal, where the diagnosis file includes setting the diagnosis parameters and setting the data upload period;

根据所述诊断文件中的设定诊断参数筛选目标数据;Screening target data according to the set diagnostic parameters in the diagnostic file;

根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端。The target data is uploaded to the smart terminal according to the set data upload period in the diagnosis file.

在一实施例中,所述诊断文件还包括车辆系统的验证信息;所述根据所述诊断文件中的设定诊断参数筛选目标数据的步骤之前,还包括:In one embodiment, the diagnosis file further includes verification information of the vehicle system; before the step of screening the target data according to the set diagnosis parameters in the diagnosis file, the step further includes:

对所述诊断文件中的车辆系统的验证信息进行权限验证;Perform authority verification on the verification information of the vehicle system in the diagnostic file;

在所述车辆系统的权限验证成功时,执行所述根据所述诊断文件中的设定诊断参数筛选目标数据的步骤。When the authority verification of the vehicle system is successful, the step of screening target data according to the set diagnostic parameters in the diagnostic file is performed.

在一实施例中,所述根据所述诊断文件中的所述数据上传周期将所述目标数据上传至所述智能终端的步骤包括:In an embodiment, the step of uploading the target data to the smart terminal according to the data upload period in the diagnosis file includes:

将所述目标数据基于预设数据格式进行格式转换;Format conversion of the target data based on a preset data format;

对格式转换后的所述目标数据进行打包;Packing the target data after format conversion;

根据所述诊断文件中的所述数据上传周期将打包后的所述目标数据上传至所述智能终端。The packaged target data is uploaded to the smart terminal according to the data upload period in the diagnosis file.

此外,为实现上述目的,本发明还提供了一种智能终端,所述智能终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的车辆数据的获取程序,所述车辆数据的获取程序被所述处理器执行时实现如上述的车辆数据的获取方法的步骤。In addition, in order to achieve the above object, the present invention also provides an intelligent terminal, the intelligent terminal includes: a memory, a processor, and a program for acquiring vehicle data stored in the memory and running on the processor, When the vehicle data acquisition program is executed by the processor, the steps of the vehicle data acquisition method described above are implemented.

此外,为实现上述目的,本发明还提供了一种智能终端,所述智能终端包括:生成模块,用于根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;发送模块,用于将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;接收模块,用于接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息。In addition, in order to achieve the above object, the present invention also provides an intelligent terminal, the intelligent terminal includes: a generating module, configured to generate a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period; a sending module, It is used for sending the diagnosis file to the vehicle system, wherein after receiving the diagnosis file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnosis parameters in the diagnosis file, and according to the diagnosis The set data upload cycle in the file uploads the target data to the intelligent terminal; a receiving module is configured to receive the target data fed back by the vehicle system, so as to diagnose the vehicle system according to the target data fault information.

此外,为实现上述目的,本发明还提供了一种存储介质,所述存储介质存储有车辆数据的获取程序,所述车辆数据的获取程序被处理器执行时实现上述的车辆数据的获取方法的步骤。In addition, in order to achieve the above object, the present invention also provides a storage medium, the storage medium stores a vehicle data acquisition program, and when the vehicle data acquisition program is executed by a processor, the above-mentioned vehicle data acquisition method is realized. step.

本发明实施例中提供的一种车辆数据的获取方法、智能终端及存储介质的技术方案,由于采用了根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息的技术方案,解决了无法对车辆故障进行定位和复现的问题,本发明通过设定诊断参数和设定数据上传周期确定诊断文件,根据诊断文件获取目标数据,解决了过量收集车辆数据的限制。并且在收集目标数据之后,根据目标数据分析故障,从而实现对车辆故障进行定位和复现。A method for acquiring vehicle data, an intelligent terminal, and a technical solution for a storage medium provided in the embodiments of the present invention, because a diagnosis file corresponding to a vehicle system is generated according to the set diagnostic parameters and the set data upload period; The file is sent to the vehicle system, wherein after receiving the diagnostic file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnostic parameters in the diagnostic file, and selects the target data according to the set diagnostic parameters in the diagnostic file. The technical solution of uploading the target data to the intelligent terminal at a fixed data upload period; receiving the target data fed back by the vehicle system to diagnose the fault information of the vehicle system according to the target data, solves the problem of inability to To solve the problem of locating and reproducing vehicle faults, the present invention determines the diagnosis file by setting the diagnosis parameters and the data upload period, and obtains the target data according to the diagnosis file, thereby solving the limitation of excessive collection of vehicle data. And after the target data is collected, the fault is analyzed according to the target data, so as to locate and reproduce the vehicle fault.

附图说明Description of drawings

图1为本发明车辆数据的获取方法第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a method for acquiring vehicle data according to the present invention;

图2为本发明车辆数据的获取方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for acquiring vehicle data according to the present invention;

图3为本发明车辆数据的获取方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a method for acquiring vehicle data according to the present invention;

图4为本发明车辆数据的获取方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a method for acquiring vehicle data according to the present invention;

图5为本发明车辆数据的获取方法第五实施例的流程示意图;5 is a schematic flowchart of a fifth embodiment of a vehicle data acquisition method according to the present invention;

图6为本发明智能终端的硬件运行环境的结构示意图;6 is a schematic structural diagram of a hardware operating environment of an intelligent terminal of the present invention;

图7为本发明智能终端一实施例的示意图;FIG. 7 is a schematic diagram of an embodiment of an intelligent terminal of the present invention;

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明,上述附图只是一个实施例图,而不是发明的全部。The realization, functional features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.

具体实施方式Detailed ways

为了更好的理解上述技术方案,下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。For better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

以下将以具体实施例的方式展开论述。The following will be discussed in the form of specific embodiments.

第一实施例:First embodiment:

如图1所示,在本发明的第一实施例中,本发明的车辆数据的获取方法,包括以下步骤:As shown in FIG. 1 , in the first embodiment of the present invention, the vehicle data acquisition method of the present invention includes the following steps:

步骤S110,根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;Step S110, generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period;

步骤S120,将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;Step S120, sending the diagnosis file to the vehicle system, wherein after receiving the diagnosis file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnosis parameters in the diagnosis file, and selects the target data according to the diagnosis file. The set data upload cycle in the diagnostic file uploads the target data to the smart terminal;

步骤S130,接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息。Step S130: Receive the target data fed back by the vehicle system, so as to diagnose fault information of the vehicle system according to the target data.

在本实施例中,为了解决车辆出现故障时,故障信息无法复现和定位的问题。本发明设计了一种车辆数据的获取方法。在本实施例中,所述车辆数据的获取方法应用于智能终端。所述智能终端根据市场的车辆系统出现的故障,确定诊断文件,将所述诊断文件发送至车辆系统以获取对应的目标数据,根据所述目标数据诊断所述车辆系统的故障信息。In this embodiment, in order to solve the problem that the failure information cannot be reproduced and located when the vehicle fails. The present invention designs a method for acquiring vehicle data. In this embodiment, the method for acquiring vehicle data is applied to an intelligent terminal. The intelligent terminal determines a diagnosis file according to the failure of the vehicle system in the market, sends the diagnosis file to the vehicle system to obtain corresponding target data, and diagnoses the failure information of the vehicle system according to the target data.

在本实施例中,所述设定诊断参数可根据市场预先收集的故障进行初步设定,所述故障可以是用户反馈或者是研发测试过程中确定的。所述设定诊断参数也可根据具体应用场景确定,例如,针对车辆无法行驶这一故障,可确定的设定诊断参数可以是轮胎的胎压、轮胎内部温度、车速等参数。所述设定数据上传周期为车辆系统的电子控制单元的目标数据的自动上传周期。所述设定数据上传周期可由开发工程师根据故障进行预先设置,例如,可以设置每隔五分钟上传一次电子控制单元中的目标数据。所述智能终端上安装有诊断文件开发工具,所述诊断文件开发工具用于根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件。In this embodiment, the set diagnostic parameters may be preliminarily set according to faults pre-collected by the market, and the faults may be feedback from users or determined in the process of research and development testing. The set diagnostic parameters can also be determined according to specific application scenarios. For example, for a fault that the vehicle cannot be driven, the set diagnostic parameters that can be determined may be parameters such as tire pressure, tire internal temperature, and vehicle speed. The set data upload cycle is an automatic upload cycle of target data of the electronic control unit of the vehicle system. The set data upload period can be preset by the development engineer according to the fault. For example, the target data in the electronic control unit can be set to be uploaded every five minutes. A diagnostic file development tool is installed on the intelligent terminal, and the diagnostic file development tool is used to generate a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period.

具体的,在根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件的过程中,获取通过上述诊断文件开发工具确定当前车辆系统的整车信号对应的预设诊断文件模板,将获取到的设定诊断参数以及设定数据上传周期写入所述预设诊断文件模板中,从而生成所述车辆系统对应的诊断文件。其中,所述诊断文件也称为ODX文件,所述ODX文件的文件格式为XML格式。ODX的全称是Open diagnostic data exchange,它是ASAM制定的标准架构诊断仪(MVCI,Modular Vehicle Communication Interface)所使用的数据文件。所述ODX文件是格式标准化的诊断文件,该诊断文件可以诊断不同型号的车,或者不同的车辆系统只需要加载适配这个车型的ODX文件即可,无需对诊断仪做任何改变。并且ODX统一了诊断文件的格式,所以诊断文件在研发、测试、生产、售后等部门中传递交换的时候,不需要进行格式转换。Specifically, in the process of generating the diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period, a preset diagnostic file template corresponding to the vehicle signal of the current vehicle system determined by the diagnostic file development tool is obtained, and the The acquired set diagnostic parameters and the set data upload period are written into the preset diagnostic file template, thereby generating a diagnostic file corresponding to the vehicle system. Wherein, the diagnosis file is also called an ODX file, and the file format of the ODX file is an XML format. The full name of ODX is Open diagnostic data exchange, which is the data file used by the standard architecture diagnostic instrument (MVCI, Modular Vehicle Communication Interface) developed by ASAM. The ODX file is a diagnostic file with a standardized format, and the diagnostic file can diagnose different models of cars, or different vehicle systems only need to load the ODX file adapted to the model, without any changes to the diagnostic instrument. And ODX unifies the format of the diagnostic file, so when the diagnostic file is transferred and exchanged in R&D, testing, production, after-sales and other departments, no format conversion is required.

在本实施例中,在生成诊断文件之后,将所述诊断文件发送至车辆系统。具体的,所述车辆系统包括车联网后台终端、远程控制终端、电子控制单元。所述车联网后台终端在接收到智能终端发送的诊断文件后,将所述诊断文件通过远程控制终端发送至电子控制单元,以从所述电子控制单元中筛选符合所述设定诊断参数对应的目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至智能终端。其中,所述车联网后台终端为TSP平台;所述远程控制终端为T-BOX,所述T-BOX相当于无线智能终端,用于解析所述诊断文件,并转发所述诊断文件至电子控制单元。所述电子控制单元为ECU,所述电子控制单元中存储着车辆的运行数据,可从所述电子控制单元中获取设定诊断参数对应的目标数据。所述设定诊断参数可以仅以获取的具体参数的形式发送,例如获取温度。可选地,所述设定诊断参数可以以参数条件的形式发送,例如,所述设定诊断参数可以是:获取温度大于50℃的数据;还可以是获取某一时间段的数据,例如,获取2021年-12月-14号早上9:00-12:00这一时间段中温度大于50℃的数据等。In this embodiment, after the diagnostic file is generated, the diagnostic file is sent to the vehicle system. Specifically, the vehicle system includes a vehicle networking background terminal, a remote control terminal, and an electronic control unit. After receiving the diagnostic file sent by the intelligent terminal, the IoV background terminal sends the diagnostic file to the electronic control unit through the remote control terminal, so as to select the corresponding diagnostic parameters from the electronic control unit. target data, and upload the target data to the smart terminal according to the set data upload period in the diagnosis file. The background terminal of the Internet of Vehicles is a TSP platform; the remote control terminal is a T-BOX, which is equivalent to a wireless intelligent terminal, and is used to parse the diagnosis file and forward the diagnosis file to the electronic control unit. The electronic control unit is an ECU, the operation data of the vehicle is stored in the electronic control unit, and target data corresponding to the set diagnostic parameters can be obtained from the electronic control unit. The set diagnostic parameters may only be sent in the form of acquired specific parameters, such as acquired temperature. Optionally, the set diagnostic parameters may be sent in the form of parameter conditions. For example, the set diagnostic parameters may be: acquiring data with a temperature greater than 50°C; or acquiring data in a certain period of time, for example, Obtain data of temperatures greater than 50°C in the time period from 9:00 to 12:00 in the morning from 2021 to December 14.

可选地,在所述诊断文件中还可设置有车辆系统的验证信息,以使电子控制单元在对所述车辆系统的验证信息进行验证,并在验证成功时,根据所述诊断文件中的设定诊断参数筛选目标数据。Optionally, the verification information of the vehicle system can also be set in the diagnosis file, so that the electronic control unit verifies the verification information of the vehicle system, and when the verification is successful, according to the verification information in the diagnosis file. Set diagnostic parameters to filter target data.

在本实施例中,在所述车辆系统中筛选目标数据之后,所述目标数据是以数据报文的形式并根据设定数据上传周期自动上传至智能终端。所述智能终端在接收到车辆系统反馈的目标数据之后,可对所述目标数据进行具体分析,从而根据所述目标数据诊断所述车辆系统的故障信息。具体分析的过程在此不展开论述。In this embodiment, after the target data is screened in the vehicle system, the target data is automatically uploaded to the smart terminal in the form of a data message and according to a set data upload period. After receiving the target data fed back by the vehicle system, the intelligent terminal may perform specific analysis on the target data, so as to diagnose fault information of the vehicle system according to the target data. The detailed analysis process is not discussed here.

可选地,在故障定位成功时,恢复默认的诊断文件,即恢复出厂的上报,只进行法规的数据上传,防止过量收集车辆信息。Optionally, when the fault location is successful, the default diagnostic file is restored, that is, the factory report is restored, and only data uploading according to regulations is performed to prevent excessive collection of vehicle information.

本实施例根据上述技术方案,由于采用了根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息的技术方案,解决了无法对车辆故障进行定位和复现的问题,本发明通过设定诊断参数和设定数据上传周期确定诊断文件,根据诊断文件获取目标数据,解决了过量收集车辆数据的限制。并且在收集目标数据之后,根据目标数据分析故障,从而实现对车辆故障进行定位和复现。According to the above technical solution, in this embodiment, a diagnostic file corresponding to the vehicle system is generated according to the set diagnostic parameters and the set data upload period; the diagnostic file is sent to the vehicle system, wherein the vehicle system receives the After the diagnosis file is sent by the intelligent terminal, the target data is screened according to the set diagnosis parameters in the diagnosis file, and the target data is uploaded to the intelligent terminal according to the set data upload period in the diagnosis file; The technical solution of receiving the target data fed back by the vehicle system to diagnose the fault information of the vehicle system according to the target data solves the problem that the vehicle fault cannot be located and reproduced. The parameter and set data upload cycle determine the diagnosis file, and obtain the target data according to the diagnosis file, which solves the limitation of excessive collection of vehicle data. And after the target data is collected, the fault is analyzed according to the target data, so as to locate and reproduce the vehicle fault.

第二实施例:Second embodiment:

如图2所示,在本发明的第二实施例中,本发明的车辆数据的获取方法,包括以下步骤:As shown in FIG. 2, in the second embodiment of the present invention, the vehicle data acquisition method of the present invention includes the following steps:

步骤S110,根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;Step S110, generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period;

步骤S120,将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;Step S120, sending the diagnosis file to the vehicle system, wherein after receiving the diagnosis file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnosis parameters in the diagnosis file, and selects the target data according to the diagnosis file. The set data upload cycle in the diagnostic file uploads the target data to the smart terminal;

步骤S130,接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息;Step S130, receiving the target data fed back by the vehicle system, so as to diagnose fault information of the vehicle system according to the target data;

步骤S210,接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期;Step S210, when a diagnostic parameter modification request is received, obtain the modified diagnostic parameter and/or the modified data upload period according to the modification request;

步骤S220,根据所述修改后的诊断参数和/或所述修改后的数据上传周期更新所述诊断文件;Step S220, updating the diagnostic file according to the modified diagnostic parameter and/or the modified data upload cycle;

返回执行所述步骤S120,将所述诊断文件发送至车辆系统。Return to step S120 to send the diagnosis file to the vehicle system.

在本实施例中,智能终端在根据诊断文件获取目标数据,根据所述目标数据诊断所述车辆系统的故障信息后,可对所述诊断文件进行修改。开发人员可对所述目标数据进行故障分析,可根据实际情况重新确定诊断参数和数据上传周期,或者重新确定诊断参数或者数据上传周期中的一个。其中,所述诊断参数可以是从所述设定诊断参数中进行确定,也可以是重新根据市场预先收集的故障中进行重新设定。具体的,智能终端在接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数或者数据上传周期,或者获取修改后的诊断参数和数据上传周期。采用所述诊断参数和所述数据上传周期更新所述诊断文件。具体的,可以将所述诊断参数和/或所述数据上传周期写入当前车辆系统的整车型号对应的预设诊断文件模板中,从而对所述诊断文件进行更新。在对所述诊断文件进行更新之后,将更新后的所述诊断文件发送至车辆系统,以采用更新后的所述诊断文件重新获取目标数据,从而实现对故障的定位和复现。In this embodiment, after acquiring target data according to the diagnosis file, and diagnosing the fault information of the vehicle system according to the target data, the intelligent terminal may modify the diagnosis file. The developer can perform fault analysis on the target data, and can re-determine the diagnostic parameters and the data upload period according to the actual situation, or re-determine one of the diagnostic parameters or the data upload period. Wherein, the diagnostic parameters may be determined from the set diagnostic parameters, or may be reset from faults pre-collected in the market. Specifically, when receiving a diagnostic parameter modification request, the intelligent terminal acquires the modified diagnostic parameter or data upload period, or acquires the modified diagnostic parameter and data upload period according to the modification request. The diagnostic file is updated using the diagnostic parameters and the data upload cycle. Specifically, the diagnostic parameters and/or the data upload period may be written into a preset diagnostic file template corresponding to the vehicle model of the current vehicle system, so as to update the diagnostic file. After the diagnostic file is updated, the updated diagnostic file is sent to the vehicle system, and the updated diagnostic file is used to obtain target data again, so as to locate and reproduce the fault.

可选地,在更新诊断文件之后,可更新诊断文件版本,可通过OTA平台升级诊断文件版本,在新的诊断文件版本上进行试验验证,验证结束后恢复默认的诊断文件,只进行法规的数据上传。Optionally, after updating the diagnostic file, the version of the diagnostic file can be updated, and the version of the diagnostic file can be upgraded through the OTA platform, and the test verification can be performed on the new version of the diagnostic file. upload.

本实施例根据上述技术方案,由于采用了在根据目标数据诊断车辆系统的故障信息之后,在接收到诊断参数修改请求时,采用修改请求修改后的诊断参数和/或修改后的数据上传周期更新诊断文件,采用更新后的诊断文件重新获取目标数据,从而实现对故障的定位和复现。According to the above technical solution, the present embodiment adopts the modified diagnostic parameters and/or the modified data upload cycle to update the diagnostic parameters after the modification request is received after diagnosing the fault information of the vehicle system according to the target data. Diagnosis file, use the updated diagnosis file to re-obtain the target data, so as to locate and reproduce the fault.

第三实施例:Third embodiment:

如图3所示,在本发明的第三实施例中,本发明的车辆数据的获取方法,包括以下步骤:As shown in FIG. 3 , in the third embodiment of the present invention, the vehicle data acquisition method of the present invention includes the following steps:

步骤S110,根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;Step S110, generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period;

步骤S120,将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;Step S120, sending the diagnosis file to the vehicle system, wherein after receiving the diagnosis file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnosis parameters in the diagnosis file, and selects the target data according to the diagnosis file. The set data upload cycle in the diagnostic file uploads the target data to the smart terminal;

步骤S130,接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息;Step S130, receiving the target data fed back by the vehicle system, so as to diagnose fault information of the vehicle system according to the target data;

步骤S310,根据所述目标数据分析所述车辆系统的故障信息;Step S310, analyzing the fault information of the vehicle system according to the target data;

步骤S320,根据所述故障信息确定车辆故障原因是否为预设故障原因;Step S320, determining whether the vehicle failure cause is a preset failure cause according to the failure information;

根据所述故障信息确定车辆故障原因是预设故障原因时,执行步骤S330,采用初始诊断参数和初始数据上传周期更新所述诊断文件;When it is determined according to the failure information that the cause of the vehicle failure is the preset failure cause, step S330 is performed, and the diagnosis file is updated by using the initial diagnosis parameters and the initial data upload cycle;

根据所述故障信息确定车辆故障原因不是所述预设故障原因时,执行步骤S210,接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期;When it is determined according to the failure information that the cause of the vehicle failure is not the preset failure cause, step S210 is executed, and when a diagnostic parameter modification request is received, the modified diagnostic parameters and/or the modified data upload cycle are acquired according to the modification request ;

步骤S220,根据所述修改后的诊断参数和/或所述修改后的数据上传周期更新所述诊断文件;Step S220, updating the diagnostic file according to the modified diagnostic parameter and/or the modified data upload cycle;

返回执行所述步骤S120,将所述诊断文件发送至车辆系统。Return to step S120 to send the diagnosis file to the vehicle system.

在本实施例中,在根据目标数据诊断车辆系统的故障信息之后,可根据所述目标数据具体分析所述车辆系统的车辆故障原因。在所述车辆故障原因是预设故障原因时,表示故障定位成功,可采用初始诊断参数和初始数据上传周期更新所述诊断文件,以防止过量收集车辆信息,造成数据流量浪费,引起客户抱怨。其中,所述预设故障原因可根据大量的其他车辆系统出现的故障进行确定,并预先存储在数据库中。所述初始诊断参数和所述初始数据上传周期为出厂时设定默认的。In this embodiment, after diagnosing the failure information of the vehicle system according to the target data, the cause of the vehicle failure of the vehicle system may be specifically analyzed according to the target data. When the vehicle failure cause is the preset failure cause, it means that the fault location is successful, and the diagnosis file can be updated by using the initial diagnosis parameters and the initial data upload cycle to prevent excessive collection of vehicle information, waste of data traffic, and customer complaints. Wherein, the preset failure cause may be determined according to a large number of failures occurring in other vehicle systems, and stored in a database in advance. The initial diagnostic parameters and the initial data upload period are set by default at the factory.

在本实施例中,在所述车辆故障原因不是所述预设故障原因时,表示此时故障定位还未成功。需要进一步对故障进行定位,在接收诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期;根据所述修改后的诊断参数和/或所述修改后的数据上传周期更新所述诊断文件;将所述诊断文件发送至车辆系统,以采用更新后的所述诊断文件重新获取目标数据,从而实现对故障的定位和复现。In this embodiment, when the cause of the vehicle failure is not the preset failure cause, it means that the fault location has not been successful at this time. It is necessary to further locate the fault, and when receiving a diagnostic parameter modification request, obtain the modified diagnostic parameters and/or the modified data upload cycle according to the modification request; according to the modified diagnostic parameters and/or the modified The diagnostic file is updated in the subsequent data upload cycle; the diagnostic file is sent to the vehicle system, so as to use the updated diagnostic file to obtain target data again, so as to locate and reproduce the fault.

本实施例根据上述技术方案,由于采用根据故障信息确定车辆故障原因,在所述车辆故障原因是预设故障原因时,恢复出厂默认的诊断文件,从而防止过量收集车辆信息,造成数据流量浪费,引起客户抱怨。在所述车辆故障原因不是所述预设故障原因时,对所述诊断文件进行更新的技术手段,实现对故障的定位和复现。In this embodiment, according to the above technical solution, since the cause of the vehicle failure is determined according to the failure information, when the cause of the vehicle failure is the preset failure cause, the factory default diagnosis file is restored, thereby preventing excessive collection of vehicle information and waste of data traffic. cause customers to complain. When the cause of the vehicle failure is not the preset failure cause, the technical means of updating the diagnosis file realizes the location and reproduction of the failure.

第四实施例:Fourth embodiment:

基于同一发明构思,如图4所示,本发明还提出了一种应用于车辆系统的车辆数据的获取方法。所述车辆数据的获取方法包括:Based on the same inventive concept, as shown in FIG. 4 , the present invention also proposes a method for acquiring vehicle data applied to a vehicle system. The method for acquiring the vehicle data includes:

步骤S410,接收智能终端发送的诊断文件,所述诊断文件包括设定诊断参数以及设定数据上传周期;Step S410, receiving a diagnosis file sent by the intelligent terminal, where the diagnosis file includes setting the diagnosis parameters and setting the data upload period;

步骤S420,根据所述诊断文件中的设定诊断参数筛选目标数据;Step S420, screening the target data according to the set diagnostic parameters in the diagnostic file;

步骤S430,根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端。Step S430, upload the target data to the smart terminal according to the set data upload period in the diagnosis file.

在本实施例中,在生成诊断文件之后,将所述诊断文件发送至车辆系统。具体的,所述车辆系统包括车联网后台终端、远程控制终端、电子控制单元。所述车联网后台终端在接收到智能终端发送的诊断文件后,将所述诊断文件通过远程控制终端发送至电子控制单元,以从所述电子控制单元中筛选符合所述设定诊断参数对应的目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至智能终端。具体的,将所述诊断文件发送至远程控制终端,以使所述远程控制终端在接收到所述诊断文件时,生成数据采集信号,并将所述数据采集信号和所述诊断文件发送至电子控制单元,以使所述电子控制单元在接收到所述数据采集信号时,基于所述诊断文件中的数据上传周期将电子控制单元中所述设定诊断参数对应的目标数据上传至所述远程控制终端。In this embodiment, after the diagnostic file is generated, the diagnostic file is sent to the vehicle system. Specifically, the vehicle system includes a vehicle networking background terminal, a remote control terminal, and an electronic control unit. After receiving the diagnostic file sent by the intelligent terminal, the IoV background terminal sends the diagnostic file to the electronic control unit through the remote control terminal, so as to select the corresponding diagnostic parameters from the electronic control unit. target data, and upload the target data to the smart terminal according to the set data upload period in the diagnosis file. Specifically, the diagnosis file is sent to the remote control terminal, so that when the remote control terminal receives the diagnosis file, a data collection signal is generated, and the data collection signal and the diagnosis file are sent to the electronic a control unit, so that when the electronic control unit receives the data acquisition signal, the target data corresponding to the set diagnostic parameters in the electronic control unit is uploaded to the remote control unit based on the data upload cycle in the diagnostic file control terminal.

其中,所述远程控制终端为T-BOX,所述T-BOX相当于无线智能终端,用于解析所述诊断文件并生成数据采集信号,并转发所述诊断文件和所述数据采集信号至电子控制单元。所述电子控制单元为ECU,所述电子控制单元中存储着车辆的运行数据,可从所述电子控制单元中获取设定诊断参数对应的目标数据。Wherein, the remote control terminal is a T-BOX, which is equivalent to a wireless intelligent terminal, and is used to parse the diagnosis file and generate a data collection signal, and forward the diagnosis file and the data collection signal to the electronic control unit. The electronic control unit is an ECU, the operation data of the vehicle is stored in the electronic control unit, and target data corresponding to the set diagnostic parameters can be obtained from the electronic control unit.

可选地,在所述诊断文件中还可设置有车辆系统的验证信息,以使电子控制单元在接收到所述诊断文件时,对所述诊断文件中的车辆系统的验证信息进行权限验证,并在权限验证成功时,根据所述诊断文件中的设定诊断参数筛选目标数据。Optionally, verification information of the vehicle system may also be set in the diagnosis file, so that the electronic control unit, when receiving the diagnosis file, performs authority verification on the verification information of the vehicle system in the diagnosis file, And when the authority verification is successful, the target data is screened according to the set diagnostic parameters in the diagnostic file.

可选地,在将目标数据上传至智能终端的过程中,所述目标数据在经过远程控制终端时,可将所述目标数据基于预设数据格式进行格式转换,并对格式转换后的所述目标数据进行打包,并将打包压缩后的所述目标数据基于数据上传周期上传至智能终端。例如,工程师使用诊断仪,点击读取发动机转速的服务,假设这个设定诊断参数用ID XX YY表示,则诊断仪将这个服务解析为22XX YY并发送至电子控制单元。从电子控制单元中返回62XXYY 0B B8,借助诊断文件中的信息,将0B B8基于预设数据格式进行转换,从而转换为具体的目标数据值3000rpm,将3000rpm反馈至智能终端。Optionally, in the process of uploading the target data to the intelligent terminal, when the target data passes through the remote control terminal, the target data can be format-converted based on a preset data format, and the format-converted The target data is packaged, and the packaged and compressed target data is uploaded to the intelligent terminal based on the data upload cycle. For example, an engineer uses a diagnostic instrument and clicks on the service to read the engine speed. Assuming that the set diagnostic parameter is represented by ID XX YY, the diagnostic instrument parses this service as 22XX YY and sends it to the electronic control unit. Return 62XXYY 0B B8 from the electronic control unit, and convert 0B B8 based on the preset data format with the help of the information in the diagnostic file, so as to convert it into a specific target data value of 3000rpm, and feed 3000rpm to the smart terminal.

本实施例根据上述技术方案,由于采用了车辆系统在获取到诊断文件之后,从电子控制单元中获取对应的目标数据并反馈至智能终端的技术手段,实现了远程诊断的目的。According to the above technical solution, the present embodiment adopts the technical means of obtaining the corresponding target data from the electronic control unit and feeding it back to the intelligent terminal after the vehicle system obtains the diagnosis file, so as to realize the purpose of remote diagnosis.

第五实施例:Fifth embodiment:

参照图5,图5为本发明车辆数据的获取方法的第五实施例的流程示意图。本实施介绍了生成诊断文件到确定故障信息的具体过程。Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a fifth embodiment of a vehicle data acquisition method of the present invention. This implementation introduces the specific process from generating diagnostic files to determining fault information.

具体的,智能终端根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;将所述诊断文件发送至车联网后台终端。所述车联网后台终端将所述诊断文件下发至远程控制终端。所述远程控制终端对所述诊断文件进行解析,生成数据采集信号,将所述数据采集信号发送至电子控制单元。所述电子控制单元根据所述诊断文件中的设定诊断参数筛选目标数据,根据所述设定数据上传周期将所述目标数据上传至所述远程控制终端。所述远程控制终端对所述目标数据进行打包,将打包后的目标数据上传至车联网后台终端。所述车联网后台终端发送所述打包后的目标数据至智能终端。所述智能终端接收所述车联网后台终端反馈的所述目标数据,根据所述目标数据诊断所述车辆系统的故障信息。Specifically, the intelligent terminal generates a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period; and sends the diagnostic file to the back-end terminal of the Internet of Vehicles. The vehicle networking background terminal sends the diagnosis file to the remote control terminal. The remote control terminal parses the diagnosis file, generates a data acquisition signal, and sends the data acquisition signal to the electronic control unit. The electronic control unit filters target data according to the set diagnostic parameters in the diagnostic file, and uploads the target data to the remote control terminal according to the set data upload cycle. The remote control terminal packages the target data, and uploads the packaged target data to the Internet of Vehicles background terminal. The vehicle networking background terminal sends the packaged target data to the intelligent terminal. The intelligent terminal receives the target data fed back by the vehicle networking background terminal, and diagnoses fault information of the vehicle system according to the target data.

本发明实施例提供了车辆数据的获取方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。This embodiment of the present invention provides an embodiment of a method for acquiring vehicle data. It should be noted that, although a logical sequence is shown in the flowchart, in some cases, the sequence shown here may be performed in a different order. or the described steps.

基于同一发明构思,本发明一实施例中还提出的一种智能终端。如图6所示,图6为本发明智能终端的硬件运行环境的结构示意图。Based on the same inventive concept, an embodiment of the present invention also proposes an intelligent terminal. As shown in FIG. 6 , FIG. 6 is a schematic structural diagram of a hardware operating environment of an intelligent terminal of the present invention.

所述智能终端可以包括:处理器1001,例如CPU,存储器1005,用户接口1003,网络接口1004,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。The intelligent terminal may include: a processor 1001 , such as a CPU, a memory 1005 , a user interface 1003 , a network interface 1004 , and a communication bus 1002 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (eg, a WI-FI interface). The memory 1005 may be high-speed RAM memory, or may be non-volatile memory, such as disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .

如图6所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及车辆数据的获取程序。其中,操作系统是管理和控制智能终端硬件和软件资源的程序,车辆数据的获取程序以及其它软件或程序的运行。As shown in FIG. 6 , the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a program for acquiring vehicle data. Among them, the operating system is a program for managing and controlling the hardware and software resources of the intelligent terminal, a program for acquiring vehicle data, and the operation of other software or programs.

在图6所示的智能终端中,用户接口1003主要用于连接智能终端,与智能终端进行数据通信;网络接口1004主要用于后台服务器,与后台服务器进行数据通信;处理器1001可以用于调用存储器1005中存储的车辆数据的获取程序。In the intelligent terminal shown in FIG. 6 , the user interface 1003 is mainly used to connect the intelligent terminal and perform data communication with the intelligent terminal; the network interface 1004 is mainly used for the background server to perform data communication with the background server; the processor 1001 can be used to call The acquisition program of the vehicle data stored in the memory 1005 .

在本实施例中,智能终端包括:存储器1005、处理器1001及存储在所述存储器上并可在所述处理器上运行的车辆数据的获取程序,其中:In this embodiment, the intelligent terminal includes: a memory 1005, a processor 1001, and a program for acquiring vehicle data stored in the memory and running on the processor, wherein:

处理器1001调用存储器1005中存储的车辆数据的获取程序时,执行以下操作:When the processor 1001 calls the acquisition program of the vehicle data stored in the memory 1005, the following operations are performed:

根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;Generate a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload cycle;

将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;Send the diagnostic file to the vehicle system, wherein after receiving the diagnostic file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnostic parameters in the diagnostic file, and selects the target data according to the diagnostic file in the diagnostic file. The set data upload cycle of the set data upload cycle to upload the target data to the intelligent terminal;

接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息。The target data fed back by the vehicle system is received, so as to diagnose fault information of the vehicle system according to the target data.

处理器1001调用存储器1005中存储的车辆数据的获取程序时,执行以下操作:When the processor 1001 calls the acquisition program of the vehicle data stored in the memory 1005, the following operations are performed:

获取当前车辆系统的整车型号对应的预设诊断文件模板,以及获取设定诊断参数以及设定数据上传周期;Obtain the preset diagnostic file template corresponding to the vehicle model of the current vehicle system, as well as obtain the set diagnostic parameters and set the data upload cycle;

将所述设定诊断参数以及所述设定数据上传周期写入所述预设诊断文件模板,生成所述车辆系统对应的诊断文件。Writing the set diagnostic parameters and the set data upload period into the preset diagnostic file template to generate a diagnostic file corresponding to the vehicle system.

处理器1001调用存储器1005中存储的车辆数据的获取程序时,执行以下操作:When the processor 1001 calls the acquisition program of the vehicle data stored in the memory 1005, the following operations are performed:

接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期;When receiving a diagnostic parameter modification request, obtain the modified diagnostic parameter and/or the modified data upload period according to the modification request;

根据所述修改后的诊断参数和/或所述修改后的数据上传周期更新所述诊断文件;Update the diagnostic file according to the modified diagnostic parameters and/or the modified data upload cycle;

返回执行所述将所述诊断文件发送至车辆系统的步骤。Return to performing the step of sending the diagnostic file to the vehicle system.

处理器1001调用存储器1005中存储的车辆数据的获取程序时,执行以下操作:When the processor 1001 calls the acquisition program of the vehicle data stored in the memory 1005, the following operations are performed:

根据所述目标数据分析所述车辆系统的故障信息;Analyze fault information of the vehicle system according to the target data;

根据所述故障信息确定车辆故障原因是预设故障原因时,采用初始诊断参数和初始数据上传周期更新所述诊断文件;When it is determined according to the failure information that the cause of the vehicle failure is the preset failure cause, the diagnosis file is updated by using the initial diagnosis parameters and the initial data upload cycle;

根据所述故障信息确定车辆故障原因不是所述预设故障原因时,执行所述接收到诊断参数修改请求时,根据所述修改请求获取修改后的诊断参数和/或修改后的数据上传周期的步骤。When it is determined according to the failure information that the cause of the vehicle failure is not the preset failure cause, executing the process of obtaining the modified diagnostic parameters and/or the modified data upload cycle according to the modification request when the request for modification of the diagnostic parameters is received. step.

基于同一发明构思,本发明一实施例还提出了一种智能终端,参照图7,图7为本发明智能终端的示意图,所述智能终端可包括:Based on the same inventive concept, an embodiment of the present invention also proposes an intelligent terminal. Referring to FIG. 7 , FIG. 7 is a schematic diagram of an intelligent terminal of the present invention. The intelligent terminal may include:

生成模块10,用于根据设定诊断参数和设定数据上传周期生成车辆系统对应的诊断文件;The generating module 10 is configured to generate a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data upload period;

发送模块20,用于将所述诊断文件发送至车辆系统,其中,所述车辆系统接收到所述智能终端发送的诊断文件后,根据所述诊断文件中的设定诊断参数筛选目标数据,并根据所述诊断文件中的所述设定数据上传周期将所述目标数据上传至所述智能终端;The sending module 20 is configured to send the diagnostic file to the vehicle system, wherein after receiving the diagnostic file sent by the intelligent terminal, the vehicle system filters the target data according to the set diagnostic parameters in the diagnostic file, and uploading the target data to the smart terminal according to the set data upload period in the diagnosis file;

接收模块30,用于接收所述车辆系统反馈的所述目标数据,以根据所述目标数据诊断所述车辆系统的故障信息。The receiving module 30 is configured to receive the target data fed back by the vehicle system, so as to diagnose fault information of the vehicle system according to the target data.

本发明系统的具体实施方式与上述系统应用于智能终端的车辆数据的获取方法各实施例基本相同,在此不再赘述。The specific implementation of the system of the present invention is basically the same as that of the above-mentioned embodiments of the vehicle data acquisition method applied to the intelligent terminal, and will not be repeated here.

基于同一发明构思,本发明实施例还提供了一种存储介质,所述存储介质存储有车辆数据的获取程序,所述车辆数据的获取程序被处理器执行时实现如上所述的车辆数据的获取的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Based on the same inventive concept, an embodiment of the present invention further provides a storage medium, where the storage medium stores a vehicle data acquisition program, and the vehicle data acquisition program is executed by a processor to achieve the above vehicle data acquisition and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.

由于本发明实施例提供的存储介质,为实施本发明实施例的方法所采用的存储介质,故而基于本发明实施例所介绍的方法,本领域所属人员能够了解该存储介质的具体结构及变形,故而在此不再赘述。凡是本发明实施例的方法所采用的存储介质都属于本发明所欲保护的范围。Since the storage medium provided by the embodiment of the present invention is the storage medium used to implement the method of the embodiment of the present invention, based on the method introduced in the embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the storage medium, Therefore, it is not repeated here. All storage media used in the methods of the embodiments of the present invention belong to the scope of protection of the present invention.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flows of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本发明可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that, in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not preclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although the preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (10)

1. The method for acquiring the vehicle data is characterized by being applied to an intelligent terminal; the vehicle data acquisition method comprises the following steps:
generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data uploading period;
the diagnostic file is sent to a vehicle system, wherein after the vehicle system receives the diagnostic file sent by the intelligent terminal, target data are screened according to set diagnostic parameters in the diagnostic file, and the target data are uploaded to the intelligent terminal according to the set data uploading period in the diagnostic file;
and receiving the target data fed back by the vehicle system so as to diagnose fault information of the vehicle system according to the target data.
2. The method for acquiring vehicle data according to claim 1, wherein the step of generating the diagnostic file corresponding to the vehicle system according to the set diagnostic parameter and the set data uploading cycle comprises:
acquiring a preset diagnosis file template corresponding to the whole vehicle model of the current vehicle system, and acquiring set diagnosis parameters and a set data uploading period;
and writing the set diagnosis parameters and the set data uploading period into the preset diagnosis file template to generate a diagnosis file corresponding to the vehicle system.
3. The method for acquiring vehicle data according to claim 1, wherein after the step of receiving the target data fed back by the vehicle system to determine the fault information of the vehicle system according to the target data, the method further comprises:
when a diagnosis parameter modification request is received, acquiring modified diagnosis parameters and/or a modified data uploading period according to the modification request;
updating the diagnostic file according to the modified diagnostic parameters and/or the modified data uploading period;
and returning to the step of sending the diagnosis file to the vehicle system.
4. The vehicle data acquisition method according to claim 3, wherein after the step of receiving the target data fed back by the vehicle system to determine the failure information of the vehicle system based on the target data, the method further comprises:
analyzing fault information of the vehicle system according to the target data;
when the fault reason of the vehicle is determined to be a preset fault reason according to the fault information, updating the diagnostic file by adopting initial diagnostic parameters and an initial data uploading cycle;
and when the vehicle fault reason is determined not to be the preset fault reason according to the fault information, executing the step of acquiring the modified diagnosis parameters and/or the modified data uploading period according to the modification request when the diagnosis parameter modification request is received.
5. The method for acquiring the vehicle data is characterized by being applied to a vehicle system; the vehicle data acquisition method comprises the following steps:
receiving a diagnosis file sent by an intelligent terminal, wherein the diagnosis file comprises set diagnosis parameters and a set data uploading period;
screening target data according to set diagnosis parameters in the diagnosis file;
and uploading the target data to the intelligent terminal according to the set data uploading period in the diagnosis file.
6. The vehicle data acquisition method according to claim 5, wherein the diagnostic file further includes authentication information of a vehicle system; before the step of screening the target data according to the set diagnosis parameters in the diagnosis file, the method further comprises the following steps:
performing authority verification on verification information of the vehicle system in the diagnosis file;
and when the authority verification of the vehicle system is successful, the step of screening target data according to the set diagnosis parameters in the diagnosis file is executed.
7. The vehicle data acquisition method according to claim 5, wherein the step of uploading the target data to the intelligent terminal according to the data upload period in the diagnostic file comprises:
carrying out format conversion on the target data based on a preset data format;
packing the target data after format conversion;
and uploading the packed target data to the intelligent terminal according to the data uploading period in the diagnosis file.
8. An intelligent terminal, characterized in that, intelligent terminal includes: memory, a processor and a vehicle data acquisition program stored on the memory and executable on the processor, the vehicle data acquisition program, when executed by the processor, implementing the steps of the vehicle data acquisition method according to any one of claims 1 to 4.
9. An intelligent terminal, characterized in that, intelligent terminal includes:
the generating module is used for generating a diagnostic file corresponding to the vehicle system according to the set diagnostic parameters and the set data uploading period;
the sending module is used for sending the diagnosis file to a vehicle system, wherein the vehicle system screens target data according to set diagnosis parameters in the diagnosis file after receiving the diagnosis file sent by the intelligent terminal, and uploads the target data to the intelligent terminal according to the set data uploading period in the diagnosis file;
the receiving module is used for receiving the target data fed back by the vehicle system so as to diagnose fault information of the vehicle system according to the target data.
10. A storage medium characterized by storing a vehicle data acquisition program that realizes the steps of the vehicle data acquisition method according to any one of claims 1 to 7 when executed by a processor.
CN202111596464.XA 2021-12-23 2021-12-23 Vehicle data acquisition method, intelligent terminal and storage medium Active CN114285840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111596464.XA CN114285840B (en) 2021-12-23 2021-12-23 Vehicle data acquisition method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111596464.XA CN114285840B (en) 2021-12-23 2021-12-23 Vehicle data acquisition method, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114285840A true CN114285840A (en) 2022-04-05
CN114285840B CN114285840B (en) 2024-08-06

Family

ID=80874970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111596464.XA Active CN114285840B (en) 2021-12-23 2021-12-23 Vehicle data acquisition method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114285840B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116796703A (en) * 2023-07-17 2023-09-22 新疆大学 Custom generation method of vehicle overhaul or fault check processing scheme and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172446A1 (en) * 2002-08-01 2004-09-02 Dorman Matthew M. Data capture and management system
CN103529821A (en) * 2013-09-29 2014-01-22 重庆邮电大学 Configurable method and device for diagnostic protocol stack system based on CAN (controller area network) bus
CN104932480A (en) * 2015-04-29 2015-09-23 深圳市元征软件开发有限公司 Automobile diagnostic system design method and apparatus
CN107423492A (en) * 2017-06-30 2017-12-01 林德(中国)叉车有限公司 A kind of fork truck diagnostic test method and system based on template
US20180069947A1 (en) * 2016-09-07 2018-03-08 Adobe Systems Incorporated Automatic Integrity Checking of Content Delivery Network Files
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
CN112925296A (en) * 2021-01-29 2021-06-08 华南理工大学 Graphical vehicle-mounted network diagnosis method based on artificial intelligence
US20210200888A1 (en) * 2019-12-31 2021-07-01 Digital Guardian, Inc. Systems and methods for tracing data across file-related operations
CN113238511A (en) * 2021-06-01 2021-08-10 北京汽车集团越野车有限公司 Configuration method, device and equipment of vehicle electronic control unit

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040172446A1 (en) * 2002-08-01 2004-09-02 Dorman Matthew M. Data capture and management system
CN103529821A (en) * 2013-09-29 2014-01-22 重庆邮电大学 Configurable method and device for diagnostic protocol stack system based on CAN (controller area network) bus
CN104932480A (en) * 2015-04-29 2015-09-23 深圳市元征软件开发有限公司 Automobile diagnostic system design method and apparatus
US20180069947A1 (en) * 2016-09-07 2018-03-08 Adobe Systems Incorporated Automatic Integrity Checking of Content Delivery Network Files
CN107423492A (en) * 2017-06-30 2017-12-01 林德(中国)叉车有限公司 A kind of fork truck diagnostic test method and system based on template
CN109164783A (en) * 2018-07-26 2019-01-08 深圳市元征科技股份有限公司 Vehicular diagnostic method, device, equipment and medium
US20210200888A1 (en) * 2019-12-31 2021-07-01 Digital Guardian, Inc. Systems and methods for tracing data across file-related operations
CN112925296A (en) * 2021-01-29 2021-06-08 华南理工大学 Graphical vehicle-mounted network diagnosis method based on artificial intelligence
CN113238511A (en) * 2021-06-01 2021-08-10 北京汽车集团越野车有限公司 Configuration method, device and equipment of vehicle electronic control unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116796703A (en) * 2023-07-17 2023-09-22 新疆大学 Custom generation method of vehicle overhaul or fault check processing scheme and storage medium
CN116796703B (en) * 2023-07-17 2024-05-24 新疆大学 Custom generation method of vehicle overhaul or fault check processing scheme and storage medium

Also Published As

Publication number Publication date
CN114285840B (en) 2024-08-06

Similar Documents

Publication Publication Date Title
CN107491061B (en) A network automated test system and method for commercial vehicle OBD diagnostic equipment
CN105302113B (en) A kind of configurableization and expansible automotive diagnostic system and diagnostic method
CN113111000B (en) Continuous integrated automatic test system and method, electronic equipment and storage medium
CN112241360B (en) Test case generation method, device, equipment and storage medium
CN112817872A (en) Development test system and method
CN107370637B (en) Vehicle-mounted ECU communication function automatic test system and method
CN114168429B (en) Error analysis method, device, computer equipment and storage medium
CN115118577A (en) Method and device for determining remote upgrade abnormal reason, electronic equipment and storage medium
CN116860502A (en) Automatic data writing and reading and diagnosis method and system based on configuration file and DBC
CN118838304A (en) Diagnostic test method, device, equipment and storage medium of vehicle-mounted electronic control unit
CN114285840B (en) Vehicle data acquisition method, intelligent terminal and storage medium
CN114915643B (en) Configuration method, device, equipment and medium of railway signal centralized monitoring system
CN111857103B (en) Vehicle diagnosis method, device, equipment and storage medium
CN118779228A (en) Vehicle OTA platform testing method, device, electronic equipment and storage medium
CN119449650A (en) Controller area network communication interface testing method, device, equipment and vehicle
CN118394031A (en) Method, device, apparatus, storage medium and program product for remote diagnosis of motor vehicle
CN114860619B (en) Database audit program regression testing method and device
CN117376225A (en) Communication test method and electronic equipment
CN115543387A (en) Upgrading method and device of integrated SOC software, vehicle and storage medium
CN111078549B (en) Code coverage rate processing method and device and computer equipment
CN114741307A (en) Use case execution method and device, electronic equipment and storage medium
CN117631655B (en) Secure communication method, apparatus, device and storage medium for vehicle diagnosis
JP6072547B2 (en) Application test system
CN120670289A (en) A software-based diagnostic test method, system, device and medium
CN120104463A (en) Test method, test system, device, electronic device and storage medium

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310000 1760 Jiangling Road, Binjiang District, Hangzhou, Zhejiang.

Patentee after: ZHEJIANG GEELY HOLDING GROUP Co.,Ltd.

Country or region after: China

Patentee after: Zhejiang Remote New Energy Commercial Vehicle Group Co.,Ltd.

Patentee after: Zhejiang remote commercial vehicle R & D Co.,Ltd.

Address before: 310000 1760 Jiangling Road, Binjiang District, Hangzhou, Zhejiang.

Patentee before: ZHEJIANG GEELY HOLDING GROUP Co.,Ltd.

Country or region before: China

Patentee before: ZHEJIANG GEELY NEW ENERGY COMMERCIAL VEHICLE GROUP Co.,Ltd.

Patentee before: Zhejiang remote commercial vehicle R & D Co.,Ltd.