CN118113021A - Lower computer diagnosis method, device, equipment and storage medium - Google Patents

Lower computer diagnosis method, device, equipment and storage medium Download PDF

Info

Publication number
CN118113021A
CN118113021A CN202410128493.0A CN202410128493A CN118113021A CN 118113021 A CN118113021 A CN 118113021A CN 202410128493 A CN202410128493 A CN 202410128493A CN 118113021 A CN118113021 A CN 118113021A
Authority
CN
China
Prior art keywords
lower computer
diagnosis
version
result
protocol
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.)
Pending
Application number
CN202410128493.0A
Other languages
Chinese (zh)
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 Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202410128493.0A priority Critical patent/CN118113021A/en
Publication of CN118113021A publication Critical patent/CN118113021A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application discloses a lower computer diagnosis method, device, equipment and storage medium, and belongs to the technical field of vehicles. The method comprises the following steps: receiving version information sent by a lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.

Description

Lower computer diagnosis method, device, equipment and storage medium
Technical Field
The present application relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a device, and a storage medium for diagnosing a lower computer.
Background
Existing lower computer diagnostic systems have focused mainly on using standardized diagnostic protocols (e.g., OBD-II) to read fault codes and monitor vehicle performance. These systems are often designed for a particular version of a lower computer and may not be fully adaptable to the new version of the lower computer. Thus, there is a need to be able to adaptively and accurately diagnose across multiple versions. Currently, solutions in this field may include software tools with some adaptability, but often lack a high degree of automation and intelligence.
Disclosure of Invention
The application mainly aims to provide a lower computer diagnosis method, device, equipment and storage medium, and aims to solve the problem of poor adaptability of a lower computer diagnosis system.
In order to achieve the above object, the present application provides a lower computer diagnosis method, comprising the steps of:
Receiving version information sent by a lower computer;
performing version identification of the lower computer according to the version information to obtain a version identification result;
Obtaining a diagnosis protocol corresponding to the version information according to the version identification result;
And diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer.
Optionally, the step of diagnosing the lower computer according to the diagnostic protocol, and obtaining a diagnostic result of the lower computer includes:
according to the diagnosis protocol, obtaining diagnosis data through a preset communication interface;
analyzing and processing the diagnosis data to obtain a data analysis result;
Generating a lower computer diagnosis report according to the data analysis result through a preset report generator;
And obtaining the diagnosis result of the lower computer according to the diagnosis report of the lower computer.
Optionally, the step of performing version identification of the lower computer according to the version information to obtain a version identification result includes:
calling a preset automatic identification module;
And judging whether the version information is matched with the prestored lower computer information or not through the automatic identification module, and obtaining the version identification result.
Optionally, the step of determining, by the automatic identification module, whether the version information is matched with the pre-stored lower computer information, and obtaining the version identification result includes:
loading the version information of the lower computer to the automatic identification module;
Based on a preset information matching algorithm, judging whether the version information is matched with the prestored lower computer information or not through the loaded automatic identification module, and obtaining an information matching result;
and obtaining the version identification result according to the information matching result.
Optionally, the step of obtaining the diagnostic protocol corresponding to the version information according to the version identification result includes:
when the version identification result is that the version identification is successful, calling a diagnosis decision engine;
And selecting a diagnosis protocol corresponding to the version information according to the version information through the diagnosis decision engine and a preset database.
Optionally, the step of obtaining the diagnostic protocol corresponding to the version information according to the version identification result further includes:
When the version identification result is that the version identification fails, receiving a protocol selection instruction;
Analyzing the protocol selection instruction to obtain lower computer version data and diagnosis protocol data;
And obtaining a diagnosis protocol corresponding to the version information through a preset database according to the version data of the lower computer and the diagnosis protocol data.
Optionally, the step of diagnosing the lower computer according to the diagnostic protocol further includes:
Generating a lower computer repair report according to the lower computer diagnosis result;
And sending the diagnosis result of the lower computer and the repair report of the lower computer to a user side.
In addition, in order to achieve the above object, the present application also provides a lower computer diagnostic apparatus comprising:
The information receiving module is used for receiving version information sent by the lower computer;
The version identification module is used for carrying out version identification of the lower computer according to the version information to obtain a version identification result;
the protocol acquisition module is used for acquiring a diagnosis protocol corresponding to the version information according to the version identification result;
And the lower computer diagnosis module is used for diagnosing the lower computer according to the diagnosis protocol to obtain a lower computer diagnosis result.
The embodiment of the application also provides a terminal device, which comprises a memory, a processor and a lower computer diagnosis program stored in the memory and capable of running on the processor, wherein the lower computer diagnosis program realizes the steps of the lower computer diagnosis method when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a lower computer diagnosis program, and the lower computer diagnosis program realizes the steps of the lower computer diagnosis method when being executed by a processor.
The embodiment of the application provides a lower computer diagnosis method, a device, equipment and a storage medium, which are used for receiving version information sent by a lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Drawings
FIG. 1 is a schematic diagram of functional modules of a terminal device to which a lower computer diagnostic apparatus of the present application belongs;
FIG. 2 is a flowchart of a lower computer diagnostic method according to a first exemplary embodiment of the present application;
FIG. 3 is a flowchart of a lower computer diagnostic method according to a second exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of a lower computer diagnostic process according to the method of the present application;
FIG. 5 is a schematic diagram of a lower computer diagnostic apparatus in the lower computer diagnostic method according to the present application;
fig. 6 is a schematic overall flow chart of another exemplary embodiment of the lower computer diagnostic method of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The main solutions of the embodiments of the present application are: receiving version information sent by a lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.
The embodiment of the application considers that when the related technical scheme performs the diagnosis of the lower computer, the existing diagnosis system is usually designed aiming at the lower computer with a specific version, and is difficult to adapt to the change caused by the new version. Furthermore, because the prior art may require manual intervention in the face of new versions or unknown problems, diagnostic efficiency is reduced.
Based on the above, the embodiment of the application provides a solution, which can realize cross-version lower computer diagnosis, ensure that a diagnosis system can adapt to lower computers with different versions, even if the lower computers have differences in functions and performances, solve the technical problem of poor adaptability of the lower computer diagnosis system, realize a mechanism, dynamically identify the problem specific to each lower computer version, provide a corresponding solution, and simultaneously design a diagnosis flow to realize automation, reduce the dependence on technicians and improve diagnosis efficiency and accuracy.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional blocks of a terminal device to which the lower computer diagnostic apparatus of the present application belongs. The lower computer diagnostic device may be independent of the device of the terminal apparatus capable of performing the lower computer diagnosis, and may be carried on the terminal apparatus in the form of hardware or software. The terminal equipment can be intelligent mobile equipment with a data processing function such as a mobile phone and a tablet personal computer, and can also be fixed terminal equipment or a server with a data processing function.
In this embodiment, the terminal device to which the lower computer diagnostic apparatus belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and a lower computer diagnostic program, and the lower computer diagnostic apparatus can receive version information transmitted from the lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. Version recognition is performed by the lower computer diagnosis program, and information such as lower computer diagnosis is stored in the memory 130; the output module 110 may be a display screen or the like. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein the lower computer diagnostic program in the memory 130 when executed by the processor performs the steps of:
Receiving version information sent by a lower computer;
performing version identification of the lower computer according to the version information to obtain a version identification result;
Obtaining a diagnosis protocol corresponding to the version information according to the version identification result;
And diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
according to the diagnosis protocol, obtaining diagnosis data through a preset communication interface;
analyzing and processing the diagnosis data to obtain a data analysis result;
Generating a lower computer diagnosis report according to the data analysis result through a preset report generator;
And obtaining the diagnosis result of the lower computer according to the diagnosis report of the lower computer.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
calling a preset automatic identification module;
And judging whether the version information is matched with the prestored lower computer information or not through the automatic identification module, and obtaining the version identification result.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
loading the version information of the lower computer to the automatic identification module;
Based on a preset information matching algorithm, judging whether the version information is matched with the prestored lower computer information or not through the loaded automatic identification module, and obtaining an information matching result;
and obtaining the version identification result according to the information matching result.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
when the version identification result is that the version identification is successful, calling a diagnosis decision engine;
And selecting a diagnosis protocol corresponding to the version information according to the version information through the diagnosis decision engine and a preset database.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
When the version identification result is that the version identification fails, receiving a protocol selection instruction;
Analyzing the protocol selection instruction to obtain lower computer version data and diagnosis protocol data;
And obtaining a diagnosis protocol corresponding to the version information through a preset database according to the version data of the lower computer and the diagnosis protocol data.
Further, the lower computer diagnostic program in the memory 130 when executed by the processor also performs the steps of:
Generating a lower computer repair report according to the lower computer diagnosis result;
And sending the diagnosis result of the lower computer and the repair report of the lower computer to a user side.
According to the scheme, the embodiment specifically receives version information sent by the lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.
The method embodiment of the application is proposed based on the above-mentioned terminal equipment architecture but not limited to the above-mentioned architecture.
Referring to fig. 2, fig. 2 is a flowchart illustrating a lower computer diagnosis method according to a first exemplary embodiment of the present application. The lower computer diagnosis method comprises the following steps:
step S101, receiving version information sent by a lower computer;
The main execution body of the method of the embodiment is a lower computer diagnosis service system, and may be a lower computer diagnosis device, or may be a lower computer diagnosis apparatus, and the lower computer diagnosis device is exemplified as the lower computer diagnosis device of the embodiment, and the lower computer diagnosis device may be integrated on an apparatus having a data processing function.
In order to solve the problem of poor adaptability of the current lower computer diagnosis system, it is important to select a corresponding diagnosis protocol according to the version of the lower computer so as to perform diagnosis, and in order to adapt to the lower computers of different versions so as to perform diagnosis, the following steps are adopted to realize:
firstly, a special lower computer diagnosis device is arranged and integrated on equipment with a data processing function, and the lower computer diagnosis can be carried out through the lower computer diagnosis device;
And finally, receiving version information sent by the lower computer through a preset communication protocol and interface by the lower computer diagnosis device.
In the field of automotive electronics and embedded systems, the lower computer is generally referred to as a control unit of a vehicle, such as ECU (Engine Control Unit) or other dedicated hardware. These control units are responsible for monitoring and managing various functions of the vehicle, such as engine management, braking systems, safety systems, etc. With the development of automobile technology, the lower computers become more and more complex, and are updated and iterated frequently, and new functions and improvements are introduced. Therefore, the ability to diagnose these systems becomes critical.
Step S102, performing version identification of a lower computer according to the version information to obtain a version identification result;
the lower computer diagnostic device carries out lower computer version identification according to the version information to obtain a version identification result, and the method is realized by adopting the following steps:
Firstly, the lower computer diagnostic device analyzes the received version information to extract key information therein, for example, a specific analysis algorithm or regular expression can be used for carrying out operations such as segmentation, matching and the like on the version information so as to obtain version numbers, models, manufacturers or other related information of the lower computer;
Finally, the lower computer diagnostic device performs version comparison and judgment according to the parsed version information to determine the actual type and characteristic of the lower computer, and converts the actual type and characteristic into a version identification result, wherein the comparison process generally involves information of a plurality of aspects such as hardware, software, protocols and the like, and comprehensive consideration is needed, for example, predefined rules or strategies can be used for comparing and matching the version number, model, production year and month and the like, so that the actual version and type of the lower computer are determined.
Step S103, according to the version identification result, a diagnosis protocol corresponding to the version information is obtained;
The lower computer diagnostic device obtains a diagnostic protocol corresponding to the version information according to the version identification result, and the lower computer diagnostic device is realized by adopting the following steps:
Firstly, the lower computer diagnostic device performs matching operation in a preset diagnostic protocol library according to the version identification result, finds the diagnostic protocol corresponding to the version information, and the matching can be performed based on key information such as version number, model, manufacturer and the like. If a matching diagnostic protocol is found, further diagnostic operations can be performed, and if no matching diagnostic protocol is found, a default general diagnostic protocol may be required to be used or a user may be prompted to update the lower computer;
Finally, once the matching is successful, the lower computer diagnostic device acquires a corresponding diagnostic protocol from the diagnostic protocol library, wherein the diagnostic protocol can be a series of instructions, operation flow, parameter configuration and the like for performing specific diagnostic operations, and after the diagnostic protocol is acquired, the diagnostic protocol can be loaded into a proper module or component according to the requirement to prepare for the next diagnostic operation.
Further, as an implementation manner, the obtaining, according to the version identification result, the diagnostic protocol corresponding to the version information may include:
step S1031, when the version identification result is that the version identification is successful, calling a diagnosis decision engine;
Step S1032, selecting, by the diagnostic decision engine and a preset database, a diagnostic protocol corresponding to the version information according to the version information.
Specifically, the following steps are adopted:
firstly, when the version identification result is that the version identification is successful, the lower computer diagnosis device jumps to a diagnosis decision engine module;
Finally, the lower computer diagnosis device interacts with a preset database through a diagnosis decision engine, the acquired version information is used as a query condition, a corresponding diagnosis protocol is retrieved from the database, the diagnosis decision engine is matched with the database, the version information is compared with the version information stored in the database, the diagnosis protocol matched with the version information is found, the matching can be based on multiple dimensions, for example, the lower computer model, the software version number, the hardware configuration and the like can be based on the matching result, the diagnosis decision engine selects the corresponding diagnosis protocol from the database, and the diagnosis protocol possibly comprises specific diagnosis steps, instruction sets, parameter configuration, fault code table and the like.
Further, as another embodiment, the step of obtaining the diagnostic protocol corresponding to the version information according to the version identification result further includes:
Step S1033, when the version identification result is that the version identification fails, receiving a protocol selection instruction;
Step S1034, analyzing the protocol selection instruction to obtain lower computer version data and diagnosis protocol data;
Step S1035, according to the version data of the lower computer and the diagnostic protocol data, obtaining the diagnostic protocol corresponding to the version information through a preset database.
Specifically, the following steps are adopted:
Firstly, when the version identification result is that the version identification fails, the lower computer diagnostic device receives a protocol selection instruction, wherein the protocol selection instruction can be manually input or transmitted to the lower computer diagnostic device through other modes;
Then, the lower computer diagnostic device analyzes the received protocol selection instruction and extracts lower computer version data and diagnostic protocol data. Parsing may be performed according to the format and rules of the instructions;
And finally, inquiring the lower computer diagnostic device through a preset database, taking the lower computer version data as an inquiry condition, retrieving version information matched with the lower computer version data, matching the lower computer version data with version information stored in the database, finding the version information matched with the lower computer version data, and acquiring a diagnostic protocol corresponding to the obtained version information from the database according to a matching result by the upper computer, wherein the diagnostic protocol comprises specific diagnostic steps, instruction sets, parameter configuration and the like.
And step S104, diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer.
The lower computer diagnosis device diagnoses the lower computer according to a diagnosis protocol to obtain a lower computer diagnosis result, and the lower computer diagnosis device is realized by adopting the following steps:
Firstly, the lower computer diagnostic device sequentially performs diagnostic operations according to the steps specified in the diagnostic protocol, wherein the operations may include sending specific instructions, reading the state or sensor data of the lower computer, checking specific circuits or components, and the like, and analyzing the diagnostic data acquired from the lower computer according to the rules and methods specified by the diagnostic protocol, which may include comparing the difference between the data and expected values, judging whether a fault exists, recording error codes or abnormal information, and the like;
finally, the lower computer diagnostic device generates a lower computer diagnostic result according to the analysis result of the diagnostic data.
Further, as an implementation manner, the step of diagnosing the lower computer according to the diagnostic protocol, and obtaining the diagnostic result of the lower computer includes:
step S1041, obtaining diagnostic data through a preset communication interface according to the diagnostic protocol;
Step S1042, analyzing and processing the diagnosis data to obtain a data analysis result;
step S1043, generating a lower computer diagnosis report according to the data analysis result by a preset report generator;
Step S1044, obtaining the diagnosis result of the lower computer according to the diagnosis report of the lower computer.
Specifically, the lower computer diagnosis device diagnoses the lower computer according to a diagnosis protocol to obtain a lower computer diagnosis result, and the following steps are adopted to realize:
firstly, the lower computer diagnosis device receives diagnosis data returned from the lower computer through a preset communication interface according to a diagnosis protocol, wherein the data can be sensor readings, circuit states, fault codes, memory contents and the like, and analyzes and processes according to the requirements of the diagnosis protocol;
Secondly, the lower computer diagnosis device analyzes the acquired diagnosis data according to a data format and an analysis rule specified by a diagnosis protocol, converts the acquired diagnosis data into a data structure which can be further processed, processes and analyzes the analyzed diagnosis data, judges whether faults or anomalies exist according to an algorithm, a rule or a model in the diagnosis protocol, extracts related characteristics, indexes or state information, and finally generates a data analysis report or a data analysis result based on the data processing and analysis result, wherein the data analysis report or the data analysis result possibly comprises a fault diagnosis result, an anomaly detection result, a performance evaluation index and the like;
Then, the lower computer diagnosis device integrates the diagnosis result, the analysis result and other relevant information into a diagnosis report according to the data analysis result and the configuration of the report generator, wherein the diagnosis report can comprise text description, charts, tables and the like;
And finally, the lower computer diagnosis device reads the generated lower computer diagnosis report, knows the diagnosis result and related information thereof, and interprets and understands the diagnosis result of the lower computer according to the description and analysis result in the diagnosis report. This may relate to the type of failure, the status of the component, the performance of the system, etc.
Further, as an implementation manner, after the step of diagnosing the lower computer according to the diagnosis protocol and obtaining the diagnosis result of the lower computer, the method further includes:
step S1051, generating a lower computer repair report according to the lower computer diagnosis result;
step S1052, sending the lower computer diagnosis result and the lower computer repair report to the user terminal.
Specifically, the following steps are adopted:
Firstly, the lower computer diagnosis device reads the diagnosis result of the lower computer, knows the information such as the type, the influence range, the state of the component and the like of the fault, puts forward corresponding repair suggestions according to the diagnosis result of the lower computer, and confirms the final repair scheme by combining the actual situation. The repair scheme may include replacing parts, readjusting parameters, updating software, etc., and finally generating a lower computer repair report according to the confirmed repair scheme, wherein the repair report may include fault description, repair suggestion, repair record, etc.;
And finally, the lower computer diagnosis device sends the lower computer diagnosis result and the lower computer repair report to the user side.
According to the embodiment, through the scheme, version information sent by the lower computer is received; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.
Referring to fig. 3, fig. 3 is a flowchart illustrating a lower computer diagnosis method according to a second exemplary embodiment of the present application.
Based on the first exemplary embodiment, the step S102, performing the version recognition of the lower computer according to the version information, and the step of obtaining the version recognition result includes:
step S1021, calling a preset automatic identification module;
Step S1022, determining, by the automatic identification module, whether the version information is matched with the pre-stored lower computer information, and obtaining the version identification result.
Specifically, the lower computer diagnostic device performs lower computer version identification according to the version information to obtain a version identification result, and the method is realized by adopting the following steps:
Firstly, a lower computer diagnosis device calls a preset automatic identification module;
and finally, comparing the acquired version information with prestored lower computer information by the lower computer diagnostic device, judging whether the version information is matched with the prestored lower computer information, generating a version identification result of the lower computer according to the comparison result, if the version information is matched with the version identification result, judging that the version identification result is successful, and if the version information is not matched with the version identification result, judging that the version identification result is failed.
Further, as an implementation manner, the step of determining, by the automatic identification module, whether the version information matches with pre-stored lower computer information, and obtaining the version identification result includes:
Step S10221, loading the version information of the lower computer to the automatic identification module;
step S10222, based on a preset information matching algorithm, judging whether the version information is matched with the prestored lower computer information through the loaded automatic identification module, and obtaining an information matching result;
Step S10223, obtaining the version identification result according to the information matching result.
Specifically, the lower computer diagnostic device judges whether the version information is matched with the pre-stored lower computer information through the automatic identification module, and obtains a version identification result, and the method is realized by adopting the following steps:
Firstly, loading pre-stored version information of a lower computer into an automatic identification module by a lower computer diagnosis device, and preparing to perform version information matching operation;
then, the lower computer diagnosis device judges whether the version information is matched with the pre-stored lower computer information or not through the loaded automatic identification module based on a preset information matching algorithm, and an information matching result is obtained;
And finally, the lower computer diagnostic device generates a corresponding version identification result according to the information matching result, if the information matching result is successful, the version identification result is successful, and if not, the version identification result is failed.
Referring to fig. 4, fig. 4 is a schematic flow chart of performing a lower computer diagnosis in the lower computer diagnosis method of the present application.
As shown, the refinement of the diagnosis of the lower computer is described as:
Starting a diagnostic procedure: the user initiates the diagnosis.
The system automatically identifies the version of the lower computer: the system attempts to automatically detect the lower computer version.
Automatically selecting a diagnostic protocol: if the automatic identification is successful, the system automatically selects the corresponding diagnostic protocol.
Manually select options: if the automatic identification fails, the user provides the option of manually selecting the lower computer version and diagnostic protocol.
Performing a diagnostic test: the test is performed according to the selected protocol.
Collecting diagnostic data: data is acquired from the lower computer.
Analysis results: the data is processed and analyzed to identify problems.
Generating a diagnostic report: providing the user with detailed diagnostic results.
Referring to fig. 5, fig. 5 is a schematic diagram of a lower computer diagnostic apparatus in the lower computer diagnostic method according to the present application.
As shown in the figure, the lower computer diagnostic device is composed of the following parts:
A user interface; an option to initiate diagnostics is provided.
If the automatic identification fails, the functions of manually selecting the version of the lower computer and diagnosing the protocol are provided.
An automatic identification module; an attempt is made to automatically detect the model and version of the lower computer.
A diagnostic decision engine; and determining the used diagnosis protocol according to the automatic identification result or the selection of the user.
A database; storing the detailed information of various lower computers and corresponding diagnosis protocols.
A communication interface; is responsible for data exchange with a lower computer.
A data analysis module; analyzing the data collected from the lower computer identifies potential problems.
A report generator; and creating a diagnosis report according to the analysis result.
In addition, the lower computer diagnostic apparatus includes the following hardware components:
microcontroller/processor: as the core of the system, it is responsible for processing diagnostic logic and decisions.
Communication port: such as a CAN bus interface, for communication with a lower computer.
A data converter: such as an analog-to-digital converter (ADC/DAC) for processing signals from a lower computer.
And a storage unit: such as EEPROM or flash memory, for storing diagnostic protocols and lower computer data.
And a power management module: providing a stable power supply, possibly including a voltage regulator and over-current protection.
Indicator lights or display screens: visual indications of diagnostic status and results are provided.
User input interface: such as buttons or a touch screen, for manual selection and operation.
According to the embodiment, through the scheme, a preset automatic identification module is specifically called; and judging whether the version information is matched with the prestored lower computer information or not through the automatic identification module, and obtaining the version identification result. And the lower computer version is identified according to the version information through the automatic identification module. Therefore, the identification of the version of the lower computer is realized, and support is provided for the diagnosis of the lower computer.
As another exemplary embodiment, the present embodiment may implement the lower computer diagnosis by the lower computer diagnosis apparatus, and the flow of the lower computer diagnosis method is as shown in fig. 6:
An initialization stage;
The user activates the diagnostic sequence through a diagnostic tool or interface.
The system performs the self-test and preparation phases.
Establishing communication of a lower computer;
and establishing communication connection with a lower computer.
An identification command is automatically sent to determine the lower computer model and software version.
Diagnostic protocol selection;
the system selects an appropriate diagnostic protocol based on the automatic recognition result.
If the automatic identification fails, the system requests the engineer to make a manual selection.
Performing a diagnostic test;
A series of diagnostic tests are performed according to the selected protocol.
The start and end time points of each test phase are recorded.
Data acquisition and analysis;
and collecting response data of the lower computer.
The data is analyzed to identify possible problems or faults.
Presenting and subsequently operating the result;
The system generates detailed diagnostic reports.
Based on the reported results, subsequent maintenance or repair recommendations are provided.
According to the scheme, the embodiment specifically receives version information sent by the lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. By carrying out version identification on the lower computer, the lower computer diagnosis system can adapt to the lower computers with different versions. Therefore, the diagnosis of the lower computer is realized, and the technical problem of poor adaptability of the lower computer diagnosis system in the prior art is solved. Compared with the prior art, the method has the advantages of strong adaptability and high efficiency.
In addition, the application also provides a lower computer diagnosis device, which comprises:
The information receiving module is used for receiving version information sent by the lower computer;
The version identification module is used for carrying out version identification of the lower computer according to the version information to obtain a version identification result;
the protocol acquisition module is used for acquiring a diagnosis protocol corresponding to the version information according to the version identification result;
And the lower computer diagnosis module is used for diagnosing the lower computer according to the diagnosis protocol to obtain a lower computer diagnosis result.
The principle of implementing the diagnosis of the lower computer in this embodiment is referred to the above embodiments, and will not be described herein.
In addition, the embodiment of the application also provides a terminal device, which comprises a memory, a processor and a lower computer diagnosis program stored in the memory and capable of running on the processor, wherein the lower computer diagnosis program realizes the steps of the lower computer diagnosis method when being executed by the processor.
Because the lower computer diagnostic program is executed by the processor, all the technical schemes of all the embodiments are adopted, at least all the beneficial effects brought by all the technical schemes of all the embodiments are provided, and the description is omitted herein.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a lower computer diagnosis program, and the lower computer diagnosis program realizes the steps of the lower computer diagnosis method when being executed by a processor.
Because the lower computer diagnostic program is executed by the processor, all the technical schemes of all the embodiments are adopted, at least all the beneficial effects brought by all the technical schemes of all the embodiments are provided, and the description is omitted herein.
Compared with the prior art, the lower computer diagnosis scheme provided by the embodiment of the application receives the version information sent by the lower computer; performing version identification of the lower computer according to the version information to obtain a version identification result; obtaining a diagnosis protocol corresponding to the version information according to the version identification result; and diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer. Thus solving the problem of poor adaptability of the lower computer diagnosis system. Based on the scheme of the application, a lower computer diagnosis scheme is designed based on the problem of poor adaptability of a lower computer diagnosis system in the real world, the effectiveness of the lower computer diagnosis method is verified on the aspects of version identification and diagnosis of the lower computer, and finally the efficiency and applicability of the lower computer diagnosis by the method are obviously improved.
Compared with the prior art, the embodiment of the application has the following advantages:
1. the automatic identification module can automatically identify and adapt to the lower computers of different versions, so that the compatibility and accuracy of diagnosis are improved.
2. Advanced data analysis and problem recognition mechanisms can accurately and rapidly locate problems, and diagnosis efficiency is greatly improved.
3. The user-friendly interface design enables even non-professionals to easily diagnose, further improving the practicality and accessibility of the system.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The lower computer diagnosis method is characterized by comprising the following steps of:
Receiving version information sent by a lower computer;
performing version identification of the lower computer according to the version information to obtain a version identification result;
Obtaining a diagnosis protocol corresponding to the version information according to the version identification result;
And diagnosing the lower computer according to the diagnosis protocol to obtain a diagnosis result of the lower computer.
2. The method of diagnosing a lower computer according to claim 1, wherein the step of diagnosing the lower computer according to the diagnosis protocol includes:
according to the diagnosis protocol, obtaining diagnosis data through a preset communication interface;
analyzing and processing the diagnosis data to obtain a data analysis result;
Generating a lower computer diagnosis report according to the data analysis result through a preset report generator;
And obtaining the diagnosis result of the lower computer according to the diagnosis report of the lower computer.
3. The method for diagnosing a lower computer as recited in claim 1, wherein the step of performing version recognition of the lower computer based on the version information to obtain the version recognition result comprises:
calling a preset automatic identification module;
And judging whether the version information is matched with the prestored lower computer information or not through the automatic identification module, and obtaining the version identification result.
4. The lower computer diagnostic method as set forth in claim 3, wherein the step of judging whether the version information is matched with the pre-stored lower computer information through the automatic recognition module, and obtaining the version recognition result comprises:
loading the version information of the lower computer to the automatic identification module;
Based on a preset information matching algorithm, judging whether the version information is matched with the prestored lower computer information or not through the loaded automatic identification module, and obtaining an information matching result;
and obtaining the version identification result according to the information matching result.
5. The lower computer diagnostic method as set forth in claim 1, wherein the step of obtaining the diagnostic protocol corresponding to the version information according to the version identification result comprises:
when the version identification result is that the version identification is successful, calling a diagnosis decision engine;
And selecting a diagnosis protocol corresponding to the version information according to the version information through the diagnosis decision engine and a preset database.
6. The method for diagnosing a lower computer as recited in claim 1, wherein the step of obtaining the diagnostic protocol corresponding to the version information according to the version identification result further comprises:
When the version identification result is that the version identification fails, receiving a protocol selection instruction;
Analyzing the protocol selection instruction to obtain lower computer version data and diagnosis protocol data;
And obtaining a diagnosis protocol corresponding to the version information through a preset database according to the version data of the lower computer and the diagnosis protocol data.
7. The method for diagnosing a lower computer as recited in claim 1, wherein the step of obtaining the diagnosis result of the lower computer further comprises, after the step of diagnosing the lower computer according to the diagnosis protocol:
Generating a lower computer repair report according to the lower computer diagnosis result;
And sending the diagnosis result of the lower computer and the repair report of the lower computer to a user side.
8. A lower computer diagnostic apparatus, characterized in that the lower computer diagnostic apparatus comprises:
The information receiving module is used for receiving version information sent by the lower computer;
The version identification module is used for carrying out version identification of the lower computer according to the version information to obtain a version identification result;
the protocol acquisition module is used for acquiring a diagnosis protocol corresponding to the version information according to the version identification result;
And the lower computer diagnosis module is used for diagnosing the lower computer according to the diagnosis protocol to obtain a lower computer diagnosis result.
9. A terminal device, characterized in that it comprises a memory, a processor and a lower computer diagnostic program stored on the memory and executable on the processor, which lower computer diagnostic program, when executed by the processor, implements the steps of the lower computer diagnostic method according to any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a lower computer diagnostic program which, when executed by a processor, implements the steps of the lower computer diagnostic method according to any of claims 1-7.
CN202410128493.0A 2024-01-29 2024-01-29 Lower computer diagnosis method, device, equipment and storage medium Pending CN118113021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410128493.0A CN118113021A (en) 2024-01-29 2024-01-29 Lower computer diagnosis method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410128493.0A CN118113021A (en) 2024-01-29 2024-01-29 Lower computer diagnosis method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118113021A true CN118113021A (en) 2024-05-31

Family

ID=91213299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410128493.0A Pending CN118113021A (en) 2024-01-29 2024-01-29 Lower computer diagnosis method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118113021A (en)

Similar Documents

Publication Publication Date Title
CN108563214B (en) Vehicle diagnosis method, device and equipment
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
WO2019109915A1 (en) Vehicle trouble diagnosis method, vehicle trouble diagnosis apparatus and electronic device
CN112965871A (en) Vehicle fault prompt information acquisition method and device and storage medium
CN108132663A (en) The analytic method of vehicle trouble messages, device and system
EP2803049B1 (en) System and method for providing diagnostic fault information
CN113645162B (en) Hardware testing method, system, equipment and medium of switch
CN110825073A (en) Engine remote calibration system and method
KR20130107612A (en) Method for providing database management and the database management server there of
CN112311574B (en) Network topology connection checking method, device and equipment
US20200142756A1 (en) Adapter with instrument control function, instrument control system and instrument control method
CN118113021A (en) Lower computer diagnosis method, device, equipment and storage medium
EP3301564B1 (en) Computer system, method of managing transmission of software with computer system, program therefor, and recording medium
US20230252830A1 (en) Method and system for servicing a vehicle using a functional test
CN114625106B (en) Method, device, electronic equipment and storage medium for vehicle diagnosis
CN112306038B (en) Detection method, detection device and diagnosis equipment
CN114564002A (en) Anti-lost packet rapid diagnosis method and device and computer equipment
CN114036008A (en) Equipment information detection method and device, computer equipment and storage medium
CN117234191B (en) Fault diagnosis method, device and computer readable storage medium
CN107102938B (en) Test script updating method and device
CN110164118A (en) Monitoring method, terminal, system and the server of metering device
CN111143262A (en) Switching device, instrument control system and instrument control method
CN114942623A (en) Controller testing method and device, vehicle and computer readable storage medium
CN117389252A (en) Automobile diagnosis system
CN117407034A (en) Firmware upgrading method, device, equipment and storage medium for vehicle-mounted equipment

Legal Events

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