CN114564002B - Method and device for quickly diagnosing lost packet and computer equipment - Google Patents

Method and device for quickly diagnosing lost packet and computer equipment Download PDF

Info

Publication number
CN114564002B
CN114564002B CN202210459207.XA CN202210459207A CN114564002B CN 114564002 B CN114564002 B CN 114564002B CN 202210459207 A CN202210459207 A CN 202210459207A CN 114564002 B CN114564002 B CN 114564002B
Authority
CN
China
Prior art keywords
vehicle
information
system data
diagnosis
automobile
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
CN202210459207.XA
Other languages
Chinese (zh)
Other versions
CN114564002A (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 CN202210459207.XA priority Critical patent/CN114564002B/en
Publication of CN114564002A publication Critical patent/CN114564002A/en
Application granted granted Critical
Publication of CN114564002B publication Critical patent/CN114564002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for quickly diagnosing an anti-lost packet and computer equipment, which are applied to a diagnostic tool, wherein the method for quickly diagnosing the anti-lost packet comprises the following steps: establishing communication connection with a vehicle to acquire vehicle information of the vehicle; collecting system data of a vehicle according to automobile information, wherein the system data comprise control module information of the vehicle and corresponding fault information; checking the system data to judge whether the acquired system data is complete; if the judgment result is yes, diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server; if the judgment result is negative, upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information; the invention effectively guarantees the integrity of the data of the acquisition system, improves the efficiency of acquiring the data of the system and the accuracy of the diagnosis result, and simultaneously improves the experience of users.

Description

Method and device for quickly diagnosing lost packet and computer equipment
Technical Field
The invention relates to the technical field of automobile diagnosis, in particular to a method and a device for quickly diagnosing lost packages and computer equipment.
Background
The automobile diagnosis tool is used as a professional intelligent device for automobile detection, is more and more widely applied in the automobile maintenance industry, can be roughly divided into a special diagnosis instrument and a general diagnosis instrument at present, the special diagnosis instrument can only diagnose the automobile type of a certain manufacturer or a certain group, the general diagnosis instrument can diagnose the automobile types of a plurality of manufacturers, most of the automobile diagnosis tools belong to equipment with larger volume, are inconvenient to carry and are expensive. Therefore, some diagnostic tools which are small in size, can realize rapid detection and are simple and rapid to operate appear.
However, these diagnostic tools are not user-operable, all are automated, and the device will start to operate by itself only after the vehicle is connected. In the process of diagnosing the diagnostic tool, some faults (for example, the diagnostic system or software of the diagnostic tool is not updated to a new version, diagnosis cannot be completed, a diagnostic connector is not upgraded, system data cannot be acquired, and the like) are inevitably encountered, so that operation interruption is caused, diagnosis can be continued only after the faults need to be eliminated again, time is extremely wasted, and when data of a vehicle is collected, packet loss may occur, so that the data is incomplete, the final diagnostic result is not accurate enough, and user experience is influenced.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method and a device for quickly diagnosing an anti-lost packet and computer equipment.
The technical scheme provided by the invention is a method for quickly diagnosing lost packages, which is applied to a diagnostic tool and comprises the following steps:
establishing communication connection with a vehicle to acquire vehicle information of the vehicle;
collecting system data of the vehicle according to the automobile information, wherein the system data comprise control module information of the vehicle and corresponding fault information;
checking the system data to judge whether the acquired system data is complete;
if the judgment result is yes, diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server;
and if the judgment result is negative, upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information, wherein the firmware is a diagnosis connector in communication connection with the vehicle.
Optionally, the specific step of establishing a communication connection with a vehicle to obtain vehicle information of the vehicle includes:
reading a vehicle identification code from a vehicle by establishing a communication link between a diagnostic tag and the vehicle;
and searching automobile information matched with the vehicle identification code from a database according to the vehicle identification code, wherein the automobile information comprises automobile series information, automobile type information and annual payment information.
Optionally, after the step of establishing a communication connection with a vehicle to obtain the vehicle information of the vehicle, the method further includes:
establishing connection with a network and generating a first self-checking instruction;
detecting whether the diagnosis system and the APP need to be upgraded or not according to the first self-checking instruction;
if the diagnosis system and the APP do not need to be upgraded, acquiring system data of the vehicle according to the automobile information;
and if at least one of the diagnosis system and the APP needs to be upgraded, downloading a corresponding upgrade installation package from the server to finish the upgrade, so that both the diagnosis system and the APP are updated to the latest version.
Optionally, the specific step of collecting the system data of the vehicle according to the vehicle information includes:
analyzing the automobile information to obtain the automobile type information of the automobile;
and selecting a corresponding vehicle model according to the vehicle type information to acquire system data of the vehicle.
Optionally, the specific step of verifying the system data to determine whether the acquired system data is complete includes:
according to the vehicle type information, searching vehicle system information matched with the vehicle type information in a database, wherein the vehicle system information is information of all control modules of the vehicle;
performing first definition on all control module information of the vehicle according to a preset numerical value naming rule;
carrying out second definition on the system data according to a preset numerical value naming rule;
verifying the first defined numerical value and the second defined numerical value to obtain a verification result;
and judging whether the acquired system data is complete or not according to the checking result.
Optionally, if the determination result is yes, the specific steps of diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to the server include:
if the judgment result is yes, generating a diagnosis instruction, and performing fault diagnosis on a plurality of vehicle systems of the vehicle according to the diagnosis instruction to obtain a diagnosis result, wherein the vehicle systems comprise an engine system, a brake system, a steering system and an electric control system;
and integrating the diagnosis results to generate a diagnosis report, and uploading the diagnosis report to a server.
Optionally, if the determination result is negative, the specific steps of upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the vehicle information include:
if the judgment result is negative, generating a second self-checking instruction, and detecting whether the firmware is upgraded to the latest version according to the second self-checking instruction;
if the firmware is not upgraded to the latest version, downloading a firmware upgrade installation package from a server to finish the firmware upgrade;
and if the firmware is upgraded to the latest version, returning to the step of acquiring the system data of the vehicle according to the automobile information.
The application also discloses a packet loss prevention quick diagnosis device, include:
the communication module is used for establishing communication connection with a vehicle so as to acquire the vehicle information of the vehicle;
the acquisition module is used for acquiring system data of the vehicle according to the automobile information, wherein the system data comprises control module information of the vehicle and corresponding fault information;
the verification module is used for verifying the system data so as to judge whether the acquired system data is complete;
the diagnosis module is used for diagnosing the system data to obtain a diagnosis result and generate a diagnosis report if the judgment result is yes, and uploading the diagnosis report to a server;
and the upgrading module is used for upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information if the judgment result is negative, wherein the firmware is a diagnosis connector in communication connection with the vehicle.
The application also discloses computer equipment, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the method for quickly diagnosing the anti-lost packet when executing the computer program.
The present application also discloses a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for packet loss prevention quick diagnosis as described above.
Has the beneficial effects that: according to the invention, the diagnostic tool is communicated with the vehicle to start the diagnostic tool to acquire the vehicle information of the vehicle, and the vehicle can automatically run by connecting the OBD interface of the vehicle without manual operation of a user; the express diagnosis tool acquires system data of the vehicle according to the automobile information, ensures that the acquired system data corresponds to the vehicle, and facilitates subsequent system data verification; the express diagnosis tool checks the system data to judge whether the acquired system data is complete or not, automatically checks the acquired system data, verifies whether the acquired system data is missing or not, and ensures the accuracy of an automobile diagnosis result; if the acquired system data is complete, the system data is diagnosed to obtain a diagnosis result and generate a diagnosis report, the diagnosis report is uploaded to the server, a user can download the diagnosis report from the server, the state of the vehicle diagnosis system can be visually seen through the diagnosis report, and if a fault occurs, the vehicle can be timely repaired and removed, so that the personal safety of a vehicle owner is guaranteed; if the acquired system data is incomplete, upgrading the firmware to eliminate data acquisition faults and returning to the step of acquiring the system data of the vehicle according to the automobile information, further eliminating faults to ensure that the system data can be normally acquired, and ensuring the integrity of the system data; the invention effectively guarantees the integrity of the data of the acquisition system, improves the efficiency of acquiring the data of the system and the accuracy of the diagnosis result, and simultaneously improves the experience of users.
Drawings
FIG. 1 is a schematic flow chart of a method for rapid diagnosis of anti-lost packages according to the present invention;
FIG. 2 is a schematic structural diagram of the anti-lost package rapid diagnostic device of the present invention;
FIG. 3 is a schematic diagram of a computer device according to the present invention.
As shown in the figure: 10. a communication module; 20. an acquisition module; 30. a checking module; 40. a diagnostic module; 50. and (5) upgrading the module.
Detailed Description
In order to facilitate an understanding of the invention, the invention is described in more detail below with reference to the accompanying drawings and specific examples. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The use of the terms "fixed," "integrally formed," "left," "right," and the like in this specification is for illustrative purposes only, and elements having similar structures are designated by the same reference numerals in the figures.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
The present invention will be described in detail with reference to the accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, a method for quickly diagnosing lost packets is applied to a diagnostic tool, where the diagnostic tool is an intelligent terminal with a communication diagnostic function, and the method includes the following steps:
step S1, establishing communication connection with a vehicle to obtain the vehicle information of the vehicle;
step S2, collecting system data of the vehicle according to the automobile information, wherein the system data comprises control module information of the vehicle and corresponding fault information;
step S3, checking the system data to judge whether the collected system data is complete;
step S4, if the judgment result is yes, diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server;
and step S5, if the judgment result is negative, upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information, wherein the firmware is a diagnosis connector in communication connection with the vehicle.
As described in the above steps S1-S5, when the vehicle needs to be diagnosed by using the diagnostic tool, the express diagnostic tool is connected to the OBD interface of the vehicle, the diagnostic tool is connected to the power supply through the OBD interface to start up, and establishes a communication connection with the vehicle, and the vehicle information is read from the vehicle ECU and can be used after being connected to the vehicle, so that the diagnostic tool does not need to be operated by a user, and is very convenient; after the automobile information is read, the diagnosis tool can automatically select the corresponding automobile type according to the automobile information so as to collect the system data of the automobile and ensure that the collected system data is matched with the automobile; after the system data is acquired, the system data is verified, whether the system data has the conditions of loss, packet loss and the like is verified, and omission in subsequent diagnosis is avoided; if the system data is complete, the acquired system data is diagnosed, a diagnosis result is obtained, a diagnosis report is generated and uploaded to the server, a user can download the diagnosis report from the server through the mobile terminal, the state of the vehicle diagnosis system function can be known by checking the diagnosis report, and if a fault is found, the vehicle can be timely sent for maintenance, so that the safety of the vehicle is effectively improved; if the system data is incomplete, faults affecting system data acquisition need to be further eliminated, firmware is upgraded, and then system data is acquired again according to the step of acquiring the system data of the vehicle according to the automobile information, so that the completeness and accuracy of the system data are guaranteed.
In one embodiment, the specific step of establishing a communication connection with a vehicle to acquire vehicle information of the vehicle includes:
step S11, establishing a communication link with a vehicle through the diagnosis joint, and reading a vehicle identification code from the vehicle;
and step S12, searching automobile information matched with the vehicle identification code from a database according to the vehicle identification code, wherein the automobile information comprises automobile series information, automobile type information and annual payment information.
As described in the foregoing steps S11 and S12, the diagnostic tool establishes a communication connection with the vehicle, and needs to use a diagnostic connector matching with the vehicle OBD interface to connect, and after the connection, a communication link can be established, and the diagnostic tool can read the vehicle identification code from the vehicle ECU, and search the vehicle information matching with the vehicle identification code in the database of the diagnostic tool through the vehicle identification code, where the database of the diagnostic tool stores the vehicle information of a plurality of vehicles in advance, and the associated vehicle information can be searched through the vehicle identification code, and is fast and accurate.
In one embodiment, after the step of establishing a communication connection with a vehicle to acquire the car information of the vehicle, the method further comprises the following steps:
step S13, establishing connection with a network and generating a first self-checking instruction;
step S14, detecting whether the diagnosis system and the APP need to be upgraded or not according to the first self-checking instruction;
step S15, if the diagnosis system and the APP do not need to be upgraded, the step of collecting the system data of the vehicle according to the automobile information is executed;
and step S16, if at least one of the diagnosis system and the APP needs to be upgraded, downloading a corresponding upgrade installation package from the server to complete the upgrade, so that both the diagnosis system and the APP are updated to the latest version.
As described in the foregoing steps S13-S16, after the connection is established with the vehicle, the built-in SIM card of the diagnostic tool automatically connects to the network, and simultaneously generates the first self-check instruction, detects the self-diagnostic system and the APP, and checks whether the diagnostic system and the APP need to be updated, if both are the latest versions, the step of collecting the system data of the vehicle according to the vehicle information is continuously executed, and if either the diagnostic system or the APP needs to be updated, a corresponding upgrade installation package is downloaded from the server so that the diagnostic system or the APP can be updated to the latest version, thereby ensuring the collection stability, and preventing that in the process of collecting the system data, the current version of the diagnostic system or the APP cannot support the collection of data or needs to be updated in the collection process, and further interrupting the collection.
In one embodiment, the specific step of collecting the system data of the vehicle according to the car information comprises:
step S21, analyzing the automobile information to obtain the automobile type information of the automobile;
and step S22, selecting a corresponding vehicle model according to the vehicle type information to acquire system data of the vehicle.
As described in the above step S21 and step S22, the vehicle information includes the vehicle series information, the vehicle type information, and the year money information, the required vehicle type information can be obtained by analyzing the vehicle information, and the corresponding vehicle type is selected according to the vehicle type information to further collect the system data of the vehicle, so as to ensure that the vehicle corresponds to the system data, and avoid errors in subsequent diagnosis.
In one embodiment, the specific step of verifying the system data to determine whether the acquired system data is complete includes:
step S31, according to the vehicle type information, searching vehicle system information matched with the vehicle type information in a database, wherein the vehicle system information is all control module information of the vehicle;
step S32, performing first definition on all control module information of the vehicle according to a preset numerical value naming rule;
step S33, performing second definition on the system data according to a preset numerical value naming rule;
step S34, verifying the first defined value and the second defined value to obtain a verification result;
and step S35, judging whether the acquired system data is complete according to the checking result.
As described in the foregoing steps S31-S35, after the system data is collected, the vehicle system information matching with the vehicle may be searched from the database, then all the control module information of the vehicle is first defined according to a preset numerical value naming rule (for example, the first system is defined as the value 1, the second system is defined as the value 2 …, the nth system is defined as n), then the system data is second defined according to a preset numerical value naming rule (the same system as the first definition and the same systems are defined as the same value), the first defined value and the second defined value are checked to obtain a check result, and by comparing the check result, it may be determined whether the collected system data is complete (for example, the vehicle has 5 systems, the first defined value is 1-10, the second defined value is 1, and the first defined value is 1, 2. And 3, 5, the second defined numerical value is missing 4 compared with the first defined numerical value, which shows that the acquired system data is incomplete), thereby effectively preventing the missing of the system data and improving the accuracy.
In one embodiment, if the determination result is yes, the specific steps of diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server include:
step S41, if the judgment result is yes, generating a diagnosis instruction, and performing fault diagnosis on a plurality of vehicle systems of the vehicle according to the diagnosis instruction to obtain a diagnosis result, wherein the vehicle systems comprise an engine system, a brake system, a steering system and an electric control system;
and step S42, integrating the diagnosis results to generate a diagnosis report, and uploading the diagnosis report to a server.
As described in the foregoing steps S41 and S42, after determining that there is no system defect, the diagnostic tool may continue to operate, at this time, a diagnostic instruction is generated, fault diagnosis is performed on a plurality of vehicle systems to obtain a diagnostic result, then the diagnostic result is integrated to generate a diagnostic report, the diagnostic report is uploaded to the server, and a user may download the diagnostic report from the server through the mobile terminal to check whether the vehicle has a fault.
In one embodiment, if the determination result is negative, the specific steps of upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the vehicle information include:
step S51, if the judgment result is negative, generating a second self-checking instruction, and detecting whether the firmware is upgraded to the latest version according to the second self-checking instruction;
step S52, if the firmware is not upgraded to the latest version, downloading a firmware upgrade installation package from a server to complete the firmware upgrade;
and step S53, if the firmware is upgraded to the latest version, returning to the step of collecting the system data of the vehicle according to the automobile information.
As described in the foregoing steps S51-S53, if it is determined that the system data is missing, other fault problems need to be eliminated to ensure that the diagnostic tool can operate normally and accurately, at this time, a second self-check instruction is generated to detect whether the firmware is updated to the latest version, if the firmware is the latest version, the step of collecting the system data of the vehicle according to the vehicle information is returned, and if the firmware is not the latest version, the firmware is downloaded from the server to update the firmware of the firmware update installation package to eliminate any adverse factors.
In one embodiment, further comprising:
step S6, reading the times of system data acquisition, and performing third definition according to a preset numerical value naming rule;
and step S7, if the last digit value of the third definition is equal to 10, triggering a termination instruction, stopping running according to the termination instruction, and simultaneously sending out a prompt for diagnosing errors.
As described in the foregoing steps S6 and S7, in the acquisition process, if there is incomplete system data, there is a situation that the system data is repeatedly acquired all the time, and the diagnostic tool is prevented from being in a retransmission state all the time, the number of times of system data acquisition is read, a third definition is performed according to a preset numerical value naming rule, each acquisition defines a numerical value in sequence, and when the last defined numerical value is equal to 10, a termination instruction is triggered to stop the express diagnostic tool from continuing to operate, and a prompt for a diagnostic error is issued to remind a user, so as to prevent the express diagnostic tool from being down without stopping working.
Example two:
referring to fig. 2, the present application further discloses a packet loss prevention rapid diagnosis apparatus, including:
the communication module 10 is used for establishing communication connection with a vehicle to acquire automobile information of the vehicle;
the acquisition module 20 is configured to acquire system data of the vehicle according to the automobile information, where the system data includes control module information of the vehicle and corresponding fault information;
the checking module 30 is configured to check the system data to determine whether the acquired system data is complete;
the diagnosis module 40 is configured to diagnose the system data to obtain a diagnosis result, generate a diagnosis report, and upload the diagnosis report to a server if the judgment result is yes;
and the upgrading module 50 is used for upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information if the judgment result is negative, wherein the firmware is a diagnostic connector in communication connection with the vehicle.
The application also discloses prevent losing quick diagnostic device of package, still includes:
the reading module is used for reading the times of system data acquisition and carrying out third definition according to a preset numerical value naming rule;
and the triggering module is used for triggering a termination instruction if the last digit value of the third definition is equal to 10, stopping running according to the termination instruction and simultaneously sending out a prompt for diagnosing errors.
In one embodiment, the communication module 10 further comprises:
a reading unit for reading a vehicle identification code from a vehicle by establishing a communication link between the diagnostic connector and the vehicle;
and the searching unit is used for searching automobile information matched with the vehicle identification code from a database according to the vehicle identification code, wherein the automobile information comprises automobile series information, automobile type information and year information.
The establishing unit is used for establishing connection with a network and generating a first self-checking instruction;
the detection unit is used for detecting whether the diagnosis system and the APP need to be upgraded or not according to the first self-detection instruction;
the execution unit is used for executing the step of acquiring the system data of the vehicle according to the automobile information if the diagnosis system and the APP do not need to be upgraded;
and the first downloading unit is used for downloading the corresponding upgrade installation package from the server to complete the upgrade if at least one of the diagnosis system and the APP needs to be upgraded, so that both the diagnosis system and the APP are updated to the latest version.
In one embodiment, the acquisition module 20 further comprises:
the analysis unit is used for analyzing the automobile information to obtain the automobile type information of the automobile;
and the acquisition unit is used for selecting the corresponding vehicle model according to the vehicle type information so as to acquire the system data of the vehicle.
In one embodiment, the verification module 30 further comprises:
the searching unit is used for searching vehicle system information matched with the vehicle type information in a database according to the vehicle type information, wherein the vehicle system information is information of all control modules of the vehicle;
the first definition unit is used for carrying out first definition on all control module information of the vehicle according to a preset numerical value naming rule;
the second definition unit is used for carrying out second definition on the system data according to a preset numerical value naming rule;
the checking unit is used for checking the first defined numerical value and the second defined numerical value to obtain a checking result;
and the judging unit is used for judging whether the acquired system data is complete or not according to the checking result.
In one embodiment, the diagnostic module 40 further comprises:
the diagnosis unit is used for generating a diagnosis instruction if the judgment result is yes, and performing fault diagnosis on a plurality of vehicle systems of the vehicle according to the diagnosis instruction to obtain a diagnosis result, wherein the vehicle systems comprise an engine system, a brake system, a steering system and an electric control system;
and the generating unit is used for integrating the diagnosis result, generating a diagnosis report and uploading the diagnosis report to a server.
In one embodiment, the upgrade module 50 further includes:
the second self-checking unit is used for generating a second self-checking instruction if the judgment result is negative, and detecting whether the firmware is upgraded to the latest version according to the second self-checking instruction;
the second downloading unit is used for downloading the firmware upgrading installation package from the server to finish the firmware upgrading if the firmware is not upgraded to the latest version;
and the return unit is used for returning to the step of acquiring the system data of the vehicle according to the automobile information if the firmware is upgraded to the latest version.
Example three:
referring to fig. 3, the present application also discloses a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method for quickly diagnosing the lost packet as described above when executing the computer program.
The present application also discloses a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for packet loss prevention quick diagnosis as described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another diagnostic 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 also be an electric, mechanical or other form of connection.
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 elements may be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
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 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 an electronic device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
The technical features mentioned above are combined with each other to form various embodiments which are not listed above, and all of them are regarded as the scope of the present invention described in the specification; also, modifications and variations may be suggested to those skilled in the art in light of the above teachings, and it is intended to cover all such modifications and variations as fall within the true spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for quickly diagnosing lost packages is applied to a diagnostic tool and is characterized in that: the method comprises the following steps:
establishing communication connection with a vehicle to acquire vehicle information of the vehicle;
collecting system data of the vehicle according to the automobile information, wherein the system data comprise control module information of the vehicle and corresponding fault information;
checking the system data to judge whether the acquired system data is complete;
if the judgment result is yes, diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server;
if the judgment result is negative, upgrading the firmware to eliminate the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the automobile information, wherein the firmware is a diagnosis connector in communication connection with the vehicle;
further comprising:
reading the times of system data acquisition, and performing third definition according to a preset numerical value naming rule;
and if the last digit value of the third definition is equal to 10, triggering a termination instruction, stopping running according to the termination instruction, and simultaneously sending out a prompt for diagnosing errors.
2. The method for rapidly diagnosing the packet loss prevention according to claim 1, wherein the specific step of establishing a communication connection with a vehicle to obtain the vehicle information of the vehicle includes:
reading a vehicle identification code from a vehicle by establishing a communication link between a diagnostic tag and the vehicle;
and searching automobile information matched with the vehicle identification code from a database according to the vehicle identification code, wherein the automobile information comprises automobile series information, automobile type information and annual payment information.
3. The method for rapidly diagnosing packet loss prevention according to claim 1, after the step of establishing a communication connection with a vehicle to obtain the vehicle information of the vehicle, further comprising:
establishing connection with a network and generating a first self-checking instruction;
detecting whether the diagnosis system and the APP need to be upgraded or not according to the first self-checking instruction;
if the diagnosis system and the APP do not need to be upgraded, acquiring system data of the vehicle according to the automobile information;
and if at least one of the diagnosis system and the APP needs to be upgraded, downloading a corresponding upgrade installation package from the server to finish the upgrade, so that both the diagnosis system and the APP are updated to the latest version.
4. The method for rapidly diagnosing packet loss prevention according to claim 1, wherein the specific step of collecting the system data of the vehicle according to the automobile information includes:
analyzing the automobile information to obtain the automobile type information of the automobile;
and selecting a corresponding vehicle model according to the vehicle type information to acquire system data of the vehicle.
5. The method for rapidly diagnosing packet loss prevention according to claim 1, wherein the specific step of checking the system data to determine whether the collected system data is complete includes:
according to the vehicle type information, searching vehicle system information matched with the vehicle type information in a database, wherein the vehicle system information is information of all control modules of the vehicle;
performing first definition on all control module information of the vehicle according to a preset numerical value naming rule;
carrying out second definition on the system data according to a preset numerical value naming rule;
verifying the first defined numerical value and the second defined numerical value to obtain a verification result;
and judging whether the acquired system data is complete or not according to the checking result.
6. The method for rapidly diagnosing packet loss prevention according to claim 1, wherein if the determination result is yes, the specific steps of diagnosing the system data to obtain a diagnosis result, generating a diagnosis report, and uploading the diagnosis report to a server include:
if the judgment result is yes, generating a diagnosis instruction, and performing fault diagnosis on a plurality of vehicle systems of the vehicle according to the diagnosis instruction to obtain a diagnosis result, wherein the vehicle systems comprise an engine system, a brake system, a steering system and an electric control system;
and integrating the diagnosis results to generate a diagnosis report, and uploading the diagnosis report to a server.
7. The method for rapidly diagnosing packet loss prevention according to claim 1, wherein if the determination result is negative, the specific steps of upgrading the firmware to remove the data acquisition fault and returning to the step of acquiring the system data of the vehicle according to the vehicle information include:
if the judgment result is negative, generating a second self-checking instruction, and detecting whether the firmware is upgraded to the latest version according to the second self-checking instruction;
if the firmware is not upgraded to the latest version, downloading a firmware upgrade installation package from a server to finish the firmware upgrade;
and if the firmware is upgraded to the latest version, returning to the step of acquiring the system data of the vehicle according to the automobile information.
8. An anti-lost packet rapid diagnostic device, comprising:
the communication module is used for establishing communication connection with a vehicle so as to acquire the vehicle information of the vehicle;
the acquisition module is used for acquiring system data of the vehicle according to the automobile information, wherein the system data comprises control module information of the vehicle and corresponding fault information;
the verification module is used for verifying the system data so as to judge whether the acquired system data is complete;
the diagnosis module is used for diagnosing the system data to obtain a diagnosis result and generate a diagnosis report if the judgment result is yes, and uploading the diagnosis report to a server;
the upgrading module is used for upgrading the firmware to eliminate data acquisition faults and returning to the step of acquiring system data of the vehicle according to the automobile information if the judgment result is negative, wherein the firmware is a diagnosis connector in communication connection with the vehicle;
the reading module is used for reading the times of system data acquisition and carrying out third definition according to a preset numerical value naming rule;
and the triggering module is used for triggering a termination instruction if the last digit value of the third definition is equal to 10, stopping running according to the termination instruction and simultaneously sending out a prompt for diagnosing errors.
9. A computer device comprising a memory and a processor, wherein the memory stores computer programs, and the processor implements the steps of the method for rapidly diagnosing packet loss prevention according to any one of claims 1 to 7 when executing the computer programs.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the method for quickly diagnosing packet loss prevention according to any one of claims 1 to 7.
CN202210459207.XA 2022-04-28 2022-04-28 Method and device for quickly diagnosing lost packet and computer equipment Active CN114564002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210459207.XA CN114564002B (en) 2022-04-28 2022-04-28 Method and device for quickly diagnosing lost packet and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210459207.XA CN114564002B (en) 2022-04-28 2022-04-28 Method and device for quickly diagnosing lost packet and computer equipment

Publications (2)

Publication Number Publication Date
CN114564002A CN114564002A (en) 2022-05-31
CN114564002B true CN114564002B (en) 2022-08-02

Family

ID=81721551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210459207.XA Active CN114564002B (en) 2022-04-28 2022-04-28 Method and device for quickly diagnosing lost packet and computer equipment

Country Status (1)

Country Link
CN (1) CN114564002B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973447B (en) * 2022-07-21 2022-11-01 深圳市星卡软件技术开发有限公司 Method and device for collecting automobile data and computer equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455700A (en) * 2010-10-21 2012-05-16 斯必克机电产品(苏州)有限公司 Method and system for realizing real-time interaction of automobile fault diagnosis information
CN204516011U (en) * 2015-01-12 2015-07-29 潍坊易康泰科汽车电子有限公司 A kind of data collector
CN111316083B (en) * 2018-08-03 2022-08-19 深圳市元征科技股份有限公司 Vehicle diagnosis method, intelligent diagnosis device and vehicle data server
CN109813559A (en) * 2019-03-29 2019-05-28 深圳市元征科技股份有限公司 A kind of Vehicular diagnostic method and relevant device
CN110472821A (en) * 2019-07-04 2019-11-19 深圳壹账通智能科技有限公司 Roadside assistance worksheet processing method, apparatus, computer equipment and storage medium
CN110782721B (en) * 2019-09-18 2022-04-19 深圳市元征科技股份有限公司 Teaching method, system and vehicle diagnosis equipment
CN112034824A (en) * 2020-09-04 2020-12-04 深圳市云伽智能技术有限公司 Automobile diagnosis method, device, equipment and computer readable storage medium
CN112509176B (en) * 2020-11-30 2023-04-07 北京公共交通控股(集团)有限公司 Fault repair method and device based on vehicle data
CN113691888A (en) * 2021-05-28 2021-11-23 中汽研(天津)汽车工程研究院有限公司 Method for acquiring, transmitting and processing test data of unmanned vehicle
CN113448320B (en) * 2021-08-30 2021-11-30 深圳市星卡科技有限公司 Automobile dual-remote diagnosis method, system and device and computer equipment
CN114326680A (en) * 2021-12-31 2022-04-12 深圳市星卡科技有限公司 ABS system fault diagnosis method, device, equipment and medium

Also Published As

Publication number Publication date
CN114564002A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
US7739007B2 (en) Vehicle diagnostic method and system with intelligent data collection
US20090216401A1 (en) Feedback loop on diagnostic procedure
RU2601141C2 (en) System and method for providing diagnostic information on faults
CN112034824A (en) Automobile diagnosis method, device, equipment and computer readable storage medium
CN114564002B (en) Method and device for quickly diagnosing lost packet and computer equipment
US20230252829A1 (en) Method and diagnostic device for performing vehicle diagnostics
KR101834247B1 (en) Method and apparatus for analyzing safety of automotive software
CN111625405A (en) SSD terminal fault diagnosis method, system, computer device and storage medium
CN114115168A (en) Fault injection test system
CN114442600B (en) Detection method and device using current clamp and computer equipment
CN111855230A (en) Vehicle detection method and related equipment
CN113535538A (en) Application full-link automatic testing method and device, electronic equipment and storage medium
CN114407585B (en) Tire pressure sensor address writing method and device, electronic equipment and storage medium
CN115437998A (en) Parameter initialization method and system based on FAT32 system
CN112327800A (en) Vehicle detection method and device and diagnosis equipment
CN114036008A (en) Equipment information detection method and device, computer equipment and storage medium
CN114115170A (en) Method and device for determining vehicle configuration module and after-sale diagnostic apparatus
CN202770653U (en) Vehicle air conditioner temperature detection device
CN112859805A (en) Engine controller online diagnosis method and related device
US11948410B1 (en) Automated vehicle diagnostic system and method
US11861954B2 (en) Vehicle diagnostic system and method
US20230230430A1 (en) System and method for determining vehicle health
Peti et al. A quantitative study on automatic validation of the diagnostic services of Electronic Control Units
CN211855849U (en) Vehicle failure detection device
CN117519108A (en) Vehicle diagnosis method, system, device and storage medium

Legal Events

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