CN112463190A - Vehicle upgrading method and device - Google Patents

Vehicle upgrading method and device Download PDF

Info

Publication number
CN112463190A
CN112463190A CN202011335976.6A CN202011335976A CN112463190A CN 112463190 A CN112463190 A CN 112463190A CN 202011335976 A CN202011335976 A CN 202011335976A CN 112463190 A CN112463190 A CN 112463190A
Authority
CN
China
Prior art keywords
upgraded
upgrading
ecu
vehicle
ecus
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
CN202011335976.6A
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.)
Guangzhou Xiaopeng Motors Technology Co Ltd
Guangzhou Chengxingzhidong Automotive Technology Co., Ltd
Original Assignee
Guangzhou Xiaopeng Motors Technology Co Ltd
Guangzhou Chengxingzhidong Automotive Technology 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 Guangzhou Xiaopeng Motors Technology Co Ltd, Guangzhou Chengxingzhidong Automotive Technology Co., Ltd filed Critical Guangzhou Xiaopeng Motors Technology Co Ltd
Priority to CN202011335976.6A priority Critical patent/CN112463190A/en
Publication of CN112463190A publication Critical patent/CN112463190A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention provides a vehicle upgrading method and device, which are based on a preset vehicle upgrading framework, wherein the preset vehicle upgrading framework comprises an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for carrying out online upgrading, and the communication channels are respectively connected with the upper computer through the central gateway; the method comprises the following steps: the upper computer acquires an ECU list to be upgraded aiming at the vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded; determining a communication channel corresponding to each ECU to be upgraded according to the ECU list to be upgraded; and upgrading the ECUs to be upgraded in parallel through the corresponding communication channels. The upgrading strategy of the multi-path ECU parallel software is completed based on a plurality of communication channels, the whole vehicle software upgrading speed is increased, the software upgrading success rate is improved and the vehicle power consumption is reduced by shortening the vehicle software upgrading time, and unnecessary upgrading waiting time is reduced.

Description

Vehicle upgrading method and device
Technical Field
The invention relates to the technical field of vehicles, in particular to a vehicle upgrading method and a vehicle upgrading device.
Background
With the development of various advanced technologies in the automotive field, more and more intelligent various devices and functions are integrated into an automobile, the devices and functions are generally controlled by a corresponding Electronic Control Unit (ECU), software of a vehicle-mounted Electronic device is increasingly complex, the probability of software problems is correspondingly increased, and the operation safety of the automobile and the normal use of each function can be ensured by iterating and updating the vehicle software.
However, the traditional automobile software upgrading strategy is an upgrading means based on a single ECU, and cannot meet the increasing automobile software upgrading requirement in the future.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a vehicle upgrade method and a corresponding vehicle upgrade apparatus that overcome or at least partially solve the above problems.
In order to solve the above problems, the embodiment of the present invention discloses a vehicle upgrade method, which is based on a preset vehicle upgrade architecture, where the preset vehicle upgrade architecture includes an upper computer for performing online upgrade, a central gateway, and a plurality of communication channels, where the plurality of communication channels are respectively connected with the upper computer through the central gateway; the method comprises the following steps:
the upper computer acquires an ECU list to be upgraded aiming at the vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded;
determining a communication channel corresponding to each ECU to be upgraded according to the ECU list to be upgraded;
and upgrading the ECUs to be upgraded in parallel through the corresponding communication channels.
Optionally, the upper computer is connected with a cloud server; the acquiring of the ECU list to be upgraded aiming at the vehicle to be upgraded comprises the following steps:
generating an upgrading request aiming at a vehicle to be upgraded, and sending the upgrading request to the cloud server; the cloud server is used for responding to the upgrading request and acquiring an ECU list to be upgraded corresponding to the vehicle to be upgraded from a preset storage space;
and receiving an ECU list to be upgraded sent by the cloud server.
Optionally, the list to be upgraded further includes target software version information of the ECU to be upgraded, an upgrade mode of the ECU to be upgraded, and an upgrade sequence of the ECU to be upgraded.
Optionally, the determining, according to the list of the ECUs to be upgraded, the communication channel corresponding to each ECU to be upgraded includes:
sequencing the ECUs to be upgraded according to the upgrading sequence of the ECUs to be upgraded;
distributing communication channels to each ECU to be upgraded after sequencing; wherein, a communication channel corresponds to an ECU to be upgraded.
Optionally, the upper computer for performing online upgrade includes a vehicle diagnostic apparatus and an OTA client.
Optionally, the parallel upgrading of each ECU to be upgraded according to the corresponding communication channel includes:
acquiring the channel occupancy rates of the plurality of communication channels in the process of upgrading the ECUs to be upgraded;
and when the channel occupancy rate reaches a preset threshold value, finishing the parallel upgrading of each ECU to be upgraded.
Optionally, after the parallel upgrading of the ECUs to be upgraded according to the corresponding communication channels, the method further includes:
acquiring current software version information of the ECU to be upgraded after upgrading;
judging whether the current software version information is the same as the target software version information or not;
if the current software version information is the same as the target software version information, judging that the ECU to be upgraded is upgraded successfully;
and if the current software version information is different from the target software version information, judging that the ECU to be upgraded fails to be upgraded.
The embodiment of the invention also discloses a vehicle upgrading device, which is based on a preset vehicle upgrading framework, wherein the preset vehicle upgrading framework comprises an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for carrying out online upgrading, and the communication channels are respectively connected with the upper computer through the central gateway; the device comprises:
the ECU list acquiring module is used for acquiring the ECU list to be upgraded aiming at the vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded;
the communication channel determining module is used for determining the communication channel corresponding to each ECU to be upgraded according to the list of the ECUs to be upgraded;
and the parallel upgrading module is used for upgrading the ECUs to be upgraded in parallel through the corresponding communication channels.
Optionally, the upper computer is connected with a cloud server; the ECU list acquisition module to be upgraded comprises:
the upgrading request sending submodule is used for generating an upgrading request aiming at a vehicle to be upgraded and sending the upgrading request to the cloud server; the cloud server is used for responding to the upgrading request and acquiring an ECU list to be upgraded corresponding to the vehicle to be upgraded from a preset storage space;
and the ECU list receiving submodule to be upgraded is used for receiving the ECU list to be upgraded sent by the cloud server.
Optionally, the list to be upgraded further includes target software version information of the ECU to be upgraded, an upgrade mode of the ECU to be upgraded, and an upgrade sequence of the ECU to be upgraded.
Optionally, the communication channel determining module includes:
the ECU sorting submodule is used for sorting the ECUs to be upgraded according to the upgrading sequence of the ECUs to be upgraded;
the communication channel distribution submodule is used for distributing communication channels to the ECU to be upgraded after the ECU is sequenced; wherein, a communication channel corresponds to an ECU to be upgraded.
Optionally, the upper computer for performing online upgrade includes a vehicle diagnostic apparatus and an OTA client.
Optionally, the parallel upgrade module includes:
the channel occupancy rate acquisition submodule is used for acquiring the channel occupancy rates of the plurality of communication channels in the process of upgrading the ECUs to be upgraded;
and the parallel upgrading submodule is used for finishing the parallel upgrading of each ECU to be upgraded when the channel occupancy rate reaches a preset threshold value.
Optionally, after the parallel upgrading of the ECUs to be upgraded according to the corresponding communication channels, the method further includes:
the current software version information acquisition module is used for acquiring the current software version information of the ECU to be upgraded after the ECU is upgraded;
the software version information judging module is used for judging whether the current software version information is the same as the target software version information;
the ECU upgrading success determining module is used for judging that the ECU to be upgraded is upgraded successfully if the current software version information is the same as the target software version information;
and the ECU upgrading failure determining module is used for judging that the ECU to be upgraded is in upgrading failure if the current software version information is different from the target software version information.
The embodiment of the invention also discloses a vehicle, which comprises: the vehicle upgrade device, a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of any of the vehicle upgrade methods.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is used for realizing the steps of any vehicle upgrading method when being executed by a processor.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the vehicle to be upgraded is upgraded based on a vehicle upgrading framework, the vehicle upgrading framework can comprise an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for performing online upgrading, the plurality of communication channels can be respectively connected with the upper computer through the central gateway, specifically, based on the framework, the communication channels corresponding to the ECUs to be upgraded are determined through an ECU list of the vehicle to be upgraded, and the ECUs to be upgraded are upgraded in parallel through the determined corresponding communication channels. The upgrading strategy of the multi-path ECU parallel software is completed based on a plurality of communication channels, the whole vehicle software upgrading speed is improved, the software upgrading success rate is improved and the vehicle power consumption is reduced by shortening the vehicle software upgrading time, and unnecessary upgrading waiting time is reduced so as to improve the user satisfaction.
Drawings
FIG. 1 is an architecture diagram of a vehicle upgrade architecture in an embodiment of the present invention;
FIG. 2 is a flow chart of steps of a vehicle upgrade method in an embodiment of the present invention;
FIG. 3 is a flow chart of steps of another vehicle upgrade method in an embodiment of the present invention;
fig. 4 is a block diagram of an embodiment of a vehicle upgrading apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of The core ideas of The embodiment of The present invention is to provide a system architecture scheme compatible with a vehicle system architecture and simultaneously satisfying a system architecture of rapid vehicle software upgrade (including OTA, Over The Air Technology, i.e., an Over-The-Air system upgrade Technology or an Over-The-Air download Technology), i.e., a Central Gateway (CGW) architecture, implementing a strategy for completing upgrade of vehicle software in multiple paths in parallel, so as to satisfy a rapid, efficient and stable vehicle software upgrade method.
Referring to fig. 1, a schematic architecture diagram of a vehicle upgrade architecture in an embodiment of the present invention is shown, which relates to an upper computer, a central gateway CGW, and a plurality of communication channels for performing online upgrade, where the plurality of communication channels may be connected to the upper computer through the central gateway, respectively.
Specifically, the vehicle upgrade architecture is mainly based on a current single system architecture upgraded one by ECU, and is realized by a diagnosis and write-through design of a lower computer development (Bootloader) related to the ECU, a vehicle network topology formulation and a central gateway software development, and a TCP/IP-based DoIP (Diagnostic communication over Internet Protocol, which performs diagnosis and communication through a network Protocol and performs remote vehicle diagnosis through TCP/IP and ethernet). Namely, a strategy for upgrading multi-path ECU parallel software is completed by a communication mode based on TCP/IP and designing a plurality of network channels and a multi-socket multithreading technology.
In a specific implementation, a solid update On the ECU can be usually realized through an On Board Diagnostics (On Board Diagnostics) interface of the vehicle, or a remote upgrade refresh of a corresponding ECU of the vehicle is realized through an OTA technology, so that the involved upper computer for online upgrade can include a vehicle diagnostic apparatus and an OTA client (i.e., OTA client (+ 4G)).
The vehicle diagnostic instrument can be an upper computer (namely a PC (personal computer) end) for locally upgrading a vehicle on line, and can interact with a cloud server; the OTA client (+4G) has similar functions with the vehicle diagnostic instrument and also belongs to a vehicle local upper computer (which can be embedded in a central gateway architecture); the central gateway CGW can be used for connecting the routing devices of all the ECUs to realize the physical and protocol access of the data channels between the vehicle diagnostic instrument/OTA client and all the channel ECUs; while multiple communication channels can be used to identify the channels on which different ECUs are located.
In the embodiment of the invention, the vehicle diagnostic apparatus/OTA client performs channel connection based on the framework shown in figure 1 when each ECU is upgraded, because of physical isolation among channels, mutual message and instruction interference does not exist when each ECU is upgraded, and the vehicle diagnostic apparatus/OTA client and CGW support multiple sockets to complete independent and parallel writing logic (multithreading mode) of each channel.
Referring to fig. 2, a flowchart of steps of a vehicle upgrade method in the embodiment of the present invention is shown, where based on a preset vehicle upgrade architecture, the preset vehicle upgrade architecture includes an upper computer for performing online upgrade, a central gateway, and a plurality of communication channels, where the plurality of communication channels are respectively connected to the upper computer through the central gateway, and specifically may include the following steps:
step 201, the upper computer acquires an ECU list to be upgraded aiming at a vehicle to be upgraded;
in an embodiment of the present invention, the upper computer may refer to a PC terminal for performing local online upgrade on a vehicle, and may interact with the cloud server and perform a series of operations, such as obtaining an upgrade ECU list of the vehicle, confirming an upgrade sequence, performing an upgrade action, feeding back an upgrade result, and the like.
Under the condition of the vehicle upgrading architecture, the upper computer can firstly acquire an ECU list to be upgraded of the vehicle to be upgraded, wherein the acquired ECU list to be upgraded can comprise a plurality of ECUs to be upgraded.
Step 202, determining a communication channel corresponding to each ECU to be upgraded according to the ECU list to be upgraded;
in practical application, the central gateway CGW may be used to connect each ECU, and may connect a plurality of communication channels with the upper computer, that is, the central gateway may be used as an intermediate communication structure, and communication connection between the upper computer and each ECU is realized through the plurality of communication channels.
At this time, after the host computer obtains the list of the ECUs to be upgraded, the communication channel corresponding to each ECU to be upgraded in the list can be determined, so that the ECU to be upgraded located in the communication channel can be upgraded according to the communication channel as a unit.
And 203, upgrading the ECUs to be upgraded in parallel through the corresponding communication channels.
In an embodiment of the present invention, after determining the communication channel corresponding to the ECU to be upgraded, the ECU to be upgraded located in the communication channel may be upgraded in units of the communication channel, specifically, in order to increase the upgrade speed of the entire vehicle software, a mode of upgrading each communication channel one by one is not adopted, but a mode of upgrading a plurality of communication channels in parallel is adopted, that is, each ECU to be upgraded is upgraded in parallel through the corresponding communication channel.
In a preferred embodiment, when parallel software upgrading or OTA upgrading is carried out on the ECU to be upgraded, the whole vehicle needs to be powered on in the OTA upgrading process, and unnecessary electric energy consumption is easily caused. Whether the vehicle needs to be upgraded or not can be monitored, the preset electronic device arranged on the vehicle is controlled to be in a closed state in the process of installing software, and specifically, the IO port corresponding to the preset electronic device can be controlled to be closed, so that the IO port stops transmitting electric energy to the preset electronic device.
It should be noted that the preset electronic device may be an electronic device that is not necessarily turned on after the vehicle is powered on, and may be determined according to actual conditions. For example, after the vehicle is powered on, electronic devices such as a wiper, a lamp, a vehicle air conditioner, and a vehicle sound box do not need to be turned on, and the electronic devices such as the wiper, the lamp, the vehicle air conditioner, and the vehicle sound box are electronic devices that do not need to be turned on. The embodiments of the present invention are not limited thereto.
In the embodiment of the invention, the vehicle to be upgraded is upgraded based on a vehicle upgrading framework, the vehicle upgrading framework can comprise an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for performing online upgrading, the plurality of communication channels can be respectively connected with the upper computer through the central gateway, specifically, based on the framework, the communication channels corresponding to the ECUs to be upgraded are determined through an ECU list of the vehicle to be upgraded, and the ECUs to be upgraded are upgraded in parallel through the determined corresponding communication channels. The upgrading strategy of the multi-path ECU parallel software is completed based on a plurality of communication channels, the whole vehicle software upgrading speed is improved, the software upgrading success rate is improved and the vehicle power consumption is reduced by shortening the vehicle software upgrading time, and unnecessary upgrading waiting time is reduced so as to improve the user satisfaction.
Referring to fig. 3, a flowchart of steps of another vehicle upgrading method in the embodiment of the present invention is shown, where based on a preset vehicle upgrading architecture, the preset vehicle upgrading architecture includes an upper computer for performing online upgrading, a central gateway, and a plurality of communication channels, where the plurality of communication channels are respectively connected to the upper computer through the central gateway, and specifically may include the following steps:
step 301, acquiring an ECU list to be upgraded of a vehicle to be upgraded from a cloud server;
in an embodiment of the present invention, the upper computer for performing online upgrade may interact with the cloud server, and perform a series of operations, such as obtaining an upgrade ECU list of a vehicle, confirming an upgrade sequence, performing an upgrade action, feeding back an upgrade result, and the like.
Specifically, the upper computer can obtain an ECU list to be upgraded of the vehicle to be upgraded from the cloud server.
In practical application, the upper computer can generate an upgrading request for a vehicle to be upgraded and send the upgrading request to the cloud server, and at the moment, the cloud server can respond to the received upgrading request and acquire an ECU list to be upgraded corresponding to the vehicle to be upgraded from a preset storage space; the cloud server sends the acquired ECU list to be upgraded to the upper computer, so that the upper computer can receive the ECU list to be upgraded sent by the cloud server.
In a preferred embodiment, the cloud server may receive, in advance, related information for the entire vehicle ECU sent by the vehicle terminal and store the information in a preset storage space, and when the server receives an upgrade request, the server may obtain corresponding ECU information according to an ECU identifier included in the upgrade request.
Step 302, determining a communication channel corresponding to each ECU to be upgraded according to the upgrading sequence of the ECU to be upgraded;
in practical application, the ECU list to be upgraded acquired from the cloud server may include target software version information of the ECU to be upgraded, an upgrade mode of the ECU to be upgraded, and an upgrade sequence of the ECU to be upgraded.
In an embodiment of the present invention, the ECUs to be upgraded may be sorted according to an upgrading order of the ECUs to be upgraded, and then communication channels may be allocated to the sorted ECUs to be upgraded, so as to determine the communication channels corresponding to the ECUs to be upgraded, where one communication channel corresponds to one ECU to be upgraded, that is, only one ECU to be upgraded may be upgraded while one communication channel is set.
The upgrading sequence of the ECU to be upgraded can be the sequence of the ECU-A, ECU-B, ECU-C, the sequence can be set as required, specifically can be set by an SOTA/FOTA cloud, the vehicle diagnostic instrument can be sorted based on a configuration file of a server, and the upgrading sequence of the three-electricity-related ECUs can be sorted to the end, namely, the ECUs related to the three-electricity in the ECU to be upgraded are upgraded at last.
303, carrying out parallel upgrading on each ECU to be upgraded;
in the embodiment of the invention, the ECU to be upgraded can be upgraded in parallel through the corresponding communication channel, so that the problem that the software upgrading of only one ECU can be completed at the same time due to single upgrading one by one, and the software upgrading of a plurality of ECUs cannot be completed in parallel to limit the software upgrading efficiency of the vehicle is avoided.
In specific implementation, the channel occupancy rates of a plurality of communication channels can be acquired in the process of upgrading each ECU to be upgraded; and when the channel occupancy rate reaches a preset threshold value, finishing the parallel upgrading of each ECU to be upgraded. The method can ensure that the channel occupancy rate of each communication channel is 100% in the ECU upgrading process until all ECUs of the current channel are upgraded, and parallel upgrading of the ECUs of each communication channel is realized.
And step 304, after upgrading of each ECU to be upgraded is completed, exiting the upgrading operation.
In one embodiment of the invention, parallel upgrading is performed on each ECU to be upgraded by taking the communication channel as a unit, and after the upgrading is completed, the upgrading operation can be quitted.
There may be several ECUs for parallel software upgrading, and the method of determining complete software upgrading may be realized through reading back the software version information of the ECUs.
Specifically, the current software version information of the to-be-upgraded ECU subjected to upgrading can be acquired, and whether the current software version information is the same as the target software version information in the list of the to-be-upgraded ECU is judged; in one case, if the current software version information is the same as the target software version information, the ECU to be upgraded can be judged to be successfully upgraded; in another case, if the current software version information is different from the target software version information, it may be determined that the ECU to be upgraded fails to be upgraded, that is, the ECU to be upgraded is not upgraded and cannot exit the upgrading operation.
It should be noted that, in the process of upgrading each ECU to be upgraded by using the communication channel as a unit, the situation that the strategies to be upgraded for different ECUs may be different may occur, and in this situation, an OEM (Original Equipment Manufacturer) may make a uniform upgrade specification to reduce the difficulty of upper computer development; if the upgrading strategy relates to interdependency among the ECUs, the upgrading sequence can be determined based on different dependencies when the ECU upgrading sequence is determined; in the embodiment of the invention, generally, the ECUs of different channels have no possibility of mutual dependency theoretically, and the upgrading dependency between the ECUs of different channels is generally avoided in the design of a preset vehicle upgrading architecture.
In the embodiment of the invention, the upgrading strategy of the multi-path ECU parallel software is completed based on a plurality of communication channels, the whole vehicle software upgrading speed is increased, and the problem of low upgrading success rate caused by the change of the external environment or the internal environment of the vehicle is greatly improved by shortening the vehicle software upgrading time, so that the software upgrading success rate is increased; and for the electric vehicle, the vehicle software upgrading time may influence the vehicle power consumption, so that the vehicle power consumption caused by the vehicle software upgrading is reduced by shortening the vehicle software upgrading time; moreover, the experience of vehicle software upgrading of customers can be improved, unnecessary upgrading waiting time is reduced, and the purpose of improving the satisfaction degree of users is achieved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 4, a structural block diagram of an embodiment of a vehicle upgrade apparatus according to the present invention is shown, based on a preset vehicle upgrade architecture, where the preset vehicle upgrade architecture includes an upper computer for performing online upgrade, a central gateway, and a plurality of communication channels, where the plurality of communication channels are respectively connected to the upper computer through the central gateway, and may specifically include the following modules:
an ECU list to be upgraded acquisition module 401, configured to acquire an ECU list to be upgraded for a vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded;
a communication channel determining module 402, configured to determine, according to the list of ECUs to be upgraded, a communication channel corresponding to each ECU to be upgraded;
and the parallel upgrading module 403 is configured to upgrade, in parallel, each ECU to be upgraded according to the corresponding communication channel.
In one embodiment of the invention, the upper computer is connected with a cloud server; the ECU list acquisition module to be upgraded 401 may include the following sub-modules:
the upgrading request sending submodule is used for generating an upgrading request aiming at a vehicle to be upgraded and sending the upgrading request to the cloud server; the cloud server is used for responding to the upgrading request and acquiring an ECU list to be upgraded corresponding to the vehicle to be upgraded from a preset storage space;
and the ECU list receiving submodule to be upgraded is used for receiving the ECU list to be upgraded sent by the cloud server.
In an embodiment of the present invention, the list to be upgraded further includes target software version information of the ECU to be upgraded, an upgrade mode of the ECU to be upgraded, and an upgrade sequence of the ECU to be upgraded.
In one embodiment of the present invention, the communication channel determination module 402 may include the following sub-modules:
the ECU sorting submodule is used for sorting the ECUs to be upgraded according to the upgrading sequence of the ECUs to be upgraded;
the communication channel distribution submodule is used for distributing communication channels to the ECU to be upgraded after the ECU is sequenced; wherein, a communication channel corresponds to an ECU to be upgraded.
In one embodiment of the invention, the upper computer for performing online upgrade comprises a vehicle diagnostic apparatus and an OTA client.
In one embodiment of the present invention, the parallel upgrade module 403 may include the following sub-modules:
the channel occupancy rate acquisition submodule is used for acquiring the channel occupancy rates of the plurality of communication channels in the process of upgrading the ECUs to be upgraded;
and the parallel upgrading submodule is used for finishing the parallel upgrading of each ECU to be upgraded when the channel occupancy rate reaches a preset threshold value.
In an embodiment of the present invention, after the parallel upgrading of the ECUs to be upgraded according to the corresponding communication channels, the method may further include the following modules:
the current software version information acquisition module is used for acquiring the current software version information of the ECU to be upgraded after the ECU is upgraded;
the software version information judging module is used for judging whether the current software version information is the same as the target software version information;
the ECU upgrading success determining module is used for judging that the ECU to be upgraded is upgraded successfully if the current software version information is the same as the target software version information;
and the ECU upgrading failure determining module is used for judging that the ECU to be upgraded is in upgrading failure if the current software version information is different from the target software version information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides a vehicle, including:
the vehicle upgrading method comprises the vehicle upgrading device, a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the vehicle upgrading method embodiment is realized, the same technical effect can be achieved, and in order to avoid repetition, the details are not repeated.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the vehicle upgrading method embodiment, and can achieve the same technical effect, and is not repeated here to avoid repetition.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The vehicle upgrade method and the vehicle upgrade apparatus provided by the present invention are described in detail above, and the principle and the implementation manner of the present invention are explained in this document by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A vehicle upgrading method is characterized in that the method is based on a preset vehicle upgrading framework, the preset vehicle upgrading framework comprises an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for performing online upgrading, and the communication channels are respectively connected with the upper computer through the central gateway; the method comprises the following steps:
the upper computer acquires an ECU list to be upgraded aiming at the vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded;
determining a communication channel corresponding to each ECU to be upgraded according to the ECU list to be upgraded;
and upgrading the ECUs to be upgraded in parallel through the corresponding communication channels.
2. The method of claim 1, wherein the upper computer is connected with a cloud server; the acquiring of the ECU list to be upgraded aiming at the vehicle to be upgraded comprises the following steps:
generating an upgrading request aiming at a vehicle to be upgraded, and sending the upgrading request to the cloud server; the cloud server is used for responding to the upgrading request and acquiring an ECU list to be upgraded corresponding to the vehicle to be upgraded from a preset storage space;
and receiving an ECU list to be upgraded sent by the cloud server.
3. The method according to claim 1 or 2, wherein the list to be upgraded further comprises target software version information of the ECU to be upgraded, an upgrading mode of the ECU to be upgraded, and an upgrading sequence of the ECU to be upgraded.
4. The method according to claim 3, wherein the determining the communication channel corresponding to each ECU to be upgraded according to the list of the ECUs to be upgraded comprises:
sequencing the ECUs to be upgraded according to the upgrading sequence of the ECUs to be upgraded;
distributing communication channels to each ECU to be upgraded after sequencing; wherein, a communication channel corresponds to an ECU to be upgraded.
5. The method of claim 1, wherein the upper computer for performing online upgrade comprises a vehicle diagnostic instrument and an OTA client.
6. The method according to claim 1, wherein the parallel upgrading of each ECU to be upgraded according to the corresponding communication channel comprises:
acquiring the channel occupancy rates of the plurality of communication channels in the process of upgrading the ECUs to be upgraded;
and when the channel occupancy rate reaches a preset threshold value, finishing the parallel upgrading of each ECU to be upgraded.
7. The method according to claim 3, wherein after the parallel upgrading of the ECUs to be upgraded according to the corresponding communication channels, the method further comprises:
acquiring current software version information of the ECU to be upgraded after upgrading;
judging whether the current software version information is the same as the target software version information or not;
if the current software version information is the same as the target software version information, judging that the ECU to be upgraded is upgraded successfully;
and if the current software version information is different from the target software version information, judging that the ECU to be upgraded fails to be upgraded.
8. A vehicle upgrading device is characterized in that the device is based on a preset vehicle upgrading framework, the preset vehicle upgrading framework comprises an upper computer, a central gateway and a plurality of communication channels, the upper computer is used for carrying out online upgrading, and the communication channels are respectively connected with the upper computer through the central gateway; the device comprises:
the ECU list acquiring module is used for acquiring the ECU list to be upgraded aiming at the vehicle to be upgraded; the ECU list to be upgraded comprises a plurality of ECUs to be upgraded;
the communication channel determining module is used for determining the communication channel corresponding to each ECU to be upgraded according to the list of the ECUs to be upgraded;
and the parallel upgrading module is used for upgrading the ECUs to be upgraded in parallel through the corresponding communication channels.
9. A vehicle, characterized by comprising: vehicle upgrade apparatus according to claim 8, a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when being executed by the processor, realizing the steps of the vehicle upgrade method according to any one of the claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the vehicle upgrade method according to any one of claims 1 to 7.
CN202011335976.6A 2020-11-24 2020-11-24 Vehicle upgrading method and device Pending CN112463190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011335976.6A CN112463190A (en) 2020-11-24 2020-11-24 Vehicle upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011335976.6A CN112463190A (en) 2020-11-24 2020-11-24 Vehicle upgrading method and device

Publications (1)

Publication Number Publication Date
CN112463190A true CN112463190A (en) 2021-03-09

Family

ID=74798789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011335976.6A Pending CN112463190A (en) 2020-11-24 2020-11-24 Vehicle upgrading method and device

Country Status (1)

Country Link
CN (1) CN112463190A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559000A (en) * 2019-09-25 2021-03-26 广州汽车集团股份有限公司 Vehicle software updating method and device
CN113110850A (en) * 2021-05-12 2021-07-13 宝能(广州)汽车研究院有限公司 Vehicle upgrading method, device, equipment, vehicle and storage medium
CN113227967A (en) * 2021-04-02 2021-08-06 华为技术有限公司 Software upgrading method and device
CN113485730A (en) * 2021-06-28 2021-10-08 北京金茂绿建科技有限公司 Upgrade method and computer-readable storage medium
CN113590159A (en) * 2021-08-03 2021-11-02 深圳丰汇汽车电子有限公司 Vehicle-mounted traveling computer parallel upgrading method and system
CN113608520A (en) * 2021-08-06 2021-11-05 深圳市元征科技股份有限公司 Vehicle diagnosis method, device, terminal and storage medium
CN113672254A (en) * 2021-07-30 2021-11-19 北京三快在线科技有限公司 Vehicle OTA (over the air) upgrading method and device, storage medium and unmanned equipment
CN113703818A (en) * 2021-08-18 2021-11-26 深圳数马电子技术有限公司 Device upgrading method and device, computer device and computer-readable storage medium
CN114546448A (en) * 2022-02-24 2022-05-27 重庆长安汽车股份有限公司 Vehicle OTA parallel upgrading method and related device
CN114979239A (en) * 2022-05-24 2022-08-30 深圳市元征科技股份有限公司 Remote diagnosis method, device and related equipment
CN116382744A (en) * 2023-06-05 2023-07-04 成都赛力斯科技有限公司 Method, device, system and storage medium for parallel refreshing of multiple ECUs

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406292A (en) * 2016-11-21 2017-02-15 深圳市元征科技股份有限公司 Method and device for simultaneously writing of a plurality of electronic control units
CN107608711A (en) * 2017-10-19 2018-01-19 歌尔科技有限公司 Upgrade method, device, system and electronic equipment
CN107864207A (en) * 2017-11-14 2018-03-30 上海赫千电子科技有限公司 A kind of ECU software upgrade method based on vehicle-mounted Ethernet
US20190050217A1 (en) * 2018-03-30 2019-02-14 Intel Corporation Systems, methods and apparatus for distributed software/firmware update and software versioning system for automated vehicles
CN110990034A (en) * 2019-10-25 2020-04-10 上海艾拉比智能科技有限公司 ECU upgrading method and system, electronic equipment and storage medium
CN111273931A (en) * 2020-01-20 2020-06-12 宁波吉利汽车研究开发有限公司 Vehicle-mounted traveling computer parallel upgrading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406292A (en) * 2016-11-21 2017-02-15 深圳市元征科技股份有限公司 Method and device for simultaneously writing of a plurality of electronic control units
CN107608711A (en) * 2017-10-19 2018-01-19 歌尔科技有限公司 Upgrade method, device, system and electronic equipment
CN107864207A (en) * 2017-11-14 2018-03-30 上海赫千电子科技有限公司 A kind of ECU software upgrade method based on vehicle-mounted Ethernet
US20190050217A1 (en) * 2018-03-30 2019-02-14 Intel Corporation Systems, methods and apparatus for distributed software/firmware update and software versioning system for automated vehicles
CN110990034A (en) * 2019-10-25 2020-04-10 上海艾拉比智能科技有限公司 ECU upgrading method and system, electronic equipment and storage medium
CN111273931A (en) * 2020-01-20 2020-06-12 宁波吉利汽车研究开发有限公司 Vehicle-mounted traveling computer parallel upgrading method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559000B (en) * 2019-09-25 2024-02-23 广州汽车集团股份有限公司 Whole vehicle software updating method and device for vehicle
CN112559000A (en) * 2019-09-25 2021-03-26 广州汽车集团股份有限公司 Vehicle software updating method and device
CN113227967A (en) * 2021-04-02 2021-08-06 华为技术有限公司 Software upgrading method and device
CN113110850A (en) * 2021-05-12 2021-07-13 宝能(广州)汽车研究院有限公司 Vehicle upgrading method, device, equipment, vehicle and storage medium
CN113110850B (en) * 2021-05-12 2022-09-20 宝能(广州)汽车研究院有限公司 Vehicle upgrading method, device, equipment, vehicle and storage medium
CN113485730A (en) * 2021-06-28 2021-10-08 北京金茂绿建科技有限公司 Upgrade method and computer-readable storage medium
CN113672254A (en) * 2021-07-30 2021-11-19 北京三快在线科技有限公司 Vehicle OTA (over the air) upgrading method and device, storage medium and unmanned equipment
CN113590159A (en) * 2021-08-03 2021-11-02 深圳丰汇汽车电子有限公司 Vehicle-mounted traveling computer parallel upgrading method and system
CN113590159B (en) * 2021-08-03 2024-04-16 深圳丰汇汽车电子有限公司 Parallel upgrading method and system for vehicle-mounted traveling crane computers
CN113608520A (en) * 2021-08-06 2021-11-05 深圳市元征科技股份有限公司 Vehicle diagnosis method, device, terminal and storage medium
CN113703818A (en) * 2021-08-18 2021-11-26 深圳数马电子技术有限公司 Device upgrading method and device, computer device and computer-readable storage medium
CN113703818B (en) * 2021-08-18 2024-05-17 深圳数马电子技术有限公司 Device upgrade method and apparatus, computer device, and computer-readable storage medium
CN114546448A (en) * 2022-02-24 2022-05-27 重庆长安汽车股份有限公司 Vehicle OTA parallel upgrading method and related device
CN114546448B (en) * 2022-02-24 2024-05-14 重庆长安汽车股份有限公司 Vehicle OTA parallel upgrading method and related device
CN114979239A (en) * 2022-05-24 2022-08-30 深圳市元征科技股份有限公司 Remote diagnosis method, device and related equipment
CN116382744B (en) * 2023-06-05 2023-08-04 成都赛力斯科技有限公司 Method, device, system and storage medium for parallel refreshing of multiple ECUs
CN116382744A (en) * 2023-06-05 2023-07-04 成都赛力斯科技有限公司 Method, device, system and storage medium for parallel refreshing of multiple ECUs

Similar Documents

Publication Publication Date Title
CN112463190A (en) Vehicle upgrading method and device
CN111385191B (en) Vehicle-mounted interconnection gateway, vehicle OTA upgrading system and method, and computer storage medium
US10599420B2 (en) Updating a controller unit in a vehicle
US11914987B2 (en) Master update agent and distributed update agent architecture for vehicles
CN111381844A (en) Method and device for updating vehicle ECU firmware
JP6654738B1 (en) Processing telemetry data based on the operating state of the data source
CN111273931B (en) Parallel upgrading method and device for vehicle-mounted traveling crane computers
KR102639949B1 (en) Method and subsystem for installing a software update in a vehicle
JP2019191742A (en) On-vehicle update device, on-vehicle update system, update processing method, and update processing program
EP3405923B1 (en) Updating a controller unit in a vehicle
CN109040263B (en) Service processing method and device based on distributed system
JP2023518402A (en) Certificate list update method and device
CN113485920B (en) Method and device for realizing DoIP entity, readable storage medium and electronic equipment
CN113741936B (en) Parallel refreshing method and device based on UDS protocol, vehicle and computer readable storage medium
CN115225492A (en) Remote upgrading method and system
US20210248846A1 (en) Method and System for Detecting Data in Vehicles
CN111126604B (en) Model training method, device, server and storage medium
CN111796844B (en) Firmware upgrading method and device based on Bluetooth network topology and Bluetooth network topology
US20230327882A1 (en) Non-reputable vehicle change history
CN113110850B (en) Vehicle upgrading method, device, equipment, vehicle and storage medium
CN113162796B (en) Equipment updating method, device and system
CN111752575B (en) Vehicle-mounted application updating method, device, equipment and storage medium
CN114489692A (en) Automatic installation method and system of self-adaptive physical machine
CN110677466A (en) Application program downloading method, device, gateway and storage medium
CN108964989B (en) Method and device for connecting with service platform and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination