Vehicle diagnosis method, cloud server and system

By building and sending diagnostic data packets in cloud servers, the problem of high labor and time costs in vehicle diagnosis is solved, automated updates and efficient diagnosis are achieved, and vehicle diagnostic efficiency is improved.

CN118938865AInactive Publication Date: 2024-11-12DONGFENG MOTOR GRP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411056871.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, professionals need to develop diagnostic scripts and update them in advance when diagnosing vehicles, which will take up a lot of manpower and time costs and affect diagnostic efficiency.

Method used

By building diagnostic data packets based on the vehicle's basic data and diagnostic configuration instructions in the cloud server and sending them to the on-board processor for diagnosis, the automated update and diagnostic process is realized, and time costs are reduced.

Benefits of technology

There is no need to develop diagnostic scripts, and the diagnostic data packets can be automatically updated, significantly improving vehicle diagnostic efficiency and reducing time and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118938865A_ABST
    Figure CN118938865A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle diagnosis method, a cloud server and a system, and the method comprises the steps: constructing vehicle diagnosis data according to the basic data of a vehicle and a diagnosis configuration instruction, and generating a diagnosis data package based on the vehicle diagnosis data; sending the diagnosis data packet to a vehicle-mounted processor in response to a received diagnosis instruction, wherein the vehicle-mounted processor is used for diagnosing a vehicle according to the diagnosis data packet; obtaining a diagnosis log, and generating a diagnosis result according to the diagnosis log; in this way, the diagnosis data packet can be generated through the configuration instruction and the vehicle basic data, and it is not needed to spend a large amount of manpower cost to develop diagnosis scripts; and even if the diagnosis data packet needs to be updated, automatic updating can be carried out at the cloud to regenerate a new version of diagnosis data packet and send the new version of diagnosis data packet to the vehicle end, the time cost can be effectively reduced in the whole diagnosis process, and thus the vehicle diagnosis efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle diagnosis, and in particular to a vehicle diagnosis method, a cloud server, and a system. Background Art

[0002] With the sustained and rapid development of the economy and society, the number of cars in use has maintained a rapid growth. Due to the demand for car safety and comfort, it is necessary to grasp the car's operating status in a timely and accurate manner in order to discover potential faults as soon as possible and solve them in time. Therefore, it is necessary to diagnose vehicle faults.

[0003] In the prior art, when diagnosing a vehicle, professionals need to develop a diagnostic script in advance and then transmit the script file to the vehicle. And if the diagnostic file needs to be updated for a large number of vehicles, the diagnostic scripts need to be updated one by one and retransmitted to the vehicle.

[0004] It can be seen that the diagnostic method in the prior art will take up a lot of manpower and time costs, thereby affecting the vehicle diagnosis efficiency. Summary of the invention

[0005] In response to the problems existing in the prior art, the embodiments of the present invention provide a vehicle diagnostic method, a cloud server and a system to solve or partially solve the technical problem in the prior art that when diagnosing vehicle faults, the development of diagnostic scripts and script updates take a lot of time, thereby affecting the vehicle diagnostic efficiency.

[0006] A first aspect of the present invention provides a vehicle diagnostic method, which is applied in a cloud server, and the method comprises:

[0007] construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and generate a diagnostic data packet based on the vehicle diagnostic data;

[0008] sending the diagnostic data packet to an onboard processor in response to the received diagnostic instruction, the onboard processor being used to diagnose the vehicle according to the diagnostic data packet;

[0009] Obtain a diagnostic log, and generate a diagnostic result according to the diagnostic log.

[0010] In the above solution, the step of constructing vehicle diagnostic data based on basic vehicle data and diagnostic configuration instructions includes:

[0011] Searching for the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle;

[0012] Based on the diagnostic configuration instruction, each of the parts to be diagnosed is configured with a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution count, and a diagnostic delay time, to obtain diagnostic configuration data for the parts to be diagnosed;

[0013] The diagnostic configuration data of each part to be diagnosed is assigned to a pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

[0014] In the above solution, after assigning the diagnostic configuration data of each part to be diagnosed to the pre-created diagnostic command data unit, the method further includes:

[0015] A data separator is added between two adjacent data in the diagnosis command data unit.

[0016] In the above solution, the generating of the diagnostic data packet based on the vehicle diagnostic data includes:

[0017] Create a data packet structure based on a preset data format;

[0018] The diagnostic command data unit, the start character, the vehicle identification code, the data unit length and the check code are assigned to a preset diagnostic data packet structure to obtain the diagnostic data packet.

[0019] In the above solution, before sending the diagnostic data packet to the vehicle processor in response to the received diagnostic instruction, the method further includes:

[0020] The diagnostic data packet is verified according to the verification code to obtain a first verification value.

[0021] In the above solution, sending the diagnostic data packet to the vehicle processor in response to the received diagnostic instruction includes:

[0022] Creating a wireless communication link between the cloud server and the vehicle processor based on a preset communication protocol;

[0023] If it is determined that a diagnostic instruction sent by the user is received, searching for a corresponding diagnostic data packet based on the target vehicle type in the diagnostic instruction, and sending the diagnostic data packet to the vehicle processor using the wireless communication link; and,

[0024] The first verification code is sent to the vehicle-mounted processor.

[0025] A second aspect of the present invention provides a cloud server, the cloud server comprising:

[0026] A construction unit, configured to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and to generate a diagnostic data packet based on the vehicle diagnostic data;

[0027] a sending unit, configured to send the diagnostic data packet to an on-board processor in response to a received diagnostic instruction, wherein the on-board processor is configured to diagnose the vehicle according to the diagnostic data packet;

[0028] The generating unit is used to obtain the diagnosis log and generate the diagnosis result according to the diagnosis log.

[0029] A third aspect of the present invention provides a vehicle diagnostic system, the system comprising: a cloud server and an on-vehicle processor;

[0030] The cloud server is used to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, generate a diagnostic data packet based on the vehicle diagnostic data; and send the diagnostic data packet to the vehicle processor in response to the received diagnostic instruction;

[0031] The vehicle-mounted processor is used to diagnose the vehicle according to the diagnostic data packet, collect diagnostic logs, and send the diagnostic logs to the cloud server;

[0032] The cloud server is also used to obtain diagnostic logs and generate diagnostic results according to the diagnostic logs.

[0033] In the above solution, the vehicle-mounted processor is specifically used for:

[0034] Parsing the diagnostic data packet according to the data format of the diagnostic data packet to obtain a diagnostic command;

[0035] The data interface of the CAN network is called according to the diagnostic command, and the diagnostic command is sent to the CAN network through the data interface for corresponding diagnosis.

[0036] In the above solution, the cloud server is specifically used for:

[0037] Searching for the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle;

[0038] Based on the diagnostic configuration instruction, each of the parts to be diagnosed is configured with a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution count, and a diagnostic delay time, to obtain diagnostic configuration data for the parts to be diagnosed;

[0039] The diagnostic configuration data of each part to be diagnosed is assigned to a pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

[0040] The present invention provides a vehicle diagnosis method, a cloud server and a system, the method comprising: constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, generating a diagnostic data packet based on the vehicle diagnostic data; sending the diagnostic data packet to an on-board processor in response to a received diagnostic instruction, the on-board processor being used to diagnose the vehicle according to the diagnostic data packet; obtaining a diagnostic log, and generating a diagnostic result according to the diagnostic log; in this way, a diagnostic data packet can be generated through configuration instructions and basic vehicle data, without spending a lot of manpower costs on developing diagnostic scripts; and even if the diagnostic data packet needs to be updated, it can be automatically updated in the cloud to regenerate a new version of the diagnostic data packet and send it to the vehicle end, the entire diagnostic process can effectively reduce the time cost, thereby improving the vehicle diagnosis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0042] Figure 1 A schematic diagram of the overall structure of a vehicle diagnostic system according to an embodiment of the present invention is shown;

[0043] Figure 2 A schematic diagram of a vehicle diagnostic data configuration interface according to an embodiment of the present invention is shown;

[0044] Figure 3 A swimming lane schematic diagram corresponding to a logical implementation of a vehicle diagnostic system according to an embodiment of the present invention is shown;

[0045] Figure 4 A schematic diagram of a vehicle diagnostic method flow chart according to an embodiment of the present invention is shown;

[0046] Figure 5 A schematic diagram of the overall structure of a cloud server according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0047] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0048] In order to better understand the technical solution of the present invention, the vehicle diagnostic system is first introduced here. Figure 1As shown, the system includes: a cloud server 1 and an on-vehicle processor 2; wherein the on-vehicle processor 2 can be an in-vehicle infotainment system (IVI) or other controllers (such as a vehicle controller). In particular, since the present invention requires the use of a human-machine interface to configure the diagnostic data packet, and the IVI includes a central control screen, the on-vehicle processor 2 in the present invention is implemented through the IVI.

[0049] The cloud server 1 is used to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, generate a diagnostic data packet based on the vehicle diagnostic data; and send the diagnostic data packet to the vehicle processor 2 in response to the received diagnostic instruction;

[0050] The vehicle processor 2 is used to diagnose the vehicle according to the diagnostic data packet, collect the diagnostic log, and send the diagnostic log to the cloud server 1;

[0051] The cloud server 1 is also used to obtain the diagnostic log and generate the diagnostic result according to the diagnostic log.

[0052] In one embodiment, constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions includes:

[0053] Find the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle;

[0054] Based on the diagnostic configuration instruction, a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution number, and a diagnostic delay time are configured for each part to be diagnosed, thereby obtaining diagnostic configuration data for the part to be diagnosed;

[0055] The diagnostic configuration data of each part to be diagnosed is assigned to a pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

[0056] In one embodiment, generating a diagnostic data packet based on vehicle diagnostic data includes:

[0057] Create a data packet structure based on a preset data format;

[0058] The diagnostic command data unit, the start character, the vehicle identification code, the data unit length and the check code are assigned to a preset diagnostic data packet structure to obtain a diagnostic data packet.

[0059] Specifically, a wireless communication link can be established between the cloud server 1 and the vehicle processor 2 based on the communication protocol in advance to realize data transmission between the cloud server 1 and the vehicle processor 2. The preset communication protocol can be Hypertext Transfer Protocol (HTTP) or other protocols, which are not limited here.

[0060] In order to reduce the time cost required for developing diagnostic scripts, the diagnostic data package can be configured according to actual needs. The present invention can obtain data such as the vehicle model, vehicle series, and the parts to be diagnosed contained in the vehicle model from the existing diagnostic database, and upload the basic vehicle data such as the vehicle model, vehicle series, and the parts to be diagnosed contained in the vehicle model to the cloud server 1. And set the configuration interface in the vehicle central control screen (such as Figure 2 As shown), the user can select a vehicle model according to the needs, and the cloud server 1 can push the parts included in the vehicle model in the configuration interface according to the vehicle model selected by the user. The user can further select the type of parts to be diagnosed under the vehicle model according to his own diagnostic needs, and configure the vehicle diagnostic data for each part to be diagnosed.

[0061] For example, refer to Figure 2 The types of parts to be diagnosed may include: Vehicle Interface Unit Logic (VIUL), Electronic Throttle Control Unit (ETC), Air Conditioning Control Unit (ACU), Head-Up Display Unit (HUD), etc.

[0062] It is worth noting that each part to be diagnosed has a diagnostic service ID, but not every part to be diagnosed has a diagnostic identifier DID. The diagnostic service ID can be understood as an item used to represent the item that needs to be diagnosed, the diagnostic identifier DID is used to represent the sub-item under the diagnostic ID, and the DID value can represent the preset threshold.

[0063] For example, assuming that the part to be diagnosed is an electronic control unit (ECU), the diagnostic service ID can be 0x01, indicating that the ECU needs to be reset for diagnosis. The ECU reset includes hardware reset, software reset, and key reset. The DID corresponding to the hardware reset can be 0x01, the DID corresponding to the key reset can be 0x02, and the DID corresponding to the software reset can be 0x03.

[0064] Assume that the part to be diagnosed is an air conditioning control unit, and the diagnostic service ID is 2701, which means that the start or shutdown of the air conditioning control unit needs to be diagnosed. Since the air conditioning control unit has no other sub-items that need to be diagnosed, the air conditioning control unit does not have a diagnostic identifier DID.

[0065] Assuming that the part to be diagnosed is a temperature sensor, the corresponding DID value may include two values, one is the maximum temperature value threshold and the other is the minimum temperature value threshold. This can form a temperature range, and the vehicle fault diagnosis can be performed later based on the actual temperature of the temperature sensor.

[0066] When the user selects the target vehicle model, the type of part to be diagnosed, the diagnostic service ID, DID, the DID value, the number of diagnostic cycle executions, and the diagnostic delay time in the configuration interface, the cloud server 1 can receive the diagnostic configuration instructions sent by the user, and configure the corresponding diagnostic service ID, diagnostic identifier DID, DID value, the number of diagnostic cycle executions, and the diagnostic delay time for the part to be diagnosed according to the diagnostic configuration instructions; when the diagnostic configuration data of all the parts to be diagnosed are completed, the diagnostic configuration data of each part to be diagnosed can be placed in a diagnostic command data unit of a preset format to form vehicle diagnostic data. Among them, the format and definition of the diagnostic command data unit are shown in Table 1:

[0067] Table 1

[0068]

[0069]

[0070] Referring to Table 1, it can be seen that a complete data diagnosis command data unit includes not only the diagnostic service ID, diagnostic identifier DID, number of diagnostic cycle executions and diagnostic delay time corresponding to each part to be diagnosed, but also the data unit length, diagnostic channel and response ID of the part to be diagnosed (used to indicate which part has completed the diagnosis).

[0071] In order to facilitate data expansion (for example, if other parts to be diagnosed need to be added to Table 1), a data separator is added between two adjacent data in the diagnosis command data unit. The data separator is used to separate two adjacent data to avoid data conflicts.

[0072] After the vehicle diagnostic data is constructed, a diagnostic data package can be generated based on the vehicle diagnostic data, including:

[0073] Create a data packet structure based on a preset data format;

[0074] The diagnostic command data unit, the start character, the vehicle identification code, the data unit length and the check code are assigned to a preset diagnostic data packet structure to obtain a diagnostic data packet.

[0075] As shown in Table 2, a completed data packet should include a start character, a vehicle identification code VIN, a data unit length, a diagnostic command data unit, and a check code. Therefore, after the vehicle diagnostic data is constructed, the diagnostic command data unit, the start character, the vehicle identification code, the data unit length, and the check code can be assigned to the preset diagnostic data packet structure based on the data packet structure to obtain a diagnostic data packet.

[0076] Table 2

[0077]

[0078]

[0079] As can be seen from Table 2, in order to improve the security of the diagnostic data packet, a check code (generally the last byte of the data packet) is set in the diagnostic data packet, then the cloud server 1 is also used to: use the check code to perform XOR check on all bytes in the diagnostic data packet (starting from the first byte) in sequence until the byte before the check code. After the check is completed, a corresponding first check value will be output, and the check value will be sent to the vehicle processor 1 along with the diagnostic data packet to facilitate the subsequent vehicle processor 1 to determine whether the diagnostic data packet has been tampered with.

[0080] After the diagnostic data packet is generated, the cloud server 1 will send the diagnostic data packet to the on-board processor 2 and present it on the central control display screen for user review. If a review pass instruction is received, the diagnostic data packet will be stored in the corresponding storage block.

[0081] If the user needs to diagnose the vehicle, he can select the target model in the central control display screen, which will trigger the diagnosis to start. The cloud server 1 will receive the diagnostic instruction sent by the vehicle processor 2, and search for the corresponding diagnostic data packet based on the target model in the diagnostic instruction, and send the diagnostic data packet to the vehicle processor 2, which may include:

[0082] Creating a wireless communication link between the cloud server 1 and the vehicle processor 2 based on a preset communication protocol;

[0083] If it is determined that the diagnostic instruction sent by the vehicle-mounted processor is received, in response to the diagnostic instruction, a diagnostic data packet is sent to the vehicle-mounted processor 2 using a wireless communication link; and,

[0084] The first verification value is sent to the onboard processor 2 .

[0085] The cloud server 1 may transmit the diagnostic data packet to the vehicle processor 2 based on the network byte order.

[0086] After receiving the diagnostic data packet, the on-board processor 1 parses the diagnostic data packet to obtain the corresponding check code, and uses the check code to perform XOR checks on all bytes in the diagnostic data packet (starting from the first byte) in sequence until the byte before the check code. After the check is completed, a corresponding second check value will also be output. If it is determined that the second check value is the same as the first check value, it is determined that the diagnostic data packet is complete and has not been tampered with. If it is determined that the second check value is different from the first check value, it is determined that the diagnostic data packet is incomplete, and the prompt message "Diagnostic Data Packet Incomplete" is displayed on the central control screen of the on-board processor 2 for the user to verify the situation.

[0087] If it is determined that the diagnostic data packet is complete, the onboard processor 2 is further configured to:

[0088] Parsing the diagnostic data packet according to the data format of the diagnostic data packet to obtain a diagnostic command;

[0089] The data interface of the CAN network is called according to the diagnostic command, and the diagnostic command is sent to the CAN network through the data interface for corresponding diagnosis.

[0090] And receive the diagnostic log fed back by the CAN data interface, and send the diagnostic log to the cloud server 1.

[0091] After receiving the diagnostic log, the cloud server 1 parses the diagnostic log to obtain the diagnostic results of each component, and sends the diagnostic results to the vehicle processor 1, which is displayed on the central control screen for the user to view.

[0092] In order to more clearly understand the technical solution of the present invention, based on the above content, a schematic diagram of information interaction between the cloud server 1, the vehicle processor 2 and the CAN network is provided. Figure 3 , mainly including the following steps:

[0093] S3.1, the cloud server generates a diagnostic data packet;

[0094] S3.2, receiving the target vehicle model, searching for the target data packet according to the target vehicle model, and sending the target data packet;

[0095] S3.3, parse the diagnostic data packet and issue a diagnostic command;

[0096] S3.4, collect diagnostic logs;

[0097] S3.5, upload diagnostic log;

[0098] S3.6, parsing diagnostic logs;

[0099] S3.7, push the diagnosis result.

[0100] It can be seen that the present invention generates a diagnostic data packet by configuring instructions and basic vehicle data, and there is no need to spend a lot of manpower costs to develop diagnostic scripts; and even if the diagnostic data packet needs to be updated, it can be automatically updated in the cloud to regenerate a new version of the diagnostic data packet and send it to the vehicle end. The entire diagnostic process can effectively reduce the time cost, thereby improving the efficiency of vehicle diagnosis.

[0101] Based on the same inventive concept as in the above-mentioned embodiment, this embodiment also provides a vehicle diagnosis method, which is applied in a cloud server, such as Figure 4 As shown, the method mainly includes the following steps:

[0102] S410, constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and generating a diagnostic data packet based on the vehicle diagnostic data.

[0103] In one embodiment, constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions includes:

[0104] Find the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle;

[0105] Based on the diagnostic configuration instruction, a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution number, and a diagnostic delay time are configured for each part to be diagnosed, thereby obtaining diagnostic configuration data for the part to be diagnosed;

[0106] The diagnostic configuration data of each part to be diagnosed is assigned to the pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

[0107] Specifically, as mentioned above, in order to reduce the time cost required to develop diagnostic scripts, the diagnostic data package can be configured according to actual needs. The present invention can obtain data such as the vehicle model, vehicle series, and the parts to be diagnosed contained in the vehicle model from the existing diagnostic database, and upload the basic vehicle data such as the vehicle model, vehicle series, and the parts to be diagnosed contained in the vehicle model to the cloud server. And set a configuration interface in the vehicle central control screen (such as Figure 2 As shown), the user can select a vehicle model according to the needs, and the cloud server 1 can push the parts included in the vehicle model in the configuration interface according to the vehicle model selected by the user. The user can further select the type of parts to be diagnosed under the vehicle model according to his own diagnostic needs, and configure the vehicle diagnostic data for each part to be diagnosed.

[0108] refer to Figure 2The types of parts to be diagnosed may include: Vehicle Interface Unit Logic (VIUL), Electronic Throttle Control Unit (ETC), Air Conditioning Control Unit (ACU), Head-Up Display Unit (HUD), etc.

[0109] It is worth noting that each part to be diagnosed has a diagnostic service ID, but not every part to be diagnosed has a diagnostic identifier DID. The diagnostic service ID can be understood as an item used to represent the item that needs to be diagnosed, the diagnostic identifier DID is used to represent the sub-item under the diagnostic ID, and the DID value can represent the preset threshold.

[0110] For example, assuming that the part to be diagnosed is an electronic control unit (ECU), the diagnostic service ID can be 0x01, indicating that the ECU needs to be reset for diagnosis. The ECU reset includes hardware reset, software reset, and key reset. The DID corresponding to the hardware reset can be 0x01, the DID corresponding to the key reset can be 0x02, and the DID corresponding to the software reset can be 0x03.

[0111] Assume that the part to be diagnosed is an air conditioning control unit, and the diagnostic service ID is 2701, which means that the start or shutdown of the air conditioning control unit needs to be diagnosed. Since the air conditioning control unit has no other sub-items that need to be diagnosed, the air conditioning control unit does not have a diagnostic identifier DID.

[0112] Assuming that the part to be diagnosed is a temperature sensor, the corresponding DID value may include two values, one is the maximum temperature value threshold and the other is the minimum temperature value threshold. This can form a temperature range, and the vehicle fault diagnosis can be performed later based on the actual temperature of the temperature sensor.

[0113] When the user selects the target vehicle model, the type of part to be diagnosed, the diagnostic service ID, DID, the DID value, the number of diagnostic cycle executions, and the diagnostic delay time in the configuration interface, the cloud server 1 can receive the diagnostic configuration instruction sent by the user, and configure the corresponding diagnostic service ID, diagnostic identifier DID, DID value, the number of diagnostic cycle executions, and the diagnostic delay time for the part to be diagnosed according to the diagnostic configuration instruction; when the diagnostic configuration data of all the parts to be diagnosed are completed, the diagnostic configuration data of each part to be diagnosed can be placed in a diagnostic command data unit of a preset format to form vehicle diagnostic data. Among them, the format and definition of the diagnostic command data unit are shown in Table 1 above.

[0114] Referring to Table 1, it can be seen that a complete data diagnosis command data unit includes not only the diagnostic service ID, diagnostic identifier DID, number of diagnostic cycle executions and diagnostic delay time corresponding to each part to be diagnosed, but also the data unit length, diagnostic channel and response ID of the part to be diagnosed (used to indicate which part has completed the diagnosis).

[0115] And in order to facilitate data expansion (for example, it is necessary to add other parts to be diagnosed in Table 1), after assigning the diagnostic configuration data of each part to be diagnosed to the pre-created diagnostic command data unit, the method further includes:

[0116] A data separator is added between two adjacent data in the diagnostic command data unit. The data separator is used to separate two adjacent data to avoid data conflict.

[0117] After the vehicle diagnostic data is constructed, a diagnostic data packet may be generated based on the vehicle diagnostic data. In one embodiment, generating a diagnostic data packet based on the vehicle diagnostic data includes:

[0118] Create a data packet structure based on a preset data format;

[0119] The diagnostic command data unit, the start character, the vehicle identification code, the data unit length and the check code are assigned to a preset diagnostic data packet structure to obtain a diagnostic data packet.

[0120] As shown in Table 2 above, a completed data packet should include a start character, a vehicle identification code VIN, a data unit length, a diagnostic command data unit, and a check code. Therefore, after the vehicle diagnostic data is constructed, the diagnostic command data unit, the start character, the vehicle identification code, the data unit length, and the check code can be assigned to the preset diagnostic data packet structure based on the data packet structure to obtain a diagnostic data packet.

[0121] As can be seen from Table 2, in order to improve the security of the diagnostic data packet, a check code (generally the last byte of the data packet) is set in the diagnostic data packet. Then, before sending the diagnostic data packet to the on-board processor in response to the received diagnostic instruction, the method further includes:

[0122] The diagnostic data packet is verified according to the verification code to obtain a first verification value.

[0123] Specifically, the check code can be used to perform XOR check on all bytes in the diagnostic data packet (starting from the first byte) in sequence until the byte before the check code. After the check is completed, a corresponding first check value will be output, and the check value will be sent to the on-board processor along with the diagnostic data packet to facilitate the subsequent on-board processor to determine whether the diagnostic data packet has been tampered with.

[0124] After the diagnostic data packet is generated, the cloud server 1 will send the diagnostic data packet to the on-board processor 2 and present it on the central control display screen for user review. If a review pass instruction is received, the diagnostic data packet will be stored in the corresponding storage block.

[0125] S411, sending the diagnostic data packet to the on-board processor in response to the received diagnostic instruction, and the on-board processor is used to diagnose the vehicle according to the diagnostic data packet.

[0126] If the user needs to diagnose the vehicle, he can select the target vehicle model in the central control display screen, which will trigger the diagnosis to start. At this time, the cloud server will receive the diagnostic instruction sent by the vehicle processor, and search for the corresponding diagnostic data packet based on the target vehicle model in the diagnostic instruction, and send the diagnostic data packet to the vehicle processor. That is, in one embodiment, sending the diagnostic data packet to the vehicle processor in response to the received diagnostic instruction includes:

[0127] Creating a wireless communication link between the cloud server and the onboard processor based on a preset communication protocol;

[0128] If it is determined that a diagnostic instruction sent by the user is received, searching for a corresponding diagnostic data packet based on the target vehicle type in the diagnostic instruction, and sending the diagnostic data packet to the vehicle processor using a wireless communication link; and,

[0129] The first verification code is sent to the on-board processor so that the on-board processor can perform integrity verification on the diagnostic data packet.

[0130] S412, obtaining a diagnosis log, and generating a diagnosis result according to the diagnosis log.

[0131] If it is determined that the diagnostic data packet is complete, the onboard processor is further used to:

[0132] Parsing the diagnostic data packet according to the data format of the diagnostic data packet to obtain a diagnostic command;

[0133] The data interface of the CAN network is called according to the diagnostic command, and the diagnostic command is sent to the CAN network through the data interface for corresponding diagnosis.

[0134] And receive the diagnostic log fed back by the CAN data interface, and send the diagnostic log to the cloud server.

[0135] The cloud server can then receive the diagnostic log, parse the diagnostic log, obtain the diagnostic results of each part, and send the diagnostic results to the on-board processor, which will be displayed on the central control screen for users to view.

[0136] The present invention generates a diagnostic data packet by configuring instructions and basic vehicle data, eliminating the need to spend a lot of manpower on developing diagnostic scripts; and even if the diagnostic data packet needs to be updated, it can be automatically updated in the cloud to regenerate a new version of the diagnostic data packet and send it to the vehicle. The entire diagnostic process can effectively reduce time costs, thereby improving vehicle diagnostic efficiency.

[0137] Based on the same inventive concept as the above-mentioned embodiment, the present invention also provides a cloud server, such as Figure 5 As shown, the cloud server includes:

[0138] A construction unit 51, configured to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and generate a diagnostic data packet based on the vehicle diagnostic data;

[0139] a sending unit 52, configured to send the diagnostic data packet to the on-board processor in response to the received diagnostic instruction, wherein the on-board processor is configured to diagnose the vehicle according to the diagnostic data packet;

[0140] The generating unit 53 is used to obtain the diagnosis log and generate the diagnosis result according to the diagnosis log.

[0141] Since the device introduced in the embodiment of the present invention is a device used to implement the vehicle diagnostic method of the embodiment of the present invention, based on the method introduced in the embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the device, so it is not repeated here. All devices used in the method of the embodiment of the present invention belong to the scope of protection of the present invention.

[0142] Through one or more embodiments of the present invention, the present invention has the following beneficial effects or advantages:

[0143] The present invention provides a vehicle diagnosis method, a cloud server and a system, the method comprising: constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, generating a diagnostic data packet based on the vehicle diagnostic data; sending the diagnostic data packet to an on-board processor in response to a received diagnostic instruction, the on-board processor being used to diagnose the vehicle according to the diagnostic data packet; obtaining a diagnostic log, and generating a diagnostic result according to the diagnostic log; in this way, a diagnostic data packet can be generated through configuration instructions and basic vehicle data, without spending a lot of manpower costs on developing diagnostic scripts; and even if the diagnostic data packet needs to be updated, it can be automatically updated in the cloud to regenerate a new version of the diagnostic data packet and send it to the vehicle end, the entire diagnostic process can effectively reduce the time cost, thereby improving the vehicle diagnosis efficiency.

[0144] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle diagnostic method, characterized in that: Applied in a cloud server, the method includes: construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and generate a diagnostic data packet based on the vehicle diagnostic data; sending the diagnostic data packet to an onboard processor in response to the received diagnostic instruction, the onboard processor being used to diagnose the vehicle according to the diagnostic data packet; Obtain a diagnostic log, and generate a diagnostic result according to the diagnostic log.

2. The method according to claim 1, characterized in that The step of constructing vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions includes: Searching for the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle; Based on the diagnostic configuration instruction, a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution number and a diagnostic delay time are configured for each of the parts to be diagnosed, thereby obtaining diagnostic configuration data of the parts to be diagnosed; The diagnostic configuration data of each part to be diagnosed is assigned to a pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

3. The method according to claim 2, characterized in that After assigning the diagnostic configuration data of each part to be diagnosed to the pre-created diagnostic command data unit, the method further includes: A data separator is added between two adjacent data in the diagnosis command data unit.

4. The method according to claim 1, characterized in that The generating of a diagnostic data packet based on the vehicle diagnostic data comprises: Create a data packet structure based on a preset data format; The diagnostic command data unit, the start character, the vehicle identification code, the data unit length and the check code are assigned to a preset diagnostic data packet structure to obtain the diagnostic data packet.

5. The method according to claim 1, characterized in that Before sending the diagnostic data packet to the onboard processor in response to the received diagnostic instruction, the method further includes: The diagnostic data packet is verified according to the verification code to obtain a first verification value.

6. The method according to claim 1, characterized in that The step of sending the diagnostic data packet to the onboard processor in response to the received diagnostic instruction includes: Creating a wireless communication link between the cloud server and the vehicle processor based on a preset communication protocol; If it is determined that a diagnostic instruction sent by the user is received, searching for a corresponding diagnostic data packet based on the target vehicle type in the diagnostic instruction, and sending the diagnostic data packet to the vehicle processor using the wireless communication link; and, The first verification code is sent to the vehicle-mounted processor.

7. A cloud server, characterized in that: The cloud server comprises: A construction unit, configured to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, and to generate a diagnostic data packet based on the vehicle diagnostic data; a sending unit, configured to send the diagnostic data packet to an on-board processor in response to a received diagnostic instruction, wherein the on-board processor is configured to diagnose the vehicle according to the diagnostic data packet; The generating unit is used to obtain the diagnosis log and generate the diagnosis result according to the diagnosis log.

8. A vehicle diagnostic system, characterized in that: The system includes: a cloud server and an on-vehicle processor; The cloud server is used to construct vehicle diagnostic data according to basic vehicle data and diagnostic configuration instructions, generate a diagnostic data packet based on the vehicle diagnostic data; and send the diagnostic data packet to the vehicle processor in response to the received diagnostic instruction; The vehicle-mounted processor is used to diagnose the vehicle according to the diagnostic data packet, collect diagnostic logs, and send the diagnostic logs to the cloud server; The cloud server is also used to obtain diagnostic logs and generate diagnostic results according to the diagnostic logs.

9. The system according to claim 8, characterized in that The vehicle-mounted processor is specifically used for: Parsing the diagnostic data packet according to the data format of the diagnostic data packet to obtain a diagnostic command; The data interface of the CAN network is called according to the diagnostic command, and the diagnostic command is sent to the CAN network through the data interface for corresponding diagnosis.

10. The system according to claim 8, characterized in that The cloud server is specifically used for: Searching for the parts to be diagnosed included in the target vehicle model from the basic data of the vehicle; Based on the diagnostic configuration instruction, a corresponding diagnostic service ID, a diagnostic identifier DID, a DID value, a diagnostic cycle execution number and a diagnostic delay time are configured for each of the parts to be diagnosed, thereby obtaining diagnostic configuration data of the parts to be diagnosed; The diagnostic configuration data of each part to be diagnosed is assigned to a pre-created diagnostic command data unit to obtain the vehicle diagnostic data.

Citation Information

Patent Citations

  • Automobile remote diagnosis system and method based on cloud platform

    CN114640662A

  • Vehicle fault diagnosis method, device and equipment and readable storage medium

    CN114879630A

  • Automobile remote diagnosis system and method and computer readable storage medium

    CN114879640A

  • Remote diagnosis system and method, electronic equipment and storage medium

    CN115903758A

  • Vehicle remote diagnosis system and method

    CN116112514A