CN117032162A - Remote diagnosis method, device, equipment and storage medium for vehicle - Google Patents
Remote diagnosis method, device, equipment and storage medium for vehicle Download PDFInfo
- Publication number
- CN117032162A CN117032162A CN202310985266.5A CN202310985266A CN117032162A CN 117032162 A CN117032162 A CN 117032162A CN 202310985266 A CN202310985266 A CN 202310985266A CN 117032162 A CN117032162 A CN 117032162A
- Authority
- CN
- China
- Prior art keywords
- diagnosis
- diagnostic
- script
- vehicle
- cloud
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
Abstract
Description
技术领域Technical field
本申请涉及车联网技术领域,更具体地,涉及一种车辆的远程诊断方法、装置、电子设备以及存储介质。The present application relates to the technical field of Internet of Vehicles, and more specifically, to a remote diagnosis method, device, electronic device and storage medium for a vehicle.
背景技术Background technique
当前远程诊断技术的发展现状分为两个分支,一个是重端轻云,另一个是重云轻端。重端轻云指的是在车端做了很多故障监测的触发逻辑,故障发生时,主动上报云端;重云轻端指的是在云端做预测模型,监测车辆上报的数据,通过智能识别算法预测可能产生的故障。无论是重端轻云还是重云轻端在最终对车辆下发诊断任务时,都是基于固定诊断脚本进行发送,无法准确的对车端故障进行诊断。The current development status of remote diagnosis technology is divided into two branches, one is heavy on the terminal and light on the cloud, and the other is heavy on the cloud and light on the terminal. Emphasis on the end and light on the cloud means that a lot of triggering logic for fault monitoring is done on the vehicle side. When a fault occurs, it is proactively reported to the cloud. Emphasis on the cloud and light on the end means that prediction models are built on the cloud, monitoring the data reported by the vehicle, and using intelligent identification algorithms. Anticipate possible failures. Regardless of whether it is heavy-end and light-end cloud or heavy-cloud and light-end, when the final diagnosis task is issued to the vehicle, it is sent based on a fixed diagnosis script, which cannot accurately diagnose vehicle-side faults.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种车辆的远程诊断方法、装置、电子设备以及存储介质。In view of the above problems, this application proposes a remote diagnosis method, device, electronic device and storage medium for a vehicle.
第一方面,本申请实施例提供了一种车辆的远程诊断方法,所述方法包括:车端从云端获取目标诊断业务对应的诊断脚本;车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令;车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元;车端的所述电子控制单元执行所述诊断指令对应的诊断任务并返回诊断结果。In the first aspect, embodiments of the present application provide a remote diagnosis method for vehicles. The method includes: the vehicle terminal obtains the diagnostic script corresponding to the target diagnostic service from the cloud; the central domain controller of the vehicle terminal parses the diagnostic script, Obtain diagnostic instructions; the central domain controller of the vehicle forwards the diagnostic instructions to the electronic control unit corresponding to the diagnostic instructions; the electronic control unit of the vehicle executes the diagnostic tasks corresponding to the diagnostic instructions and returns the diagnostic results.
在一种可选的实施例中,所述车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令,包括:车端的中央域控制器从云端获取所述目标诊断业务对应的诊断信息;提取所述诊断信息中所述诊断脚本对应的执行条件;获取所述车端的当前车况,判断所述当前车况是否满足所述执行条件;若满足所述执行条件,从所述诊断信息中获取脚本运行指令;根据所述脚本运行指令,运行所述诊断脚本,获取所述诊断脚本中的诊断指令。In an optional embodiment, the vehicle-side central domain controller parses the diagnostic script and obtains diagnostic instructions, including: the vehicle-side central domain controller obtains diagnostic information corresponding to the target diagnostic service from the cloud. ; Extract the execution conditions corresponding to the diagnostic script in the diagnostic information; obtain the current vehicle condition of the vehicle terminal, and determine whether the current vehicle condition satisfies the execution condition; if the execution condition is met, obtain it from the diagnostic information Script running instructions: run the diagnostic script according to the script running instructions, and obtain the diagnostic instructions in the diagnostic script.
在一种可选的实施例中,所述车端的中央域控制器从云端获取所述目标诊断业务对应的诊断信息,包括:根据所述目标诊断业务的确定操作,从云端获取携带有所述诊断脚本的主题信息;获取所述主题信息中的诊断信息。In an optional embodiment, the central domain controller of the vehicle obtains the diagnostic information corresponding to the target diagnostic service from the cloud, including: according to the determination operation of the target diagnostic service, obtains the diagnostic information carrying the target diagnostic service from the cloud. Diagnose the theme information of the script; obtain the diagnostic information in the theme information.
在一种可选的实施例中,所述车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元,包括:车端的中央域控制器通过诊断路由模块对所述诊断指令进行分析,获取所述诊断指令对应的地址;获取所述地址对应的电子控制单元;利用所述诊断路由模块将所述诊断指令向所述电子控制单元进行转发。In an optional embodiment, the central domain controller of the vehicle forwards the diagnostic instruction to the electronic control unit corresponding to the diagnostic instruction, including: the central domain controller of the vehicle forwards the diagnostic command to the diagnostic routing module. Analyze the diagnostic instruction to obtain the address corresponding to the diagnostic instruction; obtain the electronic control unit corresponding to the address; and use the diagnostic routing module to forward the diagnostic instruction to the electronic control unit.
第二方面,本申请实施例提供了一种车辆的远程诊断方法,所述方法包括:云端响应于终端发送的针对车端的目标诊断业务,确定与所述目标诊断业务对应的诊断脚本;获取所述车端对应的车辆识别码;云端的诊断云平台将所述诊断脚本发送至所述车辆识别码对应的车端。In a second aspect, embodiments of the present application provide a remote diagnosis method for a vehicle. The method includes: the cloud responds to a target diagnostic service for the vehicle sent by the terminal, determines a diagnostic script corresponding to the target diagnostic service; and obtains the target diagnostic service. The vehicle identification code corresponding to the vehicle terminal; the diagnostic cloud platform of the cloud sends the diagnosis script to the vehicle terminal corresponding to the vehicle identification code.
在一种可选的实施例中,所述响应于终端发送的针对车端的目标诊断业务之前,包括:基于不同诊断业务对应的诊断脚本的编写操作,云端的脚本编辑平台获取编写好的诊断脚本;云端的脚本编辑平台将所述编写好的诊断脚本同步至云端的诊断云平台。In an optional embodiment, before responding to the target diagnostic service for the car sent by the terminal, the step includes: writing diagnostic scripts corresponding to different diagnostic services, and the cloud script editing platform obtains the written diagnostic script. ; The cloud script editing platform synchronizes the written diagnostic script to the cloud diagnostic cloud platform.
在一种可选的实施例中,所述云端的脚本编辑平台将所述编写好的诊断脚本同步至云端的诊断云平台,包括:云端的信息安全服务器获取所述编写好的诊断脚本;In an optional embodiment, the cloud script editing platform synchronizes the written diagnostic script to the cloud diagnostic cloud platform, including: the cloud information security server obtains the written diagnostic script;
云端的信息安全服务器对所述编写好的诊断脚本进行签名认证;将所述签名认证后的诊断脚本同步至云端的诊断云平台。The information security server in the cloud performs signature authentication on the written diagnostic script; synchronizes the signed-authenticated diagnostic script to the diagnostic cloud platform in the cloud.
第三方面,本申请实施例提供了一种车辆的远程诊断装置,所述装置包括:诊断脚本获取模块,用于车端从云端获取目标诊断业务对应的诊断脚本;诊断指令获取模块,用于车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令;诊断指令转发模块,用于车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元;诊断结果获取模块,用于车端的所述电子控制单元执行所述诊断指令对应的诊断任务并返回诊断结果。In a third aspect, embodiments of the present application provide a remote diagnosis device for a vehicle. The device includes: a diagnostic script acquisition module for the vehicle to acquire the diagnostic script corresponding to the target diagnostic service from the cloud; and a diagnostic instruction acquisition module for The central domain controller on the vehicle side parses the diagnostic script and obtains the diagnostic instructions; the diagnostic instruction forwarding module is used by the central domain controller on the vehicle terminal to forward the diagnostic instructions to the electronic control unit corresponding to the diagnostic instructions; the diagnosis results The acquisition module is used for the electronic control unit of the vehicle to execute the diagnosis task corresponding to the diagnosis instruction and return the diagnosis result.
第四方面,本申请实施例提供了一种车辆的远程诊断装置,所述装置包括:诊断脚本确定模块,用于云端响应于终端发送的针对车端的目标诊断业务,确定与所述目标诊断业务对应的诊断脚本;车辆识别码获取模块,用于获取所述车端对应的车辆识别码;诊断脚本发送模块,用于云端的诊断云平台将所述诊断脚本发送至所述车辆识别码对应的车端。In the fourth aspect, embodiments of the present application provide a remote diagnosis device for a vehicle. The device includes: a diagnostic script determination module, configured for the cloud to respond to the target diagnostic service for the vehicle sent by the terminal, and determine the target diagnostic service related to the target diagnostic service. The corresponding diagnostic script; the vehicle identification code acquisition module is used to obtain the vehicle identification code corresponding to the vehicle terminal; the diagnostic script sending module is used for the cloud diagnosis cloud platform to send the diagnosis script to the vehicle identification code corresponding car end.
第五方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的车辆的远程诊断方法以及第二方面提供的车辆的远程诊断方法。In a fifth aspect, embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs are configured to execute the remote diagnosis method of the vehicle provided by the first aspect and the remote diagnosis method of the vehicle provided by the second aspect.
第六方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的车辆的远程诊断方法以及第二方面提供的车辆的远程诊断方法。In a sixth aspect, embodiments of the present application provide a computer-readable storage medium. Program code is stored in the computer-readable storage medium. The program code can be called by a processor to execute the vehicle provided in the first aspect. The remote diagnosis method and the remote diagnosis method of the vehicle provided by the second aspect.
本申请提供的方案,根据车端实际所需的目标诊断业务获取到对应的诊断脚本,在通过中央域控制器对诊断脚本进行解析,并将解析得到的诊断指令向电子控制单元进行转发,以使电子控制单元按照诊断指令进行诊断操作,并向反馈诊断结果。根据车端的目标诊断业务获取对应的诊断脚本,实现了诊断脚本的灵活配置,避免了固定脚本诊断任务单一的情况,而且,通过目标诊断业务对应的诊断脚本进行诊断,能更加准确的对车端实际故障状态进行诊断,提高了故障诊断的准确性。The solution provided by this application obtains the corresponding diagnostic script based on the target diagnostic service actually required by the vehicle end, parses the diagnostic script through the central domain controller, and forwards the parsed diagnostic instructions to the electronic control unit to Make the electronic control unit perform diagnostic operations according to the diagnostic instructions and feed back the diagnostic results. Obtaining the corresponding diagnostic script according to the target diagnosis service of the vehicle terminal realizes the flexible configuration of the diagnostic script and avoids the situation of single fixed script diagnosis task. Moreover, diagnosis through the diagnostic script corresponding to the target diagnosis service can more accurately diagnose the vehicle terminal. The actual fault status is diagnosed, which improves the accuracy of fault diagnosis.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1示出了本申请一实施例提供的车辆的远程诊断方法的流程示意图。Figure 1 shows a schematic flowchart of a vehicle remote diagnosis method provided by an embodiment of the present application.
图2示出了本申请一实施例提供的步骤S120的详细流程示意图。Figure 2 shows a detailed flow chart of step S120 provided by an embodiment of the present application.
图3示出了本申请另一实施例提供的车辆的远程诊断方法的流程示意图。FIG. 3 shows a schematic flowchart of a vehicle remote diagnosis method provided by another embodiment of the present application.
图4示出了本申请另一实施例提供的步骤S210的详细流程示意图。Figure 4 shows a detailed flow chart of step S210 provided by another embodiment of the present application.
图5示出了本申请实施例提供的一种车辆的远程诊断方法的信息交互示意图。FIG. 5 shows a schematic diagram of information interaction of a vehicle remote diagnosis method provided by an embodiment of the present application.
图6示出了本申请一实施例提供的车辆的远程诊断装置的结构框图。FIG. 6 shows a structural block diagram of a vehicle remote diagnosis device provided by an embodiment of the present application.
图7示出了本申请另一实施例提供的车辆的远程诊断装置的结构框图。FIG. 7 shows a structural block diagram of a vehicle remote diagnosis device provided by another embodiment of the present application.
图8示出了本申请实施例提供的用于执行根据本申请实施例的车辆的远程诊断方法的电子设备的结构框图。FIG. 8 shows a structural block diagram of an electronic device provided by an embodiment of the present application for performing a remote diagnosis method for a vehicle according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those in the technical field to better understand the solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application.
针对背景技术提出的技术问题,发明人提出了一种车辆的远程诊断方法、装置、电子设备以及存储介质,根据车端实际所需的目标诊断业务获取到对应的诊断脚本,在通过中央域控制器对诊断脚本进行解析,并将解析得到的诊断指令向电子控制单元进行转发,以使电子控制单元按照诊断指令进行诊断操作,并向反馈诊断结果。根据车端的目标诊断业务获取对应的诊断脚本,实现了诊断脚本的灵活配置,避免了固定脚本诊断任务单一的情况,而且,通过目标诊断业务对应的诊断脚本进行诊断,能更加准确的对车端实际故障状态进行诊断,提高了故障诊断的准确性。In view of the technical problems raised by the background art, the inventor proposed a remote diagnosis method, device, electronic equipment and storage medium for a vehicle. The corresponding diagnosis script is obtained according to the target diagnosis service actually required by the vehicle end, and is controlled through the central domain. The device parses the diagnostic script and forwards the parsed diagnostic instructions to the electronic control unit, so that the electronic control unit performs diagnostic operations according to the diagnostic instructions and feeds back the diagnostic results. Obtaining the corresponding diagnostic script according to the target diagnosis service of the vehicle terminal realizes the flexible configuration of the diagnostic script and avoids the situation of single fixed script diagnosis task. Moreover, diagnosis through the diagnostic script corresponding to the target diagnosis service can more accurately diagnose the vehicle terminal. The actual fault status is diagnosed, which improves the accuracy of fault diagnosis.
请参阅图1,图1示出了本申请一实施例提供的车辆的远程诊断方法的流程示意图。在具体的实施例中,所述车辆的远程诊断方法应用于如图6所示的车辆的远程诊断装置300以及配置有所述车辆的远程诊断装置300的电子设备100。Please refer to FIG. 1 , which shows a schematic flowchart of a vehicle remote diagnosis method provided by an embodiment of the present application. In a specific embodiment, the vehicle remote diagnosis method is applied to the vehicle remote diagnosis device 300 as shown in FIG. 6 and the electronic device 100 configured with the vehicle remote diagnosis device 300 .
下面将针对图1所示的流程进行详细的阐述,所述车辆的远程诊断方法具体可以包括以下步骤:The process shown in Figure 1 will be described in detail below. The vehicle remote diagnosis method may specifically include the following steps:
步骤S110:车端从云端获取目标诊断业务对应的诊断脚本。Step S110: The vehicle terminal obtains the diagnosis script corresponding to the target diagnosis service from the cloud.
诊断业务是指在车端当前状态下或者预设状态下,对车辆一个或者多个业务进行诊断,以判断该业务是否正常。诊断业务包括但不限于电池诊断业务、行驶诊断业务等。The diagnostic service refers to diagnosing one or more services of the vehicle in the current state or preset state of the vehicle to determine whether the service is normal. Diagnostic services include but are not limited to battery diagnostic services, driving diagnostic services, etc.
诊断脚本是指执行该诊断业务的,由一种或多种汇编语言编写的可执行文件。汇编语言包括但不限于java,C#等汇编语言,汇编语言的选择在此不做具体限定。A diagnostic script refers to an executable file written in one or more assembly languages to perform the diagnostic service. Assembly language includes but is not limited to Java, C# and other assembly languages. The selection of assembly language is not specifically limited here.
车端从云端获取到车端需要进行业务诊断的目标诊断业务所对应的诊断脚本,通过该诊断脚本来判断目标诊断业务是否正常。The vehicle terminal obtains from the cloud the diagnostic script corresponding to the target diagnostic service that the vehicle terminal needs to perform business diagnosis, and uses the diagnostic script to determine whether the target diagnostic service is normal.
步骤S120:车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令。Step S120: The central domain controller of the vehicle parses the diagnostic script and obtains the diagnostic instructions.
诊断指令是指诊断过程中需要指示处理器或其他模块进行的工作的指令。Diagnostic instructions refer to instructions that need to instruct the processor or other modules to perform work during the diagnostic process.
中央域控制器集成了多个处理器、存储器和通信接口等组件,可以实现对车辆系统的快速响应和高效控制。The central domain controller integrates multiple processors, memories, communication interfaces and other components to achieve fast response and efficient control of vehicle systems.
中央域控制器将从云端获取到的诊断脚本进行解析,从而提取得到该诊断脚本中多对应的诊断指令。The central domain controller parses the diagnostic script obtained from the cloud, thereby extracting multiple corresponding diagnostic instructions in the diagnostic script.
请参阅图2,在一些实施方式中,步骤S120包括步骤S121~步骤S125,详细介绍如下:Please refer to Figure 2. In some implementations, step S120 includes steps S121 to S125. The details are as follows:
步骤S121:车端的中央域控制器从云端获取所述目标诊断业务对应的诊断信息。Step S121: The central domain controller of the vehicle obtains the diagnostic information corresponding to the target diagnostic service from the cloud.
诊断信息是指云端响应于目标诊断业务后,向车端发送的包含有诊断脚本的诊断信息。该诊断信息可以是采用消息队列遥测传输协议(Message Queuing TelemetryTransport,MQTT)进行的传输的,也可以是利用超文本传输协议(Hypertext TransferProtocol,HTTP)进行传输。在本申请实施例方案中,通信协议优选为MQTT协议,且诊断信息由MQTT服务器进行发送。利用MQTT协议对数据进行传输时,MQTT协议所传输的数据包括头部(head)数据以及有效荷载(payload),其中头部数据用于表示该数据的基础信息,例如,数据类型等信息。有效荷载为所传输的数据内容,其中,诊断信息存在于有效荷载里。Diagnostic information refers to diagnostic information containing diagnostic scripts sent to the vehicle by the cloud in response to the target diagnostic service. The diagnostic information may be transmitted using the Message Queuing Telemetry Transport Protocol (Message Queuing Telemetry Transport, MQTT) or the Hypertext Transfer Protocol (Hypertext Transfer Protocol, HTTP). In the embodiment of this application, the communication protocol is preferably the MQTT protocol, and the diagnostic information is sent by the MQTT server. When data is transmitted using the MQTT protocol, the data transmitted by the MQTT protocol includes header data and payload. The header data is used to represent the basic information of the data, such as data type and other information. The payload is the transmitted data content, in which diagnostic information exists in the payload.
具体的,根据所述目标诊断业务的确定操作,从云端获取携带有所述诊断脚本的主题信息,获取所述主题信息中的诊断信息。Specifically, according to the determination operation of the target diagnosis service, the subject information carrying the diagnosis script is obtained from the cloud, and the diagnosis information in the subject information is obtained.
确定操作可以是用户在终端上对于目标诊断业务的选择确定操作,也可以是指用户对目标诊断业务的输入操作,确定操作在此不做具体限定。The determination operation may be the user's selection and determination operation of the target diagnosis service on the terminal, or it may refer to the user's input operation of the target diagnosis service. The determination operation is not specifically limited here.
主题信息是指MQTT协议传输过程中的有效荷载中所对应的信息,例如,诊断电池电量主题。Topic information refers to the information corresponding to the payload during the MQTT protocol transmission process, for example, the topic of diagnosing battery power.
根据用于对于目标诊断业务的确定操作,通过MQTT协议获取到从云端所发送的携带有诊断脚本的主题信息,再对主题信息进行进一步信息提取,从而获取诊断信息。According to the determination operation for the target diagnostic business, the topic information carrying the diagnostic script sent from the cloud is obtained through the MQTT protocol, and then further information is extracted from the topic information to obtain the diagnostic information.
步骤S122:提取所述诊断信息中所述诊断脚本对应的执行条件。Step S122: Extract execution conditions corresponding to the diagnostic script in the diagnostic information.
根据提取设备或者提取程序,从诊断信息中提取出诊断脚本对应的执行条件。在本申请实施例方案中,由中央域控制器中的虚拟诊断仪对诊断信息中的执行条件进行提取。执行条件指的是执行该诊断脚本所需要达到的车况条件。例如,执行诊断电池电量脚本,需要满足车辆处于工作状态。车辆处于工作状态为执行诊断电池电量脚本的执行条件。According to the extraction device or extraction program, the execution conditions corresponding to the diagnostic script are extracted from the diagnostic information. In the embodiment of the present application, the virtual diagnostic instrument in the central domain controller extracts the execution conditions in the diagnostic information. Execution conditions refer to the vehicle condition conditions required to execute the diagnostic script. For example, to execute the diagnostic battery power script, the vehicle needs to be in working condition. The vehicle is in working status as the execution condition for executing the diagnostic battery power script.
步骤S123:获取所述车端的当前车况,判断所述当前车况是否满足所述执行条件。Step S123: Obtain the current vehicle condition of the vehicle terminal, and determine whether the current vehicle condition meets the execution condition.
执行条件包括但不限于车速条件、动力电池电量条件、驾驶模式条件、使用模式条件等执行条件。车速条件是指当前车速是否高于或低于某个预设车速,例如,当车速大于120km/h时诊断整车稳定业务,此时,车速条件为大于120km/h。执行条件可以根据不同的诊断业务进行设定,在此不做具体限定。Execution conditions include but are not limited to vehicle speed conditions, power battery power conditions, driving mode conditions, usage mode conditions and other execution conditions. The vehicle speed condition refers to whether the current vehicle speed is higher or lower than a preset vehicle speed. For example, when the vehicle speed is greater than 120km/h, the vehicle stability service is diagnosed. At this time, the vehicle speed condition is greater than 120km/h. The execution conditions can be set according to different diagnostic services and are not specifically limited here.
步骤S124:若满足所述执行条件,从所述诊断信息中获取脚本运行指令。Step S124: If the execution condition is met, obtain script execution instructions from the diagnostic information.
根据车端当前的车况与执行条件进行比较,从而确定当前车况下的车端是否满足执行条件。例如,执行条件中车速条件为80km/h且动力电池电量为大于80%。当前车况中车速为80km/h,动力电池电量为85%,此时满足执行条件,从诊断信息中获取诊断脚本的运行指令,从而运行诊断脚本。当车速不满足执行条件时,车端需要将不满足的情况向云端进行反馈,以获取云端下一步操作指示。Compare the current vehicle condition of the vehicle terminal with the execution conditions to determine whether the vehicle terminal under the current vehicle condition meets the execution conditions. For example, the vehicle speed condition in the execution condition is 80km/h and the power battery power is greater than 80%. In the current vehicle condition, the vehicle speed is 80km/h and the power battery power is 85%. At this time, the execution conditions are met, and the running instructions of the diagnostic script are obtained from the diagnostic information to run the diagnostic script. When the vehicle speed does not meet the execution conditions, the vehicle needs to feedback the unsatisfied situation to the cloud to obtain the next step operation instructions from the cloud.
步骤S125:根据所述脚本运行指令,运行所述诊断脚本,获取所述诊断脚本中的诊断指令。Step S125: Run the diagnostic script according to the script running instruction to obtain the diagnostic instructions in the diagnostic script.
当当前车况满足执行条件且获取到诊断信息中的脚本运行指令,根据该脚本运行指令进行脚本运行,并获取运行后诊断脚本中的诊断指令。When the current vehicle condition meets the execution conditions and the script running instructions in the diagnostic information are obtained, the script is run according to the script running instructions, and the diagnostic instructions in the post-run diagnostic script are obtained.
步骤S130:车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元。Step S130: The central domain controller of the vehicle forwards the diagnosis instruction to the electronic control unit corresponding to the diagnosis instruction.
电子控制单元用于将接收到的输入信息转化为控制信号,并根据控制信号执行相应的动作。不同的诊断指令需要不同的电子控制单元进行执行。The electronic control unit is used to convert the received input information into control signals and perform corresponding actions based on the control signals. Different diagnostic instructions require different electronic control units to execute.
具体的,车端的中央域控制器通过诊断路由模块对所述诊断指令进行分析,获取所述诊断指令对应的地址。获取所述地址对应的电子控制单元。利用所述诊断路由模块将所述诊断指令向所述电子控制单元进行转发。诊断路由模块主要用于根据目标地址进行数据转发。Specifically, the central domain controller on the vehicle side analyzes the diagnostic instruction through the diagnostic routing module and obtains the address corresponding to the diagnostic instruction. Obtain the electronic control unit corresponding to the address. The diagnostic routing module is used to forward the diagnostic instructions to the electronic control unit. The diagnostic routing module is mainly used for data forwarding based on the destination address.
地址可以是电子控制单元在车辆系统中的物理地址。诊断指令中包括源地址以及目标地址。The address may be the physical address of the electronic control unit in the vehicle system. Diagnostic instructions include source addresses and destination addresses.
利用诊断路由模块获取到诊断指令中的目标地址,再通过目标地址匹配到与诊断指令对应的电子控制单元,并通过诊断路由模块将诊断指令向电子控制单元进行转发,以使电子控制单元获取并执行诊断指令。The diagnostic routing module is used to obtain the target address in the diagnostic command, and then the target address is matched to the electronic control unit corresponding to the diagnostic command, and the diagnostic command is forwarded to the electronic control unit through the diagnostic routing module, so that the electronic control unit obtains and Execute diagnostic instructions.
步骤S140:车端的所述电子控制单元执行所述诊断指令对应的诊断任务并返回诊断结果。Step S140: The electronic control unit on the vehicle side executes the diagnosis task corresponding to the diagnosis instruction and returns the diagnosis result.
电子控制单元根据诊断指令进行该诊断任务的诊断,并得到对应的诊断结果,将该诊断结果向终端进行反馈。The electronic control unit performs the diagnosis of the diagnosis task according to the diagnosis instruction, obtains the corresponding diagnosis result, and feeds back the diagnosis result to the terminal.
本申请提供的方案,根据车端实际所需的目标诊断业务获取到对应的诊断脚本,在通过中央域控制器对诊断脚本进行解析,并将解析得到的诊断指令向电子控制单元进行转发,以使电子控制单元按照诊断指令进行诊断操作,并向反馈诊断结果。根据车端的目标诊断业务获取对应的诊断脚本,实现了诊断脚本的灵活配置,避免了固定脚本诊断任务单一的情况,而且,通过目标诊断业务对应的诊断脚本进行诊断,能更加准确的对车端实际故障状态进行诊断,提高了故障诊断的准确性。The solution provided by this application obtains the corresponding diagnostic script based on the target diagnostic service actually required by the vehicle end, parses the diagnostic script through the central domain controller, and forwards the parsed diagnostic instructions to the electronic control unit to Make the electronic control unit perform diagnostic operations according to the diagnostic instructions and feed back the diagnostic results. Obtaining the corresponding diagnostic script according to the target diagnosis service of the vehicle terminal realizes the flexible configuration of the diagnostic script and avoids the situation of single fixed script diagnosis task. Moreover, diagnosis through the diagnostic script corresponding to the target diagnosis service can more accurately diagnose the vehicle terminal. The actual fault status is diagnosed, which improves the accuracy of fault diagnosis.
请参阅图3,图3示出了本申请一实施例提供的车辆的远程诊断方法的流程示意图。所述车辆的远程诊断方法应用于如图7所示的车辆的远程诊断装置400以及配置有所述车辆的远程诊断装置400的电子设备100。下面将针对图3所示的流程进行详细的阐述,所述车辆的远程诊断方法具体可以包括以下步骤:Please refer to FIG. 3 , which shows a schematic flowchart of a vehicle remote diagnosis method provided by an embodiment of the present application. The vehicle remote diagnosis method is applied to the vehicle remote diagnosis device 400 shown in FIG. 7 and the electronic device 100 configured with the vehicle remote diagnosis device 400 . The process shown in Figure 3 will be described in detail below. The vehicle remote diagnosis method may specifically include the following steps:
步骤S210:云端响应于终端发送的针对车端的目标诊断业务,确定与所述目标诊断业务对应的诊断脚本。Step S210: The cloud responds to the target diagnostic service for the vehicle sent by the terminal, and determines the diagnostic script corresponding to the target diagnostic service.
终端可以是具有选择功能的设备,便于用户对目标诊断业务进行选择。终端将用户确定后的目标诊断业务向云端进行发送,从而从云端获取目标诊断业务所对应的诊断脚本。The terminal may be a device with a selection function to facilitate users to select target diagnostic services. The terminal sends the target diagnostic service determined by the user to the cloud, thereby obtaining the diagnostic script corresponding to the target diagnostic service from the cloud.
请参阅图4,在一些实施方式中,步骤S210包括步骤S211~步骤S213,详细介绍如下:Please refer to Figure 4. In some implementations, step S210 includes steps S211 to S213, which are described in detail as follows:
步骤S211:云端的信息安全服务器获取所述编写好的诊断脚本。Step S211: The information security server in the cloud obtains the written diagnostic script.
信息安全服务器是利用公有密钥和/或私有密钥进行身份认证。The information security server uses public keys and/or private keys for identity authentication.
具体的,诊断脚本是基于不同诊断业务对应的诊断脚本的编写操作,云端的脚本编辑平台获取编写好的诊断脚本。Specifically, the diagnostic script is based on the writing operation of diagnostic scripts corresponding to different diagnostic services, and the cloud script editing platform obtains the written diagnostic script.
脚本编辑平台可以是一个脚本编辑工具,工程师对利用脚本编辑平台对不同诊断的脚本进行编辑后,可以直接同步至云端,便于其他工程师的使用以及诊断业务的使用。The script editing platform can be a script editing tool. After engineers use the script editing platform to edit different diagnostic scripts, they can be directly synchronized to the cloud to facilitate the use of other engineers and diagnostic services.
步骤S212:云端的信息安全服务器对所述编写好的诊断脚本进行签名认证。Step S212: The information security server in the cloud performs signature authentication on the written diagnostic script.
信息安全服务器对从云端获取到的诊断脚本进行签名认证,避免获取到带有病毒的数据,导致出现信息丢失等信息安全问题。The information security server performs signature authentication on diagnostic scripts obtained from the cloud to avoid obtaining data containing viruses, which may lead to information security issues such as information loss.
步骤S213:将所述签名认证后的诊断脚本同步至云端的诊断云平台。Step S213: Synchronize the signature-authenticated diagnostic script to the diagnostic cloud platform in the cloud.
将签名认证后,判断为云端脚本编写平台中所获取的诊断脚本后,将认证后的诊断脚本同步至诊断云平台,由诊断云平台实施脚本的发放。After the signature is authenticated and determined to be a diagnostic script obtained from the cloud scripting platform, the authenticated diagnostic script is synchronized to the diagnostic cloud platform, and the diagnostic cloud platform implements the issuance of the script.
在另一些实施方式中,云端的脚本编辑平台将所述编写好的诊断脚本同步至云端的诊断云平台。In other implementations, the script editing platform in the cloud synchronizes the written diagnostic script to the diagnostic cloud platform in the cloud.
脚本编辑平台可以直接将编写好的脚本向云端的诊断云平台进行同步,节约了信息安全服务器认证时间,提高了脚本同步效率。The script editing platform can directly synchronize the written scripts to the diagnostic cloud platform in the cloud, saving information security server certification time and improving script synchronization efficiency.
步骤S220:获取所述车端对应的车辆识别码。Step S220: Obtain the vehicle identification code corresponding to the vehicle terminal.
车辆识别码(Vehicle Identification Number,VIN)是根据国家车辆管理标准确定,包含了车辆的生产厂家、年代、车型、车身型式及代码、发动机代码及组装地点等信息的十七位字符。车辆识别码的获取可以是由用户直接输入获取,也可以是终端与车车端在使用时进行了绑定,从而可以直接从终端上获取车辆识别码,车辆识别码的获取方式在此不做具体限定。The Vehicle Identification Number (VIN) is a seventeen-digit character determined in accordance with the national vehicle management standards and contains information such as the vehicle's manufacturer, age, model, body type and code, engine code, and assembly location. The vehicle identification code can be obtained by direct input by the user, or the terminal and the vehicle terminal can be bound during use, so that the vehicle identification code can be obtained directly from the terminal. The method of obtaining the vehicle identification code is not described here. Specific limitations.
获取车辆识别码是为了识别车端的身份,避免将诊断脚本向其他车端进行发送。The purpose of obtaining the vehicle identification code is to identify the vehicle terminal and avoid sending diagnostic scripts to other vehicle terminals.
步骤S230:云端的诊断云平台将所述诊断脚本发送至所述车辆识别码对应的车端。Step S230: The diagnostic cloud platform in the cloud sends the diagnostic script to the vehicle terminal corresponding to the vehicle identification code.
诊断云平台根据车辆识别码识别需要进行目标诊断业务的车端,并将目标诊断业务所对应的诊断脚本向该车端进行发送。The diagnostic cloud platform identifies the vehicle terminal that needs to perform the target diagnostic service based on the vehicle identification code, and sends the diagnostic script corresponding to the target diagnostic service to the vehicle terminal.
本申请实施例中,云端根据终端发送的目标诊断业务以及车辆识别码,向车辆识别码对应的车端发送目标诊断业务对应的诊断脚本,以使车端运行诊断脚本进行诊断任务,针对目标诊断业务发送对应诊断脚本,避免了固定诊断脚本所带来的诊断业务单一,而且,根据车辆识别码进行数据传输,可以提高数据传输的准确性。In the embodiment of this application, the cloud sends the diagnostic script corresponding to the target diagnostic service to the vehicle terminal corresponding to the vehicle identification code based on the target diagnostic service and vehicle identification code sent by the terminal, so that the vehicle terminal runs the diagnostic script to perform the diagnostic task, and performs the target diagnosis according to the target diagnosis service. The business sends corresponding diagnostic scripts, which avoids the single diagnostic service caused by fixed diagnostic scripts. Moreover, data transmission based on the vehicle identification code can improve the accuracy of data transmission.
请参阅图5,其示出了本申请实施例提供的一种车辆的远程诊断方法的信息交互示意图。Please refer to FIG. 5 , which shows a schematic diagram of information interaction of a vehicle remote diagnosis method provided by an embodiment of the present application.
步骤S310:云端响应于终端发送的针对车端的目标诊断业务,确定与所述目标诊断业务对应的诊断脚本。Step S310: The cloud responds to the target diagnostic service for the vehicle sent by the terminal, and determines the diagnostic script corresponding to the target diagnostic service.
步骤S320:获取所述车端对应的车辆识别码。Step S320: Obtain the vehicle identification code corresponding to the vehicle terminal.
步骤S330:云端的诊断云平台将所述诊断脚本发送至所述车辆识别码对应的车端。Step S330: The diagnostic cloud platform in the cloud sends the diagnostic script to the vehicle terminal corresponding to the vehicle identification code.
步骤S340:车端从云端获取目标诊断业务对应的诊断脚本。Step S340: The vehicle terminal obtains the diagnosis script corresponding to the target diagnosis service from the cloud.
步骤S350:车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令。Step S350: The central domain controller of the vehicle parses the diagnostic script and obtains the diagnostic instructions.
步骤S360:车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元。Step S360: The central domain controller of the vehicle forwards the diagnosis instruction to the electronic control unit corresponding to the diagnosis instruction.
步骤S370:车端的所述电子控制单元执行所述诊断指令对应的诊断任务并返回诊断结果。Step S370: The electronic control unit on the vehicle side executes the diagnostic task corresponding to the diagnostic instruction and returns the diagnostic result.
步骤S310~步骤S370的详细阐述请参阅步骤S110~步骤S140以及步骤S210~步骤S230,在此不再赘述。For detailed description of steps S310 to S370, please refer to steps S110 to S140 and steps S210 to S230, which will not be described again here.
具体实施过程中,工程人员通过云端的脚本编辑平台将根据实际诊断业务编辑的诊断脚本向云端的诊断云平台进行同步,使得使用同一个云端的其他用户可以实时获取更新的诊断脚本。在脚本编辑平台向诊断云平台进行诊断脚本同步时,还可以利用信息安全服务器对诊断脚本进行签名认证,使得诊断脚本在同步时更具有安全性。During the specific implementation process, engineers synchronized the diagnostic scripts edited based on the actual diagnostic business to the cloud diagnostic cloud platform through the cloud script editing platform, so that other users using the same cloud can obtain updated diagnostic scripts in real time. When the script editing platform synchronizes diagnostic scripts to the diagnostic cloud platform, the information security server can also be used to perform signature authentication on the diagnostic scripts, making the diagnostic scripts more secure during synchronization.
当用户通过终端对目标诊断业务进行确定后,终端将诊断业务以及该诊断业务所作用的车端对应的车辆识别码向云端进行发送,以使云端的诊断云平台准确无误的将目标诊断业务对应的诊断脚本发送至对应的车端。在云端与车端以及终端之间的数据通信过程中,由MQTT服务器负责诊断脚本的下发以及诊断业务以及车辆识别码的上传。MQTT服务器将带有诊断脚本的主题信息向车联网系统(Telematics-BOX,TBOX)进行发送,车联网系统对MQTT服务器中的MQTT信息的有效荷载进行提取,获取MQTT信息中的诊断信息,并将该诊断信息向中央域控制器的虚拟诊断仪进行发送。虚拟诊断仪接收到诊断信息后,解析诊断信息的有效荷载,获取诊断信息中的执行条件。查询车端的当前车况是否满足诊断脚本的执行条件,若满足执行条件,则向脚本解释器发送脚本运行指令。若不满足,则向返回云端执行条件不满足。中央域控制器里面的脚本解释器收到脚本运行指令后,开始运行诊断脚本,并获取诊断指令,向诊断路由模块进行发送。诊断路由模块对诊断指令进行解析,获取诊断指令对应的源地址以及目标地址,根据目标地址将诊断指令转发到对应的目标电子控制单元。目标电子控制单元根据诊断指令进行诊断动作,并向终端返回诊断结果。根据终端所发送的不同诊断业务,向车辆识别码对应的车端发送诊断脚本,可以实现诊断脚本的灵活配置。After the user determines the target diagnostic service through the terminal, the terminal sends the diagnostic service and the vehicle identification code corresponding to the vehicle on which the diagnostic service is applied to the cloud, so that the cloud diagnostic cloud platform can accurately map the target diagnostic service to the cloud. The diagnostic script is sent to the corresponding vehicle terminal. During the data communication process between the cloud, the vehicle, and the terminal, the MQTT server is responsible for issuing diagnostic scripts and uploading diagnostic services and vehicle identification codes. The MQTT server sends the topic information with the diagnostic script to the Internet of Vehicles system (Telematics-BOX, TBOX). The Internet of Vehicles system extracts the payload of the MQTT information in the MQTT server, obtains the diagnostic information in the MQTT information, and This diagnostic information is sent to the virtual diagnostic instrument of the central domain controller. After receiving the diagnostic information, the virtual diagnostic instrument parses the payload of the diagnostic information and obtains the execution conditions in the diagnostic information. Query whether the current vehicle condition of the vehicle terminal meets the execution conditions of the diagnostic script. If the execution conditions are met, a script execution instruction is sent to the script interpreter. If it is not met, the execution condition is not met and returned to the cloud. After receiving the script running command, the script interpreter in the central domain controller starts running the diagnostic script, obtains the diagnostic command, and sends it to the diagnostic routing module. The diagnostic routing module parses the diagnostic command, obtains the source address and target address corresponding to the diagnostic command, and forwards the diagnostic command to the corresponding target electronic control unit according to the target address. The target electronic control unit performs diagnostic actions according to the diagnostic instructions and returns the diagnostic results to the terminal. According to the different diagnostic services sent by the terminal, the diagnostic script is sent to the vehicle terminal corresponding to the vehicle identification code, which can realize flexible configuration of the diagnostic script.
请参阅图6,其示出了本申请实施例提供的一种车辆的远程诊断装置300的结构框图。该车辆的远程诊断装置300应用于电子设备100,该车辆的远程诊断装置300包括:诊断脚本获取模块310,用于车端从云端获取目标诊断业务对应的诊断脚本;诊断指令获取模块320,用于车端的中央域控制器对所述诊断脚本进行解析,获取诊断指令;诊断指令转发模块330,用于车端的中央域控制器将所述诊断指令转发至所述诊断指令对应的电子控制单元;诊断结果获取模块340,用于车端的所述电子控制单元执行所述诊断指令对应的诊断任务并返回诊断结果。Please refer to FIG. 6 , which shows a structural block diagram of a vehicle remote diagnosis device 300 provided by an embodiment of the present application. The vehicle's remote diagnosis device 300 is applied to the electronic equipment 100. The vehicle's remote diagnosis device 300 includes: a diagnosis script acquisition module 310 for the vehicle to obtain the diagnosis script corresponding to the target diagnosis service from the cloud; a diagnosis instruction acquisition module 320 for The central domain controller on the vehicle side parses the diagnostic script and obtains the diagnostic instructions; the diagnostic instruction forwarding module 330 is used by the central domain controller on the vehicle terminal to forward the diagnostic instructions to the electronic control unit corresponding to the diagnostic instructions; The diagnosis result acquisition module 340 is used for the electronic control unit of the vehicle to execute the diagnosis task corresponding to the diagnosis instruction and return the diagnosis result.
在本申请的一些实施方式中,诊断指令获取模块320包括:诊断信息获取模块,用于车端的中央域控制器从云端获取所述目标诊断业务对应的诊断信息;执行条件提取模块,用于提取所述诊断信息中所述诊断脚本对应的执行条件;判断模块,用于获取所述车端的当前车况,判断所述当前车况是否满足所述执行条件;运行指令获取模块,用于若满足所述执行条件,从所述诊断信息中获取脚本运行指令;脚本运行模块,用于根据所述脚本运行指令,运行所述诊断脚本,获取所述诊断脚本中的诊断指令。In some embodiments of the present application, the diagnostic instruction acquisition module 320 includes: a diagnostic information acquisition module, which is used by the central domain controller of the vehicle to acquire the diagnostic information corresponding to the target diagnostic service from the cloud; and an execution condition extraction module, which is used to extract The execution conditions corresponding to the diagnostic script in the diagnostic information; a judgment module for obtaining the current vehicle condition of the vehicle terminal, and judging whether the current vehicle condition satisfies the execution condition; and a running instruction acquisition module for obtaining the current vehicle condition if the Execution conditions are used to obtain script running instructions from the diagnostic information; script running modules are used to run the diagnostic script according to the script running instructions and obtain diagnostic instructions in the diagnostic script.
具体的,诊断信息获取模块还包括:主题信息获取模块,用于根据所述目标诊断业务的确定操作,从云端获取携带有所述诊断脚本的主题信息;诊断信息提取模块,用于获取所述主题信息中的诊断信息。Specifically, the diagnostic information acquisition module also includes: a theme information acquisition module, used to acquire the theme information carrying the diagnostic script from the cloud according to the determination operation of the target diagnostic service; a diagnostic information extraction module, used to acquire the Diagnostic information in topic information.
在本申请的一些实施方式中,诊断指令转发模块330包括:诊断指令对应的地址获取模块,用于车端的中央域控制器通过诊断路由模块对所述诊断指令进行分析,获取所述诊断指令对应的地址;电子控制单元确定模块,用于获取所述地址对应的电子控制单元;转发模块,用于利用所述诊断路由模块将所述诊断指令向所述电子控制单元进行转发。In some embodiments of the present application, the diagnostic instruction forwarding module 330 includes: an address acquisition module corresponding to the diagnostic instruction. The central domain controller used for the vehicle analyzes the diagnostic instruction through the diagnostic routing module and obtains the corresponding address of the diagnostic instruction. the address; the electronic control unit determination module, used to obtain the electronic control unit corresponding to the address; the forwarding module, used to use the diagnostic routing module to forward the diagnostic instruction to the electronic control unit.
请参阅图7,其示出了本申请实施例提供的一种车辆的远程诊断装置400的结构框图。该车辆的远程诊断装置400应用于电子设备100,该车辆的远程诊断装置400包括:诊断脚本确定模块410,用于云端响应于终端发送的针对车端的目标诊断业务,确定与所述目标诊断业务对应的诊断脚本;车辆识别码获取模块420,用于获取所述车端对应的车辆识别码;诊断脚本发送模块430,用于云端的诊断云平台将所述诊断脚本发送至所述车辆识别码对应的车端。Please refer to FIG. 7 , which shows a structural block diagram of a vehicle remote diagnosis device 400 provided by an embodiment of the present application. The vehicle's remote diagnosis device 400 is applied to the electronic device 100. The vehicle's remote diagnosis device 400 includes: a diagnosis script determination module 410, used for the cloud to respond to the target diagnosis service for the vehicle sent by the terminal and determine the target diagnosis service. The corresponding diagnosis script; the vehicle identification code acquisition module 420, used to obtain the vehicle identification code corresponding to the vehicle terminal; the diagnosis script sending module 430, used by the cloud diagnosis cloud platform to send the diagnosis script to the vehicle identification code The corresponding car terminal.
在一些实施方式中,车辆的远程诊断装置400还包括:脚本获取模块,用于基于不同诊断业务对应的诊断脚本的编写操作,云端的脚本编辑平台获取编写好的诊断脚本;同步模块,用于云端的脚本编辑平台将所述编写好的诊断脚本同步至云端的诊断云平台。In some embodiments, the vehicle's remote diagnosis device 400 also includes: a script acquisition module for writing diagnostic scripts corresponding to different diagnostic services, and a cloud script editing platform to acquire the written diagnostic scripts; a synchronization module for The script editing platform in the cloud synchronizes the written diagnostic script to the diagnostic cloud platform in the cloud.
在一些实施方式中,同步模块包括:信息安全服务器的信息获取模块,用于云端的信息安全服务器获取所述编写好的诊断脚本;签名认证模块,用于云端的信息安全服务器对所述编写好的诊断脚本进行签名认证;认证后同步模块,用于将所述签名认证后的诊断脚本同步至云端的诊断云平台。In some embodiments, the synchronization module includes: an information acquisition module of the information security server, used for the information security server of the cloud to obtain the written diagnostic script; a signature authentication module, used for the information security server of the cloud to verify the written diagnosis script. The diagnostic script is signed and authenticated; the post-authentication synchronization module is used to synchronize the diagnostic script after signature authentication to the diagnostic cloud platform in the cloud.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.
请参考图8,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以交换机,也可以是计算机,或者是具有数据传输的控制单元。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 8 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 100 may be a switch, a computer, or a control unit with data transmission. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured by One or more processors 110 execute, and one or more programs are configured to perform the method described in the foregoing method embodiments.
处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the electronic device 100 . Optionally, the processor 110 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc. The storage data area can also store data created during use of the electronic device 100 (such as phone book, audio and video data, chat record data), etc.
本申请实施例中还提供一种计算机可读存储介质,计算机可读存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores program code. The program code can be called by a processor to execute the method described in the above method embodiment.
计算机可读存储介质可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质具有执行上述方法中的任何方法步骤的程序代码的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码可以例如以适当形式进行压缩。The computer-readable storage medium may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium includes non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes that perform any method steps in the above methods. These program codes can be read from or written into one or more computer program products. The program code may, for example, be compressed in a suitable form.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310985266.5A CN117032162A (en) | 2023-08-04 | 2023-08-04 | Remote diagnosis method, device, equipment and storage medium for vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310985266.5A CN117032162A (en) | 2023-08-04 | 2023-08-04 | Remote diagnosis method, device, equipment and storage medium for vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117032162A true CN117032162A (en) | 2023-11-10 |
Family
ID=88636578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310985266.5A Pending CN117032162A (en) | 2023-08-04 | 2023-08-04 | Remote diagnosis method, device, equipment and storage medium for vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117032162A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119126766A (en) * | 2024-11-18 | 2024-12-13 | 成都赛力斯科技有限公司 | Automobile diagnosis method, system and device |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286171A (en) * | 2020-11-05 | 2021-01-29 | 中国第一汽车股份有限公司 | Remote diagnosis method, device, vehicle and storage medium |
CN113050598A (en) * | 2021-03-15 | 2021-06-29 | 中国第一汽车股份有限公司 | Remote diagnosis platform, data acquisition method, equipment and storage medium |
CN114490161A (en) * | 2022-02-15 | 2022-05-13 | 中国第一汽车股份有限公司 | Fault diagnosis method and device, vehicle and storage medium |
CN114826979A (en) * | 2022-04-07 | 2022-07-29 | 中国联合网络通信集团有限公司 | Network link quality obtaining method, device, system, equipment and storage medium |
CN114924548A (en) * | 2022-05-20 | 2022-08-19 | 上汽通用五菱汽车股份有限公司 | Vehicle remote diagnosis method, system, vehicle, and computer-readable storage medium |
CN115016445A (en) * | 2022-07-27 | 2022-09-06 | 浙江极氪智能科技有限公司 | Vehicle remote fault diagnosis method, device, vehicle and computer storage medium |
CN115167379A (en) * | 2022-08-19 | 2022-10-11 | 深圳市元征科技股份有限公司 | A vehicle diagnosis method, device, equipment and medium |
CN115437340A (en) * | 2021-12-31 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method and device, electronic equipment and storage medium |
CN115437338A (en) * | 2021-12-31 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method and device, electronic equipment and storage medium |
CN115454674A (en) * | 2022-09-20 | 2022-12-09 | 同盾科技有限公司 | Method and device for acquiring external data source data, electronic equipment and storage medium |
CN115469629A (en) * | 2021-12-31 | 2022-12-13 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method, device, system, electronic equipment and storage medium |
CN115695394A (en) * | 2022-09-14 | 2023-02-03 | 广州汽车集团股份有限公司 | Vehicle cloud diagnosis method and device, vehicle and storage medium |
CN115933610A (en) * | 2022-12-27 | 2023-04-07 | 锐兹行(上海)智能科技有限公司 | Automobile diagnosis method, device, equipment and storage medium |
CN116149304A (en) * | 2023-04-21 | 2023-05-23 | 中国第一汽车股份有限公司 | Vehicle diagnosis system, method, equipment and storage medium |
CN116300804A (en) * | 2023-02-24 | 2023-06-23 | 北斗星通智联科技有限责任公司 | Remote diagnosis method, remote diagnosis device, electronic equipment and computer readable storage medium |
CN116483046A (en) * | 2022-01-13 | 2023-07-25 | 郑州深澜动力科技有限公司 | Vehicle calibration diagnosis method based on MCD and vehicle |
CN116489182A (en) * | 2023-02-17 | 2023-07-25 | 广州汽车集团股份有限公司 | Diagnostic method, diagnostic device, and storage medium |
-
2023
- 2023-08-04 CN CN202310985266.5A patent/CN117032162A/en active Pending
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286171A (en) * | 2020-11-05 | 2021-01-29 | 中国第一汽车股份有限公司 | Remote diagnosis method, device, vehicle and storage medium |
CN113050598A (en) * | 2021-03-15 | 2021-06-29 | 中国第一汽车股份有限公司 | Remote diagnosis platform, data acquisition method, equipment and storage medium |
CN115469629A (en) * | 2021-12-31 | 2022-12-13 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method, device, system, electronic equipment and storage medium |
WO2023125590A1 (en) * | 2021-12-31 | 2023-07-06 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method and apparatus, and electronic device and storage medium |
CN115437340A (en) * | 2021-12-31 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method and device, electronic equipment and storage medium |
CN115437338A (en) * | 2021-12-31 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | Remote diagnosis method and device, electronic equipment and storage medium |
CN116483046A (en) * | 2022-01-13 | 2023-07-25 | 郑州深澜动力科技有限公司 | Vehicle calibration diagnosis method based on MCD and vehicle |
CN114490161A (en) * | 2022-02-15 | 2022-05-13 | 中国第一汽车股份有限公司 | Fault diagnosis method and device, vehicle and storage medium |
CN114826979A (en) * | 2022-04-07 | 2022-07-29 | 中国联合网络通信集团有限公司 | Network link quality obtaining method, device, system, equipment and storage medium |
CN114924548A (en) * | 2022-05-20 | 2022-08-19 | 上汽通用五菱汽车股份有限公司 | Vehicle remote diagnosis method, system, vehicle, and computer-readable storage medium |
CN115016445A (en) * | 2022-07-27 | 2022-09-06 | 浙江极氪智能科技有限公司 | Vehicle remote fault diagnosis method, device, vehicle and computer storage medium |
CN115167379A (en) * | 2022-08-19 | 2022-10-11 | 深圳市元征科技股份有限公司 | A vehicle diagnosis method, device, equipment and medium |
CN115695394A (en) * | 2022-09-14 | 2023-02-03 | 广州汽车集团股份有限公司 | Vehicle cloud diagnosis method and device, vehicle and storage medium |
CN115454674A (en) * | 2022-09-20 | 2022-12-09 | 同盾科技有限公司 | Method and device for acquiring external data source data, electronic equipment and storage medium |
CN115933610A (en) * | 2022-12-27 | 2023-04-07 | 锐兹行(上海)智能科技有限公司 | Automobile diagnosis method, device, equipment and storage medium |
CN116489182A (en) * | 2023-02-17 | 2023-07-25 | 广州汽车集团股份有限公司 | Diagnostic method, diagnostic device, and storage medium |
CN116300804A (en) * | 2023-02-24 | 2023-06-23 | 北斗星通智联科技有限责任公司 | Remote diagnosis method, remote diagnosis device, electronic equipment and computer readable storage medium |
CN116149304A (en) * | 2023-04-21 | 2023-05-23 | 中国第一汽车股份有限公司 | Vehicle diagnosis system, method, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119126766A (en) * | 2024-11-18 | 2024-12-13 | 成都赛力斯科技有限公司 | Automobile diagnosis method, system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019057188A1 (en) | Remote diagnosis method and apparatus for vehicle, mobile terminal, electronic device and server | |
CN111552274B (en) | Automotive diagnostic method, apparatus, apparatus, system, and diagnostic connection device | |
WO2023125852A1 (en) | Remote diagnosis method and apparatus, and electronic device and storage medium | |
CN111752538B (en) | Method and device for generating vehicle end scene, cloud end, vehicle end and storage medium | |
CN112241160A (en) | Vehicle testing method, device, vehicle testing system and test board | |
CN113791792B (en) | Method, device and storage medium for acquiring application call information | |
CN115629599A (en) | CAN bus simulation test method and system | |
CN114064091A (en) | OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle | |
WO2024037304A1 (en) | Vehicle diagnosis communication method and apparatus, and device, medium and program product | |
CN112532673A (en) | Message sending method and device, computer readable storage medium and electronic equipment | |
CN117032162A (en) | Remote diagnosis method, device, equipment and storage medium for vehicle | |
CN112235279B (en) | Method and device for communication between applications, electronic equipment and readable storage medium | |
CN109495549A (en) | Method, equipment and the computer storage medium of work are drawn in a kind of application | |
CN116418615A (en) | Vehicle data processing system and method, electronic device, and readable storage medium | |
CN117827555A (en) | Hardware-in-the-loop testing method, device, electronic device, and storage medium | |
CN117935779A (en) | Voice test method, device and equipment for vehicle and storage medium | |
CN116300780B (en) | Component configuration method, device, electronic equipment and storage medium | |
CN114124992B (en) | Method, device, equipment and system for monitoring running state of whole vehicle domain controller | |
CN116132972A (en) | A method, system, device and medium for off-line extraction of vehicle-mounted T-Box logs | |
CN114684167A (en) | Method, device and automatic driving vehicle for controlling vehicle based on multi-controller domain network | |
CN114706371A (en) | Method, device, electronic device and storage medium for diagnosing non-dormancy of vehicle network | |
CN114442590A (en) | Vehicle diagnostic method, device, diagnostic communication device, server and storage medium | |
CN120223781B (en) | SATA storage device information transmission method and device and SATA switch | |
JP7370409B2 (en) | Data processing methods, equipment, electronic equipment and media | |
CN112614501B (en) | Noise reduction method, device, noise canceller, microphone, and readable 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20231110 |
|
RJ01 | Rejection of invention patent application after publication |