CN118200311A - Vehicle upgrading system, method, intelligent device and vehicle - Google Patents

Vehicle upgrading system, method, intelligent device and vehicle Download PDF

Info

Publication number
CN118200311A
CN118200311A CN202410333148.0A CN202410333148A CN118200311A CN 118200311 A CN118200311 A CN 118200311A CN 202410333148 A CN202410333148 A CN 202410333148A CN 118200311 A CN118200311 A CN 118200311A
Authority
CN
China
Prior art keywords
vehicle
upgrade
downloading
download
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410333148.0A
Other languages
Chinese (zh)
Inventor
朱洪恩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weilai Automobile Technology Anhui Co Ltd
Original Assignee
Weilai Automobile Technology Anhui Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weilai Automobile Technology Anhui Co Ltd filed Critical Weilai Automobile Technology Anhui Co Ltd
Priority to CN202410333148.0A priority Critical patent/CN118200311A/en
Publication of CN118200311A publication Critical patent/CN118200311A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to the technical field of vehicle online upgrading, in particular to a vehicle upgrading system, a vehicle upgrading method, intelligent equipment and a vehicle, and aims to solve the problems of optimizing a downloading process of a vehicle upgrading package, improving downloading efficiency and reducing vehicle energy consumption. To this end, the application comprises: the cloud generates an upgrade task and sends an upgrade task message to the vehicle end through the Mqtt server; the method comprises the steps that the downloading conditions of a vehicle upgrading package are met, and after high pressure is applied, a vehicle end requests a cloud end to download a task specification; and downloading the vehicle upgrade package from the CND distribution server according to the downloading task specification. The upgrade task message is obtained through subscribing Mqtt messages, so that occupation of network resources of a vehicle end can be saved; by checking the download condition of the vehicle upgrade package and executing high voltage, the vehicle can execute the download task under the conditions of sufficient power supply and stable vehicle state; the vehicle upgrade package is downloaded from the cloud based on the CND distribution service, so that the downloading speed is improved, and the reliability and success rate of the downloading process are improved.

Description

Vehicle upgrading system, method, intelligent device and vehicle
Technical Field
The application relates to the technical field of vehicle online upgrading, and particularly provides a vehicle upgrading system, a vehicle upgrading method, intelligent equipment and a vehicle.
Background
OTA (Over-The-Air) technology has been widely used in intelligent vehicle systems, and by means of The OTA technology, system defects can be repaired in time, and product functions are continuously enriched and improved, so that latest functions and experiences are provided for users.
In the current OTA application, the general method adopted for downloading the upgrade package is to set a download activation condition, and only in the running process of a vehicle, a vehicle end can start the downloading process. But may be interrupted multiple times as the download process is affected by the user's use of the vehicle. At this time, for the operator, the download time is uncontrolled and passive waits for download; for users, the downloading process is too long and the user experience is poor. In addition, the downloading process is interrupted for a plurality of times, and the power-off data checking mechanism is started for a plurality of times, so that the risk of downloading failure is increased. Therefore, how to optimize the downloading process of the vehicle upgrade package, improve the downloading efficiency, improve the reliability and success rate of the downloading process, and simultaneously reduce the energy consumption of the vehicle has become a urgent problem to be solved.
Accordingly, there is a need in the art for a new solution to the above-mentioned problems.
Disclosure of Invention
The application aims to solve or partially solve the technical problems, namely, how to optimize the downloading process of the vehicle upgrade package, improve the downloading efficiency, improve the reliability and success rate of the downloading process and reduce the energy consumption of the vehicle.
In a first aspect, the present application provides a vehicle upgrade system, where the system includes a cloud and a target vehicle, the target vehicle includes a vehicle-end upgrade logic module and a vehicle-end download control module, and when the cloud generates an upgrade task of the target vehicle,
The cloud end is configured to send an upgrade task message to the target vehicle, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
after the target vehicle receives the upgrade task message,
The vehicle-end upgrade logic module is configured to request a download task specification from the cloud, wherein the download task specification comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
Based on the download task specification, the vehicle-end download control module is configured to download a vehicle upgrade package from the cloud.
In one embodiment of the above vehicle upgrade system, before the vehicle-end upgrade logic module performs requesting the download task specification from the cloud, the vehicle-end upgrade logic module is configured to:
Checking whether the target vehicle meets upgrade package downloading conditions;
When the upgrade package downloading condition is met, controlling the target vehicle to execute high-voltage;
When the target vehicle meets all the following conditions, judging that the target vehicle meets the upgrade package downloading conditions:
the target vehicle is not in an OTA state;
the target vehicle is not in a transport mode;
the target vehicle is not in super energy-saving mode;
the speed of the target vehicle is greater than a first speed threshold, or the power battery capacity of the target vehicle is greater than a first capacity threshold;
the target vehicle is not in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
In one embodiment of the above vehicle upgrade system, in the process that the vehicle-end download control module performs the downloading of the vehicle upgrade package from the cloud, the vehicle-end upgrade logic module is configured to perform the following operations:
Checking whether the target vehicle meets a download interruption condition;
when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited;
wherein when the target vehicle satisfies any one of the following conditions, it is determined that the target vehicle satisfies the download interruption condition:
the target vehicle is in a transport mode;
the target vehicle is in a super energy-saving mode;
The speed of the target vehicle is less than a second speed threshold, and the power battery level of the target vehicle is less than a second level threshold;
the total time length of downloading the vehicle upgrade package exceeds the fool-proof time threshold;
the target vehicle is in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
In one embodiment of the above vehicle upgrade system, the target vehicle further comprises a network management module, the vehicle-side upgrade logic module configured to:
the upgrade task message also comprises an ECU list to be upgraded, and a first local vehicle-end network corresponding to the ECU list to be upgraded is awakened by the network management module according to the ECU list to be upgraded; or alternatively
According to the ECU name in the downloading task specification, waking up a second local vehicle-end network corresponding to the ECU name through the network management module; or alternatively
And executing whole car awakening by the network management module, wherein the awakening of the whole car is not included in the awakening cabin information entertainment screen.
In one embodiment of the above vehicle upgrade system, the cloud comprises an upgrade task management server, mqtt server and CND distribution server,
The upgrade task management server is configured to perform the following operations:
generating the upgrade task;
sending the upgrade task message to Mqtt service ends;
and pushing the vehicle upgrade package to a CND distribution server.
In one embodiment of the above vehicle upgrade system, the target vehicle further comprises an on-board networking module configured as Mqtt clients,
The vehicle-end networking module is configured to perform the following operations:
receiving the upgrade task message sent by the Mqtt server based on Mqtt messages subscribed and distributed;
and sending the upgrading task message to the vehicle-end upgrading logic module.
In one embodiment of the above vehicle upgrade system, after the vehicle-end networking module receives the upgrade task message, the vehicle-end networking module is configured to perform the following operations:
and waking up a third local vehicle-end network between the vehicle-end networking module and the vehicle-end upgrading logic module.
In one embodiment of the above vehicle upgrade system, the vehicle-end upgrade logic module is configured to:
Requesting to download the download task specification from the upgrade task management server through a temporary session mode;
Distributing a downloading task to the vehicle-end downloading control module corresponding to the ECU name according to the downloading task specification;
The number of the vehicle-end download control modules is one or more; and the vehicle end download control module corresponds to one or more ECUs.
In one embodiment of the above vehicle upgrade system, the vehicle-side download control module is configured to download the vehicle upgrade package from the CND distribution server side.
In one embodiment of the above vehicle upgrade system, the download task specification further includes upgrade package size, upgrade package verification information, and the vehicle-side download control module is configured to:
checking whether an upgrade package file corresponding to the upgrade package name is already stored in the target vehicle;
If so, comparing whether the upgrade package verification information in the download task specification is the same as the upgrade package verification information stored in the target vehicle;
If the update package names are the same, the update package files corresponding to the update package names are not downloaded any more;
and if the upgrade package names are different, deleting the upgrade package file corresponding to the upgrade package name stored in the target vehicle.
In one embodiment of the above vehicle upgrade system, the vehicle-end download control module is configured to:
checking whether a first residual storage space corresponding to the vehicle-end download control module is enough or not according to the size of the upgrade package;
when the first residual storage space is insufficient, deleting unnecessary local files to obtain a second residual storage space;
continuing to check whether the second remaining storage space is sufficient;
And when the second residual storage space is insufficient, exiting the process of downloading the vehicle upgrade package, and sending a local space insufficient prompt to the vehicle-end upgrade logic module.
In one embodiment of the above vehicle upgrade system, the vehicle-end upgrade logic module is configured to:
And reporting the real-time upgrading process information of the target vehicle to the upgrading task management server through a temporary session mode, wherein the real-time upgrading process information comprises downloading process information and error information.
In a second aspect, the present application proposes a vehicle upgrade method, applied to a target vehicle, the method comprising:
Receiving an upgrade task message sent by a cloud, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
Requesting a download task specification from the cloud, wherein the download task specification comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
And downloading a vehicle upgrade package from the cloud based on the download task specification.
In one embodiment of the above vehicle upgrade method, before "request to download task specification to the cloud end", the method further includes:
Checking whether the target vehicle meets upgrade package downloading conditions;
When the upgrade package downloading condition is met, controlling the target vehicle to execute high-voltage;
When all the target vehicles meet the following conditions, judging that the target vehicles meet the upgrade package downloading conditions:
the target vehicle is not in an OTA state;
the target vehicle is not in a transport mode;
the target vehicle is not in super energy-saving mode;
the speed of the target vehicle is greater than a first speed threshold, or the power battery capacity of the target vehicle is greater than a first capacity threshold;
the target vehicle is not in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
In one embodiment of the above vehicle upgrade method, in the process of downloading the vehicle upgrade package, the method further includes:
Checking whether the target vehicle meets a download interruption condition;
when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited;
wherein when the target vehicle satisfies any one of the following conditions, it is determined that the target vehicle satisfies the download interruption condition:
the target vehicle is in a transport mode;
the target vehicle is in a super energy-saving mode;
The speed of the target vehicle is less than a second speed threshold, and the power battery level of the target vehicle is less than a second level threshold;
the total time length of downloading the vehicle upgrade package exceeds the fool-proof time threshold;
the target vehicle is in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
In one embodiment of the above vehicle upgrade method, the method further comprises:
The upgrade task message also comprises an ECU list to be upgraded, and a first local vehicle-end network corresponding to the ECU list to be upgraded is awakened according to the ECU list to be upgraded; or alternatively
According to the ECU name in the downloading task specification, waking up a second local vehicle-end network corresponding to the ECU name; or alternatively
And performing whole car wake-up, but not including waking up the cabin information entertainment screen.
In one embodiment of the above vehicle upgrade method, the method further comprises:
Receiving the upgrade task message sent by the cloud based on Mqtt messages subscribed and distributed;
Downloading the downloading task specification from the cloud end in a temporary session mode;
And downloading the vehicle upgrade package from the cloud based on CDN content delivery service.
In one embodiment of the above vehicle upgrade method, the method further comprises: and reporting the real-time upgrading process information of the target vehicle to the cloud end in a temporary session mode, wherein the real-time upgrading process information comprises downloading process information and error information.
In a third aspect, the present application proposes an intelligent device comprising:
at least one processor;
And a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program that when executed by the at least one processor implements the vehicle upgrade method of any one of the above embodiments.
In a fourth aspect, the present application provides a vehicle, which includes the smart device described in the foregoing embodiments.
The scheme 1. The vehicle upgrading system is characterized by comprising a cloud end and a target vehicle, wherein the target vehicle comprises a vehicle end upgrading logic module and a vehicle end downloading control module, and after the cloud end generates an upgrading task of the target vehicle,
The cloud end is configured to send an upgrade task message to the target vehicle, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
after the target vehicle receives the upgrade task message,
The vehicle-end upgrade logic module is configured to request a download task specification from the cloud, wherein the download task specification comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
Based on the download task specification, the vehicle-end download control module is configured to download a vehicle upgrade package from the cloud.
The vehicle upgrade system according to claim 1, wherein, before the vehicle-end upgrade logic module performs requesting the download task specification from the cloud, the vehicle-end upgrade logic module is configured to perform the following operations:
Checking whether the target vehicle meets upgrade package downloading conditions;
When the upgrade package downloading condition is met, controlling the target vehicle to execute high-voltage;
When the target vehicle meets all the following conditions, judging that the target vehicle meets the upgrade package downloading conditions:
the target vehicle is not in an OTA state;
the target vehicle is not in a transport mode;
the target vehicle is not in super energy-saving mode;
the speed of the target vehicle is greater than a first speed threshold, or the power battery capacity of the target vehicle is greater than a first capacity threshold;
the target vehicle is not in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
The vehicle upgrade system according to claim 1 or 2, wherein, in the process that the vehicle-end download control module performs the downloading of the vehicle upgrade package from the cloud, the vehicle-end upgrade logic module is configured to perform the following operations:
Checking whether the target vehicle meets a download interruption condition;
when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited;
wherein when the target vehicle satisfies any one of the following conditions, it is determined that the target vehicle satisfies the download interruption condition:
the target vehicle is in a transport mode;
the target vehicle is in a super energy-saving mode;
The speed of the target vehicle is less than a second speed threshold, and the power battery level of the target vehicle is less than a second level threshold;
the total time length of downloading the vehicle upgrade package exceeds the fool-proof time threshold;
the target vehicle is in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
The vehicle upgrade system according to claim 1, wherein the target vehicle further comprises a network management module, the vehicle-side upgrade logic module configured to:
the upgrade task message also comprises an ECU list to be upgraded, and a first local vehicle-end network corresponding to the ECU list to be upgraded is awakened by the network management module according to the ECU list to be upgraded; or alternatively
According to the ECU name in the downloading task specification, waking up a second local vehicle-end network corresponding to the ECU name through the network management module; or alternatively
And executing whole car awakening by the network management module, wherein the awakening of the whole car is not included in the awakening cabin information entertainment screen.
The vehicle upgrade system according to claim 1, wherein the cloud comprises an upgrade task management server, mqtt server, and CND distribution server,
The upgrade task management server is configured to perform the following operations:
generating the upgrade task;
sending the upgrade task message to Mqtt service ends;
and pushing the vehicle upgrade package to a CND distribution server.
The vehicle upgrade system according to claim 5, wherein the target vehicle further comprises an on-board networking module configured as Mqtt client,
The vehicle-end networking module is configured to perform the following operations:
receiving the upgrade task message sent by the Mqtt server based on Mqtt messages subscribed and distributed;
and sending the upgrading task message to the vehicle-end upgrading logic module.
The vehicle upgrade system according to claim 6, wherein, after the vehicle-side networking module receives the upgrade task message, the vehicle-side networking module is configured to perform the following operations:
and waking up a third local vehicle-end network between the vehicle-end networking module and the vehicle-end upgrading logic module.
The vehicle upgrade system according to claim 5, wherein the vehicle-side upgrade logic module is configured to:
Requesting to download the download task specification from the upgrade task management server through a temporary session mode;
Distributing a downloading task to the vehicle-end downloading control module corresponding to the ECU name according to the downloading task specification;
The number of the vehicle-end download control modules is one or more; and the vehicle end download control module corresponds to one or more ECUs.
The vehicle upgrade system according to claim 5, wherein the vehicle-side download control module is configured to download the vehicle upgrade package from the CND distribution server side.
The vehicle upgrade system according to claim 1, wherein the download task specification further includes an upgrade package size, upgrade package verification information, and the vehicle-side download control module is configured to:
checking whether an upgrade package file corresponding to the upgrade package name is already stored in the target vehicle;
If so, comparing whether the upgrade package verification information in the download task specification is the same as the upgrade package verification information stored in the target vehicle;
If the update package names are the same, the update package files corresponding to the update package names are not downloaded any more;
and if the upgrade package names are different, deleting the upgrade package file corresponding to the upgrade package name stored in the target vehicle.
The vehicle upgrade system according to claim 10, wherein the vehicle-end download control module is configured to:
checking whether a first residual storage space corresponding to the vehicle-end download control module is enough or not according to the size of the upgrade package;
when the first residual storage space is insufficient, deleting unnecessary local files to obtain a second residual storage space;
continuing to check whether the second remaining storage space is sufficient;
And when the second residual storage space is insufficient, exiting the process of downloading the vehicle upgrade package, and sending a local space insufficient prompt to the vehicle-end upgrade logic module.
The vehicle upgrade system according to claim 1, wherein the vehicle-side upgrade logic module is configured to:
And reporting the real-time upgrading process information of the target vehicle to the upgrading task management server through a temporary session mode, wherein the real-time upgrading process information comprises downloading process information and error information.
The application provides a vehicle upgrading method, which is characterized by being applied to a target vehicle, and comprises the following steps:
Receiving an upgrade task message sent by a cloud, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
Requesting a download task specification from the cloud, wherein the download task specification comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
And downloading a vehicle upgrade package from the cloud based on the download task specification.
The vehicle upgrade method according to claim 13, wherein before "request to download task specification to the cloud end", the method further comprises:
Checking whether the target vehicle meets upgrade package downloading conditions;
When the upgrade package downloading condition is met, controlling the target vehicle to execute high-voltage;
When all the target vehicles meet the following conditions, judging that the target vehicles meet the upgrade package downloading conditions:
the target vehicle is not in an OTA state;
the target vehicle is not in a transport mode;
the target vehicle is not in super energy-saving mode;
the speed of the target vehicle is greater than a first speed threshold, or the power battery capacity of the target vehicle is greater than a first capacity threshold;
the target vehicle is not in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
The vehicle upgrade method according to claim 13 or 14, wherein, in the process of downloading the vehicle upgrade package, the method further comprises:
Checking whether the target vehicle meets a download interruption condition;
when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited;
wherein when the target vehicle satisfies any one of the following conditions, it is determined that the target vehicle satisfies the download interruption condition:
the target vehicle is in a transport mode;
the target vehicle is in a super energy-saving mode;
The speed of the target vehicle is less than a second speed threshold, and the power battery level of the target vehicle is less than a second level threshold;
the total time length of downloading the vehicle upgrade package exceeds the fool-proof time threshold;
the target vehicle is in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
The vehicle upgrade method according to claim 13, further comprising:
The upgrade task message also comprises an ECU list to be upgraded, and a first local vehicle-end network corresponding to the ECU list to be upgraded is awakened according to the ECU list to be upgraded; or alternatively
According to the ECU name in the downloading task specification, waking up a second local vehicle-end network corresponding to the ECU name; or alternatively
And performing whole car wake-up, but not including waking up the cabin information entertainment screen.
The vehicle upgrade method according to claim 13, further comprising:
Receiving the upgrade task message sent by the cloud based on Mqtt messages subscribed and distributed;
Downloading the downloading task specification from the cloud end in a temporary session mode;
And downloading the vehicle upgrade package from the cloud based on CDN content delivery service.
The vehicle upgrade method according to claim 13, further comprising:
And reporting the real-time upgrading process information of the target vehicle to the cloud end in a temporary session mode, wherein the real-time upgrading process information comprises downloading process information and error information.
The application provides an intelligent device, which is characterized in that the intelligent device comprises:
at least one processor;
And a memory communicatively coupled to the at least one processor;
Wherein the memory has stored therein a computer program which when executed by the at least one processor implements the vehicle upgrade method of any one of claims 13 to 18.
The application provides a vehicle, which is characterized in that the vehicle comprises the intelligent device in the scheme 19.
As can be appreciated by those skilled in the art, according to the technical scheme of the vehicle upgrading system and method of the present application, after the cloud generates an upgrading task, an upgrading task message is sent to the target vehicle through Mqtt services based on subscription distribution; the target vehicle checks that the downloading condition of the vehicle upgrade package is met, and requests a cloud end to download a task specification after high voltage is executed; and downloading the vehicle upgrade package from the cloud based on the CND distribution service according to the downloading task specification. The target vehicle subscribes Mqtt messages, so that whether an upgrading task exists or not does not need to be queried from the cloud end regularly, and occupation of vehicle-end network resources and vehicle-mounted control resources is saved; before the target vehicle downloads, the downloading task starts to be executed under the conditions that the power supply of the target vehicle is sufficient and the vehicle state is stable by checking the downloading condition of the vehicle upgrade package and executing the high voltage, so that the reliability and the success rate of the downloading process are improved. The vehicle upgrade package is downloaded from the cloud based on the CND distribution service, so that the downloading speed is improved, and the reliability and success rate of the downloading process are further improved.
Drawings
The present disclosure will become more readily understood with reference to the accompanying drawings. As will be readily appreciated by those skilled in the art: the drawings are for illustrative purposes only and are not intended to limit the scope of the present application.
Fig. 1 is a schematic diagram of the structure and data interaction of a vehicle upgrade system according to an embodiment of the present application.
FIG. 2 is a schematic workflow diagram of a vehicle upgrade system according to an embodiment of the present application.
Fig. 3 is a detailed step diagram of determining whether a target vehicle satisfies upgrade package downloading conditions according to an embodiment of the present application.
Fig. 4 is a detailed step diagram of determining whether the target vehicle meets the download interruption condition according to the embodiment of the present application.
Fig. 5 is a schematic diagram of main flow steps of a vehicle upgrade method applicable to a target vehicle according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a smart device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present application, and are not intended to limit the scope of the present application. Those skilled in the art can make adjustments as needed to suit a particular application.
First, referring to fig. 1, fig. 1 is a schematic diagram illustrating the structure and data interaction of a vehicle upgrade system according to an embodiment of the present application.
In an embodiment of the application, a vehicle upgrade system includes a cloud and a target vehicle, wherein the number of target vehicles is one or more.
As shown in fig. 1, the cloud end includes an upgrade task management server 11, mqtt server 12 and CDN delivery server 13.
The target vehicle comprises a vehicle-end upgrading logic module 21, a vehicle-end networking module 22, a vehicle-end downloading module 23 and a network management module 24, wherein the number of the vehicle-end downloading modules 23 is one or more, and each vehicle-end downloading module 23 corresponds to one or more ECUs.
Continuing to refer to FIG. 2, the workflow of the vehicle upgrade system of the present application is described in conjunction with FIG. 1. FIG. 2 is an exemplary diagram of the workflow of a vehicle upgrade system according to an embodiment of the present application, the workflow mainly comprising:
step S201: the upgrade task management server generates an upgrade task, sends an upgrade task message to the Mqtt server, and pushes a vehicle upgrade package to the CND distribution server;
step S202: mqtt the server side sends the upgrade task message to the target vehicle;
Step S203: the target vehicle checks whether the vehicle upgrade package downloading condition is met, and when the vehicle upgrade package downloading condition is met, the target vehicle executes upper high voltage;
Step S204: the target vehicle requests to the upgrade task management server to download a download task specification corresponding to the target vehicle;
step S205: according to the downloading task specification, the target vehicle downloads a vehicle upgrade package from the CND distribution server.
In the embodiment of the present application, the upgrade task management server 11 stores current vehicle software information of all target vehicles in the vehicle upgrade system, where the current vehicle software information mainly includes vehicle VIN, and information such as a currently used whole vehicle software version, an ECU name, and an ECU software version corresponding to each vehicle VIN.
In step S201, after the new version of the vehicle software is released to the upgrade task management server 11 due to the conditions of the vehicle function upgrade, the BUG correction, and the like, the upgrade task management server 11 generates an upgrade task.
And comparing the difference between the current vehicle software information and the new version vehicle software, determining one or more target vehicles which need to be upgraded at this time, one or more ECUs which need to be upgraded for each target vehicle, the ECU software version and other information corresponding to each ECU, and generating a download task instruction book, an upgrade task message, a vehicle upgrade package and the like for the target vehicles which need to be upgraded.
After the upgrade task management server 11 generates the upgrade task, an upgrade task message is sent to the Mqtt server 12, and the mqtt server 12 can notify the target vehicle that there is an upgrade task through a regular link Mqtt message distributed based on subscription.
In another embodiment, the cloud end may also send the upgrade task message to the target vehicle in a short message manner.
The upgrade task management server 11 pushes the vehicle upgrade package to the CND distribution server for downloading by the target vehicle.
It should be noted that, the data interaction method between the cloud end and the target vehicle is not limited in the present application, and as an example, a public 4G/5G network is adopted.
In step S202, the vehicle-end networking module 22 is set to Mqtt clients, and the target vehicle has subscribed Mqtt to the short message at the server 12 end. Accordingly, the vehicle networking module 22 may receive the upgrade task message sent by the Mqtt server 12 in the cloud.
The Mqtt protocol has the advantages of low protocol overhead, unstable network inclusion, low power consumption and the like, so that the Mqtt protocol is more suitable for vehicles in motion, and can reduce the power consumption of the vehicles and the occupation of network resources.
The upgrade task message is summary information of the upgrade of the current target vehicle, and mainly comprises a task ID, a vehicle VIN, a whole vehicle software version and the like.
After the vehicle-end networking module 22 receives the upgrade task message, if the vehicle-end network is in the sleep state, the vehicle-end networking module 22 serves as a wake-up source, and wakes up a third local vehicle-end network between the vehicle-end networking module 22 and the vehicle-end upgrade logic module 21 through the network management module 24.
The car-end networking module 22 sends an upgrade task message to the car-end upgrade logic module 21. After receiving the upgrade task message, the vehicle-end upgrade logic module 21 executes the whole vehicle wake-up through the network management module 24, and the whole vehicle wake-up range does not include vehicle-mounted devices with higher power consumption such as a cabin information entertainment screen at this time due to energy saving consideration.
In another embodiment, to optimize vehicle energy conservation control, the upgrade task message may also include a list of ECUs to be upgraded. After the vehicle-end upgrading logic module 21 receives the upgrading task message, the first local vehicle-end network corresponding to the to-be-upgraded ECU list is awakened by the network management module 24 according to the to-be-upgraded ECU list, and the vehicle-end networks of other parts irrelevant to the current upgrading do not need to be awakened, so that unnecessary energy consumption can be reduced.
It should be noted that, for the network wake-up operation, the network wake-up operation includes waking up the dormant network, and also includes keeping the part of the vehicle end network in an operating state. And, if part of the network is already in an operating state, at this time, the wake-up operation corresponds to a network operating state hold command.
Before the vehicle-end upgrade logic module 21 executes step S204, it is checked whether the target vehicle satisfies the vehicle upgrade package download condition through step S203.
As shown in fig. 3, when the target vehicle satisfies all of the following conditions, it is determined that the target vehicle satisfies the upgrade package download conditions, and the specific conditions include:
the target vehicle is not in an OTA state;
The target vehicle is not in a transport mode;
The target vehicle is not in super energy-saving mode;
The speed of the target vehicle is greater than a first speed threshold, or the power battery level of the target vehicle is greater than a first level threshold, which may be set to 3 km/h, as an example; the first electric quantity threshold value can be set to 15% of the SOC value, and the SCO value can be obtained through the battery management module;
The target vehicle is not in the vehicle mode which is set by the user and does not allow the downloading of the vehicle upgrade package, that is, the vehicle mode which is set by the user and does not allow the downloading of the vehicle upgrade package can be defined at any time when the user is in use. As an example, when a vehicle is displayed, a user can set the vehicle to a display mode through the vehicle mode management module, and the target vehicle does not download the vehicle upgrade package even if the vehicle has an upgrade task.
After the target vehicle satisfies the upgrade package download condition, the vehicle-side upgrade logic module 21 requests the high-voltage control module of the vehicle to execute the upper high voltage. Therefore, in the downloading process of the upgrade package, a vehicle power battery provides more stable and sufficient energy for the relevant ECU, and the reliability and success rate of the downloading process are improved.
Through setting up of the upgrade package download condition, the vehicle can download the vehicle upgrade package not only in the power-on, driving and other states, but also even if the vehicle is in a dormant state, the vehicle upgrade package can be downloaded as long as the power battery is sufficient in electric quantity, so that the download scene of the vehicle upgrade package is expanded, the download waiting time of the vehicle upgrade package is reduced, and the download efficiency is improved. In addition, the vehicle upgrade package is downloaded when the vehicle is stationary, network data transmission is generally more stable, and meanwhile, the reliability and success rate of the downloading process are improved.
After the high voltage control module executes the high voltage, in step S204, the vehicle-end upgrade logic module 21 requests, from the upgrade task management server 11, to download the download task specification corresponding to the target vehicle, to obtain the information such as the ECU name, the ECU software version, the upgrade package name, the upgrade package size, the upgrade package verification information, the upgrade package download address, and the like related to the current upgrade, so as to generate a corresponding download task.
In another embodiment, after the vehicle-end upgrade logic module 21 receives the download task specification, the network management module 24 may wake up the second local vehicle-end network corresponding to the ECU name according to the ECU name in the download task specification, so as to ensure data interaction between the vehicle-end upgrade logic module 21 and the vehicle-end download control module 23, while other vehicle-end networks unrelated to the upgrade do not need to wake up.
The target vehicle generally comprises one or more vehicle-end download control modules 23, and each vehicle-end download control module 23 is responsible for downloading tasks of one or more ECUs, and as an example, a plurality of ECUs in a cabin area acquire a vehicle upgrade package through the same vehicle-end download control module; and a plurality of ECUs in the display domain acquire the vehicle upgrade package through another vehicle-end download control module.
The vehicle-end upgrade logic module 21 also has the function of a vehicle-end download control module 23, and is used as a vehicle-end download control module of a part of the ECU. For example, the ECU of the chassis domain may acquire the vehicle upgrade package through the vehicle-end upgrade logic module 21.
In step S205, after receiving the download task specification, the vehicle-side upgrade logic module 21 distributes the download task to the vehicle-side download control module 23 corresponding to each ECU name according to the correspondence between the ECU and the vehicle-side download control module 23 known in the target vehicle.
The vehicle-end download control module 23 receives the ECU name, the ECU software version, the upgrade package name, the upgrade package size, the upgrade package verification information, the upgrade package download address, and the like issued by the vehicle-end upgrade logic module 21. It is often necessary to first check the history download record, remaining memory space, etc. in the local memory area.
Specifically, it is checked whether an upgrade package file corresponding to the upgrade package name has been stored in the target vehicle. If so, comparing whether the upgrade package verification information in the download task specification corresponding to the upgrade package file is the same as the upgrade package verification information stored in the target vehicle.
If the upgrade package verification information is the same, the upgrade package file corresponding to the upgrade package name is not downloaded.
If the upgrade package verification information is not the same, it is explained that there may be a problem with the upgrade package downloaded before, and thus the upgrade package file corresponding to the upgrade package name stored in the target vehicle is deleted.
That is, in the new download task, the upgrade package file that has been downloaded correctly will not be downloaded any more, and only the upgrade package that has not been downloaded by the target vehicle will be downloaded. Through the judgment, when the task is recovered after the interruption of the upgrading, repeated downloading can be avoided, and network resources are saved.
After obtaining the name of the upgrade package to be downloaded in the current upgrade, checking whether the first remaining storage space corresponding to the vehicle-end download control module 23 is enough according to the size of the upgrade package corresponding to the name of the upgrade package to be downloaded in the current upgrade.
And deleting the unnecessary local files when the first residual storage space is insufficient, so as to obtain a second residual storage space. As an example, an upgrade package file of a history version is deleted, a history cache file is deleted, and the like.
After the storage space is cleaned, it is continued to check if the second remaining storage space is sufficient. And when the second remaining storage space is still insufficient, the vehicle upgrade package is withdrawn from downloading, the upgrade is paused, and a local space shortage prompt is sent to the vehicle-end upgrade logic module 21.
When the first remaining storage space or the second remaining storage space is sufficient, the vehicle-side download control module 23 performs a download task.
Specifically, the vehicle-end download control module 23 establishes connection with the corresponding CND distribution server according to the upgrade package download address, and downloads the upgrade package file from the CND distribution server.
The CDN distribution service not only can accelerate downloading, but also has higher stability, and also has the functions of relieving the bandwidth pressure of the server and protecting the source station server, so that the CDN distribution service is very suitable for the vehicle upgrading system, and simultaneously provides the downloading service of the vehicle upgrading package for a large number of target vehicles.
In another embodiment, the vehicle-end download control module 23 may also download the vehicle upgrade package in an FTP manner according to the upgrade package download address.
In the process of downloading the vehicle upgrade package by the vehicle-end download control module 23, the vehicle-end upgrade logic module 21 checks whether the target vehicle meets the download interruption condition, and when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited.
As described in fig. 4, when any one of the following conditions is satisfied, it is determined that the target vehicle meets the download interruption condition:
The target vehicle enters a transportation mode;
the target vehicle enters a super energy-saving mode;
The speed of the target vehicle is less than the second speed threshold, and the power battery charge of the target vehicle is less than the second charge threshold, which may be set to 3 km/h as an example; the second power threshold may be set to 15% of the SOC value;
The total time length of downloading the vehicle upgrade package exceeds a fool-proof time threshold, for example, the fool-proof time threshold is set to be 30 minutes;
The target vehicle enters a vehicle mode set by the user that does not allow the download of the vehicle upgrade package to be performed.
In the upgrading process of the target vehicle, the vehicle-end upgrading logic module 21 reports real-time upgrading process information of the target vehicle to the upgrading task management server end 11 in a temporary session mode according to the requirement or at regular time, such as downloading process information, error information and the like.
As an example, the download process information includes a current download task, a download start, a download completion status, etc., and error information such as the aforementioned lack of local space, a download interruption reason, etc.
The state information between the target vehicle and the cloud end is synchronized in a temporary session mode, so that network bandwidth can be saved, and the resource occupation of the target vehicle is reduced.
After the downloading is finished, the vehicle-end upgrade logic module 21 notifies the high-voltage control module of the finishing of the downloading according to the user setting, and the relevant ECU for downloading the upgrade package can lower the high voltage, and at this time, if other vehicle control modules still request the high voltage, the part of ECU will continue to put the high voltage.
The vehicle-side upgrade logic module 21 notifies the network management module 24 that the ECU-related network involved in the upgrade may be dormant, and at this time, if the other vehicle control modules are still in use, the part of the network will continue to wake up.
After the downloading of the vehicle upgrade package is completed, when each ECU executes the upgrade, the application is not limited. As an example, the cabin-related ECU may automatically complete the ECU software upgrade during vehicle travel; the chassis domain related ECU relates to driving safety, and can automatically complete ECU software upgrading after a user parks.
Optionally, after receiving the real-time upgrade process information of the target vehicle, the upgrade task management server 11 updates the current vehicle software information of the target vehicle stored in the cloud. And the ECU which has successfully downloaded the vehicle upgrade package can be removed from the upgrade task according to the system setting, so that the downloading amount can be reduced and the success rate of the downloading can be improved.
It should be noted that the present application is not limited to the form of the vehicle end network of the target vehicle. As an example, it may be in the form of an on-board ethernet and/or CAN network at the vehicle end, etc.
It should be noted that, in the application, data integrity check, data security check and the like are involved in data interaction between the cloud end and the target vehicle; the data security storage and the like related to the data storage of the cloud and/or the target vehicle are known to those skilled in the art, and the specific implementation process and method of the application are not repeated.
Further, the application also provides a vehicle upgrading method, which is applied to a target vehicle, as shown in fig. 5, and the main flow steps of the vehicle upgrading method in the application embodiment include:
step S501: receiving an upgrade task message sent by a cloud, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
step S502: requesting to the cloud for downloading a task specification, wherein the task specification downloading comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
step S503: and downloading the vehicle upgrade package from the cloud based on the downloading task specification.
The specific implementation methods of step S501, step S502, and step S503 are described in detail in the related embodiments of the target vehicle in the vehicle upgrade system, and are not described herein again.
Further, the present application also provides a smart device, which may include at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores a computer program, and the computer program when executed by the at least one processor implements the vehicle upgrading method according to any one of the above embodiments. The intelligent equipment provided by the application can comprise driving equipment, intelligent vehicles, robots and other equipment. Referring to the smart device 6 shown in fig. 6, the memory 61 and the processor 62 are exemplarily shown in fig. 6 as being communicatively connected via a bus.
In some embodiments of the application, the smart device further comprises at least one sensor for sensing information. The sensor is communicatively coupled to a processor of any of the types mentioned herein. As an example, the sensor is a speed sensor.
Further, the application also provides a vehicle, which comprises the intelligent device, wherein the intelligent device can comprise at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores a computer program, and the computer program when executed by the at least one processor implements the vehicle upgrading method according to any one of the above embodiments. Optionally, the vehicle is a new energy automobile.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not for describing or indicating a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in other sequences than those illustrated or otherwise described herein.
In addition, in the description of the present application, the term "a and/or B" means all possible combinations of a and B, such as a alone, B alone or a and B.
Thus far, the technical solution of the present application has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present application is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present application, and such modifications and substitutions will fall within the scope of the present application.

Claims (10)

1. A vehicle upgrading system is characterized by comprising a cloud end and a target vehicle, wherein the target vehicle comprises a vehicle end upgrading logic module and a vehicle end downloading control module, and after the cloud end generates an upgrading task of the target vehicle,
The cloud end is configured to send an upgrade task message to the target vehicle, wherein the upgrade task message comprises a task ID, a vehicle VIN and a whole vehicle software version;
after the target vehicle receives the upgrade task message,
The vehicle-end upgrade logic module is configured to request a download task specification from the cloud, wherein the download task specification comprises: ECU name, ECU software version, upgrade package name, upgrade package download address;
Based on the download task specification, the vehicle-end download control module is configured to download a vehicle upgrade package from the cloud.
2. The vehicle upgrade system of claim 1, wherein prior to the vehicle-side upgrade logic module executing the request to the cloud end for the download of the task specification, the vehicle-side upgrade logic module is configured to:
Checking whether the target vehicle meets upgrade package downloading conditions;
When the upgrade package downloading condition is met, controlling the target vehicle to execute high-voltage;
When the target vehicle meets all the following conditions, judging that the target vehicle meets the upgrade package downloading conditions:
the target vehicle is not in an OTA state;
the target vehicle is not in a transport mode;
the target vehicle is not in super energy-saving mode;
the speed of the target vehicle is greater than a first speed threshold, or the power battery capacity of the target vehicle is greater than a first capacity threshold;
the target vehicle is not in a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
3. The vehicle upgrade system according to claim 1 or 2, wherein in the vehicle-end download control module performing the process of downloading the vehicle upgrade package from the cloud, the vehicle-end upgrade logic module is configured to:
Checking whether the target vehicle meets a download interruption condition;
when the download interruption condition is met, the process of downloading the vehicle upgrade package is exited;
wherein when the target vehicle satisfies any one of the following conditions, it is determined that the target vehicle satisfies the download interruption condition:
the target vehicle enters a transportation mode;
the target vehicle enters a super energy-saving mode;
The speed of the target vehicle is less than a second speed threshold, and the power battery level of the target vehicle is less than a second level threshold;
the total time length of downloading the vehicle upgrade package exceeds the fool-proof time threshold;
the target vehicle enters a vehicle mode set by a user and not allowing the downloading of the vehicle upgrade package.
4. The vehicle upgrade system of claim 1, wherein the target vehicle further comprises a network management module, the vehicle-side upgrade logic module configured to:
the upgrade task message also comprises an ECU list to be upgraded, and a first local vehicle-end network corresponding to the ECU list to be upgraded is awakened by the network management module according to the ECU list to be upgraded; or alternatively
According to the ECU name in the downloading task specification, waking up a second local vehicle-end network corresponding to the ECU name through the network management module; or alternatively
And executing whole car awakening by the network management module, wherein the awakening of the whole car is not included in the awakening cabin information entertainment screen.
5. The vehicle upgrade system of claim 1, wherein the cloud comprises an upgrade task management server, mqtt server, and CND distribution server,
The upgrade task management server is configured to perform the following operations:
generating the upgrade task;
sending the upgrade task message to Mqtt service ends;
and pushing the vehicle upgrade package to a CND distribution server.
6. The vehicle upgrade system of claim 5, wherein the target vehicle further comprises an on-board networking module configured as Mqtt clients,
The vehicle-end networking module is configured to perform the following operations:
receiving the upgrade task message sent by the Mqtt server based on Mqtt messages subscribed and distributed;
and sending the upgrading task message to the vehicle-end upgrading logic module.
7. The vehicle upgrade system of claim 6, wherein the on-board networking module is configured to, upon receipt of the upgrade task message:
and waking up a third local vehicle-end network between the vehicle-end networking module and the vehicle-end upgrading logic module.
8. The vehicle upgrade system of claim 5, wherein the vehicle-end upgrade logic module is configured to:
Requesting to download the download task specification from the upgrade task management server through a temporary session mode;
Distributing a downloading task to the vehicle-end downloading control module corresponding to the ECU name according to the downloading task specification;
The number of the vehicle-end download control modules is one or more; and the vehicle end download control module corresponds to one or more ECUs.
9. The vehicle upgrade system of claim 5 wherein the vehicle-side download control module is configured to download the vehicle upgrade package from the CND distribution server side.
10. The vehicle upgrade system of claim 1, wherein the download task specification further comprises an upgrade package size, upgrade package verification information, the vehicle-side download control module configured to:
checking whether an upgrade package file corresponding to the upgrade package name is already stored in the target vehicle;
If so, comparing whether the upgrade package verification information in the download task specification is the same as the upgrade package verification information stored in the target vehicle;
If the update package names are the same, the update package files corresponding to the update package names are not downloaded any more;
and if the upgrade package names are different, deleting the upgrade package file corresponding to the upgrade package name stored in the target vehicle.
CN202410333148.0A 2024-03-18 2024-03-18 Vehicle upgrading system, method, intelligent device and vehicle Pending CN118200311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410333148.0A CN118200311A (en) 2024-03-18 2024-03-18 Vehicle upgrading system, method, intelligent device and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410333148.0A CN118200311A (en) 2024-03-18 2024-03-18 Vehicle upgrading system, method, intelligent device and vehicle

Publications (1)

Publication Number Publication Date
CN118200311A true CN118200311A (en) 2024-06-14

Family

ID=91405481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410333148.0A Pending CN118200311A (en) 2024-03-18 2024-03-18 Vehicle upgrading system, method, intelligent device and vehicle

Country Status (1)

Country Link
CN (1) CN118200311A (en)

Similar Documents

Publication Publication Date Title
CN108282389B (en) Vehicle-mounted OTA (over the air) upgrading method based on CAN (controller area network) bus load monitoring
CN111061499B (en) ECU updating method and system based on file system
CN112104702B (en) Power management method for vehicle TBOX, vehicle TBOX and medium
CN108710499B (en) Method and device for flashing vehicle-mounted ECU software of electric vehicle
US8655541B2 (en) Vehicle upgrade system and method thereof
CN112052017A (en) OTA (over the air) upgrading system and method for automobile CAN (controller area network) controller
CN112104736B (en) OTA-based multi-ECU upgrading method
CN112134940A (en) OTA upgrade task life cycle strategy management method
DE102017123252A1 (en) Software update method and apparatus for vehicle
CN112199102A (en) Software updating method and device for vehicle-mounted electronic control unit, vehicle and system
WO2023241458A1 (en) Software upgrade method and apparatus for vehicle-mounted controller, and device and storage medium
DE102019126529A1 (en) MAINTAIN RADIO RESOURCE CONTROL ACTIVITY AFTER SMS WAKE UP
CN112188417A (en) OTA vehicle upgrade execution condition dynamic configuration method
CN108008964A (en) Vehicle netbios, the management method and vehicle of vehicle-mounted software
CN111679849B (en) Equipment upgrading method of multilayer topology management structure and charging pile system
CN118200311A (en) Vehicle upgrading system, method, intelligent device and vehicle
CN112428878A (en) Software refreshing control method and device and Internet of vehicles equipment
CN116088903A (en) Vehicle software upgrading method and device, vehicle, equipment and storage medium
CN115987964B (en) Whole vehicle FOTA upgrading system and method
WO2024124474A1 (en) Upgrading method, apparatus and system
US20240096140A1 (en) Electric vehicle network management system and method for therefor
CN117270911A (en) Upgrade maintaining method and device, electronic equipment and storage medium
CN115387920B (en) Remote upgrading system for vehicle and vehicle
CN114643902B (en) Rail vehicle charging control method, dormancy wakeup device and rail vehicle
CN116795443B (en) Sleep wake control system, method, vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication