Vehicle calibration method and system and storage medium

Through wireless communication between the mobile terminal and the cloud server, the vehicle ECU is calibrated using the calibration files stored in the cloud, which solves the problems of expensive equipment and complex connections in the existing technology and achieves efficient and low-cost vehicle calibration.

CN118632215APending Publication Date: 2024-09-10NEUSOFT REACH AUTOMOBILE TECH (SHENYANG) CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410702521.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing vehicle calibration technology requires the use of expensive professional equipment, resulting in higher costs and complex equipment connections, which affects efficiency.

Method used

The mobile terminal sends a request to the cloud server, and the cloud server searches for and returns the corresponding calibration file. The mobile terminal performs wireless calibration of the vehicle ECU based on the file, avoiding the use of expensive professional equipment.

Benefits of technology

It realizes wireless calibration, reduces calibration costs, simplifies the device connection process, and improves efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632215A
    Figure CN118632215A
Patent Text Reader

Abstract

The invention discloses a vehicle calibration method and system and a storage medium, which can realize wireless calibration without using expensive professional calibration equipment so as to reduce the calibration cost. The vehicle calibration method comprises the following steps: a mobile terminal sends a first request for acquiring a calibration file to a cloud server; the cloud server sends a second request for acquiring the vehicle-mounted ECU information to the vehicle-mounted gateway based on the first request; the vehicle-mounted gateway returns the information of the to-be-calibrated vehicle-mounted ECU to the cloud server based on the second request; the cloud server searches a corresponding calibration file based on the vehicle-mounted ECU information and returns the calibration file to the mobile terminal; wherein calibration files corresponding to various vehicle-mounted ECUs are stored in the cloud server; and the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of vehicle intelligence and networking, the number of Electronic Control Units (ECU), the core of the electronic control system in a vehicle, has grown explosively.

[0003] In the actual development process, the complexity of the control algorithms and parameters inside the ECU also increases. In order to ensure that hundreds of parameters and signal quantities need to be effectively controlled and adjusted during the operation of the ECU, the ECU is usually calibrated during the development process to adjust and optimize some variable parameters to meet the needs of different engines and models. In related technologies, professional calibration tools are usually required, and the calibration tools are electrically connected to the vehicle through a large number of wiring harnesses to transmit calibration data. However, professional calibration tools are relatively expensive, resulting in high calibration costs. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of the present application is to propose a vehicle calibration method, system and storage medium, which can realize wireless calibration without using expensive professional calibration equipment, thereby reducing the calibration cost.

[0005] In a first aspect, this embodiment provides a vehicle calibration method, including:

[0006] The mobile terminal sends a first request for obtaining a calibration file to the cloud server;

[0007] The cloud server sends a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request;

[0008] The vehicle gateway returns the information of the vehicle ECU to be calibrated to the cloud server based on the second request;

[0009] The cloud server searches for a corresponding calibration file based on the vehicle-mounted ECU information, and returns the calibration file to the mobile terminal; wherein the cloud server stores calibration files corresponding to multiple vehicle-mounted ECUs;

[0010] The mobile terminal calibrates the vehicle-mounted ECU based on the calibration file.

[0011] In some embodiments, before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file, the method further includes:

[0012] The mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, so that the mobile terminal can perform data transmission with the vehicle-mounted ECU.

[0013] In some embodiments, the mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, including:

[0014] The mobile terminal sends device information of the mobile terminal to the cloud server; the device information of the mobile terminal includes at least one of the following: a physical address and an IP address;

[0015] The cloud server sends the device information of the mobile terminal to the vehicle gateway;

[0016] The vehicle gateway obtains the key, generates a ciphertext based on the device information and the key of the mobile terminal, and returns the ciphertext to the cloud server;

[0017] The cloud server returns the ciphertext and the corresponding key to the mobile terminal;

[0018] The mobile terminal obtains a login password based on the ciphertext and the key, and establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password.

[0019] In some embodiments, the vehicle gateway generates a ciphertext based on the device information and key of the mobile terminal, including:

[0020] The vehicle-mounted gateway obtains the preset bytes of the physical address of the mobile terminal and obtains the preset bytes of the IP address;

[0021] The vehicle gateway obtains a random number, and replaces a first target byte and a second target byte of the random number with a preset byte of the physical address of the mobile terminal and a preset byte of the IP address, respectively, to obtain a plain text;

[0022] The vehicle-mounted gateway encrypts the plaintext and the key to generate ciphertext.

[0023] In some embodiments, the preset bit bytes of the physical address of the mobile terminal include: a first byte of the physical address;

[0024] The preset bytes of the IP address include: the first byte of the IP address;

[0025] The first target bit byte of the random number includes: the first byte of the random number;

[0026] The second target byte of the random number includes: the last byte of the random number.

[0027] In some embodiments, the calibration file includes: basic information of the vehicle-mounted ECU, and the A2L file required for calibration; wherein the basic information of the vehicle-mounted EUC includes: ECU ID, ECU hardware version information, ECU software version information; the calibration file is saved in JSON format.

[0028] In some embodiments, the calibration file includes multiple sub-files formed by unpacking the A2L file, and each sub-file has a serial number.

[0029] In some embodiments, before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file, the method further includes:

[0030] The vehicle gateway obtains the communication category of the vehicle ECU from the calibration configuration table;

[0031] If the communication type is CAN bus communication, determine to use the CAN calibration mode to calibrate the on-board ECU;

[0032] If the communication type is Ethernet communication, it is determined to use the Ethernet calibration mode to calibrate the vehicle-mounted ECU.

[0033] In a second aspect, this embodiment provides a vehicle calibration system, including: a cloud server, a mobile terminal and a vehicle gateway, wherein:

[0034] The mobile terminal is used to send a first request for obtaining a calibration file to the cloud server;

[0035] The cloud server is used to send a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request;

[0036] The vehicle gateway is used to return the information of the vehicle ECU to be calibrated to the cloud server based on the second request;

[0037] The cloud server is used to search for corresponding calibration files based on the vehicle-mounted ECU information and return the calibration files to the mobile terminal; wherein the cloud server stores calibration files corresponding to multiple vehicle-mounted ECUs;

[0038] The mobile terminal is used to calibrate the vehicle-mounted ECU based on the calibration file.

[0039] In a third aspect, this embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the above items is implemented.

[0040] The vehicle calibration method provided in the present application sends a first request for obtaining a calibration file to a cloud server through a mobile terminal. The cloud server sends a second request for obtaining vehicle-mounted ECU information to a vehicle-mounted gateway based on the first request. The vehicle-mounted gateway returns the information of the vehicle-mounted ECU to be calibrated to the cloud server based on the second request. The cloud server searches for the corresponding calibration file based on the vehicle-mounted ECU information and returns the calibration file to the mobile terminal. The mobile terminal calibrates the vehicle-mounted ECU based on the calibration file. In this way, not only wireless calibration can be achieved, but also expensive professional calibration equipment does not need to be used, which can reduce the calibration cost.

[0041] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a flow chart of a vehicle calibration method provided by an exemplary embodiment;

[0043] Figure 2 is a schematic diagram of the interaction between a mobile terminal, a cloud server and a vehicle-mounted gateway provided by an exemplary embodiment;

[0044] Figure 3 It is a schematic diagram of the structure of a vehicle calibration system provided by an exemplary embodiment. DETAILED DESCRIPTION

[0045] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0046] This embodiment provides a vehicle calibration method, which can utilize the vehicle's own communication module, utilize calibration files pre-stored in a cloud server, and utilize a mobile terminal to implement whole-vehicle calibration. It can not only implement wireless calibration, but also eliminate the need for expensive professional calibration equipment, thereby reducing calibration costs.

[0047] The implementation process of the vehicle calibration method of the embodiment of the present application is described below with reference to the accompanying drawings.

[0048] Figure 1 is a flow chart of a vehicle calibration method provided by an exemplary embodiment. Figure 1 The vehicle calibration method provided in this embodiment includes the following steps:

[0049] Step S101: The mobile terminal sends a first request for obtaining a calibration file to a cloud server;

[0050] Step S102: The cloud server sends a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request;

[0051] Step S103: The vehicle gateway returns the information of the vehicle ECU to be calibrated to the cloud server based on the second request;

[0052] Step S104: the cloud server searches for the corresponding calibration file based on the vehicle-mounted ECU information, and returns the calibration file to the mobile terminal; wherein the cloud server stores calibration files corresponding to multiple vehicle-mounted ECUs;

[0053] Step S105: The mobile terminal calibrates the vehicle-mounted ECU based on the calibration file.

[0054] In step S101, the mobile terminal may be a handheld terminal such as a tablet computer, or a portable terminal such as a notebook computer. The mobile terminal can realize the function of a host computer.

[0055] Before step S101, the mobile terminal may establish a wireless communication connection with the cloud server in advance. Optionally, in order to improve data security, the mobile terminal may first initiate an authentication request to the cloud server, and the authentication request may include the device identifier or user identity identifier of the mobile terminal; the cloud server confirms that the device identifier or user identity identifier in the authentication request exists, and then allows the mobile terminal to perform wireless communication. If the mobile terminal establishes a wireless communication connection with the cloud server for the first time, the mobile terminal needs to send a registration request to the cloud server so that the cloud server can store the device identifier or user identity identifier.

[0056] In step S102, after receiving the first request, the cloud server parses the first request to determine that the request is for obtaining the calibration file, and then generates a second request and sends it to the vehicle-mounted gateway of the vehicle to obtain the vehicle-mounted ECU information. In order to improve data security, the communication data between the cloud server and the vehicle-mounted gateway is encrypted using the HTTPS protocol.

[0057] In step S103, after receiving the second request, the vehicle gateway parses the second request and determines that the request is used to request the vehicle ECU information to be calibrated. The vehicle gateway itself stores the vehicle ECU information, or obtains the vehicle ECU information from other devices on the vehicle. The vehicle gateway generates a first response message based on the vehicle ECU information and returns it to the cloud server. In addition, the first response message may also include a vehicle VIN code, also known as a vehicle identification code, which is used to uniquely identify the vehicle.

[0058] In step S104, after receiving the first response message, the cloud server processes the first response message to obtain the vehicle ECU information to be calibrated and the vehicle VIN code. The cloud server finds the corresponding calibration file based on the vehicle VIN code and the vehicle ECU information to be calibrated. Among them, the vehicle VIN code can be used to determine the vehicle model. The cloud server stores calibration files corresponding to the vehicle ECU under multiple vehicle models. The cloud server generates a second response message based on the calibration file and sends the second response message to the mobile terminal.

[0059] In step S105, after receiving the second response information, the mobile terminal parses the second response information to obtain a calibration file. Optionally, the mobile terminal can also obtain a login password based on the second response information, so that the mobile terminal can establish a wireless communication connection with the vehicle through the login password, and then the mobile terminal can perform data transmission with the vehicle-mounted ECU until the calibration is completed.

[0060] The vehicle calibration method provided in this embodiment sends a first request for obtaining a calibration file to a cloud server through a mobile terminal. The cloud server sends a second request for obtaining the vehicle ECU information to the vehicle gateway based on the first request. The vehicle gateway returns the information of the vehicle ECU to be calibrated to the cloud server based on the second request. The cloud server searches for the corresponding calibration file based on the vehicle ECU information and returns the calibration file to the mobile terminal. The mobile terminal calibrates the vehicle ECU based on the calibration file. In this way, not only wireless calibration can be achieved, but also expensive professional calibration equipment is not required, which can reduce the calibration cost.

[0061] In some embodiments, in order to improve the communication security between the mobile terminal and the vehicle, before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file in step S105, this embodiment further includes:

[0062] The mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, so that the mobile terminal can transmit data with the vehicle-mounted ECU.

[0063] Among them, the vehicle-mounted TBOX is a remote communication terminal on the vehicle, integrating functions such as body network and wireless communication. Exemplarily, the vehicle-mounted TBOX may include: 5G module, GPS module, Bluetooth module, Ethernet module, CAN communication module, power module, Airbag module, E / B-call module, etc.

[0064] In some examples, the mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, which may specifically include the following steps a1 to a5:

[0065] Step a1: The mobile terminal sends device information of the mobile terminal to the cloud server; the device information of the mobile terminal includes at least one of the following: a physical address and an IP address;

[0066] Step a2: The cloud server sends the device information of the mobile terminal to the vehicle gateway;

[0067] Step a3: The vehicle gateway obtains the key, generates ciphertext based on the device information and key of the mobile terminal, and returns the ciphertext to the cloud server;

[0068] Step a4: The cloud server returns the ciphertext and the corresponding key to the mobile terminal;

[0069] Step a5: The mobile terminal obtains the login password based on the ciphertext and the key, and establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password.

[0070] In step a1, when the mobile terminal sends the first request to the cloud server, the device information of the mobile terminal may be sent at the same time. The device information of the mobile terminal may be merged into the first request. In other examples, the mobile terminal may also send the first request and the device information of the mobile terminal to the cloud server separately.

[0071] In step a2, the cloud server may combine the device information of the mobile device into the second request and send it to the vehicle gateway. In other examples, the cloud server may also send the second request and the device information of the mobile terminal to the vehicle gateway separately.

[0072] In step a3, the vehicle gateway may obtain the key from itself, or the vehicle gateway may obtain the key from other devices in the vehicle. The vehicle gateway generates ciphertext based on the device information and key of the mobile terminal. For example, the vehicle gateway may process the device information of the mobile terminal to obtain plaintext, and obtain the ciphertext based on the plaintext and the key. The vehicle gateway returns the key and the ciphertext to the cloud server. In other examples, the vehicle gateway may also only return the ciphertext to the cloud server, and the cloud server stores the corresponding key.

[0073] Exemplarily, the vehicle-mounted gateway generates ciphertext based on the device information and key of the mobile terminal, including the following steps a31 to a33:

[0074] Step a31, the vehicle gateway obtains the preset bytes of the physical address of the mobile terminal and obtains the preset bytes of the IP address;

[0075] Step a32: the vehicle gateway obtains a random number, and replaces the first target byte and the second target byte of the random number with the preset byte of the physical address and the preset byte of the IP address of the mobile terminal, respectively, to obtain plain text;

[0076] Step a33: The vehicle-mounted gateway encrypts the plaintext and the key to generate ciphertext.

[0077] Among them, the preset bit bytes of the physical address of the mobile terminal include: the first byte of the physical address; the preset bit bytes of the IP address include: the first byte of the IP address; the first target bit bytes of the random number include: the first byte of the random number; the second target bit bytes of the random number include: the last byte of the random number.

[0078] For example, the security chip of the vehicle gateway generates a 256-bit random number. The vehicle gateway replaces the first byte and the last byte of the 256-bit random number with the first byte of the physical address and the first byte of the IP address to obtain plain text. The plain text and the 256-bit key built into the vehicle gateway generate cipher text through the AES256 algorithm.

[0079] In step a4, when the cloud server returns the second response information, it also returns the key and the ciphertext to the mobile terminal. The key and the ciphertext may be incorporated into the second response information. Optionally, the calibration file may include the key. In other examples, the cloud server may also return the second response information and the ciphertext to the mobile terminal separately.

[0080] In step a5, the mobile terminal can decrypt the ciphertext and key to obtain the login password, and establish a wireless communication connection with the vehicle-mounted TBOX based on the login password, so that the mobile terminal can transmit data with the vehicle-mounted ECU. The vehicle-mounted gateway sends the ciphertext and key to the vehicle-mounted TBOX in advance, so that the vehicle-mounted TBOX can obtain the login password and verify the mobile terminal; or the vehicle-mounted gateway directly sends the login password to the vehicle-mounted TBOX.

[0081] Optionally, the mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX via Wi-Fi.

[0082] In other examples, the cloud server may also perform decryption based on the ciphertext and the key to obtain the login password, and then return the login password to the mobile terminal.

[0083] In this embodiment, through the above settings, the communication security between the vehicle and the mobile terminal can be ensured, thereby improving the data security of the vehicle.

[0084] In some embodiments, the calibration file includes: basic information of the vehicle-mounted ECU, and the A2L file required for calibration; wherein the basic information of the vehicle-mounted EUC includes: ECU ID, ECU hardware version information, ECU software version information; the calibration file is saved in JSON format.

[0085] Exemplarily, before the cloud server searches for the corresponding calibration file based on the vehicle ECU information in step S105, this embodiment further includes the following steps b1 to b2:

[0086] Step b1, the cloud server obtains the basic information of multiple vehicle-mounted ECUs and the A2L file required for calibration; wherein the basic information of the vehicle-mounted EUC includes: ECU ID, ECU hardware version information, and ECU software version information;

[0087] Step b2: The cloud server converts the basic information of the vehicle ECU and the A2L file into a calibration file in JSON format.

[0088] In step b1, the developer inputs the basic information of each vehicle-mounted ECU into the cloud server in advance to obtain the calibration survey form, as shown in Table 1. The basic information of the vehicle-mounted EUC includes: ECU ID (Identity document, identity code, referred to as ID), ECU hardware version information, and ECU software version information.

[0089]

[0090]

[0091] Table 1

[0092] The developer can input the A2L file into the cloud server, or the cloud server can download the A2L file from the network. The A2L file defines the information required for communication between the host computer and the ECU during the calibration process.

[0093] In step b2, the calibration survey form and the A2L file are converted into a calibration file in JSON (JavaScript Object Notation) format. The JSON format file occupies less storage space, is easy to transmit, and is easy to parse.

[0094] Exemplarily, step b2, the cloud server converts the basic information of the vehicle ECU and the A2L file into a calibration file in JSON format, including the following steps b21 to b22:

[0095] Step b21, the cloud server converts the basic information of the vehicle ECU and the A2L file into a JSON file;

[0096] Step b22: The cloud server unpacks the JSON file and sets a serial number for each unpacked sub-file.

[0097] In step b22, in order to prevent the JSON file corresponding to the A2L file from being too large, the JSON file is split according to the size of 512 bytes, and a serial number is configured for each data packet after the split. The setting of the serial number facilitates the subsequent accurate search of the file. It can be understood that the JSON file corresponding to each sub-file after the split and the basic information of the vehicle ECU constitute the calibration file corresponding to the vehicle ECU.

[0098] In other examples, the above steps b1 to b2, or steps 21 to b22, may also be performed by the developer using his local device.

[0099] In some embodiments, before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file in step S105, the present embodiment further includes the following steps c1 to c3:

[0100] Step c1, the vehicle gateway obtains the communication category of the vehicle ECU from the calibration configuration table;

[0101] Step c2: if the communication type is CAN bus communication, determine to use the CAN calibration mode to calibrate the vehicle-mounted ECU;

[0102] Step c3: If the communication type is Ethernet communication, determine to use the Ethernet calibration mode to calibrate the vehicle-mounted ECU.

[0103] In step c1, the calibration configuration table stores the ECU ID and the communication category of the vehicle ECU. The vehicle gateway may have a built-in calibration configuration table, or the vehicle gateway obtains the calibration configuration table from other devices in the vehicle. Then, the vehicle gateway can find the communication category of the vehicle ECU from the calibration configuration table according to the ID of the vehicle ECU to be calibrated. The communication categories include CAN bus communication and Ethernet communication.

[0104] In step c2, in the CAN calibration mode, after the mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX, taking the mobile terminal sending data to the vehicle-mounted TBOX as an example, the vehicle-mounted TBOX routes the data to the vehicle-mounted gateway, and the vehicle-mounted gateway calibrates the vehicle-mounted ECU through the internal xcp (Universal Measurement and Calibration Protocol) and ccp (CAN Calibration Protocol) conversion module.

[0105] In step a3, in Ethernet calibration mode, after the mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX, taking the mobile terminal sending data to the vehicle-mounted TBOX as an example, the vehicle-mounted TBOX routes the data to the vehicle-mounted gateway, and the vehicle-mounted gateway directly routes the data to the vehicle-mounted ECU.

[0106] In the specific calibration process, the mobile terminal has the function of a host computer. Compared with embedding the above functions of the mobile terminal in this embodiment on the vehicle-mounted device, this embodiment realizes the above functions through the mobile terminal, which greatly reduces the difficulty.

[0107] The following is an example of the implementation process of the vehicle calibration method provided in this embodiment. Figure 2 This is a schematic diagram of the interaction between a mobile terminal, a cloud server and a vehicle gateway provided by an exemplary embodiment. Figure 2 , the embodiment specifically includes:

[0108] Step S201: The mobile terminal sends a first request for obtaining a calibration file to the cloud server; and the mobile terminal sends device information of the mobile terminal to the cloud server; the device information of the mobile terminal includes at least one of the following: a physical address and an IP address;

[0109] Step S202: The cloud server sends a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request; and the cloud server sends the device information of the mobile terminal to the vehicle gateway;

[0110] Step S203: the vehicle gateway obtains the first byte of the physical address of the mobile terminal and the second byte of the IP address; the vehicle gateway obtains a random number, and replaces the first byte and the last byte of the random number with the first byte of the physical address of the mobile terminal and the second byte of the IP address, respectively, to obtain plain text; the vehicle gateway encrypts the plain text and the key to generate cipher text;

[0111] Step S204: The vehicle gateway returns the vehicle ECU information of the vehicle ECU to be calibrated to the cloud server based on the second request; and the vehicle gateway sends the ciphertext to the cloud server;

[0112] Step S205: The cloud server searches for the corresponding calibration file based on the vehicle ECU information and returns the calibration file to the mobile terminal; and the cloud server sends the ciphertext to the mobile terminal; wherein the calibration file contains the key required to decrypt the ciphertext;

[0113] Step S206: The mobile terminal obtains a login password based on the ciphertext and the key, and establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password;

[0114] Step S207, the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file; during the calibration process, taking data from the mobile terminal to the vehicle-mounted ECU as an example, the vehicle-mounted TBOX routes the data sent by the mobile terminal to the vehicle-mounted gateway, and the vehicle-mounted gateway then transmits the data to the vehicle-mounted ECU. The specific calibration implementation process can adopt conventional settings, and this embodiment is not specifically limited here.

[0115] In this embodiment, there is no need to use expensive professional calibration equipment for calibration. Instead, the existing hardware equipment in the vehicle can be used in combination with a mobile device that is easy for the calibrator to carry to achieve calibration. At the same time, it avoids connecting a large number of wiring harnesses to the vehicle end, thereby reducing the cost of calibrating the vehicle.

[0116] In order to better implement the vehicle calibration method of the embodiment of the present application, the embodiment of the present application also provides a vehicle calibration system. Figure 3 For a schematic diagram of the structure of a vehicle calibration system provided in an embodiment of the present application, please refer to Figure 3 The vehicle calibration system of this embodiment includes: a cloud server 302, a mobile terminal 301 and a vehicle gateway 303, wherein:

[0117] The mobile terminal 301 is used to send a first request for obtaining a calibration file to the cloud server 302;

[0118] The cloud server 302 is used to send a second request for obtaining the vehicle ECU information to the vehicle gateway 303 based on the first request;

[0119] The vehicle gateway 303 is used to return the information of the vehicle ECU to be calibrated to the cloud server 302 based on the second request;

[0120] The cloud server 302 is used to search for corresponding calibration files based on the vehicle-mounted ECU information and return the calibration files to the mobile terminal 301; wherein the cloud server 302 stores calibration files corresponding to various vehicle-mounted ECUs;

[0121] The mobile terminal 301 is used to calibrate the vehicle-mounted ECU based on the calibration file.

[0122] In some embodiments, the mobile terminal is used to establish a wireless communication connection with the vehicle-mounted TBOX based on the login password, so that the mobile terminal can perform data transmission with the vehicle-mounted ECU.

[0123] In some embodiments, the mobile terminal is specifically used to send device information of the mobile terminal to the cloud server; the device information of the mobile terminal includes at least one of the following: a physical address, an IP address;

[0124] The cloud server is used to send device information of the mobile terminal to the vehicle gateway;

[0125] The vehicle gateway is used to obtain the key, generate ciphertext based on the device information and key of the mobile terminal, and return the ciphertext to the cloud server;

[0126] The cloud server is used to return the ciphertext and the corresponding key to the mobile terminal;

[0127] The mobile terminal is used to obtain a login password based on the ciphertext and the key, and to establish a wireless communication connection with the vehicle-mounted TBOX based on the login password.

[0128] In some embodiments, the vehicle-mounted gateway is used to obtain a preset byte of the physical address of the mobile terminal and obtain a preset byte of the IP address;

[0129] The vehicle gateway is used to obtain a random number, and replace the first target byte and the second target byte of the random number with the preset byte of the physical address and the preset byte of the IP address of the mobile terminal, respectively, to obtain a plain text;

[0130] The vehicle gateway is used to encrypt plain text and keys to generate ciphertext.

[0131] In some embodiments, the preset bytes of the physical address of the mobile terminal include: a first byte of the physical address;

[0132] The preset bytes of the IP address include: the first byte of the IP address;

[0133] The first target bit byte of the random number includes: the first byte of the random number;

[0134] The second target byte of the random number includes: the last byte of the random number.

[0135] In some embodiments, the calibration file includes: basic information of the vehicle-mounted ECU, and the A2L file required for calibration; wherein the basic information of the vehicle-mounted EUC includes: ECU ID, ECU hardware version information, ECU software version information; the calibration file is saved in JSON format.

[0136] In some embodiments, the calibration file includes multiple sub-files formed by unpacking the A2L file, and each sub-file has a serial number.

[0137] In some embodiments, the vehicle gateway is used to: obtain the communication category of the vehicle ECU from the calibration configuration table; if the communication category is CAN bus communication, determine to use the CAN calibration mode to calibrate the vehicle ECU; if the communication category is Ethernet communication, determine to use the Ethernet calibration mode to calibrate the vehicle ECU.

[0138] In some embodiments, the present application further provides a mobile electronic device, including a memory and a processor, the memory is used to store executable instructions of the processor, and the processor is configured to execute the relevant steps in the above-mentioned method embodiments by executing the executable instructions. Among them, the electronic device can be the mobile terminal in the above-mentioned embodiment, and can also be the vehicle-mounted gateway in the above-mentioned embodiment.

[0139] The processor may include one or more processing cores. The memory may include one or more computer-readable storage media. The memory stores a computer program, which can be run on the processor. The processor is electrically connected to the memory. Those skilled in the art will appreciate that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0140] The processor of the embodiment of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, and other mature storage media in the art. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0141] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0142] The above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory.

[0143] In some embodiments, the present application further provides a computer-readable storage medium, which stores a computer program. The computer-readable storage medium can be applied to electronic devices such as mobile terminals or vehicle-mounted gateways, and the computer program enables the electronic device to execute the corresponding process in the method in the embodiment of the present application, which will not be described here for the sake of brevity.

[0144] In some embodiments, the present application further provides a computer program product, which includes a computer program stored in a computer-readable storage medium. The processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes the corresponding process in the method in the embodiment of the present application, which will not be described here for the sake of brevity.

[0145] In some embodiments, the present application further provides a computer program, which includes a computer program, and the computer program is stored in a computer-readable storage medium. The processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device executes the corresponding process in the method in the embodiment of the present application, which will not be repeated here for the sake of brevity.

[0146] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0147] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0148] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0149] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0150] In addition, each functional unit in the embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0151] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for an electronic device (which can be a personal computer, a server) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.

[0152] It should be noted that the logic and / or steps represented in the flowchart or described in other ways herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or equipment (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or equipment and execute instructions), or used in combination with these instruction execution systems, devices or equipment.

[0153] For the purposes of this specification, a "computer readable medium" may be any device that can contain, store, communicate, propagate or transport a program for use with or in conjunction with an instruction execution system, apparatus or device. More specific examples (a non-exhaustive list) of computer readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM).

[0154] In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0155] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A vehicle calibration method, characterized in that: include: The mobile terminal sends a first request for obtaining a calibration file to the cloud server; The cloud server sends a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request; The vehicle gateway returns the information of the vehicle ECU to be calibrated to the cloud server based on the second request; The cloud server searches for a corresponding calibration file based on the vehicle-mounted ECU information, and returns the calibration file to the mobile terminal; wherein the cloud server stores calibration files corresponding to multiple vehicle-mounted ECUs; The mobile terminal calibrates the vehicle-mounted ECU based on the calibration file.

2. The vehicle calibration method according to claim 1, characterized in that: Before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file, the method further includes: The mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, so that the mobile terminal can perform data transmission with the vehicle-mounted ECU.

3. The vehicle calibration method according to claim 2, characterized in that: The mobile terminal establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password, including: The mobile terminal sends device information of the mobile terminal to the cloud server; the device information of the mobile terminal includes at least one of the following: a physical address and an IP address; The cloud server sends the device information of the mobile terminal to the vehicle gateway; The vehicle gateway obtains the key, generates a ciphertext based on the device information and the key of the mobile terminal, and returns the ciphertext to the cloud server; The cloud server returns the ciphertext and the corresponding key to the mobile terminal; The mobile terminal obtains a login password based on the ciphertext and the key, and establishes a wireless communication connection with the vehicle-mounted TBOX based on the login password.

4. The vehicle calibration method according to claim 3, characterized in that: The vehicle-mounted gateway generates a ciphertext based on the device information and the key of the mobile terminal, including: The vehicle-mounted gateway obtains the preset bytes of the physical address of the mobile terminal and obtains the preset bytes of the IP address; The vehicle gateway obtains a random number, and replaces a first target byte and a second target byte of the random number with a preset byte of the physical address of the mobile terminal and a preset byte of the IP address, respectively, to obtain a plain text; The vehicle-mounted gateway encrypts the plaintext and the key to generate ciphertext.

5. The vehicle calibration method according to claim 4, characterized in that: The preset bit bytes of the physical address of the mobile terminal include: the first byte of the physical address; The preset bytes of the IP address include: the first byte of the IP address; The first target bit byte of the random number includes: the first byte of the random number; The second target byte of the random number includes: the last byte of the random number.

6. The vehicle calibration method according to claim 1, characterized in that: The calibration file includes: basic information of the vehicle-mounted ECU and the A2L file required for calibration; wherein the basic information of the vehicle-mounted EUC includes: ECU ID, ECU hardware version information, and ECU software version information; the calibration file is saved in JSON format.

7. The vehicle calibration method according to claim 6, characterized in that: The calibration file includes a plurality of sub-files formed by unpacking the A2L file, and each sub-file has a serial number.

8. The vehicle calibration method according to claim 1, characterized in that: Before the mobile terminal calibrates the vehicle-mounted ECU based on the calibration file, the method further includes: The vehicle gateway obtains the communication category of the vehicle ECU from the calibration configuration table; If the communication type is CAN bus communication, determine to use the CAN calibration mode to calibrate the on-board ECU; If the communication type is Ethernet communication, it is determined to use the Ethernet calibration mode to calibrate the vehicle-mounted ECU.

9. A vehicle calibration system, characterized in that: include: Cloud server, mobile terminal and vehicle gateway, including: The mobile terminal is used to send a first request for obtaining a calibration file to the cloud server; The cloud server is used to send a second request for obtaining vehicle ECU information to the vehicle gateway based on the first request; The vehicle gateway is used to return the information of the vehicle ECU to be calibrated to the cloud server based on the second request; The cloud server is used to search for corresponding calibration files based on the vehicle-mounted ECU information and return the calibration files to the mobile terminal; wherein the cloud server stores calibration files corresponding to multiple vehicle-mounted ECUs; The mobile terminal is used to calibrate the vehicle-mounted ECU based on the calibration file.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • File processing method and device, electronic equipment and computer readable storage medium

    CN118349530A

  • Automobile calibration method and device, vehicle-mounted gateway, vehicle-mounted communication box and storage medium

    CN119676299A

  • Automobile calibration method and device, vehicle gateway, vehicle communication box and storage medium

    CN119676299B

  • Active off-line calibration system and method for vehicle-mounted controller and vehicle-mounted controller

    CN120595776A

  • Calibration data loading method and system for key parts of full electric control system

    CN120669610A