OTA upgrading method and device, computer equipment and readable storage medium

During the vehicle OTA upgrade process, the main control node and the routing node jointly control the function server, select the target controller and prohibit the network communication of other controllers, solve the user experience problems caused by functional limitations in the existing technology, and achieve a smooth OTA upgrade process and high success rate.

CN118963791APending Publication Date: 2024-11-15CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410930988.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During the vehicle OTA upgrade process, in order to reduce the bus load rate and improve the upgrade success rate, the existing technology often limits the vehicle functions, resulting in inconvenient user experience, especially when the upgrade time is long, the functions in the cockpit cannot be used, affecting the driving experience.

Method used

Through the main control node, the communication between the router nodes is controlled to enter the OTA upgrade mode, select the target controller and issue network prohibition instructions to other controllers, prohibit its network communication function, and ensure the smooth progress of network communication during the vehicle upgrade process. , avoid data transmission errors and conflicts.

Benefits of technology

It realizes OTA upgrade without affecting the key functions of the vehicle, reducing the risk of upgrade failure, improving the upgrade success rate, and reducing the impact of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963791A_ABST
    Figure CN118963791A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle communication, in particular to an OTA upgrading method and device, computer equipment and a readable storage medium. The method comprises the following steps: acquiring an OTA upgrading task from a cloud server, and carrying out vehicle upgrading on a local OTA component according to the OTA upgrading task; in the whole vehicle upgrading process, each function server is controlled to enter an OTA upgrading mode, and a target controller corresponding to the OTA upgrading task is selected from each function controller; and issuing a network forbidding instruction to other controllers except the target controller in the functional controllers so as to forbid network communication functions of other controllers in the whole vehicle upgrading process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle communication technology, and in particular to an OTA upgrade method, device, computer equipment and readable storage medium. Background Art

[0002] In the OTA (Over-the-Air upgrade) upgrade architecture currently common in the automotive industry, the cloud server plays a key role in storing and managing the update packages for vehicle software. When the vehicle needs to upgrade its software, the cloud server will download the upgrade package to the vehicle cache through the In-Car Communication Controller (ICC). The ICC is responsible for managing network communications inside and outside the vehicle. During the OTA upgrade process, the ICC is responsible for receiving the upgrade package from the cloud server and downloading it to the vehicle cache.

[0003] The upgrade master node is the core component in the vehicle that controls the entire upgrade process. It will obtain the upgrade package from the vehicle cache and upgrade each node in the network architecture (for example, Ethernet node, or Controller Area Network Node, CAN node) according to the predetermined flash process. Ethernet or CAN nodes are key components in the vehicle network architecture and are responsible for different vehicle functions. During the OTA upgrade process, the upgrade master node will update these nodes one by one according to the flash process to ensure that the latest version of the vehicle software is correctly installed and running.

[0004] In traditional technologies, in order to ensure the smooth progress of OTA (Over-the-Air) upgrades and reduce the bus load rate to increase the success rate of upgrades, the master node (i.e., the core node responsible for controlling and managing the OTA upgrade process) often takes some measures to limit vehicle functions. These restrictions are mainly to reduce the amount of data transmission on the bus during the upgrade process, thereby avoiding possible communication conflicts and data congestion.

[0005] Among them, limiting the functions of the cockpit is a common practice. During the OTA upgrade, the master control node may temporarily disable or limit certain functions in the cockpit, such as the entertainment system, air conditioning control, seat adjustment, etc. This restriction ensures that the upgrade data packet can be transmitted more smoothly and reduces the risk of upgrade failure due to data transmission errors or conflicts.

[0006] However, this functional limitation will also cause inconvenience to users, especially when the upgrade time is long. Users may not be able to use certain functions in the cockpit during the upgrade, which may affect their driving experience, so it is urgent to improve. Summary of the invention

[0007] Based on this, it is necessary to provide an OTA upgrade method, device, computer equipment, computer-readable storage medium and computer program product that can not affect the key functions of the vehicle in order to solve the above technical problems.

[0008] In a first aspect, the present application provides an OTA upgrade method, which is executed by a master control node, the master control node communicates with a routing node, and the routing node communicates with each functional controller in a vehicle, the method comprising:

[0009] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0010] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0011] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0012] In one of the embodiments, during the whole vehicle upgrade, a network prohibition instruction and a normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when receiving the network prohibition instruction.

[0013] In one of the embodiments, the main control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via the controller area CAN network or the low-cost serial communication protocol Lin network based on UART / SCI; wherein the routing node is used to convert the signal uploaded by each functional controller via the CAN network or the Lin network into an Ethernet someip signal, and forward the Ethernet someip signal to the main control node.

[0014] In one embodiment, if the number of routing nodes is at least two, controlling each functional server to enter the OTA upgrade mode includes:

[0015] During the vehicle upgrade process, OTA mode instructions are sent to each routing node;

[0016] The OTA mode instruction is used to control each routing node to send an upgrade signal to the function controllers under each routing node, and the upgrade signal is used to control each function controller to enter the OTA upgrade mode.

[0017] In one embodiment, after selecting a target controller corresponding to the OTA upgrade task from each functional controller, the method further includes:

[0018] Sending a function verification instruction corresponding to the target controller to the human-machine interaction controller in the vehicle;

[0019] When a verification pass instruction returned by the human-machine interaction controller is detected, a network prohibition instruction and a normal communication processing instruction are sent to the target controller in the OTA upgrade mode.

[0020] In one embodiment, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-machine interaction controller, the whole vehicle upgrade is performed on the local OTA components according to the OTA upgrade task, including:

[0021] Enable the partitioning function of the master control node, routing node and human-machine interaction controller, and upgrade the local OTA components of the entire vehicle according to the OTA upgrade task.

[0022] In a second aspect, the present application also provides an OTA upgrade device, which is executed by a master control node, the master control node communicates with a routing node, and the routing node communicates with each functional controller in the vehicle, and the device includes:

[0023] The upgrade task acquisition module is used to obtain OTA upgrade tasks from the cloud server and perform vehicle upgrades on local OTA components according to the OTA upgrade tasks;

[0024] The OTA upgrade module is used to control each functional server to enter the OTA upgrade mode during the vehicle upgrade process, and select the target controller corresponding to the OTA upgrade task from each functional controller;

[0025] The network prohibition module is used to send network prohibition instructions to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0026] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0027] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0028] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0029] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0031] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0032] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0033] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0034] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0035] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0036] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0037] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0038] The above-mentioned OTA upgrade method, device, computer equipment and readable storage medium, BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 An application environment diagram of an OTA upgrade method in an embodiment;

[0041] Figure 2 A schematic diagram of a flow chart of an OTA upgrade method in an embodiment;

[0042] Figure 3 It is a structural block diagram of an OTA upgrade device in an embodiment;

[0043] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] like Figure 1 As shown, the vehicle includes a master control node, a routing node and various functional controllers; the master control node communicates with the routing node, and the routing node communicates with the various functional controllers in the vehicle. Among them, the master control node usually refers to the core control node in the train or vehicle network. In the train network, the master control node is responsible for managing the operation of the train bus and ensuring the effective transmission of data on the bus.

[0046] Routing nodes play a role in data forwarding and path selection in the Internet of Vehicles. Vehicle nodes are equipped with application units and on-board units (OBU), which can establish communication connections with other vehicles or infrastructure. As a routing node, OBU has functions such as wireless access, self-organization, and geographic routing to ensure that data packets can be efficiently transmitted between vehicles and between vehicles and infrastructure. Routing nodes are also responsible for key tasks such as network congestion control, reliable message delivery, and data security. In this embodiment, the routing nodes include three routing nodes.

[0047] The various function controllers may refer to a cockpit controller, an air conditioning controller, a seat controller, an ambient light controller, a low beam controller, etc. in the vehicle.

[0048] In an exemplary embodiment, Figure 2 As shown, an OTA upgrade method is provided, which is applied to Figure 1 Taking the master control node in as an example, the method includes the following steps 202 to 206. Among them:

[0049] Step 201, obtain the OTA upgrade task from the cloud server, and upgrade the local OTA components of the whole vehicle according to the OTA upgrade task.

[0050] Among them, the OTA (Over-the-Air) upgrade task refers to the task of pushing updates or patches to devices or systems through wireless networks. In this process, the device receives the upgrade instructions and corresponding upgrade packages from the server, and then performs the upgrade operation to update its software, firmware or operating system. The local OTA component refers to the specific software or hardware part responsible for performing the Over-the-Air (OTA) update task on the device or vehicle.

[0051] Step 202, during the whole vehicle upgrade process, control each functional server to enter the OTA upgrade mode, and select a target controller corresponding to the OTA upgrade task from each functional controller.

[0052] It is understandable that during OTA upgrades, in order to reduce the bus load rate and increase the upgrade success rate, the master control node will limit the vehicle functions. When users experience the OTA upgrade process in the car, the failure of the cockpit function will seriously affect their experience. For example, the entertainment system, air conditioning system, etc. may not be able to be used normally, causing inconvenience to passengers.

[0053] In this embodiment, instructions are sent to each functional server to enable it to enter OTA upgrade mode. This usually involves changing the operating state of the server so that it can accept and process OTA upgrade tasks. The target controller refers to the controller that does not need to be functionally restricted during the OTA upgrade process.

[0054] Step 203: Send a network prohibition instruction to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0055] Specifically, formulate a clear network prohibition instruction, which should include the specific operation of disabling network communication and the possible duration. During the OTA upgrade process, prohibiting the use of non-target controllers through network prohibition instructions can effectively manage the network communication during the vehicle upgrade process, reduce potential interference and conflicts, and ensure the smooth progress of OTA upgrades.

[0056] For example, in this embodiment, the network prohibition instruction is a 28 prohibition communication instruction. In an OTA (Over-The-Air) upgrade scenario, when it is mentioned that the "network prohibition instruction is a 28 prohibition communication instruction", it means that during the upgrade process, in order to ensure the stability and security of the system, a specific instruction will be sent to prohibit or restrict certain network communications. This specific instruction is identified as a "28 prohibition communication instruction".

[0057] Before starting the whole vehicle upgrade, identify which vehicle functions must remain operational during the upgrade, such as navigation, emergency call system, or certain safety-related functions. Identify the controllers corresponding to these functions, which will be considered as target controllers and require special treatment.

[0058] In one embodiment, during the whole vehicle upgrade, a network prohibition instruction and a normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when receiving the network prohibition instruction.

[0059] Optionally, similar to the conventional vehicle upgrade process, a network disable command is issued to all functional controllers in the vehicle to reduce network interference during the upgrade process. This command will require most controllers to suspend or limit their network communication activities to reduce the bus load rate and increase the upgrade success rate.

[0060] For the target controllers corresponding to the critical functions that need to remain running, in addition to issuing a network prohibition instruction, a normal communication processing instruction is also required. The purpose of the normal communication processing instruction is to tell these target controllers that even if they receive a network prohibition instruction, they still need to maintain specific network communication capabilities to ensure the normal operation of critical functions.

[0061] When the vehicle upgrade is complete, the previously issued network prohibition instructions and normal communication processing instructions need to be revoked. All controllers should be restored to normal network communication status, and all functions of the vehicle should be restored to the status before the upgrade or upgraded to the new version.

[0062] In an exemplary embodiment, the vehicle control system also includes a human-computer interaction controller, and the main control node, routing node and human-computer interaction controller all communicate via Ethernet someip; the routing node communicates with each functional controller via a controller area CAN network or a low-cost serial communication protocol Lin network based on UART / SCI.

[0063] Among them, the routing node is used to convert the signals uploaded by each functional controller through the CAN network or Lin network into Ethernet someip signals, and forward the Ethernet someip signals to the main control node.

[0064] It is understandable that the master node and the routing node communicate via Ethernet using the SOME / IP (Scalable service-oriented MiddlewarE over IP) protocol. SOME / IP is a service-oriented communication protocol designed for internal automotive communications, supporting high-bandwidth, low-latency data transmission, and has good scalability.

[0065] The communication between the routing node and each functional controller is carried out through the controller area network (CAN) or the low-cost serial communication protocol (Lin) based on UART / SCI. The CAN network is a commonly used communication protocol in automobiles, with the advantages of high reliability, long-distance transmission and low cost. The Lin network is a low-cost serial communication network suitable for applications with low bandwidth requirements.

[0066] It is understandable that the master control node, the human-machine interaction controller, and the routing forwarding node all use the Ethernet protocol (someip). When the network communication prohibition command is issued during the OTA upgrade process, it is invalid for the Ethernet signal, ensuring that the Ethernet signal can be smoothly sent and received between the human-machine interaction controller, the master control node, and the routing node.

[0067] When the routing node receives the CAN signal from each functional controller, it needs to convert the CAN signal into an Ethernet signal and send it to the master node. After receiving the signal, the master node uses the SomeIP signal to transmit and receive the signal with the human-computer interaction controller.

[0068] In an exemplary embodiment, if the number of routing nodes is at least two, each functional server is controlled to enter the OTA upgrade mode, including: during the whole vehicle upgrade, an OTA mode instruction is issued to each routing node; the OTA mode instruction is used to control each routing node to send an upgrade signal to the functional controller hanging under each routing node, and the upgrade signal is used to control each functional controller to enter the OTA upgrade mode.

[0069] During the vehicle upgrade process, the system will send OTA mode instructions to each routing node. The purpose of this instruction is to trigger the routing node to perform specific operations in order to further control the function controller attached to it. After receiving the upgrade signal, the function controller will enter the OTA upgrade mode. In this mode, the function controller can receive and execute the updates in the OTA upgrade package to achieve function upgrades or repairs.

[0070] In this embodiment, a hierarchical OTA upgrade process is used, in which the system indirectly controls the function controller to enter the upgrade mode through the routing node. This design allows the system to more flexibly manage the upgrade process of a large number of function controllers, while also improving the scalability and maintainability of the system.

[0071] In an exemplary embodiment, after selecting a target controller corresponding to the OTA upgrade task from various functional controllers, the method further includes: sending a function verification instruction corresponding to the target controller to a human-computer interaction controller in the vehicle; when a verification pass instruction is detected returned by the human-computer interaction controller, in the OTA upgrade mode, a network prohibition instruction and a normal communication processing instruction are sent to the target controller.

[0072] For example, taking the cockpit function controller in the function controller as an example, the cloud server prepares the distribution of the vehicle software package according to the pre-deployed upgrade task. The administrator of the cloud server can set the specific content of the upgrade task, including whether to include fields that affect the cockpit function controller. The cloud server will send the set upgrade task to the vehicle, which contains relevant information about the cockpit function controller upgrade.

[0073] The vehicle side determines whether the cockpit function controller needs to be upgraded based on the specific fields in the received upgrade task. The vehicle side sends the availability status information of the cockpit function to the human-machine interface (HMI). This information is used to display whether the cockpit function is available on the HMI to prompt the user of the operability of the current cockpit function. The user understands the current status of the cockpit function by viewing the prompt information on the human-machine interface. Based on the prompt information, the user can make reasonable operation choices, such as waiting for the upgrade to complete, using other functions, or performing necessary vehicle operations. After confirming the availability status of the cockpit function, the vehicle side starts the upgrade installation process. During the upgrade process, the vehicle side will monitor the status of the cockpit function controller and ensure the smooth progress of the upgrade process.

[0074] Furthermore, for electric vehicles, the cooling and heating functions of the air conditioner, seat heating and massage and other cabin-related functions require the vehicle to be in an upper high-voltage state to ensure normal functions. Therefore, when upgrading related controllers such as the battery, inverter, and AC converter, some cabin functions will fail. At this time, the human-computer interaction controller prompts the user that the function is invalid and grays out the function button.

[0075] In addition, OTA upgrades include immediate upgrades and scheduled upgrades. Specific keywords are set according to the upgrade method selected by the user on the human-computer interaction controller. The component sends specific signals to limit the functions of the cockpit function controller based on the keywords of the upgrade method selected by the user, thereby reducing the vehicle's static current and saving vehicle battery power.

[0076] In an exemplary embodiment, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, the local OTA components are upgraded for the entire vehicle according to the OTA upgrade task, including: enabling the partitioning functions of the master control node, the routing node and the human-computer interaction controller, and upgrading the local OTA components for the entire vehicle according to the OTA upgrade task.

[0077] It can be understood that the dual program partition function means that the controller's memory is divided into two independent program partitions, usually called the primary partition and the backup partition; each partition can store a complete set of controller programs, but usually only the programs in the primary partition will be executed.

[0078] During the upgrade process, when an OTA upgrade is required, the new program data is first downloaded to the backup partition. In the backup partition, the new program can be verified and prepared without interfering with the running main partition program. Once the new program in the backup partition is ready and verified, the controller will seamlessly switch from the main partition to the backup partition. During this switching process, the function of the controller will not be affected, and the forwarding of routing signals will continue to be maintained. If there is a problem with the new program running in the backup partition, the controller can quickly switch back to the main partition and continue working with the original program. The dual program partition function can ensure that the function of the controller will not be interrupted during the upgrade process. The routing signal forwarding function of the routing node controller can also be maintained during the upgrade process to ensure the normal operation of other vehicle systems.

[0079] In this embodiment, when upgrading the human-computer interaction controller, the master control node, and the routing node controller, it is very important to require the controller memory to have a dual program partition function. This function can ensure that the functions of the controller are not affected during the upgrade process, and can also ensure the continuous forwarding of routing signals, thereby improving the security and reliability of the entire OTA upgrade process.

[0080] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0081] Based on the same inventive concept, the embodiment of the present application also provides an OTA upgrade device for implementing the above-mentioned OTA upgrade method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more OTA upgrade device embodiments provided below can refer to the limitations of the OTA upgrade method above, and will not be repeated here.

[0082] In an exemplary embodiment, Figure 3 As shown, an OTA upgrade device is provided, comprising: an upgrade task acquisition module 11, an OTA upgrade module 12 and a network prohibition module 13, wherein:

[0083] An upgrade task acquisition module 11 is used to acquire OTA upgrade tasks from a cloud server and perform a vehicle upgrade on local OTA components according to the OTA upgrade tasks;

[0084] The OTA upgrade module 12 is used to control each functional server to enter the OTA upgrade mode during the vehicle upgrade process, and select a target controller corresponding to the OTA upgrade task from each functional controller;

[0085] The network prohibition module 13 is used to send a network prohibition instruction to other controllers in each functional controller except the target controller, so as to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0086] In one of the embodiments, the device also includes a normal communication module, which is used to: during the process of upgrading the entire vehicle, send network prohibition instructions and normal communication processing instructions to the target controller, and the normal communication control instructions are used to control the target controller to communicate normally when receiving the network prohibition instructions.

[0087] In one embodiment, the master control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via a controller area CAN network or a low-cost serial communication protocol Lin network based on UART / SCI;

[0088] Among them, the routing node is used to convert the signals uploaded by each functional controller through the CAN network or Lin network into Ethernet someip signals, and forward the Ethernet someip signals to the main control node.

[0089] In one of the embodiments, if the number of routing nodes is at least two, the OTA upgrade module is used to: issue an OTA mode instruction to each routing node during the whole vehicle upgrade process;

[0090] The OTA mode instruction is used to control each routing node to send an upgrade signal to the function controllers under each routing node, and the upgrade signal is used to control each function controller to enter the OTA upgrade mode.

[0091] In one of the embodiments, the device further includes an interaction module, which is used to: send a function verification instruction corresponding to the target controller to a human-machine interaction controller in the vehicle;

[0092] When a verification pass instruction returned by the human-machine interaction controller is detected, a network prohibition instruction and a normal communication processing instruction are sent to the target controller in the OTA upgrade mode.

[0093] In one of the embodiments, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, the device also includes a partitioning module, which is used to: enable the partitioning function of the master control node, the routing node and the human-computer interaction controller, and perform a whole-vehicle upgrade on the local OTA components according to the OTA upgrade task.

[0094] Each module in the above OTA upgrade device can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0095] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store XX data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an OTA upgrade method is implemented.

[0096] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0097] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0098] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0099] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0100] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0101] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: during the whole vehicle upgrade process, a network prohibition instruction and a normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when the network prohibition instruction is received.

[0102] In one embodiment, the master control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via the controller area CAN network or the low-cost serial communication protocol Lin network based on UART / SCI; wherein the routing node is used to convert the signal uploaded by each functional controller via the CAN network or the Lin network into an Ethernet someip signal, and forward the Ethernet someip signal to the master control node.

[0103] In one embodiment, if the number of routing nodes is at least two, the computer program also implements the following steps when executed by the processor: during the vehicle upgrade, an OTA mode instruction is issued to each routing node; the OTA mode instruction is used to control each routing node to send an upgrade signal to the functional controllers attached to each routing node, and the upgrade signal is used to control each functional controller to enter the OTA upgrade mode.

[0104] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending a function verification instruction corresponding to the target controller to the human-computer interaction controller in the vehicle; when a verification pass instruction is detected returned by the human-computer interaction controller, in the OTA upgrade mode, sending a network prohibition instruction and a normal communication processing instruction to the target controller.

[0105] In one embodiment, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, the computer program also implements the following steps when it is executed by the processor: enabling the partitioning function of the master control node, the routing node and the human-computer interaction controller, and performing a whole-vehicle upgrade of the local OTA components according to the OTA upgrade task.

[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0107] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0108] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0109] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0110] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: during the whole vehicle upgrade process, a network prohibition instruction and a normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when the network prohibition instruction is received.

[0111] In one embodiment, the master control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via the controller area CAN network or the low-cost serial communication protocol Lin network based on UART / SCI; wherein the routing node is used to convert the signal uploaded by each functional controller via the CAN network or the Lin network into an Ethernet someip signal, and forward the Ethernet someip signal to the master control node.

[0112] In one embodiment, if the number of routing nodes is at least two, the computer program also implements the following steps when executed by the processor: during the vehicle upgrade, an OTA mode instruction is issued to each routing node; the OTA mode instruction is used to control each routing node to send an upgrade signal to the functional controllers attached to each routing node, and the upgrade signal is used to control each functional controller to enter the OTA upgrade mode.

[0113] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending a function verification instruction corresponding to the target controller to the human-computer interaction controller in the vehicle; when a verification pass instruction is detected returned by the human-computer interaction controller, in the OTA upgrade mode, sending a network prohibition instruction and a normal communication processing instruction to the target controller.

[0114] In one embodiment, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, the computer program also implements the following steps when it is executed by the processor: enabling the partitioning function of the master control node, the routing node and the human-computer interaction controller, and performing a whole-vehicle upgrade of the local OTA components according to the OTA upgrade task.

[0115] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0116] Obtain OTA upgrade tasks from the cloud server and perform vehicle-wide upgrades on local OTA components based on the OTA upgrade tasks;

[0117] During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and the target controller corresponding to the OTA upgrade task is selected from each functional controller;

[0118] A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

[0119] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: during the whole vehicle upgrade process, a network prohibition instruction and a normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when the network prohibition instruction is received.

[0120] In one embodiment, the master control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via the controller area CAN network or the low-cost serial communication protocol Lin network based on UART / SCI; wherein the routing node is used to convert the signal uploaded by each functional controller via the CAN network or the Lin network into an Ethernet someip signal, and forward the Ethernet someip signal to the master control node.

[0121] In one embodiment, if the number of routing nodes is at least two, the computer program also implements the following steps when executed by the processor: during the vehicle upgrade, an OTA mode instruction is issued to each routing node; the OTA mode instruction is used to control each routing node to send an upgrade signal to the functional controllers attached to each routing node, and the upgrade signal is used to control each functional controller to enter the OTA upgrade mode.

[0122] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending a function verification instruction corresponding to the target controller to the human-computer interaction controller in the vehicle; when a verification pass instruction is detected returned by the human-computer interaction controller, in the OTA upgrade mode, sending a network prohibition instruction and a normal communication processing instruction to the target controller.

[0123] In one embodiment, if the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, the computer program also implements the following steps when it is executed by the processor: enabling the partitioning function of the master control node, the routing node and the human-computer interaction controller, and performing a whole-vehicle upgrade of the local OTA components according to the OTA upgrade task.

[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0125] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0126] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0127] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An OTA upgrade method, characterized in that: The method is executed by a master control node, the master control node communicates with a routing node, and the routing node communicates with each functional controller in the vehicle, and includes: Obtain OTA upgrade tasks from the cloud server, and perform vehicle-wide upgrades on local OTA components according to the OTA upgrade tasks; During the vehicle upgrade process, each functional server is controlled to enter the OTA upgrade mode, and a target controller corresponding to the OTA upgrade task is selected from each functional controller; A network prohibition instruction is issued to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

2. The method according to claim 1, characterized in that The method further comprises: During the whole vehicle upgrade, the network prohibition instruction and the normal communication processing instruction are sent to the target controller, and the normal communication control instruction is used to control the target controller to communicate normally when receiving the network prohibition instruction.

3. The method according to claim 1, characterized in that The master control node communicates with the routing node via Ethernet someip; the routing node communicates with each functional controller via a controller area CAN network or a low-cost serial communication protocol Lin network based on UART / SCI; The routing node is used to convert the signal uploaded by each functional controller through the CAN network or the Lin network into an Ethernet someip signal, and forward the Ethernet someip signal to the main control node.

4. The method according to claim 3, characterized in that If the number of the routing nodes is at least two, controlling each functional server to enter the OTA upgrade mode includes: During the vehicle upgrade process, OTA mode instructions are sent to each routing node; The OTA mode instruction is used to control each routing node to send an upgrade signal to the function controllers hanging under each routing node, and the upgrade signal is used to control each function controller to enter the OTA upgrade mode.

5. The method according to claim 3, characterized in that: After selecting the target controller corresponding to the OTA upgrade task from each functional controller, the method further includes: Sending a function verification instruction corresponding to the target controller to a human-computer interaction controller in the vehicle; When a verification pass instruction returned by the human-computer interaction controller is detected, in the OTA upgrade mode, a network prohibition instruction and a normal communication processing instruction are sent to the target controller.

6. The method according to claim 5, characterized in that If the OTA upgrade task includes the upgrade of the master control node, the routing node and the human-computer interaction controller, then the whole vehicle upgrade of the local OTA component according to the OTA upgrade task includes: The partitioning functions of the master control node, the routing node and the human-computer interaction controller are enabled, and the local OTA components are upgraded for the entire vehicle according to the OTA upgrade task.

7. An OTA upgrade device, characterized in that: The device is executed by a main control node, the main control node communicates with a routing node, and the routing node communicates with each functional controller in the vehicle, and the device includes: An upgrade task acquisition module is used to obtain OTA upgrade tasks from a cloud server and perform a vehicle-wide upgrade on local OTA components according to the OTA upgrade tasks; The OTA upgrade module is used to control each functional server to enter the OTA upgrade mode during the vehicle upgrade process, and select the target controller corresponding to the OTA upgrade task from each functional controller; The network prohibition module is used to issue a network prohibition instruction to other controllers in each functional controller except the target controller to prohibit the network communication function of other controllers during the vehicle upgrade process.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.