CN115050117B - Vehicle diagnosis report generation method and device and diagnosis equipment - Google Patents

Vehicle diagnosis report generation method and device and diagnosis equipment Download PDF

Info

Publication number
CN115050117B
CN115050117B CN202210971897.7A CN202210971897A CN115050117B CN 115050117 B CN115050117 B CN 115050117B CN 202210971897 A CN202210971897 A CN 202210971897A CN 115050117 B CN115050117 B CN 115050117B
Authority
CN
China
Prior art keywords
vehicle
diagnosis
report
diagnostic
online
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.)
Active
Application number
CN202210971897.7A
Other languages
Chinese (zh)
Other versions
CN115050117A (en
Inventor
章维
张佳裕
廖其龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xingka Software Technology Development Co Ltd
Original Assignee
Shenzhen Xingka Software Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xingka Software Technology Development Co Ltd filed Critical Shenzhen Xingka Software Technology Development Co Ltd
Priority to CN202210971897.7A priority Critical patent/CN115050117B/en
Publication of CN115050117A publication Critical patent/CN115050117A/en
Application granted granted Critical
Publication of CN115050117B publication Critical patent/CN115050117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a method, a device and diagnostic equipment for generating a vehicle diagnostic report, which relate to the technical field of vehicle diagnosis, and the method comprises the following steps: responding to vehicle diagnosis report generation operation, acquiring a vehicle model when network abnormality exists in diagnosis equipment, and searching vehicle information according to the vehicle model; generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, the user information and a fault code obtained by fault diagnosis performed by the vehicle; storing the offline diagnostic report to a first database; and storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal. According to the method, the device and the diagnosis equipment for generating the vehicle diagnosis report, provided by the invention, a user can normally check the fault diagnosis of the current vehicle in time according to the vehicle diagnosis report under the condition that the network environment is uncertain, so that the vehicle diagnosis efficiency and the driving experience of the user are effectively improved.

Description

Vehicle diagnosis report generation method and device and diagnosis equipment
Technical Field
The present invention relates to the field of vehicle diagnosis technologies, and in particular, to a method and an apparatus for generating a vehicle diagnosis report, and a diagnostic device.
Background
At present, in the automobile industry, when a vehicle has a fault and needs to be maintained, the vehicle can be generally diagnosed through a diagnosis device, after the diagnosis device obtains fault information of the vehicle, a diagnosis report is generated to be referred by a user and maintained, meanwhile, the report is uploaded to a server, and the user can check a historical diagnosis report.
However, the environments of users are different, and the network state may be unstable or even disconnected, so that the report content cannot be uploaded and viewed in time, and the diagnosis efficiency of the vehicle is seriously affected.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus and a diagnostic device for generating a vehicle diagnostic report to alleviate the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for generating a vehicle diagnostic report, where the method is applied to a diagnostic device, and the method includes: responding to vehicle diagnosis report generation operation when fault diagnosis is performed on a current vehicle, and judging whether the diagnosis equipment has network abnormality; if so, acquiring the vehicle model of the vehicle, and searching vehicle information corresponding to the vehicle according to the vehicle model; generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle; storing the offline diagnostic report to a first database; and storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the step of determining whether the diagnostic device has a network anomaly includes: and judging whether the WIFI network and the mobile data of the diagnosis equipment are abnormal or not, and if so, determining that the diagnosis equipment has network abnormality.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the step of obtaining a vehicle model of the vehicle and searching for vehicle information corresponding to the vehicle according to the vehicle model includes: reading the VIN code of the vehicle; inquiring a vehicle model corresponding to the VIN code of the vehicle in a prestored local VIN code database according to the VIN code; and searching vehicle information corresponding to the vehicle model in a vehicle database stored in advance based on the vehicle model.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information, and a fault code obtained through fault diagnosis performed by the vehicle includes: acquiring a preset diagnosis report template; and adding the vehicle information, the user information and a fault code obtained by fault diagnosis performed by the vehicle to the diagnosis report template so as to generate an offline diagnosis report and an online diagnosis report of the vehicle based on the diagnosis report template.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the step of storing the online diagnostic report in the second database includes: encrypting the online diagnosis report; storing the encrypted online diagnostic report to a second database.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after the encrypted online diagnostic report is stored in the second database, the method further includes: according to a preset data splitting rule, carrying out data splitting on the encrypted online diagnosis report to generate a plurality of encrypted data packets corresponding to the online diagnosis report; storing a plurality of encrypted data packets in an associated manner; wherein the splitting rule comprises: splitting according to the report basic information, the vehicle basic information and the vehicle system information; and if the vehicle system information comprises a plurality of vehicle subsystems, performing secondary splitting processing on each vehicle subsystem, wherein after the secondary splitting processing, a splitting packet corresponding to each vehicle subsystem records a fault code of the vehicle subsystem.
With reference to the fifth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes: and if the diagnostic equipment is monitored to be recovered to be normal, decrypting a plurality of encrypted data packets corresponding to the online diagnostic report, and uploading the online diagnostic report obtained after decryption to the server.
With reference to the first aspect, an embodiment of the present invention provides a seventh possible implementation manner of the first aspect, where the method further includes: and reading the offline diagnosis report in the first database, and displaying the offline diagnosis report in a preset local webpage form.
In a second aspect, an embodiment of the present invention further provides an apparatus for generating a vehicle diagnostic report, which is applied to a diagnostic device, and the apparatus includes: the judging module is used for responding to vehicle diagnosis report generating operation when fault diagnosis is carried out on a current vehicle and judging whether the diagnosis equipment has network abnormity; the searching module is used for acquiring the vehicle model of the vehicle and searching the vehicle information corresponding to the vehicle according to the vehicle model when the judgment result of the judging module is yes; the generating module is used for generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle; a storage module for storing the offline diagnostic report to a first database; and storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal.
In a third aspect, the embodiment of the present invention further provides a diagnostic apparatus, which is provided with the vehicle diagnostic report generation device in the second aspect, so as to execute the vehicle diagnostic report generation method in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fifth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method according to the first aspect.
The embodiment of the invention has the following beneficial effects:
the method, the device and the diagnostic equipment for generating the vehicle diagnostic report provided by the embodiment of the invention can respond to the vehicle diagnostic report generating operation when fault diagnosis is carried out on the current vehicle, acquire the vehicle model of the vehicle when the diagnostic equipment is judged to have network abnormality, and search the vehicle information corresponding to the vehicle according to the vehicle model; generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle; and storing the offline diagnostic report to a first database; and storing the online diagnosis report into the second database so as to be uploaded to the server for a user to check when the network of the diagnosis device is normal, and directly checking the offline diagnosis report stored in the first database on the diagnosis device, so that the user can obtain the vehicle diagnosis report no matter under the condition of network abnormality or network normal condition, namely, the user can normally check the fault diagnosis of the current vehicle according to the vehicle diagnosis report in time under the condition of network environment uncertainty, thereby effectively improving the diagnosis efficiency of the vehicle and the driving experience of the user.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method for generating a vehicle diagnostic report according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for generating a vehicle diagnostic report provided by an embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for generating a vehicle diagnostic report according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Generally, when a vehicle breaks down and needs to be maintained, due to the fact that environments of users are different, the network state may be unstable or even disconnected, and therefore a fault diagnosis report cannot be uploaded and checked in time, namely, the uploading and checking of the fault diagnosis report are affected by uncertainty of the network environment, and vehicle diagnosis efficiency and driving experience of the users are reduced.
Based on this, the method, the device and the diagnostic equipment for generating the vehicle diagnostic report provided by the embodiment of the invention can effectively alleviate the technical problems.
To facilitate understanding of the present embodiment, a method for generating a vehicle diagnostic report disclosed in the present embodiment will be described in detail first.
In a possible implementation manner, the embodiment of the present invention provides a method for generating a vehicle diagnosis report, which is applied to a diagnosis device, and the flowchart of the method for generating the vehicle diagnosis report shown in fig. 1 includes the following steps:
step S102, responding to vehicle diagnosis report generation operation when fault diagnosis is carried out on the current vehicle, and judging whether network abnormality exists in the diagnosis equipment;
step S104, if yes, obtaining the vehicle model of the vehicle, and searching the vehicle information corresponding to the vehicle according to the vehicle model;
in actual use, the fault diagnosis process is usually performed when the vehicle has a fault and needs to be repaired, and the specific repair process may be performed by a professional serviceman, such as a professional serviceman in an Automobile Sales Service 4S Shop (4S for short), or may be directly performed by a vehicle owner.
The diagnostic device generally refers to an intelligent device capable of rapidly and accurately finding out technical conditions of a vehicle, an assembly, and a mechanism and obtaining an undisrupted test of a reliable conclusion, and when a fault diagnosis of the vehicle is performed, the vehicle may be diagnosed through the diagnostic device, and specifically, the diagnostic device may be communicated with an On-Board Diagnostics (OBD) of the vehicle to obtain information related to the vehicle.
Furthermore, the diagnostic device is generally configured with a network module for further uploading diagnostic content and results to the server, so that maintenance personnel can display the diagnostic content and results through a display device with an interactive interface, such as an upper computer configured in the server. However, because the environments of the diagnostic devices are different, the network state may be unstable or even disconnected, so that the content obtained by the diagnosis cannot be uploaded and checked in time.
Therefore, the above-described vehicle diagnosis report generation operation is generally an operation that is generated when a service person operates a diagnosis device, and the diagnosis device can respond to the operation and determine whether there is a network abnormality. If there is an abnormality, execution continues with step S104.
Step S106, generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, the pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle;
step S108, storing the offline diagnosis report into a first database; and storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal.
The method for generating the vehicle diagnosis report provided by the embodiment of the invention can respond to the vehicle diagnosis report generating operation aiming at the current vehicle during fault diagnosis, and when the network abnormality of the diagnosis equipment is judged, the vehicle model of the vehicle is obtained, and the vehicle information corresponding to the vehicle is searched according to the vehicle model; generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, the pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle; and storing the offline diagnostic report to a first database; and storing the online diagnosis report into a second database so as to upload the online diagnosis report to a server for a user to check when the network of the diagnosis equipment is normal, and directly checking the offline diagnosis report stored in the first database on the diagnosis equipment, so that the user can obtain the vehicle diagnosis report under the condition of abnormal network or normal network, namely, the user can normally check the fault diagnosis of the current vehicle according to the vehicle diagnosis report under the condition of uncertain network environment, thereby effectively improving the diagnosis efficiency of the vehicle and the driving experience of the user.
In actual use, the network abnormality generally refers to a situation that the diagnostic device monitors that both the WIFI network and the mobile data are abnormal in a current environment through a network module of the diagnostic device, for example, if the diagnostic device monitors that both the WIFI network and the mobile data are not connected, a network disconnection condition is determined, if one of the WIFI network and the mobile data is available, but a received or transmitted network data flow is lower than a preset flow threshold, the diagnostic device may determine that the diagnostic device is in a weak network state at present, and may also determine that the diagnostic device is in a network abnormality. And when judging whether the diagnosis equipment has network abnormality or not, judging whether both the WIFI network and the mobile data of the diagnosis equipment are abnormal or not, if so, determining that the diagnosis equipment has network abnormality, if one network is available, not considering the network abnormality, and if not, generating a diagnosis report according to a diagnosis result and combining vehicle information and uploading the diagnosis report to a server. And if the network abnormality of the diagnosis equipment is determined, processing according to the processes of the steps S104-S108 to generate an offline diagnosis report and an online diagnosis report.
For convenience of understanding, on the basis of fig. 1, fig. 2 shows a flowchart of another vehicle diagnosis report generation method, which describes a vehicle diagnosis report generation process, and specifically, as shown in fig. 2, includes the following steps:
step S202, responding to vehicle diagnosis report generation operation when fault diagnosis is carried out on the current vehicle, and judging whether network abnormality exists in the diagnosis equipment;
step S204, if yes, reading the VIN code of the vehicle;
step S206, inquiring a vehicle model corresponding to the VIN code of the vehicle in a pre-stored local VIN code database according to the VIN code;
in specific implementation, it is described by taking an example that the diagnostic device monitors that both the WIFI network and the mobile data are not connected, that is, the diagnostic device monitors that the network is disconnected, because the diagnostic device is usually connected to an on-board diagnostic system OBD of a Vehicle, at this time, the diagnostic device may read a VIN (Vehicle Identification Number) code of the Vehicle through the on-board diagnostic system OBD, and then query a Vehicle model corresponding to the VIN code in a local VIN code database. Specifically, the diagnostic device generally has diagnostic software, such as AutoSearch software, which can further query the vehicle model in the local VIN code database after reading the VIN code, and when the network of the diagnostic device returns to normal, the diagnostic software can also perform networking to obtain the VIN code of the latest version and update the local VIN code database.
Step S208, searching vehicle information corresponding to the vehicle model in a vehicle database stored in advance based on the vehicle model;
step S210, acquiring a preset diagnosis report template;
step S212, adding the vehicle information, the user information and the fault codes obtained by fault diagnosis performed by the vehicle to a diagnosis report template so as to generate an offline diagnosis report and an online diagnosis report of the vehicle based on the diagnosis report template;
in specific implementation, after the diagnostic device identifies the vehicle signal, it may further obtain vehicle information corresponding to the vehicle type, such as system parameters, fault codes, data streams, and the like of the current vehicle, from a vehicle database according to step S208, and then integrate the vehicle information, user information, and corresponding fault codes, where the user information generally refers to information of the vehicle owner, such as name of the vehicle owner, a mobile phone number, and the like, so as to generate an offline diagnostic report and an online diagnostic report of the vehicle based on the diagnostic report template.
Step S214, storing the offline diagnosis report into a first database; and storing the online diagnostic report to a second database;
generally, the first database refers to a local database of the diagnostic device, and the offline diagnostic report may be inserted into the local database and stored after being generated.
Further, the second database generally refers to a local directory for storing temporary file data, and since the online diagnosis report stored in the second database needs to be further transmitted to the server through the network, the online diagnosis report generally needs to be encrypted to ensure the security of file transmission.
Specifically, storing the online diagnosis report in the second database requires encrypting the online diagnosis report; the encrypted online diagnostic report is then stored to a second database. For example, the online diagnostic report may be encrypted by Base64 encryption and saved to a local directory as a file.
Step S216, if the diagnostic device is monitored to be restored to the normal network, decrypting the plurality of encrypted data packets corresponding to the online diagnostic report, and uploading the online diagnostic report obtained after decryption to a server.
In actual use, in order to ensure stability of network transmission, the online diagnostic report may be split, specifically, after the encrypted online diagnostic report is stored in the second database, the encrypted online diagnostic report may be split according to a preset data splitting rule to generate a plurality of encrypted data packets corresponding to the online diagnostic report; and then storing the plurality of encrypted data packets in an associated manner.
Wherein, the splitting rule comprises: splitting according to the report basic information, the vehicle basic information and the vehicle system information; and if the vehicle system information comprises a plurality of vehicle subsystems, performing secondary splitting processing on each vehicle subsystem, wherein after the secondary splitting processing, a splitting packet corresponding to each vehicle subsystem records a fault code of the vehicle subsystem.
For example, an online diagnostic report may be broken into encrypted packets that include three parts: report basic information, such as report type, user information, etc.; vehicle basic information, such as license plate number, mileage, etc., and vehicle system information. For example, if the current fault diagnosis result includes an engine system fault and a brake system fault, the fault code includes fault codes of the engine system and the brake system, and at this time, the vehicle system information includes two vehicle subsystems of the engine system and the brake system, and when the vehicle system information is split, the engine system and the brake system can be split respectively, and each split packet includes respective fault codes, data streams, calibration information and the like, so as to avoid unstable network transmission caused by an excessively large data packet.
Further, if it is monitored that the diagnostic device is restored to a normal network, that is, when the diagnostic device has a network, the diagnostic device starts to upload the split online diagnostic report to the server, specifically, the plurality of encrypted data packets may be decrypted, and the online diagnostic report obtained after the decryption is uploaded to the server, at this time, the offline diagnostic report in the local database may be modified and perfected according to the content returned by the server after the uploading is successful, so as to ensure that the report record of the local offline diagnostic report of the user is consistent with the record of the server.
In addition, in the process of uploading the online diagnosis report, if uploading of a certain encrypted data packet fails, the encrypted data packet is automatically uploaded again, and the encrypted data packet which is uploaded successfully before does not need to be uploaded repeatedly, so that the uploading success rate is increased, if the uploading times are up to the preset times, for example, three times, the environment where the user is located is considered to be a weak network, namely, the network is abnormal, at the moment, the uploading can be suspended, and the remaining encrypted data packets of the online diagnosis report are stored to a local directory in a file manner.
Further, if the monitored duration of the network abnormality of the diagnostic device is greater than a preset duration threshold, the offline diagnostic report in the local database, that is, the first database, may be directly displayed, specifically, the offline diagnostic report in the first database may be read at this time, and the offline diagnostic report may be displayed in a preset local webpage form.
In actual use, the initial style of the offline diagnostic report is generally the same as the style of the online diagnostic report, and a timer may be set on the side of the diagnostic device, so as to update the initial style of the offline diagnostic report periodically, for example, the diagnostic device may be set to download the style file of the online diagnostic report via internet every 24 hours and update the style file to a local database, so as to ensure that the style of the offline diagnostic report can change following the change of the style of the online diagnostic report, thereby ensuring that the style of the offline diagnostic report is consistent with the style of the online diagnostic report. In addition, through the method, users, such as vehicle maintenance personnel, can normally generate and check the vehicle diagnosis report under the condition that the network environment is uncertain.
Further, on the basis of the above embodiment, the embodiment of the present invention further provides a vehicle diagnostic report generating device, which is applied to a diagnostic apparatus, and is shown as a structural diagram of the vehicle diagnostic report generating device in fig. 3, and the device includes:
a judging module 30, configured to respond to a vehicle diagnosis report generation operation performed when performing fault diagnosis for a current vehicle, and judge whether a network abnormality exists in the diagnosis device;
the searching module 32 is configured to, when the judgment result of the judging module is yes, obtain a vehicle model of the vehicle, and search vehicle information corresponding to the vehicle according to the vehicle model;
a generating module 34, configured to generate an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, and a fault code obtained by fault diagnosis performed by the vehicle and pre-stored user information;
a storage module 36, configured to store the offline diagnostic report to a first database; and storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal.
Further, the embodiment of the invention also provides a diagnostic device, which is provided with the vehicle diagnostic report generation device to execute the vehicle diagnostic report generation method shown in fig. 1 or fig. 2.
The vehicle diagnostic report generation device and the diagnostic equipment provided by the embodiment of the invention have the same technical characteristics as the vehicle diagnostic report generation method provided by the embodiment, so the same technical problems can be solved, and the same technical effects can be achieved.
Further, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the foregoing method.
Further, an embodiment of the present invention further provides a schematic structural diagram of an electronic device, as shown in fig. 4, which is a schematic structural diagram of the electronic device, where the electronic device includes a processor 41 and a memory 40, the memory 40 stores computer-executable instructions that can be executed by the processor 41, and the processor 41 executes the computer-executable instructions to implement the method.
In the embodiment shown in fig. 4, the electronic device further comprises a bus 42 and a communication interface 43, wherein the processor 41, the communication interface 43 and the memory 40 are connected by the bus 42.
The Memory 40 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like may be used. The bus 42 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 42 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The processor 41 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 41. The Processor 41 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and the processor 41 reads information in the memory and performs the method in combination with hardware thereof.
The method and the apparatus for generating a vehicle diagnostic report and the computer program product of the diagnostic device provided by the embodiments of the present invention include a computer-readable storage medium storing program codes, where instructions included in the program codes may be used to execute the methods described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the diagnostic device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units 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 invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several 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 invention. 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 other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for generating a vehicle diagnosis report is applied to a diagnosis device, and comprises the following steps:
responding to vehicle diagnosis report generation operation when fault diagnosis is performed on a current vehicle, and judging whether the diagnosis equipment has network abnormality;
if so, acquiring the vehicle model of the vehicle, and searching vehicle information corresponding to the vehicle according to the vehicle model;
generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle;
storing the offline diagnostic report to a first database; storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal; the first database is a local database of the diagnostic equipment, and the second database is a local directory for storing temporary file data;
wherein the step of storing the online diagnostic report to a second database comprises:
encrypting the online diagnosis report;
storing the encrypted online diagnostic report to a second database;
after storing the encrypted online diagnostic report to a second database, the method further comprises:
according to a preset data splitting rule, carrying out data splitting on the encrypted online diagnosis report to generate a plurality of encrypted data packets corresponding to the online diagnosis report;
storing a plurality of encrypted data packets in an associated manner;
and if the diagnostic equipment is monitored to be recovered to be normal, decrypting the plurality of encrypted data packets corresponding to the online diagnostic report, and uploading the online diagnostic report obtained after decryption to the server.
2. The method of claim 1, wherein the step of determining whether the diagnostic device has a network anomaly comprises:
and judging whether the WIFI network and the mobile data of the diagnosis equipment are abnormal or not, and if so, determining that the diagnosis equipment has network abnormality.
3. The method according to claim 1, wherein the step of obtaining the vehicle model of the vehicle and searching the vehicle information corresponding to the vehicle according to the vehicle model comprises:
reading the VIN code of the vehicle;
inquiring a vehicle model corresponding to the VIN code of the vehicle in a pre-stored local VIN code database according to the VIN code;
and searching vehicle information corresponding to the vehicle model in a vehicle database stored in advance based on the vehicle model.
4. The method of claim 1, wherein the step of generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, and a fault code obtained by a fault diagnosis performed by the vehicle and pre-stored user information comprises:
acquiring a preset diagnosis report template;
adding the vehicle information, the user information and a fault code obtained by fault diagnosis performed by the vehicle to the diagnosis report template so as to generate an offline diagnosis report and an online diagnosis report of the vehicle based on the diagnosis report template.
5. The method of claim 1, wherein the splitting rule comprises: splitting according to the report basic information, the vehicle basic information and the vehicle system information; and if the vehicle system information comprises a plurality of vehicle subsystems, performing secondary splitting processing on each vehicle subsystem, wherein after the secondary splitting processing, a split packet corresponding to each vehicle subsystem records a fault code of the vehicle subsystem.
6. The method of claim 1, further comprising:
and reading the offline diagnosis report in the first database, and displaying the offline diagnosis report in a preset local webpage form.
7. An apparatus for generating a vehicle diagnostic report, applied to a diagnostic device, the apparatus comprising:
the judging module is used for responding to vehicle diagnosis report generation operation when fault diagnosis is carried out on a current vehicle and judging whether the network abnormality exists in the diagnosis equipment or not;
the searching module is used for acquiring the vehicle model of the vehicle and searching the vehicle information corresponding to the vehicle according to the vehicle model when the judgment result of the judging module is yes;
the generating module is used for generating an offline diagnosis report and an online diagnosis report of the vehicle based on the vehicle information, pre-stored user information and a fault code obtained by fault diagnosis performed by the vehicle;
a storage module for storing the offline diagnostic report to a first database; storing the online diagnosis report to a second database so as to upload the online diagnosis report to a server when the diagnosis equipment network is normal; the first database is a local database of the diagnostic equipment, and the second database is a local directory for storing temporary file data;
wherein the storage module is further configured to:
encrypting the online diagnosis report;
storing the encrypted online diagnostic report to a second database;
after storing the encrypted online diagnostic report to a second database, the method further comprises:
according to a preset data splitting rule, carrying out data splitting on the encrypted online diagnosis report to generate a plurality of encrypted data packets corresponding to the online diagnosis report;
storing a plurality of encrypted data packets in an associated manner;
and if the diagnostic equipment is monitored to be recovered to be normal, decrypting the plurality of encrypted data packets corresponding to the online diagnostic report, and uploading the online diagnostic report obtained after decryption to the server.
8. A diagnostic apparatus characterized in that it is provided with the vehicle diagnostic report generation device of claim 7 to execute the vehicle diagnostic report generation method of any one of claims 1 to 6.
CN202210971897.7A 2022-08-15 2022-08-15 Vehicle diagnosis report generation method and device and diagnosis equipment Active CN115050117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210971897.7A CN115050117B (en) 2022-08-15 2022-08-15 Vehicle diagnosis report generation method and device and diagnosis equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210971897.7A CN115050117B (en) 2022-08-15 2022-08-15 Vehicle diagnosis report generation method and device and diagnosis equipment

Publications (2)

Publication Number Publication Date
CN115050117A CN115050117A (en) 2022-09-13
CN115050117B true CN115050117B (en) 2022-11-25

Family

ID=83167346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210971897.7A Active CN115050117B (en) 2022-08-15 2022-08-15 Vehicle diagnosis report generation method and device and diagnosis equipment

Country Status (1)

Country Link
CN (1) CN115050117B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073319B (en) * 2011-01-25 2013-02-27 武汉理工大学 Multifunctional comprehensive type electric control automobile fault diagnosis system
CN105988456A (en) * 2015-01-30 2016-10-05 上海汽车集团股份有限公司 Vehicle fault remote diagnosis method, vehicle fault remote diagnosis device and vehicle fault remote diagnosis system
CN110493189A (en) * 2019-07-12 2019-11-22 深圳壹账通智能科技有限公司 Insurance data acquisition methods, device and storage medium, server
CN110752965A (en) * 2019-09-30 2020-02-04 惠州市德赛西威汽车电子股份有限公司 Method for actively and passively diagnosing and solving vehicle machine network fault
CN111124570A (en) * 2019-12-06 2020-05-08 深圳市元征科技股份有限公司 Method for generating automobile diagnosis report and related equipment
CN112034824A (en) * 2020-09-04 2020-12-04 深圳市云伽智能技术有限公司 Automobile diagnosis method, device, equipment and computer readable storage medium
CN112485019B (en) * 2020-11-24 2023-06-09 海马汽车有限公司 Vehicle fault diagnosis method and device, vehicle and storage medium
CN112786188A (en) * 2021-02-05 2021-05-11 北京致医健康信息技术有限公司 Offline working method and device of auxiliary diagnosis system, terminal equipment and medium
CN113050601A (en) * 2021-03-22 2021-06-29 深圳市元征科技股份有限公司 Vehicle offline diagnosis method and device, diagnosis equipment and storage medium

Also Published As

Publication number Publication date
CN115050117A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
US20180351980A1 (en) System and method for providing fleet cyber-security
CN110719199B (en) Network automatic testing and fault positioning method and device
CN108243212B (en) Method and device for vehicle diagnosis
CN108919776B (en) Fault assessment method and terminal
CN110989564B (en) Automobile data diagnosis method and device
CN113114659B (en) Diagnostic equipment detection method and device, terminal equipment and storage medium
CN110830491A (en) Internet of vehicles information acquisition method and device
CN111311780A (en) Vehicle fault detection system and method, vehicle-mounted terminal and vehicle
CN115050117B (en) Vehicle diagnosis report generation method and device and diagnosis equipment
CN115208695B (en) Black box safety scanning method, device and system and electronic equipment
CN112181836A (en) Test case generation method, system, device and storage medium
CN112131554A (en) Installation identification method and device of vehicle-mounted terminal and vehicle-mounted terminal
CN103577964A (en) Method and system for acquiring product circulation regional information and verifying authenticity of product
CN114037539A (en) Method and device for detecting single-link failure of insurance
CN112180783B (en) Information monitoring management method and device based on Internet
CN112783942A (en) Block chain-based data acquisition quality verification method, system, device and medium
CN112687030A (en) Vehicle condition information processing method and device
CN108200060B (en) Single sign-on verification method based on web subsystem, server and storage medium
US20230401910A1 (en) Assisted vehicle identification method and device
CN115604135B (en) Service monitoring method and device
CN110750418B (en) Information processing method, electronic equipment and information processing system
CN110225543B (en) Mobile terminal software quality situation perception system and method based on network request data
US20240114044A1 (en) Log determination device, log determination method, log determination program, and log determination system
CN117729250A (en) Message pushing method and device, electronic equipment and storage medium
CN113419513A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant