Search

CN-121722644-B - Method, device, server, storage medium and system for monitoring automobile diagnosis software

CN121722644BCN 121722644 BCN121722644 BCN 121722644BCN-121722644-B

Abstract

The application relates to the technical field of automobile diagnosis and discloses a method, a device, a server, a storage medium and a system for monitoring automobile diagnosis software. The method comprises the steps of obtaining a new version installation package, generating a change file list through comparing file differences of new and old versions, inquiring monitoring detection configuration information related to each change file based on a mapping relation to generate a monitoring probe configuration file, embedding the configuration file into a difference update package and issuing the difference update package to terminal equipment, receiving service index data collected by the terminal equipment, judging the running state of software through multidimensional analysis, and generating accurately positioned alarm information when abnormality is found. The application realizes the deep integration of the updating and monitoring of the automobile diagnosis software, can actively find the defects of the diagnosis function, remarkably improves the problem identification and positioning efficiency, and effectively solves the hysteresis problem existing in the traditional manual reporting and post log analysis mode.

Inventors

  • XIE YANCHUN
  • LI CHANGAN
  • ZHANG WEI

Assignees

  • 南昌市星纬软件开发有限公司

Dates

Publication Date
20260512
Application Date
20260209

Claims (10)

  1. 1. A method of monitoring automotive diagnostic software, the method comprising: obtaining a new version installation package of the automobile diagnosis software, and comparing file differences between the new version installation package and an old version installation package to generate a change file list comprising at least one change file; according to the first mapping relation, mapping each change file to the affected automobile diagnosis function to generate an affected function list comprising at least one automobile diagnosis function; Generating a difference update package according to the data difference between the new version installation package and the old version installation package, adding the monitoring probe configuration file into the difference update package, and issuing a difference update package comprising the monitoring probe configuration file to a plurality of designated terminal devices; And receiving service index data acquired by each terminal device based on the monitoring probe configuration file, and if the operation abnormality of the automobile diagnosis software in the terminal device is judged according to the service index data, generating alarm information for the terminal device.
  2. 2. The method of monitoring automotive diagnostic software according to claim 1, wherein the comparing file differences between the new version of the installation package with respect to the old version of the installation package to generate a change file list comprising at least one change file comprises: traversing the files of the new version installation package to generate a first file set, and traversing the files of the old version installation package to generate a second file set; Comparing the file difference between the first file set and the second file set to obtain at least one changed file, wherein the changed file is a file with modified content or a newly added file; And generating a change file list according to the change type, the file path and the specific change content of each change file.
  3. 3. The method for monitoring vehicle diagnostic software according to claim 1, wherein mapping each change file to an affected vehicle diagnostic function according to the first mapping relationship comprises: If the changed file is a file with modified content, extracting a file path of the changed file; Searching the first mapping relation for a function item containing the file path; Marking the corresponding automobile diagnosis function of the matched function item as the affected automobile diagnosis function, and/or If the change file is a newly added file, acquiring the function name of each function contained in the change file; matching is carried out in the first mapping relation according to the semantic information of the function name; and marking the automobile diagnosis function corresponding to the matched function item as the affected automobile diagnosis function.
  4. 4. The method of monitoring automotive diagnostic software according to claim 1, wherein the querying the second mapping relationship to determine monitoring probe configuration information associated with each automotive diagnostic function comprises: Matching in the second mapping relation according to the function type, function name or protocol type of the automobile diagnosis function; if the template is matched with the corresponding monitoring probe template; And assigning a value to the monitoring probe template to obtain monitoring probe configuration information, wherein the monitoring probe configuration information comprises a probe ID, a probe name, monitoring indexes and alarm rules.
  5. 5. The method of monitoring automotive diagnostic software according to claim 3 or 4, wherein the adding the monitoring probe profile to the delta update package comprises: serializing the monitoring probe configuration file to obtain a byte array; Generating a metadata block according to the byte array, the configuration identifier, the length of the byte array and the version number of the new version installation package; And embedding the metadata block into the file head or the file tail of the delta update package.
  6. 6. The method for monitoring automotive diagnostic software according to claim 5, wherein the alerting information for the terminal device comprises: determining one or more monitoring indexes corresponding to the business index data; Inquiring a corresponding target automobile diagnosis function in the second mapping relation according to each monitoring index, and taking the target automobile diagnosis function as an automobile diagnosis function triggering abnormality; Inquiring a corresponding target change file in the first mapping relation according to the target automobile diagnosis function, and performing intersection operation on the target change file and the change file list to obtain a change file triggering abnormality; Generating alarm information according to the abnormal triggering automobile diagnosis function and the change file, and pushing the alarm information to the pre-bound operation and maintenance personnel, wherein the alarm information comprises an alarm ID, a time stamp, a version number of the automobile diagnosis software, a function name of the abnormal triggering automobile diagnosis function and a file name of the abnormal triggering change file.
  7. 7. An apparatus for monitoring automotive diagnostic software, the apparatus comprising: the comparison module is used for acquiring a new version installation package of the automobile diagnosis software and comparing file differences between the new version installation package and an old version installation package so as to generate a change file list comprising at least one change file; The system comprises a mapping module, a second mapping relation, a monitoring probe configuration module and a monitoring probe configuration module, wherein the mapping module is used for mapping each change file to an affected automobile diagnosis function according to the first mapping relation to generate an affected function list comprising at least one automobile diagnosis function; The generation module is used for generating a difference update package according to the data difference between the new version installation package and the old version installation package, adding the monitoring probe configuration file into the difference update package and issuing a difference update package comprising the monitoring probe configuration file to a plurality of specified terminal devices; and the alarm module is used for receiving the service index data collected by each terminal device based on the monitoring probe configuration file, and generating alarm information for the terminal device if the abnormal operation of the automobile diagnosis software in the terminal device is judged according to the service index data.
  8. 8. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of monitoring automotive diagnostic software according to any one of claims 1 to 6 when the computer program is executed.
  9. 9. A computer-readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the method of monitoring automobile diagnostic software according to any one of claims 1 to 6.
  10. 10. An automobile diagnosis system comprises a server and a terminal device; The server is used for acquiring a new version installation package of automobile diagnosis software, comparing file differences between the new version installation package and an old version installation package to generate a change file list comprising at least one change file, mapping each change file to affected automobile diagnosis functions according to a first mapping relation to generate an affected function list comprising at least one automobile diagnosis function, inquiring a second mapping relation, determining monitoring probe configuration information associated with each automobile diagnosis function to generate a monitoring probe configuration file, generating a difference update package according to data differences between the new version installation package and the old version installation package, adding the monitoring probe configuration file into the difference update package, issuing the difference update package comprising the monitoring probe configuration file to a plurality of specified terminal devices, receiving business index data acquired by each terminal device based on the monitoring probe configuration file, and generating alarm information for the terminal device if the automobile diagnosis software in the terminal device is judged to run abnormally according to the business index data; The terminal equipment is used for receiving a delta update package which comprises the monitoring probe configuration file from the server, extracting and removing the monitoring probe configuration file from the delta update package, merging the old version installation package based on the local and the delta update package to obtain a new version installation package, operating automobile diagnosis software after performing installation operation by using the new version installation package, collecting service index data by using a monitoring index indicated by the monitoring probe configuration file, and reporting the service index data to the server.

Description

Method, device, server, storage medium and system for monitoring automobile diagnosis software Technical Field The present invention relates to the field of automobile diagnosis technologies, and in particular, to a method, an apparatus, a server, a storage medium, and a system for monitoring automobile diagnosis software. Background Along with the continuous promotion of the intelligent degree of car electron, the function of electronic control unit is complicated various increasingly. Currently, automobile diagnostic software is being developed towards modularization and cloud end, and in this context, delta update has become a mainstream software update method. By transmitting only the difference part between the versions, the method effectively saves network bandwidth and update time. However, this update mode also presents new technical challenges. When the terminal device runs a new version of the automobile diagnostic software, several diagnostic functional defects may be introduced. For example, a part of special vehicle types cannot read a specific fault code, deviation occurs in data flow measurement values, execution of action test fails, and clamping stagnation occurs in the process of brushing. Current findings for these defects rely mainly on two approaches. Firstly, the problems are reported manually by engineers after the problems are found, and secondly, the problems are reproduced through testing of special organizations. Both of these methods have significant hysteresis and are inefficient in processing. Because of untimely defect discovery, it often takes a long time to be identified and confirmed. In the analysis stage after the occurrence of the defect, engineers need to pull the problem log afterwards for investigation. These log data volumes are often large, resulting in slow problem localization speeds. Meanwhile, transmission and storage of a large amount of log data also place a certain pressure on network bandwidth and storage resources. Disclosure of Invention Based on this, it is necessary to provide a method, device, server, storage medium and system for monitoring automobile diagnostic software, aiming at the technical problems of lag of defect discovery, dependence on manual report and low log analysis efficiency in the prior art. In a first aspect, a method of monitoring automotive diagnostic software is provided, the method comprising: obtaining a new version installation package of the automobile diagnosis software, and comparing file differences between the new version installation package and an old version installation package to generate a change file list comprising at least one change file; Inquiring monitoring detection configuration information associated with each change file according to the mapping relation to generate a monitoring probe configuration file; Generating a difference update package according to the data difference between the new version installation package and the old version installation package, adding the monitoring probe configuration file into the difference update package, and issuing a difference update package comprising the monitoring probe configuration file to a plurality of designated terminal devices; And receiving service index data acquired by each terminal device based on the monitoring probe configuration file, and generating alarm information for the terminal device if the operation abnormality of the automobile diagnosis software in the terminal device is judged according to the service index data. In a second aspect, there is provided an apparatus for monitoring automotive diagnostic software, the apparatus comprising: the comparison module is used for acquiring a new version installation package of the automobile diagnosis software and comparing file differences between the new version installation package and an old version installation package so as to generate a change file list comprising at least one change file; The mapping module is used for inquiring monitoring detection configuration information associated with each change file according to the mapping relation so as to generate a monitoring probe configuration file; The generation module is used for generating a difference update package according to the data difference between the new version installation package and the old version installation package, adding the monitoring probe configuration file into the difference update package and issuing a difference update package comprising the monitoring probe configuration file to a plurality of specified terminal devices; and the alarm module is used for receiving the service index data collected by each terminal device based on the monitoring probe configuration file, and generating alarm information for the terminal device if the abnormal operation of the automobile diagnosis software in the terminal device is judged according to the service index data. In a third aspect, a server is provided, comprising a memory,