Disclosure of Invention
The embodiment of the application provides an integration method of vehicle maintenance diagnosis reports, a related device and a storage medium, which are used for improving user experience.
In a first aspect, an embodiment of the present application provides an integrated method for vehicle repair diagnosis reports, including:
acquiring current detection data of a vehicle;
acquiring historical detection data of the vehicle within a preset time period;
judging whether fault code information exists in the historical detection data or not;
and if so, integrating the historical detection data and the current detection data to generate a target maintenance diagnosis report.
Optionally, after acquiring the current detection data of the vehicle, the method further includes:
determining the detection type of the current detection data;
the acquiring historical detection data of the vehicle within a preset time period comprises:
and acquiring historical detection data with the same detection type as the current detection data in a preset time period.
Optionally, when the detection type of the current detection data is full-vehicle detection, the obtaining of the historical detection data that is the same as the detection type of the current detection data within a preset time period includes:
and acquiring historical detection data of the vehicle detection type of the whole vehicle detection in a preset time period.
Optionally, when the detection type of the current detection data is system detection, the obtaining of the historical detection data that is the same as the detection type of the current detection data within a preset time period includes:
determining a target system corresponding to the current detection data;
and acquiring historical detection data of a target system of the vehicle within a preset time period.
Optionally, after the determining whether the fault code information exists in the historical detection data, the method further includes:
if not, generating prompt information, wherein the prompt information is used for prompting the current fault-free information of the vehicle.
Optionally, before the integrating the fault code information and the current detection data to generate the target repair diagnosis report, the method further includes:
determining report general content, the report general content including the vehicle information and service shop information;
the integrating the historical inspection data and the current inspection data to generate a target repair diagnosis report comprises:
determining vehicle pre-diagnostic data from the historical inspection data;
determining vehicle post-diagnosis data according to the current detection data;
and combining the pre-diagnosis data of the vehicle, the post-diagnosis data of the vehicle and the general report content to generate a target maintenance diagnosis report.
Optionally, if the current detection data is the whole vehicle detection, the generating of the target maintenance diagnosis report according to the vehicle pre-diagnosis data, the vehicle post-diagnosis data, and the report general content by merging includes:
respectively displaying the data before vehicle diagnosis and the data after vehicle diagnosis corresponding to each system according to a system division mode to form fault diagnosis information content;
and combining the report general content and the fault diagnosis information content to generate the target maintenance diagnosis report.
A second aspect of the embodiments of the present application provides an apparatus for integrating vehicle repair diagnosis reports, including:
a first acquisition unit configured to acquire current detection data of a vehicle;
the second acquisition unit is used for acquiring historical detection data of the vehicle within a preset time period;
the judging unit is used for judging whether fault code information exists in the historical detection data or not;
and the generating unit is used for integrating the historical detection data and the current detection data to generate a target maintenance diagnosis report when the judgment result of the judging unit is yes.
Optionally, the integration apparatus further comprises:
a first determining unit, configured to determine a detection type of the current detection data;
the second obtaining unit is specifically configured to:
and acquiring historical detection data with the same detection type as the current detection data in a preset time period.
Optionally, when the detection type of the current detection data is full vehicle detection, the second obtaining unit is specifically configured to:
and acquiring historical detection data of the vehicle detection type of the whole vehicle detection in a preset time period.
Optionally, when the detection type of the current detection data is system detection, the second obtaining unit is specifically configured to:
determining a target system corresponding to the current detection data;
and acquiring historical detection data of a target system of the vehicle within a preset time period.
Optionally, the integration apparatus further comprises:
and the prompting unit is used for generating prompting information when the judgment result of the judging unit is negative, and the prompting information is used for prompting the current fault-free information of the vehicle.
Optionally, the integration apparatus further comprises:
a second determination unit for determining a report general content including the vehicle information and the repair shop information;
the generating unit specifically includes:
a first determination module for determining pre-vehicle-diagnostic data based on the historical detection data;
the second determination module is used for determining vehicle diagnosed data according to the current detection data;
and the generating module is used for generating a target maintenance diagnosis report according to the vehicle pre-diagnosis data, the vehicle post-diagnosis data and the report general content in a combined mode.
Optionally, if the detection type of the current detection data is full vehicle detection, the generation module is specifically configured to:
respectively displaying the data before vehicle diagnosis and the data after vehicle diagnosis corresponding to each system according to a system division mode to form fault diagnosis information content;
and combining the report general content and the fault diagnosis information content to generate the target maintenance diagnosis report.
A third aspect of embodiments of the present application provides an electronic device, including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor invokes to perform the method of integrating vehicle service diagnostic reports of the first aspect and optional one of the first aspects.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium having a program stored thereon, where the program is executed on a computer to perform the method for integrating vehicle repair diagnosis reports of the first aspect and any one of the first aspects.
According to the technical scheme, the embodiment of the application has the following advantages:
the automobile usually uses the decoder to carry out data detection for many times in the factory maintenance, and after the maintenance is finished, the method provided by the application can integrate the maintenance detection data of the same vehicle in a preset time period, namely, the diagnostic data before the maintenance of the same vehicle and the diagnostic data after the maintenance are integrated to generate a complete vehicle maintenance diagnostic report, so that an automobile owner can know the conditions before and after the maintenance of the vehicle, and the user experience is improved.
Detailed Description
The embodiment of the application provides an integration method of vehicle maintenance diagnosis reports, a related device and a storage medium, which are used for improving user experience.
It should be noted that the method for integrating the vehicle repair diagnosis report provided by the embodiment of the present application is applied to an electronic device with a vehicle inspection and repair function. The electronic device may be a computer, a Personal Computer (PC), or a mobile terminal, a personal digital assistant PDA, or the like.
Referring to fig. 1, fig. 1 is a diagram illustrating an embodiment of a method for integrating vehicle service diagnosis reports according to the present disclosure, the method including:
101. current detection data of the vehicle is acquired.
Current vehicles are equipped with an On-Board Diagnostics (OBD), which is a system for diagnosing vehicle faults, and electronic devices can communicate with an ECU inside the vehicle through the OBD mounted On the vehicle, such as an engine, a wave box, and an instrument ECU, so that vehicle data can be accessed in real time to detect vehicle faults. When a vehicle breaks down, the vehicle generally needs to be maintained in a maintenance factory, and the maintenance factory provides a report of the maintenance to a client according to service requirements after the maintenance is completed. In the present application, the current detection data of the vehicle to be detected is data after maintenance, that is, detection data without fault information.
102. And acquiring historical detection data of the vehicle in a preset time period.
After acquiring the current detection data of the detected vehicle, the electronic device needs to acquire historical detection data of the detected vehicle within a preset time period. The historical detection data refers to detection data accessed by the detected vehicle during one or more detections in a preset time period. It should be noted that the preset time period may be set according to the maintenance condition of the maintenance factory, for example, the preset time period may be set to 24 hours or to a week, and if the preset time period is 24 hours, the historical detection data refers to the detection data of the vehicle to be detected within 24 hours.
In some embodiments, the VIN code information is a vehicle identification code, which may also be referred to as a frame number, and is a set of codes assigned to each vehicle by the manufacturer of the vehicle for identification, and having unique identification of the vehicle. The VIN code includes information related to the vehicle, such as a manufacturer code, a vehicle type code, and a vehicle body type code. Specifically, after each detection, the electronic device may store the current detection data by using the VIN code information of the vehicle as the file identifier, so that the electronic device may match the historical detection data of the detected vehicle through the VIN code information of the vehicle, and the electronic device may automatically clear the historical detection data outside the preset time period according to the storage time of each detection data, so as to avoid occupying a large amount of resources.
103. And judging whether fault code information exists in the historical detection data, if so, executingstep 104.
In specific application, the automobile diagnosis is a method and means for performing performance test and fault detection on an automobile through electronic equipment, various working performance indexes of the automobile can be tested through the automobile diagnosis, and fault information can be found under the condition that the automobile or an assembly is not disassembled. When the vehicle breaks down, the fault code is automatically stored in a data storage area inside the vehicle electronic control unit. Therefore, the failure state corresponding to the current vehicle state can be determined by the failure code information.
In some specific embodiments, the electronic device may determine a failure condition of the vehicle within a previous preset time period by determining whether the acquired historical detection data includes the failure code information, and if the historical detection data includes the failure code information, it indicates that the vehicle under test has the failure condition within the previous preset time period, and then step 104 is executed to generate a complete vehicle maintenance diagnosis report. If the historical detection data does not have fault code information, the detected vehicle is proved to have no fault condition detected in the previous preset time period, and at the moment, a vehicle maintenance diagnosis report does not need to be generated.
104. And integrating the historical detection data and the current detection data to generate a target maintenance diagnosis report.
If the acquired historical detection data has fault code information, the electronic equipment integrates the acquired historical detection data and the current detection data of the current diagnosis to generate a diagnosis report containing the data before and after the detection, namely a target maintenance diagnosis report. Because the historical detection data that same vehicle possesses fault code information and the current detection data that does not have fault code information are integrated into the target maintenance diagnosis report in this embodiment within the preset time quantum, make the car owner can know the condition before and after the vehicle maintenance completely to user experience has been promoted.
Referring to fig. 2, fig. 2 is another embodiment of the method for integrating a vehicle maintenance diagnosis report provided by the present application, where the method includes:
201. current detection data of the vehicle is acquired.
In this embodiment,step 201 is similar to step 101 in the previous embodiment, and is not described herein again.
202. And determining the detection type of the current detection data.
When detecting the vehicle, a maintenance person may select to detect the whole vehicle, or may select to detect only some systems of the vehicle in a targeted manner, so that the electronic device needs to determine the detection type of the detected data after acquiring the current detection data of the detected vehicle, where the detection type includes system detection and whole vehicle detection.
203. And acquiring historical detection data with the same detection type as the current detection data in a preset time period.
After acquiring the current detection data of the detected vehicle, the electronic device needs to acquire historical detection data of the detected vehicle within a preset time period. The historical detection data refers to detection data of the detected vehicle in one or more times of detection in a preset time period. It should be noted that the preset time period may be set according to the maintenance condition of the maintenance factory, for example, the preset time period may be set to 24 hours, and the electronic device obtains historical detection data of the vehicle to be detected within 24 hours.
And for the detection types of the current detection data, the historical detection data acquired by the electronic equipment are different. For example, when the detection type of the current detection data is full-vehicle detection, the electronic device correspondingly obtains historical detection data of the full-vehicle detection within a preset time period; when the detection type of the current detection data is system detection, the historical detection data acquired by the electronic device is specifically as follows:
the electronic equipment determines a target system corresponding to the current detection data;
the electronic device obtains historical detection data of a target system of the vehicle within a preset time period.
If the current detection data is detection data for one or some systems, the electronic device needs to determine a target system corresponding to the current detection data first, so as to obtain historical detection data of the target system in the detected vehicle within a preset time period.
204. And judging whether fault code information exists in the historical detection data, if not, executing thestep 205, and if so, directly executing thestep 206.
In specific application, the automobile diagnosis is a method and means for performing performance test and fault detection on an automobile through electronic equipment, various working performance indexes of the automobile can be tested through the automobile diagnosis, and fault information can be found under the condition that the automobile or an assembly is not disassembled. When the vehicle breaks down, the fault code is automatically stored in a data storage area inside the vehicle electronic control unit. Therefore, the failure state corresponding to the current vehicle state can be determined by the failure code information.
In some specific embodiments, the electronic device may determine a failure condition of the vehicle within a previous preset time period by determining whether the acquired historical detection data includes the failure code information, and if the historical detection data includes the failure code information, it indicates that the vehicle under test has the failure condition within the previous preset time period, at this time,step 206 and subsequent steps are performed to generate a complete vehicle maintenance diagnosis report. If the historical detection data does not have the fault code information, the detected vehicle is indicated to have no fault condition detected in the previous preset time period, and then step 205 is executed.
205. And generating prompt information, wherein the prompt information is used for prompting the current fault-free information of the vehicle.
If the electronic equipment determines that the detected vehicle does not have fault code information in the historical detection information in the previous preset time period, prompt information is directly generated so as to prompt maintenance personnel that the vehicle is completely maintained, namely no fault condition exists currently.
206. Determining report general content, wherein the report general content comprises vehicle information and maintenance factory information.
In some embodiments, before generating a complete service diagnosis report, the general content of the report is determined, and the general content of the report contains basic information of the vehicle and service factory information. Specifically, the vehicle information refers to vehicle-related information not limited to the brand, model, year, VIN code, engine information, mileage, etc. of the vehicle, and the service shop information refers to service shop-related information not limited to the name, address, contact address, equipment number, etc. of the service shop.
207. Pre-vehicle diagnostic data is determined based on the historical inspection data.
The historical detection data acquired by the electronic equipment corresponds to data before vehicle diagnosis, and the data before diagnosis only refers to data detected before the current diagnosis. The electronic device can specifically analyze specific fault conditions through fault code information in the historical detection data.
208. And determining the vehicle diagnosed data according to the current detection data.
The current detection data acquired by the electronic equipment corresponds to data after vehicle diagnosis, and the data after diagnosis refers to data detected by the current diagnosis.
209. And merging and generating a target maintenance diagnosis report according to the data before vehicle diagnosis, the data after vehicle diagnosis and the report general content.
If the acquired historical detection data has fault code information, the electronic equipment determines data before vehicle diagnosis according to the historical detection data, determines data after diagnosis according to the current detection data, and integrates the general contents of reports to generate a diagnosis report containing the conditions before and after vehicle detection, namely a target maintenance diagnosis report. The target service diagnosis report includes data information including service factory information (including but not limited to service factory name, address, contact address, equipment number, etc.), vehicle information (including but not limited to brand, model, year, VIN code, engine information, mileage, etc.), pre-vehicle diagnosis data (historical detection data with fault code information), and post-vehicle diagnosis data (current detection data without fault code information).
In the embodiment, historical detection data of the same detection type can be acquired according to the detection type of the current detection data and integrated, so that maintenance diagnosis reports of corresponding types are generated in an integrated manner, the maintenance diagnosis reports are more targeted, and user experience is improved.
Further, if the detection type of the current detection data acquired by the electronic device is vehicle-wide detection, when the electronic device generates a target maintenance diagnosis report according to the combination of the pre-vehicle diagnosis data, the post-vehicle diagnosis data, and the general report content, it is necessary to integrate the pre-vehicle diagnosis data and the post-vehicle diagnosis data corresponding to each system according to a system division manner to form a fault diagnosis information content, and then combine the general report content with the fault diagnosis information content to generate the target maintenance diagnosis report. In the embodiment, data integration is performed according to a system division mode, so that a user can more visually see data before and after maintenance of each system, readability of a maintenance diagnosis report is improved, and user experience is further improved.
In the embodiment, the decoder is generally used for carrying out data detection for multiple times during the in-factory maintenance of the automobile, and after the maintenance is completed, the method provided by the application can integrate the maintenance detection data of the same vehicle in a preset time period, namely, the diagnostic data before the maintenance of the same vehicle and the diagnostic data after the maintenance are integrated to generate a complete vehicle maintenance diagnostic report, so that an owner can know multiple diagnostic results generated in the maintenance diagnostic process, and the user experience is improved. Further, if the maintenance personnel perform the whole vehicle detection, the electronic equipment intelligently matches historical detection data of the whole vehicle detection within a preset time period, and therefore a vehicle maintenance diagnosis report of the whole vehicle is generated. And if the maintenance personnel perform system detection aiming at a certain system, the electronic equipment intelligently matches the historical detection data of the system in a preset time period, so that a maintenance diagnosis report of the system is generated.
For example, in 1 month of 2020, a customer enters the repair shop a for repair due to a failure, and the repair shop completes the current troubleshooting work. At 5 months 2021, the customer's vehicle failed again, and came to repair shop a again, and needed to be repaired again. When the automobile enters a factory, the colleagues of the automobile receiving use the electronic equipment to perform one-time whole-automobile detection on the spot of a client, detect 4 fault codes, perform one-key code clearing function at that time, find that one fault code is a historical fault code and clear the fault code. The automobile is transferred to a maintenance station to wait for a professional technician to overhaul. The next day, the professional technician takes the maintenance task, the whole vehicle detection is carried out again, 3 fault codes are displayed on the vehicle engine system, and the fault codes still exist after one-key code clearing. The remaining trouble codes are quickly released according to the professional and experience of the technician in combination with the information help of the electronic device. The service factory needs to provide a report of the repair to the customer according to the service requirement. By the method provided by the embodiment, the electronic equipment intelligently matches the whole vehicle detection data of the vehicle in the last week (the detection data information made in 1 month in 2020 is automatically eliminated), so that a complete maintenance diagnosis report is generated for a client.
Referring to fig. 3, fig. 3 is a schematic diagram of an embodiment of an integrated device for vehicle service diagnosis reporting according to the present application, the device comprising:
afirst acquisition unit 301 for acquiring current detection data of the vehicle;
a second obtainingunit 302, configured to obtain historical detection data of the vehicle within a preset time period;
a judgingunit 303, configured to judge whether fault code information exists in the history detection data;
agenerating unit 304, configured to integrate the historical detection data and the current detection data to generate a target repair diagnosis report when the determination result of the determiningunit 303 is yes.
In this embodiment, the car all can use the decoding appearance to carry out data detection many times in the maintenance of getting into the factory, and after the maintenance is accomplished, can integrate the maintenance testing data of same vehicle in the preset time quantum through the device that this application provided, integrate diagnostic data before same vehicle maintenance and the diagnostic data after the maintenance promptly and generate complete vehicle maintenance diagnosis report, make the car owner can know the many diagnosis results that produce in the maintenance diagnosis process to user experience has been promoted.
Referring to fig. 4, fig. 4 is a diagram illustrating another embodiment of an integrated device for vehicle maintenance diagnosis reports according to an embodiment of the present application, where the integrated device includes:
afirst acquisition unit 401 for acquiring current detection data of the vehicle;
a second obtainingunit 402, configured to obtain historical detection data of the vehicle within a preset time period;
a judgingunit 403, configured to judge whether fault code information exists in the history detection data;
agenerating unit 404, configured to integrate the historical detection data and the current detection data to generate a target repair diagnosis report when the determination result of the determiningunit 403 is yes.
Optionally, the integration apparatus further comprises:
a first determiningunit 405, configured to determine a detection type of current detection data;
the second obtainingunit 402 is specifically configured to:
and acquiring historical detection data with the same detection type as the current detection data in a preset time period.
Further, when the detection type of the current detection data is full vehicle detection, the second obtainingunit 402 is specifically configured to:
and acquiring historical detection data of the vehicle detection type of the whole vehicle detection in a preset time period.
Further, when the detection type of the current detection data is system detection, the second obtainingunit 402 is specifically configured to:
determining a target system corresponding to the current detection data;
historical detection data of a target system of a vehicle within a preset time period is acquired.
Optionally, the integration apparatus further comprises:
and a promptingunit 406, configured to generate prompting information for prompting that the vehicle has no fault information currently when the determination result of the determiningunit 403 is no.
Optionally, the integration apparatus further comprises:
asecond determination unit 407 for determining a report general content, the report general content including vehicle information and service shop information;
the generatingunit 404 specifically includes:
afirst determination module 4041 for determining pre-vehicle-diagnostic data from historical detection data;
a second determining module 4042, configured to determine vehicle post-diagnosis data according to the current detection data;
thegenerating module 4043 is configured to generate a target repair diagnosis report according to the pre-vehicle-diagnosis data, the post-vehicle-diagnosis data, and the report general content.
Further, if the detection type of the current detection data is the vehicle-wide detection, thegenerating module 4043 is specifically configured to:
respectively displaying the data before vehicle diagnosis and the data after vehicle diagnosis corresponding to each system according to a system division mode to form fault diagnosis information content;
and combining the general report content and the fault diagnosis information content to generate a target maintenance diagnosis report.
In the device of this embodiment, the functions of each unit and each module correspond to the steps in the method embodiment shown in fig. 2, and are not described herein again.
An embodiment of the present application further provides an electronic device, please refer to fig. 5, where fig. 5 is an embodiment of the electronic device provided in the present application, and the electronic device includes:
aprocessor 501, amemory 502, an input/output unit 503, and abus 504;
theprocessor 501 is connected with thememory 502, the input/output unit 503 and thebus 504;
memory 502 holds a program thatprocessor 501 invokes to perform any of the vehicle service diagnostic reporting integration methods described above.
Embodiments of the present application also relate to a computer-readable storage medium having a program stored thereon, where the program is configured to, when run on a computer, cause the computer to perform any one of the above methods for integrating vehicle repair diagnostic reports.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.