The embodiment of the invention provides a diagnosis information synchronization method and device, electronic equipment and a storage medium, and belongs to the field of vehicle-mounted diagnos.The method comprises the steps that when an MCU core receives a type of fault notice, the sending type of a fault transmission structural body of the type of fault notice is set to be a first identifier and then written into a shared memory block, so that an SOC core is indicated to receive the fault transmission structural body; and after the SOC core reads the fault transfer structure written into the shared memory by the MCU core from the shared memory block, setting the sending type as a second identifier and then writing the fault transfer structure into the shared memory so as to synchronize the fault transfer structure to the SOC core, similarly, when the SOC core receives a second type of fault notification, writing the fault transfer structure into the shared memory in the same way so as to synchronize the fault transfer structure to the MCU core, and then, sending the fault transfer structure to the MCU core. A request-reply mechanism is realized through the first identifier and the second identifier, so that the high efficiency of data intercommunication transmission is realized in a mode of performing data synchronization between the MCU core and the SOC core through the shared memory block and the request-reply mechanism, and the development cost is reduced.
本发明实施方式提出一种诊断信息同步方法、装置、电子设备及存储介质,属于车载诊断领域,在MCU核接收到一类故障通知时,将该一类故障通知的故障传递结构体的发送类型置为第一标识后写入共享内存块,以指示SOC核接收该故障传递结构体,SOC核从共享内存块中读取到MCU核写入共享内存的该故障传递结构体后,将发送类型置为第二标识后写入共享内存,以同步至SOC核,同理,在SOC核接收到二类故障通知时,以相同的方式,将故障传递结构体写入共享内存,以同步至MCU核,通过第一标识和第二标识实现请求‑回复机制,从而以MCU核和SOC核间通过共享内存块和请求‑回复机制进行数据同步的方式,实现数据互通传输的高效性,并降低开发成本。
Diagnostic information synchronization method and device, electronic equipment and storage medium
诊断信息同步方法、装置、电子设备及存储介质
2023-06-27
Patent
Electronic Resource
Chinese
IPC: | G05B Steuer- oder Regelsysteme allgemein , CONTROL OR REGULATING SYSTEMS IN GENERAL / B60R Fahrzeuge, Fahrzeugausstattung oder Fahrzeugteile, soweit nicht anderweitig vorgesehen , VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR / G01C Messen von Entfernungen, Höhen, Neigungen oder Richtungen , MEASURING DISTANCES, LEVELS OR BEARINGS |
European Patent Office | 2023
|Diagnostic method, diagnostic kit, electronic control unit, electronic equipment and storage medium
European Patent Office | 2024
|Speed parameter synchronization method and device, electronic equipment and readable storage medium
European Patent Office | 2024
|Data synchronization method and device, equipment and storage medium
European Patent Office | 2025
|Interface state synchronization method and system, electronic equipment and storage medium
European Patent Office | 2024
|