CN112104702A - Power supply management method for vehicle TBOX, and medium - Google Patents
Power supply management method for vehicle TBOX, and medium Download PDFInfo
- Publication number
- CN112104702A CN112104702A CN202010829305.9A CN202010829305A CN112104702A CN 112104702 A CN112104702 A CN 112104702A CN 202010829305 A CN202010829305 A CN 202010829305A CN 112104702 A CN112104702 A CN 112104702A
- Authority
- CN
- China
- Prior art keywords
- tbox
- ota
- mode
- vehicle
- upgrading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L3/00—Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
- H04L12/40039—Details regarding the setting of the power status of a node according to activity on the bus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Life Sciences & Earth Sciences (AREA)
- Sustainable Development (AREA)
- Sustainable Energy (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to a power supply management method of a vehicle TBOX, the vehicle TBOX and a medium, wherein the method comprises the following steps: when the whole vehicle is powered on, if the system voltage of the TBOX is in a normal voltage range, the TBOX enters a full-function working state; when the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters a semi-functional working state; if and only if the TBOX is in a full-function working state, the TBOX enters a local mode to execute a new OTA upgrading task issued by the OTA server; and TBOX enters network mode to maintain CAN network in awake state; when the whole vehicle is powered off, if the whole vehicle meets the preset sleep condition, the TBOX exits from the local mode and the network mode, and a sleep process is executed. The invention can reasonably manage the vehicle TBOX power supply for realizing OTA upgrading of the ECU based on the TBOX.
Description
Technical Field
The invention relates to the technical field of vehicle TBOX, in particular to a power supply management method of the vehicle TBOX, the vehicle TBOX and a computer readable storage medium.
Background
In some vehicle-end platform schemes with TBOX as OTA upgrading main flash nodes, the TBOX is responsible for interacting with a cloud end, and functions of ECU upgrading software downloading, storage, safe access, upgrading and downgrading software interfaces, failure control, upgrading package differential reduction, upgrading management and the like are achieved. In OTA design of the in-vehicle network, TBOX is responsible for detecting upgrade conditions, preparing upgrade environment, transmitting and refreshing ECU software, reporting upgrade results, exiting upgrade tasks and the like.
OTA technology is firstly applied to PC, is later widely applied to the mobile phone industry, and only in recent years is the OTA technology widely applied to the automobile industry. Most OTA upgrade car end schemes at present only focus on interaction between TBOX terminals and the cloud. The OTA upgrading scheme in the vehicle interior network is designed without considering the difference among different types of vehicle-mounted communication networks, such as a Controller Area Network (CAN), a Local Internet (LIN), a media system transmission (MOST), an Ethernet and the like; TBOX is not considered as a vehicle networking communication terminal, the specificity of its power management scheme.
Disclosure of Invention
The invention aims to provide a power supply management method of a vehicle TBOX, the vehicle TBOX and a computer readable storage medium, so as to reasonably manage TBOX power supply of the vehicle for realizing OTA upgrading of an ECU based on the TBOX.
To achieve the above object, according to a first aspect, an embodiment of the present invention proposes a power supply management method for a vehicle TBOX, including:
when the whole vehicle is powered on, if the system voltage of the TBOX is in a normal voltage range, the TBOX enters a full-function working state; if the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters a semi-functional working state;
when the TBOX is in a full-function working state, the TBOX receives a new OTA upgrading task notification issued by an OTA server, judges whether an incomplete upgrading task exists locally or not according to the notification, and if so, does not execute the new OTA upgrading task corresponding to the notification; if not, the TBOX enters a local mode to execute a new OTA upgrading task corresponding to the notification; and, TBOX enters network mode to maintain CAN network in awake state;
when the TBOX is in a semi-functional working state, the TBOX stops receiving a new OTA upgrading task notification sent by an OTA server;
when the whole vehicle is powered off, if the whole vehicle meets the preset sleep condition, the TBOX exits from the local mode and the network mode, and a sleep process is executed.
Preferably, the executing the new OTA upgrade task corresponding to the notification includes:
the TBOX downloads a software upgrading package for upgrading tasks from the OTA server according to the notification, and normally executes the Internet of vehicles function in the downloading process;
after the downloading of the software upgrading package is finished, the TBOX acquires the current state information of the vehicle, judges whether the upgrading condition is met or not according to the current state information of the vehicle, if so, the TBOX requests the whole vehicle to enter an OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX continues to execute the current unfinished networking function, stops the locally-operated networking function, and executes a new OTA upgrading task according to the software upgrading package to refresh the target ECU; and the TBOX stops responding to any other instruction sent by the OTA server.
Preferably, the executing the new OTA upgrade task corresponding to the notification includes:
and when the TBOX determines that the target ECU is successfully refreshed according to the software version number of the ECU, the TBOX requests the whole vehicle to exit the OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, restores the running vehicle networking function and responds to a new instruction issued by the OTA server.
Preferably, the TBOX requests the entire vehicle to enter the OTA mode, including:
and the TBOX sends first request information for entering the OTA mode to a central gateway of the vehicle, wherein the request information is used for the central gateway to generate a mode control signal for entering the OTA mode, and the mode control signal is broadcasted to other functional units of the whole vehicle so that the whole vehicle enters the OTA mode.
Preferably, the TBOX requesting the entire vehicle to exit the OTA mode includes:
the TBOX sends second request information for exiting the OTA mode to the central gateway, detects a mode control signal broadcasted by the central gateway, and determines whether to finish the current upgrading task according to the detected mode control signal; wherein: if the detected mode control signal is the mode of exiting the OTA, ending the current upgrading task; if the detected mode control signal is to enter the OTA mode, sending second request information for exiting the OTA mode to the central gateway again, detecting the mode control signal broadcasted by the central gateway again, and determining whether to finish the current upgrading task according to the detected mode control signal again;
the second request information is used for the central gateway to generate a mode control signal for exiting the OTA mode, and the mode control signal for exiting the OTA mode is broadcasted to other functional units of the whole vehicle so that the whole vehicle exits the OTA mode.
Preferably, the executing the new OTA upgrade task corresponding to the notification includes:
when the TBOX determines that the target ECU is successfully refreshed or unsuccessfully refreshed according to the software version number of the ECU, the TBOX reports the upgrading result of the upgrading task to the OTA server; and in the process of reporting the upgrading result of the upgrading task to the OTA server, if the TBOX executes the dormancy process, the reporting of the current upgrading result is abandoned, and the upgrading result is reported again in the next ignition cycle process of the vehicle.
Preferably, the executing the new OTA upgrade task corresponding to the notification includes:
and if the target ECU is not refreshed successfully within the first preset time after the target ECU is refreshed, the TBOX requests the whole vehicle to exit the OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, recovers the running vehicle networking function and responds to a new command issued by the OTA server.
Preferably, the executing the new OTA upgrade task corresponding to the notification includes:
and if the finished automobile enters the OTA mode and the central gateway does not receive second request information of a TBOX (tunnel boring machine) request that the finished automobile exits the OTA mode within second preset time, generating a mode control signal for exiting the OTA mode by the central gateway, and broadcasting the mode control signal to other functional units of the finished automobile so as to enable the finished automobile to exit the OTA mode.
According to a second aspect, an embodiment of the present invention provides a vehicle TBOX, including: a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the power management method for a vehicle TBOX according to the first aspect.
According to a third aspect, an embodiment of the present invention proposes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the power supply management method for a vehicle TBOX according to the first aspect.
The embodiment of the invention provides a power supply management method of a vehicle TBOX, the vehicle TBOX and a computer readable storage medium, wherein when the system voltage of the TBOX is in a normal voltage range, the TBOX enters a full-function working state; when the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters a semi-functional working state; only when the TBOX is in a full-function working state, the TBOX receives a new OTA upgrading task notification issued by an OTA server, judges whether an uncompleted upgrading task exists locally according to the notification, and if so, does not execute the new OTA upgrading task corresponding to the notification; if not, the TBOX enters a local mode to execute a new OTA upgrading task corresponding to the notification; and, TBOX enters network mode to maintain CAN network in awake state; wherein, when TBOX exits from the local mode and the network mode, TBOX executes a sleep flow. When the TBOX is in the semi-functional working state, the TBOX does not receive a new OTA upgrading task notice issued by the OTA server and does not execute any related instruction of OTA upgrading. The TBOX power supply of the vehicle for realizing OTA upgrading of the ECU based on the TBOX is reasonably managed, the whole vehicle and the TBOX terminal enter a dormant state after the OTA upgrading process is executed, and the phenomenon of vehicle power shortage or other unsafe influences caused by the occurrence of a vehicle network or terminal which is not dormant is avoided.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a power management method for a vehicle TBOX according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a power management method for a vehicle TBOX in an embodiment of the present invention.
Fig. 3 is a schematic diagram of a network mode and a local mode of a power management method for a vehicle TBOX in an embodiment of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In addition, numerous specific details are set forth in the following specific examples in order to better illustrate the invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, well known means have not been described in detail so as not to obscure the present invention.
Referring to fig. 1, an embodiment of the present invention provides a power management method for a vehicle TBOX, including the following steps:
step S1, when the whole vehicle is electrified, if the system voltage of the TBOX is in the normal voltage range, the TBOX enters a full-function working state; if the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters a semi-functional working state;
specifically, referring to fig. 2, when the entire vehicle is in a power-on state, the system voltage of the TBOX is detected, and whether the system voltage of the TBOX is in a normal voltage range is determined, where the normal voltage range is a voltage fluctuation range when the TBOX normally works, and a specific voltage value range thereof may be preset according to actual working voltage data.
Wherein, the full-function working state comprises: CAN enables, mobile communication module enables, backup battery charging enables, other peripheral interfaces enable, car networking full-function enables, OTA enables;
wherein the semi-functional operating state comprises: CAN enables, mobile communication module enables, and the backup battery charges to enable, and only partial peripheral interface enables, and car networking part function enables, and OTA does not enable.
Step S21, when TBOX is in full function working state, TBOX receives new OTA upgrade task notification sent by OTA server, and judges whether there is unfinished upgrade task locally according to the notification, if yes, TBOX does not execute the new OTA upgrade task corresponding to the notification; if not, the TBOX enters a local mode to execute a new OTA upgrading task corresponding to the notification; and, TBOX enters network mode to maintain CAN network in awake state;
specifically, referring to fig. 3, in this embodiment, if and only if the TBOX is in the full-function working state, the OTA upgrade function is enabled, and at this time, the TBOX loads the OTA component, and the OTA component is configured to receive a new OTA upgrade task notification issued by the OTA server, and determine whether there is an incomplete upgrade task locally according to the notification, and if so, the TBOX does not execute the new OTA upgrade task corresponding to the notification; if not, the TBOX enters a local mode to execute a new OTA upgrading task corresponding to the notification; furthermore, since the OTA upgrade is to refresh the software of the target ECU through the CAN network, TBOX also needs to enter network mode to maintain the CAN network in wake-up state.
When the OTA server deploys an upgrade task or locally has the upgrade task, the OTA can normally communicate with the OTA server after the TBOX and the OTA server complete security authentication. The OTA server cannot actively wake up the TBOX for OTA upgrade communication because a new OTA task is deployed in the background. The OTA upgrading task adopts a serial working mode, and when the T-Box receives a new upgrading task notice, whether an incomplete upgrading task exists locally needs to be checked. The completion condition of the upgrading task only comprises two conditions of upgrading completion and task expiration. If there are incomplete upgrade tasks locally, the new upgrade task cannot start. This step will trigger the upgrade task according to the task attribute.
Step S22, when TBOX is in the semi-function working state, TBOX stops receiving the new OTA upgrade task notice issued by the OTA server;
specifically, when TBOX is in a semi-functional operating state, OTA is not enabled, and TBOX does not load OTA components, thus stopping receiving new OTA upgrade task notifications issued by the OTA server.
And step S3, when the whole vehicle is powered off, if the whole vehicle meets the preset sleep condition, the TBOX exits the local mode and the network mode, and a sleep process is executed.
Specifically, the OTA component in this embodiment is limited to operating in a fully functional state at TBOX, and is not enabled when TBOX is in a sleep state or when system voltage is abnormal. In the non-OTA mode, after receiving a TBOX sleep request, the OTA component needs to immediately perform data storage and quit the work. When the full-function state is switched to the sleep state, whether the OTA mode exits or not needs to be judged besides whether the sleep condition is met or not.
In the embodiment, after the whole vehicle is in a power-off state and the whole vehicle network meets the sleep condition, whether an OTA component for executing an OTA upgrade task and the OTA upgrade task of the TBOX are in abnormal states or not is judged through a network mode and local mode exit mechanism, and the TBOX is ensured to finally execute CAN network sleep and terminal sleep processes, so that the safety of power supply management of the whole vehicle and the TBOX terminal after the OTA upgrade process is executed is ensured.
Based on the above description, the method of the embodiment is applied to the vehicle for realizing the OTA upgrade of the ECU based on the TBOX, and can reasonably manage the TBOX power supply of the vehicle, ensure that the whole vehicle and the TBOX terminal enter a sleep state after the OTA upgrade process is executed, and avoid the phenomenon of vehicle power loss or other unsafe influences caused by the occurrence of a non-sleep vehicle network or terminal.
In some embodiments, the executing the new OTA upgrade task corresponding to the notification includes:
step a1, the TBOX downloads the software upgrading package for upgrading task from the OTA server according to the notice, and the TBOX normally executes the function of Internet of vehicles in the downloading process;
specifically, after receiving the OTA server upgrade package download notification, the TBOX acquires the relevant attributes of the task to be upgraded, including: task ID, upgrade summary, expected time required for update, upgrade policy, upgrade type, target ECU, target version, etc. And then downloading the software upgrading package of the upgrading task. The step of downloading the upgrade package does not influence the normal execution of the TBOX vehicle networking function, and the upgrade package downloading supports the breakpoint continuous transmission of the file. And after the upgrade package is downloaded, the upgrade package is checked, and after the upgrade package passes the check, the T-Box determines the next action according to the task attribute.
A2, after finishing the download of the software upgrade package, the TBOX acquires the current state information of the vehicle, and judges whether the upgrade condition is satisfied according to the current state information of the vehicle, if so, the TBOX requests the whole vehicle to enter an OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX continues to execute the current unfinished networking function, stops the locally operated networking function, and executes a new OTA upgrade task according to the software upgrade package to refresh the target ECU; and the TBOX stops responding to any other instruction sent by the OTA server.
Specifically, before executing the upgrade task, it is necessary to perform an upgrade environment preparation work, and detecting whether the vehicle upgrade condition is satisfied includes: the method comprises the following steps of key switch state, zero vehicle speed, parking position, full storage battery residual charge/normal storage battery voltage, non-charging state of the new energy vehicle and non-running state of a motor/engine. After entering the OTA mode, the functions of the whole vehicle are limited, and the TBOX needs to execute the existing car networking functions, and refuse to execute any newly issued cloud functions and stop the car networking functions running locally.
After the upgrading environment is ready, the OTA component transmits the ECU software file to the MCU side, after the file transmission is finished, the MCU side carries out secondary verification on file integrity, and after the verification is passed, the OTA component is informed that the ECU software transmission is finished. After the OTA component informs the MCU that software refreshing CAN be started, the TBOX firstly enables the CAN network where the target ECU is located to stop sending all application messages, the influence on message refreshing communication in the refreshing and upgrading process is avoided, and then target software version refreshing and upgrading are carried out on the target ECU according to the diagnosis refreshing standard of a host factory. If the mid-stream refresh fails, TBOX will initiate a refresh retry, at most twice. Similarly, this step requires refusing to execute any newly issued function at the cloud and stopping the car networking function running locally. In addition, TBOX must be maintained in a full-function working state in the whole process of the step, and the CAN network is maintained in an awakening state.
In some embodiments, the executing the new OTA upgrade task corresponding to the notification includes:
and step b, when the TBOX determines that the target ECU is successfully refreshed according to the software version number of the ECU, the TBOX requests the whole vehicle to exit the OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, resumes the operation of the Internet of vehicles function, and responds to a new instruction issued by the OTA server.
In some embodiments, the TBOX requests the entire vehicle to enter OTA mode, including:
and step c, the TBOX sends first request information for entering the OTA mode to a central gateway of the vehicle, wherein the request information is used for the central gateway to generate a mode control signal for entering the OTA mode, and the mode control signal is broadcasted to other functional units of the whole vehicle so that the whole vehicle enters the OTA mode.
Specifically, in the steps, the TBOX and the central gateway complete safety authentication, request the whole vehicle to enter an OTA upgrading mode, and then the central gateway completes the whole vehicle OTA mode broadcasting and entering steps.
In some embodiments, the TBOX requesting that the entire vehicle exit OTA mode includes:
d, the TBOX sends second request information for exiting the OTA mode to a central gateway of the vehicle, detects a mode control signal broadcasted by the central gateway, and determines whether to finish the current upgrading task according to the detected mode control signal; wherein: if the detected mode control signal is the mode of exiting the OTA, ending the current upgrading task; if the detected mode control signal is to enter the OTA mode, sending second request information for exiting the OTA mode to the central gateway again, detecting the mode control signal broadcasted by the central gateway again, and determining whether to finish the current upgrading task according to the detected mode control signal again;
the second request information is used for the central gateway to generate a mode control signal for exiting the OTA mode, and the mode control signal for exiting the OTA mode is broadcasted to other functional units of the whole vehicle so that the whole vehicle exits the OTA mode.
Specifically, after the TBOX confirms that the refresh is completed, the TBOX transmits an exit OTA mode request, i.e., second request information, to the central gateway of the vehicle, and detects a mode control signal broadcast by the central gateway within 3 seconds after the second request information is transmitted. If normal exit is not detected within 3s, the upgrade task is initiated again, the number of attempts is at most 3, and finally the upgrade task is ended no matter whether the normal exit is detected or not.
In some embodiments, the executing the new OTA upgrade task corresponding to the notification includes:
step e, after the TBOX determines that the target ECU is successfully refreshed or unsuccessfully refreshed according to the software version number of the ECU, the TBOX reports the upgrading result of the upgrading task to the OTA server; and in the process of reporting the upgrading result of the upgrading task to the OTA server, if the TBOX executes the dormancy process, the reporting of the current upgrading result is abandoned, and the upgrading result is reported again in the next ignition cycle process of the vehicle.
Specifically, the OTA component can maintain normal communication with the server during the refresh process, periodically reporting the upgrade progress. After the refreshing is finished, before the TBOX executes the sleeping process, the TBOX can confirm whether the upgrading task is finished or not by reading back the version number of the target ECU software, and reports the final upgrading state. If the upgrade result is not reported before dormancy, the upgrade result is abandoned, and the next ignition cycle is reported on opportunity.
In some embodiments, the executing the new OTA upgrade task corresponding to the notification includes:
and step f, if the target ECU is refreshed after the target ECU is started, the TBOX can not refresh the software of the target ECU successfully within a first preset time, the whole vehicle is requested to exit the OTA mode by the TBOX, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, recovers the running vehicle networking function and responds to a new command issued by the OTA server.
Specifically, if the target ECU fails to be successfully refreshed within a first predetermined time (e.g., the expected update required time multiplied by 3), TBOX will likewise send an exit OTA mode request to the central gateway. After the whole vehicle exits the OTA mode, the whole vehicle function and network communication are recovered to be normal, and the TBOX can autonomously decide to execute a dormancy awakening process.
In some embodiments, the executing the new OTA upgrade task corresponding to the notification includes:
and g, if the whole vehicle enters the OTA mode and the central gateway does not receive second request information of a TBOX (tunnel boring machine) request that the whole vehicle exits the OTA mode within second preset time, generating a mode control signal for exiting the OTA mode by the central gateway, and broadcasting the mode control signal to other functional units of the whole vehicle so as to enable the whole vehicle to exit the OTA mode.
Specifically, if TBOX fails to initiate an exit OTA mode request within a specified time (Tmax, the maximum time required for OTA upgrade and retry), the central gateway eventually needs to broadcast a mode control signal to the entire vehicle to exit OTA mode.
According to the embodiment of the invention, a reasonable power management method is designed for the OTA upgrading scheme, and the conditions of ensuring that the OTA can run independently without influencing the normal use of the Internet of vehicles function of a user, ensuring that the self-refreshing task of the local ECU can be successfully executed and completed, ensuring that the OTA vehicle-end power management scheme, particularly the dormancy awakening process, is reasonably executed and the like are considered. The vehicle networking function and the CAN network are decoupled through the local mode and the network mode, and the CAN network is awakened and maintained as required according to the specific vehicle networking function. And in the design of classifying the OTA into the local mode, the OTA and the vehicle networking function are cooperatively managed, mutual exclusion design is realized when the OTA mode is entered, the vehicle networking function is stopped to be executed, and the smooth execution of an OTA upgrading task is ensured. When the whole vehicle is in a power-off state, and the whole vehicle network meets a dormancy condition, whether an OTA component and an OTA upgrading task are in an abnormal state or not is judged through a network mode and local mode exit mechanism, the TBOX is ensured to finally execute CAN network dormancy and terminal dormancy processes, and therefore the safety of power supply management of the whole vehicle and the TBOX terminal after the OTA upgrading process is executed is ensured.
Another embodiment of the present invention also proposes a vehicle TBOX including: a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the power management method for a vehicle TBOX according to the above embodiments.
Of course, the computer device may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the computer device may also include other components for implementing the functions of the device, which are not described herein again.
Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the computer device.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is the control center for the computer device and connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used for storing the computer program and/or unit, and the processor may implement various functions of the computer device by executing or executing the computer program and/or unit stored in the memory and calling data stored in the memory. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Another embodiment of the present invention also proposes a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the power supply management method for a vehicle TBOX described in the above-described embodiment.
Specifically, the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. A power supply management method for a vehicle TBOX, characterized by comprising:
when the whole vehicle is powered on, if the system voltage of the TBOX is in a normal voltage range, the TBOX enters a full-function working state; if the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters a semi-functional working state;
when the TBOX is in a full-function working state, the TBOX receives a new OTA upgrading task notification issued by an OTA server, judges whether an incomplete upgrading task exists locally or not according to the notification, and if so, does not execute the new OTA upgrading task corresponding to the notification; if not, the TBOX enters a local mode to execute a new OTA upgrading task corresponding to the notification; and, TBOX enters network mode to maintain CAN network in awake state;
when the TBOX is in a semi-functional working state, the TBOX stops receiving a new OTA upgrading task notification sent by an OTA server;
when the whole vehicle is powered off, if the whole vehicle meets the preset sleep condition, the TBOX exits from the local mode and the network mode, and a sleep process is executed.
2. The power management method for the vehicle TBOX according to claim 1, wherein the executing of the new OTA upgrade task corresponding to the notification comprises:
the TBOX downloads a software upgrading package for upgrading tasks from the OTA server according to the notification, and normally executes the Internet of vehicles function in the downloading process;
after the downloading of the software upgrading package is finished, the TBOX acquires the current state information of the vehicle, judges whether the upgrading condition is met or not according to the current state information of the vehicle, if so, the TBOX requests the whole vehicle to enter an OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX continues to execute the current unfinished networking function, stops the locally-operated networking function, and executes a new OTA upgrading task according to the software upgrading package to refresh the target ECU; and the TBOX stops responding to any other instruction sent by the OTA server.
3. The power management method for the vehicle TBOX according to claim 2, wherein the executing of the new OTA upgrade task corresponding to the notification comprises:
and when the TBOX determines that the target ECU is successfully refreshed according to the software version number of the ECU, the TBOX requests the whole vehicle to exit the OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, restores the running vehicle networking function and responds to a new instruction issued by the OTA server.
4. The power management method of a vehicle TBOX of claim 3, wherein said TBOX requests that the vehicle enter OTA mode, including:
and the TBOX sends first request information for entering the OTA mode to a central gateway of the vehicle, wherein the request information is used for the central gateway to generate a mode control signal for entering the OTA mode, and the mode control signal is broadcasted to other functional units of the whole vehicle so that the whole vehicle enters the OTA mode.
5. The method for power management of a vehicle TBOX of claim 3, wherein the TBOX requests that the entire vehicle exit OTA mode, comprising:
the TBOX sends second request information for exiting the OTA mode to the central gateway, detects a mode control signal broadcasted by the central gateway, and determines whether to finish the current upgrading task according to the detected mode control signal; wherein: if the detected mode control signal is the mode of exiting the OTA, ending the current upgrading task; if the detected mode control signal is to enter the OTA mode, sending second request information for exiting the OTA mode to the central gateway again, detecting the mode control signal broadcasted by the central gateway again, and determining whether to finish the current upgrading task according to the detected mode control signal again;
the second request information is used for the central gateway to generate a mode control signal for exiting the OTA mode, and the mode control signal for exiting the OTA mode is broadcasted to other functional units of the whole vehicle so that the whole vehicle exits the OTA mode.
6. The power management method for the vehicle TBOX according to claim 2, wherein the executing of the new OTA upgrade task corresponding to the notification comprises:
when the TBOX determines that the target ECU is successfully refreshed or unsuccessfully refreshed according to the software version number of the ECU, the TBOX reports the upgrading result of the upgrading task to the OTA server; and in the process of reporting the upgrading result of the upgrading task to the OTA server, if the TBOX executes the dormancy process, the reporting of the current upgrading result is abandoned, and the upgrading result is reported again in the next ignition cycle process of the vehicle.
7. The power management method for the vehicle TBOX according to claim 2, wherein the executing of the new OTA upgrade task corresponding to the notification comprises:
and if the target ECU is not refreshed successfully within the first preset time after the target ECU is refreshed, the TBOX requests the whole vehicle to exit the OTA mode, and when the whole vehicle responds to the request to enter the OTA mode, the TBOX finishes the current upgrading task, recovers the running vehicle networking function and responds to a new command issued by the OTA server.
8. The power management method for the vehicle TBOX according to claim 2, wherein the executing of the new OTA upgrade task corresponding to the notification comprises:
and if the finished automobile enters the OTA mode and the central gateway does not receive second request information of a TBOX (tunnel boring machine) request that the finished automobile exits the OTA mode within second preset time, generating a mode control signal for exiting the OTA mode by the central gateway, and broadcasting the mode control signal to other functional units of the finished automobile so as to enable the finished automobile to exit the OTA mode.
9. A vehicle TBOX comprising: a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the power management method for a vehicle TBOX according to any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the steps of a power management method for a vehicle TBOX according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010829305.9A CN112104702B (en) | 2020-08-18 | 2020-08-18 | Power management method for vehicle TBOX, vehicle TBOX and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010829305.9A CN112104702B (en) | 2020-08-18 | 2020-08-18 | Power management method for vehicle TBOX, vehicle TBOX and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112104702A true CN112104702A (en) | 2020-12-18 |
CN112104702B CN112104702B (en) | 2023-09-12 |
Family
ID=73754388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010829305.9A Active CN112104702B (en) | 2020-08-18 | 2020-08-18 | Power management method for vehicle TBOX, vehicle TBOX and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112104702B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113364867A (en) * | 2021-06-03 | 2021-09-07 | 前海七剑科技(深圳)有限公司 | Vehicle upgrading method, device, equipment, vehicle and storage medium |
CN113448604A (en) * | 2021-05-28 | 2021-09-28 | 江铃汽车股份有限公司 | OTA (over the air) flashing method, OTA flashing system, readable storage medium and vehicle |
CN113504771A (en) * | 2021-07-16 | 2021-10-15 | 东风小康汽车有限公司重庆分公司 | Controller upgrading method and system |
CN113665498A (en) * | 2020-05-15 | 2021-11-19 | 广州汽车集团股份有限公司 | Storage battery anti-feed system and control method thereof |
CN113760326A (en) * | 2021-07-21 | 2021-12-07 | 江铃汽车股份有限公司 | Upgrading method and device, readable storage medium and vehicle |
CN113771780A (en) * | 2021-09-24 | 2021-12-10 | 北谷电子有限公司 | Method for TBOX to enter enhanced networking dormancy and TBOX |
CN114816474A (en) * | 2022-04-18 | 2022-07-29 | 重庆长安汽车股份有限公司 | Power supply management method under abnormal vehicle OTA (over the air) upgrading condition |
CN117293973A (en) * | 2023-11-21 | 2023-12-26 | 合众新能源汽车股份有限公司 | Power management method of domain controller and domain controller |
US12008356B2 (en) | 2022-03-04 | 2024-06-11 | Honda Motor Co., Ltd. | Multiple communication protocol coexistence |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180376309A1 (en) * | 2015-12-09 | 2018-12-27 | Clarion Co., Ltd. | Information Transfer System, Vehicle-Mounted Terminal, and Information Transfer Method |
CN109842676A (en) * | 2019-01-18 | 2019-06-04 | 广州小鹏汽车科技有限公司 | Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing |
CN110381070A (en) * | 2019-07-24 | 2019-10-25 | 成都大运汽车集团有限公司 | A kind of automobile intelligent controlling terminal system and method |
CN110971661A (en) * | 2019-10-22 | 2020-04-07 | 浙江合众新能源汽车有限公司 | Whole vehicle network dormancy management method and whole vehicle network |
CN111038413A (en) * | 2020-01-15 | 2020-04-21 | 江铃汽车股份有限公司 | Vehicle mode logic control and switching method |
CN111332229A (en) * | 2020-03-11 | 2020-06-26 | 上海度普新能源科技有限公司 | Vehicle control method and device, storage medium and electronic equipment |
-
2020
- 2020-08-18 CN CN202010829305.9A patent/CN112104702B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180376309A1 (en) * | 2015-12-09 | 2018-12-27 | Clarion Co., Ltd. | Information Transfer System, Vehicle-Mounted Terminal, and Information Transfer Method |
CN109842676A (en) * | 2019-01-18 | 2019-06-04 | 广州小鹏汽车科技有限公司 | Aerial download control method, electronic equipment, automobile and readable storage medium storing program for executing |
CN110381070A (en) * | 2019-07-24 | 2019-10-25 | 成都大运汽车集团有限公司 | A kind of automobile intelligent controlling terminal system and method |
CN110971661A (en) * | 2019-10-22 | 2020-04-07 | 浙江合众新能源汽车有限公司 | Whole vehicle network dormancy management method and whole vehicle network |
CN111038413A (en) * | 2020-01-15 | 2020-04-21 | 江铃汽车股份有限公司 | Vehicle mode logic control and switching method |
CN111332229A (en) * | 2020-03-11 | 2020-06-26 | 上海度普新能源科技有限公司 | Vehicle control method and device, storage medium and electronic equipment |
Non-Patent Citations (1)
Title |
---|
李锐; 杜贵锋; 谢祥东: "商用车FOTA人机交互设计", 《汽车电器》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113665498A (en) * | 2020-05-15 | 2021-11-19 | 广州汽车集团股份有限公司 | Storage battery anti-feed system and control method thereof |
CN113665498B (en) * | 2020-05-15 | 2024-06-14 | 广州汽车集团股份有限公司 | Battery power-preventing system and control method for battery power-preventing system |
CN113448604A (en) * | 2021-05-28 | 2021-09-28 | 江铃汽车股份有限公司 | OTA (over the air) flashing method, OTA flashing system, readable storage medium and vehicle |
CN113448604B (en) * | 2021-05-28 | 2023-03-31 | 江铃汽车股份有限公司 | OTA (over the air) flashing method, OTA flashing system, readable storage medium and vehicle |
CN113364867A (en) * | 2021-06-03 | 2021-09-07 | 前海七剑科技(深圳)有限公司 | Vehicle upgrading method, device, equipment, vehicle and storage medium |
CN113504771A (en) * | 2021-07-16 | 2021-10-15 | 东风小康汽车有限公司重庆分公司 | Controller upgrading method and system |
CN113760326A (en) * | 2021-07-21 | 2021-12-07 | 江铃汽车股份有限公司 | Upgrading method and device, readable storage medium and vehicle |
CN113771780A (en) * | 2021-09-24 | 2021-12-10 | 北谷电子有限公司 | Method for TBOX to enter enhanced networking dormancy and TBOX |
US12008356B2 (en) | 2022-03-04 | 2024-06-11 | Honda Motor Co., Ltd. | Multiple communication protocol coexistence |
CN114816474A (en) * | 2022-04-18 | 2022-07-29 | 重庆长安汽车股份有限公司 | Power supply management method under abnormal vehicle OTA (over the air) upgrading condition |
CN117293973A (en) * | 2023-11-21 | 2023-12-26 | 合众新能源汽车股份有限公司 | Power management method of domain controller and domain controller |
CN117293973B (en) * | 2023-11-21 | 2024-05-14 | 合众新能源汽车股份有限公司 | Power management method of domain controller and domain controller |
Also Published As
Publication number | Publication date |
---|---|
CN112104702B (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112104702B (en) | Power management method for vehicle TBOX, vehicle TBOX and medium | |
US8655541B2 (en) | Vehicle upgrade system and method thereof | |
CN111061499A (en) | ECU updating method and system based on file system | |
CN110830267A (en) | State control method and device of network node and gateway | |
CN111193649B (en) | Vehicle communication system and control method thereof | |
JPWO2018079008A1 (en) | Control device, program update method, and computer program | |
CN112188417A (en) | OTA vehicle upgrade execution condition dynamic configuration method | |
CN105599706A (en) | Standby management method and system of intelligent vehicle-mounted information entertainment system | |
CN110969771A (en) | Vehicle management method, device, vehicle-mounted terminal and storage medium thereof | |
CN112311071A (en) | Method and device for protecting battery pack of hybrid vehicle | |
CN112540798B (en) | Method, device and system for waking up vehicle operating system | |
CN114291015B (en) | Vehicle control method and device, vehicle and storage medium | |
CN115220963A (en) | OTA upgrade exception recovery method and device for vehicle, vehicle and storage medium | |
CN113805920A (en) | OTA (over the air) upgrading method and upgrading device | |
US11928458B2 (en) | Method for updating a digital system | |
KR102109125B1 (en) | Method for managing state of ECU in vehicle based on automotive open system architecture | |
CN114590241A (en) | Vehicle idle charging method and device | |
CN113360175A (en) | Application updating method of vehicle controller and vehicle controller | |
CN116126368A (en) | Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle | |
CN115469898A (en) | OTA (over the air) upgrading method and device for vehicle | |
CN111949295A (en) | Remote upgrading control strategy for fuel cell vehicle | |
WO2024124474A1 (en) | Upgrading method, apparatus and system | |
WO2023168953A1 (en) | Ota power-on refresh control method and system for vehicle | |
CN113650498B (en) | Power-on method and device of electric vehicle, electric vehicle and storage medium | |
CN113895305B (en) | Electric automobile control method and device and electric automobile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |