Vehicle firmware upgrading method and system, vehicle, server and program product

By determining the offline upgrade node in the vehicle for firmware upgrade, the problems of network instability and high traffic consumption during the vehicle firmware upgrade process are solved, achieving stable and fast firmware upgrade and reducing costs.

CN118694660APending Publication Date: 2024-09-24BEIJING JIDU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410711145.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing vehicle firmware upgrade methods have problems with stability and traffic consumption through network distribution, especially the risk of upgrade failure and high traffic costs caused by network instability.

Method used

By determining the offline upgrade node that stores the firmware upgrade file in the vehicle, and establishing a communication connection with the node to transmit the firmware upgrade package, it avoids obtaining the upgrade package online, saves traffic costs, and improves the transmission speed and stability.

Benefits of technology

This improves the stability and speed of vehicle firmware upgrades, avoids upgrade failures caused by network problems, saves traffic costs, and ensures the security of the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694660A
    Figure CN118694660A
Patent Text Reader

Abstract

The invention provides a vehicle firmware upgrading method and system, a vehicle, a server and a program product, and relates to the technical field of vehicles. According to the method and the device, when the vehicle is subjected to firmware upgrading, the offline upgrading node stored with the firmware upgrading file can be determined, and the vehicle is enabled to establish communication with the node so as to perform firmware upgrading package transmission and upgrading. Therefore, when the vehicle is subjected to firmware upgrading, the firmware upgrading package does not need to be obtained online, and the traffic cost is saved. Meanwhile, compared with online transmission, offline transmission is faster and more stable, and firmware upgrade package transmission failure caused by network problems is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle firmware upgrade method, system, vehicle, server and program product. Background Art

[0002] Vehicle firmware refers to the software program installed in the vehicle's electronic control unit, which is used to manage and control various systems and functions of the vehicle, such as engine control, braking system, air conditioning system, audio system, etc. Vehicle firmware can control the performance, function and safety of the vehicle. It has a significant impact on the performance and safety of the vehicle.

[0003] With the continuous development of autonomous driving and related technologies, vehicle firmware needs to be updated in a timely manner to overcome vulnerabilities and defects, improve functions or increase compatibility. At present, firmware is generally distributed through the Internet, and it is necessary to ensure that the vehicle power supply is stable during the firmware upgrade, and to avoid power outages or other interference as much as possible. Upgrading firmware based on online methods requires vehicle traffic, and there is a risk of upgrade failure due to network instability. Therefore, how to upgrade vehicle firmware stably and efficiently is a technical problem that technicians in this field need to solve urgently. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a vehicle firmware upgrade method, system, vehicle, server and program product, which can be upgraded through an upgrade node, thereby improving the stability of the vehicle firmware upgrade.

[0005] In a first aspect, the present application provides a vehicle firmware upgrade method, which is applied to a vehicle to be upgraded. The method includes: generating a firmware upgrade request and sending it to an upgrade server, wherein the firmware upgrade request includes the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file. Receive response information from the upgrade server to the firmware upgrade request, wherein the response information includes at least one candidate upgrade node, and the candidate upgrade node is an upgrade network point and / or a vehicle. Determine a target upgrade node from at least one candidate upgrade node, wherein the target upgrade file stored at the target upgrade node includes at least part of the files in the firmware upgrade file. Determine the upgrade location corresponding to the target upgrade node. Go to the upgrade location and establish a communication connection with the target upgrade node. Receive the target upgrade file from the target upgrade node. Perform a vehicle firmware upgrade based on the target upgrade file.

[0006] In a second aspect, the present application provides a vehicle firmware upgrade method, which is applied to an upgrade server, and the method includes: receiving a firmware upgrade request of a vehicle to be upgraded, wherein the firmware upgrade request includes the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file. Based on the firmware version information and the vehicle location information, at least one candidate upgrade node is determined, wherein the candidate upgrade node is an upgrade network point and / or a vehicle, and the candidate upgrade node includes at least part of the files in the firmware upgrade file. Based on at least one candidate upgrade node, a response message of the firmware upgrade request is generated and sent to the vehicle to be upgraded, wherein the response message includes indication information of at least one candidate upgrade node, and the indication information of at least one subsequent upgrade node is used for the vehicle to be upgraded to determine the target upgrade node.

[0007] In a third aspect, the present application provides a vehicle firmware upgrade system, the system comprising a vehicle to be upgraded and an upgrade server. The vehicle to be upgraded is used to: generate a firmware upgrade request and send it to the upgrade server, wherein the firmware upgrade request includes the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file. The upgrade server is used to: receive the firmware upgrade request of the vehicle to be upgraded. Determine at least one candidate upgrade node based on the firmware version information and the vehicle location information, wherein the candidate upgrade node is an upgrade network point and / or a vehicle. Generate response information of the firmware upgrade request based on at least one candidate upgrade node and send it to the vehicle to be upgraded, wherein the response information includes indication information of at least one candidate upgrade node, and the indication information of at least one subsequent upgrade node is used for the vehicle to be upgraded to determine the target upgrade node. The vehicle to be upgraded is also used to: receive response information of the upgrade server to the firmware upgrade request. Determine the target upgrade node from at least one candidate upgrade node, wherein the target upgrade file stored at the target upgrade node includes at least part of the files in the firmware upgrade file. Determine the upgrade location corresponding to the target upgrade node. Go to the upgrade location to establish a communication connection with the target upgrade node. Receive the target upgrade file from the target upgrade node. Perform vehicle firmware upgrade based on the target upgrade file.

[0008] In a fourth aspect, the present application provides a computer program product, including a computer program / instruction. When the computer program / instruction processor is executed, the vehicle firmware upgrade method of the first aspect or the vehicle firmware upgrade method of the second aspect is implemented. Optionally, the computer program can be stored in a readable storage medium of a computer device or in the cloud; the processor of the computer device reads the computer program from the readable storage medium or the cloud.

[0009] In a fifth aspect, the present application provides a vehicle. The vehicle includes at least one processor and a memory in communication with the at least one processor. The memory further stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle firmware upgrade method described in the second aspect.

[0010] In a sixth aspect, the present application provides a vehicle. The vehicle includes at least one processor and a memory in communication with the at least one processor. The memory further stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle firmware upgrade method described in the first aspect.

[0011] The embodiments of the present application provide a vehicle firmware upgrade method, system, vehicle, server and program product. In the present application, when the vehicle is performing a firmware upgrade, it can determine the offline upgrade node where the firmware upgrade file is stored, and allow the vehicle to establish communication with the node to transmit and upgrade the firmware upgrade package. As a result, when the vehicle is performing a firmware upgrade, there is no need to obtain the firmware upgrade package online, saving traffic costs. At the same time, compared to online transmission, offline transmission is faster and more stable, avoiding the failure of firmware upgrade package transmission due to network problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 This is a signaling diagram of a vehicle firmware upgrade method provided in some embodiments of the present application.

[0014] Figure 2 This is an exemplary flowchart of a vehicle firmware upgrade method for a vehicle to be upgraded provided in some embodiments of the present application.

[0015] Figure 3 This is an exemplary flow chart of a method for obtaining a target upgrade file provided in some embodiments of the present application.

[0016] Figure 4 This is an exemplary flowchart of a method for upgrading vehicle firmware on the upgrade server side provided in some embodiments of the present application.

[0017] Figure 5 This is an exemplary flowchart of a method for determining candidate upgrade nodes in a reservation upgrade request provided in some embodiments of the present application.

[0018] Figure 6 This is an exemplary flow chart of a method for determining firmware upgrade options provided in some embodiments of the present application.

[0019] Figure 7 It is a schematic diagram of the structure of an electronic device provided in some embodiments of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] System-side vehicle firmware upgrade method

[0022] To solve the aforementioned problem of online firmware upgrade, this application can be upgraded through the upgrade node, thereby improving the stability of vehicle firmware upgrade.

[0023] Specifically, the vehicle firmware upgrade method, system, vehicle, server and program product provided by the present application, when the vehicle is performing a firmware upgrade, can determine the upgrade node storing the firmware upgrade file, and allow the vehicle to establish communication with the node to transmit and upgrade the firmware upgrade package. Among them, in the present application, the upgrade node is generally configured as an offline upgrade node, that is, the vehicle and the upgrade node can be connected through an offline network protocol (such as WIFI protocol, Bluetooth protocol). The offline network protocol here may include short-range wireless communication protocols, for example, Near Field Communication (NFC), Bluetooth, Radio Frequency Identification (RFID), WIFI, etc. It should be understood that the offline upgrade node can also establish a communication connection with the vehicle to be upgraded through wired technology, such as RS232, RS485, and Universal Serial Bus (USB).

[0024] Therefore, when the vehicle is upgrading its firmware, it does not need to obtain the firmware upgrade package online, saving traffic costs. At the same time, compared with online transmission, offline transmission is faster and more stable, avoiding the failure of firmware upgrade package transmission due to network problems.

[0025] Various non-limiting embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0026] Figure 1 This is a signaling diagram of a vehicle firmware upgrade method provided in some embodiments of the present application.

[0027] Figure 1 The process P100 shown can be executed by a vehicle firmware upgrade system, wherein the vehicle firmware upgrade system can include a vehicle to be upgraded, an upgrade server, and an upgrade node. The vehicle to be upgraded is the object of this firmware upgrade, and the upgrade server can be used to guide the vehicle to be upgraded to the upgrade node for upgrading.

[0028] The vehicle to be upgraded and the upgrade server can be abstracted as an electronic device provided with a processor and a memory. The memory also stores instructions executable by at least one processor, and the instructions are executed by at least one processor so that at least one processor can execute Figure 1 Vehicle firmware upgrade method P100 described in . For more information about electronic devices, see Figure 7 And the related descriptions are not repeated here.

[0029] like Figure 1 As shown, P100 may include the following steps:

[0030] S110: The vehicle to be upgraded generates a firmware upgrade request and sends it to an upgrade server.

[0031] S120: The upgrade server receives a firmware upgrade request of a vehicle to be upgraded.

[0032] S130. The upgrade server determines at least one candidate upgrade node based on the firmware version information and the vehicle location information.

[0033] S140: The upgrade server generates response information for the firmware upgrade request and sends it to the vehicle to be upgraded, wherein the response information includes at least one candidate upgrade node.

[0034] S150: The vehicle to be upgraded receives response information from the upgrade server to the firmware upgrade request.

[0035] S160: The vehicle to be upgraded determines a target upgrade node from at least one candidate upgrade node.

[0036] S170: The vehicle to be upgraded determines an upgrade position corresponding to a target upgrade node.

[0037] S180, go to the upgrade location and establish a communication connection with the target upgrade node. The vehicle to be upgraded can use short-range wireless communication technology or wired connection technology to establish a communication connection with the target upgrade node and receive the firmware upgrade file from the target upgrade node. For example, short-range wireless communication technology may include near field communication, Bluetooth, WIFI, etc., and wired connection technology may include RS232, RS485, universal serial bus (USB), etc.

[0038] S190, the vehicle to be upgraded receives the target upgrade file from the target upgrade node, and performs vehicle firmware upgrade based on the target upgrade file. It should be noted that if multiple target upgrade nodes are determined, the vehicle to be upgraded needs to reach each upgrade position according to the upgrade position corresponding to each target upgrade node, and obtain the firmware upgrade file from each target upgrade node. After obtaining the firmware upgrade file from the last target upgrade node, the vehicle to be upgraded can obtain all the firmware upgrade files, and the vehicle to be upgraded performs the firmware upgrade at this time.

[0039] The vehicles to be upgraded can determine the order in which they arrive at the corresponding upgrade locations with each target upgrade node according to the distance between them and the upgrade location. Alternatively, the vehicles to be upgraded can also agree on the agreed time corresponding to each target upgrade node, and arrive at the corresponding upgrade location with each target upgrade node according to the agreed time.

[0040] In some embodiments, the upgrade locations corresponding to multiple target upgrade nodes can be located at the same location, and multiple target upgrade nodes correspond to the same agreed time, so that the vehicle to be upgraded can communicate with multiple target upgrade nodes at the same location to receive firmware upgrade files.

[0041] In the aforementioned S110, the firmware upgrade request may reflect the firmware upgrade plan of the vehicle to be upgraded. For example, when the upgrade server detects new firmware on the vehicle based on the data reported by the vehicle, it may inquire the vehicle to be upgraded whether to upgrade. If the vehicle to be upgraded plans to upgrade, a corresponding firmware upgrade request may be generated.

[0042] In some embodiments, considering that the present application involves offline upgrades, in order to determine the node that can provide the firmware upgrade package, the aforementioned firmware upgrade request may generally include the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file. Among them, the vehicle location information of the vehicle to be upgraded can reflect the location of the vehicle (such as current location, historical movement trajectory, etc.). The firmware upgrade file can reflect the upgrade file required for the vehicle upgrade, and its firmware version information can be the identification information of the upgrade file. For example, the firmware version information can be descriptive information (such as the latest firmware, etc.), or it can be an identifier (such as the UID of the firmware version information and other information).

[0043] In some embodiments, the aforementioned S110 may be implemented based on the user operation of the relevant user of the vehicle to be upgraded. For example, the firmware upgrade request may be triggered by the user operation when the firmware information is pushed. For another example, the firmware upgrade request may be triggered by the user's active operation.

[0044] In some embodiments, the aforementioned S110 may not be limited to active requests from the vehicle side, but may also be characterized as multiple interactive processes between the vehicle to be upgraded and the upgrade server. For example, after the upgrade server exits the latest firmware of the vehicle to be upgraded, the upgrade server generally notifies about the latest firmware. When the vehicle to be upgraded responds to the notification to upgrade or selects to upgrade from the system settings, the upgrade server may provide multiple upgrade options for the vehicle to be upgraded to select. After the vehicle to be upgraded is selected, a firmware upgrade request may be generated based on the selected upgrade option.

[0045] In some embodiments, the aforementioned S110 and S120 can be implemented through communication between the vehicle to be upgraded and the upgrade server. That is, after the vehicle to be upgraded determines the firmware upgrade request, it sends a data packet containing the firmware upgrade request to the upgrade server through a remote communication protocol, so that after receiving the data packet, the upgrade server parses the data packet to determine the firmware upgrade request, thereby determining the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file.

[0046] In the aforementioned S130, the candidate upgrade node can be understood as a device that can provide at least part of the firmware upgrade file for the vehicle to be upgraded. Specifically, the candidate upgrade node can be configured as an upgrade outlet or other vehicles of the same brand. Among them, the upgrade outlet can be a fixed place where an upgrade server is set up. For example, it can be a 4S store and a brand cooperation area (such as a parking lot, a charging station, etc.). Other vehicles of the same brand can be understood as vehicles that have upgraded the firmware upgrade package.

[0047] In some embodiments, the aforementioned S130 can screen each offline node based on the firmware version information and the vehicle location information to determine a suitable offline node as a candidate upgrade node. Among them, the firmware version information can be used to screen out offline devices of at least part of the firmware upgrade file, and the vehicle location information can be used to screen the reachability of the vehicle to be upgraded and each offline node, wherein the reachability can reflect whether the vehicle to be upgraded can reach each offline node and whether it is convenient to reach each offline node. For example, the reachability can be determined based on the distance between the offline node and the vehicle to be upgraded. For another example, the reachability can be determined based on whether the driving range of the vehicle to be upgraded covers the offline node. Among them, more information about determining candidate upgrade nodes can be found in Figure 4 , Figure 5 and its related description.

[0048] In some embodiments, considering the subjective will of the vehicle owner, the vehicle as a candidate upgrade node needs to obtain the consent of the vehicle owner, so that when identifying candidate upgrade nodes, only vehicles that agree to share the firmware upgrade package can be identified.

[0049] In the aforementioned S140, the response information may refer to the feedback information of the upgrade server to the aforementioned firmware upgrade request. The response information may include the aforementioned candidate upgrade nodes. In some embodiments, the response information may directly present the candidate upgrade nodes and their related information for selection by the vehicle to be upgraded. In some embodiments, the response information may also further process the candidate upgrade nodes, so as to present the candidate upgrade nodes as the vehicle to be upgraded in other forms. For example, the candidate upgrade nodes may be combined to generate multiple selection lines for selection by the vehicle to be upgraded. For more information about upgrade options, please refer to Figure 6 and its related description.

[0050] Similar to the aforementioned S110 and S120, the aforementioned S140 and S150 can also be implemented based on the communication between the upgrade server and the vehicle to be upgraded, that is, when the upgrade server determines the aforementioned response information, the response information can be sent to the vehicle to be upgraded through the network protocol, so that the vehicle to be upgraded receives the response information and parses out each candidate upgrade node.

[0051] In the aforementioned S160, the target upgrade node may refer to the upgrade node selected by the vehicle to be upgraded. The upgrade file stored at the target upgrade node may be recorded as the target upgrade file. Considering that the aforementioned target upgrade node can be used for upgrading, the aforementioned target upgrade file may include at least part of the firmware upgrade file.

[0052] The upgrade position corresponding to the target upgrade node may refer to the theoretical position of the vehicle to be upgraded when the upgrade is performed based on the target upgrade node. That is, when the vehicle to be upgraded reaches the upgrade position, it can be upgraded offline with the target upgrade node.

[0053] In some embodiments, in the aforementioned S160, the target upgrade node can be determined from the candidate upgrade nodes based on the interactive operation. For example, the user of the vehicle to be upgraded can select one of the candidate upgrade nodes in the interactive interface as the target upgrade node. In some embodiments, the aforementioned target upgrade node can also be automatically determined based on a preset logic. For example, each candidate upgrade node can be evaluated based on indicators such as the distance between the two parties, the additional traffic consumption for the upgrade, and the reachability, so as to determine the optimal node as the target upgrade node.

[0054] In some embodiments, the upgrade location in S170 can be determined based on the target upgrade node. For example, the location where the vehicle to be upgraded can be upgraded can be determined based on the location of the target upgrade node and the communication coverage capability of the target upgrade node, and used as the upgrade location. For more information about the upgrade location, see Figure 3 and its related description.

[0055] In some embodiments, the aforementioned S180 can be implemented based on the driving behavior of the vehicle to be upgraded. That is, when the vehicle to be upgraded arrives at the upgrade location at the agreed time, the vehicle to be upgraded is located in the signal coverage range of the target upgrade node. At this time, the vehicle to be upgraded can achieve communication connection with the target upgrade node.

[0056] In some embodiments, the communication connection of the aforementioned S180 can generally be achieved through a wireless communication connection. For example, the vehicle to be upgraded and the target upgrade node can be connected through a short-distance self-organizing network (D2D, Device-to-Device) technology communication connection, wherein the short-distance self-organizing network (D2D, Device-to-Device) is a wireless communication technology that allows devices to communicate directly with each other without going through a base station or a centralized network device. That is, when the vehicle to be upgraded arrives at the upgrade location, the physical distance between the vehicle to be upgraded and the target upgrade node is close enough, so that a local area network of the vehicle to be upgraded and the target upgrade node can be formed based on the short-distance self-organizing network protocol, so that the vehicle to be upgraded and the target upgrade node are connected in communication.

[0057] In some embodiments, the short-distance self-organizing network protocol used in this application can be a stable large file transfer protocol. Currently, it can be implemented by technologies such as Wi-Fi Direct and Wireless USB. In the future, short-distance self-organizing network protocols that can transfer large files are also within the scope of protection of this application.

[0058] In some embodiments, in the aforementioned S180, before the vehicle to be upgraded communicates via the short-range ad hoc network protocol, it may communicate with the target upgrade node online / offline to start acquiring and transmitting the target upgrade file.

[0059] In some embodiments, the vehicle to be upgraded and the target upgrade node may also be connected by wired communication technology. For example, when the target upgrade node is a charging station, a storage device may be added to the charging pile so that it can store firmware upgrade files, and the charging gun and its connector may be modified so that it can transmit data (such as firmware upgrade files). For another example, the vehicle to be upgraded and the target upgrade node may be connected via a data cable.

[0060] In some embodiments, the aforementioned S190 can be executed based on the aforementioned communication connection. That is, when the two establish a communication connection, the vehicle to be upgraded can obtain the target upgrade file from the target upgrade node. In order to avoid third-party tampering, the target upgrade file can be stored in a trusted storage area of ​​the target upgrade node, that is, the target upgrade file can be obtained from the trusted storage area of ​​the target upgrade node.

[0061] Trusted storage areas refer to storage areas in computing devices that have security mechanisms and encryption protections and are used to store sensitive data, keys, certificates, and other information. These storage areas are usually protected by both hardware and software to prevent unauthorized access and data leakage.

[0062] When the target upgrade file is stored in the trusted storage area, the target upgrade node or its related users cannot modify the target upgrade file, thereby ensuring the security and integrity of the target upgrade file.

[0063] In some embodiments, in order to obtain access rights to the trusted storage area, the vehicle to be upgraded can also generate a data transmission request before data transmission. That is, the vehicle to be upgraded can generate a data transmission request and send it to the upgrade server to obtain access rights to the target upgrade file. The target upgrade file is obtained from the trusted storage area of ​​the target upgrade node based on the access rights.

[0064] In some embodiments, during this process, the upgrade server can verify the target upgrade file, that is, the upgrade server can verify the target upgrade file in response to the data transmission request of the vehicle to be upgraded when the vehicle to be upgraded is connected to the target upgrade node based on the short-distance self-organizing network protocol. Then, in response to the verification being passed, the upgrade server grants the vehicle to be upgraded access rights to the target upgrade file.

[0065] Therefore, in this application, when the vehicle is performing a firmware upgrade, it can determine the offline upgrade node where the firmware upgrade file is stored, and let the vehicle establish communication with the node to transmit and upgrade the firmware upgrade package. Therefore, when the vehicle is performing a firmware upgrade, there is no need to obtain the firmware upgrade package from the online, saving traffic costs. At the same time, compared with online transmission, offline transmission is faster and more stable, avoiding the failure of firmware upgrade package transmission due to network problems.

[0066] In addition, during the transmission of the target upgrade file, the vehicle to be upgraded and the target upgrade node can use a short-range self-organizing network protocol to communicate and call the target upgrade file stored in the trusted storage area. As a result, the data transmission between the vehicle to be upgraded and the target upgrade node is relatively stable and the target upgrade file cannot be tampered with through other channels, ensuring the safety of the vehicle upgrade.

[0067] Vehicle firmware upgrade method on the vehicle side

[0068] Figure 2 is an exemplary flow chart of a vehicle firmware upgrade method for a vehicle to be upgraded provided in some embodiments of the present application. In some embodiments, Figure 2 The vehicle firmware upgrade method P200 shown can be executed by a vehicle (ie, a vehicle to be upgraded).

[0069] like Figure 2 As shown, P200 may include the following steps:

[0070] S210: Generate a firmware upgrade request and send it to an upgrade server.

[0071] S220: Receive response information from the upgrade server to the firmware upgrade request.

[0072] S230: Determine a target upgrade node from at least one candidate upgrade node.

[0073] S240: Determine an upgrade position corresponding to the target upgrade node.

[0074] S250, go to the upgrade location and establish a communication connection with the target upgrade node.

[0075] S260: Receive a target upgrade file from a target upgrade node.

[0076] S270: Upgrade the vehicle firmware based on the target upgrade file.

[0077] For more information about the aforementioned P200, please refer to the relevant steps of the vehicle to be upgraded in P100, wherein S210 corresponds to S110, and S220 to S270 correspond to S150 to S190.

[0078] In actual implementation, considering that obtaining the target upgrade file is generally a two-end interactive process, in the aforementioned S230, the target upgrade node may be first asked whether it agrees to assist the upgrade, and then the upgrade location and time are agreed upon to determine the upgrade location. Therefore, the aforementioned S230 may include the following sub-steps:

[0079] First, at least one candidate upgrade node is determined based on the response information, and a target upgrade node is selected from the at least one candidate upgrade node.

[0080] Then, a transfer request is generated and sent to the target upgraded node.

[0081] Finally, when the target upgrade node passes the transmission request, the upgrade location is determined based on the target location of the target upgrade node.

[0082] In some embodiments, the step of determining the target upgrade node may be similar to the process of determining the target upgrade node in S160, that is, the response information may be parsed first to determine each candidate upgrade node, and then the target upgrade node may be determined based on a preset rule / user operation.

[0083] It should be noted that the subsequent interaction with the target upgrade node is taken into account. If no agreement is reached with the target upgrade node in the future, the node can be removed from the candidate upgrade node and the steps of determining the target upgrade node of the information can be re-executed until both parties reach an agreement. In addition, to ensure the stability of the upgrade process, if no agreement is reached with the target upgrade node of the vehicle class for multiple times, it can be recommended that the user give priority to the upgrade outlets (such as 4S electricity, charging piles, etc.) in the candidate upgrade nodes.

[0084] In the above steps, the transmission request may refer to the query information of the vehicle to be upgraded to the target upgrade node whether it agrees to provide the target upgrade file. If the target upgrade node passes the transmission request, it can be regarded that the target upgrade node agrees to provide the target upgrade file. Otherwise, it disagrees.

[0085] In some embodiments, the transmission request may include relevant information involved in the process of transmitting the target upgraded node. For example, the transmission request may include the agreed time and location for transmission.

[0086] In some embodiments, the aforementioned sub-steps can be understood as the abstract results of the interaction process between the vehicle to be upgraded and the target upgrade node. That is, the aforementioned steps can be implemented by multiple interactions. For example, in the first interaction, it can be inquired whether the corresponding data can be provided. The second interaction can be used to agree on the time, location, etc.

[0087] In the actual upgrade process, in the aforementioned interaction process, the vehicle to be upgraded can agree on the upgrade method with the target upgrade node. Among them, the upgrade method can include immediate upgrade and scheduled upgrade. Correspondingly, when determining the upgrade location based on different upgrade methods, the target location of the target upgrade node can be determined based on the interaction process line, and then the upgrade location can be determined based on the target location. Among them, the target location can correspond to the upgrade method, specifically the current location of the target upgrade node (corresponding to immediate upgrade) and / or the agreed location (corresponding to scheduled upgrade).

[0088] Furthermore, considering the accessibility of the upgrade location, in the aforementioned process of determining the upgrade location, the upgrade location can be determined based on the coverage of the communication protocol. That is, the communication protocol between the vehicle to be upgraded and the target upgrade node can be determined based on the type of the target upgrade node, and the communication range can be determined based on the communication protocol. The upgrade location is determined based on the target location, the communication range, and the map information, wherein the upgrade location is a reachable location in the map information, and the distance between the upgrade location and the target location is within the communication range.

[0089] In some embodiments, during the aforementioned process of upgrading based on the target upgrade file (S270), the firmware upgrade file may be restored based on the target upgrade file first, that is, the aforementioned S270 may further include the following steps:

[0090] S271. Determine a firmware upgrade file for the vehicle to be upgraded based on the target upgrade file.

[0091] S272. Upgrade the vehicle firmware based on the firmware upgrade file.

[0092] Among them, S271 can be based on the composition of the firmware upgrade file and the target upgrade file for restoration. For example, if the firmware upgrade file is a differential file, the target upgrade file can be differentiated based on the vehicle's own firmware information to determine the firmware upgrade file. The aforementioned S272 can be executed based on the firmware upgrade method of the vehicle's local files, which will not be repeated here.

[0093] For the aforementioned S271, this application finds that the target upgrade file may not cover the aforementioned target upgrade file. Specifically, in the actual market, there may be differences in the same vehicles, so there may be certain differences in the firmware upgrade files of each vehicle. For example, intelligent assisted driving is often used as an additional function and needs to be activated additionally. The firmware upgrade file of the vehicle that has not activated this function may involve the upgrade file of the intelligent assisted driving related module. For another example, the vehicle may have hardware options for doors (such as electric suction doors) and various types of seats (such as zero-gravity seats, massage seats, etc.). The control methods corresponding to different types of doors, seats and other hardware may be different, so the upgrade files of the corresponding parts may also be different.

[0094] Based on the aforementioned differences, the target upgrade file determined in the aforementioned process may not be able to overwrite the firmware upgrade file of the vehicle to be upgraded, wherein the inability to overwrite may mean that the firmware upgrade file of the vehicle to be upgraded contains content that is not included in the target upgrade file.

[0095] When executing the aforementioned S271, it can be determined whether the acquired target upgrade file can not overwrite the firmware upgrade file, and when the target upgrade file does not overwrite the firmware upgrade file, the remaining upgrade file is acquired, and the firmware upgrade file is determined based on the remaining upgrade file and the target upgrade file. The remaining upgrade file may refer to the part of the firmware upgrade file that is not included in the target upgrade file (such as the special configuration of the vehicle to be upgraded).

[0096] In some embodiments, the remaining upgrade files may be determined based on the version information of the upgrade files. For example, the actual composition of the target upgrade files and the firmware upgrade files may be determined based on the version information, and the remaining upgrade files may be determined through set operations (such as complement operations).

[0097] In some embodiments, the remaining upgrade files may be obtained through candidate upgrade nodes or online upgrades. For example, when the remaining upgrade files are large, the relevant operations of P200 may be repeated to obtain the remaining upgrade files as firmware upgrade files. For another example, when the remaining upgrade files are small, they may be directly obtained through the network.

[0098] It should be noted that the firmware upgrade files involved in determining the remaining upgrade files may refer to the original files of the firmware upgrade files, and do not involve the impact of the vehicle upgrade method on the firmware upgrade files (such as differential processing, slicing processing, etc.).

[0099] In some embodiments, considering the above situation, in order to facilitate the restoration of the firmware upgrade file for the vehicle to be upgraded, the upgrade server may provide multiple firmware upgrade options in the response information for the user to select. Each firmware upgrade option may be an upgrade mode combination including at least one candidate upgrade node. After executing the upgrade mode combination corresponding to the firmware upgrade option, the vehicle to be upgraded may obtain the complete firmware upgrade file.

[0100] Therefore, the aforementioned response information may also include at least one firmware upgrade option and the firmware upgrade consumption corresponding to each firmware upgrade option. When the vehicle to be upgraded receives the response information, the various firmware upgrade options can be parsed therefrom, thereby determining the target upgrade option from at least one firmware upgrade option based on the firmware upgrade consumption, and using the candidate upgrade node of the target upgrade option as the target upgrade node.

[0101] Firmware upgrade consumption may refer to the consumption that may be required to execute the corresponding firmware upgrade option, which may specifically include at least one of upgrade time, upgrade distance, and traffic consumption. For more information about firmware upgrade options and their consumption, see Figure 6 and its related description.

[0102] In some embodiments, the above can be determined by manual selection by the user. After determining the above firmware upgrade options and firmware upgrade consumption, the relevant information can be presented to the user through the central control screen, and the selected firmware upgrade option (recorded as the target upgrade option) can be determined through the user's interactive behavior, and the candidate upgrade nodes included in the firmware upgrade option are used as the target upgrade nodes.

[0103] In some embodiments, the foregoing may also be automatically performed based on actual consumption, thereby determining a firmware upgrade option with better upgrade consumption (referred to as a target upgrade option), and using the candidate upgrade nodes included in the firmware upgrade option as the target upgrade nodes.

[0104] In some embodiments, the above two methods can also be integrated. That is, the recommended option for the user can be determined from the firmware upgrade options based on consumption, and the recommended option and other options can be presented to the user for selection at the same time, and the recommended option can be highlighted in a special style during display, so as to determine the target upgrade option based on the user's interactive operation.

[0105] To further describe the process of obtaining the target upgrade file, some embodiments of the present application also provide a method for obtaining the target upgrade file ( Figure 3 ). Figure 3 The process P300 shown may be executed by a vehicle to be upgraded.

[0106] like Figure 3 As shown, P300 may include the following steps:

[0107] S310, go to the upgrade location.

[0108] S320: When the vehicle to be upgraded arrives at the upgrade location, a short-range communication request is generated and sent to the target upgrade node.

[0109] S330: When the target upgrade node passes the short-distance communication request, the target upgrade node is connected to the short-distance communication.

[0110] S340: Generate a target upgrade file acquisition request and send it to the upgrade server.

[0111] S350: When the upgrade server receives a target upgrade file acquisition request, it acquires the target upgrade file from the trusted storage area of ​​the target upgrade node.

[0112] In some embodiments, the aforementioned S320 and S330 reflect the interaction process between the vehicle to be upgraded and the target upgrade node after arriving at the upgrade location. That is, the communication connection between the vehicle to be upgraded and the target upgrade node is generally a two-way behavior, and the other party's confirmation is often required when establishing the communication connection. Therefore, the process of establishing a two-way communication connection can be started through a short-range communication request and its response.

[0113] In some embodiments, the interaction of the aforementioned short-distance communication request and its response information can be directly transmitted between the vehicle to be upgraded and the target upgrade node. For example, after the vehicle to be upgraded arrives at the upgrade location, the user can actively confirm with the target upgrade node, and after confirmation, the interaction of the aforementioned short-distance communication request is performed through the relevant settings of the vehicle. Exemplarily, when the aforementioned short-distance self-organizing network protocol is a Wifi protocol, the aforementioned short-distance communication request can be a connection request of the target upgrade node Wifi.

[0114] In some embodiments, in order to further reduce the participation of personnel at the target upgrade node, the aforementioned S320 and S330 can also be performed through the upgrade server, that is, the aforementioned target upgrade node can be hosted by the upgrade server, and when the vehicle to be upgraded arrives at the upgrade location, the short-range communication request can be directly transmitted through the upgrade server, and the upgrade server will control the target upgrade node to respond to the short-range communication request.

[0115] For example, when the target upgrade node is another vehicle, the target upgrade node at the target location can be a vehicle in standby state. When the vehicle to be upgraded arrives at the upgrade location, the user of the vehicle to be upgraded may no longer be able to meet the user of the target upgrade node offline. At this time, the target upgrade node can be hosted by the upgrade server. After the aforementioned short-range communication request is sent to the upgrade server, the upgrade server can respond based on the user's remote interaction (such as confirmation operation on the mobile phone) and / or other information, thereby establishing a communication connection. Exemplarily, the target location can be the regular parking location of the target upgrade node on the user's working day. When parking, the user can host it to the upgrade server, thereby achieving a communication connection without the user's offline participation.

[0116] Considering that the target upgrade file is stored in a trusted storage area, in order to ensure confidentiality during data transmission, the process of transmitting the target upgrade file can be authenticated by the upgrade server. For example, the target upgrade file acquisition request in the aforementioned S340 and S350 can be a request for access rights to the target upgrade file, and data transmission can only be performed when the request is passed. For another example, the target upgrade file acquisition request in the aforementioned 340 and S350 can be a transmission request for each file segment. When transmitting the target upgrade file, the file can be split into segments, and a specific segment is transmitted each time, and verification is performed after the transmission is completed. The aforementioned transmission request can be generated after the previous segment is verified, and is used to obtain data for the next segment.

[0117] Server-side vehicle firmware upgrade method

[0118] Figure 4 is an exemplary flow chart of a method for upgrading vehicle firmware on an upgrade server side provided in some embodiments of the present application. In some embodiments, Figure 4 The vehicle firmware upgrade method P400 shown can be executed by a server (ie, an upgrade server).

[0119] like Figure 4 As shown, P400 may include the following steps:

[0120] S410: Receive a firmware upgrade request from a vehicle to be upgraded.

[0121] S420: Determine at least one candidate upgrade node based on the firmware version information and the vehicle location information.

[0122] S430: Generate response information of the firmware upgrade request based on at least one candidate upgrade node, and send the response information to the vehicle to be upgraded.

[0123] For more descriptions of the aforementioned S410 to S430, reference may be made to the relevant contents of S120 to S140, which will not be elaborated here.

[0124] In some embodiments, to ensure that the candidate upgrade nodes can realize the firmware upgrade of the vehicle to be upgraded, in the process of determining the candidate upgrade nodes in the aforementioned S420, valid upgrade nodes can be determined first, and then screened based on the relevant information of the vehicle. That is, the aforementioned S420 may include the following sub-steps:

[0125] S421. Determine, based on the firmware version information of the firmware upgrade file, a plurality of valid upgrade nodes storing at least a portion of the firmware upgrade file.

[0126] S422: Determine at least one candidate upgrade node from valid upgrade nodes based on the vehicle location information and the type of the firmware upgrade request.

[0127] The valid upgrade node may refer to an offline node storing at least part of the firmware upgrade file. The part of the firmware upgrade file may support the firmware upgrade of the vehicle to be upgraded. In some embodiments, considering the actual composition of the firmware upgrade file, the aforementioned valid upgrade node may refer to an offline node storing at least the firmware upgrade file system slice file.

[0128] In some embodiments, the aforementioned S421 can determine the valid upgrade node based on the settings of each offline node and the firmware version information. That is, the firmware version information of each valid upgrade node should correspond to the firmware version information expected by the vehicle to be upgraded during this upgrade, and the valid upgrade node is willing to provide upgrade services for other vehicles.

[0129] In some embodiments, the screening of valid upgrade nodes may be performed based on different screening strategies based on the type of upgrade. Among them, the firmware upgrade request generally includes an immediate upgrade request and a scheduled upgrade request. The immediate upgrade request may reflect the need to upgrade the vehicle to be upgraded immediately, and the scheduled upgrade request may reflect that the vehicle to be upgraded can be upgraded at a later appropriate time.

[0130] In some embodiments, for an immediate upgrade request, the upgrade server may determine the real-time location information of the valid upgrade node in response to the firmware upgrade request being an immediate upgrade request. Then, the valid upgrade node is screened based on the vehicle location information and the real-time location information to determine the candidate upgrade node. The real-time location information of the candidate upgrade node and the vehicle location information meet a preset distance threshold condition.

[0131] For the reservation upgrade request, considering the flexibility of the upgrade time, matching and screening can be performed based on the driving habits of both parties. To further describe the process, the present application also provides a method for determining candidate upgrade nodes in the reservation upgrade request ( Figure 5 ).

[0132] like Figure 5 As shown, P500 may include the following steps:

[0133] S510: In response to the firmware upgrade request being a scheduled upgrade request, determine vehicle driving information of a valid upgrade node.

[0134] S520: Filter candidate upgrade nodes from valid upgrade nodes based on the vehicle location information and vehicle driving information.

[0135] The vehicle driving information of the effective upgraded node may include the parking time period and parking position of the effective upgraded node. That is, the aforementioned vehicle driving information may reflect the driving habits of the effective upgraded node. Among them, the parking position may refer to the habitual parking position of the effective upgraded node, and the parking time period may reflect the habitual parking time of the effective upgraded node.

[0136] In some embodiments, in order to further reflect the driving habits of the effective upgrade node, the aforementioned vehicle driving information may also include the daily driving trajectory (ie, daily driving route) corresponding to the effective upgrade node.

[0137] In some embodiments, in the aforementioned S520, the aforementioned screening can be performed based on preset screening conditions so that the parking position of the candidate upgrade node during the parking time period and the vehicle position information of the vehicle to be upgraded meet the preset distance threshold conditions, thereby reducing the extra travel caused by the firmware upgrade process and achieving the upgrade with the least possible travel cost.

[0138] In some embodiments, in order to assist the user in making a reasonable choice, the aforementioned response information may be composed of options, wherein each option may correspond to an offline upgrade strategy and provide the upgrade cost of the strategy for the user to choose. To further illustrate the determination process of the response information of this form, the present application also provides a method for determining a firmware upgrade option ( Figure 6 ).

[0139] like Figure 6 As shown, P600 may include the following steps:

[0140] S610: Determine candidate firmware upgrade packages for candidate upgrade nodes.

[0141] S620: Determine at least one firmware upgrade option based on the firmware upgrade file and the candidate upgrade nodes.

[0142] S630: Determine the firmware upgrade consumption of the firmware upgrade option.

[0143] S640: Generate response information of the firmware upgrade request based on the firmware upgrade option and the firmware upgrade consumption.

[0144] As mentioned above, the firmware upgrade option may refer to an upgrade node or a combination thereof that can provide a firmware upgrade package in general. Among them, the firmware upgrade line selection generally corresponds to an upgrade node, but considering that there is a situation where the firmware upgrade file cannot be completely covered, the aforementioned firmware upgrade option may include a candidate upgrade node and other upgrade nodes corresponding to the remaining upgrade files (if the remaining upgrade files are small, they can also be upgraded directly online).

[0145] In some embodiments, the firmware upgrade option can be constructed based on the candidate upgrade node. For example, the determination method can be similar to the above-mentioned description of the remaining upgrade files, that is, first determine a candidate upgrade node. Then determine the remaining upgrade files of the candidate upgrade package based on the candidate upgrade node. Then determine the method for obtaining the remaining upgrade files (such as other candidate upgrade nodes and online downloads, etc.). Finally, the candidate upgrade node and the method for obtaining the remaining upgrade files are encapsulated into a firmware upgrade option so that the firmware upgrade option can completely obtain the firmware upgrade files.

[0146] In some embodiments, in order to avoid the situation where each candidate upgrade node in the firmware upgrade option includes each other, each candidate upgrade node in the firmware upgrade option stores a portion of the firmware upgrade file, and different candidate upgrade nodes store different firmware upgrade files. Exemplarily, if the firmware upgrade option includes candidate upgrade nodes A and B, it can be understood that part of the firmware upgrade file a contained in A is not stored in B, and part of the firmware upgrade file b contained in B is not stored in A. Thus, each candidate upgrade node in the firmware upgrade option can provide firmware upgrade files that other candidate upgrade nodes do not have, avoiding useless operations in which the vehicle to be upgraded cannot obtain valid firmware upgrade files at the candidate upgrade node.

[0147] To facilitate the user / automatically select the upgrade method, after determining the aforementioned firmware upgrade option, the consumption of executing the firmware upgrade option can be estimated as the firmware upgrade consumption. That is, the firmware upgrade consumption can reflect the upgrade cost of the vehicle to be upgraded when the firmware upgrade option is executed. For example, the firmware upgrade consumption can include the distance to reach each upgrade node of the option and the traffic required to download the remaining files, that is, the traffic consumption. In some embodiments, the upgrade distance in the firmware upgrade consumption may include the distance from the vehicle to be upgraded to each candidate upgrade node. In addition, the upgrade distance can also present the distance to the nearest service outlet (such as a 4S store) to facilitate vehicle rescue when the upgrade is abnormal.

[0148] In some embodiments, the upgrade server may also provide preferred options for the vehicle to be upgraded based on the upgrade consumption. That is, the upgrade server may also determine the optimal firmware upgrade option among the firmware upgrade options based on the upgrade time, upgrade distance, and traffic consumption. The firmware upgrade option and the optimal firmware upgrade option are then sent to the vehicle to be upgraded.

[0149] Exemplary Electronic Devices

[0150] The present application also provides an electronic device, such as Figure 7 The electronic device 700 provided in the present application includes a memory 710, a processor 720, and an input / output interface 730. The memory 710, the processor 720, and the input / output interface 730 are connected through an internal connection path, the memory 710 is used to store instructions, and the processor 720 is used to execute the instructions stored in the memory 720 to control the input / output interface 730 to receive input data and information, and output data such as operation results.

[0151] It should be understood that in the embodiment of the present application, the processor 720 can adopt a general central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs to implement the technical solution provided in the embodiment of the present application.

[0152] The memory 710 may include a read-only memory and a random access memory, and provides instructions and data to the processor 720. A portion of the processor 720 may also include a nonvolatile random access memory. For example, the processor 720 may also store information on the device type.

[0153] During the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 720 or the instruction in the form of software. The vehicle firmware upgrade method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor execution, or it can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 710, and the processor 720 reads the information in the memory 710 and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here. The present application also provides a computer program product, including a computer program / instruction. When the computer program / instruction processor in the computer program product provided by the present application is executed, the vehicle firmware upgrade method provided by the present application can be implemented.

[0154] The present application also provides a vehicle, which can be used as a vehicle to be upgraded in a vehicle firmware upgrade system to execute a vehicle firmware upgrade method. The vehicle provided in the present application can be a fully automatic driving vehicle or a semi-automatic driving vehicle. The specific model of the vehicle provided in the present application can be a car, a commercial vehicle, a truck, a bus, a tram, etc.

[0155] The present application also provides a server, which can be used as an upgrade server in a vehicle firmware upgrade system to execute a vehicle firmware upgrade method.

[0156] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0157] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

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

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

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

[0161] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, operation and maintenance management (operation administration and maintenance, OAM) or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.

[0162] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle firmware upgrade method, characterized in that: Applied to a vehicle to be upgraded, the method comprises: Generate a firmware upgrade request and send it to an upgrade server, wherein the firmware upgrade request includes vehicle location information of the vehicle to be upgraded and firmware version information of the firmware upgrade file; Receiving response information from the upgrade server to the firmware upgrade request, wherein the response information includes at least one candidate upgrade node, and the candidate upgrade node is an upgrade network point and / or a vehicle; Determine a target upgrade node from the at least one candidate upgrade node, wherein the target upgrade file stored at the target upgrade node includes at least part of the firmware upgrade file; Determine an upgrade position corresponding to the target upgrade node; Go to the upgrade location and establish a communication connection with the target upgrade node; Receiving the target upgrade file from the target upgrade node; The vehicle firmware is upgraded based on the target upgrade file.

2. The vehicle firmware upgrade method according to claim 1, characterized in that: The determining the upgrade position corresponding to the target upgrade node includes: The upgrade location is determined based on a target location of the target upgrade node, wherein the target location includes a current location and / or an agreed location of the target upgrade node.

3. The vehicle firmware upgrade method according to claim 2, characterized in that: The determining the upgrade position based on the target position of the target upgrade node comprises: Determining a communication protocol between the vehicle to be upgraded and the target upgrade node based on the type of the target upgrade node, and determining a communication range based on the communication protocol; The upgrade location is determined based on the target location, the communication range, and map information, wherein the upgrade location is a reachable location in the map information, and a distance between the upgrade location and the target location is within the communication range.

4. The vehicle firmware upgrade method according to claim 1, characterized in that: The response information further includes at least one firmware upgrade option and a firmware upgrade consumption corresponding to each firmware upgrade option, the firmware upgrade option includes at least one candidate upgrade node, the firmware upgrade consumption includes at least one of upgrade time, upgrade distance, and traffic consumption, and determining a target upgrade node from the at least one candidate upgrade node includes: A target upgrade option is determined from the at least one firmware upgrade option based on the firmware upgrade consumption, and a candidate upgrade node of the target upgrade option is used as the target upgrade node.

5. The vehicle firmware upgrade method according to any one of claims 1 to 4, characterized in that: The vehicle firmware upgrade based on the target upgrade file includes: Determining a firmware upgrade file for the vehicle to be upgraded based on the target upgrade file, and performing a vehicle firmware upgrade based on the firmware upgrade file; When the target upgrade file does not cover the firmware upgrade file, the remaining upgrade files are obtained, and the firmware upgrade file is determined based on the remaining upgrade files and the target upgrade file.

6. A vehicle firmware upgrade method, characterized in that: Applied to upgrading a server, the method comprises: Receiving a firmware upgrade request of a vehicle to be upgraded, wherein the firmware upgrade request includes vehicle location information of the vehicle to be upgraded and firmware version information of a firmware upgrade file; Determine at least one candidate upgrade node based on the firmware version information and the vehicle location information, wherein the candidate upgrade node is an upgrade network point and / or a vehicle, and the candidate upgrade node includes at least part of the firmware upgrade file; A response message for the firmware upgrade request is generated based on the at least one candidate upgrade node and sent to the vehicle to be upgraded, wherein the response message includes indication information of the at least one candidate upgrade node, and the indication information of the at least one subsequent upgrade node is used for the vehicle to be upgraded to determine a target upgrade node.

7. The vehicle firmware upgrade method according to claim 6, characterized in that: The determining at least one candidate upgrade node based on the firmware version information and the vehicle location information includes: Determine, based on the firmware version information of the firmware upgrade file, a plurality of valid upgrade nodes storing at least a portion of the firmware upgrade file; The at least one candidate upgrade node is determined from the valid upgrade nodes based on the vehicle location information and the type of the firmware upgrade request.

8. The vehicle firmware upgrade method according to claim 7, characterized in that: The determining the at least one candidate upgrade node from the valid upgrade nodes based on the vehicle location information and the type of the firmware upgrade request comprises: In response to the firmware upgrade request being an immediate upgrade request, determining the real-time location information of the valid upgrade node; The valid upgrade nodes are screened based on the vehicle location information and the real-time location information to determine the candidate upgrade nodes, wherein the real-time location information of the candidate upgrade nodes and the vehicle location information meet a preset distance threshold condition.

9. The vehicle firmware upgrade method according to claim 7, characterized in that: The determining the at least one candidate upgrade node from the valid upgrade nodes based on the vehicle location information and the type of the firmware upgrade request comprises: In response to the firmware upgrade request being a scheduled upgrade request, determining vehicle driving information of the valid upgrade node, wherein the vehicle driving information includes a parking time period and a parking position of the valid upgrade node; The candidate upgrade node is screened out from the valid upgrade nodes based on the vehicle position information and the vehicle driving information, wherein the parking position of the candidate upgrade node in the parking time period and the vehicle position information of the vehicle to be upgraded meet a preset distance threshold condition.

10. The vehicle firmware upgrade method according to any one of claims 6 to 9, characterized in that: The generating the response information of the firmware upgrade request based on the at least one candidate upgrade node includes: Determining a candidate firmware upgrade package for the candidate upgrade node; Determine at least one firmware upgrade option based on the firmware upgrade file and the candidate upgrade node, wherein the firmware upgrade option can include at least one candidate upgrade node corresponding to the complete implementation of the vehicle firmware upgrade, and each candidate upgrade node in the firmware upgrade option stores a portion of the firmware upgrade file; Determine a firmware upgrade consumption of the firmware upgrade option, wherein the firmware upgrade consumption includes one of upgrade time, upgrade distance, and traffic consumption; Generate response information of the firmware upgrade request based on the firmware upgrade option and the firmware upgrade consumption.

11. A vehicle firmware upgrade system, characterized in that: The system includes a vehicle to be upgraded and an upgrade server; The vehicle to be upgraded is used for: Generate a firmware upgrade request and send it to the upgrade server, wherein the firmware upgrade request includes the vehicle location information of the vehicle to be upgraded and the firmware version information of the firmware upgrade file; The upgrade server is used for: Receiving a firmware upgrade request of the vehicle to be upgraded; Determine at least one candidate upgrade node based on the firmware version information and the vehicle location information, wherein the candidate upgrade node is an upgrade network point and / or a vehicle; Generate response information of the firmware upgrade request based on the at least one candidate upgrade node, and send it to the vehicle to be upgraded, wherein the response information includes indication information of the at least one candidate upgrade node, and the indication information of the at least one subsequent upgrade node is used for the vehicle to be upgraded to determine a target upgrade node; The vehicle to be upgraded is also used for: Receiving response information from the upgrade server to the firmware upgrade request; Determine a target upgrade node from the at least one candidate upgrade node, wherein the target upgrade file stored at the target upgrade node includes at least part of the firmware upgrade file; Determine an upgrade position corresponding to the target upgrade node; Go to the upgrade location and establish a communication connection with the target upgrade node; Receiving the target upgrade file from the target upgrade node; The vehicle firmware is upgraded based on the target upgrade file.

12. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction processor is executed, the vehicle firmware upgrade method according to claims 1-5 or the vehicle firmware upgrade method according to claims 6-10 is implemented.

13. A vehicle, characterized in that: The vehicle comprises: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein, the memory also stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle firmware upgrade method described in any one of claims 1-5.

14. A server, characterized in that: The server comprises: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein, the memory also stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle firmware upgrade method described in any one of claims 6-10.