CN113094073A - Vehicle remote upgrading method and device and server - Google Patents

Vehicle remote upgrading method and device and server Download PDF

Info

Publication number
CN113094073A
CN113094073A CN202110472386.6A CN202110472386A CN113094073A CN 113094073 A CN113094073 A CN 113094073A CN 202110472386 A CN202110472386 A CN 202110472386A CN 113094073 A CN113094073 A CN 113094073A
Authority
CN
China
Prior art keywords
upgrading
software
vehicle
package
upgraded
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.)
Granted
Application number
CN202110472386.6A
Other languages
Chinese (zh)
Other versions
CN113094073B (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.)
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Original Assignee
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies 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 Chery Automobile Co Ltd, Wuhu Lion Automotive Technologies Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202110472386.6A priority Critical patent/CN113094073B/en
Publication of CN113094073A publication Critical patent/CN113094073A/en
Priority to PCT/CN2022/074733 priority patent/WO2022227755A1/en
Application granted granted Critical
Publication of CN113094073B publication Critical patent/CN113094073B/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/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a vehicle remote upgrading method, a device and a server, wherein the method comprises the following steps: determining application software definitions of one or more control domains of a vehicle to be upgraded according to a plurality of control domain software definitions divided based on the whole vehicle type; determining an installation package, a differential package and/or a rollback package according to the release version identification defined by the application software; and upgrading the software corresponding to the upgrading instruction according to the installation package, the difference package and/or the backspacing package. Therefore, the problems that the dependence relationship between all software versions and software cannot be accurately determined by a remote upgrading scheme in the related technology, upgrading cannot be easily carried out due to upgrading configuration errors, the upgrading reliability and efficiency are reduced, the user experience is poor and the like are solved.

Description

Vehicle remote upgrading method and device and server
Technical Field
The application relates to the technical field of vehicles, in particular to a vehicle remote upgrading method, device and server.
Background
With the continuous upgrading of vehicle technology, the architecture of the existing automobile electronic appliance is upgraded, the upgrading of related domain controllers and ECU application software is more frequent, and the dependency relationship among the software is tighter.
In the related art, the remote upgrading scheme is as follows: upgrade operations of single and multiple ECU (Electronic Control Unit) software are managed in the manner of an upgrade task.
However, in the remote upgrade scheme in the related art, the dependency relationship between all software versions and software cannot be accurately determined, and the problem of configuration error during upgrade is easily caused, so that upgrade cannot be completed, reliability and efficiency of remote upgrade are reduced, and user experience is poor, and a solution is urgently needed.
Content of application
The application provides a vehicle remote upgrading method, a vehicle remote upgrading device and a vehicle remote upgrading server, and aims to solve the problems that a remote upgrading scheme in the related technology cannot accurately determine dependency relationships among all software versions and software, upgrading configuration errors are prone to occur, upgrading cannot be achieved, upgrading reliability and efficiency are reduced, user experience is poor and the like.
An embodiment of a first aspect of the present application provides a vehicle remote upgrade method, including the following steps: determining application software definitions of one or more control domains of a vehicle to be upgraded according to a plurality of control domain software definitions divided based on the whole vehicle type; determining an installation package, a differential package and/or a rollback package according to the release version identification defined by the application software; and upgrading the software corresponding to the upgrading instruction according to the installation package, the difference package and/or the backspacing package.
Further, the upgrading the software corresponding to the upgrade instruction according to the installation package, the differential package, and/or the rollback package includes: generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction; configuring at least one piece of software to be upgraded according to the whole vehicle software upgrading strategy, and configuring the version identification, upgrading operation and the installation package of each piece of software to be upgraded; configuring the upgrading sequence and the rollback sequence of each software to be upgraded according to the difference packet and the rollback packet, calculating the storage size occupied by all the software upgrading packets, and generating an upgrading instruction message and a rollback instruction message to form upgrading data; and sending the upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
Further, the method of the embodiment of the present application further includes: and generating a directed acyclic graph according to the upgrading sequence and the backspacing sequence, and converting the directed acyclic graph into a tree structure so as to visualize the upgrading sequence and the backspacing sequence.
Further, the method of the embodiment of the present application further includes: receiving a current upgrading process and an upgrading result fed back by the vehicle to be upgraded; and determining the final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result.
Further, the method of the embodiment of the present application further includes: detecting whether the vehicle to be upgraded is abnormal or not, and executing installation operation of the rollback software package according to the rollback message; and if the installation operation is not executed, performing fault reminding while performing upgrade failure reminding.
An embodiment of a second aspect of the present application provides a vehicle remote upgrade apparatus, including: the vehicle type whole vehicle upgrading system comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for determining application software definitions of one or more control domains of a vehicle to be upgraded according to a plurality of control domain software definitions divided based on a vehicle type whole vehicle; the determining module is used for determining an installation package, a differential package and/or a rollback package according to the release version identification of the application software definition; and the upgrading module is used for upgrading the software corresponding to the upgrading instruction according to the installation package, the differential package and/or the backspacing package.
Further, the upgrade module includes: the generating unit is used for generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction; the first configuration unit is used for configuring at least one piece of software to be upgraded according to the whole vehicle software upgrading strategy and configuring the version identification, upgrading operation and the installation package of each piece of software to be upgraded; the second configuration unit is used for configuring the upgrading sequence and the rollback sequence of each software to be upgraded according to the difference packet and the rollback packet, calculating the occupied storage size of all software upgrading packets, and generating an upgrading instruction message and a rollback instruction message to form upgrading data; and the upgrading unit is used for sending the upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
Further, the device of this application embodiment still includes: and the visualization module is used for generating a directed acyclic graph according to the upgrading sequence and the backspacing sequence and converting the directed acyclic graph into a tree structure so as to visualize the upgrading sequence and the backspacing sequence.
Further, the device of this application embodiment still includes: the receiving module is used for receiving the current upgrading process and the upgrading result fed back by the vehicle to be upgraded and determining the final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result; and the reminding module is used for detecting whether the vehicle to be upgraded is abnormal or not, executing the installation operation of the rollback software package according to the return message, and if the installation operation is not executed, reminding the upgrade failure and simultaneously reminding the fault.
According to a third aspect of the present application, an embodiment provides a server, which includes the vehicle remote upgrading device.
The unified upgrade management of the whole vehicle software is realized in a software definition mode, the direct dependency relationship between all software versions of the vehicle and the software can be accurately determined, the problem that configuration errors are caused due to unclear dependency relationship when a plurality of pieces of software are upgraded simultaneously is avoided, the plurality of pieces of software can be upgraded remotely and reliably simultaneously, the reliability and efficiency of remote upgrade are effectively improved, and the use experience of a user is improved. Therefore, the problems that the dependence relationship between all software versions and software cannot be accurately determined by a remote upgrading scheme in the related technology, upgrading cannot be easily carried out due to upgrading configuration errors, the upgrading reliability and efficiency are reduced, the user experience is poor and the like are solved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic structural diagram of a vehicle remote upgrade system provided according to an embodiment of the present application;
FIG. 2 is a flowchart of a method for remotely upgrading a vehicle according to an embodiment of the present application;
FIG. 3 is an exemplary diagram of a DAG graph being converted into an upgrade order provided according to an embodiment of the present application;
FIG. 4 is a flow chart of a method for remotely upgrading a vehicle according to an embodiment of the present application;
FIG. 5 is a flowchart of a strategy for downloading an upgrade package at a vehicle end according to an embodiment of the present application;
fig. 6 is a flowchart of a vehicle end execution upgrade strategy according to an embodiment of the present application;
fig. 7 is a block diagram schematically illustrating a vehicle remote upgrade apparatus provided according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
Before introducing the vehicle remote upgrade method, device and server of the embodiment of the present application, an upgrade system of the embodiment of the present application is explained, as shown in fig. 1, including a server side and a vehicle side upgrade management client, where the server side is composed of an application server, a database, a service gateway, and a file server; the vehicle end is composed of a software package downloading agent, a package restoring unit, an upgrading management unit, an upgrading instruction execution unit and a data embedding unit.
The service gateway is a server which directly provides a service interface to the outside; the application server provides the actual program and logic realization of the service interface and provides the timing execution program realization; the database stores vehicle types, vehicle information, upgrading application version information, vehicle version information, upgrading strategy configuration information, application upgrading real vehicle test records, vehicle upgrading session log stream information, various data reports and the like; the file server stores software package files such as application atom software packages, difference packages, fallback packages and the like. The software package downloading agent is responsible for downloading all atomic software packages or differential packages which need to be downloaded in the upgrading instruction; and the packet reduction unit is responsible for combining the differential packet and the old atomic packet into a new atomic packet according to a differential algorithm.
The following describes a vehicle remote upgrade method, device and server according to an embodiment of the present application with reference to the drawings. In the method, the uniform upgrading management of the whole vehicle software is realized in a software definition mode, the direct dependency relationship of all software versions and software of the vehicle can be accurately determined, the problem that configuration errors are caused when a plurality of pieces of software are upgraded simultaneously due to unclear relations is solved, the plurality of pieces of software can be upgraded simultaneously and reliably, the reliability and the efficiency of remote upgrading are effectively improved, and the use experience of users is improved. Therefore, the problems that the dependence relationship between all software versions and software cannot be accurately determined by a remote upgrading scheme in the related technology, upgrading cannot be easily carried out due to upgrading configuration errors, the upgrading reliability and efficiency are reduced, the user experience is poor and the like are solved.
Specifically, fig. 2 is a schematic flowchart of a vehicle remote upgrade method according to an embodiment of the present disclosure.
As shown in fig. 2, the vehicle remote upgrade method includes the following steps:
in step S101, application software definitions to which one or more control domains of the vehicle to be upgraded belong are determined according to a plurality of control domain software definitions divided based on the entire vehicle type.
The vehicle to be upgraded can be understood as a specific vehicle type needing to be upgraded in the embodiment of the application.
In this embodiment, the whole vehicle to be upgraded is divided into a plurality of control domain software definitions in the software upgrading application service platform, and the application software belonging to each control domain is defined. Specifically, the method comprises the following steps: defining software application, and defining whole vehicle software or local domain controller software through software application identification information; and the incidence relation between the software application and the vehicle type is configured, and the range of the vehicle type upgradable software application package is determined.
In step S102, an installation package, a differential package, and/or a rollback package is determined according to the release version identifier of the belonging application software definition.
The version sending identifier can be a release version number, the release version number of each application definition is maintained after the definition, and each application version corresponds to a group of software atom installation packages, software differential packages and software rollback packages.
In the embodiment, when upgrading the vehicle software of the specified vehicle type, firstly, a vehicle software upgrading policy number is generated, and an ECU application software list included in the upgrading is configured according to the policy number; and then configuring the version number of each application software, whether to forcibly upgrade, and a software package file, and generating a version difference package and a rollback package.
In step S103, the software corresponding to the upgrade instruction is upgraded according to the installation package, the differential package, and/or the rollback package.
In this embodiment, upgrading software corresponding to the upgrade instruction according to the installation package, the differential package, and/or the rollback package includes: generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction; configuring at least one piece of software to be upgraded according to a whole vehicle software upgrading strategy, and configuring a version identifier, upgrading operation and installation package of each piece of software to be upgraded; configuring the upgrading sequence and the backspacing sequence of each software to be upgraded according to the differential packet and the backspacing packet, calculating the storage size occupied by all the software upgrading packets, and generating an upgrading instruction message and a backspacing instruction message to form upgrading data; and sending the upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
Wherein, the configuration upgrading strategy is as follows: and generating a directed acyclic graph according to the upgrading sequence and the backspacing sequence, and converting the directed acyclic graph into a tree structure to visualize the upgrading sequence and the backspacing sequence. For example, the order of converting the graphically configured DAG graph into the executable upgrade policy according to the embodiment of the present application may be, as shown in fig. 3, converting the S4-1 DAG graph into an S4-2 tree data structure through a deep-pass algorithm, and obtaining an execution upgrade task policy list S4-3 from the S4-2 tree data structure through a layer-pass algorithm.
It can be understood that, in the embodiment of the present application, a DAG (directed acyclic graph) in the software upgrade order and the rollback order is configured, the storage size occupied by all software upgrade packages is calculated, the upgrade instruction packet is generated, the rollback instruction packet is generated, the upgrade vehicle list is set, and the OTA upgrade agent service of the vehicle to be upgraded is provided with a push message through a push pipeline of the MQTT protocol service.
Specifically, (1) an upgrade strategy is configured, an upgrade execution sequence of a plurality of software packages is managed in a graphical mode, a system automatically converts a DAG graph into a tree structure, the DAG graph is converted into the upgrade sequence of the software packages in a mode of utilizing tree nodes in a layer sequence, and a rollback sequence is obtained in a queue-convenient mode;
(2) configuring a vehicle to be upgraded, and triggering a vehicle to be upgraded to verify an upgrading strategy in a mode of pushing an upgrading notice to the vehicle to be upgraded;
(3) configuring a gray release strategy, and releasing a new software version in a certain range by means of designating an upgrade vehicle, an upgrade area and the like;
(4) and configuring an upgrading timing task, and pushing an upgrading notification message to the vehicle to be upgraded at a timing so as to trigger and start an upgrading session of the vehicle end.
In some embodiments, the method of embodiments of the present application further comprises: receiving a current upgrading process and an upgrading result fed back by a vehicle to be upgraded; and determining the final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result.
And the vehicle end downloads the upgrading instruction message and the backspacing instruction message, judges whether the execution instruction can be executed or not according to the upgrading instruction message, and the upgrading instruction message executes the instructions of software package downloading, software package merging, software package installation and the like so as to determine the final upgrading result.
Specifically, after receiving the upgrade notification, the vehicle end requests the server-end gateway service to acquire a target version of the vehicle application to be upgraded through the upgrade management unit, requests the server-end gateway to acquire an upgrade policy file and a rollback policy file according to the local version and the target version, and sends the upgrade session record and the execution state of the current vehicle to the service gateway through the data embedding unit; then, the vehicle-end software package downloading agent downloads the differential package according to the upgrading strategy file in a circulating mode, the package reducing unit combines the differential package and the local old primary package into a new atomic package according to the differential package, the legality of the differential package is verified, and the legality of the new primary package is verified; and finally, after the vehicle end finishes the preparation of the software packages required by all the upgrading tasks, sequentially executing upgrading installation instructions according to the definition of the upgrading strategy file, and sequentially displaying the software installation flow and results when the vehicle end installs the upgrading instructions.
In some embodiments, the method of embodiments of the present application further comprises: detecting whether the vehicle to be upgraded is abnormal or not, and executing installation operation of a rollback software package according to the return message; and if the installation operation is not executed, performing fault reminding while performing upgrade failure reminding.
And after the vehicle end is abnormal in the updating instruction executing message, sequentially executing rollback software package installation operation according to the rollback instruction, and sending an execution log of an updating task to the service gateway through the data point burying unit in the entering and exiting steps of the updating instruction executing step.
In summary, the embodiment of the application can use the whole vehicle software or local domain controller software as a distributed system to perform unified application software management, configure and track the vehicle software upgrading strategy and the related strategy execution state in a visual graph manner, and facilitate operation and maintenance personnel, technicians and testers to realize remote upgrading operation of the whole vehicle software.
The following will explain a vehicle remote upgrading method by a specific embodiment, as shown in fig. 4, including the following steps:
s1-1, configuring software application, defining information such as software part number, application code, application name and description for remote upgrade.
S1-2, configuring the vehicle type code, the vehicle type name, the vehicle type year, the affiliated brand and other information.
And S1-3, configuring the association relationship between the vehicle type and the software application, and configuring a software application list capable of allowing remote upgrading according to the vehicle type.
S1-4, defining a vehicle type application version/upgrading strategy, increasing a vehicle type whole vehicle software version number according to a vehicle type, configuring part numbers to be upgraded according to the whole vehicle version number and application configuration upgrading conditions, such as vehicle gear, ignition state and other upgrading program starting information.
And S1-5, uploading an upgrade original packet, a differential packet, a rollback packet, upgrade description information and the like of each part application software needing to be upgraded according to the vehicle type application version.
And S1-6, configuring the upgrading sequence of the part application software to be upgraded according to the configured vehicle model application version number, and marking the upgrading sequence by using a DAG (direct current) view mode through an arrow.
S1-7, the server automatically generates an upgrade instruction list according to the configured DAG graph, and writes the upgrade instruction into an upgrade strategy configuration file according to the format specification.
And S1-8, the server automatically sorts the upgrading and downgrading instruction list according to the upgrading instruction list, and writes the downgrading instruction list into the downgrading vehicle configuration file according to the format.
And S1-9, pushing an upgrading message to the test vehicle, and enabling the specified test vehicle to acquire an upgrading strategy file for downloading the application version of the specified whole vehicle.
S1-10, testing whether the execution of the vehicle upgrading strategy reaches the expectation through manual verification, and if the execution reaches the expectation, executing S1-11; if not, execution proceeds to S1-5.
And S1-11, uploading a test report aiming at the specified vehicle application version.
And S1-12, auditing the test report of the application version of the whole vehicle by an auditor.
And S1-13, if the auditor passes, executing S1-14, and if the auditor does not pass, executing S1-5.
And S1-14, generating an upgrading task aiming at the approved whole vehicle application version, and defining the range of vehicles which are allowed to be upgraded.
And S1-15, auditing the upgrading task to be issued by the auditor, and performing passing and failing.
And S1-16, if the auditor selects to pass the execution of S1-17, the selection is not passed, the whole vehicle upgrading task state is modified to be an initial state, and the vehicle returns to S1-14 to be modified.
S1-17, the system judges whether the upgrading task executed in a designated time is determined, if the upgrading task is the timing task, S1-18 is executed, and if not, S1-20 is executed.
And S1-18, the task execution system records the new timing task record.
And S1-19, the task execution system checks whether a timing task needs to be executed or not at regular time, the execution time is met, S1-20 is executed, the execution time is not met, and the task execution system sleeps and waits to be awakened.
And S1-20, acquiring a vehicle list needing to be upgraded according to the upgrading range specified by the upgrading task, and calling a message pushing interface according to the vehicle list to push the upgrading task to the executing vehicle.
And S1-21, downloading the upgrade steamed stuffed bun by the vehicle end.
And S1-22, the vehicle end executes the upgrading strategy sub-process.
In this embodiment, the procedure of downloading the upgrade package from the vehicle end is shown in fig. 5, and includes the following steps:
s2-1, the vehicle end requests the server end to upgrade the check interface, checks whether the whole vehicle application package needing to be updated exists, and obtains the whole vehicle application package upgrading strategy information needing to be updated.
And S2-2, if the whole vehicle application package needing to be updated exists, executing S-3, otherwise, ending the process.
S2-3, checking whether the local available capacity meets the size of the upgrade package needing to be downloaded.
S2-4, if the storage is enough to download the task execution, executing S2-5, otherwise executing S2-7.
And S2-5, locally generating an upgrade task record ID for recording and identifying the execution behavior of the upgrade task.
S2-6, according to the upgrade strategy list, circularly checking the download software package
And S2-7, generating alarm prompt information, displaying the alarm prompt information through a visual screen, and sending the alarm information to a server side.
And S2-8, if the software package corresponding to the current cycle has a differential package, executing S2-9, otherwise executing S2-11.
And S2-9, downloading the specified software differential package according to the differential package downloading link defined in the upgrading strategy list.
And S2-10, using a package reduction unit to generate an upgrade target package through local atomic package merging and differencing.
S2-11, according to the original software package download link defined in the upgrade strategy list, downloading the appointed software original sub-package.
And S2-12, recording an upgrade execution log according to the upgrade task ID.
And S2-13, judging whether a download task needing to be executed still exists, if so, executing S2-6, and if not, ending the process.
In this embodiment, the sub-process of executing the upgrade policy by the vehicle end is shown in fig. 6, and includes the following steps:
and S3-1, circularly executing the software package installation instruction according to the upgrade strategy list.
S3-2, judging whether the upgrade condition is satisfied, if so, executing S3-3, and if not, executing S3-9.
And S3-3, recording an upgrade execution log according to the upgrade task ID, and updating the upgrade state of the whole vehicle.
And S3-4, executing the software package installation instruction according to the software package installation requirement, and starting a daemon process.
S3-5, monitoring whether the software installation is abnormal or not through a daemon process, if the daemon process judges that the software installation is abnormal, interrupting an installation instruction, and executing S3-11, and if the software installation is finished, executing S3-6.
And S3-6, recording an upgrade task execution log according to the upgrade task ID, and updating the upgrade state of the whole vehicle.
S3-7, judging whether the upgrade strategy list is completely executed, if not, executing S3-1, if so, completely executing.
S3-8, the upgrade main execution task is awakened through timing or other specific events.
And S3-9, suspending the upgrading main task process for waiting.
And S3-10, judging whether the vehicle software rollback condition is met, if so, executing S3-14, and if not, executing S3-9.
And S3-11, recording an upgrade task abnormal log according to the upgrade task ID.
And S3-12, displaying an upgrade success prompt through a vehicle screen.
S3-13, the system judges whether the maximum retry number is exceeded, if not, executes S3-8, if the maximum retry number is exceeded, executes S3-21.
S3-14, requesting server terminal interface service, obtaining the rollback execution strategy list, and circularly executing the rollback operation according to the rollback execution strategy list.
And S3-15, recording the rollback log of the upgrading task according to the ID of the upgrading task.
And S3-16, executing the software rollback installation instruction according to the rollback strategy list.
And S3-17, recording the rollback log of the upgrading task according to the ID of the upgrading task.
And S3-18, judging whether the next rollback operation task still exists, if so, executing S3-14, and if not, executing S3-19.
And S3-19, deleting the new software primary packet of the upgrade task and the downloaded differential packet of the upgrade task according to the upgrade task strategy list.
And S3-20, deleting the old software primary packet and deleting the differential packet downloaded by the upgrade task according to the upgrade task strategy list.
And S3-21, updating the status of the upgrade task to be successful according to the ID of the upgrade task.
According to the vehicle remote upgrading method provided by the embodiment of the application, the unified upgrading management of the whole vehicle software is realized in a software definition mode, the direct dependency relationship of all software versions and software of a vehicle can be accurately determined, the problem that configuration errors are caused by unclear dependency relationship when a plurality of pieces of software are upgraded simultaneously is avoided, the plurality of pieces of software can be reliably upgraded remotely at the same time, the reliability and efficiency of remote upgrading are effectively improved, and the use experience of a user is improved.
The vehicle remote upgrade apparatus proposed according to an embodiment of the present application is described next with reference to the drawings.
Fig. 7 is a block schematic diagram of a vehicle remote upgrade apparatus according to an embodiment of the present application.
As shown in fig. 7, the vehicle remote upgrade apparatus 10 includes: a partitioning module 100, a determining module 200, and an upgrading module 300.
The dividing module 100 is configured to determine application software definitions to which one or more control domains of a vehicle to be upgraded belong according to a plurality of control domain software definitions divided based on a vehicle type whole vehicle; the determining module 200 is configured to determine an installation package, a differential package, and/or a rollback package according to the release version identifier of the application software definition; the upgrade module 300 is configured to upgrade software corresponding to the upgrade instruction according to the installation package, the differential package, and/or the rollback package.
Further, upgrade module 300 includes: the device comprises a generating unit, a first configuration unit, a second configuration unit and an upgrading unit. The generating unit is used for generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction; the first configuration unit is used for configuring at least one piece of software to be upgraded according to the whole vehicle software upgrading strategy and configuring the version identification, upgrading operation and installation package of each piece of software to be upgraded; the second configuration unit is used for configuring the upgrading sequence and the backspacing sequence of each software to be upgraded according to the differential packet and the backspacing packet, calculating the occupied storage size of all the software upgrading packets, and generating an upgrading instruction message and a backspacing instruction message to form upgrading data; and the upgrading unit is used for sending upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
Further, the apparatus 10 of the embodiment of the present application further includes: and a visualization module. The visualization module is used for generating directed acyclic graphs according to the upgrading sequence and the backspacing sequence, and converting the directed acyclic graphs into tree structures so as to visualize the upgrading sequence and the backspacing sequence.
Further, the apparatus 10 of the embodiment of the present application further includes: the device comprises a receiving module and a reminding module. The receiving module is used for receiving a current upgrading process and an upgrading result fed back by the vehicle to be upgraded and determining a final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result; and the reminding module is used for detecting whether the vehicle to be upgraded executes the installation operation of the rollback software package according to the return message when the vehicle to be upgraded is abnormal, and if the installation operation is not executed, the upgrading failure is reminded and the fault is reminded.
It should be noted that the foregoing explanation on the embodiment of the vehicle remote upgrade method is also applicable to the vehicle remote upgrade apparatus of this embodiment, and details are not repeated here.
According to the vehicle remote upgrading device provided by the embodiment of the application, the unified upgrading management of the whole vehicle software is realized in a software definition mode, the direct dependency relationship of all software versions and software of a vehicle can be accurately determined, the problem that configuration errors are caused due to unclear dependency relationship when a plurality of pieces of software are upgraded simultaneously is avoided, the plurality of pieces of software can be reliably upgraded remotely at the same time, the reliability and efficiency of remote upgrading are effectively improved, and the use experience of a user is improved.
In addition, the embodiment of the application also provides a server, and the server comprises the vehicle remote upgrading device. The server can realize the unified upgrade management of the whole vehicle software in a software definition mode, can accurately determine all software versions of the vehicle and the direct dependency relationship of the software, avoids the problem that configuration errors are caused by unclear dependency relationship when a plurality of pieces of software are upgraded simultaneously, can reliably upgrade a plurality of pieces of software remotely at the same time, effectively improves the reliability and efficiency of remote upgrade, and improves the use experience of users.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

Claims (10)

1. A vehicle remote upgrading method is characterized by comprising the following steps:
determining application software definitions of one or more control domains of a vehicle to be upgraded according to a plurality of control domain software definitions divided based on the whole vehicle type;
determining an installation package, a differential package and/or a rollback package according to the release version identification defined by the application software; and
and upgrading the software corresponding to the upgrading instruction according to the installation package, the difference package and/or the backspacing package.
2. The method according to claim 1, wherein upgrading software corresponding to an upgrade instruction according to the installation package, the differential package, and/or the rollback package comprises:
generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction;
configuring at least one piece of software to be upgraded according to the whole vehicle software upgrading strategy, and configuring the version identification, upgrading operation and the installation package of each piece of software to be upgraded;
configuring the upgrading sequence and the rollback sequence of each software to be upgraded according to the difference packet and the rollback packet, calculating the storage size occupied by all the software upgrading packets, and generating an upgrading instruction message and a rollback instruction message to form upgrading data;
and sending the upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
3. The method of claim 2, further comprising:
and generating a directed acyclic graph according to the upgrading sequence and the backspacing sequence, and converting the directed acyclic graph into a tree structure so as to visualize the upgrading sequence and the backspacing sequence.
4. The method of claim 1, further comprising:
receiving a current upgrading process and an upgrading result fed back by the vehicle to be upgraded;
and determining the final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result.
5. The method of claim 1, further comprising:
detecting whether the vehicle to be upgraded is abnormal or not, and executing installation operation of the rollback software package according to the rollback message;
and if the installation operation is not executed, performing fault reminding while performing upgrade failure reminding.
6. A vehicle remote upgrade apparatus, comprising:
the vehicle type whole vehicle upgrading system comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for determining application software definitions of one or more control domains of a vehicle to be upgraded according to a plurality of control domain software definitions divided based on a vehicle type whole vehicle;
the determining module is used for determining an installation package, a differential package and/or a rollback package according to the release version identification of the application software definition; and
and the upgrading module is used for upgrading the software corresponding to the upgrading instruction according to the installation package, the differential package and/or the backspacing package.
7. The apparatus of claim 6, wherein the upgrade module comprises:
the generating unit is used for generating a whole vehicle software upgrading strategy of the vehicle to be upgraded according to the upgrading instruction;
the first configuration unit is used for configuring at least one piece of software to be upgraded according to the whole vehicle software upgrading strategy and configuring the version identification, upgrading operation and the installation package of each piece of software to be upgraded;
the second configuration unit is used for configuring the upgrading sequence and the rollback sequence of each software to be upgraded according to the difference packet and the rollback packet, calculating the occupied storage size of all software upgrading packets, and generating an upgrading instruction message and a rollback instruction message to form upgrading data;
and the upgrading unit is used for sending the upgrading data to the vehicle to be upgraded so as to execute upgrading operation based on the upgrading data.
8. The apparatus of claim 7, further comprising:
and the visualization module is used for generating a directed acyclic graph according to the upgrading sequence and the backspacing sequence and converting the directed acyclic graph into a tree structure so as to visualize the upgrading sequence and the backspacing sequence.
9. The apparatus of claim 6, further comprising:
the receiving module is used for receiving the current upgrading process and the upgrading result fed back by the vehicle to be upgraded and determining the final upgrading result of the vehicle to be upgraded according to the current upgrading process and the upgrading result;
and the reminding module is used for detecting whether the vehicle to be upgraded is abnormal or not, executing the installation operation of the rollback software package according to the return message, and if the installation operation is not executed, reminding the upgrade failure and simultaneously reminding the fault.
10. A server, characterized by comprising a vehicle remote upgrade apparatus according to any one of claims 6 to 9.
CN202110472386.6A 2021-04-29 2021-04-29 Vehicle remote upgrading method, device and server Active CN113094073B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110472386.6A CN113094073B (en) 2021-04-29 2021-04-29 Vehicle remote upgrading method, device and server
PCT/CN2022/074733 WO2022227755A1 (en) 2021-04-29 2022-01-28 Remote upgrade method and apparatus for vehicle, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110472386.6A CN113094073B (en) 2021-04-29 2021-04-29 Vehicle remote upgrading method, device and server

Publications (2)

Publication Number Publication Date
CN113094073A true CN113094073A (en) 2021-07-09
CN113094073B CN113094073B (en) 2024-03-12

Family

ID=76681457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110472386.6A Active CN113094073B (en) 2021-04-29 2021-04-29 Vehicle remote upgrading method, device and server

Country Status (2)

Country Link
CN (1) CN113094073B (en)
WO (1) WO2022227755A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189442A (en) * 2021-11-30 2022-03-15 深圳市国电科技通信有限公司 Remote upgrading of edge equipment and electronic equipment
CN114466098A (en) * 2022-01-19 2022-05-10 上海黑眸智能科技有限责任公司 OTA (over the air) upgrading method, system, equipment terminal and APP terminal based on APP interaction
CN114980073A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle OTA state intelligent analysis processing method, system and storage medium
CN114979297A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle software version large-span OTA (over the air) upgrading method
CN115242633A (en) * 2022-06-23 2022-10-25 惠州华阳通用电子有限公司 Vehicle-mounted equipment upgrading method and device based on USB Ethernet
WO2022227755A1 (en) * 2021-04-29 2022-11-03 奇瑞汽车股份有限公司 Remote upgrade method and apparatus for vehicle, and server
CN115396309A (en) * 2022-08-23 2022-11-25 浙江吉智新能源汽车科技有限公司 Software upgrading method, OTA function purchasing method and information interaction system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117675970B (en) * 2023-11-03 2024-10-01 苏州智华汽车电子有限公司 ECU upgrading method, device, equipment and medium based on UDS protocol

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050256614A1 (en) * 2004-05-13 2005-11-17 General Motors Corporation Method and system for remote reflash
WO2013178048A1 (en) * 2012-05-28 2013-12-05 华为终端有限公司 Method and device for generating firmware over-the-air upgrade package
US20160371076A1 (en) * 2015-06-16 2016-12-22 Lear Corporation METHOD FOR UPDATING VEHICLE ECUs USING DIFFERENTIAL UPDATE PACKAGES
CN106325892A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for difference backspacing upgrade
CN107493186A (en) * 2016-12-23 2017-12-19 宝沃汽车(中国)有限公司 The remote update system and its control method of vehicle
CN109189422A (en) * 2018-08-13 2019-01-11 北京新能源汽车股份有限公司 Remote upgrading method and device for electronic control unit
CN111090445A (en) * 2019-12-18 2020-05-01 广东中兴新支点技术有限公司 Vehicle service upgrading method, device and system
US20200174779A1 (en) * 2018-11-30 2020-06-04 Paccar Inc Error-resilient over-the-air software updates for vehicles
CN111399884A (en) * 2020-04-09 2020-07-10 东风小康汽车有限公司重庆分公司 Vehicle component upgrading method and device and electronic equipment
US20200272448A1 (en) * 2017-09-25 2020-08-27 Thyssenkrupp Presta Ag Method for remote online software update in motor vehicles
CN112104736A (en) * 2020-09-17 2020-12-18 广州汽车集团股份有限公司 OTA-based multi-ECU upgrading method
WO2021008184A1 (en) * 2019-07-18 2021-01-21 南京依维柯汽车有限公司 Remote upgrading system and upgrading method for fota firmware on new energy automobile
CN112256315A (en) * 2020-10-16 2021-01-22 中国第一汽车股份有限公司 Upgrading method, device, equipment and storage medium
CN112328294A (en) * 2020-11-12 2021-02-05 杭州创想智联科技有限公司 OTA (over the air) upgrading method and system for vehicle ECU (electronic control Unit)
CN112514354A (en) * 2020-03-19 2021-03-16 华为技术有限公司 Vehicle software upgrading method and related system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11204750B2 (en) * 2018-03-30 2021-12-21 Intel Corporation Systems, methods and apparatus for distributed software/firmware update and software versioning system for automated vehicles
CN113094073B (en) * 2021-04-29 2024-03-12 芜湖雄狮汽车科技有限公司 Vehicle remote upgrading method, device and server
CN113434169B (en) * 2021-06-22 2023-03-28 重庆长安汽车股份有限公司 Method and system for generating air upgrading parallel task group based on dependency relationship

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050256614A1 (en) * 2004-05-13 2005-11-17 General Motors Corporation Method and system for remote reflash
WO2013178048A1 (en) * 2012-05-28 2013-12-05 华为终端有限公司 Method and device for generating firmware over-the-air upgrade package
CN106325892A (en) * 2015-06-15 2017-01-11 中兴通讯股份有限公司 Method and device for difference backspacing upgrade
US20160371076A1 (en) * 2015-06-16 2016-12-22 Lear Corporation METHOD FOR UPDATING VEHICLE ECUs USING DIFFERENTIAL UPDATE PACKAGES
CN107493186A (en) * 2016-12-23 2017-12-19 宝沃汽车(中国)有限公司 The remote update system and its control method of vehicle
US20200272448A1 (en) * 2017-09-25 2020-08-27 Thyssenkrupp Presta Ag Method for remote online software update in motor vehicles
CN109189422A (en) * 2018-08-13 2019-01-11 北京新能源汽车股份有限公司 Remote upgrading method and device for electronic control unit
US20200174779A1 (en) * 2018-11-30 2020-06-04 Paccar Inc Error-resilient over-the-air software updates for vehicles
WO2021008184A1 (en) * 2019-07-18 2021-01-21 南京依维柯汽车有限公司 Remote upgrading system and upgrading method for fota firmware on new energy automobile
CN111090445A (en) * 2019-12-18 2020-05-01 广东中兴新支点技术有限公司 Vehicle service upgrading method, device and system
CN112514354A (en) * 2020-03-19 2021-03-16 华为技术有限公司 Vehicle software upgrading method and related system
CN111399884A (en) * 2020-04-09 2020-07-10 东风小康汽车有限公司重庆分公司 Vehicle component upgrading method and device and electronic equipment
CN112104736A (en) * 2020-09-17 2020-12-18 广州汽车集团股份有限公司 OTA-based multi-ECU upgrading method
CN112256315A (en) * 2020-10-16 2021-01-22 中国第一汽车股份有限公司 Upgrading method, device, equipment and storage medium
CN112328294A (en) * 2020-11-12 2021-02-05 杭州创想智联科技有限公司 OTA (over the air) upgrading method and system for vehicle ECU (electronic control Unit)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022227755A1 (en) * 2021-04-29 2022-11-03 奇瑞汽车股份有限公司 Remote upgrade method and apparatus for vehicle, and server
CN114189442A (en) * 2021-11-30 2022-03-15 深圳市国电科技通信有限公司 Remote upgrading of edge equipment and electronic equipment
CN114466098A (en) * 2022-01-19 2022-05-10 上海黑眸智能科技有限责任公司 OTA (over the air) upgrading method, system, equipment terminal and APP terminal based on APP interaction
CN114466098B (en) * 2022-01-19 2023-12-26 上海黑眸智能科技有限责任公司 OTA upgrading method, system, equipment end and APP end based on APP interaction
CN114980073A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle OTA state intelligent analysis processing method, system and storage medium
CN114979297A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle software version large-span OTA (over the air) upgrading method
CN114979297B (en) * 2022-05-26 2023-06-27 重庆长安汽车股份有限公司 Vehicle software version large-span OTA upgrading method
CN115242633A (en) * 2022-06-23 2022-10-25 惠州华阳通用电子有限公司 Vehicle-mounted equipment upgrading method and device based on USB Ethernet
CN115242633B (en) * 2022-06-23 2024-04-09 惠州华阳通用电子有限公司 Vehicle-mounted equipment upgrading method and device based on USB Ethernet
CN115396309A (en) * 2022-08-23 2022-11-25 浙江吉智新能源汽车科技有限公司 Software upgrading method, OTA function purchasing method and information interaction system

Also Published As

Publication number Publication date
CN113094073B (en) 2024-03-12
WO2022227755A1 (en) 2022-11-03

Similar Documents

Publication Publication Date Title
CN113094073B (en) Vehicle remote upgrading method, device and server
CN106293811A (en) A kind of packing and issuing method and device automatically
US7209860B2 (en) Distributed expert diagnostic service and system
CN114880220B (en) Development system and method of vehicle automatic driving software
US20240220401A1 (en) Continuous integration automated test systems and methods, electronic devices, and storage media
CN111752850B (en) Method and related equipment for testing block chain system
CN112559348B (en) Test analysis method, system, equipment and medium based on jacoco
CN113377403A (en) Vehicle remote software upgrading method and device
CN110908955B (en) Management system of IO device description file
CN114915643B (en) Configuration method, device, equipment and medium of railway signal centralized monitoring system
JP4702194B2 (en) Program development support apparatus, program development support method, and program development support program
CN109101408B (en) Method and device for detecting service availability in joint debugging environment
CN114285840A (en) Vehicle data acquisition method, intelligent terminal and storage medium
CN109375946A (en) A kind of method and system of the component packet of management node package manager
CN115543387A (en) Upgrading method and device of integrated SOC software, vehicle and storage medium
CN115145630A (en) Cabin software version management method, device, equipment and medium
CN115499232A (en) Real-name authentication method, device, server and storage medium
CN114356769A (en) Software learning method, device, equipment and storage medium
Ortega‐Cabezas et al. Application of rule‐based expert systems in hardware‐in‐the‐loop simulation case study: Software and performance validation of an engine electronic control unit
JP2009032108A (en) Operating performance logging control method and apparatus, and monitoring system
CN111813662A (en) User behavior driven sustainable integration test method, device and equipment
CN116521470A (en) Container monitoring configuration management method and device
CN116483422A (en) Management method and device of vehicle-mounted application software, electronic equipment and storage medium
CN115470113A (en) Test method and device of unit to be tested, electronic equipment and storage medium
JP2921492B2 (en) Software product file correctness check method

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