Vehicle diagnosis method, device and storage medium for separating upper and lower bodies
By setting up a gateway in the vehicle for identity authentication and supplier determination, the compatibility problem of vehicle diagnostic tools under the intelligent chassis platform is solved, realizing separate diagnosis of the upper and lower vehicle bodies, adapting to different supplier products, reducing costs and shortening the development cycle.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 悠跑科技(合肥)有限公司
- Filing Date
- 2022-10-10
- Publication Date
- 2026-04-21
AI Technical Summary
Traditional vehicle diagnostic systems cannot adapt to the needs of intelligent chassis platformization, resulting in incompatibility of diagnostic tools after the separation of the vehicle's electrical architecture from the upper and lower body. Furthermore, new energy vehicle manufacturers lack experience in whole vehicle development, leading to diagnostic errors or high costs and long cycles.
By setting up first and second gateways in the vehicle, the diagnostic tool is authenticated, and different diagnostic paths are used to perform diagnostics based on the consistency of the suppliers of the upper and lower vehicle bodies. This includes transmitting diagnostic requests through the first gateway or simultaneously through the first and second gateways to complete the diagnosis of the upper and lower vehicle bodies.
It fulfills the need for separate diagnostics of the upper and lower vehicle bodies, provides a flexible diagnostic system that is compatible with products from different suppliers, reduces costs and shortens the development cycle, and meets the after-sales diagnostic needs of emerging car manufacturers.
Smart Images

Figure CN115576305B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology and discloses a vehicle diagnostic method, device, and storage medium for vehicles with separate upper and lower body sections. Background Technology
[0002] Automotive diagnostics is the inspection, analysis, and judgment work carried out without disassembling the vehicle (or only removing a few small parts) to determine the technical condition of the vehicle or to identify the location and cause of a fault.
[0003] Traditional vehicles rely on manufacturers to standardize their diagnostic functions, developing diagnostic functions for each ECU and corresponding tools based on their diagnostic standards. This means that reading a manufacturer's self-diagnostic data requires using a diagnostic tool provided by that manufacturer; otherwise, the data may be uninterpreted or incorrectly interpreted, leading to diagnostic errors.
[0004] With the emergence of intelligent chassis technology, the separation of the vehicle's electrical architecture from the upper and lower body will inevitably lead to the separation of the vehicle's diagnostic system from the upper and lower body. The platformization of intelligent chassis requires the provision of independent diagnostic systems, remote diagnostic tools, and the planning of a diagnostic system implementation plan for the entire vehicle to meet the needs of manufacturers from intelligent chassis development to after-sales maintenance. Summary of the Invention
[0005] This invention provides a vehicle diagnostic method, device, and storage medium for separate upper and lower vehicle bodies. By planning a diagnostic system implementation scheme for the entire vehicle, it aims to meet the needs of manufacturers from intelligent chassis development to after-sales maintenance.
[0006] According to a first aspect of the present invention, a vehicle diagnostic method for vehicles with separate upper and lower body sections is provided, comprising:
[0007] S1: Connect the diagnostic tool to the vehicle to be tested, the vehicle to be tested including an upper body and a lower body; wherein, the upper body includes a first gateway, and the lower body includes a second gateway;
[0008] S2: Authenticate the diagnostic tool through the first gateway to determine whether the diagnostic tool is an authorized tool;
[0009] If the authentication is successful: the diagnostic tool sends a first diagnostic request to the upper body or the lower body, obtains the first upper body diagnostic message or the first lower body diagnostic message, and proceeds to step S3;
[0010] If the authentication fails, the diagnosis of the vehicle to be tested will fail.
[0011] S3: The diagnostic tool determines whether the suppliers of the upper vehicle body and the lower vehicle body are the same based on the first upper vehicle body diagnostic message and the first lower vehicle body diagnostic message;
[0012] If the supplier of the upper vehicle body and the lower vehicle body is the same, proceed to step S4;
[0013] If the suppliers of the upper vehicle body and the lower vehicle body are different, proceed to step S5;
[0014] S4: The diagnostic tool sends a second diagnostic request to the upper vehicle body or the lower vehicle body through the first gateway. The upper vehicle body or the lower vehicle body sends a second upper vehicle body diagnostic message or a second lower vehicle body diagnostic message according to the second diagnostic request, and sends the second upper vehicle body diagnostic message or the second lower vehicle body diagnostic message to the diagnostic tool through the first gateway; and completes the diagnosis of the upper vehicle body or the lower vehicle body within the diagnostic tool.
[0015] S5: The diagnostic tool sends a diagnostic request to the upper vehicle body through the first gateway. The upper vehicle body sends a second upper vehicle body diagnostic message according to the second diagnostic request, and sends the second upper vehicle body diagnostic message to the diagnostic tool through the first gateway. The diagnostic tool then completes the diagnosis of the upper vehicle body. The diagnostic tool also sends a second diagnostic request, and sends the second diagnostic request to the second gateway through the first gateway. The second gateway then transmits the second diagnostic request to the lower vehicle body. The lower vehicle body sends a second lower vehicle body diagnostic message according to the second diagnostic request, and sends the second lower vehicle body diagnostic message to the diagnostic tool through the second gateway and the first gateway. The diagnostic tool then completes the diagnosis of the lower vehicle body.
[0016] Optionally, the first vehicle body diagnostic message includes: vehicle body identity information; the vehicle body identity information represents the diagnostic standards of the vehicle body supplier.
[0017] Optionally, the first vehicle body diagnostic message includes: vehicle body identity information; the vehicle body identity information represents the diagnostic criteria of the vehicle body supplier.
[0018] Optionally, the second upper body diagnostic message may also include: first upper body information and second upper body information;
[0019] The first upper body information represents the readable information of the upper body;
[0020] The second upper body information represents the readable and writable information of the upper body;
[0021] The diagnostic tool performs a diagnosis of the vehicle body based on the first vehicle body information and the second vehicle body information.
[0022] Optionally, the second undercarriage diagnostic message may also include: first undercarriage information and second undercarriage information;
[0023] The first vehicle body information represents the readable information of the vehicle body;
[0024] The second vehicle body information represents the readable and writable information of the vehicle body;
[0025] The diagnostic tool performs a diagnosis of the vehicle body based on the first and second vehicle body information.
[0026] Optionally, in step S5, sending the data to the second gateway through the first gateway specifically includes:
[0027] The first gateway includes a first routing table; the first gateway forwards the diagnostic request to the second gateway according to the first routing table.
[0028] Optionally, the second gateway includes a second routing table; the second gateway forwards the vehicle disembarkation diagnostic message to the first gateway according to the second routing table.
[0029] According to a second aspect of the present invention, an electronic device is provided, including a processor and a memory; the memory stores a program that can be called by the processor; wherein, when the processor executes the program, it implements a vehicle diagnostic method for separating the upper and lower vehicle bodies as described in the first aspect of the present invention.
[0030] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein program instructions are stored therein, and when executed by a processor of a computer, the processor performs the vehicle diagnostic method for separating the upper and lower vehicle bodies as described in the first aspect of the present invention.
[0031] The vehicle diagnostic method, equipment, and storage medium for separate upper and lower vehicle bodies provided by this invention provide corresponding diagnostic methods by determining whether the suppliers of the upper and lower vehicle bodies are the same. If the suppliers of the upper and lower vehicle bodies are the same, the diagnosis of the upper and lower vehicle bodies is achieved through a first gateway; if the suppliers of the upper and lower vehicle bodies are different, the diagnosis of the upper and lower vehicle bodies is achieved through both the first gateway and a second gateway. In other words, this invention fulfills the diagnostic requirements for vehicles with separate upper and lower vehicle bodies. Simultaneously, it provides a complete diagnostic system for emerging electric vehicle manufacturers without experience in whole-vehicle development. Furthermore, this invention, tailored to products from different upper or lower vehicle body suppliers, makes after-sales diagnostic development more adaptable, flexible, cost-effective, and with shorter change development cycles, meeting the diagnostic testing needs of different product models. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a schematic flowchart of a vehicle diagnostic method for separating the upper and lower vehicle bodies in one embodiment of the present invention;
[0034] Figure 2 This is a schematic diagram illustrating the structure of an exemplary electronic device according to one embodiment of the present invention. Detailed Implementation
[0035] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0036] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0037] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0038] Please refer to Figure 1 This invention provides a vehicle diagnostic method for vehicles with separate upper and lower body sections, comprising:
[0039] S1: Connect the diagnostic tool to the vehicle to be tested, the vehicle to be tested including an upper body and a lower body; wherein, the upper body includes a first gateway, and the lower body includes a second gateway. That is, data from the upper body can be output through the first gateway, and data from the lower body can be output through the second gateway.
[0040] S2: The diagnostic tool is authenticated through the first gateway to determine whether it is an authorized tool.
[0041] If the authentication is successful: the diagnostic tool sends a first diagnostic request to the upper body or the lower body, obtains the first upper body diagnostic message or the first lower body diagnostic message, and proceeds to step S3;
[0042] If the authentication fails, the diagnosis of the vehicle to be tested will fail.
[0043] In one specific implementation, when performing local diagnostics using a diagnostic tool, authentication of the diagnostic tool with the first gateway is required via computer-based testing software. In another specific implementation, when performing remote diagnostics using a remote diagnostic system, dual authentication is required between the remote system and the computer-based testing software and the first gateway.
[0044] S3: The diagnostic tool determines whether the suppliers of the upper vehicle body and the lower vehicle body are the same based on the first upper vehicle body diagnostic message and the first lower vehicle body diagnostic message.
[0045] If the supplier of the upper vehicle body and the lower vehicle body is the same, proceed to step S4;
[0046] If the suppliers of the upper vehicle body and the lower vehicle body are different, proceed to step S5.
[0047] In a specific implementation, the first upper vehicle diagnostic message includes upper vehicle identity information representing the diagnostic target of the upper vehicle supplier; the first lower vehicle diagnostic message includes lower vehicle identity information representing the diagnostic target of the lower vehicle supplier; therefore, if the upper vehicle identity information and the lower vehicle identity information are consistent, it means that the suppliers of the upper vehicle and the lower vehicle are consistent, and proceed to step S4; if the upper vehicle identity information and the lower vehicle identity information are inconsistent, it means that the suppliers of the upper vehicle and the lower vehicle are inconsistent, and proceed to step S5.
[0048] The "enterprise standard" refers to the diagnostic identification number that the supplier of the upper body or the lower body can request from each ECU supplier.
[0049] In this embodiment of the invention, if a vehicle malfunctions, the corresponding ECU of the vehicle that malfunctions will automatically generate an upper vehicle diagnostic message or an lower vehicle diagnostic message and store it in the diagnostic module of the corresponding ECU.
[0050] S4: The diagnostic tool sends a second diagnostic request to the upper vehicle body or the lower vehicle body through the first gateway. The upper vehicle body or the lower vehicle body sends a second upper vehicle body diagnostic message or a second lower vehicle body diagnostic message according to the second diagnostic request, and sends the second upper vehicle body diagnostic message or the second lower vehicle body diagnostic message to the diagnostic tool through the first gateway; and completes the diagnosis of the upper vehicle body or the lower vehicle body within the diagnostic tool.
[0051] S5: The diagnostic tool sends a second diagnostic request to the vehicle body through the first gateway. The vehicle body sends a second vehicle body diagnostic message according to the second diagnostic request, and sends the second vehicle body diagnostic message to the diagnostic tool through the first gateway, and completes the diagnosis of the vehicle body within the diagnostic tool.
[0052] The diagnostic tool sends a second diagnostic request and transmits the second diagnostic request to the second gateway through the first gateway, and then transmits it to the vehicle body through the second gateway. The vehicle body sends a second vehicle body diagnostic message according to the second diagnostic request, and transmits the second vehicle body diagnostic message to the diagnostic tool through the second gateway and the first gateway, and completes the diagnosis of the vehicle body within the diagnostic tool.
[0053] Specifically, the step of sending the data through the first gateway to the second gateway includes:
[0054] The first gateway includes a first routing table; the first gateway forwards the second diagnostic request to the second gateway according to the first routing table. The second gateway includes a second routing table; the second gateway forwards the second vehicle exit diagnostic message to the first gateway according to the second routing table.
[0055] The second vehicle body diagnostic message in this embodiment of the invention further includes: first vehicle body information and second vehicle body information; the first vehicle body information represents the readable information of the vehicle body; the second vehicle body information represents the readable and writable information of the vehicle body; the diagnostic tool completes the diagnosis of the vehicle body based on the first vehicle body information and the second vehicle body information.
[0056] The second vehicle body diagnostic message in this embodiment of the invention further includes: first vehicle body information and second vehicle body information; the first vehicle body information represents the readable information of the vehicle body; the second vehicle body information represents the readable and writable information of the vehicle body; the diagnostic tool completes the diagnosis of the vehicle body based on the first vehicle body information and the second vehicle body information.
[0057] The first upper vehicle body information and the first lower vehicle body information can be DID information, which is generally information related to the product system and some configuration information, meaning that this information cannot be changed; the second upper vehicle body information and the second lower vehicle body information can be RID information, which is the ID of routine control, generally some time-consuming and resource-intensive operations related to calibration and burning. Here, a routine refers to a set of functional interfaces or services provided by a certain system to the outside world, which can modify the RID information to prevent ECU failure or to contact the ECU if a failure has already occurred.
[0058] In one specific embodiment, if it is necessary to diagnose the upper body, the diagnostic tool (which has been certified) connects to the vehicle through the OBD interface and sends a second diagnostic request to the upper body. The second diagnostic request is transmitted to the ECU unit of the upper body through the first gateway. After receiving the second diagnostic request, the ECU unit returns an upper body diagnostic message, which includes the upper body's DID information and RID information. The second upper body diagnostic message is transmitted to the diagnostic tool through the first gateway. The diagnostic tool parses the second upper body diagnostic message to obtain the corresponding DID information and RID information, and determines whether the upper body has a fault based on the DID information and RID information.
[0059] In another specific embodiment, if a diagnostic of the lower body is required, the diagnostic tool (which has been certified) connects to the vehicle via the OBD interface and sends a diagnostic request to the lower body. If the suppliers of the upper and lower bodies are the same, the second diagnostic request is directly routed to the ECU unit of the lower body through the first gateway. Upon receiving the second diagnostic request, the ECU unit returns a second lower body diagnostic message. This diagnostic message is transmitted to the diagnostic tool through the first gateway, and the diagnostic tool performs a diagnostic on the second lower body diagnostic message. If the suppliers of the upper and lower bodies are different, when the second diagnostic request passes through the first gateway, the first gateway routes it to the second gateway, which then transmits it to the lower body ECU. Upon receiving the second diagnostic request, the lower body ECU sends a corresponding diagnostic message, which is then transmitted to the diagnostic tool through both the first and second gateways to complete the diagnosis of the lower body.
[0060] The vehicle diagnostic method for separate upper and lower body structures provided by this invention determines the diagnostic method based on whether the suppliers of the upper and lower body structures are the same. If the suppliers of the upper and lower body structures are the same, the diagnosis of the upper and lower body structures is achieved through a first gateway; if the suppliers of the upper and lower body structures are different, the diagnosis of the upper and lower body structures is achieved through both the first gateway and a second gateway. In other words, this invention fulfills the diagnostic requirements for vehicles with separate upper and lower body structures. Furthermore, it provides a complete diagnostic system for emerging electric vehicle manufacturers without experience in whole-vehicle development. Moreover, this invention adapts to the products provided by different upper or lower body suppliers, making after-sales diagnostic development more flexible, cost-effective, and with shorter change development cycles, thus meeting the diagnostic testing needs of different product models.
[0061] Please refer to Figure 2 An electronic device 1 is provided, comprising:
[0062] Processor 11; and
[0063] Memory 12 is used to store the executable instructions of the processor;
[0064] The processor 11 is configured to execute the methods described above by executing the executable instructions.
[0065] The processor 11 can communicate with the memory 12 via the bus 13.
[0066] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the methods described above.
[0067] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle diagnostic method for vehicles with separate upper and lower body sections, characterized in that, include: S1: Connect the diagnostic tool to the vehicle to be tested, the vehicle to be tested including an upper body and a lower body; wherein, the upper body includes a first gateway, and the lower body includes a second gateway; S2: Authenticate the diagnostic tool through the first gateway to determine whether the diagnostic tool is an authorized tool; If the authentication is successful: the diagnostic tool sends a first diagnostic request to the upper body or the lower body, obtains the first upper body diagnostic message or the first lower body diagnostic message, and proceeds to step S3; If the authentication fails, the diagnosis of the vehicle to be tested will fail. S3: The diagnostic tool determines whether the suppliers of the upper vehicle body and the lower vehicle body are the same based on the first upper vehicle body diagnostic message and the first lower vehicle body diagnostic message; If the supplier of the upper vehicle body and the lower vehicle body is the same, proceed to step S4; If the suppliers of the upper vehicle body and the lower vehicle body are different, proceed to step S5; S4: The diagnostic tool sends a second diagnostic request to the upper vehicle body or the lower vehicle body through the first gateway. The upper vehicle body or the lower vehicle body sends a second upper vehicle body diagnostic message or a second lower vehicle body diagnostic message according to the second diagnostic request, and sends the second upper vehicle body diagnostic message or the second lower vehicle body diagnostic message to the diagnostic tool through the first gateway; and completes the diagnosis of the upper vehicle body or the lower vehicle body within the diagnostic tool. S5: The diagnostic tool sends a second diagnostic request to the upper vehicle body through the first gateway. The upper vehicle body sends a second upper vehicle body diagnostic message according to the second diagnostic request and sends the second upper vehicle body diagnostic message to the diagnostic tool through the first gateway. The diagnostic tool then completes the diagnosis of the upper vehicle body. The diagnostic tool also sends a second diagnostic request and sends the second diagnostic request to the second gateway through the first gateway. The second gateway then transmits the second diagnostic request to the lower vehicle body. The lower vehicle body sends a second lower vehicle body diagnostic message according to the second diagnostic request and sends the second lower vehicle body diagnostic message to the diagnostic tool through the second gateway and the first gateway. The diagnostic tool then completes the diagnosis of the lower vehicle body.
2. The vehicle diagnostic method for separating the upper and lower vehicle bodies according to claim 1, characterized in that, The first vehicle body diagnostic message includes: vehicle body identity information; the vehicle body identity information represents the diagnostic standards of the vehicle body supplier.
3. The vehicle diagnostic method for separated upper and lower vehicle bodies according to claim 1, characterized in that, The first vehicle body diagnostic message includes: vehicle body identity information; the vehicle body identity information represents the diagnostic standards of the vehicle body supplier.
4. The vehicle diagnostic method for separated upper and lower vehicle bodies according to claim 1, characterized in that, The second upper body diagnostic message also includes: information about the first upper body and information about the second upper body; The first upper body information represents the readable information of the upper body; The second upper body information represents the readable and writable information of the upper body; The diagnostic tool performs a diagnosis of the vehicle body based on the first vehicle body information and the second vehicle body information.
5. The vehicle diagnostic method for separated upper and lower vehicle bodies according to claim 1, characterized in that, The second undercarriage diagnostic message also includes: information about the first undercarriage and information about the second undercarriage; The first vehicle body information represents the readable information of the vehicle body; The second vehicle body information represents the readable and writable information of the vehicle body; The diagnostic tool performs a diagnosis of the vehicle body based on the first and second vehicle body information.
6. The vehicle diagnostic method for separated upper and lower vehicle bodies according to claim 1, characterized in that, In step S5, the step of sending the data to the second gateway through the first gateway specifically includes: The first gateway includes a first routing table; the first gateway forwards the diagnostic request to the second gateway according to the first routing table.
7. The vehicle diagnostic method for separated upper and lower vehicle bodies according to claim 6, characterized in that, The second gateway includes a second routing table; the second gateway forwards the vehicle disembarkation diagnostic message to the first gateway according to the second routing table.
8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1-7.
9. A storage medium having a program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 1-7.
Citation Information
Patent Citations
Safety control method, device and computer equipment
CN109257374A
Vehicle data acquisition method and device, computer equipment and storage medium
CN114760289A