CN116126368A - Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle - Google Patents

Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle Download PDF

Info

Publication number
CN116126368A
CN116126368A CN202211490930.0A CN202211490930A CN116126368A CN 116126368 A CN116126368 A CN 116126368A CN 202211490930 A CN202211490930 A CN 202211490930A CN 116126368 A CN116126368 A CN 116126368A
Authority
CN
China
Prior art keywords
upgrading
upgrade
vehicle
mode
signal
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
CN202211490930.0A
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.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor 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 Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202211490930.0A priority Critical patent/CN116126368A/en
Publication of CN116126368A publication Critical patent/CN116126368A/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

Landscapes

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

Abstract

The invention provides a whole-vehicle OTA upgrading method and device, electronic equipment and a vehicle, and relates to the technical field of vehicles. Firstly, under the condition that a request for entering an upgrade mode of the whole vehicle is acquired, judging whether the upgrade requirement of the central controller is met according to the current vehicle condition, and under the condition that the upgrade requirement of the central controller is met, sending self-checking signals to a plurality of execution controllers. And then, receiving a complete vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal, and judging whether the upgrading requirement of the execution controller is met according to the complete vehicle upgrading mode state signal. Finally, the method includes the steps of. And under the condition that the upgrade requirements of the execution controllers are met, transmitting an upgrade mode starting signal of the whole vehicle to each execution controller, and entering an upgrade flow of the central controller. By judging the double upgrading conditions of the execution controller and the central controller, the abnormal upgrading interruption caused by the fault of the execution controller is greatly reduced.

Description

Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle
Technical Field
The invention relates to the technical field of vehicles, in particular to a method and a device for upgrading a whole vehicle OTA, electronic equipment and a vehicle.
Background
As the function of software in an automobile is more and more important, the difference of basic hardware of the automobile is smaller and smaller, and the diversity of experience is brought to users through the automobile, and the degree that automobile products meet the demands of users in different scenes is improved. The variability of this experience is largely determined by the software of the car. Through OTA (Over-the-Air Technology) Technology, the repair of defects can be completed remotely and rapidly, the risk brought by vehicle recall is avoided, and through OTA upgrading, new functions can be continuously started for users, and product experience is continuously optimized.
In the related art, the vehicle needs to go to a 4S store for upgrading, so the efficiency is very low, the after-sales operation load is increased, the requirements of wide users are difficult to meet, the user experience is poor, and only whether the CEM (Central Electronic Module, central electronic control module) meets the upgrading conditions is considered, so the upgrading process is easy to terminate abnormally.
Disclosure of Invention
The embodiment of the invention provides a whole car OTA upgrading method, a whole car OTA upgrading device, electronic equipment and a vehicle, and aims to solve or partially solve the problems existing in the background technology.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an entire car OTA upgrading method, applied to a central controller, where the method includes:
under the condition that a request for entering an upgrade mode of the whole vehicle is obtained, judging whether the upgrade requirement of the central controller is met according to the current vehicle condition;
under the condition that the upgrading requirement of the central controller is met, sending self-checking signals to a plurality of execution controllers;
receiving a complete vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal, and judging whether the upgrading requirement of the execution controller is met according to the complete vehicle upgrading mode state signal;
and under the condition that the upgrade requirements of the execution controllers are met, transmitting an upgrade mode starting signal of the whole vehicle to each execution controller, and entering an upgrade flow of the central controller.
Optionally, the request for entering the whole vehicle upgrade mode is obtained by:
acquiring a local whole vehicle upgrade mode entering request through a multimedia user interface;
and/or acquiring a remote whole vehicle upgrading mode entering request through the mobile terminal.
And under the condition that the upgrade request signal of the vehicle is acquired, issuing an upgrade mode end signal to the execution controller.
Optionally, the step of determining whether the upgrade requirement of the central controller is met according to the current vehicle condition includes:
acquiring the current speed, parking state and high-voltage on-state of the vehicle;
and under the condition that the current vehicle speed is zero, the parking state is the off state and the high-voltage power-on state is the on state, determining that the upgrading requirement of the central controller is met.
Optionally, after issuing the whole vehicle upgrade mode start signal to the execution controller and entering the step of the upgrade procedure of the central controller, the method further comprises:
starting an upgrade timer, wherein the upgrade timer is used for recording the actual upgrade time of the central controller, and sending a complete vehicle upgrade mode ending signal and an upgrade state message to the execution controller under the condition that the actual upgrade time is greater than a preset upgrade time threshold;
and/or under the condition that the whole vehicle upgrading mode exit request is acquired, sending a whole vehicle upgrading mode end signal and an upgrading state message to the execution controller.
Optionally, the whole vehicle upgrade mode status signal includes an upgrade mode fault signal and an upgrade mode ready signal; the step of judging whether the upgrade requirement of the execution controller is met or not according to the whole vehicle upgrade mode state signal comprises the following steps:
and under the condition that the state signal of the whole vehicle upgrading mode fed back by each execution controller is an upgrading mode ready signal, determining that the upgrading requirement of the execution controller is met.
In a second aspect, an embodiment of the present invention provides another method for upgrading an entire car OTA, which is applied to an execution controller, and the method includes:
after receiving the self-checking signal sent by the central controller, generating a complete vehicle upgrading mode state signal according to a preset judging condition, and feeding back the complete vehicle upgrading mode state signal to the central controller;
after receiving a whole vehicle upgrading mode starting signal sent by the central controller, entering an upgrading flow of the execution controller;
and after receiving the signal of ending the whole vehicle upgrading mode sent by the central controller, switching the execution controller into a normal working state.
Optionally, the method comprises:
if the upgrade state message sent by the central controller is not received, maintaining the whole vehicle upgrade mode state corresponding to the upgrade state message received last time.
In a third aspect, an embodiment of the present invention provides an entire car OTA upgrading device, where the device includes: the first judging module is used for judging whether the upgrading requirement of the central controller is met according to the current vehicle condition under the condition that the whole vehicle upgrading mode entering request is acquired;
the first sending module is used for sending self-checking signals to the plurality of execution controllers under the condition that the upgrading requirement of the central controller is met;
the second judging module is used for receiving the whole vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal and judging whether the upgrading requirement of the execution controller is met according to the whole vehicle upgrading mode state signal;
and the second sending module is used for sending a whole vehicle upgrading mode starting signal to each execution controller and entering an upgrading flow of the central controller under the condition that the upgrading requirement of the execution controller is met.
In a fourth aspect, an embodiment of the present invention provides another whole-vehicle OTA upgrading device, where the device includes:
the first receiving module is used for generating a complete vehicle upgrading mode state signal according to preset judging conditions after receiving the self-checking signal sent by the central controller and feeding back the complete vehicle upgrading mode state signal to the central controller;
the second receiving module is used for entering an upgrade flow of the execution controller after receiving a whole vehicle upgrade mode starting signal sent by the central controller;
and the third receiving module is used for switching the execution controller into a normal working state after receiving the whole vehicle upgrading mode ending signal sent by the central controller.
A fifth aspect of an embodiment of the present invention provides an electronic device, including:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method steps set forth in the first or second aspect of the embodiments of the present invention.
A sixth aspect of the embodiment of the present invention proposes a vehicle comprising a processor for implementing the method steps according to the first or second aspect of the embodiment of the present invention when executed.
The embodiment of the invention has the following advantages: firstly, under the condition that a request for entering an upgrade mode of the whole vehicle is acquired, judging whether the upgrade requirement of the central controller is met according to the current vehicle condition, and under the condition that the upgrade requirement of the central controller is met, sending self-checking signals to a plurality of execution controllers. And then, receiving a complete vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal, and judging whether the upgrading requirement of the execution controller is met according to the complete vehicle upgrading mode state signal. Finally, the method includes the steps of. And under the condition that the upgrade requirements of the execution controllers are met, transmitting an upgrade mode starting signal of the whole vehicle to each execution controller, and entering an upgrade flow of the central controller. In the application, different upgrading modes are selected through the environment where the user is located, complicated operation is not needed in the upgrading process, and the user can finish upgrading the vehicle without going to a 4S shop through simple operation, so that the convenience level and the use experience of the user are greatly improved. And by judging the double upgrading conditions of the execution controller and the central controller, the abnormal upgrading interruption caused by the fault of the execution controller is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart illustrating steps of a method for upgrading an entire car OTA according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of another method for upgrading an entire OTA according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of an entire OTA upgrading device according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of another whole-car OTA upgrading device according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Firstly, the whole-vehicle OTA upgrading system is described, the whole-vehicle OTA upgrading system comprises a vehicle end and a mobile end, the mobile end can be mobile equipment with a remote communication function such as a mobile phone, the vehicle end comprises a central controller and an execution controller, the central controller can be a CEM (Central Electronic Module, central electronic control module), and the central controller is used for executing vehicle upgrading. The execution controller may include a HUT, a multimedia display host, and a request entry/exit control for the whole car OTA mode. TBOX (Telematics Box, on-board wireless terminal module) for restricting remote functions in a vehicle upgrade mode. AC (Air Conditioning control module) is not operated in the vehicle upgrade mode. ESP (Electronic Stability Program, electronic stability control module), VCU (Vehicle Control System, vehicle control module).
The embodiment of the invention provides a whole-vehicle OTA upgrading method, which is applied to a central controller of a vehicle, referring to fig. 1, fig. 1 shows a step flow chart of the whole-vehicle OTA upgrading method, and the method comprises the following steps:
s101: under the condition that a request for entering an upgrade mode of the whole vehicle is obtained, judging whether the upgrade requirement of the central controller is met according to the current vehicle condition.
In this embodiment, after receiving the update message pushed by the vehicle factory, the user may select different upgrade modes according to the environment where the user is located, and generate upgrade request signals in different modes, which may specifically include the following steps:
s101-1: and acquiring a local whole vehicle upgrade mode entry request through a multimedia user interface.
In this embodiment, when the user obtains the update message pushed by the vehicle factory, if the environment where the user is located is just in the vehicle, the corresponding update key may be triggered by the multimedia display host, a request signal of the local mode update request signal may be generated, and the request signal of the local mode update request signal may be sent to the central controller CEM through the CAN bus.
S101-2: and acquiring a remote whole vehicle upgrading mode entering request through the mobile terminal.
In this embodiment, when the user obtains the update message pushed by the vehicle factory, if the environment in which the user is located is not in the vehicle, and if the user is in a room or other environments, the user may trigger a corresponding upgrade key through the APP of the mobile terminal, generate a request signal of a remote mode upgrade request signal, and send the request signal of the remote mode upgrade request signal to the central controller CEM through the CAN bus.
In the embodiments of S101-1 to S101-2, the mobile terminal may be other authenticated electronic devices, such as a tablet, an intelligent bracelet, and an intelligent watch, in addition to the mobile phone, and based on the above embodiments, the application range of the OTA upgrade method is greatly improved, and the user can select a suitable upgrade scheme according to the actual environment where the user is located, and upgrade the mobile terminal in a suitable time, without being restricted to going to a 4S store for upgrade, so that the time cost and financial cost consumed for going to the 4S store for upgrade are greatly reduced.
After the CEM acquires the request for entering the whole vehicle upgrading mode, the CEM needs to judge whether the upgrading requirement of the CEM is met according to the current vehicle condition information, and the CEM comprises the following specific steps:
s101-3: acquiring the current speed, parking state and high-voltage on-state of the vehicle;
s101-4: and under the condition that the current vehicle speed is zero, the parking state is the off state and the high-voltage power-on state is the on state, determining that the upgrading requirement of the central controller is met.
In the embodiments from S101-3 to S101-4, whether the central controller meets the upgrade requirement is determined by acquiring parameters such as the current speed of the vehicle, the parking state of the vehicle, and the high-voltage power-on state, and the upgrade requirement of the central controller can be determined only when the current speed of the vehicle is zero, the parking state is the off state, and the high-voltage power-on state is the on state, and if any one of the above conditions is the requirement, the central controller does not meet the upgrade requirement and sends a signal of "enter upgrade mode error" to the multimedia display host or the mobile terminal. The method is used for representing the state abnormality of the current central controller to the multimedia display host or the mobile terminal, and cannot meet the upgrading requirement.
S102: and under the condition that the upgrading requirement of the central controller is met, sending self-checking signals to a plurality of execution controllers.
In this embodiment, after the central controller meets the upgrade requirement, that is, after the first heavy upgrade verification is met, each execution controller needs to send a self-checking signal for collecting the status signal of the whole vehicle upgrade mode fed back by each execution controller.
S103: and receiving a complete vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal, and judging whether the upgrading requirement of the execution controller is met according to the complete vehicle upgrading mode state signal.
In this embodiment, after receiving the self-checking signal, the different execution controllers generate the whole vehicle upgrade mode status signal according to different judging parameters and judging conditions, where the whole vehicle upgrade mode status signal includes an upgrade mode fault signal and an upgrade mode readiness signal, and only if the judging conditions of the execution controllers are all satisfied, the corresponding upgrade mode readiness signal is generated.
As an example, for an ESP, when it receives a self-test signal, the current vehicle speed and the state of the electronic parking brake system are acquired, and only if the current vehicle speed is zero and the state of the electronic parking brake system is in the hugging state, it is determined that the ESP is ready for upgrade, i.e., the ESP generates an upgrade mode ready signal, otherwise the ESP generates an upgrade mode fault signal. For TBOX, after the self-test signal is currently received, it does not need other decision conditions, and TBOX directly generates an upgrade mode ready signal. And for the VCU, after the self-checking signal is currently received, the power-on state and the current vehicle speed of the VCU are obtained, and only when the power-on state and the current vehicle speed of the VCU are zero, the VCU can be determined to be ready for upgrading, namely the VCU can generate an upgrade mode ready signal, otherwise, the VCU can generate an upgrade mode fault signal. After receiving the upgrade mode fault signal, the central controller determines that the condition of entering the whole vehicle upgrade mode is not met at present, and pauses the upgrade operation until the fault is eliminated, so that the condition that the upgrade process is terminated due to the fault in the upgrade process is avoided.
And the step that the central controller judges whether the upgrade requirement of the execution controller is met according to the whole vehicle upgrade mode state signal fed back by each execution controller comprises the following steps:
and under the condition that the state signal of the whole vehicle upgrading mode fed back by each execution controller is an upgrading mode ready signal, determining that the upgrading requirement of the execution controller is met.
In this embodiment, only when all the vehicle upgrade mode status signals fed by the execution controller are upgrade mode ready signals, it is determined that the execution controller dimension meets the upgrade requirement, and the vehicle upgrade mode can be entered only when the central controller dimension and the execution controller dimension meet the upgrade requirement. By executing the judgment of the upgrading requirements of the two dimensions of the controller and the central controller, the vehicle can be ensured to the greatest extent not to exit the whole vehicle upgrading mode due to the reason of executing the controller in the upgrading process. And meanwhile, the time consumption caused by frequently exiting the upgrade mode is greatly reduced. Therefore, the upgrading process is simple and quick, and the user experience is greatly improved.
S104: and under the condition that the upgrade requirements of the execution controllers are met, transmitting an upgrade mode starting signal of the whole vehicle to each execution controller, and entering an upgrade flow of the central controller.
In this embodiment, after the central controller sends the entire vehicle upgrade mode start signal to each execution controller and the multimedia display host through the CAN bus, the central controller updates and upgrades the software according to the file downloaded in advance. And the central controller needs to maintain the power mode in an on state after entering the whole vehicle upgrade mode.
In the process of upgrading the central controller, the upgrading time of the central controller needs to be monitored, and the specific steps of the central controller can be as follows:
s104-1: and starting an upgrade timer, wherein the upgrade timer is used for recording the actual upgrade time of the central controller and sending a complete vehicle upgrade mode ending signal and an upgrade state message to the execution controller under the condition that the actual upgrade time is greater than a preset upgrade time threshold value.
In this embodiment, the central controller sends a complete vehicle upgrade mode start signal to each execution controller and the multimedia display host through the CAN bus and starts an upgrade timer, where the upgrade timer is used to record the actual upgrade time of the central controller, and if the actual upgrade time of the central controller exceeds a preset upgrade time threshold, the complete vehicle upgrade mode is exited, and the preset upgrade time threshold may be 30 minutes.
The upgrade process of the central controller is monitored through the upgrade timer, and the whole vehicle upgrade mode is forcedly exited under the condition that the actual upgrade time of the central controller exceeds a preset upgrade time threshold value, so that the situation that the whole vehicle upgrade mode cannot be exited due to the upgrade abnormality of the upgrade process of the central controller is avoided.
S104-2: and under the condition that the whole vehicle upgrading mode exit request is acquired, sending a whole vehicle upgrading mode end signal and an upgrading state message to the execution controller.
In this embodiment, after the central controller finishes the upgrading and then ends the restarting, a signal message is sent to the mobile terminal or the multimedia user interface according to the signal format before restarting, and the mobile terminal or the multimedia user interface can determine that the central controller has finished the upgrading after receiving the signal message. Therefore, the central controller sends a request for ending the whole vehicle upgrading mode exit to the central controller, the central controller sends a signal for ending the whole vehicle upgrading mode to the execution controller, the central controller changes the self mark record, and the execution controller executes a corresponding response strategy after receiving the signal for ending the upgrading mode, so that the whole vehicle upgrading mode is exited. After receiving the exit request of the whole vehicle upgrading mode, the central controller also sends an upgrading state message to each execution controller, wherein the upgrading state message is used for representing whether the current state of the whole vehicle upgrading mode is an entering state or an exiting state.
In one possible implementation, the vehicle upgrade mode exit request may be obtained by:
acquiring a local whole vehicle upgrading mode exit request through a multimedia user interface;
and/or acquiring a remote whole vehicle upgrading mode exit request through the mobile terminal.
The embodiment of the invention provides another whole-vehicle OTA upgrading method, which is applied to an execution controller of a vehicle, referring to fig. 2, fig. 2 shows a step flow chart of another whole-vehicle OTA upgrading method in the embodiment of the invention, and the method comprises the following steps:
s201: after receiving the self-checking signal sent by the central controller, generating a complete vehicle upgrading mode state signal according to a preset judging condition, and feeding back the complete vehicle upgrading mode state signal to the central controller.
In this embodiment, after receiving the self-checking signal, the different execution controllers generate the whole vehicle upgrade mode status signal according to different judging parameters and judging conditions, where the whole vehicle upgrade mode status signal includes an upgrade mode fault signal and an upgrade mode readiness signal, and only if the judging conditions of the execution controllers are all satisfied, the corresponding upgrade mode readiness signal is generated.
As an example, for an ESP, when it receives a self-test signal, the current vehicle speed and the state of the electronic parking brake system are acquired, and only if the current vehicle speed is zero and the state of the electronic parking brake system is in the hugging state, it is determined that the ESP is ready for upgrade, i.e., the ESP generates an upgrade mode ready signal, otherwise the ESP generates an upgrade mode fault signal. For TBOX, after the self-test signal is currently received, it does not need other decision conditions, and TBOX directly generates an upgrade mode ready signal. And for the VCU, after the self-checking signal is currently received, the power-on state and the current vehicle speed of the VCU are obtained, and only when the power-on state and the current vehicle speed of the VCU are zero, the VCU can be determined to be ready for upgrading, namely the VCU can generate an upgrade mode ready signal, otherwise, the VCU can generate an upgrade mode fault signal.
S202: after receiving the whole vehicle upgrading mode starting signal sent by the central controller, entering an upgrading flow of the execution controller.
In this embodiment, for different execution controllers, after receiving the whole vehicle upgrade mode start signal, upgrade response is performed according to a predetermined response policy.
As an example, for the multimedia display host, after it receives the whole vehicle upgrade mode start signal, it should control the instrument screen, other non-central control screen, and the like to display the interface that the vehicle is currently being upgraded. And after the ESP receives the starting signal of the whole vehicle upgrading mode, the parking calipers are required to be in a holding state. For the TBOX, after the TBOX receives the whole vehicle upgrading mode starting signal, the remote control function request issued by the App and the Internet of vehicles platform on the mobile terminal is not responded, and the VCU does not judge the vehicle condition state entering the whole vehicle upgrading mode after the TBOX receives the whole vehicle upgrading mode starting signal; in the whole vehicle upgrade mode, the control of the vehicle is not allowed; because the VCU is in the whole-vehicle upgrade mode, the network segments of other CAN except for the pt_can are in a communication silence state, so that the VCU cannot receive signals of other CAN network segments, the VCU needs to maintain a high voltage in an on state under the condition, and cannot actively switch between a high voltage and a low voltage except for receiving an 'otopowertrain' signal to perform a high-low voltage switching action. If the VCU is restarted after the self-upgrading is finished and the upgrading mode ending signal is not received, the default VCU is in a normal upgrading mode, so that the fault reporting phenomenon caused by abnormal restarting of the VCU is avoided.
S203: and after receiving the signal of ending the whole vehicle upgrading mode sent by the central controller, switching the execution controller into a normal working state.
In this embodiment, after receiving the upgrade mode end signal, the non-execution controller executes a corresponding response policy to change the working state to the normal working state, thereby exiting the whole vehicle upgrade mode. As an example, the ESP, TBOX, and VCU each resume their normal functions after receiving the upgrade mode end signal.
In one possible implementation manner, if the upgrade status message sent by the central controller is not received, the whole vehicle upgrade mode state corresponding to the upgrade status message received last time is maintained.
In this embodiment, if the execution controller does not receive the upgrade status message sent by the central controller, it indicates that there is a fault in the current upgrade process, resulting in an abnormal status of the whole vehicle upgrade mode, so that the status of the whole vehicle upgrade mode corresponding to the upgrade status message received last time needs to be maintained.
The embodiment of the invention also provides a whole-vehicle OTA upgrading device, and referring to fig. 3, a functional module diagram of the whole-vehicle OTA upgrading device is shown, and the device can comprise the following modules:
the first judging module 301 is configured to judge whether an upgrade requirement of the central controller is met according to a current vehicle condition when a request for entering an upgrade mode of the whole vehicle is obtained;
the first sending module 302 is configured to send self-checking signals to a plurality of execution controllers when the upgrade requirement of the central controller is met;
the second judging module 303 is configured to receive the complete vehicle upgrade mode status signal fed back by each execution controller after receiving the self-checking signal, and judge whether the upgrade requirement of the execution controller is met according to the complete vehicle upgrade mode status signal;
and the second sending module 304 is configured to send a signal for starting an upgrade mode of the whole vehicle to each execution controller and enter an upgrade process of the central controller when the upgrade requirement of the execution controller is met.
In one possible implementation, the first determining module includes:
the first access request acquisition sub-module is used for acquiring a local whole vehicle upgrade mode access request through a multimedia user interface;
the second access request acquisition sub-module is used for acquiring a remote whole vehicle upgrading mode access request through the mobile terminal.
And under the condition that the upgrade request signal of the vehicle is acquired, issuing an upgrade mode end signal to the execution controller.
In a possible implementation manner, the first judging module further includes:
the parameter acquisition sub-module is used for acquiring the current speed, the parking state and the high-voltage power-on state of the vehicle;
and the judging sub-module is used for determining that the upgrading requirement of the central controller is met under the conditions that the current vehicle speed is zero, the parking state is the off state and the high-voltage power-on state is the on state.
In a possible embodiment, the apparatus further comprises an exit signal transmission module, the exit signal transmission module comprising:
the first exit request acquisition sub-module is used for starting an upgrade timer, wherein the upgrade timer is used for recording the actual upgrade time of the central controller and sending a complete vehicle upgrade mode ending signal and an upgrade state message to the execution controller under the condition that the actual upgrade time is greater than a preset upgrade time threshold;
the second exit request acquisition sub-module is used for sending a finished vehicle upgrading mode ending signal and an upgrading state message to the execution controller under the condition that the finished vehicle upgrading mode exit request is acquired.
The embodiment of the invention also provides another whole-vehicle OTA upgrading device, and referring to fig. 4, a functional module diagram of the whole-vehicle OTA upgrading device is shown, and the device can comprise the following modules:
the first receiving module 401 is configured to generate a complete vehicle upgrade mode status signal according to a preset judgment condition after receiving the self-checking signal sent by the central controller, and feed back the complete vehicle upgrade mode status signal to the central controller;
the second receiving module 402 is configured to enter an upgrade procedure of the execution controller after receiving a whole vehicle upgrade mode start signal sent by the central controller;
the third receiving module 403 is configured to switch the execution controller to a normal working state after receiving the signal sent by the central controller and indicating that the whole vehicle upgrading mode is over.
In still another embodiment of the present invention, a vehicle is further provided, where the vehicle includes a processor, and the processor is configured to implement the whole vehicle OTA upgrading method as set forth in the first aspect or the second aspect of the embodiments of the present invention when the processor is executed.
Based on the same inventive concept, another embodiment of the present invention provides an electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface, the memory complete communication with each other through the communication bus,
a memory for storing a computer program;
and the processor is used for realizing the whole vehicle OTA upgrading method provided by the first aspect or the second aspect of the embodiment of the invention when executing the program stored in the memory.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The communication interface is used for communication between the terminal and other devices. The memory may include random access memory (Random Access Memory, RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage system located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processing, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In addition, in order to achieve the above objective, an embodiment of the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the whole car OTA upgrading method of the embodiment of the present application.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable vehicles having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create a system for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. "and/or" means either or both of which may be selected. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The whole car OTA upgrading method, device, electronic equipment and vehicle provided by the invention are described in detail, and specific examples are applied to explain the principle and implementation mode of the invention, and the description of the above examples is only used for helping to understand the method and core ideas of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. The whole car OTA upgrading method is characterized by being applied to a central controller, and comprises the following steps:
under the condition that a request for entering an upgrade mode of the whole vehicle is obtained, judging whether the upgrade requirement of the central controller is met according to the current vehicle condition;
under the condition that the upgrading requirement of the central controller is met, sending self-checking signals to a plurality of execution controllers;
receiving a complete vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signals, and judging whether the upgrading requirements of the execution controllers are met according to the complete vehicle upgrading mode state signals;
and under the condition that the upgrading requirements of the execution controllers are met, issuing a whole vehicle upgrading mode starting signal to each execution controller, and entering an upgrading flow of the central controller.
2. The whole car OTA upgrading method according to claim 1 wherein the whole car upgrading mode entering request is obtained by:
acquiring a local whole vehicle upgrade mode entering request through a multimedia user interface;
and/or acquiring a remote whole vehicle upgrading mode entering request through the mobile terminal.
3. The entire car OTA upgrading method according to claim 1 wherein the step of judging whether the upgrading requirement of the central controller is satisfied according to the current car condition comprises:
acquiring the current speed, parking state and high-voltage on-state of the vehicle;
and under the condition that the current vehicle speed is zero, the parking state is a closed state and the high-voltage power-on state is an open state, determining that the upgrading requirement of the central controller is met.
4. The entire car OTA upgrading method according to claim 1 wherein after the step of issuing an entire car upgrading mode start signal to the execution controller and entering an upgrading flow of the central controller, the method further comprises:
starting an upgrade timer, wherein the upgrade timer is used for recording the actual upgrade time of the central controller and sending a complete vehicle upgrade mode ending signal and an upgrade state message to the execution controller under the condition that the actual upgrade time is greater than a preset upgrade time threshold;
and/or under the condition that the whole vehicle upgrading mode exit request is acquired, sending a whole vehicle upgrading mode end signal and an upgrading state message to the execution controller.
5. The whole car OTA upgrade method of claim 1 wherein the whole car upgrade mode status signal includes an upgrade mode failure signal and an upgrade mode ready signal; the step of judging whether the upgrade requirement of the execution controller is met or not according to the whole vehicle upgrade mode state signal comprises the following steps:
and under the condition that the state signal of the whole vehicle upgrading mode fed back by each execution controller is the ready signal of the upgrading mode, determining to meet the upgrading requirement of the execution controller.
6. The whole car OTA upgrading method is characterized by being applied to an execution controller, and comprises the following steps:
after receiving a self-checking signal sent by a central controller, generating a whole vehicle upgrading mode state signal according to a preset judging condition, and feeding back the whole vehicle upgrading mode state signal to the central controller;
after receiving a whole vehicle upgrading mode starting signal sent by the central controller, entering an upgrading flow of the execution controller;
and after receiving the signal of ending the whole vehicle upgrading mode sent by the central controller, switching the execution controller into a normal working state.
7. The entire car OTA upgrading method according to claim 6, characterized in that it comprises:
and if the upgrade state message sent by the central controller is not received, maintaining the whole vehicle upgrade mode state corresponding to the upgrade state message received last time.
8. An entire car OTA upgrading device, characterized by being applied to a central controller, comprising:
the first judging module is used for judging whether the upgrading requirement of the central controller is met according to the current vehicle condition under the condition that the whole vehicle upgrading mode entering request is acquired;
the first sending module is used for sending self-checking signals to the plurality of execution controllers under the condition that the upgrading requirement of the central controller is met;
the second judging module is used for receiving the whole vehicle upgrading mode state signal fed back by each execution controller after receiving the self-checking signal, and judging whether the upgrading requirement of the execution controller is met or not according to the whole vehicle upgrading mode state signal;
and the second sending module is used for sending a whole vehicle upgrading mode starting signal to each execution controller and entering an upgrading flow of the central controller under the condition that the upgrading requirement of the execution controller is met.
9. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the whole car OTA upgrading method according to any one of claims 1-5 or 6-7 when executing the program stored in the memory.
10. A vehicle comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor configured to execute the machine executable instructions to implement the whole vehicle OTA upgrade method of any one of claims 1-5 or 6-7.
CN202211490930.0A 2022-11-25 2022-11-25 Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle Pending CN116126368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211490930.0A CN116126368A (en) 2022-11-25 2022-11-25 Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211490930.0A CN116126368A (en) 2022-11-25 2022-11-25 Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle

Publications (1)

Publication Number Publication Date
CN116126368A true CN116126368A (en) 2023-05-16

Family

ID=86308926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211490930.0A Pending CN116126368A (en) 2022-11-25 2022-11-25 Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle

Country Status (1)

Country Link
CN (1) CN116126368A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996866A (en) * 2023-09-27 2023-11-03 上海艾拉比智能科技有限公司 Threshold-based fusible car-end OTA upgrading method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116996866A (en) * 2023-09-27 2023-11-03 上海艾拉比智能科技有限公司 Threshold-based fusible car-end OTA upgrading method
CN116996866B (en) * 2023-09-27 2024-02-02 上海艾拉比智能科技有限公司 Threshold-based fusible car-end OTA upgrading method

Similar Documents

Publication Publication Date Title
US8655541B2 (en) Vehicle upgrade system and method thereof
JP6332580B1 (en) Control device, program update method, and computer program
US11288156B2 (en) Control apparatus, control method, and computer program
CN112104702B (en) Power management method for vehicle TBOX, vehicle TBOX and medium
US10625754B2 (en) Control apparatus, control method, and computer program
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN102591676A (en) Online update method for vehicle-mounted device
US20210132937A1 (en) Vehicle control device, program update method, and program update system
CN108638866B (en) Power-on and power-off control method, device and system for electric automobile
CN116126368A (en) Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle
WO2018142749A1 (en) Control device, program updating method, and computer program
KR102109125B1 (en) Method for managing state of ECU in vehicle based on automotive open system architecture
CN114675855A (en) Vehicle software remote upgrading method and device and platform equipment
CN113050960A (en) OTA (over the air) upgrading method and device, vehicle-mounted terminal and storage medium
CN116257270A (en) Vehicle, upgrading method and device of vehicle
CN113805920A (en) OTA (over the air) upgrading method and upgrading device
CN112650511A (en) OTA (over the air) update control method and system
CN110618826A (en) Method and device for updating application program and terminal equipment
US20240078104A1 (en) Vehicle Software Update System and Method Thereof
CN116149906A (en) Backup method and device for vehicle mileage information, vehicle and storage medium
CN116594344A (en) Vehicle remote control method, system, vehicle and storage medium
CN117950696A (en) Control method, device and medium for vehicle OTA upgrade
CN117762452A (en) Vehicle software upgrading method, device, terminal equipment and storage medium
CN115972975A (en) Battery power shortage early warning method and device, electronic equipment and readable storage medium
CN114610003A (en) Vehicle diagnosis method, apparatus, device, and medium

Legal Events

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