CN117891479A - Vehicle application updating method and device, storage medium and electronic device - Google Patents

Vehicle application updating method and device, storage medium and electronic device Download PDF

Info

Publication number
CN117891479A
CN117891479A CN202311802735.1A CN202311802735A CN117891479A CN 117891479 A CN117891479 A CN 117891479A CN 202311802735 A CN202311802735 A CN 202311802735A CN 117891479 A CN117891479 A CN 117891479A
Authority
CN
China
Prior art keywords
content
target
application content
updating
determining
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
CN202311802735.1A
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202311802735.1A priority Critical patent/CN117891479A/en
Publication of CN117891479A publication Critical patent/CN117891479A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a vehicle application updating method and device, a storage medium and an electronic device. Wherein the method comprises the following steps: acquiring downloading identification information, wherein the downloading identification information is used for determining a target downloading mode, and the target downloading mode is used for downloading application updating content for a vehicle controller system; determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from main application content and backup application content; and updating the target update object by using the boot loading content and the application update content. The invention solves the technical problem of low updating efficiency caused by updating vehicle application based on a non-AB chip in the related technology.

Description

Vehicle application updating method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of vehicle control, and in particular, to a vehicle application updating method, a device, a storage medium, and an electronic device.
Background
With The development of intelligent automobiles, remote upgrade (OTA) has become one of The necessary functions of intelligent automobiles. However, in the OTA upgrading process, the failure of the controller upgrade can cause the vehicle to fail to operate normally, so that it is required to ensure that the last version of software can be refreshed, and the controller is prevented from changing bricks.
Currently, the main scheme is to reserve a software package of a previous version in a vehicle control system, and when the update of the new version fails, the software package of the previous version can be rolled back. However, rollback errors are prone to occur using the above approach, resulting in application update failures. Therefore, it is necessary to provide the AB system in the controller. Most chips do not support AB system functionality. And, if a main chip with an AB system function is selected, the cost of the controller increases.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a vehicle application updating method, a device, a storage medium and an electronic device, which at least solve the technical problem of low updating efficiency caused by vehicle application updating based on a non-AB chip in the related technology.
According to one embodiment of the present invention, there is provided a vehicle application updating method, characterized in that the method is applied to a vehicle controller system including: a first memory for storing boot-loaded content and primary application content, and a second memory for storing backup application content, comprising: acquiring downloading identification information, wherein the downloading identification information is used for determining a target downloading mode, and the target downloading mode is used for downloading application updating content for a vehicle controller system; determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from main application content and backup application content; and updating the target update object by using the boot loading content and the application update content.
Optionally, determining the target update object in the vehicle control system based on the download identification information includes: determining the main application content and the backup application content as target update objects in response to determining that the target download mode is the first download mode based on the download identification information; and determining the main application content as a target updating object in response to determining that the target downloading mode is the second downloading mode based on the downloading identification information.
Optionally, the vehicle application updating method further includes: responding to the completion of updating the target updating object, and judging the validity of the main application content to obtain a first judging result; and determining target execution content of the vehicle control system based on the first judgment result.
Optionally, determining the target execution content of the vehicle control system based on the first determination result includes: determining the main application content as target execution content in response to determining that the main application content is valid based on the first judgment result; responding to the fact that the main application content is invalid based on the first judging result, and judging the validity of the backup application content to obtain a second judging result; and determining target execution content based on the second judgment result.
Optionally, determining the target execution content based on the second determination result includes: responding to the determination that the backup application content is effective based on the second judgment result, and updating the main application content by utilizing the backup application content to obtain an updating result; and determining the updated result as target execution content.
Optionally, the vehicle application updating method further includes: in response to the vehicle controller system executing the power-down processing, acquiring first version information of the main application content and second version information of the backup application content; and carrying out version synchronization on the main application content and the backup application content by using the first version information and the second version information.
Optionally, the performing version synchronization on the primary application content and the backup application content by using the first version information and the second version information includes: and updating the backup application content with the primary application content in response to the first version information and the second version information being inconsistent.
According to one embodiment of the present invention, there is also provided a vehicle application updating apparatus, the apparatus being applied to a vehicle controller system including: a first memory for storing boot-loaded content and primary application content, and a second memory for storing backup application content, comprising: the system comprises an acquisition module, a download identification module and a control module, wherein the acquisition module is used for acquiring download identification information, the download identification information is used for determining a target download mode, and the target download mode is used for downloading application update contents for a vehicle controller system; the determining module is used for determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from the main application content and the backup application content; and the updating module is used for updating the target updating object by utilizing the guide loading content and the application updating content.
Optionally, the determining module is further configured to: determining the main application content and the backup application content as target update objects in response to determining that the target download mode is the first download mode based on the download identification information; and determining the main application content as a target updating object in response to determining that the target downloading mode is the second downloading mode based on the downloading identification information.
Optionally, the vehicle application updating device further includes a judging module, configured to perform validity judgment on the main application content in response to completion of updating the target updating object, to obtain a first judging result; the determination module is also for: and determining target execution content of the vehicle control system based on the first judgment result.
Optionally, the judging module is further configured to: determining the main application content as target execution content in response to determining that the main application content is valid based on the first judgment result; responding to the fact that the main application content is invalid based on the first judging result, and judging the validity of the backup application content to obtain a second judging result; the determination module is also for: and determining target execution content based on the second judgment result.
Optionally, the update module is further configured to: responding to the determination that the backup application content is effective based on the second judgment result, and updating the main application content by utilizing the backup application content to obtain an updating result; the determination module is also for: and determining the updated result as target execution content.
Optionally, the obtaining module is further configured to obtain the first version information of the main application content and the second version information of the backup application content in response to performing the power-down process on the vehicle controller system; the vehicle application updating apparatus further includes a synchronization module for performing version synchronization of the primary application content and the backup application content using the first version information and the second version information.
Optionally, the update module is further configured to: and updating the backup application content with the primary application content in response to the first version information and the second version information being inconsistent.
According to one embodiment of the present invention, there is also provided a non-volatile storage medium in which a computer program is stored, wherein the computer program is arranged to execute the vehicle application update method in any one of the above-mentioned claims when run.
According to one embodiment of the present invention, there is also provided an electronic device including a memory having a computer program stored therein and a processor configured to run the computer program to perform the vehicle application update method in any one of the above.
In the embodiment of the invention, the method of acquiring the download identification information and determining the target update object in the vehicle control system based on the download identification information is adopted, the guide loading content and the application update content are utilized to update the target update object, and the guide loading content and the application update content are utilized to update the target update object, so that the purpose of rapidly updating the vehicle application is achieved, the technical effect of improving the update efficiency of the vehicle application is realized, and the technical problem of low update efficiency caused by the update of the vehicle application based on the non-AB chip in the related technology is further solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a vehicle application update method according to one embodiment of the invention;
FIG. 2 is a schematic illustration of a vehicle application update method according to one embodiment of the invention;
FIG. 3 is a flow chart of yet another vehicle application update method according to one embodiment of the invention;
FIG. 4 is a flow chart of yet another vehicle application update method according to one embodiment of the invention;
fig. 5 is a block diagram of a vehicle application updating apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present invention, there is provided a method embodiment of a vehicle application update method, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order other than that shown or described herein.
The method embodiments may be performed in an electronic device or similar computing device that includes a memory and a processor. Taking an example of operation on a vehicle terminal, the vehicle terminal may include one or more processors (the processors may include, but are not limited to, central processing units (Central Processing Unit, CPU), graphics processing units (Graphics Processing Unit, GPU), digital signal processing (Digital Signal Processing, DSP) chips, microprocessors (Micro Controller Unit, MCU), programmable logic devices (Field Programmable Gate Array, FPGA), neural-network processors (Neural-network Processor Unit, NPU), tensor processors (Tensor Processing Unit, TPU), artificial intelligence (Artificial Intelligence, AI) type processors, and the like processing means for storing data. Alternatively, the vehicle terminal may further include a transmission device, an input-output device, and a display device for a communication function. It will be appreciated by those skilled in the art that the above description of the structure is merely illustrative and is not intended to limit the structure of the vehicle terminal. For example, the vehicle terminal may also include more or fewer components than the above structural description, or have a different configuration than the above structural description.
The memory may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the vehicle application updating method in the embodiment of the present invention, and the processor executes the computer program stored in the memory, thereby performing various functional applications and data processing, that is, implementing the vehicle application updating method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission means comprises a network adapter (Network Interface Controller, simply referred to as NIC) that can be connected to other network devices via a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
Display devices may be, for example, touch screen type liquid crystal displays (Liquid Crustal Display, LCDs) and touch displays (also referred to as "touch screens" or "touch display screens"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (Graphical User Interface, GUI) with which a user can interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction functionality optionally includes the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
FIG. 1 is a flow chart of a vehicle application update method according to one embodiment of the invention, the method being applied to a vehicle controller system, the vehicle controller system comprising: a first memory for storing boot load content and primary application content, and a second memory for storing backup application content, as shown in fig. 1, the method comprising the steps of:
Step S10, acquiring download identification information, wherein the download identification information is used for determining a target download mode, and the target download mode is used for downloading application update contents for a vehicle controller system;
in the above step S10, the downloaded identification information includes information such as a diagnostic apparatus identification number (Identity, ID) or an OTA ID. And if the download identification information is different, the target download modes are different. The above-mentioned goal download mode includes using the diagnostic apparatus of the off-line to download the application and upgrade the content for vehicle controller system, on-line OTA downloads the application and upgrade the content for vehicle controller system, wherein, the diagnostic apparatus mode of the off-line means to use diagnostic apparatus to control vehicle application and upgrade, diagnostic apparatus and controller carry on the wired connection, on-line OTA means to upgrade and upgrade software and firmware controlling the vehicle through the wireless communication technology.
Specifically, the associated information of each downloading device may be stored in advance in the controller, where the associated information includes information such as an identity identifier and a type of the downloading device that has been registered by the vehicle, and the identity identifier specifically includes information about an identity unique identifier number of the downloading device. Thus, the download identification information is acquired, and the target download method can be determined. For example, if the acquired download identification information ID is 001, and the type of the download device corresponding to 001 is diagnostic apparatus by comparing 001 with the download device information stored in advance, it is determined that the vehicle application update is controlled by using the diagnostic apparatus.
Step S12, determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from the main application content and the backup application content;
in the step S12, the target update object is determined based on a target download method, and the target download method is different and the target update object is different.
Step S14, updating the target update object by using the boot loading content and the application update content.
Specifically, fig. 2 is a schematic diagram of a vehicle application updating method according to an embodiment of the present invention, and as shown in fig. 2, a vehicle controller system includes a first Memory and a second Memory, where the first Memory refers to a non-AB main chip, and the second Memory refers to an external electrically erasable programmable read-Only Memory (External Electrically Erasable Programmable Read-Only Memory). The main chip is divided into two areas, namely a boot loading content area and an A area, wherein the boot loading content area is mainly used for storing boot application software, such as BootLoader software, and the BootLoader software is mainly used for starting the boot application software and updating the application software; the A area is mainly used for storing main application content, and updating the main application content in the A area when online OTA is used for updating; the second memory is divided into a B area and is mainly used for storing backup application content, where the backup application content is the same as the main application content or is the last version of the main application content, and the invention is not limited to this.
Further, first, the boot application software in the boot loader content area, i.e., bootLoader software, is invoked. The BootLoader software will initiate a download device authentication interface, which is typically used to authenticate the validity of the download device and ensure that only authorized devices can access the download device, and the download device will send an access request to the BootLoader software requesting access to the controller for data transmission or other operations. The BootLoader software can perform security verification on the access request of the downloading device so as to ensure the legality and security of the downloading device. Then, a target downloading mode is determined based on the downloading identification information, wherein the target downloading mode comprises the steps of downloading application updating content for a vehicle controller system by using an online diagnostic apparatus and downloading application updating content for the vehicle controller system by using an online OTA, so as to determine a target updating object in the vehicle control system. And finally, updating the target update object by using the boot loading content and the application update content.
It should be noted that the memory space of the EEPROM needs to be larger than the memory space occupied by the application content, and the technical effect of ensuring the sufficient memory space when the memory realizes the AB system is realized by the mode of combining the non-AB main chip and the EEPROM.
Based on the steps S10 to S14, the method of acquiring the download identification information and determining the target update object in the vehicle control system based on the download identification information is adopted, and the target update object is updated by using the boot loading content and the application update content, so that the purpose of rapidly updating the vehicle application is achieved, the technical effect of improving the update efficiency of the vehicle application is achieved, and the technical problem of low update efficiency caused by the update of the vehicle application based on the non-AB chip in the related art is further solved.
Optionally, in step S12, determining the target update object in the vehicle control system based on the download identification information includes:
step S121, in response to determining that the target download mode is the first download mode based on the download identification information, determining the main application content and the backup application content as target update objects;
in step S121, the first downloading method is to update the vehicle application by using the diagnostic apparatus.
Specifically, if it is determined that the offline diagnostic apparatus is used to download the application update content based On the download identification information, the main application content in the a area and the backup application content in the B area are updated simultaneously based On the running of Bootloader software, and are used before the controller gets On the vehicle or when the application program is updated through an On-board diagnostic (On-Board Diagnostics, OBD) interface, so that the simultaneous existence of the main program content and the backup program content in the controller is ensured.
Step S122, in response to determining that the target download mode is the second download mode based on the download identification information, determining the main application content as the target update object.
In step S121, the first downloading method refers to updating the vehicle application by the OTA.
Specifically, if it is determined that the OTA download application is used to update the content based on the download identification information, the running of the Bootloader software only updates the main application content in the a area in the first memory.
Based on the steps S121 to S122, determining the main application content and the backup application content as target update objects in response to determining that the target download mode is the first download mode based on the download identification information; in response to determining that the target downloading mode is the second downloading mode based on the downloading identification information, determining the main application content as a target updating object, using the first downloading mode can ensure that the vehicle control system cannot work normally due to unexpected faults in the updating process, using the second downloading mode can ensure updating of the main application content, meanwhile, reducing updating frequency of backup application content, reducing maintenance cost and updating time of the vehicle control system, and two different downloading modes can improve flexibility and reliability of the vehicle control system.
Optionally, the vehicle application updating method further includes:
step S15, in response to the completion of updating the target updating object, validity judgment is carried out on the main application content, and a first judgment result is obtained;
step S16, determining target execution content of the vehicle control system based on the first judgment result.
Specifically, when the target update object completes the update, it is determined whether the main application content in the first memory a area is valid.
Further, the boot application software is invoked from the boot load content area of the host chip; and judging whether the main application content exists in the A area of the main chip by executing the guiding application software, if so, determining that the main application content in the A area is valid, otherwise, determining that the main application content in the A area is invalid. For example, bootloader software is called from a boot loading content area of the main chip, whether main application content in the area a is valid is judged by executing the Bootloader software, if the main application is determined to be valid in the area a, the application in the area a is determined to be valid, the target application sent by the diagnostic apparatus or the OTA device is described, the target application is adopted to update the application in the area a, otherwise, the main application content in the area a is determined to be invalid.
Based on the steps S15 to S16, in response to the completion of updating the target updating object, performing validity judgment on the main application content to obtain a first judgment result; and determining target execution content of the vehicle control system based on the first judgment result, wherein the validity judgment can ensure that the vehicle control system operates the latest and valid main application content, thereby improving the safety of the vehicle control system.
Optionally, in step S16, determining the target execution content of the vehicle control system based on the first determination result includes:
step S161, in response to determining that the main application content is valid based on the first judgment result, determining the main application content as target execution content;
in step S161, if the main application content in the a area of the main chip is valid, the main application content is determined as the target execution content, and the main application content is executed.
Step S162, in response to determining that the main application content is invalid based on the first judgment result, performing validity judgment on the backup application content to obtain a second judgment result;
in the step S162, if the main application content in the area a is invalid, it is determined whether the backup application content in the area B is valid, so as to obtain a second determination result.
Specifically, when the validity of the main application content in the area a is determined to be invalid, it is indicated that the diagnostic apparatus or the OTA device fails to update the area a, and at this time, it needs to determine whether the backup application in the area B is valid.
Step S163, determining the target execution content based on the second determination result.
In the step S163, the second determination result is the validity and invalidity of the backup application in the B area, and if the determination results are different, the target execution content is different.
Based on the above steps S161 to S163, in response to determining that the main application content is valid based on the first determination result, the main application content is determined as the target execution content; responding to the fact that the main application content is invalid based on the first judging result, and judging the validity of the backup application content to obtain a second judging result; and determining target execution content based on the second judgment result, and ensuring that the vehicle control system can switch to the backup application content in time under the condition that the main application content is invalid, thereby improving the reliability and stability of the vehicle control system.
Optionally, in step S163, determining the target execution content based on the second determination result includes:
step S1631, in response to determining that the backup application content is valid based on the second determination result, updating the main application content by using the backup application content to obtain an update result;
Step S1632, the update result is determined as the target execution content.
Specifically, when the second judgment result determines that the backup application content in the area B is valid, acquiring the valid backup application content contained in the area B, rolling back the backup application content to the area a, replacing the original main application content, and jumping to the area a to execute the replaced main application content.
Further, when the second judging result determines that the backup application content in the area B is invalid, it is determined that the current main chip does not acquire the application from the downloading device for updating, and the boot application software in the boot loading content area is kept in a state of waiting for receiving information.
Based on the steps S1631 to S1632, in response to determining that the backup application content is valid based on the second determination result, updating the main application content by using the backup application content to obtain an update result; and determining the updating result as target execution content, ensuring that the updating of the main application content is based on effective backup content, and improving the reliability and stability of the vehicle control system.
Optionally, the vehicle application updating method further includes:
step S17, responding to the power-down processing of the vehicle controller system, and acquiring the first version information of the main application content and the second version information of the backup application content;
In step S18, the primary application content and the backup application content are version-synchronized using the first version information and the second version information.
Specifically, when the power-down processing is performed on the vehicle control system, version information of the main application content in the area a and version information of the backup application content in the area B are acquired. Version synchronization is performed based on version information of the primary application content and version information of the backup application content.
Based on the steps S17 to S18, in response to performing the power-down process on the vehicle controller system, obtaining the first version information of the main application content and the second version information of the backup application content; and carrying out version synchronization on the main application content and the backup application content by utilizing the first version information and the second version information, so that the data consistency between the main application content and the backup application content is ensured, and the data consistency, the safety, the fault recovery capability and the stability of the vehicle control system can be improved, thereby ensuring the normal operation and the data integrity of the vehicle control system.
Optionally, in step S18, performing version synchronization on the primary application content and the backup application content using the first version information and the second version information includes:
in step S181, the backup application content is updated with the primary application content in response to the first version information and the second version information being inconsistent.
Specifically, when the version information content of the main application content is not used for the version information of the backup application content, the main application content is updated into the backup application content.
It should be noted that, after the online OTA is used for application update, the version of the main application content in the a area is higher than the version of the backup application content in the B area, so as to achieve the synchronization of the application contents in the a area and the B area.
Based on the step S181, in response to the inconsistency of the first version information and the second version information, the backup application content is updated by using the main application content, so as to ensure that the backup application is consistent with the main application, reduce the risk of losing or damaging the main application content and/or the backup application content, and simultaneously ensure that the main application content and/or the backup application content can be recovered more quickly when a failure or when the application content occurs.
Fig. 3 is a flow chart of yet another vehicle application update method according to one embodiment of the present invention. The method is applied to a vehicle controller system, the vehicle controller system comprising: a first memory for storing boot load content and primary application content and a second memory for storing backup application content, as shown in fig. 3, the method comprising the steps of:
Step S301, obtaining download identification information;
step S302, judging whether the downloading mode is a first downloading mode;
step S303, in response to determining that the target download mode is the first download mode based on the download identification information, determining the main application content and the backup application content as target update objects;
step S303, determining the main application content as a target update object in response to determining that the target download mode is the second download mode based on the download identification information;
step S304, updating the target update object by using the boot loading content and the application update content.
Fig. 4 is a flow chart of yet another vehicle application update method according to one embodiment of the present invention. The method is applied to a vehicle controller system, the vehicle controller system comprising: a first memory for storing boot load content and primary application content, and a second memory for storing backup application content, as shown in fig. 4, the method comprising the steps of:
step S401, updating the target updating object;
step S402, judging whether the main application content is valid;
step S403, in response to the master application content being valid, determining the master application content as target execution content;
Step S404, in response to the invalidation of the main application content, judging whether the backup application content is valid or not;
step S405, in response to the backup application content being valid, updating the main application content by using the backup application content to obtain an updating result;
step S406, determining the updated result as target execution content;
step S407, responding to invalidation of the backup application content, and staying in the boot loading content area;
step S408, in response to executing the power-down processing on the vehicle controller system, acquiring the first version information of the main application content and the second version information of the backup application content;
in step S409, in response to the first version information and the second version information being inconsistent, the backup application content is updated with the primary application content.
Based on the steps S401 to S409, the method of acquiring the download identification information and determining the target update object in the vehicle control system based on the download identification information is adopted, the target update object is updated by using the boot loading content and the application update content, and the target update object is updated by using the boot loading content and the application update content, so that the purpose of rapidly updating the vehicle application is achieved, the technical effect of improving the update efficiency of the vehicle application is achieved, and the technical problem of low update efficiency caused by updating the vehicle application based on the non-AB chip in the related art is solved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
The embodiment of the present invention further provides a vehicle application updating device, which is used for implementing the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 5 is a block diagram of a vehicle application updating apparatus according to an embodiment of the present invention, the apparatus being applied to a vehicle controller system including: the system comprises a first memory and a second memory, wherein the first memory is used for storing the boot loading content and the main application content, and the second memory is used for storing the backup application content. As shown in fig. 5, the apparatus includes:
an obtaining module 501, configured to obtain download identification information, where the download identification information is used to determine a target downloading manner, and the target downloading manner is used to download application update content for a vehicle controller system;
a determining module 502, configured to determine a target update object in the vehicle control system based on the download identifier information, where the target update object is selected from the main application content and the backup application content;
an updating module 503, configured to update the target update object with the bootload content and the application update content.
Optionally, the determining module 502 is further configured to: determining the main application content and the backup application content as target update objects in response to determining that the target download mode is the first download mode based on the download identification information; and determining the main application content as a target updating object in response to determining that the target downloading mode is the second downloading mode based on the downloading identification information.
Optionally, the vehicle application updating device further includes a judging module, configured to perform validity judgment on the main application content in response to completion of updating the target updating object, to obtain a first judging result; the determining module 502 is further configured to: and determining target execution content of the vehicle control system based on the first judgment result.
Optionally, the judging module 504 is further configured to: determining the main application content as target execution content in response to determining that the main application content is valid based on the first judgment result; responding to the fact that the main application content is invalid based on the first judging result, and judging the validity of the backup application content to obtain a second judging result; the determining module 502 is further configured to: and determining target execution content based on the second judgment result.
Optionally, the updating module 503 is further configured to: responding to the determination that the backup application content is effective based on the second judgment result, and updating the main application content by utilizing the backup application content to obtain an updating result; the determining module 502 is further configured to: and determining the updated result as target execution content.
Optionally, the obtaining module 501 is further configured to obtain, in response to performing a power-down process on the vehicle controller system, first version information of the main application content and second version information of the backup application content; the vehicle application updating apparatus further includes a synchronization module for performing version synchronization of the primary application content and the backup application content using the first version information and the second version information.
Optionally, the updating module 503 is further configured to: and updating the backup application content with the primary application content in response to the first version information and the second version information being inconsistent.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
According to one embodiment of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, acquiring downloading identification information, wherein the downloading identification information is used for determining a target downloading mode, and the target downloading mode is used for downloading application updating content for a vehicle controller system;
s2, determining a target update object in a vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from main application content and backup application content;
And S3, updating the target update object by using the boot loading content and the application update content.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
According to one embodiment of the present invention, there is also provided an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring downloading identification information, wherein the downloading identification information is used for determining a target downloading mode, and the target downloading mode is used for downloading application updating content for a vehicle controller system;
s2, determining a target update object in a vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from main application content and backup application content;
And S3, updating the target update object by using the boot loading content and the application update content.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A vehicle application update method, the method being applied to a vehicle controller system, the vehicle controller system comprising: a first memory and a second memory, wherein the first memory is used for storing boot loading content and main application content, and the second memory is used for storing backup application content, and the method comprises the following steps:
acquiring downloading identification information, wherein the downloading identification information is used for determining a target downloading mode, and the target downloading mode is used for downloading application updating content for the vehicle controller system;
determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from the main application content and the backup application content;
and updating the target update object by utilizing the guide loading content and the application update content.
2. The vehicle application update method according to claim 1, characterized in that determining the target update object in the vehicle control system based on the download identification information includes:
determining the main application content and the backup application content as the target update object in response to determining that the target download mode is a first download mode based on the download identification information;
and determining the main application content as the target updating object in response to determining that the target downloading mode is a second downloading mode based on the downloading identification information.
3. The vehicle application update method according to claim 1, characterized in that the method further comprises:
responding to the completion of updating the target updating object, and judging the validity of the main application content to obtain a first judging result;
and determining target execution content of the vehicle control system based on the first judgment result.
4. The vehicle application updating method according to claim 3, characterized in that determining the target execution content of the vehicle control system based on the first determination result includes:
determining the main application content as the target execution content in response to determining that the main application content is valid based on the first judgment result;
Responding to the first judgment result to determine that the main application content is invalid, and judging the validity of the backup application content to obtain a second judgment result;
and determining the target execution content based on the second judgment result.
5. The vehicle application updating method according to claim 4, characterized in that determining the target execution content based on the second determination result includes:
responding to the second judgment result to determine that the backup application content is effective, and updating the main application content by utilizing the backup application content to obtain an updating result;
and determining the updated result as the target execution content.
6. The vehicle application update method according to claim 1, characterized in that the method further comprises:
in response to the vehicle controller system executing power-down processing, acquiring first version information of the main application content and second version information of the backup application content;
and carrying out version synchronization on the main application content and the backup application content by utilizing the first version information and the second version information.
7. The vehicle application update method of claim 6, wherein version synchronizing the primary application content and the backup application content using the first version information and the second version information comprises:
And updating the backup application content by using the main application content in response to the first version information and the second version information being inconsistent.
8. A vehicle application update apparatus, the apparatus being applied to a vehicle controller system, the vehicle controller system comprising: a first memory and a second memory, wherein the first memory is used for storing boot loading content and main application content, and the second memory is used for storing backup application content, and the method comprises the following steps:
the system comprises an acquisition module, a download identification module and a control module, wherein the acquisition module is used for acquiring download identification information, the download identification information is used for determining a target download mode, and the target download mode is used for downloading application update contents for the vehicle controller system;
the determining module is used for determining a target update object in the vehicle control system based on the download identification information, wherein the target update object is obtained by selecting from the main application content and the backup application content;
and the updating module is used for updating the target updating object by utilizing the guide loading content and the application updating content.
9. A non-volatile storage medium, characterized in that a computer program is stored in the storage medium, wherein the computer program is arranged to execute the vehicle application update method as claimed in any one of claims 1 to 7 at run-time.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the vehicle application update method of any of the claims 1 to 7.
CN202311802735.1A 2023-12-25 2023-12-25 Vehicle application updating method and device, storage medium and electronic device Pending CN117891479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311802735.1A CN117891479A (en) 2023-12-25 2023-12-25 Vehicle application updating method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311802735.1A CN117891479A (en) 2023-12-25 2023-12-25 Vehicle application updating method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117891479A true CN117891479A (en) 2024-04-16

Family

ID=90649933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311802735.1A Pending CN117891479A (en) 2023-12-25 2023-12-25 Vehicle application updating method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117891479A (en)

Similar Documents

Publication Publication Date Title
CN109933348B (en) Method and device for updating Bootloader in electronic control unit
US8539471B2 (en) Updating firmware of an electronic device
US11003599B2 (en) Method, apparatus and system of managing external devices, memory and unmanned aerial vehicle
EP2375323A1 (en) Firmware image update and management
US9959125B2 (en) Field update of boot loader using regular device firmware update procedure
CN109857423B (en) Program version updating method and device, server and readable storage medium
CN106951284B (en) User interface upgrading method and device based on android system application and intelligent terminal
CN110535776B (en) Gateway current limiting method, device, gateway, system and storage medium
CN112416406A (en) Terminal equipment upgrading method and device, terminal equipment and medium
CN109002305B (en) Method and system for updating equipment program
US11449329B2 (en) Vehicle control device and program update system
CN113868156B (en) System upgrade power-down protection method, electronic device and storage medium
CN106603125B (en) Method and device for data interaction with Bluetooth equipment
CN115756561A (en) Software upgrading method and device, computer equipment and storage medium
US20240069906A1 (en) Server, software update system, distribution method, and non-transitory storage medium
CN117891479A (en) Vehicle application updating method and device, storage medium and electronic device
CN115951920A (en) Mobile equipment upgrading method and device, storage unit and mobile equipment
CN111949294A (en) Firmware refreshing method, device, server and computer readable storage medium
CN112752154A (en) Software upgrading method and device and smart television
CN113791810B (en) ZYNQ platform-based remote upgrading method, device and system
CN111565228B (en) Data source switching method, device, equipment and medium
JP7484791B2 (en) OTA master, update control method, and update control program
CN117075932A (en) Update management system and update management method
CN117742761A (en) Firmware updating method and device, storage medium and electronic equipment
CN116820841A (en) Starting method, device, equipment, medium and product of terminal equipment

Legal Events

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