CN115016818A - Vehicle controller remote silent upgrading method and device, electronic equipment and medium - Google Patents

Vehicle controller remote silent upgrading method and device, electronic equipment and medium Download PDF

Info

Publication number
CN115016818A
CN115016818A CN202210661560.6A CN202210661560A CN115016818A CN 115016818 A CN115016818 A CN 115016818A CN 202210661560 A CN202210661560 A CN 202210661560A CN 115016818 A CN115016818 A CN 115016818A
Authority
CN
China
Prior art keywords
controller
silent
target
upgrade
flashing
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
CN202210661560.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.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive 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 FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202210661560.6A priority Critical patent/CN115016818A/en
Publication of CN115016818A publication Critical patent/CN115016818A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a vehicle controller remote silent upgrade method, a vehicle controller remote silent upgrade device, electronic equipment and a vehicle controller remote silent upgrade medium. The method comprises the steps of obtaining a controller upgrading packet sent by a cloud end, and writing the controller upgrading packet into a first system of a target controller of a target vehicle in a silent mode to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state; when the controller upgrading packet is subjected to silent flashing successfully, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time. According to the technical scheme, the system upgrading time is effectively shortened, and the user experience effect is improved.

Description

Vehicle controller remote silent upgrading method and device, electronic equipment and medium
Technical Field
The invention relates to the technical field of remote updating of vehicle controllers, in particular to a method and a device for remote silent updating of a vehicle controller, electronic equipment and a medium.
Background
With the continuous development of the automobile field, automobiles become one of indispensable transportation means for people to go out. Vehicles gradually enter a new normal state of intellectualization and networking, and vehicle networking becomes a trend of vehicle technology development in the future, so that the complexity of functions of an automobile system is continuously increased, and the upgrading of the automobile system is more and more important.
In the prior art, after the upgrade is confirmed, the installation package is issued first and then the installation package is downloaded and the system is updated under the condition that the vehicle meets the conditions at the set moment.
However, in the prior art, the installation package needs to be updated first, which greatly prolongs the waiting time of the user, and if the update fails, the vehicle controller may be unavailable, which not only affects the experience effect of the user, but also affects the vehicle safety.
Disclosure of Invention
The invention provides a vehicle controller remote silent upgrading method, device, electronic equipment and medium, which aim to solve the problems that the upgrading time is too long and the controller is unavailable due to failure of flash.
According to an aspect of the present invention, there is provided a vehicle controller remote silent upgrade method, including:
the method comprises the steps of obtaining a controller upgrading packet sent by a cloud end, and writing the controller upgrading packet into a first system of a target controller of a target vehicle in a silent mode to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state;
when the controller upgrade package is successfully subjected to silent flashing, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time.
According to another aspect of the present invention, there is provided a vehicle controller remote silent upgrade apparatus, including:
the system comprises a flashing module, a first system and a second system, wherein the flashing module is used for acquiring a controller upgrading packet transmitted by a cloud end and flashing the controller upgrading packet into the first system of a target controller of a target vehicle in a silent mode so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state;
the switching module is used for switching the running system of the target controller from the second system to the first system after the controller upgrade package is successfully subjected to silent flash so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the vehicle controller remote quiet upgrade method of any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the vehicle controller remote silent upgrade method according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the controller upgrading packet sent by the cloud end is obtained, and the controller upgrading packet is subjected to silent flash into the first system of the target controller of the target vehicle so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state; when the controller upgrading packet is subjected to silent flashing successfully, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; after the switching is completed, the second system is in a stop running state, so that silent flashing is performed when the target controller is upgraded next time, the problems that the upgrading time is too long and the controller cannot be used due to the failure of the flashing are solved, the upgrading time of the system is effectively shortened, and the experience effect of a user is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a remote silent upgrade method for a vehicle controller according to an embodiment of the present invention;
FIG. 2 is a flowchart of a remote silent upgrade method for a vehicle controller according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a vehicle controller remote silence upgrading device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the remote silent upgrade method for a vehicle controller according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and "target" and the like in the description and claims of the invention and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or 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.
Example one
Fig. 1 is a flowchart of a vehicle controller remote quiet upgrade method according to an embodiment of the present invention, where the present embodiment is applicable to a situation of remote quiet upgrade of a vehicle controller, and the method may be performed by a vehicle controller remote quiet upgrade apparatus, which may be implemented in hardware and/or software, and may be configured in a vehicle controller remote quiet upgrade device. As shown in fig. 1, the method includes:
s110, obtaining a controller upgrading packet issued by a cloud, and silently writing the controller upgrading packet into a first system of a target controller of a target vehicle to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state.
The method is suitable for the scene of remote silent upgrade of the vehicle controller. The first system and the second system exist in the target controller at the same time, when the target controller operates under any system, the other system is in a stop operation state, and the controller upgrading packet sent by the cloud is subjected to silent flashing in the system in which the target controller stops operating, so that the normal operation of the target controller cannot be interfered in the silent flashing process of the upgrading packet.
In an example, an A/B dual system exists in a vehicle-mounted controller, when an Over-The-Air (OTA) cloud end exists in an upgrade package of an upgrade system, a vehicle-end OTA component receives The upgrade package issued by The OTA cloud end, The upgrade package is subjected to silent flashing in a controller B system under a proper condition, The system B does not operate at The moment, The system A operates normally, when a user appoints to upgrade, an operating system is switched from The system A to The system B, The system B operates normally, The system A does not operate, and therefore The method effectively saves upgrade time and enhances user experience.
The controller upgrading package is used for upgrading the controller system, so that the vehicle performance is optimized, and the defects of the old system version are overcome. The silent flashing can be performed without the operation of a user, and the target controller system can be directly subjected to silent flashing in the target controller system which is not operated after the target controller system meets the condition.
In this embodiment, optionally, before the silent flashing of the controller upgrade package into the first system of the target controller of the target vehicle, the method further includes:
judging the state information of the target vehicle; wherein the status information comprises at least one of: vehicle speed information, battery information, and gear information;
if the state information meets the preset condition, executing silent flashing operation;
and if the state information does not meet the preset condition, performing silent flashing again when the target vehicle is powered on next time.
The state information of the vehicle may be used to represent the state information of the vehicle, and it may be determined what state the vehicle is in according to the state information of the vehicle, and the state information of the vehicle may be information such as vehicle speed information, battery information, or gear information. The vehicle speed information may be information on the speed at which the vehicle is currently located, and is used to determine whether the vehicle is in a running or stopped state. The battery information may be that the battery is low and the battery is normal. The gear information may be gear information such as parking gear, reverse gear, neutral gear, or forward gear. The preset condition may be set according to an actual situation, and is used to determine whether the silent flashing operation is possible, for example, the preset condition may be that the vehicle speed is less than or equal to 20KM/h, the battery voltage is greater than or equal to 24V, and the silent flashing operation is performed when the gear is in a neutral gear or a parking gear.
Optionally, before the controller upgrade package exists in the OTA cloud of the target vehicle, the state information of the target vehicle needs to be determined before the controller upgrade package is silently written into the first system of the target controller of the target vehicle in a CAN or ethernet manner. If the state information of the vehicle meets the preset condition, executing silent flashing operation; and if the state information of the vehicle does not meet the preset condition, performing silent flashing again when the target vehicle is powered on next time.
According to the technical scheme, whether the state information of the target vehicle meets the preset condition or not is judged through the received state information of the target vehicle, and whether the silent flashing operation is carried out or not is further determined, so that the silent flashing of the upgrading packet of the controller can be effectively realized into a system of a target controller of the target vehicle, the silent flashing process is prevented from being interrupted suddenly, and the silent flashing time is prevented from being wasted.
In this embodiment, optionally, after the controller upgrade package is flashed into the first system of the target controller of the target vehicle in a quiet manner, the method includes:
carrying out data consistency check on the controller upgrading packet;
if the verification is successful, the controller upgrade packet is subjected to silent flashing successfully;
and if the verification fails, the controller upgrading packet fails to perform silent flashing, data consistency verification is performed again after the silent flashing is performed again, and if the continuous silent flashing times reach a preset threshold value, the silent flashing is stopped, and the information of the silent flashing failure is fed back to the cloud.
The data consistency means that the upgrade packet data flashed in the system in a silent manner is consistent with the OTA cloud upgrade packet data. The preset threshold may be set according to actual conditions, and the preset threshold may be 2 times, 3 times, or the like.
Optionally, after the controller upgrade package is subjected to silent flashing in the first system of the target controller of the target vehicle, data consistency verification needs to be performed on the controller upgrade package, whether the controller upgrade package subjected to silent flashing is correct is judged, and then whether the controller upgrade package subjected to silent flashing is successful is judged. If the verification is successful, the controller upgrade packet is subjected to silent flashing successfully; and if the verification fails, the controller upgrade package is subjected to silent flashing failure, data consistency verification is carried out again after the silent flashing is carried out again, if the continuous silent flashing times reach a preset threshold value, the silent flashing is stopped, and the information of the silent flashing failure is fed back to the cloud.
According to the technical scheme, whether the controller upgrading packet is subjected to silent flashing successfully or not and the operation after the silent flashing succeeds or fails is judged by checking the data consistency of the controller upgrading packet, so that the controller upgrading packet after the silent flashing is accurate, and the condition that a vehicle cannot be normally used when the system is subsequently converted due to the error of the controller upgrading packet is prevented.
S120, when the controller upgrading packet is subjected to silent flashing successfully, switching the running system of the target controller from a second system to a first system so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is updated next time.
Optionally, after the controller upgrade package is successfully subjected to silent flashing, upgrade information needs to be sent to a user associated with the vehicle, the user associated with the vehicle switches the operating system of the target controller from the second system to the first system after confirmation, after the switching is completed, the second system stops operating, the silent flashing operation is performed again when waiting for next controller upgrade, and the controller upgrade package which is not subjected to silent flashing needs to be subjected to silent flashing when the second system is subjected to the next silent flashing, so that consistency of upgrade versions of the two systems is ensured, and omission of upgrade is avoided.
In this embodiment, optionally, before the switching the operating system of the target controller from the second system to the first system, the method further includes:
sending upgrade information to a user associated with the vehicle;
before receiving a confirmation upgrading response of the user, the target controller keeps running under a second system, and sends upgrading information to the user again when the target vehicle is powered on next time;
and after receiving the upgrade confirmation response of the user, switching the operating system of the target controller from the second system to the first system.
According to the technical scheme, the upgrading information is sent to the vehicle-associated user, when the vehicle-associated user confirms upgrading, the operating system of the target controller is switched from the second system to the first system, upgrading operation is carried out after permission of the user is obtained, and user experience is improved. Illustratively, the upgrade information is notified to a user associated with the vehicle, such as a driver or a vehicle owner, through a vehicle-mounted display screen or a mobile phone APP.
In the technical solution of this embodiment, optionally, after receiving a response of confirming the upgrade from the user, switching the operating system of the target controller from the second system to the first system includes:
receiving a upgrade confirmation response of a user as an appointment upgrade;
after the appointed time is reached, judging whether the state information of the target vehicle meets the upgrading condition;
and if so, switching the operating system of the target controller from the second system to the first system.
The upgrade condition may be determined by a vehicle speed, gear information, or battery level information of the vehicle. For example, when the vehicle speed is less than or equal to 20KM/h, the battery voltage is greater than or equal to 24V, and the gear is a neutral gear or a parking gear, the upgrade condition is satisfied.
According to the technical scheme, after the user makes an appointment for upgrading, when the vehicle information state meets the upgrading condition, the operation system of the target controller is switched from the second system to the first system, the situation that the vehicle cannot normally operate due to wrong switching of the operation system of the target controller is prevented, the vehicle is accurately upgraded, and meanwhile the time for upgrading the system by the user is saved.
In this embodiment, optionally, after the controller upgrade package is successfully flashed in a silent mode, switching the operating system of the target controller from the second system to the first system includes:
and if the running system of the target controller fails to switch, the target controller rolls back to the second system, and feeds back a system switching failure result to the cloud.
According to the technical scheme, when the vehicle information state meets the upgrading condition, the operation system of the target controller fails to be switched, the target controller rolls back to the second system, the second system continues to operate instead of operating the second system after the silent flashing operation is carried out again, the situation that the vehicle cannot normally operate due to the fact that the system is subjected to the silent flashing operation again is prevented, and meanwhile the waiting time of a user is greatly reduced.
According to the technical scheme of the embodiment of the invention, the controller upgrading packet sent by the cloud end is obtained, and the controller upgrading packet is subjected to silent flash into the first system of the target controller of the target vehicle so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state; when the controller upgrade package is successfully subjected to silent flashing, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; after the switching is completed, the second system is in a running stop state, so that silent flashing is performed when the target controller is upgraded next time, the problems that the upgrading time is too long and the controller is unavailable due to failure of silent flashing are solved, the upgrading time of the system is effectively shortened, and the experience effect of a user is improved.
Example two
Fig. 2 is a flowchart of a remote silent upgrade method for a vehicle controller according to an embodiment of the present invention. In this embodiment, a controller upgrade package issued by a cloud is acquired, and the controller upgrade package is statically written into a first system of a target controller of a target vehicle, so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state; when the controller upgrading packet is subjected to silent flashing successfully, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time.
For example, referring to fig. 2, after determining that a new controller upgrade package is available at the OTA cloud, the vehicle-side OTA component receives the upgrade package issued by the OTA cloud, and performs silent transmission when the controller to be subjected to silent flashing identifies the first system and the second system (the second system is currently running, and the first system is in a stationary state), at this time, the OTA component acquires the state information of the current vehicle, and performs silent flashing again when the vehicle is powered on next time until the conditions that the vehicle speed is less than or equal to 20KM/h, the battery voltage is greater than or equal to 24V, and the gear is neutral or parked are met; if the conditions that the vehicle speed is less than or equal to 20KM/h, the battery voltage is more than or equal to 24V and the gear is in a neutral gear or a parking gear are met, the upgrading packet is subjected to silent flashing into a first system of the controller in a CAN or Ethernet mode, the diagnosis silent flashing of a Hybrid Control Unit (HCU) is finished, and then after data consistency verification is successful, upgrading information is notified to a user of a target vehicle through a vehicle-mounted display screen or a mobile phone APP; and if the data consistency verification fails, the controller upgrading packet fails to perform the silent flashing, performs the data consistency verification again after performing the silent flashing again, stops the silent flashing if the continuous silent flashing times reach a preset threshold value, and feeds back the information of the silent flashing failure to the cloud. When a user receives the upgrade information and confirms that the upgrade is performed immediately, the OTA component sends a restart instruction to the HCU, the HCU restarts, the running system is switched from the second system to the first system, after the second system is switched successfully, the OTA component is informed of the success of the upgrade, the upgrade information is informed of the user through the vehicle-mounted display screen or the mobile phone APP, and the upgrade is finished. If the user selects the reserved upgrading, the OTA component judges whether the vehicle meets the upgrading condition after the preset time point is reached, and if yes, the whole vehicle CAN network is awakened to upgrade the controller. And if the upgrading fails, the first system is unavailable, the second system is continuously used, the OTA component is informed of the failure of the flashing, and the result is fed back to the OTA cloud. The upgrade task is not notified to the user, and the user does not perceive the upgrade task.
According to the technical scheme, before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state. After the controller upgrade package issued by the cloud is obtained, the controller upgrade package is subjected to silent flashing into a first system of a target controller of a target vehicle to upgrade the first system, after the controller upgrade package is subjected to silent flashing successfully, an operation system of the target controller is switched from a second system to the first system to upgrade the target controller, after the switching is completed, the second system is in a stop operation state to perform the silent flashing when the target controller is upgraded next time, the problems that the upgrade time is too long and the controller is unavailable due to failure of the silent flashing are solved, the system upgrade time is effectively shortened, and the user experience effect is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a vehicle controller remote silence upgrading device according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the system comprises a flashing module, a first updating module and a second updating module, wherein the flashing module is used for acquiring a controller upgrading packet issued by a cloud end and flashing the controller upgrading packet into a first system of a target controller of a target vehicle in a silent manner so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state;
the switching module is used for switching the operating system of the target controller from the second system to the first system to upgrade the target controller after the controller upgrade package is successfully subjected to silent flash; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time.
Optionally, before the module is switched, the apparatus further includes an information confirmation unit, configured to:
sending upgrade information to a user associated with the vehicle;
before receiving a confirmation upgrading response of the user, the target controller keeps running under a second system, and sends upgrading information to the user again when the target vehicle is powered on next time;
optionally, the switching module is configured to:
receiving a upgrade confirmation response of a user as an appointment upgrade;
after the appointed time is reached, judging whether the state information of the target vehicle meets the upgrading condition;
and if so, switching the operating system of the target controller from the second system to the first system.
Optionally, the flash module further includes a verification unit configured to:
carrying out data consistency check on the controller upgrading packet;
if the verification is successful, the controller upgrade package is refreshed successfully in a silent mode;
and if the verification fails, the controller upgrading packet fails to perform silent flashing, data consistency verification is performed again after the silent flashing is performed again, and if the continuous silent flashing times reach a preset threshold value, the silent flashing is stopped, and the information of the silent flashing failure is fed back to the cloud.
Optionally, the switching module includes a switching determining unit, and is specifically configured to:
and if the running system of the target controller fails to switch, the target controller rolls back to the second system, and feeds back a system switching failure result to the cloud.
Optionally, the flash module further includes an information determining unit, configured to:
judging the state information of the target vehicle; wherein the status information comprises at least one of: vehicle speed information, battery information, and gear information;
if the state information meets the preset condition, executing silent flashing operation;
and if the state information does not meet the preset condition, performing silent flashing again when the target vehicle is powered on next time.
The vehicle controller remote silent upgrade device provided by the embodiment of the invention can execute the vehicle controller remote silent upgrade method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations and do not violate the good custom of the public order.
Example four
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device implementing the vehicle controller remote silent upgrade method according to the embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the method vehicle controller remote quiet upgrade.
In some embodiments, the method vehicle controller remote quiet upgrade may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method vehicle controller remote quiet upgrade described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured by any other suitable means (e.g., by means of firmware) to perform the method vehicle controller remote quiesce upgrade.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A vehicle controller remote silent upgrade method is characterized by comprising the following steps:
the method comprises the steps of obtaining a controller upgrading packet sent by a cloud end, and writing the controller upgrading packet into a first system of a target controller of a target vehicle in a silent mode to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state;
when the controller upgrade package is successfully subjected to silent flashing, switching the operating system of the target controller from the second system to the first system so as to upgrade the target controller; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is updated next time.
2. The method of claim 1, wherein prior to said switching the operating system of the target controller from the second system to the first system, the method further comprises:
sending upgrade information to a user associated with the vehicle;
before receiving a confirmation upgrading response of the user, the target controller keeps running under a second system, and sends upgrading information to the user again when the target vehicle is powered on next time;
and after receiving the upgrade confirmation response of the user, switching the operating system of the target controller from the second system to the first system.
3. The method of claim 2, wherein switching the operating system of the target controller from the second system to the first system after receiving a confirmation upgrade response from the user comprises:
receiving a upgrade confirmation response of a user as an appointment upgrade;
after the appointed time is reached, judging whether the state information of the target vehicle meets the upgrading condition;
and if so, switching the operating system of the target controller from the second system to the first system.
4. The method of claim 1, wherein after silent flashing the controller upgrade package into the first system of the target controller of the target vehicle, the method comprises:
carrying out data consistency check on the controller upgrading packet;
if the verification is successful, the controller upgrade packet is subjected to silent flashing successfully;
and if the verification fails, the controller upgrading packet fails to perform silent flashing, data consistency verification is performed again after the silent flashing is performed again, and if the continuous silent flashing times reach a preset threshold value, the silent flashing is stopped, and the information of the silent flashing failure is fed back to the cloud.
5. The method of claim 1, wherein switching the operating system of the target controller from the second system to the first system after the silent flush of the controller upgrade package is successful comprises:
and if the running system of the target controller fails to switch, the target controller rolls back to the second system, and feeds back a system switching failure result to the cloud.
6. The method of claim 1, wherein prior to the silent flashing of the controller upgrade package into the first system of the target controller of the target vehicle, the method further comprises:
judging the state information of the target vehicle; wherein the status information comprises at least one of: vehicle speed information, battery information, and gear information;
if the state information meets a preset condition, executing silent flashing operation;
and if the state information does not meet the preset condition, performing silent flashing again when the target vehicle is powered on next time.
7. A vehicle controller remote silence upgrading apparatus, comprising:
the system comprises a flashing module, a first system and a second system, wherein the flashing module is used for acquiring a controller upgrading packet transmitted by a cloud end and flashing the controller upgrading packet into the first system of a target controller of a target vehicle in a silent mode so as to upgrade the first system; the target controller is provided with two systems, namely a first system and a second system, and before the target controller is upgraded, the target controller operates under the second system, and the first system is in a stop operation state;
the switching module is used for switching the operating system of the target controller from the second system to the first system to upgrade the target controller after the controller upgrade package is successfully subjected to silent flash; and after the switching is finished, the second system is in a running stop state so as to perform silent flashing when the target controller is upgraded next time.
8. The method of claim 7, wherein before switching modules, the apparatus further comprises an information confirmation unit configured to:
sending upgrade information to a user associated with the vehicle;
before receiving a confirmation upgrading response of the user, the target controller keeps running under a second system, and sends upgrading information to the user again when the target vehicle is powered on next time;
and after receiving the upgrade confirmation response of the user, switching the operating system of the target controller from the second system to the first system.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the vehicle controller remote quiet upgrade method of any one of claims 1-6.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the vehicle controller remote quiet upgrade method of any one of claims 1-6 when executed.
CN202210661560.6A 2022-06-13 2022-06-13 Vehicle controller remote silent upgrading method and device, electronic equipment and medium Pending CN115016818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210661560.6A CN115016818A (en) 2022-06-13 2022-06-13 Vehicle controller remote silent upgrading method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210661560.6A CN115016818A (en) 2022-06-13 2022-06-13 Vehicle controller remote silent upgrading method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115016818A true CN115016818A (en) 2022-09-06

Family

ID=83074348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210661560.6A Pending CN115016818A (en) 2022-06-13 2022-06-13 Vehicle controller remote silent upgrading method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115016818A (en)

Similar Documents

Publication Publication Date Title
CN113687853B (en) Vehicle upgrade control method and computer storage medium
CN105653336A (en) Method for integrating application under double operating systems
CN113064748B (en) Process succession method, device, electronic equipment and storage medium
CN114228791A (en) Method and device for upgrading remote RM after remote restart of full-automatic operation train
CN115139850A (en) Vehicle battery replacement method and device, electronic equipment and storage medium
CN114980445A (en) Light control method, device, equipment and medium applied to vehicle
CN114020311A (en) Firmware upgrading method and device and electronic equipment
CN116016175B (en) OTA (over the air) upgrading method and device for automatic driving operation vehicle
CN115016818A (en) Vehicle controller remote silent upgrading method and device, electronic equipment and medium
CN112286559A (en) Upgrading method and device for vehicle-mounted intelligent terminal
CN114880007A (en) Upgrading method, device, equipment and storage medium
CN115129429B (en) Container application management method and device, electronic equipment and storage medium
CN114312618B (en) Control method and system for Internet of vehicles system
CN115033261A (en) Program updating method, device, equipment and storage medium
CN115583206A (en) Vehicle abnormity eliminating method and device, electronic equipment and storage medium
CN115766442A (en) Automobile network upgrading method, device, equipment, medium and automobile
CN116126368A (en) Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle
CN115762503A (en) Vehicle-mounted voice system, vehicle-mounted voice autonomous learning method, device and medium
CN114590246A (en) Dual-channel communication automatic parking method, device, equipment and storage medium
CN114326689B (en) Method, device, equipment and storage medium for brushing firmware of vehicle
CN116279286B (en) Unlocking method, device, equipment and medium of engine
CN111903110A (en) Remote updating method for vehicle-mounted software of vehicle
CN115454463A (en) Vehicle remote upgrading method and device, electronic equipment and storage medium
CN116700758A (en) Whole vehicle version management method, device, equipment and storage medium
CN115578874A (en) Parameter determination method and device, electronic equipment, storage medium and product

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