Disclosure of Invention
Based on the above, the invention aims to provide a method and a device for determining a vehicle configuration module and an after-sales diagnostic apparatus, so as to solve the technical problem of low efficiency of the conventional process for confirming an electronic module actually configured by a vehicle.
The method for determining the vehicle configuration module is applied to an after-sales diagnostic apparatus, and comprises the following steps:
acquiring unique identification information of a target vehicle, and acquiring corresponding whole vehicle configuration information from a server according to the unique identification information, wherein the whole vehicle configuration information comprises electronic module information of all possible configurations of corresponding vehicle types of the target vehicle;
extracting information of each electronic module from the whole vehicle configuration information to determine all possibly configured target electronic modules of the target vehicle and diagnosis identification information thereof;
according to the diagnosis identification information of the target electronic modules, respectively sending a preset diagnosis instruction to each target electronic module;
and determining the normally communicable electronic modules actually configured by the target vehicle according to the response states of all the target electronic modules to the preset diagnosis instructions.
In addition, the method for determining a vehicle configuration module according to the above embodiment of the present invention may further have the following additional technical features:
further, the response state includes a positive response, a negative response and a no response, and the step of determining, according to the response states of all the target electronic modules for the preset diagnostic instructions, the normally communicable electronic modules actually configured by the target vehicle includes:
And finding out the electronic modules with the response states of positive response and negative response from all the target electronic modules according to the response states of all the target electronic modules aiming at the preset diagnosis instructions so as to obtain the normally-communicable electronic modules actually configured by the target vehicle.
Further, after the step of respectively sending a preset diagnosis instruction to each target electronic module according to the diagnosis identification information of the target electronic module, the method includes:
receiving positive or negative acknowledgement of the target electronic module for the preset diagnosis instruction, and sending the corresponding preset diagnosis instruction to the target electronic module without acknowledgement every preset time until a preset stop condition is met;
the preset sending stopping condition is that a positive response is received, a negative response is received or the sending times reach the preset times.
Further, after the step of determining the normally communicable electronic modules actually configured by the target vehicle according to the response states of all the target electronic modules to the preset diagnostic instructions, the method further includes:
acquiring a configuration list table corresponding to the unique identification information, wherein the configuration list table contains all electronic module options which are possibly configured for the corresponding vehicle type of the target vehicle;
And checking the electronic module options corresponding to the normally communicable electronic modules actually configured by the target vehicle, which are currently determined, in the configuration list table.
Further, the step of extracting each electronic module information from the whole vehicle configuration information to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof includes:
extracting each piece of electronic module information from the whole vehicle configuration information;
determining the energy type of the target vehicle according to the unique identification information of the target vehicle, wherein the energy type comprises fuel oil, electric energy and mixed energy;
and screening the electronic module information which cannot be configured in the energy type of the target vehicle from all the extracted electronic module information according to the energy type of the target vehicle so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof.
Further, the step of screening out electronic module information, which is impossible to be configured for the energy type of the target vehicle, from among all the extracted electronic module information includes:
acquiring a preset electronic module information set corresponding to the energy type of the target vehicle, wherein the preset electronic module information set contains electronic module information which cannot be configured by the energy type of the target vehicle;
All the extracted electronic module information is formed into a target electronic module information set;
calculating an intersection of the preset electronic module information set and the target electronic module information set;
and deleting the electronic module information in the intersection from the target electronic module information set.
Further, the step of obtaining the corresponding whole vehicle configuration information from the server according to the unique identification information includes:
transmitting a data downloading request to the server, wherein the data downloading request comprises the unique identification information and an authorization code of the after-sales diagnostic instrument;
and receiving the whole vehicle configuration information issued by the server, wherein the whole vehicle configuration information is issued after the authorization code is successfully verified by the server.
According to an embodiment of the invention, a device for determining a vehicle configuration module is applied to an after-sales diagnostic apparatus, and the device comprises:
the information acquisition module is used for acquiring unique identification information of a target vehicle and acquiring corresponding whole vehicle configuration information from a server according to the unique identification information, wherein the whole vehicle configuration information comprises electronic module information of all possible configurations of corresponding vehicle types of the target vehicle;
The information extraction module is used for extracting information of each electronic module from the whole vehicle configuration information so as to determine all the possibly configured target electronic modules of the target vehicle and diagnosis identification information thereof;
the instruction issuing module is used for respectively sending a preset diagnosis instruction to each target electronic module according to the diagnosis identification information of the target electronic module;
and the configuration determining module is used for determining the normally communicable electronic modules actually configured by the target vehicle according to the response states of all the target electronic modules to the preset diagnosis instructions.
The present invention also proposes a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the above-mentioned method of determining a vehicle configuration module.
The invention also provides an after-sale diagnostic apparatus which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method for determining the vehicle configuration module when executing the program.
Compared with the prior art: the vehicle configuration information is acquired from the server through the unique identification information of the vehicle so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof, and then a preset diagnosis instruction is respectively sent to each target electronic module based on the diagnosis identification information of each target electronic module, finally the actually configured electronic module of the vehicle is determined according to the response state of the target electronic module to the preset diagnosis instruction, and the whole process is automatically completed by the after-sale diagnosis instrument without relying on manual searching and determination, so that the efficiency is greatly improved. In addition, the whole system configuration of the same vehicle type is integrated into the same whole vehicle configuration information, so that the same vehicle type only has one configuration table in the server, the required configuration information can be quickly downloaded from the server, meanwhile, the capacity pressure of the server can be reduced, a designer does not need to manufacture one configuration table for vehicles with different configurations of the same vehicle, and the overall working efficiency is improved.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
The following embodiments are applicable to the determination system of the vehicle configuration module shown in fig. 1, and the determination system of the vehicle configuration module shown in fig. 1 includes an after-market diagnostic apparatus, a server, and a vehicle.
In particular implementations, the after-market diagnostic instrument may be communicatively coupled to the server based on a 4G or 5G network to enable access to the server to obtain configuration information (e.g., a configuration table) for the vehicle. The after-market diagnostic apparatus is a vehicle diagnostic apparatus generally used by a maintenance department authorized by a 4s shop or manufacturer, a diagnostic interface is generally configured on a vehicle, and the after-market diagnostic apparatus can diagnose the vehicle by connecting the diagnostic interface of the vehicle. The diagnosis process is that the after-sales diagnostic instrument issues a diagnosis instruction to the whole CAN network of the vehicle through the diagnosis interface of the vehicle so as to read the fault code of the electronic module connected to the whole CAN network and complete diagnosis.
It is noted that the structure shown in fig. 1 does not constitute a limitation of the determination system of the vehicle configuration module, and in other embodiments, the determination system of the vehicle configuration module may include fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
Example 1
Referring to fig. 2, a method for determining a vehicle configuration module according to a first embodiment of the present invention is applied to an after-market diagnostic apparatus, and the after-market diagnostic apparatus is communicatively connected to a server, and the method specifically includes steps S01-S04.
Step S01, obtaining unique identification information of a target vehicle, and obtaining corresponding whole vehicle configuration information from a server according to the unique identification information, wherein the whole vehicle configuration information comprises electronic module information of all possible configurations of corresponding vehicle types of the target vehicle.
The unique identification information can be, but is not limited to, a frame number, a license plate number, an engine number and the like, the whole vehicle configuration information can be, but is not limited to, presented in the form of a configuration table, a configuration list and the like, the electronic module information at least comprises identification and diagnosis identification information of the electronic module, the identification of the electronic module can be, but is not limited to, name, model, english abbreviation and the like, and the diagnosis identification information of the electronic module can be diagnosis ID.
It should be noted that, because different configuration versions exist in the same vehicle model, such as a top-match version, a middle-high-match version, a low-match version, and the like, certain configuration differences exist between the versions. The conventional method has the disadvantages that a configuration table is required to be manufactured for different configuration versions, the efficiency is low, and errors are easy to occur, for example, a designer wrongly writes an electronic module which is only added by a top-matched version into the configuration table of a middle-high-matched version, so that subsequent diagnosis errors are caused, and the situation is quite common in actual scenes.
Therefore, in the embodiment of the invention, as the follow-up diagnostic apparatus can automatically identify the electronic module actually configured by the target vehicle, a designer can record all the electronic module information possibly configured by the same vehicle type in the same whole vehicle configuration table, namely, the electronic module information configured in each configuration version can be recorded in the same whole vehicle configuration table, so that the preparation efficiency of the configuration table is improved, and meanwhile, errors are avoided.
In the implementation, the unique identification information of the corresponding vehicle needs to be associated and uploaded at the same time of uploading the whole vehicle configuration information to the server. So that the vehicle configuration information corresponding to the vehicle can be quickly obtained according to the unique identification information of the vehicle.
It should be noted that, in this embodiment, since all the electronic module information of the possible configurations of the same vehicle type is recorded in the same whole vehicle configuration table, in order to avoid the leakage of the whole vehicle configuration, the downloading of the whole vehicle configuration table must have a certain security supervision, and in some optional cases of the present invention, the step of obtaining the corresponding whole vehicle configuration information from the server according to the unique identification information specifically includes:
transmitting a data downloading request to the server, wherein the data downloading request comprises the unique identification information and an authorization code of the after-sales diagnostic instrument;
and receiving the whole vehicle configuration information issued by the server, wherein the whole vehicle configuration information is issued after the authorization code is successfully verified by the server.
That is, when the after-sales diagnostic apparatus requests to download the whole vehicle configuration information of a certain vehicle type from the server, the pre-stored authorization code is required to be uploaded to the server automatically, the server can verify the authorization code, and the after-sales diagnostic apparatus can download the authorization code after successful verification. The authorization code of the after-sales diagnostic apparatus can be authorized by a 4S shop or a manufacturer, so that only the authorized after-sales diagnostic apparatus can download the whole vehicle configuration information from the server, and the whole vehicle configuration information is prevented from being maliciously stolen.
And step S02, extracting each electronic module information from the whole vehicle configuration information to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof.
In the implementation, characters in the whole vehicle configuration table can be extracted based on OCR character recognition, and each piece of electronic module information in the whole vehicle configuration information is extracted by matching based on pre-stored keywords; or, each piece of electronic module information can be sequentially recorded in the whole vehicle configuration table according to the serial number, and then each piece of electronic module information is sequentially extracted based on the serial number; or storing each electronic module information in an Excel table form, so that each electronic module information in the whole vehicle configuration information can be extracted based on table column-by-column extraction.
It should be noted that, all the electronic module information extracted in step S02 may include all the electronic modules configured in the whole host vehicle type, and not all the electronic modules configured in the actual configuration of the target vehicle, so the following steps S03 and S04 are also needed to further confirm the normally communicable electronic modules configured in the actual configuration of the target vehicle from all the electronic module information extracted in step S02.
Step S03, according to the diagnosis identification information of the target electronic modules, respectively sending a preset diagnosis instruction to each target electronic module.
Specifically, given the diagnostic IDs of the individual electronic modules, a diagnostic instruction may be sent to each of the target electronic modules. In this embodiment, in order to ensure reliability, the same preset diagnostic command, for example, a $10 command (for service change), is uniformly sent to each target electronic module, the preset diagnostic command is transmitted to each target electronic module through the whole vehicle CAN network, and then the response state of each target electronic module to the preset diagnostic command is monitored.
And step S04, determining the normally communicable electronic modules actually configured by the target vehicle according to the response states of all the target electronic modules to the preset diagnosis instructions.
It should be understood that after receiving the preset diagnostic command, the electronic module capable of normal communication actually configured by the target vehicle will necessarily respond to the preset diagnostic command, and the response result will also be transmitted to the after-market diagnostic device through the whole vehicle CAN network, while the electronic module actually not configured by the target vehicle has a corresponding preset diagnostic command (no person receives) which is a null command, and will not respond correspondingly, so that the after-market diagnostic device CAN confirm that the target vehicle actually configures those electronic modules capable of normal communication according to the response states of all the target electronic modules to the preset diagnostic command.
In summary, in the method for determining the vehicle configuration module in the above embodiment of the present invention, the vehicle configuration information is obtained from the server through the unique identification information of the vehicle, so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnostic identification information thereof, and then, based on the diagnostic identification information of each target electronic module, a preset diagnostic command is sent to each target electronic module, and finally, the electronic module actually configured for the vehicle is determined according to the response state of the target electronic module to the preset diagnostic command, and the whole process is automatically completed by the after-market diagnostic instrument without relying on manual searching and determination, thereby greatly improving the efficiency. In addition, the whole system configuration of the same vehicle type is integrated into the same whole vehicle configuration information, so that the same vehicle type only has one configuration table in the server, the required configuration information can be quickly downloaded from the server, meanwhile, the capacity pressure of the server can be reduced, a designer does not need to manufacture one configuration table for vehicles with different configurations of the same vehicle, and the overall working efficiency is improved.
Example two
Referring to fig. 3, a method for determining a vehicle configuration module according to a second embodiment of the invention is applied to an after-market diagnostic apparatus, and the after-market diagnostic apparatus is communicatively connected to a server, and the method specifically includes steps S11 to S17.
Step S11, obtaining unique identification information of a target vehicle, and obtaining corresponding whole vehicle configuration information from a server according to the unique identification information, wherein the whole vehicle configuration information comprises electronic module information of all possible configurations of corresponding vehicle types of the target vehicle.
And step S12, extracting each electronic module information from the whole vehicle configuration information to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof.
And step S13, respectively sending a preset diagnosis instruction to each target electronic module according to the diagnosis identification information of the target electronic module.
Step S14, receiving a positive acknowledgement or a negative acknowledgement of the target electronic module to the preset diagnostic instruction, and sending the corresponding preset diagnostic instruction to the target electronic module without acknowledgement every preset time until a preset stop condition is met.
The preset sending stopping condition is that a positive response is received, a negative response is received or the sending times reach the preset times.
That is, in this embodiment, the response states of the target electronic module to the preset diagnostic command include three types, namely, positive response, negative response and no response, and the target electronic modules capable of making positive response and negative response are all normally communicable electronic modules actually configured by the target vehicle, while the target electronic modules not being responsive are electronic modules not actually configured by the target vehicle.
It should be understood that, because the electronic modules accessed on the whole vehicle CAN network are numerous, the whole vehicle CAN network is also easily affected by external electromagnetic wave interference signals, there may be abnormal situations that the diagnostic command is not successfully sent to the target electronic module, or the diagnostic command is interfered and fails in the transmission process, and the like, at this time, no response will occur, so that the vehicle is mistakenly considered to be not configured with the target electronic module actually. Based on this phenomenon, the embodiment is directed to the target electronic module without response, and sends the corresponding preset diagnosis instruction once every preset time, until the positive response or negative response made by the target electronic module is received or the sending times reach the preset times, the target electronic module is finally determined to be the electronic module which is not configured in practice of the target vehicle, so that the occurrence of the misjudgment phenomenon caused by single probabilistic influence is avoided, and the accuracy and reliability are greatly improved.
And step S15, finding out the electronic modules with the response states of positive response and negative response from all the target electronic modules according to the response states of all the target electronic modules aiming at the preset diagnosis instructions, so as to obtain the electronic modules which are actually configured by the target vehicle and can normally communicate.
Step S16, a configuration list table corresponding to the unique identification information is obtained, wherein the configuration list table contains all electronic module options which are possibly configured for the corresponding vehicle type of the target vehicle.
The configuration list table may also be downloaded from the server according to the unique identification information of the vehicle, where the configuration list table mainly includes all possible configuration options of the electronic module corresponding to the vehicle type of the target vehicle, and the electronic module options are composed of english abbreviations and hook options of the electronic module, as shown in fig. 4. For this case, the configuration list table may be also created by the designer and stored in the server together with the entire vehicle configuration information; or, the configuration list table can also be obtained by the server based on the identification of the whole vehicle configuration information, namely, the English abbreviations of all the electronic modules in the whole vehicle configuration information are automatically extracted, so that the corresponding configuration list table is automatically formed.
As another implementation manner, the configuration list table may also be obtained locally, that is, after the step of extracting each electronic module information from the entire vehicle configuration information (step S12), the configuration list table may be automatically generated locally based on all the extracted electronic module information. Alternatively, all electronic modules (not according to the model) on the market may be recorded on the same configuration list, i.e. all vehicles correspond to one configuration list.
And S17, checking the electronic module options corresponding to the normally communicable electronic modules actually configured by the target vehicle in the currently determined configuration list table.
That is, in this embodiment, after determining the electronic module capable of normal communication actually configured by the target vehicle, the determined electronic module capable of normal communication actually configured by the target vehicle is automatically checked in the configuration list table, so that a maintenance person can quickly and directly know the electronic module actually configured by the target vehicle according to the checked content in the configuration list table, so as to facilitate a subsequent maintenance diagnosis operation. In some alternative examples, the diagnosis ID corresponding to the electronic module may also be displayed in the configuration list table for subsequent diagnosis.
In the present embodiment, the normally communicable electronic module actually configured by the target vehicle is fed back to the serviceman through the configuration list table, so that the serviceman performs the next diagnostic maintenance according to the configuration list table. In other alternative examples, the corresponding fault diagnosis instruction can be automatically generated according to the fault description (such as sleep abnormality) of the vehicle, and the fault diagnosis instruction is sent to the normally-communicable electronic module actually configured by the currently-confirmed target vehicle, so that after the electronic module actually configured by the target vehicle is determined, the vehicle diagnosis is automatically completed based on the fault description of the vehicle, and therefore, the process of displaying the configuration list table and manually diagnosing by a maintainer based on the configuration list table can be omitted, and the efficiency is improved.
Further, in some optional embodiments of the present embodiment, the step of extracting each electronic module information from the whole vehicle configuration information to determine all the possibly configured target electronic modules of the target vehicle and the diagnostic identification information thereof includes:
extracting each piece of electronic module information from the whole vehicle configuration information;
determining the energy type of the target vehicle according to the unique identification information of the target vehicle, wherein the energy type comprises fuel oil, electric energy and mixed energy, namely corresponding fuel oil vehicles, electric vehicles and hybrid vehicles;
and screening the electronic module information which cannot be configured in the energy type of the target vehicle from all the extracted electronic module information according to the energy type of the target vehicle so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof.
More specifically, the step of screening out electronic module information, which is impossible to be configured for the energy type of the target vehicle, from among all the extracted electronic module information specifically includes:
acquiring a preset electronic module information set corresponding to the energy type of the target vehicle, wherein the preset electronic module information set contains electronic module information which cannot be configured by the energy type of the target vehicle;
All the extracted electronic module information is formed into a target electronic module information set;
calculating an intersection of the preset electronic module information set and the target electronic module information set;
and deleting the electronic module information in the intersection from the target electronic module information set.
That is, in this embodiment, the fuel type of the vehicle is further differentiated, so that the electronic module information that the energy type of the target vehicle cannot be configured is screened out from all the electronic module information extracted from the whole vehicle configuration information, for example, a vehicle type has fuel and electric fuel, and when the target vehicle is the fuel of the vehicle type, the electronic module (such as a power battery pack management module) that is configured only by the electric fuel CAN be removed from all the electronic module information in the whole vehicle configuration information of the target vehicle, thereby reducing the number of all the possibly configured target electronic modules of the target vehicle, further reducing the number of preset diagnostic instructions that are generated to the target vehicle subsequently, reducing the transmission burden of the whole vehicle CAN network, and improving the response efficiency.
Example III
In another aspect, referring to fig. 5, a determining device for a vehicle configuration module according to a third embodiment of the present invention is applied to an after-market diagnostic apparatus, where the after-market diagnostic apparatus is communicatively connected to a server, and the determining device for a vehicle configuration module includes:
The information acquisition module 11 is configured to acquire unique identification information of a target vehicle, and acquire corresponding whole vehicle configuration information from a server according to the unique identification information, where the whole vehicle configuration information includes electronic module information of all possible configurations of a vehicle type corresponding to the target vehicle;
an information extraction module 12, configured to extract each electronic module information from the whole vehicle configuration information, so as to determine all possible target electronic modules configured by the target vehicle and diagnostic identification information thereof;
the instruction issuing module 13 is configured to send a preset diagnostic instruction to each target electronic module according to the diagnostic identifier information of the target electronic module;
the configuration determining module 14 is configured to determine, according to response states of all the target electronic modules to the preset diagnostic instructions, an electronic module actually configured by the target vehicle and capable of normal communication.
Further, in some optional embodiments of the present invention, the response states include an acknowledgement, a negative acknowledgement and a no acknowledgement, and the configuration determining module 14 is further configured to find, from among all the target electronic modules, an electronic module with a response state of an acknowledgement and a negative acknowledgement according to response states of all the target electronic modules for the preset diagnostic instruction, so as to obtain a normally communicable electronic module actually configured by the target vehicle.
Further, in some optional embodiments of the present invention, the determining device of the vehicle configuration module further includes:
the response processing module is used for receiving positive response or negative response of the target electronic module to the preset diagnosis instruction, and sending the corresponding preset diagnosis instruction to the target electronic module without response once every preset time until a preset stop sending condition is met;
the preset sending stopping condition is that a positive response is received, a negative response is received or the sending times reach the preset times.
Further, in some optional embodiments of the present invention, the determining device of the vehicle configuration module further includes:
the list table acquisition module is used for acquiring a configuration list table corresponding to the unique identification information, wherein the configuration list table contains all electronic module options which are possibly configured and corresponding to the vehicle type of the target vehicle;
and the list processing module is used for checking the electronic module options corresponding to the normally communicable electronic modules actually configured by the target vehicle, which are currently determined, in the configuration list.
Further, in some optional embodiments of the present invention, the information extraction module includes:
The information extraction unit is used for extracting information of each electronic module from the whole vehicle configuration information;
the type determining unit is used for determining the energy type of the target vehicle according to the unique identification information of the target vehicle, wherein the energy type comprises fuel oil, electric energy and mixed energy;
and the information screening unit is used for screening the electronic module information which cannot be configured in the energy type of the target vehicle from all the extracted electronic module information according to the energy type of the target vehicle so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnosis identification information thereof.
Further, in some optional embodiments of the present invention, the information filtering unit is further configured to obtain a preset electronic module information set corresponding to an energy type of the target vehicle, where the preset electronic module information set includes electronic module information that cannot be configured by the energy type of the target vehicle; all the extracted electronic module information is formed into a target electronic module information set; calculating an intersection of the preset electronic module information set and the target electronic module information set; and deleting the electronic module information in the intersection from the target electronic module information set.
Further, in some optional embodiments of the present invention, the information obtaining module is further configured to send a data download request to the server, where the data download request includes the unique identification information and an authorization code of the after-market diagnostic apparatus; and receiving the whole vehicle configuration information issued by the server, wherein the whole vehicle configuration information is issued after the authorization code is successfully verified by the server.
The functions or operation steps implemented when the above modules and units are executed are substantially the same as those in the above method embodiments, and are not described herein again.
In summary, the determining device for the vehicle configuration module in the above embodiment of the present invention obtains the entire vehicle configuration information from the server through the unique identification information of the vehicle, so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnostic identification information thereof, and then, based on the diagnostic identification information of each target electronic module, sends a preset diagnostic command to each target electronic module, and finally, determines the electronic module actually configured by the vehicle according to the response state of the target electronic module to the preset diagnostic command, and the whole process is automatically completed by the after-market diagnostic apparatus without relying on manual searching and determination, thereby greatly improving the efficiency. In addition, the whole system configuration of the same vehicle type is integrated into the same whole vehicle configuration information, so that the same vehicle type only has one configuration table in the server, the required configuration information can be quickly downloaded from the server, meanwhile, the capacity pressure of the server can be reduced, a designer does not need to manufacture one configuration table for vehicles with different configurations of the same vehicle, and the overall working efficiency is improved.
Example IV
In another aspect, referring to fig. 6, an after-market diagnosis apparatus according to a fourth embodiment of the present invention includes a memory 20, a processor 10, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the method for determining a vehicle configuration module as described above when executing the computer program 30.
The processor 10 may be, among other things, a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor or other data processing chip for running program code or processing data stored in the memory 20, e.g. executing an access restriction program or the like, in some embodiments.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of an after-market diagnostic instrument, such as a hard disk of the after-market diagnostic instrument. The memory 20 may also be an external storage device of the after-market diagnostic apparatus in other embodiments, such as a plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card) or the like, which is provided on the after-market diagnostic apparatus. Further, the memory 20 may also include both an internal memory unit and an external memory device of the after-market diagnostic apparatus. The memory 20 may be used not only to store application software installed in the after-market diagnostic apparatus and various types of data, but also to temporarily store data that has been output or is to be output.
It should be noted that the configuration shown in FIG. 6 is not limiting of the after-market diagnostic apparatus, and in other embodiments, the after-market diagnostic apparatus may include fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
In summary, in the after-sales diagnostic apparatus according to the above embodiment of the present invention, the vehicle configuration information is obtained from the server through the unique identification information of the vehicle, so as to determine all the possibly configured target electronic modules of the target vehicle and the diagnostic identification information thereof, and then, based on the diagnostic identification information of each target electronic module, a preset diagnostic command is sent to each target electronic module, and finally, the electronic module actually configured for the vehicle is determined according to the response state of the target electronic module to the preset diagnostic command, and the whole process is automatically completed by the after-sales diagnostic apparatus without relying on manual searching and determination, thereby greatly improving the efficiency. In addition, the whole system configuration of the same vehicle type is integrated into the same whole vehicle configuration information, so that the same vehicle type only has one configuration table in the server, the required configuration information can be quickly downloaded from the server, meanwhile, the capacity pressure of the server can be reduced, a designer does not need to manufacture one configuration table for vehicles with different configurations of the same vehicle, and the overall working efficiency is improved.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements a method for determining a vehicle configuration module as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.