Vehicle diagnostic method, system, computer device and storage medium

By using the diagnostic link between the cloud and the on-board system in vehicle diagnosis, the problem of inefficient diagnosis of existing vehicles is solved, and a faster and more economical diagnostic process is achieved.

CN115599070BActive Publication Date: 2025-06-06CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211176780.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2025-06-06
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

The existing vehicle diagnostic methods are inefficient and require return to the factory for testing or professional equipment operation, resulting in long cycles and high costs.

Method used

By receiving node information from the cloud, a diagnostic link between the cloud and the on-board system is established, an activation request is received and the link is activated, and the on-board system is queried through the diagnostic link to obtain and upload diagnostic information.

Benefits of technology

The vehicle return process has been reduced, the efficiency of vehicle diagnosis has been improved, and the cost has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115599070B_ABST
    Figure CN115599070B_ABST
Patent Text Reader

Abstract

The present application relates to a vehicle diagnostic method, device, computer equipment and storage medium. The method comprises: receiving node information and establishing a diagnostic link according to the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; receiving an activation request and activating the diagnostic link in response to the activation request; querying the vehicle-mounted system through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information. The use of this method can further improve the efficiency and flexibility of vehicle diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle diagnosis technology, and in particular to a vehicle diagnosis method, system, computer equipment and storage medium. Background Art

[0002] For vehicle detection and diagnosis, dedicated cables and interfaces can be used to access the vehicle network, and then the on-board diagnostic system (OBD) can be used to perform diagnosis. However, this method requires the vehicle to be returned to the factory, which will result in a longer diagnosis cycle and higher costs. In addition, the vehicle can be diagnosed by accessing a diagnostic instrument, but this method requires the collection of historical record data through the Controller Area Network / Local Interconnect Network (CAN / LIN), requires professional equipment for connection, and has low diagnostic efficiency. Summary of the invention

[0003] Based on this, a vehicle diagnosis method, system, computer device and storage medium are provided to improve the problem of low vehicle diagnosis efficiency in the prior art.

[0004] On the one hand, a vehicle diagnostic method is provided, the method comprising: receiving node information and establishing a diagnostic link based on the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and an on-board system; receiving an activation request, and activating the diagnostic link in response to the activation request; querying the on-board system through the diagnostic link to obtain diagnostic information, so as to upload the diagnostic information.

[0005] In one embodiment, the vehicle-mounted system is queried through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information, including: receiving a diagnostic request through the diagnostic link, and querying the vehicle-mounted system in response to the diagnostic request to obtain diagnostic information so as to upload the diagnostic information.

[0006] In one embodiment, a diagnostic request is received through the diagnostic link, and the vehicle-mounted system is queried in response to the diagnostic request to obtain diagnostic information, so as to upload the diagnostic information, including: receiving a diagnostic message through the diagnostic link, wherein the diagnostic message includes a diagnostic identifier; and querying the vehicle-mounted system according to the diagnostic identifier to obtain diagnostic information, so as to upload the diagnostic information.

[0007] In one embodiment, the vehicle-mounted system is queried according to the diagnostic identifier to obtain diagnostic information so as to upload the diagnostic information, including: querying the vehicle-mounted system according to the diagnostic identifier to obtain a query result; if the query result is to query a controller local area network device, the diagnostic information is obtained through the controller local area network.

[0008] In one embodiment, the vehicle-mounted system is queried according to the diagnostic identifier to obtain diagnostic information for uploading, including: querying the vehicle-mounted system according to the diagnostic identifier to obtain a query result; if the query result is to query an Ethernet device, the diagnostic information is obtained through Ethernet.

[0009] In one embodiment, receiving node information and establishing a diagnostic link based on the node information includes: receiving node information, wherein the node information includes a network identifier and a port identifier; sending a link request based on the network identifier and the port identifier, and establishing a diagnostic link in response to the link request, wherein the link request comes from a vehicle-mounted system.

[0010] In one embodiment, after receiving an activation request and activating the diagnostic link in response to the activation request, the vehicle system is queried through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information, including: sending vehicle information to be diagnosed, and receiving a diagnostic request through the diagnostic link based on the vehicle information to be diagnosed.

[0011] On the other hand, a vehicle diagnostic system is provided, the system comprising: a diagnostic link module, comprising a client unit for receiving node information and a diagnostic network node unit for establishing a diagnostic link based on the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; a gateway module, comprising a gateway unit for receiving an activation request and activating the diagnostic link in response to the activation request, the gateway unit being connected to the diagnostic network node unit; a device module, comprising a controller area network device and an Ethernet device, the controller area network device and the Ethernet device being respectively connected to the gateway unit, and querying the vehicle-mounted system through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information.

[0012] In one of the embodiments, the diagnostic network node unit is connected to the gateway unit via a transmission control protocol.

[0013] In one of the embodiments, the client unit is connected to the cloud via a message queue telemetry transmission protocol.

[0014] In one of the embodiments, the diagnostic network node unit is connected to the cloud via a transmission control protocol / transport layer security protocol.

[0015] On the other hand, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: receiving node information and establishing a diagnostic link based on the node information, wherein the node information comes from a cloud, and the diagnostic link is a signal link between the cloud and an on-board system; receiving an activation request, and activating the diagnostic link in response to the activation request; querying the on-board system through the diagnostic link to obtain diagnostic information, so as to upload the diagnostic information.

[0016] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: receiving node information, and establishing a diagnostic link according to the node information, wherein the node information comes from a cloud, and the diagnostic link is a signal link between the cloud and an onboard system;

[0017] receiving an activation request, and activating the diagnostic link in response to the activation request;

[0018] The vehicle-mounted system is queried through the diagnostic link to obtain diagnostic information, so as to upload the diagnostic information.

[0019] The above-mentioned vehicle diagnostic method, system, computer device and storage medium receive node information and establish a diagnostic link based on the node information, wherein the node information comes from the cloud and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; receive an activation request and activate the diagnostic link in response to the activation request; query the vehicle-mounted system through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information, thereby further improving the efficiency of vehicle diagnosis. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A diagram showing an application environment of a vehicle diagnosis method in one embodiment;

[0021] Figure 2 A schematic flow chart of a vehicle diagnostic method in one embodiment;

[0022] Figure 3 A schematic diagram of the structure of vehicle diagnosis in one embodiment;

[0023] Figure 4 is a structural block diagram of a vehicle diagnostic system in one embodiment;

[0024] Figure 5FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] The vehicle diagnostic method provided by this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The server 104 receives node information and establishes a diagnostic link based on the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle system; receives an activation request, and activates the diagnostic link in response to the activation request; through the diagnostic link, the vehicle system is queried to obtain diagnostic information to upload the diagnostic information. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0027] In one embodiment, Figure 2 As shown, a vehicle diagnosis method is provided, which is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0028] Step 201, receiving node information and establishing a diagnostic link according to the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle system;

[0029] Step 202, receiving an activation request, and activating a diagnostic link in response to the activation request;

[0030] Step 203, query the vehicle system through the diagnostic link to obtain diagnostic information, so as to upload the diagnostic information.

[0031] For vehicle detection and diagnosis, dedicated cables and interfaces can be used to access the vehicle network, and then OBD can be used to perform diagnosis. However, this method requires the vehicle to be returned to the factory, which will result in a long diagnosis cycle and high cost. In addition, the vehicle can be diagnosed by connecting to a diagnostic instrument, but this method requires the collection of historical record data through CAN / LIN, which has low diagnostic efficiency and requires professional personnel to operate. The above vehicle diagnostic method receives node information from the cloud through the vehicle system, and then establishes a diagnostic link with the cloud based on the node information. The diagnostic link is activated by receiving an activation request from the cloud, and the device that needs to be diagnosed in the vehicle system is queried through the diagnostic link to obtain the corresponding diagnostic information. The diagnostic information is uploaded to achieve vehicle diagnosis. In this process, processes such as returning the vehicle to the factory are reduced, further improving the vehicle's diagnostic efficiency.

[0032] In step 201, it is exemplarily explained that node information is received and a diagnostic link is established according to the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle system. For example, in order to increase the amount of diagnostic information and improve diagnostic reliability, a signal link between the vehicle system and the cloud can be established based on the Message Queuing Telemetry Transport (MQTT) protocol and the vehicle Ethernet-based diagnostics (Diagnostic communication over Internet Protocol, DoIP). Specifically, Figure 3As shown, the cloud refers to the cloud diagnostic APP, which is responsible for receiving and processing diagnostic requests from other terminals or its own cloud diagnosis, and providing diagnostic data for mobile terminals, etc. The cloud diagnostic APP sends the node information of the cloud diagnostic APP to the MQTT client through MQTT, and the MQTT client synchronizes the node information to the DoIP node, so that the cloud diagnostic APP is virtualized into a diagnostic device to achieve direct diagnosis based on the cloud. Among them, the node information includes the Internet Protocol (IP) address, port number, device identification (ID), etc. of the cloud diagnostic APP. After obtaining the node information, the DoIP node initiates a diagnostic link with the cloud diagnostic APP according to the node information. After the cloud diagnostic APP receives the diagnostic link related information sent by the DoIP node in the vehicle system, it establishes a transmission control protocol / transmission layer security (TCP / TLS) diagnostic link, thereby realizing the communication between the cloud diagnostic APP and the vehicle system. The above method realizes data exchange between the vehicle system and the cloud through the DoIP node and the cloud diagnostic APP link, ensuring the security of information exchange.

[0033] In step 202, illustratively, an activation request is received, and a diagnostic link is activated in response to the activation request, for example, Figure 3 As shown, the cloud diagnostic APP sends an activation request to the DoIP gateway router through a TCP / TLS connection, thereby activating the diagnostic link. The DoIP node and the DoIP gateway establish a TCP link and enter the transparent transmission mode, thereby realizing the link between the cloud diagnostic APP and the DoIP gateway. At the same time, the DoIP node is set on the telematics processor (Telematics BOX, T-BOX), and the DoIP gateway is set on the gateway device, realizing the separate deployment of the DoIP node and the DoIP gateway, thereby improving the compatibility of equipment diagnosis and the flexibility of component function migration and upgrade.

[0034] In step 203, it is exemplified that the vehicle system is queried through the diagnostic link to obtain diagnostic information, so as to upload the diagnostic information, for example, Figure 3 As shown, after the cloud diagnostic APP is virtualized into a diagnostic device, it can send a diagnostic request to the target vehicle. The diagnostic request is sent in the form of a DoIP message and transparently transmitted through the T-BOX. After receiving the DoIP message, the DoIP gateway performs a diagnostic data ID (Data Identifier, DID) query, and based on the query results, obtains diagnostic information from the corresponding equipment in the vehicle system and uploads it to the cloud diagnostic APP for vehicle diagnosis.

[0035] As a specific implementation method of the above embodiment, the vehicle-mounted system is queried through a diagnostic link to obtain diagnostic information, and then the diagnostic information is uploaded, including: receiving a diagnostic request through a diagnostic link, and querying the vehicle-mounted system in response to the diagnostic request to obtain diagnostic information, and then uploading the diagnostic information.

[0036] It should be noted that the reception of diagnostic requests is not specifically limited in terms of the timing of data transmission. The diagnostic request can be received through a diagnostic link or stored before the diagnostic link is established. In some implementations, a diagnostic request is received through a diagnostic link, and the diagnostic request includes a DoIP message. After receiving the DoIP message, the DoIP gateway performs a diagnostic data ID (Data Identifier, DID) query, and based on the query results, obtains diagnostic information from the corresponding device in the vehicle system and uploads it to the cloud diagnostic APP for vehicle diagnosis.

[0037] As a specific implementation method of the above embodiment, a diagnostic request is received through a diagnostic link, and the vehicle-mounted system is queried in response to the diagnostic request to obtain diagnostic information, so as to upload the diagnostic information, including: receiving a diagnostic message through a diagnostic link, wherein the diagnostic message includes a diagnostic identifier; querying the vehicle-mounted system according to the diagnostic identifier to obtain diagnostic information, so as to upload the diagnostic information.

[0038] It should be noted that when diagnosing the target vehicle, it is necessary to query the vehicle system to obtain the vehicle equipment that needs to be diagnosed. Specifically, the diagnostic message is received through the diagnostic link, such as Figure 3 As shown, the diagnostic message can be a DoIP message, which includes the diagnostic identification of the device to be diagnosed, that is, the ID. The DoIP gateway queries the ID to obtain the corresponding device to be diagnosed, thereby obtaining the diagnostic information of the device for uploading to realize the diagnosis of the vehicle equipment.

[0039] As a specific implementation method of the above embodiment, the vehicle-mounted system is queried according to the diagnostic identifier to obtain diagnostic information so as to upload the diagnostic information, including: querying the vehicle-mounted system according to the diagnostic identifier to obtain the query result; if the query result is to query the controller local area network device, the diagnostic information is obtained through the controller local area network.

[0040] It should be noted that if Figure 3As shown, since in this embodiment, the DoIP gateway and DoIP messages are deployed separately, it is compatible with the diagnosis of vehicle-mounted controller area network (CAN) devices and vehicle-mounted Ethernet (Ethernet) devices. After querying through the diagnostic identifier, if the CAN device needs to be diagnosed, the diagnostic information is obtained through the CAN bus and uploaded.

[0041] As a specific implementation method of the above embodiment, the vehicle-mounted system is queried according to the diagnostic identifier to obtain diagnostic information so as to upload the diagnostic information, including: querying the vehicle-mounted system according to the diagnostic identifier to obtain the query result; if the query result is to query the Ethernet device, the diagnostic information is obtained through Ethernet.

[0042] It should be noted that after querying through the diagnostic identification, if the device to be diagnosed is an Ethernet device, the diagnostic information is obtained through the Ethernet bus and uploaded.

[0043] As a specific implementation method of the above embodiment, receiving node information and establishing a diagnostic link based on the node information includes: receiving node information, wherein the node information includes a network identifier and a port identifier; sending a link request according to the network identifier and the port identifier, and establishing a diagnostic link in response to the link request, wherein the link request comes from the vehicle-mounted system.

[0044] It should be noted that if Figure 3 As shown, after the DoIP node synchronizes the node information obtained by the MQTT client, it sends a link request to the cloud diagnostic APP according to the network identifier and port identifier in the node information, that is, the IP and port number. After receiving the link request, the cloud diagnostic APP establishes a TCP / TLS link with the vehicle system.

[0045] As a specific implementation method of the above embodiment, after receiving an activation request and activating a diagnostic link in response to the activation request, the vehicle system is queried through the diagnostic link to obtain diagnostic information before uploading the diagnostic information, including: sending vehicle information to be diagnosed, and receiving a diagnostic request through the diagnostic link based on the vehicle information to be diagnosed.

[0046] It should be noted that after activating the diagnostic link, the DoIP gateway needs to actively send diagnostic vehicle information so that the cloud diagnostic APP can detect the target vehicle's equipment and perform diagnosis after being virtualized as a diagnostic device. This replaces the diagnostic device diagnosis and improves the efficiency of vehicle diagnosis. Furthermore, by performing vehicle diagnosis through the cloud, diagnostic data can be obtained in a targeted manner as needed, thereby effectively reducing vehicle-cloud communication traffic.

[0047] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0048] In one embodiment, Figure 4 As shown, a vehicle diagnostic system is provided, including: a diagnostic link module, a gateway module and a device module, wherein:

[0049] A diagnostic link module, comprising a client unit for receiving node information and a diagnostic network node unit for establishing a diagnostic link according to the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle system;

[0050] A gateway module, comprising a gateway unit for receiving an activation request and activating a diagnostic link in response to the activation request, the gateway unit being connected to the diagnostic network node unit;

[0051] The device module includes a controller area network device and an Ethernet device. The controller area network device and the Ethernet device are respectively connected to the gateway unit, and the vehicle system is queried through a diagnostic link to obtain diagnostic information so as to upload the diagnostic information.

[0052] The above system establishes a signal link with the vehicle system through the cloud. The client unit receives the node information and establishes a connection between the cloud and the diagnostic network node unit based on the node information. The diagnostic network node unit is then connected to the gateway unit. The gateway unit is respectively connected to the CAN device and the Ethernet device to realize the diagnosis of the vehicle and improve the efficiency of the diagnosis.

[0053] In the diagnostic link module, the client unit that receives the node information communicates with the cloud through the MQTT protocol. The client unit can be an MQTT client. The client unit is connected to the diagnostic network node unit to synchronize the node information received by the client unit. The diagnostic network node unit can be a DoIP node. The diagnostic network node unit is connected to the cloud through TCP / TLS, thereby simulating the cloud as a diagnostic device, avoiding access to the diagnostic instrument, and improving the vehicle diagnosis efficiency. In addition, the communication between the vehicle system and the cloud is realized through the DoIP node, ensuring the security of information exchange.

[0054] In the gateway module, the diagnostic network node is connected to the gateway unit, and the gateway unit can be a DoIP gateway, thereby realizing the separate deployment of the DoIP node and the DoIP gateway. It is compatible with the diagnosis of CAN devices and Ethernet devices, and can also flexibly migrate and upgrade the functions of components.

[0055] In the device module, the gateway unit is connected to the CAN device and the Ethernet device in the device module, thereby enabling the uploading of diagnostic information.

[0056] As a specific implementation of the above embodiment, the diagnostic network node unit is connected to the gateway unit via a transmission control protocol.

[0057] As a specific implementation of the above embodiment, the client unit is connected to the cloud via a message queue telemetry transmission protocol.

[0058] As a specific implementation of the above embodiment, the diagnostic network node unit is connected to the cloud via the Transmission Control Protocol / Secure Transaction Layer Protocol.

[0059] The specific definition of the vehicle diagnostic device can be found in the definition of the vehicle diagnostic method above, which will not be repeated here. Each module in the above-mentioned vehicle diagnostic device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0060] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a vehicle diagnostic method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0061] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0062] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: receiving node information and establishing a diagnostic link based on the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; receiving an activation request, and activating the diagnostic link in response to the activation request; querying the vehicle-mounted system through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information.

[0063] In one embodiment, when the processor executes the computer program, the processor further implements the following steps: receiving a diagnostic request through a diagnostic link, and querying the vehicle system in response to the diagnostic request to obtain diagnostic information, so as to upload the diagnostic information.

[0064] In one embodiment, when the processor executes the computer program, the following steps are also implemented: receiving a diagnostic message through a diagnostic link, wherein the diagnostic message includes a diagnostic identifier; querying the vehicle-mounted system according to the diagnostic identifier to obtain diagnostic information, so as to upload the diagnostic information.

[0065] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the vehicle system according to the diagnostic identifier to obtain the query result; if the query result is to query the controller area network device, obtaining the diagnostic information through the controller area network.

[0066] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying the vehicle system according to the diagnostic identifier to obtain the query result; if the query result is to query the Ethernet device, obtaining the diagnostic information through the Ethernet.

[0067] In one embodiment, when the processor executes the computer program, the following steps are also implemented: receiving node information, wherein the node information includes a network identifier and a port identifier; sending a link request according to the network identifier and the port identifier, and establishing a diagnostic link in response to the link request, wherein the link request comes from the vehicle-mounted system.

[0068] In one embodiment, when the processor executes the computer program, the following steps are further implemented: sending vehicle information to be diagnosed, and receiving a diagnosis request through a diagnosis link according to the vehicle information to be diagnosed.

[0069] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: receiving node information and establishing a diagnostic link based on the node information, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; receiving an activation request, and activating the diagnostic link in response to the activation request; querying the vehicle-mounted system through the diagnostic link to obtain diagnostic information so as to upload the diagnostic information.

[0070] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a diagnostic request through a diagnostic link, and querying the vehicle system in response to the diagnostic request to obtain diagnostic information, so as to upload the diagnostic information.

[0071] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving a diagnostic message through a diagnostic link, wherein the diagnostic message includes a diagnostic identifier; querying the vehicle system according to the diagnostic identifier to obtain diagnostic information, and uploading the diagnostic information.

[0072] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the vehicle system according to the diagnostic identifier to obtain the query result; if the query result is to query the controller area network device, obtaining the diagnostic information through the controller area network.

[0073] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying the vehicle system according to the diagnostic identifier to obtain the query result; if the query result is to query the Ethernet device, obtaining the diagnostic information through the Ethernet.

[0074] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: receiving node information, wherein the node information includes a network identifier and a port identifier; sending a link request according to the network identifier and the port identifier, and establishing a diagnostic link in response to the link request, wherein the link request comes from the vehicle-mounted system.

[0075] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: sending vehicle information to be diagnosed, and receiving a diagnosis request through a diagnosis link according to the vehicle information to be diagnosed.

[0076] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0077] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0078] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A vehicle diagnostic method, It is characterized in that include: The MQTT client unit of the diagnostic link module receives the node information sent by the cloud, and the diagnostic network node unit of the diagnostic link module synchronizes the node information obtained by the MQTT client, and then sends a link request to the cloud according to the network identifier and port information in the node information, so that the cloud establishes a diagnostic link with the vehicle-mounted system in response to the link request, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; The gateway unit receives the activation request from the cloud, and activates the diagnostic link in response to the activation request, so that the diagnostic network node unit and the gateway unit establish a TCP link and enter a transparent transmission mode, thereby realizing the link between the cloud diagnostic APP and the gateway unit; The gateway unit sends the vehicle information to be diagnosed so that the cloud can be virtualized into a diagnostic device and then discover the equipment of the vehicle to be diagnosed; the controller local area network device and Ethernet device of the equipment module receive the diagnostic request through the diagnostic link, and query the vehicle system in response to the diagnostic request to obtain the diagnostic information so as to upload the diagnostic information.

2. The vehicle diagnostic method according to claim 1, It is characterized in that Receiving a diagnostic request through the diagnostic link, and querying the vehicle system in response to the diagnostic request to obtain diagnostic information, so as to upload the diagnostic information, including: Receiving a diagnostic message through the diagnostic link, wherein the diagnostic message includes a diagnostic identifier; The vehicle-mounted system is queried according to the diagnostic identifier to obtain diagnostic information, so as to upload the diagnostic information.

3. The vehicle diagnostic method according to claim 2, It is characterized in that Querying the vehicle system according to the diagnostic identifier to obtain diagnostic information and upload the diagnostic information includes: Query the vehicle system according to the diagnostic identifier to obtain the query result; If the query result is to query the controller area network device, the diagnostic information is obtained through the controller area network.

4. The vehicle diagnostic method according to claim 2, It is characterized in that Querying the vehicle system according to the diagnostic identifier to obtain diagnostic information and upload the diagnostic information includes: Query the vehicle system according to the diagnostic identifier to obtain the query result; If the query result is to query an Ethernet device, the diagnostic information is obtained through the Ethernet.

5. A vehicle diagnostic system, It is characterized in that include: A diagnostic link module, comprising an MQTT client unit for receiving node information and a diagnostic network node unit for sending a link request to the cloud according to the network identifier and port information in the node information, so that the cloud establishes a diagnostic link with the vehicle-mounted system in response to the link request, wherein the node information comes from the cloud, and the diagnostic link is a signal link between the cloud and the vehicle-mounted system; The gateway module includes a gateway unit for receiving an activation request from the cloud, and activating the diagnostic link in response to the activation request, so that the diagnostic network node unit and the gateway unit establish a TCP link and enter a transparent transmission mode, thereby realizing the link between the cloud diagnostic APP and the gateway unit, and the gateway unit is connected to the diagnostic network node unit; the gateway unit is also used to send information about the vehicle to be diagnosed, so that the cloud can be virtualized into a diagnostic device and then find the device of the vehicle to be diagnosed; The device module includes a controller area network device and an Ethernet device, wherein the controller area network device and the Ethernet device are respectively connected to the gateway unit, receive a diagnostic request through the diagnostic link, and query the vehicle system in response to the diagnostic request to obtain diagnostic information so as to upload the diagnostic information.

6. The vehicle diagnostic system according to claim 5, It is characterized in that The diagnostic network node unit is connected to the gateway unit via a transmission control protocol.

7. The vehicle diagnostic system according to claim 5, It is characterized in that The client unit is connected to the cloud via a message queue telemetry transmission protocol.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Remote diagnosis method, device and system based on vehicle-mounted Ethernet, and TSP server

    CN111555953A

  • Remote diagnosis control system, method and device and electric vehicle

    CN114675616A

  • Vehicle remote diagnosis method and system based on SOA service

    CN114839959A