CN110928561B - Vehicle controller software version management method and device, vehicle and storage medium - Google Patents

Vehicle controller software version management method and device, vehicle and storage medium Download PDF

Info

Publication number
CN110928561B
CN110928561B CN201910734401.2A CN201910734401A CN110928561B CN 110928561 B CN110928561 B CN 110928561B CN 201910734401 A CN201910734401 A CN 201910734401A CN 110928561 B CN110928561 B CN 110928561B
Authority
CN
China
Prior art keywords
controller software
vehicle
version information
initial version
software
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.)
Active
Application number
CN201910734401.2A
Other languages
Chinese (zh)
Other versions
CN110928561A (en
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN201910734401.2A priority Critical patent/CN110928561B/en
Publication of CN110928561A publication Critical patent/CN110928561A/en
Application granted granted Critical
Publication of CN110928561B publication Critical patent/CN110928561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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

Abstract

The embodiment of the invention discloses a method and a device for managing the software version of a vehicle controller, a vehicle and a storage medium, wherein the method comprises the following steps: acquiring initial version information of controller software in the vehicle at a set moment, wherein the set moment comprises vehicle awakening, vehicle power-on and vehicle power-off; when the vehicles are networked, the collected initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, and the target controller software is the controller software which meets the upgrading conditions and is determined according to the initial version information. According to the technical scheme provided by the embodiment of the invention, the redundancy collection of the software version information of the vehicle controller under the specific vehicle working condition is set, so that the reliability of the software version management of the vehicle controller is improved, the occupation of a network bus in the vehicle can be fully reduced, the bus load rate is reduced, and the running performance of the vehicle is fully ensured.

Description

Vehicle controller software version management method and device, vehicle and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicle engineering, in particular to a method and a device for managing the software version of a vehicle controller, a vehicle and a storage medium.
Background
Along with the level of automobile intellectualization and networking is continuously promoted, the number and complexity of electronic controllers inside the automobile are continuously increased, and how to effectively manage the electronic controllers inside the automobile becomes an important concern.
The central gateway is a nuclear electronic Controller for transmitting information in the automobile, and is a communication center of an Ethernet (Ethernet) bus, a Controller Area Network (CAN) and a Local Interconnect Network (LIN) bus. After the vehicle-mounted remote communication module is integrated on the central gateway, the functional units for transmitting information inside and outside the intelligent automobile can be integrated. The traditional software version reading method of the automobile electronic controller is that a professional automobile technician sends a software version reading instruction of the controller to a central gateway through an after-sales diagnostic instrument, and after the central gateway obtains the request instruction, the instruction is routed to a fixed electronic controller to wait for the reply of the electronic controller; the electronic controller replies the software version to the central gateway after receiving the request instruction, the central gateway routes the received software version to the diagnostic instrument, and the diagnostic instrument processes and displays the software version on the liquid crystal screen after obtaining the reply instruction; the automotive professional technician views the information and records it on a dedicated paper statistical form. The software version management method can only carry out manual statistics and management through 4S shops after the automobile is sold, for the sold automobile, a user needs to use a special after-sale diagnostic instrument for statistics when the user maintains the automobile, and only one electronic controller fixed in a single automobile can be read each time, so that the efficiency is low, and the error rate is high.
In order to solve the problem of low efficiency, the electronic controller in the automobile can be remotely upgraded through a background server in the prior art, but the existing acquisition mode of versions of the electronic controller is usually online acquisition, the mode is single, and all versions of the electronic controller cannot be acquired, so that the reliability of version upgrading cannot meet the requirement.
Disclosure of Invention
The embodiment of the invention provides a vehicle controller software version management method, a vehicle controller software version management device, a vehicle and a storage medium, so as to optimize a vehicle controller software version management scheme and improve the reliability of version management.
In a first aspect, an embodiment of the present invention provides a method for managing versions of vehicle controller software, including:
acquiring initial version information of controller software in a vehicle at a set time, wherein the set time comprises vehicle awakening, vehicle power-on and vehicle power-off;
when the vehicles are networked, the collected initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade target controller software, and the target controller software is the controller software which meets the upgrade condition according to the initial version information.
In a second aspect, an embodiment of the present invention further provides a vehicle controller software version management apparatus, including:
the system comprises an information acquisition module, a power supply module and a power supply module, wherein the information acquisition module is used for acquiring initial version information of controller software in a vehicle at a set moment, and the set moment comprises vehicle awakening, vehicle power-on and vehicle power-off;
and the upgrading module is used for uploading the acquired initial version information of the controller software to a cloud platform when the vehicles are networked so as to remotely upgrade target controller software, and the target controller software is the controller software which meets upgrading conditions and is determined according to the initial version information.
Further, the upgrade module is specifically configured to:
uploading the initial version information of the controller software to the cloud platform, so that the cloud platform determines whether the upgrading condition is met according to the initial version information of the set controller software;
determining the set controller software meeting the upgrading condition as the target controller software;
and obtaining the latest version information of the target controller software, and carrying out remote upgrading.
Further, the upgrade condition is that the initial version information is different from the latest version information.
Further, the setting controller software is at least one of controller software allowing remote upgrade.
Further, the device further comprises an information uploading module, and the information uploading module is specifically configured to: and uploading the identification information of the set controller software to a cloud platform before acquiring the initial version information of the controller software in the vehicle at the set moment.
Further, the apparatus further includes a reacquisition module, which is specifically configured to: before the acquired initial version information of the controller software is uploaded to a cloud platform, acquiring the current version information of the set controller software once again when the vehicle is powered on or powered off at the set moment;
and if the current version information of the set controller software is different from the initial version information and the vehicle diagnostic instrument is online, uploading the initial version information to a cloud platform.
Further, the device further comprises an acquisition cycle module, wherein the acquisition cycle module is specifically configured to: after acquiring the initial version information of the controller software in the vehicle at a set moment, determining whether the acquisition is finished or not in the current acquisition period;
and if the acquisition is finished, ending the acquisition, otherwise, continuing to acquire at the set moment in the next acquisition period.
In a third aspect, an embodiment of the present invention further provides a vehicle, including:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the vehicle controller software version management method as described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the vehicle controller software version management method as described above.
According to the embodiment of the invention, the initial version information of the controller software in the vehicle is acquired through vehicle awakening, vehicle power-on and vehicle power-off, and when the vehicle is networked, the acquired initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, wherein the target controller software is the controller software which meets the upgrade condition and is determined according to the initial version information. According to the technical scheme provided by the embodiment of the invention, the redundancy collection of the version information of the vehicle controller software under the specific vehicle working condition is set, so that the reliability of the management of the version of the vehicle controller software is improved, the occupation of a network bus inside a vehicle can be fully reduced, the bus load rate is reduced, and the running performance of the vehicle is fully ensured.
Drawings
Fig. 1 is a flowchart of a vehicle controller software version management method according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a method for managing versions of vehicle controller software according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a method for managing versions of vehicle controller software according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a vehicle controller software version management device according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a vehicle according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a vehicle controller software version management method according to a first embodiment of the present invention, where the method is applicable to a situation where a controller software version is managed in a vehicle, and the method may be executed by a vehicle controller software version management device, where the device may be implemented in a software and/or hardware manner, and the device may be configured in a vehicle.
Fig. 2 is a schematic diagram of a vehicle controller software version management method according to a first embodiment of the present invention, and the vehicle controller software version management device in this embodiment may be configured in the central gateway 111 in the vehicle 11 in the figure to manage the version of the controller software in the vehicle. The controller software may include controller software a, controller software B, controller software C, and the like, the number of the controller software is not limited, and all the controller software in the vehicle may be managed in this embodiment. The vehicle controller software version management device can collect the initial version information of each controller software when the vehicle 11 is not networked, and send the initial version information to the cloud platform 12, so as to realize remote upgrade of the controller software version meeting the upgrade condition.
As shown in fig. 1, the method may specifically include:
and S110, acquiring initial version information of the controller software in the vehicle at set time.
The set time can be the time when the vehicle controller software version management device acquires the controller software, and the set time can comprise vehicle awakening, vehicle power-on and vehicle power-off. The Controller software (also called an electronic control unit) may be software that is connected to a Controller Area Network (CAN) bus or a Local Interconnect Network (LIN) bus in the vehicle and is used to control some devices in the vehicle. The initial version information may be version information of the controller software which is not upgraded after the vehicle is off-line, or version information of the controller software which is obtained before the user needs to upgrade and the vehicle is off-line.
Specifically, the vehicle controller software version management device may obtain the initial version information of each controller software in the vehicle by sending a message instruction to each controller software in the vehicle and receiving the returned message data, and perform caching. When the vehicle is awakened at a set moment, the initial version information of each controller software can be directly obtained; when the vehicle is powered on or powered off, the cached initial version information can be read first, and only the initial version information of the controller software which is not cached or has a "null version" value is obtained.
And S120, when the vehicles are networked, uploading the acquired initial version information of the controller software to a cloud platform so as to remotely upgrade the target controller software.
The vehicle networking mode is not limited in this embodiment, and may be set according to actual conditions. The cloud platform may be a vehicle networking server cluster, and may include a plurality of heterogeneous servers, such as a Content Service Provider (TSP) server, a unified communication port server, a Content Delivery Network (CDN) server, a vehicle information server, a Public Key Infrastructure (PKI) server, and a back-end server, a front-end server, and an upgrade file server of an Over-the-Air (OTA) cloud server. The cloud platform can be used for software version management of vehicles with a single vehicle full life cycle and millions of vehicles, and management time is long and the range is wide. The target controller software is the controller software which meets the upgrading condition determined according to the initial version information.
Specifically, uploading the collected initial version information of the controller software to a cloud platform to perform remote upgrade of the target controller software may include: uploading the initial version information of the controller software to a cloud platform, so that the cloud platform determines whether an upgrading condition is met according to the initial version information of the controller software; determining the set controller software meeting the upgrading conditions as target controller software; and obtaining the latest version information of the target controller software, and carrying out remote upgrading.
The upgrade condition means that the initial version information is different from the latest version information, the latest version information may be stored in the cloud platform, and the latest version information may be continuously updated. The setting controller software may be at least one of controller software that allows remote upgrade, and the number of the setting controller software is not limited in this embodiment, and may be set according to actual situations, for example, may be determined according to selection of a user.
Further, after receiving the initial version information of the controller software of the vehicle, the cloud platform may compare the initial version information of the set controller software with the latest version information, and if the initial version information of the controller software is different from the latest version information, it is determined that the upgrade condition is satisfied. The method comprises the steps that set controller software meeting upgrading conditions is determined to be target controller software, a cloud platform can send latest version information of the target controller software to a vehicle controller software version management device, the vehicle controller software version management device upgrades the target controller software after receiving the latest version information, and the latest version information can include an installation package of the latest version of the corresponding controller software, a check certificate for ensuring safety, an automobile identification number and the like.
And after the version of the target controller software is upgraded, the vehicle controller software version management device can continuously upload the upgraded version information to the cloud platform for storage.
It can be understood that when data interaction is carried out between the vehicle controller software version management device in the vehicle and the cloud platform, the data can be encrypted to improve the safety.
Further, the vehicle controller software management method in the present embodiment is further explained by a specific example. Specifically, taking a vehicle body controller with an initial version of 180 in a vehicle as an example, when a central gateway is awakened, software version acquisition is started to be performed on all electronic control units of the whole vehicle, and if the initial software version information 180 of the vehicle body controller is successfully acquired, the initial version information 180 is stored; when the whole vehicle is powered on, the vehicle controller software management device reads the software version 180 of the vehicle body controller cached by the vehicle controller software management device, and if the software version exists, information collection is not continued; after the vehicles are networked, the vehicle controller software management device uploads the acquired initial version information of the vehicle controller to the cloud platform so that the cloud platform judges whether an upgrading condition is met; if the vehicle body controller meets the upgrading condition, the installation package of the latest version information 181 is obtained for upgrading, and the latest version information 181 is encrypted and uploaded to the cloud platform.
According to the technical scheme, the initial version information of the controller software in the vehicle is acquired through vehicle awakening, vehicle power-on and vehicle power-off, and when the vehicle is networked, the acquired initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, wherein the target controller software is the controller software which is determined to meet the upgrade condition according to the initial version information. According to the technical scheme provided by the embodiment, the redundancy collection of the version information of the vehicle controller software under the specific vehicle working condition is set, so that the reliability of the version management of the vehicle controller software is improved, the occupation of a network bus inside a vehicle can be fully reduced, the bus load rate is reduced, and the running performance of the vehicle is fully ensured.
Example two
Fig. 3 is a flowchart of a vehicle controller software version management method according to a second embodiment of the present invention. The present embodiment further optimizes the vehicle controller software version management method on the basis of the above embodiments. Correspondingly, as shown in fig. 3, the method of the embodiment specifically includes:
and S210, uploading the identification information of the set controller software to a cloud platform.
Wherein the setting controller software may be at least one of controller software that allows remote upgrade. The setting control means may be determined according to the needs of the user, and the number is not limited. Referring to fig. 2, if a user needs to remotely upgrade the controller software a, the controller software B, and the controller software C in the figure, the controller software a, the controller software B, and the controller software C are the set controller software.
In this embodiment, the vehicle controller software management device may upload identification information of the set controller software to the cloud platform in advance, where the identification information may be a unique identifier of the controller software, and a format of the specific identifier may be set according to an actual situation, for example, may be set by numbers or letters.
And S220, acquiring initial version information of the controller software in the vehicle at a set moment.
The set time can be the time when the vehicle controller software version management device acquires the controller software, and the set time can comprise vehicle awakening, vehicle power-on and vehicle power-off.
Specifically, the vehicle controller software version management device may collect initial version information of all controller software in the vehicle at a set time.
And S230, in the current acquisition period, determining whether the acquisition is finished.
The acquisition period is a time period for acquiring the version information of the controller software by the vehicle controller software version management device, and the acquisition period may be set according to an actual situation, for example, the acquisition period may be set to 24 hours.
Optionally, the collection of the version information of the controller software by the vehicle controller software version management device may further set a collection timeout time to ensure normal operation of the vehicle, where the collection timeout time is set collection time, and collection cannot be continued after the collection timeout time is exceeded. The acquisition timeout time may also be set according to actual conditions, and for example, the acquisition timeout time may be 10s.
Specifically, in the current collection period, it is determined whether the initial version information of all the controller software of the vehicle is collected, if yes, it is determined that the collection is completed, and S240 is executed, otherwise, S270 is executed.
S240, when the vehicles are networked, the initial version information of the controller software is uploaded to a cloud platform, so that the cloud platform can determine whether the upgrading condition is met according to the initial version information of the controller software.
Wherein, the upgrading condition is that the initial version information is different from the latest version information. The controller software is set to at least one of the controller software that allows for remote upgrades.
Optionally, before uploading the collected initial version information of the controller software to the cloud platform, the method may further include: when the vehicle is powered on or powered off at a set moment, the current version information of the set controller software is collected once again; and if the current version information of the controller software is different from the initial version information and the vehicle diagnostic instrument is online, uploading the initial version information to the cloud platform.
The vehicle diagnostic instrument can be a professional instrument specially used for vehicle detection, can detect the performance of a vehicle in real time, detects vehicle faults and is a necessary tool for detecting the vehicle. The vehicle diagnostic instrument in the embodiment is used for managing the software of the controller in the vehicle.
Further, the current version information of the set controller software is collected once again when the vehicle is powered on or powered off, and if the current version information is different from the initial version information and the vehicle diagnostic instrument is online, it is indicated that the vehicle diagnostic instrument has upgraded the set controller software, but the upgraded version may have errors because the vehicle diagnostic instrument may belong to a 4S store or a user. Therefore, in the embodiment, the initial version information is still uploaded to the cloud platform, so that the correct version information of the cloud platform is obtained for upgrading, and the correctness of the version is ensured.
And S250, determining the set controller software meeting the upgrading conditions as target controller software.
And S260, acquiring the latest version information of the target controller software, and performing remote upgrading.
The vehicle controller software version management device can receive latest version information sent by the cloud platform and upgrade the target controller software, wherein the latest version information can include an installation package of the latest version of the corresponding controller software, a check certificate for ensuring safety and the like.
And S270, continuing to collect at the set moment in the next collection period.
In the current acquisition period, if it is determined that the initial version information of all the controller software of the vehicle is not acquired, the acquisition is continued at the set time in the next acquisition period until the initial version information of all the controller software is acquired.
According to the technical scheme, the identification information of the set controller software is uploaded to the cloud platform, the initial version information of the controller software in the vehicle is acquired at the set moment, if the acquisition is determined to be completed in the current acquisition period, the initial version information of the controller software is uploaded to the cloud platform when the vehicle is networked, and therefore the cloud platform determines whether the upgrading condition is met according to the initial version information of the set controller software; and determining the set controller software meeting the upgrading conditions as target controller software, acquiring the latest version information of the target controller software, and carrying out remote upgrading. According to the technical scheme provided by the embodiment, the redundancy collection of the version information of the vehicle controller software under the specific vehicle working condition is set, so that the reliability of the version management of the vehicle controller software is improved, the occupation of a network bus inside a vehicle can be fully reduced, the bus load rate is reduced, and the running performance of the vehicle is fully ensured; and the version storage of vehicle controller software is in the cloud platform, and storage space is big, and the security is high, and data is difficult for losing.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a vehicle controller software version management device according to a third embodiment of the present invention, which is applicable to a situation where the controller software version is managed in a vehicle in this embodiment. The vehicle controller software version management device provided by the embodiment of the invention can execute the vehicle controller software version management method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
The device specifically comprises an information acquisition module 310 and an upgrading module 320, wherein:
the information acquisition module 310 is configured to acquire initial version information of controller software in the vehicle at a set time, where the set time includes vehicle wake-up, vehicle power-on, and vehicle power-off;
and the upgrading module 320 is used for uploading the acquired initial version information of the controller software to the cloud platform when the vehicles are networked so as to remotely upgrade the target controller software, wherein the target controller software is the controller software which meets the upgrading conditions and is determined according to the initial version information.
According to the embodiment of the invention, the initial version information of the controller software in the vehicle is acquired through vehicle awakening, vehicle power-on and vehicle power-off, and when the vehicle is networked, the acquired initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, wherein the target controller software is the controller software which meets the upgrade condition and is determined according to the initial version information. According to the technical scheme provided by the embodiment of the invention, the redundancy collection of the version information of the vehicle controller software under the specific vehicle working condition is set, so that the reliability of the management of the version of the vehicle controller software is improved, the occupation of a network bus inside a vehicle can be fully reduced, the bus load rate is reduced, and the running performance of the vehicle is fully ensured.
Further, the upgrade module 320 is specifically configured to:
uploading the initial version information of the controller software to a cloud platform, so that the cloud platform determines whether an upgrading condition is met according to the initial version information of the controller software;
determining the set controller software meeting the upgrading conditions as target controller software;
and acquiring the latest version information of the target controller software, and performing remote upgrading.
Further, the upgrade condition is that the initial version information is different from the latest version information.
Further, the controller software is set to at least one of the controller software that allows remote upgrade.
Further, the device still includes the information upload module, and the information upload module specifically is used for: and uploading the identification information of the set controller software to a cloud platform before acquiring the initial version information of the controller software in the vehicle at the set moment.
Further, the apparatus further includes a reacquisition module, and the reacquisition module is specifically configured to: before the collected initial version information of the controller software is uploaded to a cloud platform, the current version information of the set controller software is collected again once when a vehicle is powered on or powered off at the set moment;
and if the current version information of the controller software is different from the initial version information and the vehicle diagnostic instrument is online, uploading the initial version information to the cloud platform.
Further, the device further comprises an acquisition cycle module, wherein the acquisition cycle module is specifically configured to: after acquiring initial version information of controller software in a vehicle at a set moment, determining whether acquisition is completed or not in a current acquisition period;
if the acquisition is finished, otherwise, the acquisition is continued at the set moment in the next acquisition period.
The vehicle controller software version management device provided by the embodiment of the invention can execute the vehicle controller software version management method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of a vehicle according to a fourth embodiment of the present invention. FIG. 5 illustrates a block diagram of an exemplary vehicle 412 suitable for use in implementing embodiments of the present invention. The vehicle 412 shown in fig. 5 is only an example and should not impose any limitation on the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the vehicle 412 is in the form of a general-purpose vehicle. The components of the vehicle 412 may include, but are not limited to: a vehicle body (not shown), one or more processors 416, a memory device 428, and a bus 418 that connects the various system components, including the memory device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The vehicle 412 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by vehicle 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The vehicle 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), digital Video disk Read-Only Memory (DVD-ROM), or other optical media may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for example, in storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 442 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.
The vehicle 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), with one or more terminals that enable a user to interact with the vehicle 412, and/or with any terminals (e.g., network card, modem, etc.) that enable the vehicle 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Also, the vehicle 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter 420. As shown in FIG. 5, the network adapter 420 communicates with the other modules of the vehicle 412 over the bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the vehicle 412, including but not limited to: microcode, end drives, redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various functional applications and data processing by running a program stored in the storage device 428, for example, to implement a vehicle controller software version management method provided by an embodiment of the present invention, the method including:
acquiring initial version information of controller software in the vehicle at a set moment, wherein the set moment comprises vehicle awakening, vehicle power-on and vehicle power-off;
when the vehicles are networked, the collected initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, and the target controller software is the controller software which meets the upgrading conditions and is determined according to the initial version information.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for managing versions of software of a vehicle controller according to an embodiment of the present invention, where the method includes:
acquiring initial version information of controller software in a vehicle at a set time, wherein the set time comprises vehicle awakening, vehicle power-on and vehicle power-off;
when the vehicles are networked, the collected initial version information of the controller software is uploaded to a cloud platform so as to remotely upgrade the target controller software, and the target controller software is the controller software which meets the upgrading conditions and is determined according to the initial version information.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A vehicle controller software version management method, comprising:
acquiring initial version information of controller software in a vehicle at a set moment, wherein the set moment comprises vehicle awakening, vehicle power-on and vehicle power-off;
when the vehicles are networked, uploading the acquired initial version information of the controller software to a cloud platform so as to remotely upgrade target controller software, wherein the target controller software is the controller software which meets the upgrade condition and is determined according to the initial version information;
uploading the acquired initial version information of the controller software to a cloud platform to remotely upgrade the target controller software, wherein the upgrading process comprises the following steps:
uploading the initial version information of the controller software to the cloud platform so that the cloud platform can determine whether the upgrading condition is met according to the initial version information of the set controller software;
determining the set controller software meeting the upgrading condition as the target controller software;
acquiring the latest version information of the target controller software, and performing remote upgrade;
before uploading the collected initial version information of the controller software to the cloud platform, the method further comprises the following steps:
when the vehicle is powered on or powered off at the set moment, the current version information of the set controller software is collected again;
and if the current version information of the set controller software is different from the initial version information and the vehicle diagnostic instrument is online, uploading the initial version information to a cloud platform.
2. The method according to claim 1, wherein the upgrade condition is that the initial version information is different from the latest version information.
3. The method of claim 1, wherein the provisioning controller software is at least one of controller software that allows for remote upgrades.
4. The method of claim 1, prior to collecting the initial version information of the controller software in the vehicle at the set time, further comprising:
and uploading the identification information of the set controller software to a cloud platform.
5. The method of claim 1, after collecting the initial version information of the controller software in the vehicle at the set time, further comprising:
in the current acquisition period, determining whether the acquisition is finished;
and if the acquisition is finished, ending the acquisition, otherwise, continuing to acquire at the set moment in the next acquisition period.
6. A vehicle controller software version management apparatus characterized by comprising:
the system comprises an information acquisition module, a power supply module and a power supply module, wherein the information acquisition module is used for acquiring initial version information of controller software in a vehicle at a set moment, and the set moment comprises vehicle awakening, vehicle power-on and vehicle power-off;
the upgrading module is used for uploading the acquired initial version information of the controller software to a cloud platform when the vehicles are networked so as to remotely upgrade target controller software, and the target controller software is the controller software which meets upgrading conditions and is determined according to the initial version information;
the upgrade module is specifically configured to:
uploading the initial version information of the controller software to a cloud platform so that the cloud platform can determine whether an upgrading condition is met or not according to the initial version information of the controller software;
determining the set controller software meeting the upgrading conditions as target controller software;
obtaining the latest version information of the target controller software, and carrying out remote upgrading;
a reacquisition module for uploading the acquired initial version information of the controller software to a cloud platform,
when the vehicle is powered on or powered off at the set moment, the current version information of the set controller software is collected again;
and if the current version information of the set controller software is different from the initial version information and the vehicle diagnostic instrument is online, uploading the initial version information to a cloud platform.
7. A vehicle, characterized in that the vehicle comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the vehicle controller software version management method of any one of claims 1-5.
8. A computer-readable storage medium on which a computer program is stored, which program, when executed by a processor, implements a vehicle controller software version management method according to any one of claims 1 to 5.
CN201910734401.2A 2019-08-09 2019-08-09 Vehicle controller software version management method and device, vehicle and storage medium Active CN110928561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910734401.2A CN110928561B (en) 2019-08-09 2019-08-09 Vehicle controller software version management method and device, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910734401.2A CN110928561B (en) 2019-08-09 2019-08-09 Vehicle controller software version management method and device, vehicle and storage medium

Publications (2)

Publication Number Publication Date
CN110928561A CN110928561A (en) 2020-03-27
CN110928561B true CN110928561B (en) 2023-04-07

Family

ID=69856573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910734401.2A Active CN110928561B (en) 2019-08-09 2019-08-09 Vehicle controller software version management method and device, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN110928561B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113147775A (en) * 2021-05-11 2021-07-23 浙江合众新能源汽车有限公司 Exhibition vehicle mode control system of electric vehicle
CN113094091A (en) * 2021-05-11 2021-07-09 云度新能源汽车有限公司 Method and system for realizing management and control of software versions of all controllers of automobile
CN113760326A (en) * 2021-07-21 2021-12-07 江铃汽车股份有限公司 Upgrading method and device, readable storage medium and vehicle
CN113434181B (en) * 2021-08-26 2022-01-04 新石器慧通(北京)科技有限公司 Software upgrading method and device, electronic equipment and storage medium
CN115695092A (en) * 2022-10-31 2023-02-03 重庆长安汽车股份有限公司 Internet vehicle data processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus
CN105468384A (en) * 2014-08-25 2016-04-06 比亚迪股份有限公司 Vehicle-mounted controller programming system and method, server and programming terminal
CN109597634A (en) * 2018-10-24 2019-04-09 北京汽车集团有限公司 The method, apparatus and vehicle of more new vehicle ECU
CN109614141A (en) * 2018-12-25 2019-04-12 北京长城华冠汽车技术开发有限公司 Remote communication module upgrading management system and updating management method
CN109673009A (en) * 2018-11-13 2019-04-23 浙江合众新能源汽车有限公司 A kind of VCU software over-the-air upgrade method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
US20090119657A1 (en) * 2007-10-24 2009-05-07 Link Ii Charles M Methods and systems for software upgrades
US20140068561A1 (en) * 2012-09-05 2014-03-06 Caterpillar Inc. Control system having automatic component version management
JP6723829B2 (en) * 2015-09-14 2020-07-15 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Gateway device, firmware updating method and control program
US11036484B2 (en) * 2017-01-06 2021-06-15 Ford Global Technologies, Llc Software update management
CN107491294A (en) * 2017-04-21 2017-12-19 宝沃汽车(中国)有限公司 A kind of vehicle control device software version information control methods and system
CN107450518A (en) * 2017-08-16 2017-12-08 北京车和家信息技术有限责任公司 A kind of program upgrade apparatus and its control method based on vehicle-mounted Ethernet framework
CN108008964B (en) * 2017-10-24 2020-11-13 宝沃汽车(中国)有限公司 Vehicle-mounted network system, management method of vehicle-mounted software and vehicle
CN107992321B (en) * 2017-12-28 2021-04-27 国机智骏汽车有限公司 ECU software updating method and device, vehicle-mounted T-BOX and vehicle
CN109582340A (en) * 2018-12-07 2019-04-05 安徽江淮汽车集团股份有限公司 A kind of method and system of electric car remote upgrade
CN109729517B (en) * 2018-12-12 2022-03-18 北京长城华冠汽车技术开发有限公司 Communication module software version management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468384A (en) * 2014-08-25 2016-04-06 比亚迪股份有限公司 Vehicle-mounted controller programming system and method, server and programming terminal
CN105094901A (en) * 2015-07-14 2015-11-25 广州橙行智动汽车科技有限公司 Remote after-service on-line ECU refresh method and diagnosis apparatus
CN109597634A (en) * 2018-10-24 2019-04-09 北京汽车集团有限公司 The method, apparatus and vehicle of more new vehicle ECU
CN109673009A (en) * 2018-11-13 2019-04-23 浙江合众新能源汽车有限公司 A kind of VCU software over-the-air upgrade method and device
CN109614141A (en) * 2018-12-25 2019-04-12 北京长城华冠汽车技术开发有限公司 Remote communication module upgrading management system and updating management method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Tina Mirfakhraie等.Applicable Protocol for Updating Firmware of Automotive HVAC Electronic Control Units (ECUs) Over the Air.2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData)》.2019,第21-26页. *
罗成娥等.基于CAN总线的在线升级系统设计与实现.《数字通信》.2013,(第06期),第28-32、36页. *
耿琦等.基于OTA技术的车辆远程数据刷写研究及应用.《电子测试》.2017,(第15期),第74-75、82页. *
耿连才.汽车远程监测与故障诊断系统分析.《道路交通与安全》.2016,(第06期),第40-45页. *
詹克旭 .基于UDS协议的汽车ECU升级方案.《计算机应用与软件》.2019,第36卷(第1期),第191-196、203页. *
赵国开.基于Trustzone的汽车ECU安全OTA系统设计.《科技创新导报》.2019,(21期),第94-96页. *

Also Published As

Publication number Publication date
CN110928561A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110928561B (en) Vehicle controller software version management method and device, vehicle and storage medium
CN111010415B (en) Data transmission method and device for Internet of vehicles
CN110888662A (en) Vehicle remote silent upgrading method and device, vehicle and storage medium
US20190379733A1 (en) Method and device for managing data in internet of things, computer device and readable medium
CN108958787B (en) Block chain system upgrading method, device, equipment and storage medium
CN110989926B (en) Fault magnetic disc slot positioning method and device and electronic equipment
CN110597229A (en) Vehicle diagnosis mutual exclusion method and device, vehicle and storage medium
CN113064619A (en) Firmware upgrading method, device, system, equipment and storage medium
CN111198859A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN109597634A (en) The method, apparatus and vehicle of more new vehicle ECU
CN111818145A (en) File transmission method, device, system, equipment and storage medium
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
WO2023226952A1 (en) Vehicle state feedback method and apparatus, electronic device, and storage medium
CN102158462B (en) A kind of method that 2G or 3G module remote diagnosis is repaired
CN111198853B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN104331948B (en) Tachographs upgrade information sending method, method of reseptance, apparatus and system
CN114880004A (en) Firmware replacement method and device for BMC (baseboard management controller), server and storage medium
CN114706371A (en) Complete vehicle network non-dormancy diagnosis method and device, electronic equipment and storage medium
CN114328080A (en) Firmware state detection method and device and electronic equipment
CN113505905A (en) Vehicle firmware replacement method, device, equipment and storage medium
CN111163155A (en) Account checking file transmission method, account checking file transmission system, account checking file transmission server and storage medium
KR20220074972A (en) System performance parameter transmission method, apparatus, management equipment and storage medium
CN110990042A (en) System upgrading method, upper computer and storage medium
CN114677778A (en) Method and device for estimating remaining mileage of vehicle, electronic device and storage medium
CN113096269B (en) Information acquisition method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant