Vehicle upgrade package downloading method and remote upgrade system

Through the on-board infotainment system, the problem of high data traffic consumption during the download of the on-board ECU upgrade package is solved, the download speed and success rate are improved, and the efficient vehicle communication is achieved.

CN118945154APending Publication Date: 2024-11-12CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411220995.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, during the download process of the on-board ECU upgrade package, the upgrade package is large due to the large number of ECUs in the vehicle, which consumes a large amount of data traffic during download and is limited in bandwidth, resulting in slow download speed and low success rate.

Method used

Through the in-vehicle infotainment system, the upgrade package data of the in-vehicle controller is downloaded from the cloud using multiple networks (WIFI and data networks), and multi-thread download is adopted to monitor network status, interruption is continued, and download it according to the priority of the sub-upgrade package. , use the heartbeat mechanism to monitor status information to ensure download efficiency and success rate.

Benefits of technology

It reduces the traffic consumption of the on-board controller during the upgrade process, improves the download speed and success rate of the upgrade package, reduces the load pressure of the on-board communication terminal, and improves the communication efficiency of the entire vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945154A_ABST
    Figure CN118945154A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle upgrade package downloading method and a remote upgrade system, a vehicle-mounted communication terminal obtains an upgrade package downloading link of a vehicle-mounted controller, and a vehicle-mounted information entertainment system downloads upgrade package data from a cloud end by using a first network or a second network based on the upgrade package downloading link, checking the downloaded part of the upgrade patch data according to the downloading state, and if the checking is successful, sending the downloaded part of the upgrade patch data to the vehicle-mounted communication terminal so as to upgrade the vehicle-mounted controller; when the vehicle-mounted communication terminal determines that the vehicle-mounted controller needs to be upgraded, the upgrade package downloading link is sent to the vehicle-mounted information entertainment system, and the vehicle-mounted information entertainment system can be connected with various networks, so that the flow consumption of the vehicle-mounted controller in the upgrading process is greatly reduced; and the downloading bandwidth of the vehicle-mounted information entertainment system can improve the downloading speed and success rate of the upgrade package, and meanwhile, the load pressure of the vehicle-mounted communication terminal is also reduced, so that the communication efficiency of the whole vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle controller upgrade, and in particular to a vehicle upgrade package downloading method and a remote upgrade system. Background Art

[0002] As the level of automobile intelligence continues to improve, the number of vehicle electronic control units (ECUs) is also increasing. Traditional cars have about 40 ECU modules, and ECU upgrades have become particularly important. Currently, ECU upgrades are mostly done by the on-board TBOX communicating with the cloud to detect whether there is a new version that needs to be upgraded, and downloading the upgrade package of the entire vehicle ECU when an upgrade is required. After the download is complete, the upgrade package is sent to each ECU to complete the normal ECU upgrade work.

[0003] However, the number of ECUs in a vehicle is large, resulting in a large upgrade package for the vehicle ECU (generally around 3G). If TBOX can only connect to the data network, a large amount of data traffic will be used to download the upgrade package, which will increase the traffic costs of users or car companies when upgrading the vehicle ECU. In addition, TBOX, as the main port for communication between the vehicle and the outside world, is limited by the bandwidth of TBOX's data transmission channel, resulting in a slow download speed for the upgrade package or even a download failure. Therefore, there is an urgent need for a method that can reduce the traffic consumption of vehicle ECU upgrades and improve the upgrade efficiency and success rate. Summary of the invention

[0004] In order to solve the above technical problems, the present application is proposed. The embodiments of the present application provide a vehicle upgrade package downloading method and a remote upgrade system.

[0005] According to one aspect of the present application, a method for downloading a whole vehicle upgrade package is provided, which is applied to an in-vehicle infotainment system, and the method for downloading a whole vehicle upgrade package includes: receiving an upgrade package download link sent by an in-vehicle communication terminal; based on the upgrade package download link, using a first network or a second network to download upgrade package data of an in-vehicle controller from the cloud; based on the download status of the upgrade package data, checking the downloaded part of the upgrade package data; if the check is successful, sending the downloaded part of the upgrade package data to the in-vehicle communication terminal, and the in-vehicle communication terminal sending the downloaded part of the upgrade package data to the corresponding in-vehicle controller to implement the upgrade of the in-vehicle controller.

[0006] In one embodiment, the first network includes a WIFI network, and the second network includes a data network; based on the upgrade package download link, using the first network or the second network to download the upgrade package data of the vehicle controller from the cloud includes: monitoring the network status of the WIFI network; if the network status of the WIFI network is a strong network state, based on the upgrade package download link, using the WIFI network and starting multi-threading to download the upgrade package data of the vehicle controller from the cloud.

[0007] In one embodiment, based on the upgrade package download link, using the first network or the second network to download the upgrade package data of the vehicle controller from the cloud includes: if the network status of the WIFI network is a weak network status, then based on the upgrade package download link, using the data network and starting multi-threading to download the upgrade package data of the vehicle controller from the cloud.

[0008] In one embodiment, based on the upgrade package download link, the upgrade package data of the vehicle controller is downloaded from the cloud using the first network or the second network, including: if the download progress of the upgrade package data is not completed, obtaining the connection status of the first network and the second network; if the connection status of the first network and the second network are both disconnected, recording the download end position of the upgrade package data; when the first network or the second network resumes connection, continuing to download the upgrade package data from the download end position.

[0009] In one embodiment, the checking the downloaded portion of the upgrade package data according to the download status of the upgrade package data includes: when the download status of the upgrade package data is paused, checking the downloaded portion of the upgrade package data.

[0010] In one embodiment, based on the upgrade package download link, using the first network or the second network to download the upgrade package data of the vehicle controller from the cloud includes: obtaining the priority of each sub-upgrade package in the upgrade package data; wherein each of the sub-upgrade packages corresponds to a different vehicle controller, and the priority of the sub-upgrade package is determined according to a pre-set priority; based on the upgrade package download link, using the first network or the second network according to the priority of each sub-upgrade package to download the upgrade package data of the vehicle controller from the cloud.

[0011] According to another aspect of the present application, a method for downloading a whole vehicle upgrade package is provided, which is applied to an on-board communication terminal, and the method for downloading a whole vehicle upgrade package includes: detecting the current version information and the latest version information of the on-board controller; wherein the on-board communication terminal is connected to the on-board controller via a gateway; if the latest version information and the current version information are different, then based on the latest version information, obtaining an upgrade package download link for the on-board controller from the cloud; sending the upgrade package download link to an on-board infotainment system, so that the on-board infotainment system can use a first network or a second network to download the upgrade package data of the on-board controller from the cloud; receiving the upgrade package data sent by the on-board infotainment system, and verifying the upgrade package data; if the verification is successful, sending the upgrade package data to the corresponding on-board controller to implement the upgrade of the on-board controller.

[0012] In one embodiment, after obtaining the upgrade package download link of the vehicle controller from the cloud, the vehicle upgrade package download method also includes: using a heartbeat mechanism to monitor the status information of the vehicle infotainment system; if the status information of the vehicle infotainment system is a fault state, the vehicle communication terminal uses a data network to download the upgrade package data of the vehicle controller.

[0013] In one embodiment, the receiving of the upgrade package data sent by the in-vehicle infotainment system includes: if the received upgrade package data of the in-vehicle controller is an incomplete upgrade package, recording the transmission end position of the upgrade package data; when receiving the upgrade package data of the in-vehicle controller again, continuing to store the upgrade package data of the in-vehicle controller from the transmission end position.

[0014] According to another aspect of the present application, a remote upgrade system is provided, comprising: an in-vehicle infotainment system and an in-vehicle communication terminal; wherein the in-vehicle infotainment system and the in-vehicle communication terminal are connected via a local area network, the in-vehicle infotainment system is used to execute the above-mentioned corresponding whole-vehicle upgrade package downloading method, and the in-vehicle communication terminal is used to execute the above-mentioned corresponding whole-vehicle upgrade package downloading method.

[0015] The present application provides a method for downloading a whole vehicle upgrade package and a remote upgrade system. The vehicle-mounted communication terminal detects the current version information and the latest version information of the vehicle-mounted controller. If the latest version information and the current version information are different, the upgrade package download link of the vehicle-mounted controller is obtained from the cloud based on the latest version information, and the upgrade package download link is sent to the vehicle-mounted infotainment system; the vehicle-mounted infotainment system receives the upgrade package download link sent by the vehicle-mounted communication terminal, and based on the upgrade package download link, uses the first network or the second network to download the upgrade package data of the vehicle-mounted controller from the cloud, and checks the downloaded part of the upgrade package data according to the download status of the upgrade package data. If the verification is successful, the downloaded part of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded part of the upgrade package data to the corresponding vehicle controller to realize the upgrade of the vehicle controller; that is, when the vehicle communication terminal determines that the vehicle controller needs to be upgraded, it sends the upgrade package download link to the vehicle infotainment system. The vehicle infotainment system can be used to connect to multiple networks to greatly reduce the traffic consumption of the vehicle controller during the upgrade process, and the use of the vehicle infotainment system to download wide bandwidth can increase the download speed and success rate of the upgrade package, while also reducing the load pressure of the vehicle communication terminal, thereby improving the communication efficiency of the entire vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0017] Figure 1 It is a flowchart of a method for downloading a vehicle upgrade package provided by an exemplary embodiment of the present application.

[0018] Figure 2 It is a flowchart of an upgrade package data verification method provided by an exemplary embodiment of the present application.

[0019] Figure 3 It is a flowchart of an upgrade package data download method provided by an exemplary embodiment of the present application.

[0020] Figure 4 It is a flowchart of a method for downloading a vehicle upgrade package provided by another exemplary embodiment of the present application.

[0021] Figure 5 It is a flowchart of an upgrade package data downloading method provided by another exemplary embodiment of the present application.

[0022] Figure 6It is a structural diagram of a remote upgrade system provided by an exemplary embodiment of the present application.

[0023] Figure 7 It is a structural diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0024] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0025] Figure 1 The flowchart of the vehicle upgrade package downloading method provided by an exemplary embodiment of the present application is as follows. The vehicle upgrade package downloading method is applied to the vehicle infotainment system in the remote upgrade system. The remote upgrade system includes the vehicle infotainment system and the vehicle communication terminal. The vehicle infotainment system and the vehicle communication terminal are connected via a local area network. The vehicle infotainment system and the vehicle communication terminal are connected to the cloud through a communication connection. The vehicle communication terminal is connected to the vehicle controller via a gateway. Figure 1 As shown, the vehicle upgrade package download method includes the following steps:

[0026] Step 110: Receive the upgrade package download link sent by the vehicle communication terminal.

[0027] In-Vehicle Infotainment (IVI) is an integrated in-vehicle information processing system that uses a dedicated in-vehicle central processor, based on the body bus system and Internet services. The in-vehicle communication terminal (Telematics Box, TBOX for short) is a vehicle networking system specifically used for automobiles, also known as the in-vehicle TBOX. It integrates long-distance communication and information science and technology, and is committed to providing comprehensive driving data collection, remote query and control, and fault monitoring services for automobiles. TBOX is responsible for communicating with the cloud to detect whether there is a new version that needs to be updated to obtain the upgrade requirements of the in-vehicle controller (i.e. ECU). When the in-vehicle controller needs to be upgraded, TBOX obtains the upgrade package download link of the in-vehicle controller, converts the upgrade package download link into JSON format data and sends it to IVI through socket. After receiving the upgrade package download link of the in-vehicle controller, IVI downloads the upgrade package of the in-vehicle controller based on the upgrade package download link.

[0028] Step 120: Based on the upgrade package download link, use the first network or the second network to download the upgrade package data of the vehicle controller from the cloud.

[0029] Based on the received upgrade package download link, the IVI downloads the upgrade package data of the vehicle controller from the cloud. Specifically, the IVI uses a first network (such as a wireless communication network, etc.) or a second network (such as a data network) to download the upgrade package data of the vehicle controller. When the IVI is connected to the first network, the first network is preferably used to download the upgrade package data to save traffic.

[0030] Step 130: According to the download status of the upgrade package data, the downloaded portion of the upgrade package data is checked.

[0031] For example, Figure 2 As shown, after IVI completes downloading the upgrade package data of the vehicle controller (the download status of the upgrade package data is download completed at this time), the downloaded upgrade package data is checked. For example, IVI can use hash check, that is, calculate the hash value of the upgrade package data, and compare it with the hash value of the upgrade package data calculated by the cloud. If successful, it means that the upgrade package data downloaded by IVI is correct, otherwise it means that the upgrade package data downloaded by IVI is incorrect. If the check fails, delete the wrong upgrade package data and download it again. After each download is completed, check the downloaded upgrade package data. If the check fails for M consecutive times, feedback the download failure information to TBOX and stop downloading. Wherein, M can be a positive integer, for example, M=3. M can be determined according to actual conditions.

[0032] In one embodiment, the specific implementation of step 130 may be: when the downloading status of the upgrade package data is paused, checking the downloaded part of the upgrade package data.

[0033] If the download status of the upgrade package data is suspended during the download of the upgrade package data by IVI due to network abnormalities or other reasons (the upgrade package data has not been downloaded completely at this time), the downloaded part of the upgrade package data will be checked. The specific inspection process and the handling process of inspection failure are the same as the handling process of the upgrade package data after the download is completed, and will not be repeated here.

[0034] Step 140: If the verification is successful, the downloaded portion of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded portion of the upgrade package data to the corresponding vehicle controller to implement the upgrade of the vehicle controller.

[0035] For example, after the download of IVI is completed or paused, and the verification is successful, IVI sends a command to TBOX through socket to request to open the FTP server. After receiving the command from IVI requesting to open the FTP server, TBOX opens the FTP server and then notifies IVI through socket that the FTP server has been opened. After IVI receives the notification that TBOX has opened the FTP server, it transmits the downloaded part of the upgrade package data to TBOX through FTP, and TBOX sends the downloaded part of the upgrade package data to the corresponding vehicle controller to upgrade the vehicle controller. Since IVI and TBOX are connected through the intranet, and TBOX and the vehicle controller are also connected through the intranet, the transmission speed is very fast. At the same time, since the download speed of IVI is also fast, the download speed of the upgrade package of the vehicle controller is fast, so the upgrade speed is also fast, and the upgrade success rate is also high.

[0036] The present application provides a method for downloading a vehicle upgrade package, which is applied to an in-vehicle infotainment system in a remote upgrade system. The remote upgrade system includes an in-vehicle infotainment system and an in-vehicle communication terminal. The in-vehicle infotainment system and the in-vehicle communication terminal are connected via a local area network, the in-vehicle infotainment system and the in-vehicle communication terminal are connected to the cloud via a communication channel, and the in-vehicle communication terminal is connected to the in-vehicle controller via a gateway. The in-vehicle communication terminal detects the current version information and the latest version information of the in-vehicle controller. If the latest version information and the current version information are different, an upgrade package download link of the in-vehicle controller is obtained from the cloud based on the latest version information, and the upgrade package download link is sent to the in-vehicle infotainment system. The in-vehicle infotainment system receives the upgrade package download link sent by the in-vehicle communication terminal, and based on the upgrade package download link, a first network or The second network downloads the upgrade package data of the vehicle controller from the cloud, and checks the downloaded part of the upgrade package data according to the download status of the upgrade package data. If the check is successful, the downloaded part of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded part of the upgrade package data to the corresponding vehicle controller to realize the upgrade of the vehicle controller; that is, when the vehicle communication terminal determines that the vehicle controller needs to be upgraded, it sends the upgrade package download link to the vehicle infotainment system. The vehicle infotainment system can be used to connect to multiple networks to greatly reduce the traffic consumption of the vehicle controller during the upgrade process, and the use of the vehicle infotainment system to download wide bandwidth can increase the download speed and success rate of the upgrade package, while also reducing the load pressure of the vehicle communication terminal, thereby improving the communication efficiency of the entire vehicle.

[0037] In one embodiment, the first network may include a WIFI network, and the second network may include a data network. The specific implementation method of the above step 120 may be: monitor the network status of the WIFI network; if the network status of the WIFI network is a strong network state, then based on the upgrade package download link, use the WIFI network and start multi-threading to download the upgrade package data of the vehicle controller from the cloud.

[0038] The present application monitors the network status of the WIFI network in real time during the download process of the upgrade package data of the vehicle controller. If the network status of the WIFI network is a strong network status, that is, the network status of the WIFI network is good at this time, the IVI uses the WIFI network to download the upgrade package data of the vehicle controller. Moreover, since the IVI has a large number of CPU cores, the IVI can start multi-threaded downloading when downloading the upgrade package data, that is, download multiple upgrade packages at the same time or split the same upgrade package into multiple sub-packets for download to improve its reading and writing efficiency, thereby improving the download speed and download success rate of the upgrade package data of the vehicle controller.

[0039] In a further embodiment, if there are multiple ECUs that need to be upgraded, that is, multiple upgrade packages need to be downloaded, if the number of upgrade packages to be downloaded is greater than or equal to the number of threads of the IVI, then the multiple upgrade packages can be respectively allocated to multiple threads for download (only one upgrade package is allocated to one thread at a time), and after the download of a single thread is completed, the remaining upgrade packages continue to be downloaded until all upgrade packages are downloaded. If the number of upgrade packages to be downloaded is less than the number of threads of the IVI (including the number of upgrade packages is 1 and the number of upgrade packages is greater than 1), the upgrade package can be split into multiple sub-data packets, for example, each upgrade package can be split into sub-data packets of equal size according to the number of threads of the IVI and respectively allocated to all threads of the IVI to achieve synchronous download; for another example, a fixed data length can be preset, the upgrade package can be split into multiple sub-data packets of fixed data length (the data length of the last sub-data packet of a single upgrade package may be less than the fixed data length), and the multiple sub-data packets can be respectively allocated to multiple threads for download (only one sub-data packet is allocated to one thread at a time), and after the download of a single thread is completed, the remaining sub-data packets can continue to be downloaded until all sub-data packets are downloaded. It should be understood that the present application can also combine the above two downloading methods, that is, when the number of upgrade packages to be downloaded is greater than or equal to the number of threads of the IVI, the upgrade packages are not split, and the download task is executed by downloading one upgrade package with a single thread; when the number of remaining upgrade packages is less than the number of idle threads of the IVI, the remaining upgrade packages are split into multiple sub-data packages and evenly distributed to the idle threads to execute the download task, so as to maximize the download efficiency.

[0040] In one embodiment, the specific implementation method of the above step 120 can be: if the network status of the WIFI network is a weak network status, based on the upgrade package download link, the data network is used and multi-threading is enabled to download the upgrade package data of the vehicle controller from the cloud.

[0041] If the network status of the WIFI network is a weak network status, that is, the network status of the WIFI network is poor at this time, for example, if a preset number of network anomalies (such as network disconnection, etc.) occur within the first preset time, it is determined that the current network status of the WIFI network is a weak network status. At this time, in order to ensure the download efficiency and download success rate, the present application switches to the data network (accesses the network through the traffic of TBOX) and starts multi-threading to download the upgrade package data of the vehicle controller from the cloud. Among them, the first preset time and the preset number of times can be pre-set, for example, the first preset time is 10 seconds, the preset number of times is 3 times, and the first preset time and the preset number of times can be determined according to the actual situation. Preferably, the present application continuously monitors the network status of the WIFI network in the process of downloading the upgrade package data using the data network, such as periodically pinging the set domain name. If the ping command is successful for N consecutive times, it is determined that the network status of the WIFI network is a strong network state, and it is automatically switched to the WIFI network to continue downloading the upgrade package data of the vehicle controller to save data network traffic. Among them, N can be a positive integer, for example, N=5. N can be determined according to the actual situation.

[0042] Figure 3 FIG. 1 is a flow chart of a method for downloading upgrade package data provided by an exemplary embodiment of the present application. Figure 3 As shown, the above step 120 may include:

[0043] Step 121: If the download progress of the upgrade package data is not completed, obtain the connection status of the first network and the second network.

[0044] By detecting the download progress of the upgrade package data, it is determined whether the upgrade package data has been downloaded. If the upgrade package data has not been downloaded, the connection status of the first network and the second network is monitored in real time during the download of the upgrade package data. If the upgrade package data has been downloaded, the download process is terminated.

[0045] Step 122: If the connection status of the first network and the second network are both disconnected, then the download end position of the upgrade package data is recorded.

[0046] If it is monitored that the connection status of the first network and the second network are both disconnected, that is, the first network and the second network cannot download the upgrade package data, the IVI records the download end position of the upgrade package data to determine the next download start position, so as to achieve breakpoint resumption and reduce the data download amount under the premise of ensuring the integrity of the data packet, which can not only improve the download rate, but also improve the download success rate.

[0047] Step 123: When the first network or the second network is restored to connection, the upgrade package data is continued to be downloaded from the download end position.

[0048] When the first network or the second network restores connection, the present application uses the restored network (when both the first network and the second network are restored and the network status of the first network is strong, the first network is preferentially selected for download) to continue downloading the upgrade package data from the last download end position, thereby reducing the amount of data download while ensuring the integrity of the data packet.

[0049] In one embodiment, the specific implementation of the above step 140 may be: sending the downloaded part of the upgrade package data to the vehicle-mounted communication terminal.

[0050] For example, when IVI is downloading upgrade package data, if both the first network and the second network are disconnected, the upgrade package data has not been downloaded yet. While waiting for the network to recover, IVI can send the downloaded part to TBOX to upgrade some ECUs first. This can not only achieve a quick upgrade of some ECUs, but also improve the overall efficiency of the vehicle ECU upgrade.

[0051] In one embodiment, the specific implementation method of the above-mentioned step 120 may be: obtaining the priority of each sub-upgrade package in the upgrade package data; wherein each sub-upgrade package corresponds to a different vehicle controller, and the priority of the sub-upgrade package is determined according to a pre-set priority; based on the upgrade package download link, the upgrade package data of the vehicle controller is downloaded from the cloud using the first network or the second network according to the priority of each sub-upgrade package.

[0052] For example, due to the large number of ECUs, the number of corresponding upgrade packages is also large, and the order of the upgrade packages in the download process directly determines the order of ECU upgrades, especially when the WIFI network and data network are unstable, the ECU upgrade success rate corresponding to the upgrade package downloaded first is higher. Therefore, the present application can obtain the priority of each sub-upgrade package when downloading the upgrade package data, and download the corresponding sub-upgrade package data in order of priority, wherein the priority of the sub-upgrade package can be set by the user according to personal preferences (for example, when downloading the upgrade package using the data network, an interface is provided for the user to set the priority sorting), or it can be determined comprehensively through big data analysis of the priorities set by all users (at this time, the user selects the default priority), and of course, the priority can also be determined according to the importance of each ECU to ensure that ECUs with higher importance are upgraded first.

[0053] Figure 4: is a flow chart of a method for downloading a vehicle upgrade package provided by another exemplary embodiment of the present application. The method for downloading a vehicle upgrade package is applied to a vehicle communication terminal in a remote upgrade system. The remote upgrade system includes a vehicle infotainment system and a vehicle communication terminal. The vehicle infotainment system and the vehicle communication terminal are connected via a local area network. The vehicle infotainment system and the vehicle communication terminal are connected to the cloud via a communication gateway. The vehicle communication terminal is connected to a vehicle controller via a gateway. Figure 4 As shown, the vehicle upgrade package download method includes the following steps:

[0054] Step 410: Detect the current version information and the latest version information of the vehicle controller.

[0055] TBOX communicates with the cloud to detect whether there is a new version of the vehicle controller that needs to be updated. Specifically, TBOX determines whether the vehicle controller needs to be upgraded by detecting the latest version information in the cloud and the current version information of the vehicle controller.

[0056] Step 420: If the latest version information is different from the current version information, then based on the latest version information, obtain the upgrade package download link of the vehicle controller from the cloud.

[0057] If it is detected that the latest version information of the cloud is different from the current version information of the vehicle controller, that is, the current version of the vehicle controller is not the latest version, indicating that the vehicle controller needs to be upgraded, TBOX obtains the upgrade package download link of the vehicle controller from the cloud (that is, the latest version of the upgrade package download link).

[0058] Step 430: Send an upgrade package download link to the in-vehicle infotainment system, so that the in-vehicle infotainment system can download the upgrade package data of the in-vehicle controller from the cloud using the first network or the second network.

[0059] After obtaining the upgrade package download link, TBOX sends the upgrade package download link to IVI, and IVI uses the first network or the second network to download the upgrade package data of the vehicle controller from the cloud, so as to utilize the high-speed download performance of IVI to improve the download efficiency and download success rate of the upgrade package data.

[0060] Step 440: Receive the upgrade package data sent by the in-vehicle infotainment system and verify the upgrade package data.

[0061] For example, Figure 2As shown in the figure, after receiving the upgrade package data sent by IVI, TBOX checks the upgrade package data again (for example, hash check) to ensure the correctness of the upgrade package data received by TBOX. If the check fails, it means that there is a problem with the FTP transmission. Then TBOX sends an instruction to IVI, and IVI retransmits the upgrade package data. If the check fails K times in a row, the transmission failure information is fed back to IVI and the transmission is stopped. K can be a positive integer, for example, K=3. K can be determined according to the actual situation. If the check succeeds, TBOX sends a successful transmission message to IVI, and IVI deletes the local upgrade package data after receiving the successful transmission message.

[0062] Step 450: If the verification is successful, the upgrade package data is sent to the corresponding vehicle controller to upgrade the vehicle controller.

[0063] After receiving and verifying successfully, TBOX sends the upgrade package data to the corresponding vehicle controller to upgrade the vehicle controller.

[0064] The present application provides a method for downloading a vehicle upgrade package, which is applied to an on-board communication terminal in a remote upgrade system. The remote upgrade system includes an on-board infotainment system and an on-board communication terminal. The on-board infotainment system and the on-board communication terminal are connected via a local area network. The on-board infotainment system and the on-board communication terminal are connected to the cloud through a communication connection. The on-board communication terminal is connected to the on-board controller via a gateway. The on-board communication terminal detects the current version information and the latest version information of the on-board controller. If the latest version information and the current version information are different, an upgrade package download link of the on-board controller is obtained from the cloud based on the latest version information, and the upgrade package download link is sent to the on-board infotainment system. The on-board infotainment system receives the upgrade package download link sent by the on-board communication terminal, and based on the upgrade package download link, a first network or a second network is used to download the upgrade package. Second, the network downloads the upgrade package data of the vehicle controller from the cloud, and checks the downloaded part of the upgrade package data according to the download status of the upgrade package data. If the check is successful, the downloaded part of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded part of the upgrade package data to the corresponding vehicle controller to realize the upgrade of the vehicle controller; that is, when the vehicle communication terminal determines that the vehicle controller needs to be upgraded, it sends the upgrade package download link to the vehicle infotainment system. The vehicle infotainment system can be used to connect to multiple networks to greatly reduce the traffic consumption of the vehicle controller during the upgrade process, and the use of the vehicle infotainment system to download wide bandwidth can increase the download speed and success rate of the upgrade package, while also reducing the load pressure of the vehicle communication terminal, thereby improving the communication efficiency of the entire vehicle.

[0065] Figure 5 FIG. 1 is a flow chart of a method for downloading a vehicle upgrade package provided by another exemplary embodiment of the present application. Figure 5As shown, after the above step 420, the above vehicle upgrade package downloading method may further include:

[0066] Step 460: Use a heartbeat mechanism to monitor the status information of the in-vehicle infotainment system.

[0067] For example, before sending the upgrade package download link to the in-vehicle infotainment system, TBOX uses a heartbeat mechanism to determine whether the IVI has a fault. After sending the upgrade package download link to the in-vehicle infotainment system until TBOX receives the upgrade package data, TBOX can also periodically perform fault detection on the IVI to obtain the fault information of the IVI in time and take over the download operation of the IVI.

[0068] Step 470: If the status information of the vehicle infotainment system is a fault status, the vehicle communication terminal uses the data network to download the upgrade package data of the vehicle controller.

[0069] If TBOX detects that the status information of IVI is in a fault state, for example, no state of mind signal from IVI is received within the second preset time, it indicates that the connection between IVI and TBOX is faulty (for example, the connection is interrupted), and TBOX uses the data network to download the upgrade package data of the vehicle controller by itself to improve the efficiency and success rate of the upgrade package download. The second preset time can be preset, for example, the second preset time is 1 minute, and the second preset time can be determined according to actual conditions.

[0070] In one embodiment, the specific implementation method of the above-mentioned step 450 may be: if the received upgrade package data of the vehicle-mounted controller is an incomplete upgrade package, the transmission end position of the upgrade package data is recorded; when the upgrade package data of the vehicle-mounted controller is received again, the upgrade package data of the vehicle-mounted controller continues to be stored starting from the transmission end position.

[0071] For example, if the upgrade package data received by TBOX is an incomplete upgrade package, it means that the IVI has not been downloaded and the first network and second network status of IVI are both disconnected. At this time, TBOX records the transmission end position after receiving the upgrade package data, and continues to store the upgrade package data of the vehicle controller from the transmission end position when receiving the upgrade package data again, so as to avoid repeated reception and repeated storage, thereby improving data transmission efficiency and ensuring data integrity.

[0072] Figure 6 Schematic diagram of the structure of a remote upgrade system provided by an exemplary embodiment of the present application. Figure 6As shown, the remote upgrade system includes: an in-vehicle infotainment system and an in-vehicle communication terminal; wherein the in-vehicle infotainment system and the in-vehicle communication terminal are connected via a local area network, the in-vehicle infotainment system and the in-vehicle communication terminal are communicated and connected to the cloud, and the in-vehicle communication terminal is connected to the in-vehicle controller via a gateway; the in-vehicle infotainment system is used to execute the above-mentioned corresponding whole vehicle upgrade package downloading method, and the in-vehicle communication terminal is used to execute the above-mentioned corresponding whole vehicle upgrade package downloading method.

[0073] For example, the TBOX master (TBOX's main controller) detects the current version information of the on-board controller and the latest version information on the cloud to determine whether there is a new version, that is, to determine whether the vehicle ECU has an upgrade requirement. If there is a new version, the download link (URL, uniform resource locator, i.e., the information location on the World Wide Web service program of the Internet) of multiple upgrade packages of the new version is returned from the cloud. The TBOX master sends multiple download links of the upgrade packages to the IVI. After the IVI receives the upgrade package download link sent by the TBOX master, based on the upgrade package download link, the WIFI network (first network) or the data network (second network) is used and multi-threading is started to download the upgrade package data of the vehicle ECU from the cloud. After the upgrade package data is downloaded, the IVI sends the upgrade package data to the TBOX master via FTP, and the TBOX master sends the upgrade package data to the corresponding vehicle ECU to achieve the upgrade of the vehicle ECU. Among them, the upgrade package of the IVI can also be downloaded synchronously and upgraded by the IVI itself.

[0074] The present application provides a remote upgrade system, which includes an in-vehicle infotainment system and an in-vehicle communication terminal, the in-vehicle infotainment system and the in-vehicle communication terminal are connected via a local area network, the in-vehicle infotainment system and the in-vehicle communication terminal are communicated and connected to the cloud, and the in-vehicle communication terminal is connected to the in-vehicle controller via a gateway; the in-vehicle communication terminal detects the current version information and the latest version information of the in-vehicle controller, if the latest version information and the current version information are different, then based on the latest version information, an upgrade package download link of the in-vehicle controller is obtained from the cloud, and the upgrade package download link is sent to the in-vehicle infotainment system; the in-vehicle infotainment system receives the upgrade package download link sent by the in-vehicle communication terminal, and based on the upgrade package download link, a first network or a second network is used to download the in-vehicle controller from the cloud. The vehicle controller receives the upgrade package data of the upgrade package, and checks the downloaded part of the upgrade package data according to the download status of the upgrade package data. If the check is successful, the downloaded part of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded part of the upgrade package data to the corresponding vehicle controller to realize the upgrade of the vehicle controller; that is, when the vehicle communication terminal determines that the vehicle controller needs to be upgraded, it sends the upgrade package download link to the vehicle infotainment system. The vehicle infotainment system can be used to connect to multiple networks to greatly reduce the traffic consumption of the vehicle controller during the upgrade process, and the use of the vehicle infotainment system to download wide bandwidth can increase the download speed and success rate of the upgrade package, while also reducing the load pressure of the vehicle communication terminal, thereby improving the communication efficiency of the entire vehicle.

[0075] Below, reference Figure 7 The electronic device according to the embodiment of the present application is described. The electronic device may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signal from them.

[0076] Figure 7 A block diagram of an electronic device according to an embodiment of the present application is illustrated.

[0077] like Figure 7 As shown, the electronic device 10 includes one or more processors 11 and a memory 12 .

[0078] The processor 11 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 10 to perform desired functions.

[0079] The memory 12 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0080] In one example, the electronic device 10 may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0081] When the electronic device is a stand-alone device, the input device 13 may be a communication network connector, which is used to receive the collected input signals from the first device and the second device.

[0082] In addition, the input device 13 may also include, for example, a keyboard, a mouse, and the like.

[0083] The output device 14 can output various information to the outside, including the determined distance information, direction information, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0084] Of course, to simplify, Figure 7 Only some of the components related to the present application in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.

[0085] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.

[0086] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0087] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.

[0088] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0089] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.

[0090] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.

[0091] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.

[0092] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0093] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for downloading a vehicle upgrade package. It is characterized in that Applied to the in-vehicle infotainment system, the vehicle upgrade package download method includes: Receive the upgrade package download link sent by the vehicle communication terminal; Based on the upgrade package download link, the upgrade package data of the vehicle controller is downloaded from the cloud using the first network or the second network; According to the download status of the upgrade package data, checking the downloaded part of the upgrade package data; If the verification is successful, the downloaded part of the upgrade package data is sent to the vehicle communication terminal, and the vehicle communication terminal sends the downloaded part of the upgrade package data to the corresponding vehicle controller to achieve the upgrade of the vehicle controller; wherein the vehicle communication terminal is connected to the vehicle controller through a gateway.

2. The vehicle upgrade package downloading method according to claim 1, It is characterized in that The first network includes a WIFI network, and the second network includes a data network; the step of downloading the upgrade package data of the vehicle controller from the cloud using the first network or the second network based on the upgrade package download link includes: Monitor the network status of the WIFI network; If the network status of the WIFI network is a strong network status, based on the upgrade package download link, the WIFI network is used and multi-threading is enabled to download the upgrade package data of the vehicle controller from the cloud.

3. The vehicle upgrade package downloading method according to claim 2, It is characterized in that The step of downloading the upgrade package data of the vehicle controller from the cloud using the first network or the second network based on the upgrade package download link includes: If the network status of the WIFI network is a weak network status, based on the upgrade package download link, the data network is used and multi-threading is enabled to download the upgrade package data of the vehicle controller from the cloud.

4. The vehicle upgrade package downloading method according to claim 1, It is characterized in that The step of downloading the upgrade package data of the vehicle controller from the cloud using the first network or the second network based on the upgrade package download link includes: If the download progress of the upgrade package data is not completed, obtaining the connection status of the first network and the second network; If the connection status of the first network and the second network are both disconnected, recording the download end position of the upgrade package data; When the first network or the second network is restored to connection, the upgrade package data is continued to be downloaded from the download end position.

5. The vehicle upgrade package downloading method according to claim 1, It is characterized in that The step of checking the downloaded portion of the upgrade package data according to the download status of the upgrade package data includes: When the downloading status of the upgrade package data is paused, the downloaded portion of the upgrade package data is checked.

6. The vehicle upgrade package downloading method according to claim 1, It is characterized in that The step of downloading the upgrade package data of the vehicle controller from the cloud using the first network or the second network based on the upgrade package download link includes: Obtaining the priority of each sub-upgrade package in the upgrade package data; wherein each sub-upgrade package corresponds to a different vehicle controller, and the priority of the sub-upgrade package is determined according to a preset priority; Based on the upgrade package download link, the upgrade package data of the vehicle controller is downloaded from the cloud using the first network or the second network according to the priority of each sub-upgrade package.

7. A method for downloading a vehicle upgrade package. It is characterized in that Applied to the vehicle communication terminal, the vehicle upgrade package downloading method includes: Detecting the current version information and the latest version information of the vehicle-mounted controller; wherein the vehicle-mounted communication terminal is connected to the vehicle-mounted controller via a gateway; If the latest version information is different from the current version information, obtaining an upgrade package download link of the vehicle controller from the cloud based on the latest version information; Sending the upgrade package download link to the in-vehicle infotainment system, so that the in-vehicle infotainment system uses the first network or the second network to download the upgrade package data of the in-vehicle controller from the cloud; Receiving the upgrade package data sent by the in-vehicle infotainment system, and verifying the upgrade package data; If the verification is successful, the upgrade package data is sent to the corresponding vehicle controller to implement the upgrade of the vehicle controller.

8. The vehicle upgrade package downloading method according to claim 7, It is characterized in that After obtaining the upgrade package download link of the vehicle controller from the cloud, the vehicle upgrade package download method further includes: Using a heartbeat mechanism to monitor the status information of the in-vehicle infotainment system; If the status information of the in-vehicle infotainment system is a fault status, the in-vehicle communication terminal uses a data network to download the upgrade package data of the in-vehicle controller.

9. The vehicle upgrade package downloading method according to claim 7, It is characterized in that The receiving the upgrade package data sent by the in-vehicle infotainment system includes: If the received upgrade package data of the vehicle controller is an incomplete upgrade package, recording the transmission end position of the upgrade package data; When the upgrade package data of the vehicle-mounted controller is received again, the upgrade package data of the vehicle-mounted controller continues to be stored starting from the transmission end position.

10. A remote upgrade system, It is characterized in that include: In-vehicle infotainment systems and in-vehicle communication terminals; Wherein, the in-vehicle infotainment system and the in-vehicle communication terminal are connected via a local area network, the in-vehicle infotainment system is used to execute the vehicle upgrade package downloading method described in any one of claims 1-6 above, and the in-vehicle communication terminal is used to execute the vehicle upgrade package downloading method described in any one of claims 7-9 above.

Citation Information

Cited By

  • Automobile OTA upgrading method, device and equipment based on dual-card bi-pass, and storage medium

    CN119376768A