A control method and device for a diagnostic instrument and a diagnostic instrument

By judging and comparing part numbers in the controller data in the diagnostic instrument, dynamically loading the matching diagnostic database information, the problem that the fixed diagnostic database and configuration code in the existing technology cannot meet the needs of diverse models is solved, and the more Efficient vehicle troubleshooting and repair.

CN114911216BActive Publication Date: 2024-12-13CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210614018.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2024-12-13
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing diagnostic instruments cannot meet the troubleshooting needs of diverse vehicle models using fixed diagnostic databases and fixed configuration codes, resulting in the inability to quickly identify and diagnose vehicle problems.

Method used

By determining whether the first part number of the target controller in the controller data of the vehicle to be diagnosed is empty, and determining the matching number of diagnostic databases based on its name. If the number is greater than 1, the second part number is compared. If the difference is different, the first part number is read and the second part number in multiple diagnostic databases are compared, and the matching diagnostic database information is loaded to meet the diagnostic needs of different models.

Benefits of technology

It improves the automation and applicability of the diagnostic instrument, reduces the misoperation of misoperation caused by the manual participation of maintenance personnel, and effectively improves the efficiency of vehicle maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114911216B_ABST
    Figure CN114911216B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method, device and diagnostic instrument of a diagnostic instrument, the method includes judging whether the first part number of a target controller is empty based on the controller data of a vehicle to be diagnosed; if so, determining the number of diagnostic databases matching the target controller based on the name of the target controller; if the number is greater than 1, judging whether the second part numbers in multiple diagnostic databases are the same; if they are not the same, reading the first part number of the target controller; comparing the first part number with the second part numbers in multiple diagnostic databases one by one, judging whether the first part number is the same as one of the second part numbers; if they are the same, loading the controller information preset in the diagnostic database corresponding to the second part number to the local. The present application achieves the technical effects of improving the automation degree of the diagnostic instrument, improving the applicability of the diagnostic instrument and reducing the misoperation and misdiagnosis caused by excessive human participation of maintenance personnel, and effectively improving the efficiency of vehicle maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of diagnostic instrument control, and in particular to a diagnostic instrument control method, a diagnostic instrument control device, and a diagnostic instrument. Background Art

[0002] As automotive electronic and electrical functions become more and more abundant, the number of electronic control units ECU (Electronic Control Unit) in automobiles is also increasing, and customers' demand for customized vehicles is also increasing. In order to meet the needs of different users, vehicle manufacturers are no longer satisfied with the basic, comfort, luxury, flagship and other models launched for a car. They will also launch basic models + a certain controller option, comfort models + multiple controller options. As a result, more and more car models are produced, which requires after-sales service to improve maintenance efficiency and be able to quickly diagnose vehicle problems.

[0003] The diagnostic instrument is the main tool for after-sales maintenance personnel to troubleshoot ECU failures or replace parts. As more and more customized models are available, after-sales vehicles will have the same model and the same name of controller, but the diagnostic database, configuration code, etc. are all different. The function of the diagnostic instrument is developed for specific subdivision models, which requires the diagnostic instrument to quickly identify the XX subdivision model of the XX year. The fixed diagnostic database and fixed configuration code of the traditional diagnostic instrument will no longer meet the needs of diversified models. Summary of the invention

[0004] The embodiments of the present invention provide a control method and device of a diagnostic instrument and a diagnostic instrument, which solve the technical problem that the diagnostic instrument in the prior art uses a fixed diagnostic database and a fixed configuration code to troubleshoot a vehicle and cannot meet the needs of various vehicle models.

[0005] In a first aspect, an embodiment of the present invention provides a control method of a diagnostic instrument, the control method comprising:

[0006] Determining whether a first part number of a target controller is empty based on controller data of the vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller;

[0007] If it is not empty, determining the number of diagnostic databases matching the target controller based on the name of the target controller;

[0008] If it is determined that the number of the matching diagnostic databases is greater than 1, determining whether the second part numbers in the plurality of diagnostic databases are the same, wherein the second part number is the number of the controller pre-stored in the diagnostic database;

[0009] If it is determined that the second part numbers in the plurality of diagnostic databases are not the same, reading the first part number of the target controller;

[0010] Compare the first part number with a plurality of second part numbers in the diagnostic database one by one to determine whether the first part number is the same as one of the second part numbers;

[0011] If they are the same, the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number is loaded locally.

[0012] In a second aspect, an embodiment of the present invention further provides a control device for a diagnostic instrument, the control device comprising:

[0013] A first judgment unit is used to judge whether a first part number of a target controller is empty based on controller data of a vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller;

[0014] a database determining unit, configured to determine the number of diagnostic databases matching the target controller based on the name of the target controller if the determination result of the first determination unit is not empty;

[0015] A second determination unit, configured to determine whether second part numbers in a plurality of the diagnostic databases are the same if the database determination unit determines that the number of the matching diagnostic databases is greater than 1, wherein the second part number is a number of a controller pre-stored in the diagnostic database;

[0016] a first reading unit, configured to read the first part number of the target controller if the second determining unit determines that the second part numbers in the plurality of diagnostic databases are different;

[0017] A third judgment unit, used for comparing the first part number with a plurality of second part numbers in the diagnostic database one by one, to judge whether the first part number is the same as one of the second part numbers;

[0018] An information loading unit is used to load the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number to the local computer if the judgment result of the third judgment unit is that the first part number is the same as one of the second part numbers.

[0019] In a third aspect, an embodiment of the present invention further provides a diagnostic instrument, the diagnostic instrument comprising:

[0020] one or more processors;

[0021] A storage device for storing one or more programs;

[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement any diagnostic instrument control method as described in the first aspect of the embodiment of the present invention.

[0023] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any method for controlling a diagnostic instrument as described in the first aspect of the embodiment of the present invention.

[0024] The embodiment of the present invention discloses a control method, device and diagnostic instrument of a diagnostic instrument, the method includes judging whether the first part number of a target controller is empty based on the controller data of a vehicle to be diagnosed; if it is not empty, determining the number of diagnostic databases matching the target controller based on the name of the target controller; if it is determined that the number of matching diagnostic databases is greater than 1, judging whether the second part numbers in multiple diagnostic databases are the same; if it is determined that the second part numbers in multiple diagnostic databases are not the same, reading the first part number of the target controller; comparing the first part number with the second part numbers in multiple diagnostic databases one by one, judging whether the first part number is the same as one of the second part numbers; if they are the same, loading the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number to the local. The present application solves the technical problem that the diagnostic instrument in the prior art cannot meet the requirements of diversified vehicle models due to the use of a fixed diagnostic database and a fixed configuration code to troubleshoot the vehicle, and achieves the technical effects of improving the automation degree of the diagnostic instrument, improving the applicability of the diagnostic instrument and reducing the misoperation and misdiagnosis caused by excessive human participation of maintenance personnel, and effectively improves the efficiency of vehicle maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of a control method of a diagnostic instrument provided by an embodiment of the present invention;

[0026] Figure 2 is a flow chart of another control method of a diagnostic instrument provided by an embodiment of the present invention;

[0027] Figure 3 is a structural diagram of a control device of a diagnostic instrument provided by an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of the structure of a control device of a diagnostic instrument provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0030] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to limit a specific order. The following embodiments of the present invention can be implemented separately, or in combination with each other, and the embodiments of the present invention do not impose specific limitations on this.

[0031] Figure 1 This is a flow chart of a control method of a diagnostic instrument provided by an embodiment of the present invention. The control method of the diagnostic instrument can be applied to any situation where the diagnostic instrument diagnoses a vehicle, and the control method of the diagnostic instrument can be executed by a control device of the diagnostic instrument, which can be implemented in hardware and / or software.

[0032] like Figure 1 As shown, the control method of the diagnostic instrument specifically includes the following steps:

[0033] S101, judging whether the first part number of the target controller is empty based on the controller data of the vehicle to be diagnosed, wherein the target controller is one of multiple target controllers contained in the controller data, and the first part number is a number uniquely corresponding to the target controller.

[0034] In the embodiment of the present invention, the vehicle to be diagnosed can be any type of vehicle to be repaired or maintained. Generally speaking, the vehicle to be diagnosed may contain multiple controllers. When the vehicle to be diagnosed fails or needs to be replaced, each controller can be diagnosed by a diagnostic instrument, and the replaced controller can be configured. When the diagnostic instrument is needed, it is necessary to connect the diagnostic instrument to the OBD (On Board Diagnostics) interface of the vehicle to be diagnosed and select the automatic scanning mode; after the diagnostic instrument is connected to the vehicle to be diagnosed, the diagnostic instrument will read the vehicle model code from the vehicle to be diagnosed, and then obtain the vehicle model information of the vehicle to be diagnosed from the manufacturer's server through the vehicle model code, that is, the above-mentioned controller data. Specifically, the controller data mainly includes: controller name, controller part number (that is, the above-mentioned first part number), controller software version number and controller configuration code.

[0035] Specifically, the controller name includes the Chinese name (English name) of the controller, such as the engine control unit (EMS); the part number of the controller refers to the inherent property of the hardware. The same part number of the same controller must be different for different controllers, and the part numbers of controllers with the same name are not necessarily the same; if a part number under a certain vehicle model is empty, it means that the controller corresponding to this part number is not installed in this vehicle model; for the controller configuration code, since different functions can be distinguished by configuring the same version of software, the configuration codes will be different for different vehicle models.

[0036] After obtaining the controller data of the vehicle to be diagnosed, since there are multiple controllers in a vehicle to be diagnosed, the controller data contains multiple target controllers, and the multiple target controllers are arranged in serial numbers. The diagnostic instrument will scan the controller data in the order of the target controllers, and determine whether the first part number of each target controller is empty in turn.

[0037] S102: If it is not empty, determine the number of diagnostic databases matching the target controller based on the name of the target controller.

[0038] Specifically, if the diagnostic instrument determines that the part number of the target controller is not empty, indicating that the vehicle to be diagnosed is equipped with a corresponding target controller, the diagnostic database is searched based on the name of the target controller, for example, based on the English name of the target controller (such as EMS), to determine the number of diagnostic databases matching the target controller. The diagnostic database is a program file stored in the diagnostic instrument, which is composed of ODX files and contains all diagnostic information of the corresponding controller.

[0039] S103, if it is determined that the number of matching diagnostic databases is greater than 1, determine whether the second part numbers in multiple diagnostic databases are the same, wherein the second part number is the number of the controller pre-stored in the diagnostic database.

[0040] Specifically, if more than one diagnostic database matches the target controller, it is further determined whether the second part number in each of the multiple diagnostic databases is the same.

[0041] S104: If it is determined that the second part numbers in the plurality of diagnostic databases are not the same, the first part number of the target controller is read.

[0042] S105, comparing the first part number with the second part numbers in the plurality of diagnostic databases one by one, and determining whether the first part number is the same as one of the second part numbers.

[0043] Specifically, if it is determined that the second part numbers in multiple diagnostic databases are different, it means that the same target controller may correspond to different manufacturers or different production batches, and therefore correspond to different diagnostic databases. At this time, it is necessary to read the first part number of the target controller and compare the first part number with the second part numbers in multiple diagnostic databases one by one to select the corresponding matching diagnostic database.

[0044] S106: If they are the same, then the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number is loaded locally.

[0045] Specifically, after finding the second part number that is the same as the first part number, the preset controller information in the diagnostic database corresponding to the second part number is loaded locally for subsequent diagnosis of the vehicle to be diagnosed.

[0046] The present application matches the first part number of the target controller on the vehicle to be diagnosed with the second part number in the diagnostic database, so as to quickly determine the diagnostic database that matches the target controller in the vehicle to be diagnosed from different diagnostic databases and load it to the local standby, thereby solving the technical problem that the diagnostic instrument in the prior art uses a fixed diagnostic database and a fixed configuration code to troubleshoot the vehicle and cannot meet the needs of diversified vehicle models, and achieves the technical effects of improving the automation level of the diagnostic instrument, improving the applicability of the diagnostic instrument and reducing the misoperation and misdiagnosis caused by excessive human participation of maintenance personnel, thereby effectively improving the efficiency of vehicle maintenance.

[0047] Figure 2 It is a flow chart of another control method of a diagnostic instrument provided by an embodiment of the present invention.

[0048] Alternatively, if Figure 2 As shown, the control method of the diagnostic instrument also includes:

[0049] S201: If it is determined that the number of matching diagnostic databases is equal to 1, determine whether there are multiple second part numbers in the diagnostic database.

[0050] Specifically, if it is determined that only one diagnostic database matches the target controller, it is further determined whether there are multiple second part numbers in the diagnostic database. The reason why there may be multiple second part numbers in the diagnostic database is that if the batches of the vehicles to be diagnosed are different, the same controller installed thereon may be supplied by different suppliers, and the part numbers of the same controller will also be different. At this time, it is necessary to further determine whether there are multiple second part numbers in the diagnostic database to further determine which second part number matches the target controller.

[0051] Optionally, if it is determined that there is only one second part number in the diagnostic database, indicating that the vehicle to be diagnosed of the model is only equipped with the corresponding controller, step S106 is directly executed to load the controller information preset in the diagnostic database corresponding to the second part number locally.

[0052] S202: If there are multiple second part numbers in the diagnostic database, read the first part number of the target controller.

[0053] S203: Based on the first part number, obtain the controller information preset in the matching diagnosis database and load it locally.

[0054] Specifically, if it is determined that there are multiple second part numbers in the diagnostic database, it is necessary to read the first part number of the target controller, and then match the first part number with one of the multiple second part numbers in the diagnostic database to obtain the controller information corresponding to the matching second part number.

[0055] Alternatively, if Figure 2 As shown, the control method of the diagnostic instrument also includes:

[0056] S204: If it is determined that the number of matched diagnostic databases is 0, a prompt message indicating that the diagnostic database matching fails is displayed.

[0057] S205, after displaying the prompt information, reading the next target controller in the controller data.

[0058] Specifically, if it is determined that there is no diagnostic database matching the target controller, it means that the corresponding diagnostic database is missing and there is a problem with the diagnostic instrument. At this time, a prompt message indicating that the diagnostic database match failed is displayed to remind the maintenance personnel that there is a problem with the diagnostic instrument. The next target controller in the controller data is then read, and the action of the above step S101 is continued.

[0059] On the basis of the above schemes, Figure 2 As shown, after reading the first part number of the target controller in S104, the control method of the diagnostic instrument further includes:

[0060] S206, determining whether the first part number is read successfully;

[0061] S207: If the reading is unsuccessful, multiple second part numbers are displayed, and the user is prompted to manually select the controller information of the controller corresponding to one of the second part numbers to load.

[0062] Specifically, after reading the first part number of the target controller, it is necessary to determine whether the first part number is read successfully. If not, the interface prompts the user (i.e., maintenance personnel) to manually select the controller information of a controller corresponding to one of the second part numbers to load. If the reading is successful, step S105 is executed.

[0063] On the basis of the above schemes, Figure 2 As shown, after reading the first part number of the target controller in S202, the control method of the diagnostic instrument further includes:

[0064] S208, determining whether the first part number is read successfully;

[0065] S209: If the reading is unsuccessful, a prompt message indicating that the part number reading failed is displayed.

[0066] Specifically, after reading the first part number of the target controller, it is necessary to determine whether the first part number is read successfully. If not, a prompt message indicating that the part number reading failed is displayed to prompt the maintenance personnel to read and identify the part number, and then read the next target controller in the controller data, and continue the action of the above step S101. If the reading is successful, step S203 is executed.

[0067] Alternatively, if Figure 2 As shown, the control method of the diagnostic instrument further includes: if it is determined that the second part numbers in multiple diagnostic databases are the same, then the preset controller information in all diagnostic databases is loaded locally.

[0068] Specifically, if there are multiple diagnostic databases that match the target controller, and the second part numbers carried in the multiple diagnostic databases are the same, it means that there are controllers with the same part number, but the corresponding diagnostic databases are different. For example, the vehicle to be diagnosed is equipped with multiple laser radar controllers, but the diagnostic databases corresponding to different laser radar controllers are different. At this time, the controller information preset in all diagnostic databases needs to be loaded locally for subsequent diagnosis. After the loading is completed, the next target controller in the controller data is read and the above step S101 is continued.

[0069] Alternatively, if Figure 2 As shown, the control method of the diagnostic instrument also includes:

[0070] S210: If the judgment result is that the first part number of the target controller is empty, read the next target controller in the controller data.

[0071] Specifically, if the first part number is empty, it means that the corresponding target controller is not installed on the vehicle to be diagnosed of this model, so the next target controller in the controller data is read and the action of step S101 is executed.

[0072] Figure 3 is a structural diagram of a control device of a diagnostic instrument provided by an embodiment of the present invention, such as Figure 3 As shown, the control device of the diagnostic instrument includes:

[0073] A first judgment unit 31 is used to judge whether a first part number of a target controller is empty based on the controller data of the vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller;

[0074] a database determining unit 32, configured to determine the number of diagnostic databases matching the target controller based on the name of the target controller if the determination result of the first determining unit 31 is not empty;

[0075] A second determination unit 33 is configured to determine whether the second part numbers in the plurality of diagnostic databases are the same if the database determination unit 32 determines that the number of matching diagnostic databases is greater than 1, wherein the second part number is a serial number of the controller pre-stored in the diagnostic database;

[0076] A first reading unit 34 is configured to read a first part number of a target controller if the second determining unit 33 determines that the second part numbers in the plurality of diagnostic databases are different;

[0077] A third judging unit 35 is used to compare the first part number with the second part numbers in a plurality of diagnostic databases one by one, and judge whether the first part number is the same as one of the second part numbers;

[0078] The information loading unit 36 ​​is used to load the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number to the local computer if the judgment result of the third judgment unit 35 is that the first part number is the same as one of the second part numbers.

[0079] Optionally, the control device further comprises:

[0080] a fourth determination unit, configured to determine whether there are multiple second part numbers in the diagnostic database if the database determination unit 32 determines that the number of matching diagnostic databases is equal to 1;

[0081] The first reading unit 34 is further configured to read the first part number of the target controller if the fourth determining unit determines that there are multiple second part numbers in the diagnostic database;

[0082] The information loading unit 36 ​​is further used to obtain the controller information preset in the matching diagnosis database based on the first part number and load it locally.

[0083] Optionally, the control device further comprises:

[0084] a prompt unit, configured to display a prompt message indicating that the diagnostic database matching fails if the database determining unit 32 determines that the number of matched diagnostic databases is 0;

[0085] The second reading unit is used to read the next target controller in the controller data after the prompt unit displays the prompt information.

[0086] Optionally, the control device further comprises:

[0087] A fifth judgment unit, configured to judge whether the first part number is read successfully after the first reading unit 34 reads the first part number of the target controller;

[0088] The prompt unit is further configured to display a plurality of second part numbers if the determination result of the fifth determination unit is that the reading is unsuccessful, and to prompt the user to manually select the controller information of the controller corresponding to one of the second part numbers for loading.

[0089] Optionally, the control device further comprises:

[0090] A sixth determination unit, configured to determine whether the first part number is read successfully after the first reading unit 34 reads the first part number of the target controller;

[0091] The prompt unit is further configured to display a prompt message indicating that the part number reading failed if the judgment result of the sixth judgment unit is that the reading was unsuccessful.

[0092] Optionally, the information loading unit 36 ​​is further used for:

[0093] If the second determination unit 33 determines that the second part numbers in the plurality of diagnosis databases are the same, the preset controller information in all the diagnosis databases is loaded locally.

[0094] Optionally, the control device further includes:

[0095] The third reading unit is configured to read the next target controller in the controller data if the judgment result of the first judging unit 31 is that the first part number of the target controller is empty.

[0096] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0097] The control device of the diagnostic instrument provided in the embodiment of the present invention has the same technical features as the control method of the diagnostic instrument provided in the above embodiment, and therefore can solve the same technical problems and achieve the same technical effects.

[0098] Figure 4 A schematic diagram of the structure of a diagnostic instrument provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the control device of the diagnostic instrument includes a processor 41, a memory 42, an input device 43 and an output device 44; the number of the processor 41 in the control device of the diagnostic instrument can be one or more. Figure 4 A processor 41 is taken as an example; the processor 41, the memory 42, the input device 43 and the output device 44 in the control device of the diagnostic instrument can be connected by a bus or other means, Figure 4 The example of connecting through bus is taken in the following.

[0099] The memory 42, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the control method of the diagnostic instrument in the embodiment of the present invention (for example, the first judgment unit 31, the database determination unit 32, the second judgment unit 33, the first reading unit 34, the third judgment unit 35 and the information loading unit 36 ​​in the control device of the diagnostic instrument). The processor 41 executes various functional applications and data processing of the control device of the diagnostic instrument by running the software programs, instructions and modules stored in the memory 42, that is, realizes the control method of the diagnostic instrument mentioned above.

[0100] The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 42 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 42 may further include a memory remotely arranged relative to the processor 41, and these remote memories may be connected to the control device of the diagnostic instrument via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0101] The input device 43 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the control device of the diagnostic instrument. The output device 44 may include a display device such as a display screen.

[0102] An embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute a control method of a diagnostic instrument when executed by a computer processor.

[0103] Specifically, the control method of the diagnostic instrument includes:

[0104] Determining whether a first part number of a target controller is empty based on controller data of the vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller;

[0105] If not empty, the number of diagnostic databases matching the target controller is determined based on the name of the target controller;

[0106] If it is determined that the number of matching diagnostic databases is greater than 1, determining whether the second part numbers in the multiple diagnostic databases are the same, wherein the second part number is the number of the controller pre-stored in the diagnostic database;

[0107] If it is determined that the second part numbers in the plurality of diagnostic databases are not the same, then reading the first part number of the target controller;

[0108] Comparing the first part number with the second part numbers in a plurality of diagnostic databases one by one to determine whether the first part number is the same as one of the second part numbers;

[0109] If they are the same, the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number is loaded locally.

[0110] Of course, the computer executable instructions of a storage medium including computer executable instructions provided by an embodiment of the present invention are not limited to the operations of the method described above, but can also execute related operations in the control method of the diagnostic instrument provided by any embodiment of the present invention.

[0111] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (FLASH), a hard disk or an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0112] It is worth noting that in the embodiment of the control device of the above-mentioned diagnostic instrument, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0113] An embodiment of the present invention further provides a computer program product, which includes computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to execute the control method of the diagnostic instrument provided by any embodiment of the present invention.

[0114] Of course, the computer program product provided in the embodiments of the present application, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the method provided in any embodiment of the present invention.

[0115] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0116] Finally, it should be noted that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A control method for a diagnostic instrument, characterized in that: The control method comprises: Determining whether a first part number of a target controller is empty based on controller data of the vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller; If it is not empty, determining the number of diagnostic databases matching the target controller based on the name of the target controller; If it is determined that the number of the matching diagnostic databases is greater than 1, determining whether the second part numbers in the plurality of diagnostic databases are the same, wherein the second part number is the number of the controller pre-stored in the diagnostic database; If it is determined that the second part numbers in the plurality of diagnostic databases are not the same, reading the first part number of the target controller; Compare the first part number with a plurality of second part numbers in the diagnostic database one by one to determine whether the first part number is the same as one of the second part numbers; If they are the same, loading the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number into the local computer; If it is determined that the number of the matched diagnostic databases is 0, a prompt message indicating that the diagnostic database matching fails is displayed, indicating that there is a problem with the diagnostic instrument; After displaying the prompt information, the next target controller in the controller data is read.

2. The control method of the diagnostic instrument according to claim 1, characterized in that: The control method further comprises: If it is determined that the number of the matching diagnostic databases is equal to 1, determining whether there are multiple second part numbers in the diagnostic database; If there are multiple second part numbers in the diagnostic database, reading the first part number of the target controller; Based on the first part number, the matching controller information preset in the diagnostic database is obtained and loaded locally.

3. The control method of the diagnostic instrument according to claim 1, characterized in that: After reading the first part number of the target controller, the control method further includes: Determining whether the first part number is read successfully; If the reading is unsuccessful, multiple second part numbers are displayed, and the user is prompted to manually select the controller information corresponding to one of the second part numbers to load.

4. The control method of the diagnostic instrument according to claim 2, characterized in that: After reading the first part number of the target controller, the control method further includes: Determining whether the first part number is read successfully; If the reading is not successful, a prompt message indicating that the part number reading failed is displayed.

5. The control method of the diagnostic instrument according to claim 1, characterized in that: The control method further comprises: If it is determined that the second part numbers in the plurality of diagnostic databases are the same, the preset controller information in all the diagnostic databases is loaded locally.

6. The control method of the diagnostic instrument according to claim 1, characterized in that: The method further comprises: If the judgment result is that the first part number of the target controller is empty, the next target controller in the controller data is read.

7. A control device for a diagnostic instrument, characterized in that: The control device comprises: A first judgment unit is used to judge whether a first part number of a target controller is empty based on controller data of a vehicle to be diagnosed, wherein the target controller is one of a plurality of target controllers included in the controller data, and the first part number is a number uniquely corresponding to the target controller; a database determining unit, configured to determine the number of diagnostic databases matching the target controller based on the name of the target controller if the determination result of the first determination unit is not empty; A second determination unit, configured to determine whether second part numbers in a plurality of the diagnostic databases are the same if the database determination unit determines that the number of the matching diagnostic databases is greater than 1, wherein the second part number is a number of a controller pre-stored in the diagnostic database; a first reading unit, configured to read the first part number of the target controller if the second determining unit determines that the second part numbers in the plurality of diagnostic databases are different; A third judgment unit, used for comparing the first part number with a plurality of second part numbers in the diagnostic database one by one, to judge whether the first part number is the same as one of the second part numbers; an information loading unit, configured to load the controller information preset in the diagnostic database corresponding to the second part number that is the same as the first part number to a local computer if the judgment result of the third judgment unit is that the first part number is the same as one of the second part numbers; a prompt unit, configured to display a prompt message indicating that the diagnostic database matching fails if the database determination unit determines that the number of matched diagnostic databases is 0, thereby indicating that there is a problem with the diagnostic instrument; The second reading unit is used to read the next target controller in the controller data after the prompt unit displays the prompt information.

8. A diagnostic instrument, characterized in that: The diagnostic instrument comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the control method of the diagnostic instrument as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the control method of the diagnostic instrument as described in any one of claims 1 to 6 is implemented.