CN109885037B - Vehicle diagnosis method and related equipment - Google Patents
Vehicle diagnosis method and related equipment Download PDFInfo
- Publication number
- CN109885037B CN109885037B CN201910238479.5A CN201910238479A CN109885037B CN 109885037 B CN109885037 B CN 109885037B CN 201910238479 A CN201910238479 A CN 201910238479A CN 109885037 B CN109885037 B CN 109885037B
- Authority
- CN
- China
- Prior art keywords
- data
- server
- illegal
- judging
- serial number
- 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
Links
Images
Landscapes
- Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)
Abstract
The embodiment of the application discloses a vehicle diagnosis method and related equipment, which are used for reducing the possibility of leakage of vehicle fault codes and related data. The method in the embodiment of the application comprises the following steps: reading first data of a vehicle to be detected, judging whether the first data meet sending conditions or not, if the first data meet the sending conditions, sending the first data to a server so that the server judges whether an inquiry state is legal or not according to the first data, generating second data, receiving the second data sent by the server, judging whether the second data meet qualified display conditions or not, and if the second data meet the qualified display conditions, performing first display, wherein the first display is a processing result of the server after inquiring the second data. And judging whether the account is successfully logged in and whether the diagnosed result is displayed according to the second data, so that the possibility of leakage of the vehicle fault code and the related data is reduced.
Description
Technical Field
The present application relates to the field of vehicle diagnostics, and in particular, to a method and related apparatus for vehicle diagnostics.
Background
The vehicle fault code is a fault code reflected by analysis of a vehicle computer ECU after a vehicle has a fault, and generally, the frequent fault code is caused by poor work of a sensor fault sensor and is mainly read by means of diagnostic equipment. At present, the corresponding relation between a vehicle fault code detected by a vehicle and some fault code marking data read to detect the vehicle is placed in a text library of diagnosis software on diagnosis equipment, and the data is contained in the text library of the diagnosis software.
Content of application
The embodiment of the application provides a vehicle diagnosis method and related equipment, which are used for reducing the possibility of leakage of vehicle fault codes and related data.
A first aspect of an embodiment of the present application provides a method of vehicle diagnosis, including:
reading first data of a vehicle to be detected;
judging whether the first data meets a sending condition;
if the first data meet the sending condition, sending the first data to a server so that the server judges whether the query state is legal or not according to the first data and generates second data;
receiving second data sent by the server;
judging whether the second data meets qualified display conditions or not;
and if the second data meet the qualified display condition, performing first display, wherein the first display is a processing result after the server inquires the second data.
Optionally, the determining whether the first data meets the sending condition includes:
judging whether the diagnostic software successfully logs in the account;
if yes, determining that the sending condition is met;
if not, the transmission condition is determined not to be satisfied.
Optionally, if the first data does not satisfy the sending condition, the method further includes:
and performing a second display, wherein the second display represents diagnosis failure and is provided with failure prompt information.
Optionally, if the second data does not satisfy the qualified display condition, the method further includes:
and performing the second display, wherein the second display represents diagnosis failure and is provided with failure prompt information.
The second aspect of the present application provides a vehicle diagnosis method, applied to a server, including:
receiving first data sent by diagnostic software;
judging whether the query state of the first data is legal or not;
if the query state of the first data is legal, generating second data according to the first data, wherein the second data comprises fault code information corresponding to the first data and prompt information that the query state is legal;
and sending the second data to diagnostic software so that the diagnostic software correspondingly displays according to prompt information in the second data.
Optionally, if the query state of the first data is illegal, the method further includes:
and generating second data according to the first data, wherein the second data contains prompt information with illegal query state but does not contain fault code information corresponding to the first data.
Optionally, the determining whether the first data meets the qualified display condition includes:
judging whether the login verification information of the first data is the same as a preset value or not;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from the preset value, judging that the first data does not meet the qualified display condition;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the first data does not meet qualified display conditions;
if the first data do not meet the illegal policy, judging that the first data meet qualified display conditions;
and if the illegal policy is met, judging that the first data does not meet qualified display conditions.
A third aspect of the present application provides a vehicle diagnostic apparatus comprising:
the reading unit is used for reading first data of a vehicle to be detected;
a first judgment unit that judges whether the first data satisfies a transmission condition;
the first sending unit is used for sending the first data to a server if the first data meet sending conditions, so that the server judges whether the query state is legal or not according to the first data and generates second data;
a first receiving unit, configured to receive second data sent by the server;
the second judging unit is used for judging whether the second data meet qualified display conditions or not;
and the display unit is used for performing first display if the second data meets the qualified display condition, wherein the first display is a processing result after the server inquires the second data.
Optionally, the first determining unit is specifically configured to:
judging whether the diagnostic software successfully logs in the account;
if yes, determining that the sending condition is met;
if not, the transmission condition is determined not to be satisfied.
Optionally, if the first data does not satisfy the sending condition, the display unit is further configured to perform a second display, where the second display indicates that the diagnosis has failed and is provided with a failure prompt message;
optionally, if the second data does not satisfy the qualified display condition, the method is further configured to perform a second display, and perform the second display, where the second display indicates a diagnosis failure and is provided with a failure prompt message.
A fourth aspect of the present application provides an apparatus for vehicle diagnosis, comprising:
the second receiving unit is used for receiving the first data sent by the diagnosis software;
a determination unit configured to determine whether an inquiry state of the first data is legal;
the generating unit is used for generating second data according to the first data if the query state of the first data is legal, wherein the second data comprises fault code information corresponding to the first data and prompt information that the query state is legal;
and the second sending unit is used for sending the second data to the diagnosis software so that the diagnosis software correspondingly displays according to the prompt information in the second data.
Optionally, if the query state of the first data is illegal, the generating unit is further configured to:
and generating second data according to the first data, wherein the second data contains prompt information with illegal query state but does not contain fault code information corresponding to the first data.
Optionally, the determining unit is specifically configured to:
judging whether the login verification information of the first data is the same as a preset value or not;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from the preset value, judging that the first data does not meet the qualified display condition;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the first data does not meet qualified display conditions;
if the first data do not meet the illegal policy, judging that the first data meet qualified display conditions;
and if the illegal policy is met, judging that the first data does not meet qualified display conditions.
A fifth aspect of the present application provides a computer apparatus comprising:
a processor, a memory, an input-output device, and a bus;
the processor, the memory and the input and output equipment are respectively connected with the bus;
the processor is configured to perform the method according to any of the previous embodiments.
A sixth aspect of the present application provides a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of vehicle diagnosis of the first and second aspects described above.
According to the technical scheme, the embodiment of the application has the following advantages: in this embodiment, a first data of a vehicle to be detected is read to determine whether the first data meets a sending condition, if the first data meets the sending condition, the first data is sent to a server, so that the server determines whether an inquiry state is legal according to the first data, generates second data, receives the second data sent by the server, determines whether the second data meets a qualified display condition, and if the second data meets the qualified display condition, a first display is performed, where the first display is a processing result of the server inquiring the second data. And judging whether the account is successfully logged in and whether the diagnosed result is displayed according to the second data, so that the possibility of leakage of the vehicle fault code and the related data is reduced.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a method for vehicle diagnostics according to an embodiment of the present application;
FIG. 2 is another schematic diagram of an embodiment of a method for vehicle diagnostics according to an embodiment of the present application;
FIG. 3 is another schematic diagram of an embodiment of a method for vehicle diagnostics according to an embodiment of the present application;
FIG. 4 is another schematic diagram of an embodiment of a method for vehicle diagnostics according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of a system for vehicle diagnostics according to an embodiment of the present application;
FIG. 6 is another schematic diagram of an embodiment of a system for vehicle diagnostics according to an embodiment of the present application;
fig. 7 is a schematic diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The vehicle fault code is a fault code reflected by analysis of a vehicle computer ECU after a vehicle has a fault, generally, frequent fault codes are caused by poor work of a sensor fault sensor, but mechanical fault ECUs cannot be read out, basic fault displays can be displayed on a vehicle instrument panel, but for most diagnosis requirements in daily life, reading is mainly required by means of vehicle diagnosis equipment, and the generalized vehicle diagnosis equipment comprises special vehicle diagnosis equipment and various electronic equipment loaded with vehicle diagnosis software, such as a mobile terminal, a PDA, a PC and the like loaded with the vehicle diagnosis software. When the vehicle fault code data are read by the diagnostic equipment, people can download corresponding relation data between the fault code and the fault in a vehicle computer in a polling mode or directly through the equipment, so that the vehicle fault code is lost.
For ease of understanding, the following describes a specific process in an embodiment of the present application, and with reference to fig. 1, a method for vehicle diagnosis in an embodiment of the present application includes:
101. reading first data of a vehicle to be detected;
specifically, the diagnostic device may be connected to the vehicle to be detected through an on-board diagnostic system OBD interface, and read the fault code number and the identification information of the on-board diagnostic system through the interface, and the read information is used to send to the server to allow the server to diagnose the cause of the current fault according to the information, and return a relevant prompt.
102. Judging whether the first data meets a sending condition;
specifically, the judging whether the first data meets the sending condition includes judging whether the current diagnostic software logs in an account, the account is required to be logged in when the diagnostic software runs, if the sending condition is met, namely the account is logged in, the first data is sent to the server, so that the server inquires second data according to the first data, if the account is not logged in, the account is firstly prompted to be logged in, if the logging is successful after the prompting, the first data is sent to the server, but if the logging is still not successful after the prompting, the diagnosis failure is displayed, and related prompting information is provided, so that the current user can know that the reason of the failure is that the account is not successfully logged in.
103. If the first data meet the sending condition, sending the first data to a server so that the server judges whether the query state is legal or not according to the first data and generates second data;
specifically, if the first data meet the sending condition, that is, the current diagnostic software has an account login, the first data are sent to the server side, the server processes the first data according to the query program and the judgment program stored in the server, and sends the processing result to the diagnostic software, and the first data may include the vehicle fault code read by the diagnostic software and the identification information of the vehicle-mounted diagnostic system.
104. Receiving second data sent by the server;
specifically, the server obtains second data related to fault code information corresponding to the received first data, namely the fault code number and the identification information of the vehicle-mounted diagnosis system, and sends the second data to diagnosis software.
105. Judging whether the second data meets qualified display conditions or not;
specifically, the second data sent by the server may be two types, one type is the second data sent after the server is judged to be qualified, the other type is the second data sent after the server is judged to be unqualified, the second data has prompt information for judging to be qualified and unqualified, and the diagnosis software judges whether the second data meets the qualified display condition according to the prompt information so as to correspondingly display the second data.
106. Performing first display, wherein the first display is a processing result after the server inquires the second data;
specifically, the first display is performed to indicate that the diagnosis process conforms to the validity defined by the diagnosis software, that is, through the judgment process between the diagnosis software and the server, the processing result may include the fault code that is successfully queried, and the related information such as the explanation of the fault code.
107. And performing a second display, wherein the second display represents diagnosis failure and is provided with failure prompt information.
Specifically, the second display is performed, although the current diagnosis process is failed, the diagnosis failure here does not mean that the server does not inquire or diagnose the corresponding conclusion, but means that the diagnosis process does not pass through the judgment process of the diagnosis software and the server to represent the diagnosis failure, and the failure prompt message carried by the diagnosis failure prompt message can indicate the reason of the diagnosis failure.
In this embodiment, first data of a vehicle to be detected is read, whether the first data meets a sending condition is judged, if the first data meets the sending condition, the first data is sent to a server, so that the server queries second data according to the first data, receives the second data sent by the server, and judges whether the second data meets a qualified display condition, if the second data meets the qualified display condition, a first display is performed, and the first display is a processing result of the server after querying the second data. And judging whether the account is successfully logged in and whether the diagnosed result is displayed according to the second data, so that the possibility of leakage of the vehicle fault code and the related data is reduced.
To further explain whether the diagnostic software successfully logs into the account, based on the embodiment shown in fig. 1, referring to fig. 2 in particular, in this embodiment, another embodiment of the method for vehicle diagnosis includes:
20. and judging whether the account login process is successful.
Specifically, first data of a vehicle to be detected is read, whether an account is successfully logged in is judged, if the account is successfully logged in, the first data is sent to a server, if the account is not successfully logged in, the account is prompted to be logged in, if the account is successfully logged in after the prompt, the first data is still sent to the server, but if the account is not successfully logged in after the prompt, a second display is carried out and is provided with prompt information corresponding to the account which is not successfully logged in, the second display can be understood that when the diagnosis software judges that the account cannot be successfully logged in at present, a user is prompted to fail in diagnosis, the reason of failure in diagnosis is that the account is not successfully logged in and is provided with prompt information corresponding to the account which is not successfully logged in, the condition for judging whether the account is successfully logged in can be a preset time value when a login interface is provided, and if the account is logged in the time, if the login password is matched, and if the login password is not matched, the login password is failed.
To explain the server-side processing, in this embodiment, one embodiment of a method for vehicle diagnosis includes:
301. receiving first data sent by diagnostic software;
specifically, the server receives first data sent by the diagnosis software, and the first data can include vehicle fault codes read by the diagnosis software and identification information of the vehicle-mounted diagnosis system.
302. Judging whether the query state of the first data is legal or not;
specifically, whether the first data meet the qualified display condition is judged, and the judgment is mainly realized by judging whether the current diagnosis process meets a legal mode preset by a system in order to prevent the vehicle-mounted fault code information from being maliciously inquired.
303. If the query state of the first data is legal, generating second data according to the first data, wherein the second data comprises fault code information corresponding to the first data and prompt information that the query state is legal;
specifically, if the first data meets the qualified display condition, the second data includes fault code information corresponding to the first data, if the first data does not meet the qualified display condition, the second data does not include the fault code information corresponding to the first data but includes prompt information that does not meet the qualified display condition, it can be understood that the first data may include a vehicle fault code read by the diagnostic software and identification information of the on-board diagnostic system, the second data may include generation-related information corresponding to a determination result of the server on the first data, if the determination is passed, the second data includes fault code-related information generated corresponding to the vehicle fault code in the first data, if the determination is not passed, the second data includes a reason that the second data fails to correspond to the first data but does not include fault code-related information generated corresponding to the vehicle fault code in the first data, the process of generating the fault code related information generated corresponding to the vehicle fault code in the first data may be that a text is preset in a service period, the text has a corresponding relationship between the vehicle fault code and the vehicle-mounted diagnostic system and the fault code information, the server obtains the desired fault code information according to the corresponding relationship between the vehicle fault code in the first data and the vehicle-mounted diagnostic system, and the generated second data includes identification information indicating whether the process is passed or not, the identification information is used for prompting the diagnostic software, and whether the diagnostic process is legal or not is determined, so that the corresponding display is performed.
304. If the query state of the first data is illegal, generating second data according to the first data, wherein the second data contains prompt information that the query state is illegal, but does not contain fault code information corresponding to the first data;
specifically, if the query state of the first data is illegal, the second data is generated according to the illegal reason of the first data and is sent to the diagnostic software, when the second data is sent to the diagnostic software, the diagnostic software can judge that the diagnosis is failed according to prompt information that the query state contained in the second data is illegal, and give out related failure prompt, wherein the failure prompt has failure reasons, namely the prompt information about the illegal query state, but specifically, the display means on the diagnostic software can be a string of characters stored in a product specification, so that a user can obtain the failure reasons according to the review specification, and can also directly display the failure reasons.
305. Sending the second data to diagnostic software.
Specifically, the second data is generated and then sent to the diagnostic software, the diagnostic software correspondingly indicates whether the identification information in the second data passes the judgment process or not, if the identification information indicates that the judgment process passes, the diagnostic software extracts the fault code information in the second data for display, and if the identification information indicates that the judgment process fails, the diagnostic software extracts the corresponding information in the second data indicating the reason for the failure and displays the corresponding information.
In this embodiment, first data sent by diagnostic software is received, whether the query state of the first data is legal is determined, if the query state of the first data is legal, second data is generated according to the first data, and if the query state of the first data is illegal, the second data includes prompt information corresponding to the fault code information of the first data and prompt information corresponding to the query state, and if the query state of the first data is illegal, second data is generated according to the first data, and the second data includes prompt information not corresponding to the query state but does not include fault code information corresponding to the first data, and is sent to the diagnostic software, so that the diagnostic software performs corresponding display according to the prompt information in the second data. The server side judges the legality of the first data so as to correspondingly generate the second data to return to the diagnostic software for corresponding display, so that the possibility that the data stored in the diagnostic software is maliciously cracked can be avoided, and the possibility of data loss is reduced.
In this embodiment, based on the embodiment in fig. 3, a process of determining whether the first data meets the qualified display condition is further explained, specifically referring to fig. 4, another embodiment of the method for vehicle diagnosis includes:
40. it is determined whether the second data meets the qualifying display condition.
Specifically, whether login verification information of the first data is the same as a preset value or not is judged;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from the preset value, judging that the first data does not meet the qualified display condition;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the first data does not meet qualified display conditions;
if the first data do not meet the illegal policy, judging that the first data meet qualified display conditions;
if the violation policy is met, judging that the first data does not meet qualified display conditions;
specifically, the above process may be understood as determining whether the first data meets the qualified display condition, and mainly determining three aspects, that is, whether the login authentication information, the connector serial number and the illegal policy are met, where the login authentication information may be embodied in a token mode, that is, in the diagnosis process, the server issues a data to the login account and requests the login account to be input at a fixed location, and if the input data is consistent with the issued data, the login authentication information is determined;
the process of judging the serial number of the joint, the joint refers to the joint that the diagnostic equipment is connected with the vehicle-mounted diagnostic system, each joint has a fixed and unique serial number, and is bound with the account and stored in the server, the process is to prevent the behavior that different accounts use the same joint, only when the diagnostic software detects that the currently used joint serial number is consistent with the serial number of the stored server, the judgment of the joint serial number is passed;
in the process of determining the illegal policy, it can be understood that the server determines some diagnostic states violating the ordinary diagnostic requirement in advance, and for example, in the case of corresponding to the same account and the same connector serial number, the following specific examples are provided in this embodiment:
a) reading a maximum of 20 fault codes at a time;
b) if the same system ID request fault code in any 3 minutes and the last time have more than 9 different fault codes, 10 or more fault codes are continuously available twice, entering a blacklist;
c) if 10 times of requests are accumulated to generate different fault codes within 60 minutes, entering a blacklist; for example, the cases of the first request P0109, the second requests P0103 and P0104, the third request P0105, the fourth requests P0110 and P0102, and the fifth request P0207 are also classified as illegal;
d) reading 50 different fault codes at most in one day, and entering a blacklist when the number of the different fault codes read within two days reaches 80;
the above example is not fixed, in a specific implementation process of the scheme, different definitions are performed on the illegal policy, if the illegal policy is in accordance with the scope of the illegal policy, the diagnosis state is not determined, and if the illegal policy is not in the scope, the diagnosis state is determined, it is noted that although the determination of whether the login verification information, the connector serial number, and the diagnosis state conform to the illegal policy in this embodiment is embodied in a flow form, the sequence of the three determination processes is not specified, it can be understood that no matter a failure of one determination process, the first data is represented as being illegal, so that corresponding second data is generated, and only when all three determination processes are successful, the second data including the fault code information is generated.
The method in the embodiment of the present application is introduced above, and the embodiment of the present application is described below from the perspective of a virtual device.
Referring to fig. 5, an embodiment of an apparatus for vehicle diagnosis according to an embodiment of the present application includes:
a reading unit 501, configured to read first data of a vehicle to be detected;
a first judgment unit 502 that judges whether the first data satisfies a transmission condition;
a first sending unit 503, configured to send the first data to a server if the first data meets a sending condition, so that the server queries second data according to the first data;
a first receiving unit 504, configured to receive second data sent by the server;
a second judging unit 505, configured to judge whether the second data meets a qualified display condition;
a display unit 506, configured to perform a first display if the second data meets a qualified display condition, where the first display is a processing result of the server after querying the second data.
In this embodiment, the reading unit 501 is configured to read first data of a vehicle to be detected, the first determining unit 502 is configured to determine whether the first data meets a sending condition, the first sending unit 503 is configured to, for sending the first data to a server if the first data meets a sending condition, so that the server queries the second data based on the first data, the first receiving unit 504, for receiving the second data sent by the server, a second determining unit 505 for determining whether the second data meets the qualified display condition, a display unit 506, the first display is used for displaying the second data after the server inquires the second data if the second data meets the qualified display condition, and judging whether the account is successfully logged in and whether the diagnosed result is displayed according to the second data, so that the possibility of leakage of the vehicle fault code and the related data is reduced.
Fig. 6 shows another embodiment of an apparatus for vehicle diagnosis according to an embodiment of the present application, including:
a second receiving unit 601, configured to receive first data sent by the diagnostic software;
a determination unit 602 configured to determine that the first data satisfies a qualified display condition;
a generating unit 603 configured to generate second data according to the first data;
a second sending unit 604, configured to send the second data to the diagnostic software.
In this embodiment, the second receiving unit is configured to receive first data sent by the diagnostic software; a determination unit configured to determine that the first data satisfies a qualified display condition; a generating unit configured to generate second data from the first data; the second sending unit is used for sending the second data to the diagnostic software, and judging the validity of the first data at the server side so as to correspondingly generate the second data to return to the diagnostic software for corresponding display, so that the possibility that the data stored in the diagnostic software is maliciously cracked can be avoided, and the possibility of data loss is reduced.
Referring to fig. 7, a computer device in an embodiment of the present application is described below from the perspective of a physical device, where an embodiment of the computer device in the embodiment of the present application includes:
the computing device 700 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 701 (e.g., one or more processors) and a memory 605, where one or more applications or data are stored in the memory 605.
The memory 705 may be volatile storage or persistent storage, among others. The program stored in the memory 605 may include one or more modules, each of which may include a sequence of instructions operating on a server. Still further, the central processor 701 may be configured to communicate with the memory 705, and to execute a series of instruction operations in the memory 705 on the smart terminal 700.
The computer device 700 may also include one or more power supplies 702, one or more wired or wireless network interfaces 703, one or more input-output interfaces 704, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above steps do not mean the execution sequence, and the execution sequence of the steps should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be recorded in a computer-readable recording medium. Based on such understanding, the technical solution of the present application may be substantially or partially implemented in the form of a software product recorded on a recording medium, and the software product includes instructions for causing a computer 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 recording medium includes: a U-disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of recording program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (9)
1. A method for vehicle diagnosis, which is applied to a vehicle diagnosis apparatus, includes:
reading first data of a vehicle to be detected;
judging whether the first data meets a sending condition;
if the first data meet the sending condition, sending the first data to a server so that the server judges whether the query state is legal or not according to the first data and generates second data;
receiving second data sent by the server;
judging whether the second data meets qualified display conditions or not;
if the second data meet the qualified display condition, performing first display, wherein the first display is a processing result after the server inquires the second data;
wherein, the server judges whether the query state is legal according to the first data, including:
judging whether the login verification information of the first data is the same as a preset value or not;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from a preset value, judging that the query state of the first data is legal;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the query state of the first data is illegal;
if the first data do not accord with the illegal policy, judging that the query state of the first data is legal;
and if the first data accords with the illegal policy, judging that the query state of the first data is illegal.
2. The method of claim 1, wherein determining whether the first data satisfies a transmission condition comprises:
judging whether the diagnostic software successfully logs in the account;
if yes, determining that the sending condition is met;
if not, the transmission condition is determined not to be satisfied.
3. The method of claim 1, wherein if the first data does not satisfy the transmission condition, the method further comprises:
and performing a second display, wherein the second display represents diagnosis failure and is provided with failure prompt information.
4. The method of claim 1, wherein if the second data does not satisfy the qualified display condition, the method further comprises:
and performing a second display, wherein the second display represents diagnosis failure and is provided with failure prompt information.
5. A method for vehicle diagnosis, which is applied to a server, comprises the following steps:
receiving first data sent by diagnostic software;
judging whether the query state of the first data is legal or not;
if the query state of the first data is legal, generating second data according to the first data, wherein the second data comprises fault code information corresponding to the first data and prompt information that the query state is legal;
sending the second data to diagnostic software so that the diagnostic software correspondingly displays according to prompt information in the second data;
the determining whether the query state of the first data is legal comprises:
judging whether the login verification information of the first data is the same as a preset value or not;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from a preset value, judging that the query state of the first data is legal;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the query state of the first data is illegal;
if the first data do not accord with the illegal policy, judging that the query state of the first data is legal;
and if the first data accords with the illegal policy, judging that the query state of the first data is illegal.
6. The method of claim 5, wherein if the query status of the first data is illegal, the method further comprises:
and generating second data according to the first data, wherein the second data contains prompt information with illegal query state but does not contain fault code information corresponding to the first data.
7. An apparatus for vehicle diagnostics, comprising:
the reading unit is used for reading first data of a vehicle to be detected;
a first judgment unit that judges whether the first data satisfies a transmission condition;
the first sending unit is used for sending the first data to a server if the first data meet sending conditions, so that the server judges whether the query state is legal or not according to the first data and generates second data;
a first receiving unit, configured to receive second data sent by the server;
the second judging unit is used for judging whether the second data meet qualified display conditions or not;
the display unit is used for performing first display if the second data meet qualified display conditions, wherein the first display is a processing result after the server inquires the second data;
the first sending unit is specifically configured to:
judging whether the login verification information of the first data is the same as a preset value or not;
if the login verification information of the first data is the same as a preset value, judging whether the connector serial number of the first data is consistent with the connector serial number stored in the server or not;
if the login verification information of the first data is different from a preset value, judging that the query state of the first data is legal;
if the connector serial number of the first data is consistent with the connector serial number stored in the server, judging whether the current query state conforms to an illegal policy, wherein the illegal policy is a preset parameter range of illegal query;
if the connector serial number of the first data is inconsistent with the connector serial number stored in the server, judging that the query state of the first data is illegal;
if the first data do not accord with the illegal policy, judging that the query state of the first data is legal;
and if the first data accords with the illegal policy, judging that the query state of the first data is illegal.
8. A computer device, comprising:
a processor, a memory, an input-output device, and a bus;
the processor, the memory and the input and output equipment are respectively connected with the bus;
the processor is configured to perform the method of any one of claims 1 to 6.
9. A computer-readable storage medium, in which a computer program is stored, the computer program comprising program instructions which, when executed by a processor of a batch processing device, cause the processor to carry out the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238479.5A CN109885037B (en) | 2019-03-27 | 2019-03-27 | Vehicle diagnosis method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238479.5A CN109885037B (en) | 2019-03-27 | 2019-03-27 | Vehicle diagnosis method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109885037A CN109885037A (en) | 2019-06-14 |
CN109885037B true CN109885037B (en) | 2021-12-07 |
Family
ID=66934658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910238479.5A Active CN109885037B (en) | 2019-03-27 | 2019-03-27 | Vehicle diagnosis method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109885037B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112312348A (en) * | 2019-07-26 | 2021-02-02 | 广州汽车集团股份有限公司 | Vehicle welcome mode setting method, vehicle control system, client and server |
CN110989564B (en) * | 2019-12-27 | 2021-05-04 | 深圳市元征科技股份有限公司 | Automobile data diagnosis method and device |
CN113806131B (en) * | 2021-09-23 | 2024-09-10 | 深圳市元征软件开发有限公司 | Access control method and device for fault code library, electronic equipment and storage medium |
CN113867314B (en) * | 2021-09-24 | 2024-07-12 | 深圳市元征软件开发有限公司 | Access control method and device for fault code library, electronic equipment and storage medium |
CN114297617A (en) * | 2021-12-25 | 2022-04-08 | 深圳市元征软件开发有限公司 | Password access control method, device, server and storage medium |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1219946A3 (en) * | 2000-12-28 | 2008-03-12 | Fuji Jukogyo Kabushiki Kaisha | Vehicle management system |
US6701232B2 (en) * | 2001-04-25 | 2004-03-02 | Fuji Jukogyo Kabushiki Kaisha | Vehicle management system |
JP4706890B2 (en) * | 2001-05-08 | 2011-06-22 | マツダ株式会社 | In-vehicle remote fault diagnosis device |
CN103324187A (en) * | 2013-06-09 | 2013-09-25 | 深圳市元征科技股份有限公司 | Data updating method of car diagnostic equipment and car diagnostic equipment |
CN105511448B (en) * | 2015-12-30 | 2018-03-27 | 东风商用车有限公司 | Integrated vehicle diagnostic instrument and diagnostic method thereof |
CN106708014A (en) * | 2016-12-09 | 2017-05-24 | 深圳市元征科技股份有限公司 | Vehicle fault diagnosis method and system and OBD diagnosis device |
CN109101789A (en) * | 2018-06-28 | 2018-12-28 | 中译语通科技股份有限公司 | A kind of data safety control method |
CN109407528A (en) * | 2018-09-19 | 2019-03-01 | 北京小米移动软件有限公司 | Safety access method, device, server and storage medium |
-
2019
- 2019-03-27 CN CN201910238479.5A patent/CN109885037B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109885037A (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109885037B (en) | Vehicle diagnosis method and related equipment | |
US6928349B1 (en) | Scan tool with dropped communications detection and recovery and improved protocol selection | |
CN110445688B (en) | Interface service function monitoring method and system based on data collection | |
CN110069941A (en) | A kind of interface access authentication method, apparatus and computer-readable medium | |
CN108183924A (en) | A kind of login validation method and terminal device | |
CN109783249B (en) | Platform access method and device, terminal and computer readable storage medium | |
CN110071904A (en) | A kind of detection method of car-mounted terminal and system, server and storage medium | |
CN104580075A (en) | User login validation method, device and system | |
CN106550031A (en) | The method and device of data backup | |
CN110989564B (en) | Automobile data diagnosis method and device | |
CN112448956B (en) | Authority processing method and device of short message verification code and computer equipment | |
CN113703868A (en) | Vehicle diagnostic software configuration method, electronic device and readable storage medium | |
CN110189434B (en) | Vehicle safety checking method and related equipment thereof | |
CN108647139B (en) | System test method, device, storage medium and electronic device | |
CN110162982B (en) | Method and device for detecting illegal rights, storage medium and electronic equipment | |
CN104572418A (en) | Diagnostic method, device and system for mobile terminal | |
CN113867314A (en) | Access control method and device for fault code library, electronic equipment and storage medium | |
CN113806131A (en) | Access control method and device for fault code library, electronic equipment and storage medium | |
CN110119337A (en) | A kind of data analysing method, device and server | |
CN115396277B (en) | Login state management method, device, equipment and storage medium | |
CN113806722A (en) | Authority authentication method, device, equipment and computer storage medium | |
CN112380540B (en) | Android application security detection method and device | |
CN115825745A (en) | Battery fault diagnosis method, battery fault diagnosis device and computer equipment | |
CN114371683A (en) | Diagnostic function verification method, system, storage medium and device of diagnostic apparatus | |
CN114238717A (en) | Report display method and device, electronic equipment 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 |