Vehicle diagnosis service method and device, intelligent equipment and storage medium
By determining the response communication mechanism of the target diagnostic service in the vehicle diagnostic equipment, the problem of low communication efficiency between the vehicle diagnostic equipment and the electronic controller unit is solved, and more efficient diagnostic service processing is achieved.
Patent Information
- Application Number
- CN202410918182.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-09
AI Technical Summary
The communication efficiency between existing vehicle diagnostic equipment and electronic controller units is low, resulting in low diagnostic service efficiency and a large number of invalid communications.
By obtaining diagnostic instructions, the target response communication mechanism corresponding to the target diagnostic service is determined, and the diagnostic service is performed based on this mechanism, and different types of diagnostic services are processed differently by using different response communication mechanisms to reduce invalid communication.
The communication efficiency and diagnostic service efficiency between vehicle diagnostic equipment and electronic controller units are improved, making diagnostic service processing more flexible and targeted.
Smart Images

Figure CN118897531A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of vehicle diagnostic equipment, and in particular, relates to a vehicle diagnostic service method, apparatus, intelligent device and computer-readable storage medium. Background Art
[0002] With the rapid development of the automobile industry around the world, automobile manufacturers are launching new models at an increasingly faster rate. Automobiles have become an important means of transportation in modern life, and automotive electronic technology services, diagnosis and testing technologies have also developed rapidly. Major automobile manufacturers are increasingly inclined to use automobile diagnostic systems as an important factor in improving automobile after-sales services and increasing car owner satisfaction.
[0003] At present, vehicle diagnostic equipment uses the vehicle bus to communicate with the Electronic Control Unit (ECU), and a unified processing method is used in the vehicle diagnostic equipment to handle diagnostic services. However, there are many types of vehicle diagnostic services, and there is a large amount of invalid communication between the vehicle diagnostic equipment and the electronic control unit. How to improve the communication efficiency between the vehicle diagnostic equipment and the ECU and improve the efficiency of vehicle diagnostic services is a problem that needs to be considered at present. Summary of the invention
[0004] In view of this, the present application provides a vehicle diagnostic service method, apparatus, intelligent device and computer-readable storage medium, which can improve the communication efficiency between the vehicle diagnostic equipment and the ECU and improve the efficiency of the vehicle diagnostic service.
[0005] A first aspect of the present application provides a vehicle diagnostic service method, which is applied to a vehicle diagnostic device, comprising:
[0006] Obtaining a diagnostic instruction, wherein the diagnostic instruction is used to specify a target diagnostic service to be executed;
[0007] Determining a target response communication mechanism corresponding to the target diagnostic service, the target response communication mechanism being used to indicate a response mode between the vehicle diagnostic device and a target electronic controller unit;
[0008] Based on the target response communication mechanism, the target diagnosis service is executed.
[0009] In a possible implementation manner of the first aspect, before the step of determining a target response communication mechanism corresponding to the target diagnostic service, the step includes:
[0010] Predefine two or more response communication mechanisms;
[0011] Establishing a first correspondence between the type of diagnostic service and the response communication mechanism;
[0012] Constructing a first service response configuration table according to the first corresponding relationship;
[0013] The step of determining the target response communication mechanism corresponding to the target diagnostic service includes:
[0014] A target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service and the first service response configuration table.
[0015] In a possible implementation manner of the first aspect, before the step of determining a target response communication mechanism corresponding to the target diagnostic service, the step includes:
[0016] Predefine two or more response communication mechanisms;
[0017] Establishing a second correspondence between the type of diagnostic service, the unit type identifier of the electronic controller unit, and the response communication mechanism;
[0018] According to the second corresponding relationship, construct a second service response configuration table;
[0019] The step of determining the target response communication mechanism corresponding to the target diagnostic service includes:
[0020] A target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service, the unit type identifier of the target electronic controller unit, and the second service response configuration table.
[0021] In a possible implementation manner of the first aspect, the step of determining a target response communication mechanism corresponding to the target diagnostic service includes:
[0022] Obtaining the importance of the target diagnostic service;
[0023] According to the importance of the target diagnosis service, a target response communication mechanism corresponding to the target diagnosis service is determined.
[0024] In a possible implementation manner of the first aspect, the step of obtaining the importance of the target diagnostic service includes:
[0025] Access the vehicle's historical diagnostic service records and / or vehicle performance information;
[0026] The importance of the target diagnostic service is determined according to the historical diagnostic service record and / or the vehicle performance information.
[0027] In a possible implementation manner of the first aspect, the step of executing the target diagnostic service based on the target response communication mechanism includes:
[0028] Generate a diagnostic service instruction corresponding to the target diagnostic service;
[0029] sending the diagnostic service instruction to the target electronic controller unit;
[0030] When the target response communication mechanism is the first response communication mechanism, monitoring the response information fed back by the target electronic controller unit based on the diagnostic service instruction;
[0031] If the response information is not detected within a preset time period, the diagnostic service instruction is resent to the electronic controller unit.
[0032] In a possible implementation manner of the first aspect, the method further includes:
[0033] When the number of times the diagnostic service instruction is resent reaches a preset number, a fault prompt is sent.
[0034] A second aspect of the present application provides a vehicle diagnostic service device, which is applied to a vehicle diagnostic device, comprising:
[0035] A diagnostic instruction acquisition unit, used to acquire a diagnostic instruction, wherein the diagnostic instruction is used to specify a target diagnostic service to be executed;
[0036] a response communication mechanism determination unit, used to determine a target response communication mechanism corresponding to the target diagnostic service, the target response communication mechanism being used to indicate a response mode between the vehicle diagnostic device and a target electronic controller unit;
[0037] The diagnostic service unit is used to execute the target diagnostic service based on the target response communication mechanism.
[0038] In a possible implementation manner of the second aspect, the vehicle diagnostic service device further includes:
[0039] A mechanism pre-definition unit is used to pre-define two or more response communication mechanisms;
[0040] A first relationship establishing unit, used to establish a first corresponding relationship between the type of diagnostic service and the response communication mechanism;
[0041] A first configuration table construction unit, configured to construct a first service response configuration table according to the first corresponding relationship;
[0042] The response communication mechanism determination unit includes:
[0043] The first mechanism determination module is used to determine a target response communication mechanism corresponding to the target diagnostic service according to the type of the target diagnostic service and the first service response configuration table.
[0044] In a possible implementation manner of the second aspect, the vehicle diagnostic service device further includes:
[0045] A second relationship establishing unit, used for establishing a second corresponding relationship between the type of diagnostic service, the unit type identifier of the electronic controller unit and the response communication mechanism;
[0046] A second configuration table construction unit, configured to construct a second service response configuration table according to the second corresponding relationship;
[0047] The response communication mechanism determination unit also includes:
[0048] The second mechanism determination module is used to determine the target response communication mechanism corresponding to the target diagnostic service according to the type of the target diagnostic service, the unit type identifier of the target electronic controller unit and the second service response configuration table.
[0049] In a possible implementation manner of the second aspect, the response communication mechanism determining unit further includes:
[0050] A degree acquisition module, used to acquire the importance of the target diagnostic service;
[0051] The third mechanism determination module is used to determine the target response communication mechanism corresponding to the target diagnosis service according to the importance of the target diagnosis service.
[0052] In a possible implementation manner of the second aspect, the degree acquisition module includes:
[0053] A record information acquisition submodule, used to acquire the vehicle's historical diagnostic service records and / or vehicle performance information;
[0054] The degree determination submodule is used to determine the importance of the target diagnostic service according to the historical diagnostic service records and / or the vehicle performance information.
[0055] In a possible implementation manner of the second aspect, the diagnostic service unit 73 includes:
[0056] An instruction generation module, used to generate a diagnostic service instruction corresponding to the target diagnostic service;
[0057] An instruction sending module, used for generating and sending the diagnostic service instruction to the target electronic controller unit;
[0058] A service execution module is used to monitor the response information fed back by the target electronic controller unit based on the diagnostic service instruction when the target response communication mechanism is the first response communication mechanism; if the response information is not monitored within a preset time period, the diagnostic service instruction is resent to the electronic controller unit.
[0059] In a possible implementation manner of the second aspect, the diagnostic service unit further includes:
[0060] The prompt module is used to send a fault prompt when the number of times the diagnostic service instruction is resent reaches a preset number.
[0061] The third aspect of the present application provides an intelligent device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the vehicle diagnostic service method described in the first aspect above are implemented.
[0062] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle diagnostic service method described in the first aspect above are implemented.
[0063] The fifth aspect of the present application provides a computer program product, which includes a computer program. When the computer program is executed by one or more processors, the steps of the vehicle diagnostic service method described in the first aspect are implemented.
[0064] In an embodiment of the present application, a vehicle diagnostic device obtains a diagnostic instruction for specifying a target diagnostic service to be executed, then determines a target response communication mechanism corresponding to the target diagnostic service, and then executes the target diagnostic service based on the target response communication mechanism corresponding to the target diagnostic service, and uses the response method indicated in the target response communication mechanism to process the communication between the vehicle diagnostic device and the target electronic controller unit. In the present application, since different diagnostic services may correspond to different response communication mechanisms, and under different response communication mechanisms, the response communication methods between the vehicle diagnostic device and the target electronic controller unit will also be different, rather than a unified communication method, which makes the processing of diagnostic services more flexible and more targeted, and can effectively reduce invalid communications between the vehicle diagnostic device and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic device and the target electronic controller unit and the efficiency of diagnostic services. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0066] Figure 1is a schematic diagram of a vehicle diagnostic system that applies the vehicle diagnostic service method provided by an embodiment of the present application;
[0067] Figure 2 is an implementation flow chart of the vehicle diagnostic service method provided in the embodiment of the present application;
[0068] Figure 3 It is a specific implementation flow chart of constructing a first service response configuration table in the vehicle diagnostic service method provided in the embodiment of the present application;
[0069] Figure 4 It is a specific implementation flow chart of constructing a second service response configuration table in the vehicle diagnostic service method provided in the embodiment of the present application;
[0070] Figure 5 It is a specific implementation flow chart of a target response communication mechanism for determining a target diagnostic service corresponding to a vehicle diagnostic service method provided in an embodiment of the present application;
[0071] Figure 6 It is a specific implementation flow chart of executing the target diagnostic service in the vehicle diagnostic service method provided in the embodiment of the present application;
[0072] Figure 7 is a structural block diagram of a vehicle diagnostic service device provided in an embodiment of the present application;
[0073] Figure 8 It is a schematic diagram of a smart device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0075] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0076] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0077] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0078] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0079] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0080] The vehicle diagnostic service method provided in the present application is respectively applied to vehicle diagnostic equipment, wherein the vehicle diagnostic equipment is connected to the electronic controller unit in communication, and data exchange operations can be performed between the two. After the vehicle diagnostic equipment obtains the diagnostic instruction, it determines the target response communication mechanism corresponding to the target diagnostic service to be executed in the diagnostic instruction, and then executes the target diagnostic service based on the target response communication mechanism, and uses the response method indicated in the target response communication mechanism to process the communication between the vehicle diagnostic equipment and the target electronic controller unit. Different diagnostic services may correspond to different response communication mechanisms. Different diagnostic services are processed differently according to the response communication mechanism, so that the processing of diagnostic services is more flexible, which can reduce invalid communications between the vehicle diagnostic equipment and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic equipment and the target electronic controller unit and the efficiency of diagnostic services.
[0081] As an example but not a limitation, the vehicle diagnostic service method provided in the embodiment of the present application can be applied to various types of smart devices that need to perform vehicle diagnostic services, specifically including mobile phones, tablet computers, laptops, ultra-mobile personal computers (UMPCs), desktop computers, and other electronic devices that can control the display screen. The embodiment of the present application does not impose any restrictions on the specific types of smart devices.
[0082] The following specifically describes an application scenario of a vehicle diagnostic service method provided by an embodiment of the present application, and the specific description is as follows:
[0083] A vehicle diagnostic service method provided in an embodiment of the present application is applied to a vehicle diagnostic system having a vehicle diagnostic device.
[0084] Figure 1 A schematic diagram of a vehicle diagnostic system provided by an embodiment of the present application is shown. Figure 1 As shown, the vehicle diagnostic system at least includes an ECU 10 and a vehicle diagnostic device 11, wherein the vehicle diagnostic device 11 is communicatively connected to the ECU 10. The vehicle diagnostic device 11 can also be communicatively connected to a server. The vehicle diagnostic device 11 can be a vehicle diagnostic device with an Internet of Things module added, such as an Internet of Things module that can be a specific low-power NB-IoT chip based on the NarrowBand Internet of Things (NB-IoT) technology, a Zigbee chip, a Wi-Fi chip, a Z-wave chip, a Lora chip or a Sigfox chip and other Internet of Things chips, so that the vehicle diagnostic device 11 is communicatively connected to the above-mentioned server.
[0085] In a specific application scenario, when a user needs to use the vehicle diagnostic device 11 to diagnose a car, the user can log in on the vehicle diagnostic device 11 to use the vehicle diagnostic device 11. Figure 1 As shown, the vehicle diagnostic device 11 may be communicatively coupled to one or more ECUs 10 .
[0086] The vehicle diagnostic service method provided by the present application is exemplarily described below in conjunction with specific embodiments.
[0087] Figure 2 The implementation process of the vehicle diagnostic service method provided in an embodiment of the present application is shown. In this embodiment, the vehicle diagnostic service method is applied to a vehicle diagnostic device. The method flow may include the following steps S201 to S203.
[0088] Step S201: Obtain a diagnostic instruction, where the diagnostic instruction is used to specify a target diagnostic service to be executed.
[0089] In this embodiment, the target diagnostic service to be executed by the vehicle diagnostic device is determined by acquiring the diagnostic instruction, and the user can select the diagnostic service to be executed on the vehicle diagnostic device, that is, the above-mentioned target diagnostic service.
[0090] In some implementations, the user may directly send a diagnostic instruction to the vehicle diagnostic device through human-computer interaction with the vehicle diagnostic device.
[0091] In other implementations, the user may send a diagnostic instruction to the vehicle diagnostic device via a mobile device, and the vehicle diagnostic device determines a target diagnostic service to be executed according to the diagnostic instruction sent by the mobile device.
[0092] In a possible implementation, when the vehicle diagnostic device successfully establishes a communication connection with the ECU, a diagnostic instruction is automatically triggered, and the automatically triggered diagnostic instruction is a preset instruction, which pre-sets the target diagnostic service to be executed. In this case, the diagnostic instruction can be automatically triggered immediately after the vehicle diagnostic device detects that the communication connection with the ECU is successfully established, or the diagnostic instruction can be automatically triggered within a preset time after the vehicle diagnostic device detects that the communication connection with the ECU is successfully established.
[0093] Step S202: determining a target response communication mechanism corresponding to the target diagnostic service, wherein the target response communication mechanism is used to indicate a response method between the vehicle diagnostic device and the target electronic controller unit.
[0094] The response communication mechanisms corresponding to different diagnostic services may be the same or different. The response communication mechanism is used to clarify the response mode of the vehicle diagnostic device to the electronic controller unit during the execution of the diagnostic service. In the embodiment of the present application, the target response communication mechanism corresponding to the target diagnostic service is determined.
[0095] As a possible implementation of this application, Figure 3 A specific implementation process of constructing a first service response configuration table in the vehicle diagnostic service method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0096] A1: Predefine two or more response communication mechanisms.
[0097] In some embodiments, a first response communication mechanism and a second response communication mechanism are defined, wherein, under the first response communication mechanism, after the vehicle diagnostic device sends a diagnostic service instruction to the electronic controller unit, the vehicle diagnostic device needs to monitor the feedback of the electronic controller unit on the execution result of the diagnostic service instruction; under the second response communication mechanism, after the vehicle diagnostic device sends a diagnostic service instruction to the electronic controller unit, the vehicle diagnostic device does not need to monitor the execution result of the diagnostic service instruction by the electronic controller unit.
[0098] In some implementations, a third response communication mechanism is further defined. Under the third response communication mechanism, after the vehicle diagnostic device sends a diagnostic service instruction to the electronic controller unit, the vehicle diagnostic device monitors the feedback of the electronic controller unit on the execution result of the diagnostic service instruction within a specified monitoring time period. After the specified monitoring time period ends, regardless of whether the feedback of the electronic controller unit on the execution result of the diagnostic service instruction is monitored, the monitoring ends and the vehicle diagnostic device processes other diagnostic services.
[0099] A2: Establishing a first correspondence between the type of diagnostic service and the response communication mechanism.
[0100] A3: Construct a first service response configuration table according to the first corresponding relationship.
[0101] There are many types of vehicle diagnostic services, such as fault code reading service, data stream reading service, configuration writing service, safety authentication service, etc. The response communication mechanism corresponding to each diagnostic service may be different.
[0102] A first correspondence between the type of diagnostic service and the response communication mechanism is established, a corresponding response communication mechanism is configured for each type of diagnostic service, and then based on the first correspondence, a first service response configuration table is constructed.
[0103] In a possible implementation manner, a target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service and the first service response configuration table.
[0104] For different types of diagnostic services, the use of a unified response communication method between the vehicle diagnostic device and the electronic controller unit may make the execution of certain diagnostic services unguaranteed, and may also reduce the efficiency of the diagnostic service due to some invalid repeated response communications. In the embodiment of the present application, according to the type of diagnostic service, the response communication mechanism corresponding to the diagnostic service of this type can be determined in the first service response configuration table, so that when the vehicle diagnostic device processes the diagnostic service, it executes the corresponding response communication mechanism with the electronic controller unit based on the response communication mechanism. By implementing different response communication methods between the vehicle diagnostic device and the target electronic controller unit under different response communication mechanisms, rather than a unified communication method, the processing of diagnostic services can be made more flexible and more targeted, effectively reducing invalid repeated communications between the vehicle diagnostic device and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic device and the target electronic controller unit and the efficiency of diagnostic services.
[0105] As a possible implementation of this application, Figure 4A specific implementation process of constructing a second service response configuration table in the vehicle diagnostic service method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0106] B1: predefine two or more response communication mechanisms. See the above step A1, which will not be repeated here.
[0107] B2: Establishing a second correspondence between the type of diagnostic service, the unit type identifier of the electronic controller unit, and the response communication mechanism.
[0108] B3: Construct a second service response configuration table according to the second corresponding relationship.
[0109] ECU is also called the "driving computer" of the car. Its purpose is to control the driving state of the car and realize its various functions. ECU mainly uses various sensors and bus data collection and exchange to judge the vehicle state and the driver's intention and control the car through actuators. Target, generally, multiple ECUs are installed on a vehicle, such as engine ECU, gearbox ECU, etc. Different types of ECUs can perform the same or different types of diagnostic services.
[0110] This embodiment establishes a second correspondence between the type of diagnostic service, the unit type identifier of the electronic controller unit, and the response communication mechanism, configures a corresponding response communication mechanism for each type of diagnostic service and its corresponding electronic controller unit, and then constructs a second service response configuration table based on the second correspondence. Compared with determining the corresponding response communication mechanism only according to the type of diagnostic service, the accuracy of determining the response communication mechanism can be further improved. In the second service response configuration table, when the same type of diagnostic service corresponds to ECUs with different unit type identifiers, the response communication mechanisms corresponding to the same type of diagnostic service may be different.
[0111] In a possible implementation, a target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service, the unit type identifier of the target electronic controller unit, and the second service response configuration table.
[0112] In the embodiment of the present application, by determining the corresponding response communication mechanism in the second service response configuration table based on both the type of diagnostic service and the unit type identifier of the electronic controller unit, the accuracy of determining the response communication mechanism can be further improved. By implementing different response communication methods between the vehicle diagnostic device and the target electronic controller unit under different response communication mechanisms, rather than a unified communication method, the processing of diagnostic services can be made more flexible and more targeted, effectively reducing invalid and repeated communications between the vehicle diagnostic device and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic device and the target electronic controller unit and the efficiency of the diagnostic service.
[0113] As a possible implementation of this application, Figure 5 A specific implementation process of determining a target response communication mechanism corresponding to the target diagnostic service in the vehicle diagnostic service method provided in an embodiment of the present application is shown, and is described in detail as follows:
[0114] C1: Obtain the importance of the target diagnostic service. The importance can be reflected in specific ways such as level and score.
[0115] In a possible implementation, historical diagnostic service records and / or vehicle performance information of the vehicle are obtained; and the importance of the target diagnostic service is determined based on the historical diagnostic service records and / or the vehicle performance information.
[0116] The historical diagnostic service record includes the historical execution times. The historical execution times refer to the historical execution times of the target diagnostic service. The importance of the target diagnostic service is determined based on the historical execution times. Generally, the more historical execution times, the higher the importance.
[0117] In one possible implementation, the importance is indicated by a grade, and the higher the grade, the higher the importance. A correspondence between the historical execution times interval and the grade is set, and the grade corresponding to the target diagnostic service can be determined based on the historical execution times of the target diagnostic service in the vehicle's historical diagnostic service record and the above correspondence.
[0118] The vehicle performance information can reflect the current performance of the vehicle. The vehicle performance information includes the performance values of each vehicle component. According to the performance values of each vehicle component in the vehicle performance information, the performance of each vehicle component is scored, and then the importance of the target diagnostic service is determined based on the score.
[0119] In a possible implementation, the performance of the vehicle component is inversely proportional to the importance of the target diagnostic service, and the higher the score, the lower the importance.
[0120] C2: Determine a target response communication mechanism corresponding to the target diagnosis service according to the importance of the target diagnosis service.
[0121] In this embodiment, the importance of diagnostic services is different, and their corresponding response communication mechanisms may be different. A mapping relationship between the level and / or score representing the importance and the response communication mechanism is pre-established, and based on the mapping relationship, the response communication mechanism corresponding to the target diagnostic service can be quickly determined.
[0122] Step S203: executing the target diagnosis service based on the target response communication mechanism.
[0123] In this embodiment, the vehicle diagnostic device determines the response communication mode with the target electronic controller unit in executing the target diagnostic service based on the target response communication mechanism.
[0124] As a possible implementation of the present application, Figure 6 As shown, based on the target response communication mechanism, the steps of executing the target diagnosis service include:
[0125] D1: Generate a diagnostic service instruction corresponding to the target diagnostic service.
[0126] D2: Sending the diagnostic service instruction to the target electronic controller unit.
[0127] D3: When the target response communication mechanism is the first response communication mechanism, monitoring the response information fed back by the target electronic controller unit based on the diagnostic service instruction, wherein the response information includes the execution result of the target electronic controller unit executing the diagnostic service instruction.
[0128] D4: If the response information is not detected within a preset time period, the diagnostic service instruction is resent to the electronic controller unit.
[0129] In this embodiment, when the target response communication mechanism is the first response communication mechanism, the vehicle diagnostic equipment needs to monitor the response information fed back by the target electronic controller unit based on the diagnostic service instruction. If the response information fed back by the electronic controller is not monitored within a preset time period, the diagnostic service instruction is resent to the target electronic controller unit, and the response information fed back by the target electronic controller unit based on the resent diagnostic service instruction is continued to be monitored.
[0130] In a possible implementation, when the number of times the diagnostic service instruction is resent reaches a preset number, a fault prompt is sent. The number of times the diagnostic service instruction is resent may refer to the number of times the vehicle diagnostic device resends the diagnostic service instruction to the same target electronic controller unit; in other implementations, the number of times the diagnostic service instruction is resent may be the cumulative number of times the vehicle diagnostic device resends the diagnostic service instruction to different target electronic controller units within a period of time. In this embodiment, the preset number of times and the type of the number of times the diagnostic service instruction is resent may be specifically determined according to the application scenario of the diagnostic service or the needs of the user.
[0131] Exemplarily, after the diagnostic device sends a diagnostic service instruction to the ECU, the response information fed back by the ECU to the diagnostic service instruction is monitored. If the response information fed back by the ECU is not monitored within the preset time, the diagnostic service instruction is resent to the ECU, and the response information fed back by the ECU based on the resent diagnostic service instruction is continuously monitored. When the diagnostic device resends the diagnostic service instruction to the same ECU for a preset number of times, a fault prompt is sent to prompt the user that the ECU has a fault.
[0132] As a possible implementation of the present application, when the target response communication mechanism is the second response communication mechanism, after sending the diagnostic service instruction to the target electronic controller unit, the target diagnostic service is completed, that is, the vehicle diagnostic equipment does not need to monitor and wait for the response information fed back by the target electronic controller unit.
[0133] When the target response communication mechanism is the second response communication mechanism, after the vehicle diagnostic device sends the diagnostic service instruction to the target electronic controller unit, the communication interaction between the vehicle diagnostic device and the target electronic controller unit based on the target diagnostic service ends, and the vehicle diagnostic device does not monitor the response information fed back by the target electronic controller unit based on the diagnostic service instruction, that is, under the second response communication mechanism, regardless of whether the target electronic controller unit feeds back response information for the diagnostic service instruction, the vehicle diagnostic device does not wait but continues to process other diagnostic tasks.
[0134] When the target response communication mechanism is the third response communication mechanism, after the vehicle diagnostic device sends the diagnostic service instruction to the target electronic controller unit, within the specified monitoring period, the vehicle diagnostic device needs to monitor the response information fed back by the target electronic controller unit based on the diagnostic service instruction. After the specified monitoring period ends, the vehicle diagnostic device no longer monitors the response information fed back by the target electronic controller unit based on the diagnostic service instruction. That is, under the third response communication mechanism, the vehicle diagnostic device only monitors the response information fed back by the target electronic controller unit for the diagnostic service instruction for a limited period of time, thereby avoiding ineffective long-term waiting, thereby improving communication efficiency and improving the efficiency of diagnostic services.
[0135] As can be seen from the above, through the embodiments of the present application, the vehicle diagnostic device obtains a diagnostic instruction for specifying a target diagnostic service to be executed, then determines the target response communication mechanism corresponding to the target diagnostic service, and then executes the target diagnostic service based on the target response communication mechanism corresponding to the target diagnostic service, and uses the response method indicated in the target response communication mechanism to process the communication between the vehicle diagnostic device and the target electronic controller unit. In the present application, since different diagnostic services may correspond to different response communication mechanisms, and under different response communication mechanisms, the response communication methods between the vehicle diagnostic device and the target electronic controller unit will also be different, rather than a unified communication method, which makes the processing of diagnostic services more flexible and more targeted, and can effectively reduce invalid communications between the vehicle diagnostic device and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic device and the target electronic controller unit and the efficiency of diagnostic services.
[0136] It should be understood that the size of the serial numbers of the steps in the embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0137] Corresponding to the vehicle diagnostic service method described in the above embodiment, Figure 7 A structural block diagram of a vehicle diagnostic service device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0138] Reference Figure 7 The vehicle diagnostic service device is applied to vehicle diagnostic equipment, and the device includes: a diagnostic instruction acquisition unit 71, a response communication mechanism determination unit 72, and a diagnostic service unit 73, wherein:
[0139] A diagnostic instruction acquisition unit 71, used to acquire a diagnostic instruction, wherein the diagnostic instruction is used to specify a target diagnostic service to be executed;
[0140] A response communication mechanism determination unit 72, used to determine a target response communication mechanism corresponding to the target diagnostic service, wherein the target response communication mechanism is used to indicate a response mode between the vehicle diagnostic device and the target electronic controller unit;
[0141] The diagnostic service unit 73 is used to execute the target diagnostic service based on the target response communication mechanism.
[0142] As a possible implementation of the present application, the vehicle diagnostic service device further includes:
[0143] A mechanism pre-definition unit is used to pre-define two or more response communication mechanisms;
[0144] A first relationship establishing unit, used to establish a first corresponding relationship between the type of diagnostic service and the response communication mechanism;
[0145] A first configuration table construction unit, configured to construct a first service response configuration table according to the first corresponding relationship;
[0146] The response communication mechanism determination unit 72 includes:
[0147] The first mechanism determination module is used to determine a target response communication mechanism corresponding to the target diagnostic service according to the type of the target diagnostic service and the first service response configuration table.
[0148] As a possible implementation of the present application, the vehicle diagnostic service device further includes:
[0149] A second relationship establishing unit, used for establishing a second corresponding relationship between the type of diagnostic service, the unit type identifier of the electronic controller unit and the response communication mechanism;
[0150] A second configuration table construction unit, configured to construct a second service response configuration table according to the second corresponding relationship;
[0151] The above-mentioned response communication mechanism determination unit 72 also includes:
[0152] The second mechanism determination module is used to determine the target response communication mechanism corresponding to the target diagnostic service according to the type of the target diagnostic service, the unit type identifier of the target electronic controller unit and the second service response configuration table.
[0153] As a possible implementation manner of the present application, the above-mentioned response communication mechanism determination unit further includes:
[0154] A degree acquisition module, used to acquire the importance of the target diagnostic service;
[0155] The third mechanism determination module is used to determine the target response communication mechanism corresponding to the target diagnosis service according to the importance of the target diagnosis service.
[0156] As a possible implementation of the present application, the degree acquisition module includes:
[0157] A record information acquisition submodule, used to acquire the vehicle's historical diagnostic service records and / or vehicle performance information;
[0158] The degree determination submodule is used to determine the importance of the target diagnostic service according to the historical diagnostic service records and / or the vehicle performance information.
[0159] As a possible implementation of the present application, the diagnostic service unit 73 includes:
[0160] An instruction generation module, used to generate a diagnostic service instruction corresponding to the target diagnostic service;
[0161] An instruction sending module, used for generating and sending the diagnostic service instruction to the target electronic controller unit;
[0162] A service execution module is used to monitor the response information fed back by the target electronic controller unit based on the diagnostic service instruction when the target response communication mechanism is the first response communication mechanism; if the response information is not monitored within a preset time period, the diagnostic service instruction is resent to the electronic controller unit.
[0163] As a possible implementation of the present application, the above-mentioned diagnostic service unit 73 further includes:
[0164] The prompt module is used to send a fault prompt when the number of times the diagnostic service instruction is resent reaches a preset number.
[0165] In an embodiment of the present application, a vehicle diagnostic device obtains a diagnostic instruction for specifying a target diagnostic service to be executed, then determines a target response communication mechanism corresponding to the target diagnostic service, and then executes the target diagnostic service based on the target response communication mechanism corresponding to the target diagnostic service, and uses the response method indicated in the target response communication mechanism to process the communication between the vehicle diagnostic device and the target electronic controller unit. In the present application, since different diagnostic services may correspond to different response communication mechanisms, and under different response communication mechanisms, the response communication methods between the vehicle diagnostic device and the target electronic controller unit will also be different, rather than a unified communication method, which makes the processing of diagnostic services more flexible and more targeted, and can effectively reduce invalid communications between the vehicle diagnostic device and the target electronic controller unit, thereby improving the communication efficiency between the vehicle diagnostic device and the target electronic controller unit and the efficiency of diagnostic services.
[0166] The present application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, Figures 1 to 6 Any one of the steps of a vehicle diagnostic service method is represented.
[0167] The embodiment of the present application also provides an intelligent device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, Figures 1 to 6 Any one of the steps of a vehicle diagnostic service method is represented.
[0168] The embodiment of the present application also provides a computer program product, when the computer program product is run on a smart device, the smart device executes the following Figures 1 to 6 Any one of the steps of a vehicle diagnostic service method is represented.
[0169] Figure 8 Schematic diagram of a smart device provided by an embodiment of the present application. Figure 8 As shown, the smart device 8 of this embodiment includes: a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80. When the processor 80 executes the computer program 82, the steps in the above-mentioned embodiments of the vehicle diagnostic service method are implemented, such as Figure 2 Alternatively, when the processor 80 executes the computer program 82, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 7 The functions of units 71 to 73 are shown.
[0170] Exemplarily, the computer program 82 may be divided into one or more modules / units, which are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 82 in the smart device 8.
[0171] The smart device 8 may be a vehicle diagnostic device, and the smart device 8 may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art will appreciate that Figure 8 It is only an example of the smart device 8 and does not constitute a limitation of the smart device 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the smart device 8 may also include input and output devices, network access devices, buses, etc.
[0172] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0173] The memory 81 may be an internal storage unit of the smart device 8, such as a hard disk or memory of the smart device 8. The memory 81 may also be an external storage device of the smart device 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the smart device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the smart device 8. The memory 81 is used to store the computer program and other programs and data required by the smart device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
[0174] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0175] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0176] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / intelligent device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0177] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0178] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A vehicle diagnostic service method, characterized in that: Used in vehicle diagnostic equipment, including: Obtaining a diagnostic instruction, wherein the diagnostic instruction is used to specify a target diagnostic service to be executed; Determining a target response communication mechanism corresponding to the target diagnostic service, the target response communication mechanism being used to indicate a response mode between the vehicle diagnostic device and a target electronic controller unit; Based on the target response communication mechanism, the target diagnosis service is executed.
2. The vehicle diagnostic service method according to claim 1, characterized in that: Before the step of determining the target response communication mechanism corresponding to the target diagnostic service, the method includes: Predefine two or more response communication mechanisms; Establishing a first correspondence between the type of diagnostic service and the response communication mechanism; Constructing a first service response configuration table according to the first corresponding relationship; The step of determining the target response communication mechanism corresponding to the target diagnostic service includes: A target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service and the first service response configuration table.
3. The vehicle diagnostic service method according to claim 1, characterized in that: Before the step of determining the target response communication mechanism corresponding to the target diagnostic service, the method includes: Predefine two or more response communication mechanisms; Establishing a second correspondence between the type of diagnostic service, the unit type identifier of the electronic controller unit, and the response communication mechanism; According to the second corresponding relationship, construct a second service response configuration table; The step of determining the target response communication mechanism corresponding to the target diagnostic service includes: A target response communication mechanism corresponding to the target diagnostic service is determined according to the type of the target diagnostic service, the unit type identifier of the target electronic controller unit, and the second service response configuration table.
4. The vehicle diagnostic service method according to claim 1, characterized in that: The step of determining the target response communication mechanism corresponding to the target diagnostic service includes: Obtaining the importance of the target diagnostic service; According to the importance of the target diagnosis service, a target response communication mechanism corresponding to the target diagnosis service is determined.
5. The vehicle diagnostic service method according to claim 4, characterized in that: The step of obtaining the importance of the target diagnostic service includes: Access the vehicle's historical diagnostic service records and / or vehicle performance information; The importance of the target diagnostic service is determined according to the historical diagnostic service record and / or the vehicle performance information.
6. The vehicle diagnostic service method according to any one of claims 1 to 5, characterized in that: The step of executing the target diagnostic service based on the target response communication mechanism includes: Generate a diagnostic service instruction corresponding to the target diagnostic service; sending the diagnostic service instruction to the target electronic controller unit; When the target response communication mechanism is the first response communication mechanism, monitoring the response information fed back by the target electronic controller unit based on the diagnostic service instruction; If the response information is not detected within a preset time period, the diagnostic service instruction is resent to the electronic controller unit.
7. The vehicle diagnostic service method according to claim 6, characterized in that: The method further comprises: When the number of times the diagnostic service instruction is resent reaches a preset number, a fault prompt is sent.
8. A vehicle diagnostic service device, characterized in that: Used in vehicle diagnostic equipment, including: A diagnostic instruction acquisition unit, used to acquire a diagnostic instruction, wherein the diagnostic instruction is used to specify a target diagnostic service to be executed; a response communication mechanism determination unit, used to determine a target response communication mechanism corresponding to the target diagnostic service, the target response communication mechanism being used to indicate a response mode between the vehicle diagnostic device and a target electronic controller unit; The diagnostic service unit is used to execute the target diagnostic service based on the target response communication mechanism.
9. An intelligent device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the vehicle diagnostic service method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the vehicle diagnostic service method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Diagnostic data transmission method, device, equipment and system
CN110912992A
Vehicle diagnostic system and method
CN111464651A
Diagnosis method based on ODX file
CN113065033A
UDS-based communication method, ECU and upper computer
CN114089713A
Diagnosis method and device of vehicle electronic control system and vehicle diagnosis equipment
CN116088486A
Cited By
Vehicle data processing method and device, electronic equipment and storage medium
CN120686777A
Vehicle data processing method and device, electronic equipment and storage medium
CN120686777B
