CN114327543A - Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium - Google Patents

Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium Download PDF

Info

Publication number
CN114327543A
CN114327543A CN202111542049.6A CN202111542049A CN114327543A CN 114327543 A CN114327543 A CN 114327543A CN 202111542049 A CN202111542049 A CN 202111542049A CN 114327543 A CN114327543 A CN 114327543A
Authority
CN
China
Prior art keywords
vehicle
flashing
service
mounted controller
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.)
Pending
Application number
CN202111542049.6A
Other languages
Chinese (zh)
Inventor
尤庆伸
沙文瀚
刘琳
陈信强
闫伟
王昌云
胡文超
王智鑫
夏仙阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery New Energy Automobile Co Ltd
Original Assignee
Chery New Energy Automobile 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 New Energy Automobile Co Ltd filed Critical Chery New Energy Automobile Co Ltd
Priority to CN202111542049.6A priority Critical patent/CN114327543A/en
Publication of CN114327543A publication Critical patent/CN114327543A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application relates to the technical field of automobiles, in particular to an online upgrading method and device for an on-board controller, a vehicle and a storage medium, wherein the method comprises the following steps: generating an upgrading request according to the current information of the vehicle-mounted controller to be upgraded; sending an upgrade request to an upgrade server, and receiving a diagnosis flash configuration file and a software upgrade package matched by the upgrade request of the upgrade server; and analyzing the diagnosis flashing configuration file, generating flashing configuration information of the vehicle-mounted controller to be upgraded, generating a flashing instruction according to the flashing configuration information, and flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction. Therefore, the problems that the upgrading efficiency is low, the user experience is poor and the like due to the fact that the mode of upgrading the software of the vehicle-mounted controller offline in the related technology is adopted are solved.

Description

Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium
Technical Field
The present application relates to the field of automotive technologies, and in particular, to an online upgrade method and apparatus for an onboard controller, a vehicle, and a storage medium.
Background
On the one hand, along with the rapid development of the automobile industry and the continuous increasing of automobile holding capacity, people have larger and larger requirements on automobiles, the automobile yield is greatly improved, on the other hand, along with the increasing intelligentization of automobiles, the application degree of electronic modules and software technologies on the whole automobiles is also higher and higher, the electronic software problems of the automobiles can be more and more outbreaked in the future, and the possibility of needing to be repaired is also larger. However, in the related art, the software updating and upgrading process of the vehicle-mounted controller still adopts an offline upgrading mode through a 4S store, so that the upgrading efficiency is low and the customer experience is poor.
Disclosure of Invention
The application provides an online upgrading method and device of a vehicle-mounted controller, a vehicle and a storage medium, and aims to solve the problems that in the related art, the upgrading efficiency is low, the user experience is poor and the like due to the fact that the mode of upgrading the software of the vehicle-mounted controller offline is adopted.
An embodiment of a first aspect of the present application provides an online upgrade method for a vehicle-mounted controller, including the following steps: generating an upgrading request according to the current information of the vehicle-mounted controller to be upgraded; sending the upgrade request to an upgrade server, and receiving a diagnosis flash configuration file and a software upgrade package matched by the upgrade request by the upgrade server; analyzing the diagnosis flashing configuration file, generating flashing configuration information of the vehicle-mounted controller to be upgraded, generating a flashing instruction according to the flashing configuration information, and flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction.
Further, after generating the flash configuration information of the to-be-upgraded vehicle-mounted controller, the method further includes: extracting a positioning identifier from the diagnosis flash configuration file; and confirming the target flashing position of the software upgrading package according to the positioning identification.
Further, the generating a flash instruction according to the flash configuration information includes: acquiring configuration service of the vehicle-mounted controller to be upgraded; and generating the flash instruction according to the configuration service and the flash configuration information.
Optionally, the configuration service may include one or more of a Diagnostic mode control service, a secure access service, a routine control service, a control DTC (fault Code) setting service, a communication control service, a data download service, and a data transfer service.
Further, before the software upgrade package is flashed into the to-be-upgraded vehicle-mounted controller by using the flashing instruction, the method further includes: judging whether the current state of the vehicle meets the flashing condition or not; and if the current state meets the flashing condition, flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction.
An embodiment of a second aspect of the present application provides an online upgrade apparatus for a vehicle-mounted controller, including: the generation module is used for generating an upgrading request according to the current information of the vehicle-mounted controller to be upgraded; the receiving module is used for sending the upgrading request to an upgrading server and receiving the diagnosis brushing configuration file and the software upgrading package matched with the upgrading request by the upgrading server; and the upgrading module is used for analyzing the diagnosis flashing configuration file, generating the flashing configuration information of the vehicle-mounted controller to be upgraded, generating a flashing instruction according to the flashing configuration information, and flashing the software upgrading package into the vehicle-mounted controller to be upgraded by using the flashing instruction.
Further, still include: the positioning module is used for extracting a positioning identifier from the diagnosis flashing configuration file after the flashing configuration information of the vehicle-mounted controller to be upgraded is generated, and confirming a target flashing position of the software upgrading package according to the positioning identifier; and the judging module is used for judging whether the current state of the vehicle meets the flashing condition or not before the software upgrading package is flashed to the vehicle-mounted controller to be upgraded by using the flashing instruction, and if the current state meets the flashing condition, the software upgrading package is flashed to the vehicle-mounted controller to be upgraded by using the flashing instruction.
Further, the upgrade module is further configured to acquire a configuration service of the to-be-upgraded vehicle-mounted controller, and generate the flash instruction according to the configuration service and the flash configuration information, where the configuration service includes one or more of a diagnosis mode control service, a security access service, a routine control service, a control DTC setting service, a communication control service, a data download service, and a data transmission service.
An embodiment of a third aspect of the present application provides a vehicle, comprising: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the online upgrading method of the vehicle-mounted controller.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the online upgrading method for an onboard controller according to the foregoing embodiment.
Therefore, the application has at least the following beneficial effects:
the software flashing of the vehicle-mounted controller is realized through online configuration, the flashing instruction suitable for different vehicle-mounted control flashing processes is generated according to the diagnosis flashing configuration file, the problem that the vehicle-mounted controller refreshing processes are not uniform in OTA (Over-the-Air Technology ) flashing is solved, the upgrading efficiency of vehicle-mounted controller software can be improved, the software development cycle of an automobile control system is shortened, and the user experience is improved. Therefore, the technical problems that the upgrading efficiency is low, the user experience is poor and the like due to the fact that the mode of upgrading the software of the vehicle-mounted controller offline in the related technology is adopted 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 flow chart of an online upgrading method for an on-board controller according to an embodiment of the present application;
FIG. 2 is a block diagram of an online upgrade system for an onboard controller according to an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a method for online upgrading of an onboard controller according to an embodiment of the present application;
FIG. 4 is an exemplary diagram of an online upgrade apparatus for an onboard controller provided according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a vehicle 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.
In the related art, when a host factory needs to update software of an on-board controller in research, development and after-sales markets, generally, an on-board software uses an upper computer for flashing, the flashing process is not developed completely according to the flashing specification specified by the host factory, the flashing process is different, and the developing and flashing processes of an OTA system are inconsistent, so that a large amount of time and human resources are consumed for flashing the on-board software, and therefore a more effective scheme needs to be provided. Therefore, the embodiment of the application provides a method for realizing the vehicle-mounted software flashing through online configuration, so that the upgrading efficiency of the vehicle-mounted controller software can be improved, and the development period of the vehicle control system software can be shortened.
An online upgrade method, an apparatus, a vehicle, and a storage medium of an in-vehicle controller according to an embodiment of the present application are described below with reference to the drawings. In the method, software of the vehicle-mounted controller is refreshed through online configuration, and a refresh instruction suitable for different vehicle-mounted control refresh flows is generated according to a diagnosis refresh configuration file, so that the problem of non-uniform refresh flows of the vehicle-mounted controller in OTA refresh is solved, the software upgrading efficiency of the vehicle-mounted controller can be improved, the software development period of a vehicle control system can be shortened, and the user experience can be improved. Therefore, the technical problems that the upgrading efficiency is low, the user experience is poor and the like due to the fact that the mode of upgrading the software of the vehicle-mounted controller offline in the related technology is adopted are solved.
Specifically, fig. 1 is a schematic flow chart of an online upgrading method for a vehicle-mounted controller according to an embodiment of the present application.
As shown in fig. 1, the online upgrading method of the vehicle-mounted controller includes the following steps:
in step S101, an upgrade request is generated according to current information of the vehicle-mounted controller to be upgraded.
The current information may include software version information, identity information, and the like of the vehicle-mounted controller to be upgraded, which is not specifically limited; the vehicle-mounted Controller to be upgraded may be a vehicle-mounted CAN (Controller Area Network) Controller, and the like, which is not particularly limited.
It will be appreciated that the vehicle may automatically generate an upgrade request when it is detected that there is a software upgrade version of the on-board controller to be upgraded, or the upgrade request may be generated at the option of the user.
In step S102, an upgrade request is sent to the upgrade server, and the diagnostic flash configuration file and the software upgrade package matched by the upgrade request are received by the upgrade server.
The server can be an OTA management platform, wherein the OTA management platform stores diagnosis flash configuration files, Vehicle-mounted controller software upgrade packages and a target Vehicle flash data table uploaded by research and development personnel, the target Vehicle flash data table comprises information such as but not limited to target Vehicle type codes, target Vehicle type configurations and target Vehicle VIN (Vehicle Identification Number) codes, and the OTA management platform positions a target Vehicle through the VIN codes and communicates with the target Vehicle through 4G/5G/WIFI.
It should be noted that, in the embodiment of the present application, a diagnostic flash configuration file may be generated by using a flash configuration script tool, where the flash configuration script tool includes a diagnostic service instruction about flash of an on-board controller in ISO14229, and integrates a user interface capable of configuring parameters, where the configuration interface includes, but is not limited to, a diagnostic flash service, an identification ID (Identity document) of an on-board controller to be flashed, a security access level, a security access seed/key length, a flash memory start address of the on-board controller, a flash memory length of the on-board controller, a flash data check format, a flash data check algorithm, and other configuration options; the diagnosis flashing service is compiled according to the flashing diagnosis service standardization in ISO14229, the diagnosis ID of the vehicle-mounted controller to be flashed is used for positioning the specific vehicle-mounted controller to be flashed, and the relevant information of the vehicle-mounted controller to be flashed can be selected or filled in through an interface to generate a diagnosis flashing configuration file.
It can be understood that when the vehicle-mounted network is smooth and the OTA management platform has a new upgrade request, the embodiment of the application can download the diagnosis flash configuration file and the vehicle-mounted controller upgrade software package from the OTA management platform through the 4G/5G/WIFI network, store the diagnosis flash configuration file and the vehicle-mounted controller upgrade software package in a specific memory address after the download is completed, and perform integrity check on the software upgrade package.
In step S103, the diagnostic flash configuration file is analyzed to generate flash configuration information of the vehicle-mounted controller to be upgraded, a flash instruction is generated according to the flash configuration information, and the software upgrade package is flash written into the vehicle-mounted controller to be upgraded by using the flash instruction.
It can be understood that the diagnosis flash configuration file can be analyzed to generate specific flash instructions applicable to different vehicle-mounted controllers, the problem that the flash flows of all the vehicle-mounted controllers are not uniform in OTA upgrading is solved in an online configuration mode, different flash flows do not need to be developed for different controllers in the OTA flash development process, upgrading efficiency of vehicle-mounted controller software can be improved, software development period of an automobile control system is shortened, and development cost is saved.
In this embodiment, after generating the flash configuration information of the vehicle-mounted controller to be upgraded, the method further includes: extracting a positioning identifier from the diagnosis flash configuration file; and confirming the target flashing position of the software upgrading package according to the positioning identifier.
It can be understood that, in the embodiment of the present application, the diagnostic flash configuration file may be analyzed by the diagnostic flash configuration analysis module, and the specific flash vehicle-mounted controller is located by the diagnostic ID of the vehicle-mounted controller to be flashed in the diagnostic flash configuration file.
In this embodiment, generating the flash instruction according to the flash configuration information includes: acquiring configuration service of a vehicle-mounted controller to be upgraded; and generating a flash instruction according to the configuration service and the flash configuration information.
It CAN be understood that the embodiment of the application CAN generate the specific flash instruction of the on-board CAN controller based on the flash configuration information in the diagnostic flash configuration file and the UDS diagnostic standard service module. The UDS diagnostic standard service module comprises services such as but not limited to a diagnostic mode control service, a security access service, a routine control service, a control DTC (diagnostic trouble code) setting service, a communication control service, a data downloading service, a data transmission service and the like, and service codes are all compiled according to an ISO14229 standard.
Specifically, a specific safety access service instruction in the UDS diagnostic standard service module is generated through a safety access level, a safety access seed/key length and a safety algorithm; and only when the safety verification is passed, the diagnosis upper computer has the authority to perform software flashing on the corresponding vehicle-mounted controller. The safety verification mainly comprises the steps that the diagnosis upper computer sends a corresponding updating key to the corresponding vehicle-mounted controller, the corresponding vehicle-mounted controller identifies the received key and compares the received key with the key calculated by the corresponding vehicle-mounted controller, and when the keys are consistent, the safety verification is successful.
The memory starting address is refreshed through the vehicle-mounted controller, and the memory refreshing length of the vehicle-mounted controller generates instructions about memory address erasing, verification and the like in routine control service in the UDS diagnostic standard service module; and generating instructions such as data integrity check after software in routine control service in the UDS diagnostic standard service module is upgraded by using a flash data check format and a flash data check algorithm.
It should be noted that, the above configuration service is that there is a difference part in the software flashing process of the vehicle-mounted controller, different requirements of the vehicle-mounted controller can be configured to be flashed, and other services in the flashing process of the host factory are all standard service formats in ISO 14229.
In this embodiment, before the software upgrade package is flashed into the to-be-upgraded vehicle-mounted controller by using the flash instruction, the method further includes: judging whether the current state of the vehicle meets the flashing condition or not; and if the current state meets the flashing condition, flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction.
It can be understood that when the whole vehicle is judged to meet the software flashing condition, the software flashing instruction is executed; and performing software flashing on the vehicle-mounted controller according to the generated vehicle-mounted controller flashing instruction, wherein in the flashing process, the central gateway can filter useless messages to improve the success rate of flashing, and simultaneously record the flashing messages and calculate the flashing progress.
Further, after the software upgrading is completed, if the software upgrading fails, the vehicle-mounted controller needs to roll back the software of the vehicle-mounted controller to the previous software version so as to ensure that the vehicle can be normally used; and if the software is upgraded successfully, controlling the whole vehicle to be powered off and entering a dormant state. After software upgrading is completed, the software version number of the current vehicle-mounted controller and the message recorded in the flashing process need to be uploaded to an OTA management platform; the version number of the current vehicle-mounted controller software is used for counting the upgrading activity result, and if the version number is consistent with the version number of the flash software, the upgrading is successful; if the two are not consistent, the failure is determined; the OTA management platform generates an upgrade activity analysis report based on the statistical result; if the software flashing is unsuccessful, the specific failure reason can be analyzed through the message information recorded in the flashing process, so that the next upgrading success rate is improved.
Taking the application scenario of fig. 2 as an example, the system includes a flash configuration script tool, an OTA management platform, a remote control module, a central gateway, and a vehicle-mounted CAN controller. The flash configuration script tool is a tool for research personnel to select a vehicle-mounted CAN controller refreshing service through an interface, form a vehicle-mounted CAN controller refreshing flow to meet different vehicle-mounted CAN controller flash requirements, generate a diagnosis flash configuration file and send the diagnosis flash configuration file to an OTA management platform for management; the OTA management platform is used for storing a diagnosis flash configuration file generated by the flash configuration script tool, a vehicle-mounted CAN controller software upgrade package and a target vehicle flash data table; the remote control module is used for downloading a diagnosis flash configuration file and a vehicle-mounted CAN controller software upgrading package from an OTA management platform through 4G/5G/WIFI and carrying out integrity check on the software upgrading package, the remote control module comprises a diagnosis flash configuration analysis module and a UDS diagnosis standard service module, and the UDS diagnosis standard service module is packaged according to an ISO14229 standard service module; the central gateway has the functions of a safety firewall and network message filtering, is connected with the remote control module and the vehicle-mounted CAN controller through CAN communication, forwards the flash instruction of the remote control module to the vehicle-mounted CAN controller, realizes the software upgrading of the vehicle-mounted CAN controller, and filters useless messages in the OTA upgrading process to improve the flash success rate; the vehicle-mounted CAN controller is connected with the central gateway through CAN communication, receives the flash command forwarded by the central gateway, enters a flash mode and completes self software upgrading.
According to the application scenario shown in fig. 2, a method for online upgrading a vehicle-mounted controller will be explained, wherein the method of the embodiment of the present application may be applied to a remote control module, as shown in fig. 3, and includes the following steps:
s0, generating a diagnosis flash configuration file through a flash configuration script tool;
s1, uploading the diagnosis flash configuration file, the target vehicle flash data table and the vehicle-mounted CAN controller software upgrade package to an OTA management platform;
s2, the remote control module downloads the diagnosis flash configuration file and the vehicle-mounted CAN controller upgrading software package from the OTA management platform through 4G/5G/WIFI, and integrity verification is carried out on the upgrading software package;
s3, the remote control module analyzes the diagnosis flash configuration file and generates a vehicle-mounted CAN controller flash instruction by combining with the UDS standard service module;
s4, the remote control module judges whether the vehicle state meets the flashing condition, if so, the remote control module executes the flashing instruction and records the flashing message at the same time;
s5, after the upgrade is completed, the remote control module controls the whole vehicle to power off and sleep;
and S6, the OTA management platform counts and analyzes the upgrade result to generate an analysis report.
In summary, in the embodiment of the application, a flash configuration script tool CAN be used for performing modular design according to ISO14229 on the flash part service of the CAN controller, and a user selectable interface capable of configuring parameters is integrated, so that research personnel CAN realize the configuration of the flash instruction for upgrading different vehicle-mounted CAN controller software through the flash configuration script tool, and upgrade the vehicle-mounted CAN controller software through an OTA management platform; the problem of labor waste caused by rewriting OTA flash flows of different vehicle-mounted CAN controllers due to inconsistent flash flows CAN be solved through software flash instruction configuration.
According to the online upgrading method for the vehicle-mounted controller, software flashing of the vehicle-mounted controller is achieved through online configuration, the flashing instructions suitable for different vehicle-mounted control flashing flows are generated according to the diagnosis flashing configuration file, the problem that the vehicle-mounted controller refreshing flows are not uniform in OTA flashing is solved, the upgrading efficiency of vehicle-mounted controller software can be improved, the software development period of an automobile control system is shortened, and user experience is improved.
Next, an online upgrade apparatus of an onboard controller according to an embodiment of the present application is described with reference to the drawings.
Fig. 4 is a block schematic diagram of an online upgrading device of an on-board controller according to an embodiment of the present application.
As shown in fig. 4, the online upgrade apparatus 10 for an onboard controller includes: a generation module 100, a reception module 200, and an upgrade module 300.
The generation module 100 is configured to generate an upgrade request according to current information of the vehicle-mounted controller to be upgraded; the receiving module 200 is configured to send an upgrade request to the upgrade server, and receive a diagnostic flash configuration file and a software upgrade package that are matched by the upgrade server according to the upgrade request; the upgrade module 300 is configured to parse the diagnostic flash configuration file, generate flash configuration information of the vehicle-mounted controller to be upgraded, generate a flash instruction according to the flash configuration information, and flash the software upgrade package into the vehicle-mounted controller to be upgraded by using the flash instruction.
In this embodiment, the apparatus 10 of the embodiment of the present application further includes: the device comprises a positioning module and a judging module. The system comprises a positioning module, a diagnosis and updating module and a software updating module, wherein the positioning module is used for extracting a positioning identifier from a diagnosis and updating configuration file after updating configuration information of an on-board controller to be updated is generated, and confirming a target updating position of a software updating package according to the positioning identifier; and the judging module is used for judging whether the current state of the vehicle meets the flashing condition or not before the software upgrading package is flashed into the vehicle-mounted controller to be upgraded by using the flashing instruction, and if the current state meets the flashing condition, the software upgrading package is flashed into the vehicle-mounted controller to be upgraded by using the flashing instruction.
In this embodiment, the upgrade module 300 is further configured to obtain a configuration service of the vehicle-mounted controller to be upgraded, and generate a flash instruction according to the configuration service and the flash configuration information, where the configuration service includes one or more of a diagnostic mode control service, a security access service, a routine control service, a control DTC setting service, a communication control service, a data download service, and a data transmission service.
It should be noted that the foregoing explanation on the embodiment of the online upgrade method for a vehicle-mounted controller is also applicable to the online upgrade apparatus for a vehicle-mounted controller in this embodiment, and details are not repeated here.
According to the online upgrading device for the vehicle-mounted controller, software of the vehicle-mounted controller is refreshed through online configuration, the refreshing instructions suitable for different vehicle-mounted control refreshing flows are generated according to the diagnosis refreshing configuration file, the problem that the refreshing flows of the vehicle-mounted controller are not uniform in OTA refreshing is solved, the upgrading efficiency of the vehicle-mounted controller software can be improved, the software development period of an automobile control system is shortened, and the user experience is improved.
Fig. 5 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle may include:
a memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502.
The processor 502 executes the program to implement the online upgrade method of the vehicle-mounted controller provided in the above-described embodiment.
Further, the vehicle further includes:
a communication interface 503 for communication between the memory 501 and the processor 502.
A memory 501 for storing computer programs that can be run on the processor 502.
The Memory 501 may include a high-speed RAM (Random Access Memory) Memory, and may also include a nonvolatile Memory, such as at least one disk Memory.
If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 may be connected to each other through a bus and perform communication with each other. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a chip, the memory 501, the processor 502, and the communication interface 503 may complete communication with each other through an internal interface.
The processor 502 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the online upgrade method for the vehicle-mounted controller as above.
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, a field programmable gate array, 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. An online upgrading method of a vehicle-mounted controller is characterized by comprising the following steps:
generating an upgrading request according to the current information of the vehicle-mounted controller to be upgraded;
sending the upgrade request to an upgrade server, and receiving a diagnosis flash configuration file and a software upgrade package matched by the upgrade request by the upgrade server; and
analyzing the diagnosis flashing configuration file, generating flashing configuration information of the vehicle-mounted controller to be upgraded, generating a flashing instruction according to the flashing configuration information, and flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction.
2. The method according to claim 1, after generating the flash configuration information of the vehicle-mounted controller to be upgraded, further comprising:
extracting a positioning identifier from the diagnosis flash configuration file;
and confirming the target flashing position of the software upgrading package according to the positioning identification.
3. The method of claim 1, wherein generating the flash instruction according to the flash configuration information comprises:
acquiring configuration service of the vehicle-mounted controller to be upgraded;
and generating the flash instruction according to the configuration service and the flash configuration information.
4. The method of claim 3, wherein the configuration service comprises one or more of a diagnostic mode control service, a secure access service, a routine control service, a control DTC setting service, a communication control service, a data download service, and a data transfer service.
5. The method according to any one of claims 1 to 4, wherein before the flashing the software upgrade package into the to-be-upgraded onboard controller by using the flashing instruction, the method further comprises:
judging whether the current state of the vehicle meets the flashing condition or not;
and if the current state meets the flashing condition, flashing the software upgrading package to the vehicle-mounted controller to be upgraded by using the flashing instruction.
6. An on-line upgrading device for an on-board controller, comprising:
the generation module is used for generating an upgrading request according to the current information of the vehicle-mounted controller to be upgraded;
the receiving module is used for sending the upgrading request to an upgrading server and receiving the diagnosis brushing configuration file and the software upgrading package matched with the upgrading request by the upgrading server; and
and the upgrading module is used for analyzing the diagnosis flashing configuration file, generating the flashing configuration information of the vehicle-mounted controller to be upgraded, generating a flashing instruction according to the flashing configuration information, and flashing the software upgrading package into the vehicle-mounted controller to be upgraded by using the flashing instruction.
7. The apparatus of claim 6, further comprising:
the positioning module is used for extracting a positioning identifier from the diagnosis flashing configuration file after the flashing configuration information of the vehicle-mounted controller to be upgraded is generated, and confirming a target flashing position of the software upgrading package according to the positioning identifier;
and the judging module is used for judging whether the current state of the vehicle meets the flashing condition or not before the software upgrading package is flashed to the vehicle-mounted controller to be upgraded by using the flashing instruction, and if the current state meets the flashing condition, the software upgrading package is flashed to the vehicle-mounted controller to be upgraded by using the flashing instruction.
8. The apparatus of claim 6, wherein the upgrade module is further configured to obtain a configuration service of the to-be-upgraded vehicle-mounted controller, and generate the flash instruction according to the configuration service and the flash configuration information, wherein the configuration service includes one or more of a diagnostic mode control service, a secure access service, a routine control service, a control DTC setting service, a communication control service, a data download service, and a data transmission service.
9. A vehicle, characterized by comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method for online upgrade of an on-board controller according to any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing the method for online upgrade of an on-board controller according to any one of claims 1 to 5.
CN202111542049.6A 2021-12-16 2021-12-16 Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium Pending CN114327543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111542049.6A CN114327543A (en) 2021-12-16 2021-12-16 Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111542049.6A CN114327543A (en) 2021-12-16 2021-12-16 Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN114327543A true CN114327543A (en) 2022-04-12

Family

ID=81051991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111542049.6A Pending CN114327543A (en) 2021-12-16 2021-12-16 Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN114327543A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115048154A (en) * 2022-07-06 2022-09-13 北斗星通智联科技有限责任公司 Vehicle-mounted configuration information management method, device and system and storage medium
CN115225492A (en) * 2022-07-06 2022-10-21 中国第一汽车股份有限公司 Remote upgrading method and system
CN115277413A (en) * 2022-07-07 2022-11-01 重庆长安汽车股份有限公司 Vehicle controller upgrading method and device, vehicle and storage medium
CN115277671A (en) * 2022-06-27 2022-11-01 重庆长安汽车股份有限公司 OTA (over the air) upgrading method and device for vehicle, vehicle and storage medium
CN115857996A (en) * 2023-03-02 2023-03-28 中国重汽集团济南动力有限公司 System and method for remote program flashing, calibration and diagnosis for vehicle
CN116560698A (en) * 2023-07-06 2023-08-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle
CN117092958A (en) * 2023-10-17 2023-11-21 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277671A (en) * 2022-06-27 2022-11-01 重庆长安汽车股份有限公司 OTA (over the air) upgrading method and device for vehicle, vehicle and storage medium
CN115048154A (en) * 2022-07-06 2022-09-13 北斗星通智联科技有限责任公司 Vehicle-mounted configuration information management method, device and system and storage medium
CN115225492A (en) * 2022-07-06 2022-10-21 中国第一汽车股份有限公司 Remote upgrading method and system
CN115048154B (en) * 2022-07-06 2024-05-03 北斗星通智联科技有限责任公司 Vehicle-mounted configuration information management method, device, system and storage medium
CN115277413A (en) * 2022-07-07 2022-11-01 重庆长安汽车股份有限公司 Vehicle controller upgrading method and device, vehicle and storage medium
CN115277413B (en) * 2022-07-07 2023-05-09 重庆长安汽车股份有限公司 Upgrading method and device of vehicle controller, vehicle and storage medium
CN115857996A (en) * 2023-03-02 2023-03-28 中国重汽集团济南动力有限公司 System and method for remote program flashing, calibration and diagnosis for vehicle
CN116560698A (en) * 2023-07-06 2023-08-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle
CN116560698B (en) * 2023-07-06 2024-03-08 浙江春风动力股份有限公司 Online automatic brushing method for flexible intelligent production line of motorcycle
CN117092958A (en) * 2023-10-17 2023-11-21 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware
CN117092958B (en) * 2023-10-17 2024-01-12 浙江正泰中自控制工程有限公司 Multi-platform controller synchronization method of software defined hardware

Similar Documents

Publication Publication Date Title
CN114327543A (en) Online upgrading method and device for vehicle-mounted controller, vehicle and storage medium
CN111343064A (en) System and method for upgrading software of automobile control system
CN111459518B (en) Vehicle ECU upgrading method and system
US7493198B2 (en) Method and device for a vehicle-related telematics service
CN111061499A (en) ECU updating method and system based on file system
US20220156057A1 (en) In-vehicle update device, update processing program, and program update method
CN111698307A (en) Vehicle remote upgrading method, device, equipment and storage medium
CN110474961A (en) Pure electricity passenger car is based on CAN bus and realizes multi-channel long OTA upgrade method
CN111488165B (en) Method and system for upgrading vehicle ECU through script
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN109871225B (en) Electronic control unit ECU upgrading method and ECU
CN113050601A (en) Vehicle offline diagnosis method and device, diagnosis equipment and storage medium
CN108282365A (en) A kind of vehicle configuration method, device, terminal, car-mounted terminal and vehicle
CN112748713A (en) Vehicle-mounted ECU bus refreshing test system and method
CN112698857A (en) Data flashing method and device
CN116382735A (en) Progress display and exception handling method for domain controller upgrading, system and equipment thereof
CN111258820B (en) OBU (on-board unit) equipment activation method, terminal equipment and server
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN102158462B (en) A kind of method that 2G or 3G module remote diagnosis is repaired
CN115934130A (en) ECU (electronic control Unit) upgrading method, device, equipment and medium
CN116088903A (en) Vehicle software upgrading method and device, vehicle, equipment and storage medium
US11736577B2 (en) Server, update management method, non-transitory storage medium, software update device, and system including server and software update device
US20140136016A1 (en) Control Unit for a Motor Vehicle, Programming Unit, and Programming System
CN113791800A (en) Automatic parking control module remote upgrading method and system and automobile
CN115220989A (en) Payment software monitoring method, device and system

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