Whole vehicle upgrading method and device and vehicle

By obtaining the node types and dependencies of vehicle components, the vehicle upgrade sequence is optimized, which solves the problem of long vehicle upgrades and improves vehicle upgrade efficiency and user experience.

CN118694783APending Publication Date: 2024-09-24AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The entire vehicle upgrade process is time-consuming and inefficient, resulting in poor user experience.

Method used

By obtaining the node type of any target component in the target vehicle, determining its upstream and downstream component sets, and determining the upgrade sequence based on dependencies, parallel and serial upgrades can be achieved, and the entire vehicle upgrade process can be optimized.

Benefits of technology

It reduces the vehicle upgrade time, improves the vehicle upgrade efficiency, and improves the user's vehicle experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694783A
    Figure CN118694783A
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of automobile communication, and discloses a finished automobile upgrading method and device and a vehicle, and the method comprises the steps that the node type of any target part in a target vehicle is acquired, and the node type is used for indicating whether the target part is the starting point and the ending point of part upgrading or not; based on the node type, determining an upstream part set and / or a downstream part set corresponding to the target part; the dependency relationship of all parts in the upstream part set and the downstream part set is obtained; and determining an upgrading sequence of all parts in the upstream part set and the downstream part set based on the dependency relationship, and carrying out whole vehicle upgrading on the target vehicle based on the upgrading sequence. By applying the technical scheme of the invention, the use experience of the user on vehicle upgrading can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of automobile communication technology, and specifically to a whole vehicle upgrading method, device and vehicle. Background Art

[0002] In the related art, when a vehicle is upgraded as a whole, it is usually necessary to upgrade the firmware, data and applications of multiple components in the vehicle, which often takes a long time and is inefficient, thereby reducing the user experience of the vehicle. Summary of the invention

[0003] In view of the above problems, the embodiments of the present invention provide a whole vehicle upgrade method, device and vehicle, which are used to solve the problem in the related art that whole vehicle upgrade is time-consuming and inefficient, thereby reducing the user experience of the vehicle.

[0004] According to one aspect of an embodiment of the present invention, a whole vehicle upgrading method is provided, the method comprising: obtaining a node type to which any target component in a target vehicle belongs, the node type being used to indicate whether the target component is the starting point and the end point of a component upgrade; based on the node type, determining an upstream component set and / or a downstream component set corresponding to the target component; obtaining a dependency relationship between components in the upstream component set and the downstream component set; determining an upgrade order for components in the upstream component set and the downstream component set based on the dependency relationship, and performing a whole vehicle upgrading on the target vehicle based on the upgrade order.

[0005] In an optional implementation, determining the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and performing a whole vehicle upgrade on the target vehicle based on the upgrade sequence includes:

[0006] Based on the dependency relationship, determine a first upgrade sequence of each component in the upstream component set and a second upgrade sequence of each component in the downstream component set, wherein the upgrade sequence includes the first upgrade sequence and the second upgrade sequence;

[0007] Upgrading each component in the upstream component set based on the first upgrade sequence, and generating a first upgrade completion identifier after the upgrade is completed;

[0008] Upgrading the target component based on the first upgrade completion mark, and generating a second upgrade completion mark after the upgrade is completed;

[0009] Each component in the downstream component set is upgraded based on the second upgrade completion identifier and the second upgrade sequence to complete the whole vehicle upgrade of the target vehicle.

[0010] In an optional implementation, determining the first upgrade order of each component in the upstream component set based on the dependency relationship includes:

[0011] If the dependency relationship is dependency, determining the first serial upgrade order of the corresponding components in the upstream component set;

[0012] If the dependency relationship is non-dependency, determine the first parallel upgrade order of the corresponding components in the upstream component set;

[0013] Based on the first serial upgrade sequence and the first parallel upgrade sequence, a first upgrade sequence of each component in the upstream component set is determined.

[0014] In an optional implementation, determining the second upgrade order of each component in the downstream component set based on the dependency relationship includes:

[0015] If the dependency relationship is dependency, determining the second serial upgrade order of the corresponding components in the downstream component set;

[0016] If the dependency relationship is non-dependency, then determine the second parallel upgrade order of the corresponding components in the downstream component set;

[0017] Based on the second serial upgrade sequence and the second parallel upgrade sequence, a second upgrade sequence of each component in the downstream component set is determined.

[0018] In an optional implementation, upgrading the target vehicle based on the upgrade sequence further includes:

[0019] If the target component does not receive the first upgrade completion identifier within the first target time, or the components in the downstream component set do not receive the second upgrade completion identifier within the second target time, corresponding upgrade failure information is generated.

[0020] In an optional implementation, upgrading the target vehicle based on the upgrade sequence further includes:

[0021] If the upgrade failure information fed back by the component and the target component is received, a corresponding upgrade retry instruction is generated and a retry count is performed;

[0022] If the retry count is greater than the retry threshold, the original upgrade sequence of the component and the target component is obtained;

[0023] Based on the original upgrade sequence, the components and target components are placed in the rollback upgrade table for rollback upgrade. The order of the rollback upgrade is the opposite of the original upgrade order.

[0024] In an optional implementation, determining an upstream component set and / or a downstream component set corresponding to a target component based on a node type includes:

[0025] The node pointing relationship between the target component and the target component determines the set of downstream components corresponding to the target component. The node pointing relationship includes the target component pointing to other components.

[0026] If the node type indicates that the target component is the end point of the component upgrade, then the upstream component set corresponding to the target component is determined based on the node pointing relationship between other components and the target component, and the node pointing relationship includes other components pointing to the target component;

[0027] If the node type indicates the starting point and end point of the non-component upgrade of the target component, the upstream component set and the downstream component set corresponding to the target component are determined based on the node pointing relationship between other components and the target component. The node pointing relationship includes some components of other components pointing to the target component, and some components of the target component pointing to other components.

[0028] In an optional implementation, obtaining the node type to which the target component in the target vehicle belongs includes:

[0029] Get the component name of the target component;

[0030] Find the target name in the node attribution table that is the same as the component name;

[0031] Based on the node type corresponding to the target name, determine the node type to which the target component belongs.

[0032] According to another aspect of an embodiment of the present invention, a whole vehicle upgrading device is provided, comprising: a data acquisition module, used to acquire the node type to which any target component in a target vehicle belongs, the node type being used to indicate whether the target component is the starting point and the end point of a component upgrade; a component determination module, used to determine, based on the node type, an upstream component set and / or a downstream component set corresponding to the target component; a relationship acquisition module, used to acquire the dependency relationship between each component in the upstream component set and the downstream component set; and a whole vehicle upgrading module, used to determine the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and perform a whole vehicle upgrading on the target vehicle based on the upgrade order.

[0033] According to another aspect of an embodiment of the present invention, a vehicle is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the aforementioned vehicle upgrade method.

[0034] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, in which at least one executable instruction is stored, and the executable instruction enables a vehicle / device to perform the operation of the aforementioned vehicle upgrade method.

[0035] The technical solution provided by the embodiment of the present invention obtains the node type to which any target component in the target vehicle belongs, determines the upstream component set and / or downstream component set corresponding to the target component based on the node type, and obtains the dependency relationship of each component in the upstream component set and the downstream component set, so as to determine the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and upgrades the entire target vehicle based on the upgrade order, thereby reducing the time for upgrading the entire vehicle, improving the efficiency of upgrading the entire vehicle, and thereby improving the user experience of the vehicle.

[0036] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0038] Figure 1 A schematic diagram of a process of upgrading a whole vehicle provided by the present invention is shown;

[0039] Figure 2 A data flow diagram of a vehicle upgrade method provided by the present invention is shown;

[0040] Figure 3 Another schematic diagram of a process of upgrading a whole vehicle provided by the present invention is shown;

[0041] Figure 4 A schematic structural diagram of a vehicle upgrading device provided by the present invention is shown;

[0042] Figure 5 A structural schematic diagram of a vehicle provided by the present invention is shown. DETAILED DESCRIPTION

[0043] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0044] OTA, a remote upgrade technology for automobiles, refers to the technology of remotely managing the firmware, data and applications on the terminals of automobile components through mobile communication networks. However, there are at least thirty or forty components on a car that can support OTA software upgrades, and the time required for each component to be upgraded with OTA technology for automobile remote upgrade technology varies greatly, some may take a few minutes, while others may take dozens of minutes or even more than an hour. At the same time, the dependencies of each component are also different. Some components may be completely independent and have no necessary association with all other components; while some components have multiple dependencies, such as component C needs to wait for component A and component B to be upgraded before it can be upgraded, and component A and component B may have no association at all. If each component is upgraded directly in sequence, there will be problems such as long vehicle upgrade time, low efficiency, and poor user upgrade experience.

[0045] Based on this, an embodiment of the present invention provides a vehicle upgrade method, which includes: obtaining the node type to which any target component in the target vehicle belongs, the node type is used to indicate whether the target component is the starting point and end point of the component upgrade; based on the node type, determining the upstream component set and / or downstream component set corresponding to the target component; obtaining the dependency relationship of each component in the upstream component set and the downstream component set; determining the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and upgrading the target vehicle based on the upgrade order. Therefore, by introducing the node type to which the target component belongs, the node type to which the target component belongs is used as the basis for dividing the upstream and downstream components, thereby realizing the parallel and / or serial upgrade of the corresponding components based on the dependency relationship between the components in the upstream and downstream components, improving the efficiency of the vehicle upgrade for the target vehicle, and thus improving the user experience of the vehicle.

[0046] Figure 1 FIG. 1 is a flow chart showing a first embodiment of a vehicle upgrading method according to the present invention, wherein the method is executed by a vehicle device. Figure 1 As shown, the method comprises the following steps:

[0047] Step 110, obtaining the node type to which any target component in the target vehicle belongs.

[0048] The above node type is used to indicate whether the target component is the starting point and end point of the component upgrade. Therefore, the node type to which the target component belongs can include the starting point node (starting node), the end point node (ending node) and the intermediate node. The intermediate node is the node between the starting point and the end point of the component upgrade, and the number of the intermediate nodes can be one or more.

[0049] Specifically, the target components in the target vehicle are divided according to the control domain and interaction domain of the vehicle, including: the power supply system assembly PDU, front motor controller FMIPU, rear motor controller RMIPU, battery management unit BCU, vehicle controller VCU, P gear controller PCU, integrated thermal management system controller ITMS, electric compressor ACP, electric heater PTC, high-voltage junction box HPMU in the power domain; integrated brake control module MKC1, redundant brake module HBE, electric power steering system EPS, air suspension VMC, redundant power supply controller PMU in the chassis domain; seat module DSM, electric back door controller PTS, ambient light controller ALC, body domain controller BDC, smart fuse box ESJB, front hood in the body domain Welcome lamp SIL, left front electric door controller FLDCU, right front electric door controller FRDCU, left rear electric door controller RLDCU, right rear electric door controller RRDCU, left front door radar FLADR, right front door radar FRADR, left rear door radar RLADR, right rear door radar RRADR, rear wireless charging module RWLCM, left electronic exterior rearview mirror CMSL, right electronic exterior rearview mirror CMSR, airbag controller SRS, digital key controller DKC, vehicle control unit ETC; intelligent cockpit controller CDC, streaming media rearview mirror DRM, power amplifier unit AMP, vehicle low speed buzzer alarm AVAS in the intelligent cockpit domain; intelligent driving controller MDC in the intelligent driving domain; vehicle communication basic terminal TBOX in the remote interaction domain. Among them, the power domain, chassis domain, intelligent driving domain, intelligent cockpit domain and body domain can be upgraded in parallel, but the upgrade of each target component in the power domain, chassis domain, intelligent driving domain, intelligent cockpit domain and body domain needs to be determined based on the node type to which it belongs. In addition, the number and types of the target components may not be divided according to the control domain and interaction domain in other embodiments.

[0050] In an optional manner, when obtaining the node type to which any target component in the target vehicle belongs, the component name of the target component can be obtained first; the target name that is the same as the component name is searched in the node attribution table; and based on the node type corresponding to the target name, the node type to which the target component belongs is determined.

[0051] Specifically, when searching for a target name that is the same as a component name in a node attribution table, in order to improve search efficiency, the character strings corresponding to the component name and the target name may be obtained, and then the first and last character strings of the character string corresponding to the component name are compared with the first and last character strings of the character string corresponding to the target name, and when all character strings of the component name and the target name are the same, it is considered that the component name of the target component is the same as the target name.

[0052] In an optional manner, when obtaining the node type to which any target component in the target vehicle belongs, the component information of the target component can also be obtained; and the component information is hashed to obtain a hash calculation result; then the target component information identical to the hash calculation result is searched in the node belonging table; based on the node type corresponding to the target component information, the node type to which the target component belongs is determined. The hash calculation result is a unique identifier of a fixed length generated based on the component information of the target component.

[0053] In an optional manner, when obtaining the node type to which any target component in the target vehicle belongs, the control domain or interaction domain to which the target component belongs can also be obtained, and then the node attribution table is searched based on the control domain or interaction domain to which the target component belongs, thereby obtaining the node type to which the target component belongs.

[0054] In the embodiment of the present invention, by obtaining the node type to which any target component in the target vehicle belongs, the upgrade order of the target component in the normal upgrade is determined based on the node type to which the target component belongs. At the same time, it is convenient to determine the upstream component before the target component upgrade order and the downstream component after the target component upgrade order based on the node type of the target component.

[0055] Step 120: Determine an upstream component set and / or a downstream component set corresponding to the target component based on the node type.

[0056] Specifically, if the node type indicates that the target component is the starting point of the component upgrade, then based on the node pointing relationship between other components and the target component, the downstream component set corresponding to the target component is determined, and the node pointing relationship includes the target component pointing to other components; if the node type indicates that the target component is the end point of the component upgrade, then based on the node pointing relationship between other components and the target component, the upstream component set corresponding to the target component is determined, and the node pointing relationship includes the target component pointing to other components; if the node type indicates that the target component is not the starting point and end point of the component upgrade, then based on the node pointing relationship between other components and the target component, the upstream component set and the downstream component set corresponding to the target component are determined, and the node pointing relationship includes the target component being pointed to by some components of other components, and the target component being pointed to some components of other components.

[0057] For example, if the target vehicle is upgraded as a whole, the target components involved include the seat module DSM in the body domain, the electric backdoor controller PTS, the ambient light controller ALC, the body domain controller BDC, the smart fuse box ESJB, the front hood welcome light SIL, the digital key controller DKC, the smart cockpit controller CDC in the smart cockpit domain, the smart driving controller MDC in the smart driving domain, and the in-vehicle communication basic terminal TBOX in the remote interaction domain. At this time, if the target component is the on-board communication basic terminal TBOX, and the on-board communication basic terminal TBOX is the starting point of the component upgrade, and the on-board communication basic terminal TBOX is not the end point of the component upgrade, then based on the node pointing relationship between the on-board communication basic terminal TBOX and other components, such as the seat module DSM, the electric backdoor controller PTS, the ambient light controller ALC, the body domain controller BDC, the smart fuse box ESJB, the front cover welcome light SIL, the digital key controller DKC, the smart cockpit controller CDC, and the smart driving controller MDC, it is determined that the upstream component set corresponding to the target component on-board communication basic terminal TBOX is an empty set, and it is determined that the downstream component set corresponding to the target component on-board communication basic terminal TBOX includes the body domain controller BDC, the smart cockpit controller CDC, and the smart driving controller MDC.

[0058] If the target component is the body domain controller BDC, and the body domain controller BDC is not the starting point and end point of the component upgrade, based on the node pointing relationship between the body domain controller BDC and other components, such as the seat module DSM, the electric backdoor controller PTS, the ambient light controller ALC, the smart fuse box ESJB, the front cover welcome light SIL, the digital key controller DKC, the smart cockpit controller CDC, and the intelligent driving controller MDC, it is determined that the upstream component set corresponding to the target component is an empty set, and it is determined that the upstream component set corresponding to the body domain controller BDC includes the on-board communication basic terminal TBOX, and the downstream component set corresponding to the body domain controller BDC includes the smart fuse box ESJB and the digital key controller DKC.

[0059] If the target component is the ambient light controller ALC, and the ambient light controller ALC is not the starting point and end point of the component upgrade, based on the node pointing relationship between the ambient light controller ALC and other components, such as the seat module DSM, the electric backdoor controller PTS, the body domain controller BDC, the smart fuse box ESJB, the front cover welcome light SIL, the digital key controller DKC, the smart cockpit controller CDC, the smart driving controller MDC, and the on-board communication basic terminal TBOX, it is determined that the upstream component set corresponding to the ambient light controller ALC includes the smart fuse box ESJB and the digital key controller DKC, and the downstream component set corresponding to the target component ambient light controller ALC includes the seat module DSM.

[0060] If the target component is the front cover welcome light SIL, the front cover welcome light SIL is not the starting point of the component upgrade, but is the end point of the component upgrade, then based on the node pointing relationship between the front cover welcome light SIL and other components, such as the seat module DSM, the electric backdoor controller PTS, the ambient light controller ALC, the body domain controller BDC, the smart fuse box ESJB, the digital key controller DKC, the smart cockpit controller CDC, the smart driving controller MDC, and the on-board communication basic terminal TBOX, it is determined that the upstream component set corresponding to the target component front cover welcome light SIL includes the seat module DSM, and the downstream component set corresponding to the target component front cover welcome light SIL is an empty set.

[0061] In an optional manner, the node pointing relationship from the target component to other components, from other components to the target component, from some components of other components to the target component, and from the target component to some components of other components can also be a non-contact pointing relationship, that is, non-direct node pointing can also be used to divide the upstream component set and the downstream component set.

[0062] Step 130, obtaining the dependency relationship between each component in the upstream component set and the downstream component set.

[0063] Among them, the dependency relationship between each component in the upstream component set and the downstream component set includes dependency and non-dependency. When the dependency relationship between any component in the upstream component set or the downstream component set and other components is dependency, it indicates whether the component or other components start to upgrade, which depends on whether the component or other components complete the upgrade. When the dependency relationship between any component in the upstream component set or the downstream component set and other components is non-dependency, it indicates that the upgrade order of the component and other components is irrelevant.

[0064] In an optional manner, the dependency relationship of each component in the upstream component set includes dependency and non-dependency, and the dependency relationship of each component in the downstream component set may only include dependency. When the dependency relationship between any component in the upstream component set and other components is dependency, it indicates whether the component or other components have started to upgrade, which depends on whether the component or other components have completed the upgrade. When the dependency relationship between any component in the upstream component set and other components is non-dependency, it indicates that the upgrade order of the component and other components is irrelevant. When the dependency relationship between each component in the downstream component set is dependency, it indicates whether the component or other components have started to upgrade, which depends on whether the component or other components have completed the upgrade. It can be understood that although the dependency relationships of each component in the upstream component set and the downstream component set include dependency and non-dependence, the efficiency of the vehicle upgrade in this embodiment is reduced and the time consumption is increased; but compared with the related art in which each component is upgraded in sequence based on a preset order, such as the order in which the on-board communication basic terminal TBOX, the intelligent driving controller MDC, the intelligent cockpit controller CDC, the body domain controller BDC, the digital key controller DKC, the smart fuse box ESJB, the atmosphere light controller ALC, the seat module DSM, the electric back door controller PTS and the front cover welcome light SIL are upgraded in sequence, this embodiment can also improve the efficiency of the vehicle upgrade and shorten the time consumption of the vehicle upgrade.

[0065] In an optional manner, the dependency relationship of each component in the upstream component set may include only non-dependency, and the dependency relationship of each component in the downstream component set may include only dependency. Alternatively, the dependency relationship of each component in the upstream component set includes non-dependency, and the dependency relationship of each component in the downstream component set may include dependency or non-dependency. Alternatively, the dependency relationship of each component in the upstream component set includes non-dependency, and the dependency relationship of each component in the downstream component set may include only dependency. That is, in this embodiment, the dependency relationship of each component in the upstream and downstream component sets may also be upgraded in a manner other than the optimal dependency relationship and sequential upgrade in the above-mentioned embodiment.

[0066] Step 140, determining the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and performing a whole vehicle upgrade on the target vehicle based on the upgrade sequence.

[0067] Among them, the upgrade sequence of each component in the upstream component set and the downstream component set includes a parallel upgrade sequence and a serial upgrade sequence.

[0068] Specifically, after completing the upgrade of each component in the upstream component set based on the parallel upgrade sequence and / or serial upgrade, the target component can be upgraded, and finally the components in the downstream component set can be upgraded based on the parallel upgrade sequence and / or serial upgrade. When all components in the downstream component set have completed the upgrade, the whole vehicle upgrade of the target vehicle is completed. By performing parallel and / or serial upgrades on the corresponding components based on the dependency relationship between the components in the upstream and downstream components, the efficiency of the whole vehicle upgrade of the target vehicle can be improved.

[0069] In an optional manner, based on the dependency relationship, a first upgrade sequence of each component in the upstream component set and a second upgrade sequence of each component in the downstream component set can be determined, and the upgrade sequence includes a first upgrade sequence and a second upgrade sequence; each component in the upstream component set is upgraded based on the first upgrade sequence, and a first upgrade end mark is generated after the upgrade is completed; the target component is upgraded based on the first upgrade end mark, and a second upgrade end mark is generated after the upgrade is completed; each component in the downstream component set is upgraded based on the second upgrade end mark and the second upgrade sequence to complete the whole vehicle upgrade of the target vehicle.

[0070] When determining the first upgrade sequence of each component in the upstream component set based on the dependency relationship, if the dependency relationship is dependent, then determine the first serial upgrade sequence of the corresponding components in the upstream component set; if the dependency relationship is non-dependent, then determine the first parallel upgrade sequence of the corresponding components in the upstream component set; based on the first serial upgrade sequence and the first parallel upgrade sequence, determine the first upgrade sequence of each component in the upstream component set.

[0071] When determining the second upgrade order of each component in the downstream component set based on the dependency relationship, if the dependency relationship is dependent, then determine the second serial upgrade order of the corresponding components in the downstream component set; if the dependency relationship is non-dependent, then determine the second parallel upgrade order of the corresponding components in the downstream component set; based on the second serial upgrade order and the second parallel upgrade order, determine the second upgrade order of each component in the downstream component set.

[0072] For example, if the target components involved in the whole vehicle upgrade of the target vehicle include the seat module DSM, electric back door controller PTS, ambient light controller ALC, body domain controller BDC, smart fuse box ESJB, front hood welcome light SIL, digital key controller DKC in the body domain, smart cockpit controller CDC in the smart cockpit domain, smart driving controller MDC in the smart driving domain, and vehicle communication basic terminal TBOX in the remote interaction domain. At this time, if the target component is the vehicle communication basic terminal TBOX, since the upstream component set corresponding to the vehicle communication basic terminal TBOX is an empty set, the downstream component set corresponding to the vehicle communication basic terminal TBOX includes the body domain controller BDC, smart cockpit controller CDC, and smart driving controller MDC. At the same time, it is determined that the dependency relationship of each component in the upstream component set is non-dependent, and the upgrade order of the body domain controller BDC, the smart cockpit controller CDC, and the smart driving controller MDC is determined to be a parallel upgrade order. At this time, the body domain controller BDC, intelligent cockpit controller CDC, and intelligent driving controller MDC will be upgraded in parallel after the upgrade of the on-board communication basic terminal TBOX is completed when the whole vehicle is upgraded.

[0073] If the target component is the ambient light controller ALC, since the upstream component set corresponding to the ambient light controller ALC includes the smart fuse box ESJB and the digital key controller DKC, the downstream component set corresponding to the ambient light controller ALC includes the seat module DSM. At the same time, it is determined that the dependency relationship of each component in the upstream component set is non-dependent, and the upgrade sequence of the smart fuse box ESJB and the digital key controller DKC is determined to be a parallel upgrade sequence. And since the downstream component set corresponding to the ambient light controller ALC includes the seat module DSM. At this time, when the ambient light controller ALC is upgrading the whole vehicle, it will be upgraded after the smart fuse box ESJB and the digital key controller DKC are upgraded in parallel, and the seat module DSM will be upgraded after the ambient light controller ALC is upgraded.

[0074] If the target component is the front hood welcome light SIL or the electric back door controller PTS, since the upstream component set corresponding to the front hood welcome light SIL or the electric back door controller PTS includes the seat module DSM, the downstream component set corresponding to the target component front hood welcome light SIL or the electric back door controller PTS is an empty set. At this time, the front hood welcome light SIL or the electric back door controller PTS will be upgraded after the seat module DSM is upgraded, thus completing the upgrade of the target vehicle. The corresponding upgrade data flow diagram is as follows: Figure 2Compared with the related art that upgrades each component in sequence based on a preset order, such as upgrading the vehicle communication basic terminal TBOX, the intelligent driving controller MDC, the intelligent cockpit controller CDC, the body domain controller BDC, the digital key controller DKC, the intelligent fuse box ESJB, the ambient light controller ALC, the seat module DSM, the electric back door controller PTS and the front cover welcome light SIL, this embodiment greatly improves the efficiency of the whole vehicle upgrade and shortens the time of the whole vehicle upgrade.

[0075] In this embodiment, by obtaining the dependency relationships of each component in the upstream component set and / or downstream component set corresponding to the target component, and then based on the dependency relationships between the components, parallel upgrades (combined upgrades) are supported to the maximum extent, and divergence can be achieved after the parallel upgrades, thereby minimizing the time required for upgrading the entire vehicle.

[0076] Compared with the upgrade method in the related art in which the firmware, data and applications of multiple components in the vehicle are usually upgraded sequentially when the whole vehicle is upgraded, the whole vehicle upgrade method in the embodiment of the present invention obtains the node type to which any target component in the target vehicle belongs, and based on the node type, determines the upstream component set and / or downstream component set corresponding to the target component, and obtains the dependency relationship of each component in the upstream component set and the downstream component set, so as to determine the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and upgrades the whole vehicle of the target vehicle based on the upgrade order, thereby reducing the time for the whole vehicle upgrade, improving the efficiency of the whole vehicle upgrade, and thereby improving the user experience of the vehicle.

[0077] Figure 3 FIG. 1 is a flow chart showing another embodiment of the vehicle upgrading method of the present invention, the method being executed by vehicle equipment. Figure 3 As shown, the method comprises the following steps:

[0078] Step 310, obtaining the node type to which any target component in the target vehicle belongs.

[0079] For details, please see Figure 1 Step 110 of the illustrated embodiment will not be described in detail here.

[0080] Step 320: Determine an upstream component set and / or a downstream component set corresponding to the target component based on the node type.

[0081] For details, please see Figure 1 Step 120 of the illustrated embodiment will not be described in detail here.

[0082] Step 330, obtaining the dependency relationship between each component in the upstream component set and the downstream component set.

[0083] Step 340: Determine the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and perform a whole vehicle upgrade on the target vehicle based on the upgrade sequence.

[0084] For details, please see Figure 1 Step 140 of the illustrated embodiment will not be described in detail here.

[0085] Step 350: If the upgrade failure information fed back by the component and the target component is received, a corresponding upgrade retry instruction is generated and a retry count is performed.

[0086] Among them, the components and target components can directly provide feedback on upgrade failure information. When the component upgrade fails, the upgrade is retried again, and the retry count is performed, so that when the retry count is greater than the retry threshold, the upgrade is rolled back or an early warning is performed to avoid the whole vehicle upgrade being stuck on a component.

[0087] In an optional manner, if the target component does not receive the first upgrade end mark within the first target time, the upgrade failure information of the components in the upstream component set is generated; if the components in the downstream component set do not receive the second upgrade end mark within the second target time, the upgrade failure information of the target component is generated. The first target time and the second target time are determined based on the calibrated upgrade time or predicted upgrade time of the corresponding components.

[0088] Specifically, each component in the upstream component set and the downstream component set can determine whether to generate corresponding upgrade failure information based on its corresponding dependency relationship, calibrated upgrade time, and whether an upgrade end mark is received.

[0089] Step 360: If the retry count is greater than the retry threshold, the original upgrade sequence of the component and the target component is obtained.

[0090] The original upgrade order of the above components is determined based on the dependency relationship between the components in the upstream component set and the downstream component set corresponding to the target component.

[0091] Step 370: Based on the original upgrade sequence, the components and target components are placed in a rollback upgrade table for rollback upgrade.

[0092] The order of the rollback upgrade is the opposite of the original upgrade order.

[0093] Compared with the upgrade method in the related art, in which the firmware, data and applications of multiple components in the vehicle are usually upgraded sequentially when the vehicle is upgraded, the whole vehicle upgrade method of the embodiment of the present invention obtains the node type to which any target component in the target vehicle belongs, and determines the upstream component set and / or downstream component set corresponding to the target component based on the node type, and obtains the dependency relationship of each component in the upstream component set and the downstream component set, so as to determine the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and upgrades the target vehicle as a whole based on the upgrade order, thereby reducing the time for the whole vehicle upgrade and improving the efficiency of the whole vehicle upgrade; by retrying and rolling back the upgrade when the component upgrade fails, the whole vehicle upgrade can be avoided from being stuck on a certain component, thereby improving the user experience of the vehicle.

[0094] The process of the vehicle upgrading method provided in the embodiment of the present application is described in detail below with a specific example.

[0095] Step 1: Define the upgrade sequence relationship diagram of all components in a car series or a car model, including the upstream and downstream dependencies of the components, and combine the upgrade sequences of all components into an upgrade sequence mapping table;

[0096] Step 2: When the target vehicle receives the upgrade task, the upgrade sequence mapping table can be traversed through the OTA management node to obtain the target components of [whether it is the start node = true];

[0097] Step 3: The OTA management node will send the upgrade execution and related information that need to be upgraded to the target components of [is it the start node = true] at the same time, so that these nodes can be upgraded in parallel;

[0098] Step 4: After the node upgrade is completed, it will first determine whether [Is it an end node = true] is true. If so, it will jump to step 6; otherwise, it will jump to step 5, further search according to [Downstream component collection], and then issue the upgrade command in parallel again;

[0099] Step 5: When the target component at the intermediate node receives the upgradeable execution, it will check according to the [upstream component set] to see whether all components in the [upstream component set] have issued the upgrade execution to itself. If so, it means that all upstream dependent components have been upgraded and the target component can be upgraded; otherwise, it cannot be upgraded and needs to wait until all [upstream component sets] have been upgraded;

[0100] Step 6: After the target component at the end node is upgraded, the current link branch ends.

[0101] Among them, if the upgrade of a component in the upstream component set fails, it will first retry the upgrade again. If the upgrade fails after exceeding the retry threshold, the rollback mechanism will be triggered, and the overall rollback will be performed in the opposite order of the upgrade sequence diagram (coordinated and managed by the OTA management node, and upgrade instructions or rollback instructions will be issued). If the components in the upstream component set are successfully upgraded but the upgrade execution instruction is not issued, it can be divided into: network communication failure and hardware communication failure; if it is a network communication failure, the program will also have a corresponding retry mechanism, and if it is a hardware communication failure, there will also be a corresponding fault tolerance mechanism. Regardless of the type of failure, once it is finally determined to fail, the OTA management node will coordinate and issue a rollback instruction to ensure that the upgrade process cannot be stuck in a component. If the rollback instruction cannot be issued in extreme cases, the corresponding early warning information will be generated to remind the relevant personnel.

[0102] Figure 4 FIG. 1 is a schematic diagram showing a structure of an embodiment of a vehicle upgrading device of the present invention. Figure 4 As shown, the device comprises:

[0103] The data acquisition module 410 is used to acquire the node type to which any target component in the target vehicle belongs. The node type is used to indicate whether the target component is the starting point and the end point of the component upgrade.

[0104] The component determination module 420 is used to determine the upstream component set and / or the downstream component set corresponding to the target component based on the node type.

[0105] The relationship acquisition module 430 is used to acquire the dependency relationship between each component in the upstream component set and the downstream component set.

[0106] The vehicle upgrade module 440 is used to determine the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and perform a vehicle upgrade on the target vehicle based on the upgrade sequence.

[0107] In an optional implementation, the data acquisition module 410 includes:

[0108] The name acquisition submodule is used to obtain the component name of the target component;

[0109] A name search submodule is used to search for a target name in the node attribution table that is identical to the component name;

[0110] The type determination submodule is used to determine the node type to which the target component belongs based on the node type corresponding to the target name.

[0111] In an optional implementation, the component determination module 420 further includes:

[0112] A first determination submodule is used to determine a downstream component set corresponding to the target component based on a node pointing relationship between other components and the target component if the node type indicates that the target component is the starting point of the component upgrade, wherein the node pointing relationship includes the target component pointing to other components;

[0113] A second determination submodule is used to determine the upstream component set corresponding to the target component based on the node pointing relationship between other components and the target component if the node type indicates that the target component is the end point of the component upgrade, wherein the node pointing relationship includes pointing from other components to the target component;

[0114] The third determination submodule is used to determine the upstream component set and downstream component set corresponding to the target component based on the node pointing relationship between other components and the target component if the node type indicates the starting point and end point of the non-component upgrade of the target component. The node pointing relationship includes some components of other components pointing to the target component, and some components of the target component pointing to other components.

[0115] In some optional implementations, the vehicle upgrade module 440 includes:

[0116] The sequence determination submodule is used to determine the first upgrade sequence of each component in the upstream component set and the second upgrade sequence of each component in the downstream component set based on the dependency relationship, and the upgrade sequence includes the first upgrade sequence and the second upgrade sequence;

[0117] A first upgrade submodule, used to upgrade each component in the upstream component set based on a first upgrade sequence, and generate a first upgrade completion mark after the upgrade is completed;

[0118] A second upgrade submodule, used to upgrade the target component based on the first upgrade completion mark, and generate a second upgrade completion mark after the upgrade is completed;

[0119] A third upgrade submodule is used to upgrade each component in the downstream component set based on the second upgrade end identifier and the second upgrade sequence to complete the whole vehicle upgrade of the target vehicle;

[0120] The information generation submodule is used to generate corresponding upgrade failure information if the target component does not receive the first upgrade end identifier within the first target time, or the component in the downstream component set does not receive the second upgrade end identifier within the second target time.

[0121] In some optional implementations, the submodules are sequentially determined, including:

[0122] A first serial upgrade unit, configured to determine a first serial upgrade order of corresponding components in an upstream component set if the dependency relationship is dependency;

[0123] A first parallel upgrade unit, used for determining a first parallel upgrade sequence of corresponding components in an upstream component set if the dependency relationship is non-dependency;

[0124] The first sequence determining unit is used to determine the first upgrade sequence of each component in the upstream component set based on the first serial upgrade sequence and the first parallel upgrade sequence.

[0125] In some optional implementations, the sequence determination submodule further includes:

[0126] A second serial upgrade unit, configured to determine a second serial upgrade order of corresponding components in a downstream component set if the dependency relationship is dependency;

[0127] A second parallel upgrade unit, used for determining a second parallel upgrade order of corresponding components in the downstream component set if the dependency relationship is non-dependency;

[0128] The second sequence determining unit is used to determine the second upgrade sequence of each component in the downstream component set based on the second serial upgrade sequence and the second parallel upgrade sequence.

[0129] In some optional implementations, the vehicle upgrade module 440 further includes:

[0130] The retry counting submodule is used to generate corresponding upgrade retry instructions and perform retry counting if upgrade failure information fed back by the component and the target component is received;

[0131] A sequence acquisition submodule, for acquiring the original upgrade sequence of the component and the target component if the retry count is greater than the retry threshold;

[0132] The rollback upgrade submodule is used to place the components and target components in the rollback upgrade table for rollback upgrade based on the original upgrade order. The order of the rollback upgrade is opposite to the original upgrade order.

[0133] The further functional description of each of the above modules and units is the same as that of the above corresponding method embodiments and will not be repeated here.

[0134] Through the above device and its components, the technical solution provided by the embodiment of the present invention has the following advantages:

[0135] Compared with the upgrade method in the related art in which the firmware, data and applications of multiple components in the vehicle are usually upgraded sequentially when the vehicle is upgraded, the whole vehicle upgrade device in the embodiment of the present invention obtains the node type to which any target component in the target vehicle belongs, and based on the node type, determines the upstream component set and / or downstream component set corresponding to the target component, and obtains the dependency relationship of each component in the upstream component set and the downstream component set, so as to determine the upgrade order of each component in the upstream component set and the downstream component set based on the dependency relationship, and upgrades the whole vehicle of the target vehicle based on the upgrade order, thereby reducing the time for the whole vehicle upgrade, improving the efficiency of the whole vehicle upgrade, and thereby improving the user experience of the vehicle.

[0136] Figure 5 The schematic diagram of the structure of an embodiment of a vehicle provided by the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the vehicle. Figure 4 The vehicle upgrade device shown in the figure may include: a processor 502 , a communications interface 504 , a memory 506 , and a communications bus 508 .

[0137] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used for network communication with other devices such as a client or other servers. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above method embodiment.

[0138] Specifically, the program 510 may include program code including computer-executable instructions.

[0139] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the vehicle may be processors of the same type, such as one or more CPUs, or processors of different types, such as one or more CPUs and one or more ASICs.

[0140] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0141] An embodiment of the present invention also provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a vehicle / complete vehicle upgrade device, the vehicle / complete vehicle upgrade device executes the complete vehicle upgrade method in any of the above method embodiments.

[0142] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0143] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0144] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0145] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A vehicle upgrading method, characterized in that: The method comprises: Obtaining the node type to which any target component in the target vehicle belongs, wherein the node type is used to indicate whether the target component is the starting point and the end point of the component upgrade; Based on the node type, determining an upstream component set and / or a downstream component set corresponding to the target component; Obtaining dependency relationships between components in the upstream component set and the downstream component set; The upgrade sequence of each component in the upstream component set and the downstream component set is determined based on the dependency relationship, and the entire target vehicle is upgraded based on the upgrade sequence.

2. The method according to claim 1, characterized in that Determining the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and performing a whole vehicle upgrade on the target vehicle based on the upgrade sequence, includes: Based on the dependency relationship, determine a first upgrade sequence of each component in the upstream component set and a second upgrade sequence of each component in the downstream component set, wherein the upgrade sequence includes the first upgrade sequence and the second upgrade sequence; Upgrading each component in the upstream component set based on the first upgrade sequence, and generating a first upgrade completion mark after the upgrade is completed; Upgrading the target component based on the first upgrade completion mark, and generating a second upgrade completion mark after the upgrade is completed; Each component in the downstream component set is upgraded based on the second upgrade end identifier and the second upgrade sequence to complete the whole vehicle upgrade of the target vehicle.

3. The method according to claim 2, characterized in that Determining a first upgrade order of each component in the upstream component set based on the dependency relationship includes: If the dependency relationship is dependency, determining a first serial upgrade order of corresponding components in the upstream component set; If the dependency relationship is non-dependency, determining a first parallel upgrade sequence of corresponding components in the upstream component set; Based on the first serial upgrade sequence and the first parallel upgrade sequence, a first upgrade sequence of each component in the upstream component set is determined.

4. The method according to claim 2, characterized in that: Determining a second upgrade order of each component in the downstream component set based on the dependency relationship includes: If the dependency relationship is dependency, determining a second serial upgrade order of corresponding components in the downstream component set; If the dependency relationship is non-dependency, determining a second parallel upgrade order of corresponding components in the downstream component set; Based on the second serial upgrade sequence and the second parallel upgrade sequence, a second upgrade sequence of each component in the downstream component set is determined.

5. The method according to claim 2, characterized in that: The whole vehicle upgrade of the target vehicle based on the upgrade sequence further includes: If the target component does not receive the first upgrade completion identifier within the first target time, or the components in the downstream component set do not receive the second upgrade completion identifier within the second target time, corresponding upgrade failure information is generated.

6. The method according to claim 1 or 5, characterized in that: The whole vehicle upgrade of the target vehicle based on the upgrade sequence further includes: If the upgrade failure information fed back by the component and the target component is received, a corresponding upgrade retry instruction is generated, and a retry count is performed; If the retry count is greater than the retry threshold, obtaining the original upgrade sequence of the component and the target component; Based on the original upgrade sequence, the component and the target component are placed in a rollback upgrade table for rollback upgrade, and the order of the rollback upgrade is opposite to the original upgrade order.

7. The method according to claim 1, characterized in that The determining, based on the node type, an upstream component set and / or a downstream component set corresponding to the target component includes: If the node type indicates that the target component is the starting point of component upgrade, then based on the node pointing relationship between other components and the target component, determine the downstream component set corresponding to the target component, wherein the node pointing relationship includes the target component pointing to the other components; If the node type indicates that the target component is the end point of the component upgrade, then based on the node pointing relationship between other components and the target component, determine the upstream component set corresponding to the target component, wherein the node pointing relationship includes the other components pointing to the target component; If the node type indicates the starting point and end point of the non-component upgrade of the target component, the upstream component set and the downstream component set corresponding to the target component are determined based on the node pointing relationship between other components and the target component, and the node pointing relationship includes some components of the other components pointing to the target component, and some components of the target component pointing to other components.

8. The method according to claim 1, characterized in that: The step of obtaining the node type to which the target component in the target vehicle belongs includes: Obtain the component name of the target component; Find the target name in the node attribution table that is the same as the component name; Based on the node type corresponding to the target name, the node type to which the target component belongs is determined.

9. A vehicle upgrading device, characterized in that: The device comprises: A data acquisition module, used to acquire the node type to which any target component in the target vehicle belongs, wherein the node type is used to indicate whether the target component is the starting point and the end point of the component upgrade; A component determination module, used for determining an upstream component set and / or a downstream component set corresponding to the target component based on the node type; A relationship acquisition module, used to acquire the dependency relationship between each component in the upstream component set and the downstream component set; The whole vehicle upgrade module is used to determine the upgrade sequence of each component in the upstream component set and the downstream component set based on the dependency relationship, and perform a whole vehicle upgrade on the target vehicle based on the upgrade sequence.

10. A vehicle, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the vehicle upgrade method as described in any one of claims 1-7.