A local area network chain upgrade system for vehicle-mounted software
By detecting vehicle download status and implementing local area network chain upgrades, the problems of resource waste and inefficient interaction in batch vehicle upgrades are solved, achieving efficient and low-cost software upgrades.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MERCEDES BENZ GRP
- Filing Date
- 2026-04-03
- Publication Date
- 2026-07-31
AI Technical Summary
When upgrading vehicle software in batches, the existing technology of indiscriminately transmitting software upgrade packages leads to resource waste and inefficient interaction, increasing time costs and network traffic consumption.
By detecting the download status of vehicles, the system allows vehicles that have completed software upgrades to transmit software upgrade packages via the local area network only when preset conditions are met. This achieves a local transmission mechanism of "whoever needs it requests it, and whoever requests it gets it," avoiding resource waste and long-term remote downloads.
It shortened the time to obtain software upgrade packages, improved upgrade efficiency, reduced costs, and decreased network traffic consumption.
Smart Images

Figure CN122496797A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and in particular to a local area network chain-based upgrade system for in-vehicle software. Background Technology
[0002] When performing batch upgrades to the in-vehicle software of multiple vehicles, the common practice is to issue OTA upgrade tasks to each vehicle separately via the cloud, allowing each vehicle to download the software upgrade package from the cloud. The vehicle that completes the download and upgrade first then transmits the upgrade package indiscriminately to the other vehicles that haven't completed the upgrade via its local area network. However, this is unnecessary for some of the other vehicles. For example, if a vehicle is about to complete its remote download of the upgrade package and receives it from the local vehicle, it results in duplicate transmission of the software package. Furthermore, transmitting the upgrade package between vehicles via the local area network requires multiple interactions between the two vehicles. Therefore, this indiscriminate transmission of the upgrade package to other vehicles wastes resources, reduces upgrade efficiency, and increases the time cost of the upgrade. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a local area network (LAN) chain-based upgrade system for vehicle software. When a poor download status of a software upgrade package remotely downloaded from a server is detected, the system requests vehicles that have already completed the software upgrade to transmit the software upgrade package via the local LAN. This achieves local transmission of the software upgrade package based on the principle of "whoever needs it requests it, and whoever requests it gets it," avoiding waste of LAN resources. It also overcomes the drawbacks of long download times and high network traffic consumption associated with remotely downloading software upgrade packages, shortening the time required to obtain the software upgrade package, improving software upgrade efficiency, and reducing software upgrade costs.
[0004] To achieve the above objectives, according to one aspect of the present invention, a local area network chain-based upgrade system for vehicle software is provided, comprising: a server for providing software upgrade packages and multiple vehicles communicatively connected to the server, wherein... All of the vehicles are connected to the same local area network; After the software upgrade is completed, the first of the multiple vehicles broadcasts a notification indicating that the software upgrade was successful. The second vehicle, other than the first vehicle, responds to the received notification by detecting its own download status of the software upgrade package from the server, and sends a request to the first vehicle to obtain the software upgrade package if the download status meets preset conditions. The first vehicle is further configured to transmit the software upgrade package to the second vehicle via the local area network; The second vehicle is used to perform a software upgrade based on the received software upgrade package.
[0005] Optionally, the second vehicle is further configured to detect the download speed of the software upgrade package downloaded from the server, and determine that the download status meets the preset condition if the download speed is less than a preset speed threshold; And / or, The second vehicle is further configured to query the download progress of the software upgrade package, and if the download progress is less than a preset progress threshold, determine that the download status meets the preset condition.
[0006] Optionally, it can be applied to vehicle production scenarios. Many of the vehicles mentioned are either factory-produced vehicles or vehicles returned for repair. The local area network covers the entire factory area.
[0007] Optionally, the second vehicle is further configured to calculate a first distance between itself and the first vehicle, and if the first distance is less than or equal to a preset distance threshold, send a connection request to the first vehicle to establish a local area network connection in order to obtain the software upgrade package based on the local area network connection.
[0008] Optionally, the second vehicle is further configured to, upon receiving a notification broadcast by a plurality of first vehicles, calculate a second distance between itself and each of the first vehicles, determine a target first vehicle from the plurality of first vehicles based on the second distance, and send a connection request to the target first vehicle to establish a local area network connection in order to obtain the software upgrade package based on the local area network connection.
[0009] Optionally, in response to the received notification, the second vehicle sends a connection request to the first vehicle to establish a local area network connection based on the first vehicle identifier included in the notification. The first vehicle establishes a local area network connection with the second vehicle according to the connection request.
[0010] Optionally, the second vehicle is configured to send a request to the first vehicle for obtaining the software upgrade package after establishing a local area network connection with the first vehicle; In response to the received acquisition request, the first vehicle sends a target request to the server to convert the remote upgrade to a local upgrade for the second vehicle. In response to the received target request, the server stops providing the software upgrade package to the second vehicle and authorizes the first vehicle to transmit the software upgrade package to the second vehicle.
[0011] Optionally, in response to the received target request, the server verifies and registers the unique vehicle identifier of the second vehicle included in the target request, and sends the unique vehicle identifier back to the first vehicle to complete the authorization of the first vehicle.
[0012] Optionally, the second vehicle is configured to broadcast a notification indicating that the software upgrade was successful after the software upgrade is completed.
[0013] Optionally, the server is configured to simultaneously push remote upgrade tasks to multiple vehicles, so that the multiple vehicles respond to the received remote upgrade tasks, download the software upgrade package from the server, and perform software upgrades based on the software upgrade package.
[0014] One embodiment of the above invention has the following advantages or beneficial effects: when the download status of the software upgrade package remotely downloaded from the server is detected to be poor, the system requests the vehicle that has completed the software upgrade to transmit the software upgrade package through the local area network. This realizes the local transmission of the software upgrade package based on the principle of "whoever needs it requests it, and whoever requests it gets it", avoiding the waste of local area network resources. At the same time, it overcomes the disadvantages of long download time and large network traffic consumption of remotely downloading software upgrade packages, shortens the software upgrade package acquisition time, improves software upgrade efficiency, and reduces software upgrade costs.
[0015] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0016] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein: Figure 1 This is a schematic diagram of the main modules of a local area network chain-type upgrade system for vehicle software according to an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the interaction between a server and multiple vehicles according to an embodiment of the present invention; Figure 3 This is a schematic diagram of a first vehicle broadcasting a notification indicating a successful software upgrade, and a second vehicle sending a request to the first vehicle to obtain a software upgrade package, according to an embodiment of the present invention. Figure 4 This is a schematic diagram illustrating the establishment of a local area network connection between a second vehicle and the closest first vehicle among a plurality of first vehicles according to an embodiment of the present invention; Figure 5 This is a schematic diagram of a "virus infection" chain upgrade of multiple vehicles according to an embodiment of the present invention. Detailed Implementation
[0017] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0018] It should be noted that, unless otherwise specified, the embodiments of the present invention and the technical features thereof can be combined with each other.
[0019] Figure 1 This is a schematic diagram of the main modules of a local area network chain-based upgrade system 100 for vehicle software according to an embodiment of the present invention.
[0020] like Figure 1 As shown, the local area network chain-based upgrade system 100 for vehicle software according to an embodiment of the present invention mainly includes: a server 101 for providing software upgrade packages and multiple vehicles 102 communicatively connected to the server, wherein the multiple vehicles 102 are all connected to the same local area network; after completing the software upgrade, a first vehicle 1021 broadcasts a notification indicating that the software upgrade was successful; a second vehicle 1022, other than the first vehicle 1021, responds to the received notification, detects its own download status of the software upgrade package from the server, and sends a request to the first vehicle 1021 to obtain the software upgrade package if the download status meets preset conditions; the first vehicle 1021 is further used to transmit the software upgrade package to the second vehicle 1022 through the local area network; the second vehicle 1022 performs a software upgrade based on the received software upgrade package.
[0021] Traditional OTA (Over-The-Air) batch upgrades for vehicles suffer from two major problems: 1. Waste of resources (some vehicles nearing completion of the remote download of the software upgrade package receive another package transmitted via the local area network, resulting in double transmission); 2. Inefficient interaction (vehicles that have completed the software upgrade connect to other vehicles indiscriminately, consuming local area network bandwidth). This embodiment, based on the logic of upgrade success notification - download status detection - conditional request, ensures that local area network transmission only occurs between the second vehicle that truly needs the upgrade and the first vehicle that has completed the software upgrade, fundamentally reducing resource waste and ineffective interaction.
[0022] This embodiment applies to scenarios where the onboard software of multiple vehicles needs to be upgraded to the same baseline version. These multiple vehicles can be production lines in an automobile factory, vehicles in a city taxi / bus fleet, or multiple vehicles in an engineering fleet, but are not limited to these. The server can be a cloud-based server that provides the software upgrade package. Multiple vehicles can establish long-distance communication connections with the server and download the software upgrade package from the server based on these communication connections. Multiple vehicles can simultaneously connect to the same local area network (LAN), for example, production lines in an automobile factory can simultaneously connect to the factory's LAN. Multiple vehicles can achieve LAN connectivity through communication protocols such as V2X / Wi-Fi / Bluetooth.
[0023] In an optional embodiment of the present invention, the server 101 is configured to simultaneously push remote upgrade tasks (i.e., OTA upgrade tasks) to multiple vehicles 102, so that the multiple vehicles respond to the received remote upgrade tasks, download the software upgrade package from the server 101, and perform software upgrades based on the software upgrade package. Figure 2 The diagram illustrates the interaction between server 101 and multiple vehicles 102, including server 101 pushing remote upgrade tasks to multiple vehicles 102, and multiple vehicles 102 sending instructions to server 101 to agree to the upgrade.
[0024] The server stores software upgrade packages and provides them to vehicles. Upon receiving a new version of the software upgrade package uploaded by a user (e.g., a car manufacturer), the server issues remote upgrade tasks to multiple vehicles. Upon receiving confirmation of the upgrade from the vehicles, the server opens interfaces for each vehicle to access the software upgrade package, allowing them to download it. This embodiment enables timely push notifications of software upgrade tasks, ensuring timely updates to the vehicle's onboard software.
[0025] The first vehicle 1021, which completes the remote download and software upgrade of the software upgrade package first among multiple vehicles, broadcasts a notification to the local area network indicating a successful software upgrade. This notification may include key information such as the version of the software upgrade package and the identifier of the first vehicle. The second vehicle 1022 can determine whether to send a request to the first vehicle 1021 to obtain the software upgrade package based on its version, and sends such a request to the first vehicle 1021 based on its identifier. Figure 3 The diagram shows a first vehicle 1021 broadcasting a notification indicating a successful software upgrade and a second vehicle 1022 sending a request to the first vehicle 1021 to obtain the software upgrade package. The dashed double arrows represent remote network connections, and the solid double arrows represent local area network connections.
[0026] Before sending a request to the first vehicle 1021 to obtain the software upgrade package, the second vehicle 1022 needs to check its own download status of the software upgrade package from the server to determine the download speed or progress. If the download status indicates that the remote download of the software upgrade package is about to complete or has already completed, there is no need to send a request to the first vehicle, i.e., there is no need to switch from remote download to local transmission. If the download status indicates that the remote download of the software upgrade package will take a long time to complete, then the second vehicle sends a request to the first vehicle, i.e., switches from remote download to local transmission. After receiving the request from the second vehicle, the first vehicle transmits the software upgrade package to the second vehicle, and the second vehicle completes the software upgrade based on the locally transmitted software upgrade package, thereby shortening the software upgrade package acquisition time and improving the software upgrade efficiency.
[0027] The technical principle behind the first vehicle broadcasting a notification indicating a successful software upgrade is as follows: Based on the UDP (User Datagram Protocol) broadcast address mechanism, the first vehicle sends a message to the local area network's broadcast address (such as the IPv4 broadcast address 255.255.255.255, or the IPv6 multicast address ff02::1). All second vehicles within the same local area network that have the corresponding port open for listening to notifications can receive this notification indicating a successful software upgrade. This local area network scenario can be a local WiFi network or an in-vehicle Ethernet network, etc. This embodiment's broadcast notification method, with its connectionless and low-overhead characteristics, achieves the technical effect of avoiding excessive consumption of vehicle CPU / bandwidth resources.
[0028] Upon receiving the notification, the second vehicle, which has not yet completed the software upgrade, first performs a download status check. Only when the download status meets preset conditions, such as a slow download speed (e.g., 10Kb / s) or low download progress (e.g., below 20% or 30%), does it send a request to the first vehicle to obtain the software upgrade package. Upon receiving the request, the first vehicle transmits the software upgrade package to the second vehicle via the local area network, and the second vehicle completes the software upgrade based on this package.
[0029] The second vehicle detects its own download status for the software upgrade package and determines whether it is in a state of low remote download efficiency or has not started downloading. If it determines that its own download efficiency for the software upgrade package is low or has not started downloading, it sends a request to the first vehicle to obtain the software upgrade package.
[0030] In an optional embodiment of the present invention, the second vehicle 1022 is further configured to detect the download speed of the software upgrade package downloaded from the server 101, and determine that the download status meets the preset condition if the download speed is less than a preset speed threshold.
[0031] The preset speed threshold can be flexibly adjusted according to actual conditions, such as setting it based on the size of the software upgrade package. Specifically, the download speed of the second vehicle downloading the software upgrade package from the server depends on the strength of the network signal at the second vehicle's location. If the download speed is lower than the preset speed threshold, the download time will be longer, indicating that the second vehicle's download status meets the preset conditions. This means that the second vehicle's remote download needs to be switched to local transmission, i.e., requesting the first vehicle to transmit the software upgrade package via the local area network. This embodiment filters out the second vehicle that truly needs the local transmission of the software upgrade package by detecting the download speed, avoiding indiscriminately transmitting the software upgrade package via the local area network to all vehicles that have not completed the upgrade, thus overcoming the problems of resource waste and low interaction efficiency.
[0032] In an optional embodiment of the present invention, the second vehicle is further configured to query the download progress of the software upgrade package, and if the download progress is less than a preset progress threshold, determine that the download status meets the preset condition.
[0033] Specifically, the download progress of the software upgrade package can be recorded, stored, and queried in real time. Download progress refers to the percentage of the total download task of the software upgrade package that has been completed, such as 20%, 30%, or 50%. The preset progress threshold can be flexibly set according to actual conditions, such as the size of the software upgrade package data. The current download progress of the second vehicle determines its remaining download time. That is, a lower current download progress means a longer remaining download time. Therefore, if the download progress is less than the preset threshold, the download status is determined to meet the preset condition, i.e., a request is made to the first vehicle for local transmission of the software upgrade package, thereby shortening the software upgrade package acquisition time and improving software upgrade efficiency. This embodiment filters out the second vehicle that truly needs local transmission of the software upgrade package by detecting the download progress, avoiding prioritizing the transmission of the software upgrade package to the second vehicle that does not need local transmission, avoiding long waiting times for the second vehicle that does need local transmission, reducing the waste of local area network resources, and improving the interaction efficiency between vehicles.
[0034] In an optional embodiment of the present invention, the second vehicle, in response to the received notification, sends a connection request to the first vehicle to establish a local area network connection based on the first vehicle identifier included in the notification; the first vehicle establishes a local area network connection with the second vehicle based on the connection request.
[0035] Specifically, when the second vehicle receives a notification broadcast by the first vehicle indicating a successful software upgrade, and confirms that its download status meets preset conditions, it extracts the first vehicle's identifier from the notification, such as the vehicle's unique identifier (e.g., VIN code, where VIN is an abbreviation for Vehicle Identification Number). It can also perform authentication based on the vehicle's unique identifier, such as checking whether the vehicle's unique identifier exists in a pre-configured list of legitimate vehicle information. If it exists, it can determine that the first vehicle is a legitimate vehicle. After verification, it sends a connection request to the first vehicle corresponding to the vehicle's unique identifier to establish a local area network connection, thereby improving the security of the communication connection. The first vehicle receives a connection request from the second vehicle and performs multiple checks on the request. For example, it determines whether the target connection object in the connection request is the first vehicle itself. Specifically, it checks whether the target vehicle identifier in the connection request matches the first vehicle's own vehicle identifier. If the check passes, a local area network (LAN) connection is established with the second vehicle, thus preventing the first vehicle from establishing a LAN connection with an incorrect target. Alternatively, based on the second vehicle's unique identifier included in the connection request, the first vehicle performs identity verification. If the verification result indicates that the second vehicle passes identity verification, a LAN connection is established with the second vehicle. After the first and second vehicles establish a LAN connection, their connection status is marked as ready.
[0036] This embodiment enables the establishment of local area network (LAN) connections between vehicles based on vehicle identification verification, avoiding the situation where software upgrade packages are transmitted to the wrong objects due to the establishment of LAN connections between incorrect connection objects, thus improving the reliability of software upgrades.
[0037] In an optional embodiment of the present invention, the second vehicle 1022 is further configured to determine a first distance between itself and the first vehicle, and if the first distance is less than or equal to a preset distance threshold, send a connection request to the first vehicle 1021 to establish a local area network connection, so as to obtain the software upgrade package based on the local area network connection.
[0038] Wireless LAN communication relies on electromagnetic wave transmission, and the distance between the first and second vehicles directly determines the communication quality. In real-world scenarios, the distance between the second and first vehicles may be significant, leading to unstable signals and poor communication quality. Therefore, even if the second vehicle receives the notification broadcast by the first vehicle indicating a successful software upgrade, communication interruptions or instability may occur if the first vehicle transmits the software upgrade package to the second vehicle via the LAN. To avoid software upgrade package transmission failures, the second vehicle, when the distance to the first vehicle is determined to be less than a preset distance threshold, sends a request to establish a LAN connection and obtain the software upgrade package. This avoids the need for retransmission after software upgrade package transmission interruptions or failures, further improving the transmission efficiency of the software upgrade package.
[0039] In an optional embodiment of the present invention, the second vehicle 1022 is further configured to, upon receiving a notification broadcast by a plurality of first vehicles 1021, determine a second distance between itself and each of the first vehicles 1021, identify a target first vehicle from the plurality of first vehicles based on the second distance, and send a connection request to the target first vehicle to establish a local area network connection, so as to obtain the software upgrade package based on the local area network connection. Figure 4 The diagram shows a local area network connection established between the second vehicle 1022 and the closest first vehicle 1021 among a plurality of first vehicles 1021.
[0040] In real-world scenarios, the following situation may also exist: there are multiple first vehicles that have completed software upgrades, and all of these first vehicles broadcast notifications indicating successful software upgrades. A second vehicle receives these notifications from the multiple first vehicles. To ensure the stability of the software upgrade package transmission, the second vehicle selects the first vehicle that is closest to it from among the multiple first vehicles and sends a connection request to the closest first vehicle to establish a local area network (LAN) connection. The second vehicle then establishes a LAN connection with the first vehicle and obtains the software upgrade package based on the LAN connection.
[0041] Since signal strength within the same local area network attenuates with increasing distance, and the attenuation magnitude follows a fixed model, such as the logarithmic distance path loss model, no additional hardware, such as GPS or radar, is required. The second vehicle can infer its distance from the first vehicle simply by observing the signal strength of the notification broadcast by the first vehicle. In other words, it can infer the distance between the second and first vehicles based on the signal attenuation and its pattern.
[0042] When the second vehicle receives multiple notifications, it calculates the distance between itself and the first vehicle corresponding to each notification based on the signal strength of each notification, and determines the first vehicle with the smaller distance among the multiple distances as the target first vehicle, that is, sends a connection request to the target first vehicle to establish a local area network connection.
[0043] This embodiment selects the closest vehicle by distance, ensuring the stability of software upgrade package transmission, improving transmission efficiency, and avoiding the hassle of retransmission in case of transmission failure.
[0044] In an optional embodiment of the present invention, the system is applied to a vehicle production scenario, wherein multiple vehicles are either factory-rolled vehicles or vehicles returned for repair; the local area network covers the entire factory area.
[0045] When a car factory performs batch upgrades on vehicles off the production line, or when a car factory performs batch upgrades on vehicles returned for repair, the local area network chain upgrade system for vehicle software in this embodiment can be applied to reduce traffic consumption, improve the success rate of OTA upgrades, and reduce the time cost of software upgrades.
[0046] In an optional embodiment of the present invention, the second vehicle is configured to send a request to the first vehicle for obtaining the software upgrade package after establishing a local area network connection with the first vehicle; the first vehicle, in response to the received request, sends a target request to the server to convert the remote upgrade to a local upgrade for the second vehicle; the server, in response to the received target request, stops providing the software upgrade package to the second vehicle and authorizes the first vehicle to transmit the software upgrade package to the second vehicle.
[0047] To facilitate server-side management of vehicle software upgrades, after receiving a request from the second vehicle to obtain a software upgrade package, the first vehicle sends a target request to the server to inquire whether the second vehicle's remote upgrade (remote download of the software upgrade package) can be converted to a local upgrade (transmission of the software upgrade package over the local area network). Upon receiving the target request, the server authorizes the first vehicle to transmit the software upgrade package to the second vehicle, enabling the second vehicle to perform a local upgrade. Another function of the first vehicle sending the target request to the server is to prompt the server to stop providing the software upgrade package to the second vehicle as early as possible, saving network bandwidth and reducing traffic consumption.
[0048] This embodiment enables the server to monitor the vehicle's software upgrade status in real time, facilitating the management of the vehicle's software upgrade, while also saving network bandwidth and reducing traffic consumption.
[0049] In an optional embodiment of the present invention, the server, in response to the received target request, verifies and registers the unique vehicle identifier of the second vehicle included in the target request, and sends the unique vehicle identifier back to the first vehicle to complete the authorization of the first vehicle.
[0050] In this embodiment, the server verifies the second vehicle based on the unique vehicle identifier of the second vehicle included in the target request sent by the first vehicle. If the verification is successful, the server records the software upgrade status of the second vehicle and authorizes the first vehicle to transmit the software upgrade package to the second vehicle through the local area network. This embodiment improves the reliability of the server's management of vehicle software upgrades.
[0051] In an optional embodiment of the present invention, the second vehicle is configured to broadcast a notification indicating that the software upgrade was successful after the software upgrade is completed.
[0052] After the first vehicle transmits the software upgrade package to the second vehicle via the local area network (LAN), and the second vehicle completes its software upgrade based on this package, it can act as the first vehicle that has completed the upgrade, broadcasting a notification indicating a successful upgrade and transmitting the upgrade package to other second vehicles that have not yet completed their upgrades via the LAN, thus accelerating the upgrade process for other vehicles. Similarly, after other vehicles complete their upgrades, they can also transmit upgrade packages to vehicles that have not yet completed their upgrades via the LAN, achieving a "virus-like" chain upgrade method. The second vehicle that has completed its upgrade acts as the master node (i.e., the vehicle providing the upgrade package). Transmitting the upgrade package to other vehicles via the LAN, and then having the second vehicle complete its upgrade based on this package, it becomes the master node again, transmitting upgrade packages to other vehicles via the LAN, making those other vehicles master nodes as well. This gradually increases the number of master nodes until all vehicles become master nodes, meaning all vehicles have completed their upgrades, thus achieving a "virus-like" chain upgrade method. Figure 5 The diagram illustrates a chain-like upgrade process involving multiple vehicles, described as a "virus infection." Fig. a shows the transmission of software upgrade packages from vehicle A to vehicles B, C, D, and E via a local area network at time T1. Here, A represents the vehicle that has completed the software upgrade, while B, C, D, and E represent the vehicles that have not completed the upgrade. Fig. b shows the transmission of software upgrade packages from vehicle E to vehicles F, G, and H via a local area network at time T2, where T2 is greater than T1. Here, A, B, C, D, and E represent the vehicle that has completed the software upgrade, while F, G, and H represent the vehicles that have not completed the upgrade.
[0053] This embodiment further accelerates the software upgrade speed for multiple vehicles, increases software upgrade efficiency, reduces data consumption, and lowers upgrade time costs.
[0054] The local area network (LAN) chain-based upgrade system for vehicle software in this embodiment of the invention, when detecting poor download status of the software upgrade package remotely downloaded from the server, requests vehicles that have completed the software upgrade to transmit the software upgrade package through the local LAN. This achieves local transmission of the software upgrade package based on the principle of "whoever needs it requests it, and whoever requests it gets it," avoiding waste of LAN resources. At the same time, it overcomes the drawbacks of long download times and high network traffic consumption of remote software upgrade packages, shortens the software upgrade package acquisition time, improves software upgrade efficiency, and reduces software upgrade costs.
[0055] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A local area network-based chain-style upgrade system for vehicle software, characterized in that, include: A server for providing software upgrade packages and multiple vehicles communicating with the server, wherein... All of the vehicles are connected to the same local area network; After the software upgrade is completed, the first of the plurality of vehicles broadcasts a notification indicating that the software upgrade was successful. The second vehicle, other than the first vehicle, responds to the received notification by detecting its own download status of the software upgrade package from the server, and sends a request to the first vehicle to obtain the software upgrade package if the download status meets preset conditions. The first vehicle is further configured to transmit the software upgrade package to the second vehicle via the local area network; The second vehicle is used to perform a software upgrade based on the received software upgrade package.
2. The system according to claim 1, characterized in that, The second vehicle is further configured to detect the download speed of the software upgrade package downloaded from the server, and if the download speed is less than a preset speed threshold, determine that the download status meets the preset condition; And / or, The second vehicle is further configured to query the download progress of the software upgrade package, and if the download progress is less than a preset progress threshold, determine that the download status meets the preset condition.
3. The system according to claim 1 or 2, characterized in that, Applied to vehicle production scenarios, Many of the vehicles mentioned are either factory-produced vehicles or vehicles returned for repair. The local area network covers the entire factory area.
4. The system according to claim 1 or 2, characterized in that, The second vehicle is further configured to determine a first distance between itself and the first vehicle, and if the first distance is less than or equal to a preset distance threshold, send a connection request to the first vehicle to establish a local area network connection in order to obtain the software upgrade package based on the local area network connection.
5. The system according to claim 1 or 2, characterized in that, The second vehicle is further configured to, upon receiving a notification broadcast by a plurality of first vehicles, determine a second distance between itself and each of the first vehicles, identify a target first vehicle from the plurality of first vehicles based on the second distance, and send a connection request to the target first vehicle to establish a local area network connection in order to obtain the software upgrade package based on the local area network connection.
6. The system according to claim 1 or 2, characterized in that, The second vehicle, in response to the received notification, sends a connection request to the first vehicle to establish a local area network connection based on the first vehicle identifier included in the notification; The first vehicle establishes a local area network connection with the second vehicle according to the connection request.
7. The system according to claim 6, characterized in that, The second vehicle is configured to send a request to the first vehicle for obtaining the software upgrade package after establishing a local area network connection with the first vehicle. In response to the received acquisition request, the first vehicle sends a target request to the server to convert the remote upgrade to a local upgrade for the second vehicle. In response to the received target request, the server stops providing the software upgrade package to the second vehicle and authorizes the first vehicle to transmit the software upgrade package to the second vehicle.
8. The system according to claim 7, characterized in that, In response to the received target request, the server verifies and registers the unique vehicle identifier of the second vehicle included in the target request, and sends the unique vehicle identifier back to the first vehicle to complete the authorization of the first vehicle.
9. The system according to claim 1 or 2, characterized in that, The second vehicle is used to broadcast a notification indicating that the software upgrade was successful after the software upgrade is completed.
10. The system according to claim 3, characterized in that, The server is configured to simultaneously push remote upgrade tasks to multiple vehicles, so that the multiple vehicles respond to the received remote upgrade tasks, download the software upgrade package from the server, and perform software upgrades based on the software upgrade package.