Whole vehicle total data uploading method and electronic equipment

By introducing a body domain controller, central gateway, and intelligent terminal into the vehicle, remote real-time uploading of vehicle ECU data is achieved, solving the problem of frequent on-site problem solving in existing technologies and improving the efficiency of engineering development.

CN118655873APending Publication Date: 2024-09-17BAIC MOTOR CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410682368.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing technology cannot achieve remote real-time data upload of the entire vehicle ECU, which requires engineers to frequently travel to the test site to solve problems and prolongs the development cycle.

Method used

The system collects CAN and LIN messages from node ECUs via the vehicle domain controller, which then collects and converts them into Ethernet UDP messages. The smart terminal uploads these messages to the cloud platform, supporting message compression and special event recognition. The system also enables remote uploading of all data via remote diagnostic commands.

Benefits of technology

It enables remote real-time monitoring of vehicle ECU data and rapid problem localization, shortening engineering development time and improving problem-solving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655873A
    Figure CN118655873A
Patent Text Reader

Abstract

The invention discloses a whole vehicle total data uploading method and electronic equipment. The method comprises the following steps: a vehicle body domain controller collects messages of CAN and LIN of a node ECU and sends the messages to a central gateway; the central gateway collects CAN and LIN messages of all nodes and Ethernet UDP messages of message mirroring and sends the CAN and LIN messages and the Ethernet UDP messages to the intelligent terminal; and the intelligent terminal collects the Ethernet UDP message converted by the gateway and sends the Ethernet UDP message to the cloud platform. According to the method, remote operation can be achieved, the specific ECU with the problem and the occurrence time point can be searched, the development problem solving time is effectively saved, and then the overall development period is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data transmission, and more specifically, to a method and electronic device for uploading full vehicle data. Background Art

[0002] At present, cars are becoming more and more intelligent. The various intelligent ECUs contained in the whole vehicle will expose a large number of problems during the whole vehicle trial production test. These vehicles will carry out different test projects in different venues, which are generally far away. If the message data of all ECUs of the whole vehicle can be obtained remotely and in real time, it will help engineering developers to quickly locate problems remotely and then find the root cause without having to go to the test site for each vehicle to check the actual vehicle, which greatly shortens the engineering development time.

[0003] At present, a method for uploading the entire vehicle data needs to be developed.

[0004] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0005] The present invention proposes a method for uploading full data of a whole vehicle and an electronic device, which can realize remote operation, find the specific ECU where the problem occurs and the time point when the problem occurs, effectively save the time for solving development problems, and thus shorten the overall development cycle.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for uploading full vehicle data, including:

[0007] The body domain controller collects CAN and LIN messages from the node ECU and sends them to the central gateway;

[0008] The central gateway collects CAN and LIN messages of all nodes and Ethernet UDP messages of message mirroring and sends them to the intelligent terminal;

[0009] The smart terminal collects the Ethernet UDP messages converted by the gateway and sends them to the cloud platform.

[0010] Preferably, the content of the message includes:

[0011] Message ID, data field length, data field content, network segment type, network segment identification, network segment status, message receiving / sending timestamp.

[0012] Preferably, the format of the Ethernet UDP message includes Eth, IP, UDP, Header, and Data.

[0013] Preferably, it also includes:

[0014] After receiving the Ethernet UDP message, the intelligent terminal reads the information from Header to the end of Data, stores it as a bin file for compression, and compresses it into a tar.gz format;

[0015] The intelligent terminal detects the Sequence Number in the Ethernet UDP message, and the numbers of the sent messages are accumulated from 0. If the Sequence Number is discontinuous, it is identified as frame loss in the Ethernet link, and the corresponding Sequence Number part is marked to indicate that the message is lost.

[0016] Preferably, it also includes:

[0017] The intelligent terminal identifies a special event according to the Ethernet UDP message;

[0018] After identifying the special event, the special event is uploaded to the cloud platform within a set time threshold.

[0019] Preferably, the special events include:

[0020] Collision occurs, power system level 3 failure, vehicle network switches from sleep to wake-up, and other events defined for test analysis.

[0021] Preferably, the set time threshold is 10s.

[0022] Preferably, the priority of the data corresponding to the special event is changed to the data corresponding to no special event, and the data corresponding to no special event is cyclically overwritten after the cache is exhausted.

[0023] Preferably, it also includes:

[0024] The user views the vehicle online in real time through the cloud platform and sends instructions to the smart terminal through MQTT. The real-time smart terminal opens the full data upload channel of the central gateway through the remote diagnosis instruction 2E service and uploads the data to the OSS server. The cloud platform then downloads the Ethernet UDP message through the OSS server and parses it into the standard asc format file format defined by Vector.

[0025] In a second aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0026] A memory storing executable instructions;

[0027] A processor runs the executable instructions in the memory to implement the method for uploading the full amount of vehicle data.

[0028] The methods and apparatus of the present invention have other features and advantages that will be apparent from, or will be described in detail in, the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0030] Figure 1 A flowchart showing the steps of a method for uploading full vehicle data according to an embodiment of the present invention is shown.

[0031] Figure 2 A schematic diagram showing an Ethernet UDP message format according to an embodiment of the present invention is shown.

[0032] Figure 3 A schematic diagram showing an interaction process according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0033] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0034] To facilitate understanding of the solutions and effects of the embodiments of the present invention, two specific application examples are given below. Those skilled in the art should understand that the examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.

[0035] Example 1

[0036] Figure 1 A flowchart showing the steps of a method for uploading full vehicle data according to an embodiment of the present invention is shown.

[0037] like Figure 1 As shown, the method for uploading the full amount of vehicle data includes:

[0038] Step 101, the body domain controller collects CAN and LIN messages of the node ECU and sends them to the central gateway;

[0039] Step 102, the central gateway collects CAN and LIN messages of all nodes and Ethernet UDP messages of message mirroring and sends them to the intelligent terminal;

[0040] Step 103: The smart terminal collects the Ethernet UDP messages converted by the gateway and sends them to the cloud platform.

[0041] In an example, the content of the message includes:

[0042] Message ID, data field length, data field content, network segment type, network segment identification, network segment status, message receiving / sending timestamp.

[0043] In an example, the format of the Ethernet UDP message includes Eth, IP, UDP, Header, and Data.

[0044] In one example, it also includes:

[0045] After receiving the Ethernet UDP message, the intelligent terminal reads the information from Header to the end of Data, stores it as a bin file, and compresses it into tar.gz format;

[0046] The intelligent terminal detects the Sequence Number in the Ethernet UDP message and increases the number of the sent message from 0. If the Sequence Number is not continuous, it is identified as frame loss on the Ethernet link and the corresponding Sequence Number part is marked to indicate the message loss.

[0047] In one example, it also includes:

[0048] The intelligent terminal identifies special events based on Ethernet UDP messages;

[0049] After identifying special events, upload them to the cloud platform within the set time threshold.

[0050] In one example, special events include:

[0051] Collision occurs, power system level 3 failure, vehicle network switches from sleep to wake-up, and other events defined for test analysis.

[0052] In one example, the time threshold is set to 10 seconds.

[0053] In one example, the priority of data corresponding to a special event is changed to data corresponding to no special event, and the data corresponding to no special event is cyclically overwritten after the cache is exhausted.

[0054] In one example, it also includes:

[0055] Users can view vehicles online in real time through the cloud platform and send instructions to smart terminals through MQTT. The real-time smart terminals open the full data upload channel of the central gateway through the remote diagnosis instruction 2E service and upload the data to the OSS server. The cloud platform then downloads the data through the OSS server and parses the Ethernet UDP message into the standard asc file format defined by Vector.

[0056] Specifically, the method includes an intelligent terminal, a central gateway, a body domain controller, a cloud platform and other LIN and CAN node ECUs of the whole vehicle.

[0057] The body domain controller mainly collects the CAN and LIN messages of the node ECU below and sends them to the central gateway. The central gateway collects the CANFD and LIN messages of all nodes and sends them to the smart terminal. The smart terminal collects the Ethernet messages converted by the gateway and sends them to the cloud platform.

[0058] Figure 2 A schematic diagram showing an Ethernet UDP message format according to an embodiment of the present invention is shown.

[0059] The central gateway collects messages on each CAN (FD) / LIN segment connected to it, including message ID, data field length, data field content, segment type, segment identification, segment status, and message reception / transmission timestamp. It is mirrored into Ethernet UDP messages and transmitted to the smart terminal, which then uploads them to the cloud platform. The central gateway not only uploads the messages received on the CAN (FD) / LIN segment to the smart terminal, but also mirrors the messages sent on the CAN (FD) / LIN segment into Ethernet UDP messages and transmits them to the smart terminal. The Ethernet UDP message format is as follows: Figure 2 As shown in the figure, the header and data formats refer to Auto SAR Specification of Bus Mirroring. The timestamp comes from the intelligent terminal as the Global Time Master, which obtains the global time of GNSS and sends it to the central gateway through the time synchronization technology. The central gateway puts the timestamp in each frame of Ethernet message.

[0060] The intelligent terminal receives the data uploaded by the gateway, reads the information from the Header to the end of the Data after receiving it, stores it as a bin file for compression, and compresses it into tar.gz format. The intelligent terminal detects the Sequence Number in the Ethernet message sent by the central gateway, and the number of the sent message is accumulated from 0 in sequence. In the next cycle, it will be counted again from 0. If the intelligent terminal detects that the Sequence Number is discontinuous, that is, it recognizes the situation of frame loss in the Ethernet link, it is necessary to add special characters to the corresponding Sequence Number part to prompt the loss of the message. For example, if the Ethernet message Sequence xx is lost, the prompt information is inserted at Sequence xx in the uploaded file content: "The xxth packet data is lost." The general file name is VIN-year-month-day-hour-minute-second.

[0061] The files are stored in EMMC, and a certain amount of space is planned in advance. At the same time, the intelligent terminal is required to recognize special events. After a special event occurs, the data before and after 10 seconds needs to be uploaded to the cloud platform, and the currently recorded data packets are renamed "VIN-year-month-day-hour-minute-second-signal name" and uploaded to the cloud platform, so that the corresponding data can be quickly located during subsequent problem troubleshooting.

[0062] Special events mainly include: collision, power system level 3 fault, vehicle network switching from sleep to wake-up, and other events defined for the convenience of test analysis. The data corresponding to special events has a higher priority and should not be overwritten by data without special events; ordinary data without special events should be cyclically overwritten after the corresponding cache is exhausted.

[0063] Figure 3 A schematic diagram showing an interaction process according to an embodiment of the present invention is shown.

[0064] The user can see the vehicle online through the cloud platform and send instructions to the smart terminal through MQTT. The smart terminal opens the full data upload channel of the gateway through the remote diagnosis instruction 2E service, and uploads the data to the OSS server in a 10s cycle. The cloud platform then downloads the data through the OSS server and parses the special UDP data packet into the standard asc format file format defined by Vector, which is convenient for development engineers to quickly view. The overall interaction process is as follows Figure 3 shown.

[0065] Example 2

[0066] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; a processor, the processor runs the executable instructions in the memory to realize the above-mentioned vehicle full data

[0067] Upload method.

[0068] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.

[0069] The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.

[0070] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory.

[0071] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.

[0072] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0073] Those skilled in the art should understand that the purpose of the above description of the embodiments of the present invention is only to exemplarily illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.

[0074] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A method for uploading full vehicle data, characterized in that: include: The body domain controller collects CAN and LIN messages from the node ECU and sends them to the central gateway; The central gateway collects CAN and LIN messages of all nodes and Ethernet UDP messages of message mirroring and sends them to the intelligent terminal; The smart terminal collects the Ethernet UDP messages converted by the gateway and sends them to the cloud platform.

2. The method for uploading full vehicle data according to claim 1, wherein: The content of the message includes: Message ID, data field length, data field content, network segment type, network segment identification, network segment status, message receiving / sending timestamp.

3. The method for uploading full vehicle data according to claim 1, wherein: The format of Ethernet UDP message includes Eth, IP, UDP, Header, and Data.

4. The method for uploading full vehicle data according to claim 3, wherein: Also includes: After receiving the Ethernet UDP message, the intelligent terminal reads the information from Header to the end of Data, stores it as a bin file for compression, and compresses it into a tar.gz format; The intelligent terminal detects the Sequence Number in the Ethernet UDP message, and the numbers of the sent messages are accumulated from 0. If the Sequence Number is discontinuous, it is identified as frame loss in the Ethernet link, and the corresponding Sequence Number part is marked to indicate that the message is lost.

5. The method for uploading full vehicle data according to claim 1, wherein: Also includes: The intelligent terminal identifies a special event according to the Ethernet UDP message; After identifying the special event, the special event is uploaded to the cloud platform within a set time threshold.

6. The method for uploading full vehicle data according to claim 5, wherein: The special events include: Collision occurs, power system level 3 failure, vehicle network switches from sleep to wake-up, and other events defined for test analysis.

7. The method for uploading full vehicle data according to claim 5, wherein: The set time threshold is 10s.

8. The method for uploading full vehicle data according to claim 5, wherein: The priority of the data corresponding to the special event is changed to the data corresponding to no special event, and the data corresponding to no special event is cyclically overwritten after the cache is exhausted.

9. The method for uploading full vehicle data according to claim 1, wherein: Also includes: The user views the vehicle online in real time through the cloud platform and sends instructions to the smart terminal through MQTT. The real-time smart terminal opens the full data upload channel of the central gateway through the remote diagnosis instruction 2E service and uploads the data to the OSS server. The cloud platform then downloads the Ethernet UDP message through the OSS server and parses it into the standard asc file format defined by Vector.

10. An electronic device, characterized in that: The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the method for uploading full vehicle data as described in any one of claims 1-9.