A remote upgrading method based on automatic driving software of a tractor
Patent Information
- Application Number
- CN202411156051.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2026-10-09
AI Technical Summary
但现有的OTA升级需要将可移动载体行驶至固定地点进行软件升级,并且在升级时需要将可移动载体的所有功能模块开启,降低了可移动载体软件升级的方便性,同时增加了能耗,此外,上述升级方法中,需要专人手工操作计算机,完成固件的拷贝,文件选取,模块逐个进行更新、校验和记录,效率较低
[0022]与现有技术相比,本发明提供了一种基于牵引车自动驾驶软件远程升级方法,具备以下有益效果:
Smart Images

Figure CN122884491A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle software upgrade technology, and more specifically, to a method for remotely upgrading autonomous driving software for tractor-trailers. Background Technology
[0002] With the improvement of people's living standards, vehicles have become an indispensable means of transportation. Vehicles include various hardware devices, such as control and navigation systems, which contain software programs. To ensure normal vehicle operation, the software of these hardware devices needs to be upgraded. Furthermore, OTA (Over-The-Air) functionality for mobile vehicles refers to over-the-air download technology, enabling remote software management through mobile communication interfaces. OTA not only provides a more convenient way to upgrade vehicles but also allows consumers to experience a more intelligent and convenient experience. OTA upgrades can be divided into firmware upgrades and software upgrades. With the rapid development of new energy vehicles in recent years, OTA has brought even more convenient vehicle upgrades. However, existing OTA upgrades require the mobile vehicle to be driven to a fixed location for software upgrades, and all functional modules of the mobile vehicle need to be activated during the upgrade, reducing the convenience of software upgrades and increasing energy consumption. In addition, the above upgrade methods require a dedicated person to manually operate a computer to copy firmware, select files, update, verify, and record modules one by one, resulting in low efficiency. In addition, in the above upgrade method, all software updates, verifications and recording operations are done manually. Due to the influence of personnel quality, ability and work status, problems such as incorrect upgrade versions, incorrect upgrades, and omissions are prone to occur, resulting in a high error rate. Summary of the Invention
[0003] (a) Technical problems to be solved
[0004] In view of the problems existing in the prior art, the present invention provides a method for remotely upgrading the autonomous driving software of a tractor, so as to solve the technical problems mentioned in the background art.
[0005] (II) Technical Solution
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for remotely upgrading autonomous driving software of a tractor, comprising the following steps:
[0007] Step 1: Obtain the battery power information of the autonomous vehicle; wherein, the battery power information represents the power value of the battery carried by the autonomous vehicle, and when the control module installed on the mobile carrier receives a software upgrade instruction, obtain the current signal bandwidth information of the mobile carrier;
[0008] Step 2: Upon receiving a flashing request from the vehicle gateway, determine whether the vehicle's current status meets the software upgrade requirements; the flashing request is generated and sent by a remote diagnostic server or a local diagnostic tool, and real-time vehicle status data and corresponding owner preference data are obtained.
[0009] Step 3: Train an artificial intelligence model based on preference data to obtain a preference recognition model; filter upgrade packages based on the preference recognition model to obtain target upgrade packages; determine the software upgrade success rate based on the signal bandwidth information; when the software upgrade success rate is higher than the success rate threshold, determine the module to be upgraded based on the software upgrade instruction, and download the target software installation package based on the software upgrade instruction.
[0010] Step 4: The upgrade terminal receives vehicle information and firmware file attributes from the server; after verifying the vehicle information and VIN code, the upgrade terminal automatically selects a firmware file based on the firmware file attributes to upgrade the hardware modules of the autonomous vehicle. If the battery power information meets the software upgrade requirements of the autonomous vehicle, the first configuration file of the autonomous vehicle is obtained; wherein, the first configuration file includes the vehicle information of the autonomous vehicle and the version information of the currently installed software of the autonomous vehicle.
[0011] Step 5: Establish a communication connection with the remote server and send the first configuration file to the remote server for comparison and matching between the first configuration file and the second configuration file; wherein, the second configuration file is configured on the remote server, and the second configuration file includes the adapted vehicle information and the version information of the software to be upgraded; if the first configuration file and the second configuration file are successfully matched, then receive the software data package to be upgraded; wherein, the software data package to be upgraded includes the software file for software upgrade and the checksum of the software file, verify the checksum, and obtain the verification result; if the verification result is successful, then perform the software upgrade operation of the autonomous vehicle based on the software file.
[0012] The present invention is further configured such that the software data packet to be upgraded includes multiple sub-data packets, each of the sub-data packets being less than or equal to a preset data volume threshold; wherein, receiving the software data packet to be upgraded includes: sequentially receiving the multiple sub-data packets.
[0013] The present invention is further configured such that, if the current state of the vehicle meets the software upgrade conditions, a software upgrade package is obtained through multiple diagnostic services set on the SOC system-on-a-chip via inter-process communication (IPC); the electronic control unit to be flashed is determined according to the name of the obtained software upgrade package; if the electronic control unit to be flashed belongs to an MCU chip, the software upgrade package is sent to the corresponding electronic control unit to be flashed in the MCU chip through the Ethernet transmission channel between the SOC system-on-a-chip and the MCU chip.
[0014] The present invention is further configured to determine whether to issue an early warning based on the status data and the preset storage space; if yes, an early warning message is sent to the user terminal; if no, an upgrade status evaluation coefficient is calculated based on the status data.
[0015] The present invention is further configured to determine whether to issue a warning based on the upgrade status evaluation coefficient and a preset threshold; if yes, the vehicle is upgraded based on the target upgrade package; if no, a warning message is sent to the user terminal.
[0016] The present invention is further configured such that the real-time acquisition of the target vehicle's status data and the corresponding owner's preference data includes: the vehicle system acquiring the vehicle's status data and the corresponding owner's preference data; wherein, the status data includes: battery level, network speed, and remaining storage space; the preference data includes: the frequency distribution of driving mode selection, the usage frequency of vehicle configuration software, the software usage duration, and the usage frequency of driver assistance functions.
[0017] The present invention is further configured such that determining the software upgrade success rate based on the signal bandwidth information includes: determining a download bandwidth fluctuation value based on the signal bandwidth information; determining a signal fluctuation value based on the signal bandwidth information; determining a predicted software download duration based on the download bandwidth fluctuation value and the signal fluctuation value; and determining the software upgrade success rate based on the predicted software download duration.
[0018] The present invention is further configured such that the firmware file attributes include a firmware file version number.
[0019] The present invention is further configured such that the server and the upgrade terminal are connected via wireless network communication, and the barcode scanner and the upgrade terminal are connected via USB.
[0020] The present invention is further configured such that there are two servers: one is a local server located in the factory, used for storing upgrade result data; the other is a remote server located at the R&D end, used for storing and managing the released software firmware.
[0021] (III) Beneficial Effects
[0022] Compared with the prior art, the present invention provides a method for remotely upgrading the autonomous driving software of a tractor, which has the following beneficial effects:
[0023] This invention provides a vehicle software upgrade method, apparatus, device, and storage medium. It receives a flashing request from an onboard gateway via a System-on-a-Chip (SoC) to determine if the vehicle's current state meets the software upgrade conditions. If the current state meets the conditions, the software upgrade package is obtained through multiple diagnostic services on the SoC via inter-process communication (IPC). Furthermore, this invention acquires vehicle status data in real time and calculates an upgrade status evaluation coefficient based on this data. The upgrade status evaluation coefficient and a preset threshold are used to determine whether to issue a warning. Warnings are issued to the user when the network is poor or the battery is low, solving the problem of upgrade interruption or failure due to poor network or low battery. This allows for automatic software upgrades, eliminating unnecessary manual operation time. Personnel can perform other tasks during the automatic upgrade process, improving not only the efficiency of software upgrades but also indirectly increasing the production line's cycle time. Attached Figure Description
[0024] Figure 1 This is an overall flowchart of a remote upgrade method for autonomous driving software based on a tractor in this invention. Detailed Implementation
[0025] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0026] It should be noted that, unless otherwise specified, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains.
[0027] Please see Figure 1 A method for remotely upgrading autonomous driving software based on a tractor unit includes the following steps:
[0028] Step 1: Obtain the battery power information of the autonomous vehicle; wherein, the battery power information represents the power value of the battery carried by the autonomous vehicle, and when the control module installed on the mobile carrier receives a software upgrade instruction, obtain the current signal bandwidth information of the mobile carrier;
[0029] Step 2: Upon receiving a flashing request from the vehicle gateway, determine whether the vehicle's current status meets the software upgrade requirements; the flashing request is generated and sent by a remote diagnostic server or a local diagnostic tool, and real-time vehicle status data and corresponding owner preference data are obtained.
[0030] Step 3: Train an artificial intelligence model based on preference data to obtain a preference recognition model; filter upgrade packages based on the preference recognition model to obtain target upgrade packages; determine the software upgrade success rate based on the signal bandwidth information; when the software upgrade success rate is higher than the success rate threshold, determine the module to be upgraded based on the software upgrade instruction, and download the target software installation package based on the software upgrade instruction.
[0031] Step 4: The upgrade terminal receives vehicle information and firmware file attributes from the server; after verifying the vehicle information and VIN code, the upgrade terminal automatically selects a firmware file based on the firmware file attributes to upgrade the hardware modules of the autonomous vehicle. If the battery power information meets the software upgrade requirements of the autonomous vehicle, the first configuration file of the autonomous vehicle is obtained; wherein, the first configuration file includes the vehicle information of the autonomous vehicle and the version information of the currently installed software of the autonomous vehicle.
[0032] Step 5: Establish a communication connection with the remote server and send the first configuration file to the remote server for comparison and matching between the first configuration file and the second configuration file; wherein, the second configuration file is configured on the remote server, and the second configuration file includes the adapted vehicle information and the version information of the software to be upgraded; if the first configuration file and the second configuration file are successfully matched, then receive the software data package to be upgraded; wherein, the software data package to be upgraded includes the software file for software upgrade and the checksum of the software file, verify the checksum, and obtain the verification result; if the verification result is successful, then perform the software upgrade operation of the autonomous vehicle based on the software file.
[0033] In a further embodiment, the software data packet to be upgraded includes multiple sub-data packets, each of which is less than or equal to a preset data volume threshold; wherein, receiving the software data packet to be upgraded includes: receiving the multiple sub-data packets sequentially.
[0034] In a further embodiment, if the current state of the vehicle meets the software upgrade conditions, a software upgrade package is obtained through multiple diagnostic services set on the SOC system-on-a-chip via inter-process communication (IPC). The electronic control unit to be flashed is determined based on the name of the obtained software upgrade package. If the electronic control unit to be flashed belongs to an MCU chip, the software upgrade package is sent to the corresponding electronic control unit to be flashed in the MCU chip through the Ethernet transmission channel between the SOC system-on-a-chip and the MCU chip.
[0035] In a further embodiment, a warning is determined based on the status data and the preset storage space; if yes, a warning message is sent to the user terminal; otherwise, an upgrade status evaluation coefficient is calculated based on the status data.
[0036] Example 2:
[0037] A method for remotely upgrading autonomous driving software for tractor-trailers includes the following steps:
[0038] Step 1: Obtain the battery power information of the autonomous vehicle; wherein, the battery power information represents the power value of the battery carried by the autonomous vehicle, and when the control module installed on the mobile carrier receives a software upgrade instruction, obtain the current signal bandwidth information of the mobile carrier;
[0039] Step 2: Upon receiving a flashing request from the vehicle gateway, determine whether the vehicle's current status meets the software upgrade requirements; the flashing request is generated and sent by a remote diagnostic server or a local diagnostic tool, and real-time vehicle status data and corresponding owner preference data are obtained.
[0040] Step 3: Train an artificial intelligence model based on preference data to obtain a preference recognition model; filter upgrade packages based on the preference recognition model to obtain target upgrade packages; determine the software upgrade success rate based on the signal bandwidth information; when the software upgrade success rate is higher than the success rate threshold, determine the module to be upgraded based on the software upgrade instruction, and download the target software installation package based on the software upgrade instruction.
[0041] Step 4: The upgrade terminal receives vehicle information and firmware file attributes from the server; after verifying the vehicle information and VIN code, the upgrade terminal automatically selects a firmware file based on the firmware file attributes to upgrade the hardware modules of the autonomous vehicle. If the battery power information meets the software upgrade requirements of the autonomous vehicle, the first configuration file of the autonomous vehicle is obtained; wherein, the first configuration file includes the vehicle information of the autonomous vehicle and the version information of the currently installed software of the autonomous vehicle.
[0042] Step 5: Establish a communication connection with the remote server and send the first configuration file to the remote server for comparison and matching between the first configuration file and the second configuration file; wherein, the second configuration file is configured on the remote server, and the second configuration file includes the adapted vehicle information and the version information of the software to be upgraded; if the first configuration file and the second configuration file are successfully matched, then receive the software data package to be upgraded; wherein, the software data package to be upgraded includes the software file for software upgrade and the checksum of the software file, verify the checksum, and obtain the verification result; if the verification result is successful, then perform the software upgrade operation of the autonomous vehicle based on the software file.
[0043] In a further embodiment, a warning is issued based on an upgrade status evaluation coefficient and a preset threshold; if yes, the vehicle is upgraded based on the target upgrade package; otherwise, a warning message is sent to the user terminal; the real-time acquisition of the target vehicle's status data and the corresponding owner's preference data includes: the vehicle system acquiring the vehicle's status data and the corresponding owner's preference data; wherein, the status data includes: battery level, network speed, and remaining storage space; the preference data includes: the frequency distribution of driving mode selection, the frequency of use of vehicle configuration software, software usage duration, and the frequency of use of driver assistance functions; the determination of the software upgrade success rate based on the signal bandwidth information includes: The download bandwidth fluctuation value is determined based on the signal bandwidth information; the signal fluctuation value is determined based on the signal bandwidth information; the predicted software download time is determined based on the download bandwidth fluctuation value and the signal fluctuation value; the software upgrade success rate is determined based on the predicted software download time; the firmware file attributes include the firmware file version number; the server and the upgrade terminal are connected via wireless network communication, and the barcode scanner and the upgrade terminal are connected via USB; there are two servers, one is a local server located in the factory for storing upgrade result data; the other is a remote server located at the R&D end for storing and managing released software firmware.
[0044] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for remotely upgrading autonomous driving software based on a tractor, characterized in that, Includes the following steps: Step 1: Obtain the battery power information of the autonomous vehicle; wherein, the battery power information represents the power value of the battery carried by the autonomous vehicle, and when the control module installed on the mobile carrier receives a software upgrade instruction, obtain the current signal bandwidth information of the mobile carrier; Step 2: Upon receiving a flashing request from the vehicle gateway, determine whether the vehicle's current status meets the software upgrade requirements; the flashing request is generated and sent by a remote diagnostic server or a local diagnostic tool, and real-time vehicle status data and corresponding owner preference data are obtained. Step 3: Train an artificial intelligence model based on preference data to obtain a preference recognition model; filter upgrade packages based on the preference recognition model to obtain target upgrade packages; determine the software upgrade success rate based on the signal bandwidth information; when the software upgrade success rate is higher than the success rate threshold, determine the module to be upgraded based on the software upgrade instruction, and download the target software installation package based on the software upgrade instruction. Step 4: The upgrade terminal receives vehicle information and firmware file attributes from the server; after verifying the vehicle information and VIN code, the upgrade terminal automatically selects a firmware file based on the firmware file attributes to upgrade the hardware modules of the autonomous vehicle. If the battery power information meets the software upgrade requirements of the autonomous vehicle, the first configuration file of the autonomous vehicle is obtained; wherein, the first configuration file includes the vehicle information of the autonomous vehicle and the version information of the currently installed software of the autonomous vehicle. Step 5: Establish a communication connection with the remote server and send the first configuration file to the remote server for comparison and matching between the first configuration file and the second configuration file; wherein, the second configuration file is configured on the remote server, and the second configuration file includes the adapted vehicle information and the version information of the software to be upgraded; if the first configuration file and the second configuration file are successfully matched, then receive the software data package to be upgraded; wherein, the software data package to be upgraded includes the software file for software upgrade and the checksum of the software file, verify the checksum, and obtain the verification result; if the verification result is successful, then perform the software upgrade operation of the autonomous vehicle based on the software file.
2. The method for remotely upgrading autonomous driving software based on a tractor as described in claim 1, characterized in that: The software data packet to be upgraded includes multiple sub-data packets, each of which is less than or equal to a preset data volume threshold; wherein, receiving the software data packet to be upgraded includes: receiving the multiple sub-data packets sequentially.
3. The method for remotely upgrading tractor-mounted autonomous driving software according to claim 2, characterized in that: If the current state of the vehicle meets the software upgrade conditions, the software upgrade package is obtained through multiple diagnostic services set on the SOC system-on-a-chip via inter-process communication (IPC). The electronic control unit to be flashed is determined based on the name of the obtained software upgrade package. If the electronic control unit to be flashed belongs to an MCU chip, the software upgrade package is sent to the corresponding electronic control unit to be flashed in the MCU chip through the Ethernet transmission channel between the SOC system-on-a-chip and the MCU chip.
4. The method for remotely upgrading autonomous driving software based on a tractor as described in claim 3, characterized in that: Determine whether to issue an alert based on status data and preset storage space; If yes, then a warning message will be sent to the user's device; If not, the upgrade status evaluation coefficient is calculated based on the status data.
5. A method for remotely upgrading autonomous driving software based on a tractor as described in any one of claims 1-4, characterized in that: Whether to issue an early warning is determined based on the upgrade status evaluation coefficient and a preset threshold. If yes, then the vehicle will be upgraded based on the target upgrade package; No, then a warning message will be sent to the user's device.
6. The method for remotely upgrading tractor-mounted automatic driving software according to claim 5, characterized in that: The real-time acquisition of the target vehicle's status data and the corresponding owner's preference data includes: the vehicle system acquiring the vehicle's status data and the corresponding owner's preference data; wherein, the status data includes: battery level, network speed, and remaining storage space; the preference data includes: the frequency distribution of driving mode selection, the frequency of use of vehicle configuration software, the duration of software use, and the frequency of use of driver assistance functions.
7. A method for remotely upgrading autonomous driving software based on a tractor as described in claim 6, characterized in that: The step of determining the software upgrade success rate based on the signal bandwidth information includes: determining the download bandwidth fluctuation value based on the signal bandwidth information; determining the signal fluctuation value based on the signal bandwidth information; determining the predicted software download time based on the download bandwidth fluctuation value and the signal fluctuation value; and determining the software upgrade success rate based on the predicted software download time.
8. The method for remotely upgrading autonomous driving software based on a tractor as described in claim 7, characterized in that: The firmware file attributes include the firmware file version number.
9. A method for remotely upgrading autonomous driving software based on a tractor as described in claim 7, characterized in that: The server and the upgrade terminal are connected via wireless network communication, and the barcode scanner and the upgrade terminal are connected via USB.
10. A method for remotely upgrading autonomous driving software based on a tractor as described in claim 7, characterized in that: The server consists of two units: a local server located within the factory for storing upgrade result data, and a remote server located at the R&D end for storing and managing released software firmware.