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
- vehicle
- mode
- upgrade
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 31
- 230000008569 process Effects 0.000 claims abstract description 27
- 230000007958 sleep Effects 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 12
- 230000006266 hibernation Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 230000006855 networking Effects 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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
Description
技术领域technical field
本发明涉及车辆TBOX技术领域,具体涉及一种车辆TBOX的电源管理方法、车辆TBOX、计算机可读存储介质。The present invention relates to the technical field of vehicle TBOX, in particular to a power management method of a vehicle TBOX, a vehicle TBOX, and a computer-readable storage medium.
背景技术Background technique
在一些TBOX作为OTA升级主刷写节点的车端平台方案中,TBOX负责与云端交互,实现了ECU升级软件下载,存储,安全访问,升降级软件接口,失效控制,升级包差分还原、升级管理等功能。车内网络OTA设计中,TBOX负责升级条件检测、升级环境准备、ECU软件传输与刷新、升级结果上报、升级任务退出等。In some vehicle-end platform solutions in which TBOX is used as the main flashing node for OTA upgrade, TBOX is responsible for interacting with the cloud, realizing ECU upgrade software download, storage, secure access, upgrade and upgrade software interface, failure control, upgrade package differential restoration, and upgrade management. and other functions. In the OTA design of the in-vehicle network, TBOX is responsible for upgrade condition detection, upgrade environment preparation, ECU software transmission and refresh, upgrade result reporting, upgrade task exit, etc.
OTA技术最早应用在PC机上,后来广泛应用在移动手机行业,近几年才开始在汽车行业里广泛应用。目前大多数的OTA升级车端方案其实还只专注于TBOX终端与云端交互。车内网络OTA升级方案设计,并未考虑不同类型的车载通讯网络,如控制器区域网络(CAN)、本地互联网(LIN)、媒体化系统传输(MOST)和以太网等之间的差异;并未考虑TBOX作为车联网通信终端,其电源管理方案的特异性。OTA technology was first applied to PCs, and later it was widely used in the mobile phone industry. It has only been widely used in the automotive industry in recent years. At present, most of the OTA upgrade car-end solutions only focus on the interaction between the TBOX terminal and the cloud. The design of the in-vehicle network OTA upgrade scheme does not consider the differences between different types of in-vehicle communication networks, such as Controller Area Network (CAN), Local Internet (LIN), Media-based System Transmission (MOST) and Ethernet; and The specificity of TBOX's power management scheme as a vehicle networking communication terminal is not considered.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提出一种车辆TBOX的电源管理方法、车辆TBOX、计算机可读存储介质,以对基于TBOX实现ECU的OTA升级的车辆的TBOX电源进行合理管理。The purpose of the present invention is to provide a power management method of a vehicle TBOX, a vehicle TBOX, and a computer-readable storage medium, so as to reasonably manage the TBOX power supply of a vehicle that implements OTA upgrade of the ECU based on the TBOX.
为实现上述目的,根据第一方面,本发明实施例提出一种车辆TBOX的电源管理方法,包括:In order to achieve the above object, according to the first aspect, an embodiment of the present invention provides a power management method for a vehicle TBOX, including:
整车上电时,若TBOX的系统电压处于正常电压范围,则TBOX进入全功能工作状态;若TBOX的系统电压超出正常电压范围,则TBOX进入半功能工作状态;When the vehicle is powered on, if the system voltage of the TBOX is within the normal voltage range, the TBOX will enter the full-function working state; if the system voltage of the TBOX exceeds the normal voltage range, the TBOX will enter the semi-functional working state;
当TBOX处于全功能工作状态时,TBOX接收OTA服务器下发的新的OTA升级任务通知,并根据所述通知判定本地是否存在未完成的升级任务,若是,则TBOX不执行所述通知所对应的新的OTA升级任务;若否,则TBOX进入本地模式以执行所述通知所对应的新的OTA升级任务;并且,TBOX进入网络模式以维持CAN网络处于唤醒状态;When the TBOX is in a fully functional working state, the TBOX receives the new OTA upgrade task notification issued by the OTA server, and determines whether there is an unfinished upgrade task locally according to the notification. If so, the TBOX does not execute the notification corresponding to the notification. A new OTA upgrade task; if not, the TBOX enters the local mode to execute the new OTA upgrade task corresponding to the notification; and, the TBOX enters the network mode to maintain the CAN network in an awake state;
当TBOX处于半功能工作状态时,TBOX停止接收OTA服务器下发的新的OTA升级任务通知;When TBOX is in semi-functional working state, TBOX stops receiving notifications of new OTA upgrade tasks sent by OTA server;
整车下电时,若整车满足预设的休眠条件,则TBOX退出本地模式和网络模式,并执行休眠流程。When the whole vehicle is powered off, if the whole vehicle meets the preset sleep conditions, the TBOX will exit the local mode and network mode, and execute the sleep process.
优选地,所述执行所述通知所对应的新的OTA升级任务,包括:Preferably, performing the new OTA upgrade task corresponding to the notification includes:
TBOX根据所述通知从所述OTA服务器处下载进行升级任务的软件升级包,并且,在下载过程中,TBOX正常执行车联网功能;TBOX downloads the software upgrade package for the upgrade task from the OTA server according to the notification, and during the downloading process, the TBOX normally performs the function of the Internet of Vehicles;
在完成软件升级包的下载之后,TBOX获取车辆当前状态信息,并根据所述车辆当前状态信息判定是否满足升级条件,若满足,则TBOX请求整车进入OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX继续执行当前未完成的车联网功能后,停止本地运行的车联网功能,根据所述软件升级包执行新的OTA升级任务,以对目标ECU进行刷新;并且,TBOX停止响应所述OTA服务器下发的任一其它指令。After completing the download of the software upgrade package, TBOX obtains the current state information of the vehicle, and determines whether the upgrade conditions are met according to the current state information of the vehicle. If so, TBOX requests the whole vehicle to enter the OTA mode, and responds to the request in the whole vehicle When entering the OTA mode, after the TBOX continues to perform the currently unfinished IoV function, it stops the locally running IoV function, and executes a new OTA upgrade task according to the software upgrade package to refresh the target ECU; and, the TBOX Stop responding to any other instruction issued by the OTA server.
优选地,所述执行所述通知所对应的新的OTA升级任务,包括:Preferably, performing the new OTA upgrade task corresponding to the notification includes:
当TBOX根据ECU的软件版本号确定对目标ECU刷新成功之后,TBOX请求整车退出OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX结束当前升级任务,恢复运行车联网功能,并响应所述OTA服务器下发的新的指令。When the TBOX determines that the target ECU has been successfully refreshed according to the software version number of the ECU, the TBOX requests the vehicle to exit the OTA mode, and when the vehicle enters the OTA mode in response to the request, the TBOX ends the current upgrade task and resumes the IoV function , and respond to the new instruction issued by the OTA server.
优选地,所述TBOX请求整车进入OTA模式,包括:Preferably, the TBOX requests the whole vehicle to enter the OTA mode, including:
TBOX向车辆的中央网关发送进入OTA模式的第一请求信息,所述请求信息用于中央网关生成进入OTA模式的模式控制信号,并将所述模式控制信号广播至整车其他功能单元以使得整车进入OTA模式。The TBOX sends the first request information for entering the OTA mode to the central gateway of the vehicle. The request information is used by the central gateway to generate a mode control signal for entering the OTA mode, and broadcast the mode control signal to other functional units of the vehicle so that the entire vehicle can enter the OTA mode. The car enters OTA mode.
优选地,所述TBOX请求整车退出OTA模式,包括:Preferably, the TBOX requests the whole vehicle to exit the OTA mode, including:
TBOX向中央网关发送退出OTA模式的第二请求信息,检测中央网关广播的模式控制信号,并根据检测到的模式控制信号确定是否结束当前升级任务;其中:若检测到的模式控制信号为退出OTA模式,则结束当前升级任务;若检测到的模式控制信号为进入OTA模式,则重新向中央网关发送退出OTA模式的第二请求信息,重新检测中央网关广播的模式控制信号,并根据重新检测到的模式控制信号确定是否结束当前升级任务;TBOX sends the second request information for exiting the OTA mode to the central gateway, detects the mode control signal broadcast by the central gateway, and determines whether to end the current upgrade task according to the detected mode control signal; wherein: if the detected mode control signal is to exit OTA If the detected mode control signal is to enter the OTA mode, the second request information for exiting the OTA mode is re-sent to the central gateway, and the mode control signal broadcast by the central gateway is re-detected. The mode control signal to determine whether to end the current upgrade task;
其中,所述第二请求信息用于中央网关生成退出OTA模式的模式控制信号,并将所述退出OTA模式的模式控制信号广播至整车其他功能单元以使得整车退出OTA模式。The second request information is used by the central gateway to generate a mode control signal for exiting the OTA mode, and broadcast the mode control signal for exiting the OTA mode to other functional units of the vehicle to make the vehicle exit the OTA mode.
优选地,所述执行所述通知所对应的新的OTA升级任务,包括:Preferably, performing the new OTA upgrade task corresponding to the notification includes:
当TBOX根据ECU的软件版本号确定对目标ECU刷新成功或刷新失败之后,TBOX将升级任务的升级结果上报至所述OTA服务器;并且,在将升级任务的升级结果上报至所述OTA服务器过程中,若TBOX执行休眠流程,则放弃当前升级结果的上报,并在车辆的下个点火循环过程中重新上报该升级结果。When the TBOX determines that the target ECU has been successfully refreshed or failed to be refreshed according to the software version number of the ECU, the TBOX will report the upgrade result of the upgrade task to the OTA server; and, in the process of reporting the upgrade result of the upgrade task to the OTA server , if the TBOX executes the hibernation process, the report of the current upgrade result is abandoned, and the upgrade result is re-reported during the next ignition cycle of the vehicle.
优选地,所述执行所述通知所对应的新的OTA升级任务,包括:Preferably, performing the new OTA upgrade task corresponding to the notification includes:
若开始刷新目标ECU之后,在第一预设时间内未能够刷新成功目标ECU的软件,则TBOX请求整车退出OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX结束当前升级任务,恢复运行车联网功能,并响应所述OTA服务器下发的新的指令。If the software of the target ECU cannot be successfully refreshed within the first preset time after starting to refresh the target ECU, the TBOX requests the vehicle to exit the OTA mode, and when the vehicle enters the OTA mode in response to the request, the TBOX ends the current Upgrade the task, resume the operation of the Internet of Vehicles function, and respond to the new instruction issued by the OTA server.
优选地,所述执行所述通知所对应的新的OTA升级任务,包括:Preferably, performing the new OTA upgrade task corresponding to the notification includes:
若整车进入OTA模式之后,中央网关在第二预设时间内未接收到TBOX请求整车退出OTA模式的第二请求信息,则中央网关生成退出OTA模式的模式控制信号,并将所述模式控制信号广播至整车其他功能单元以使得整车退出OTA模式。If after the vehicle enters the OTA mode, the central gateway does not receive the second request information from the TBOX requesting the vehicle to exit the OTA mode within the second preset time, the central gateway generates a mode control signal for exiting the OTA mode, and sends the mode control signal to the mode. The control signal is broadcast to other functional units of the vehicle to make the vehicle exit the OTA mode.
根据第二方面,本发明实施例提出一种车辆TBOX,包括:存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行根据第一方面所述车辆TBOX的电源管理方法的步骤。According to a second aspect, an embodiment of the present invention provides a vehicle TBOX, including: a memory and a processor, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the The processor executes the steps of the power management method for the vehicle TBOX according to the first aspect.
根据第三方面,本发明实施例提出一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据第一方面所述车辆TBOX的电源管理方法的步骤。According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the power management method for the vehicle TBOX according to the first aspect.
本发明实施例提出一种车辆TBOX的电源管理方法、车辆TBOX、计算机可读存储介质,当TBOX的系统电压处于正常电压范围时,TBOX进入全功能工作状态;当TBOX的系统电压超出正常电压范围时,TBOX进入半功能工作状态;只有TBOX处于全功能工作状态时,TBOX才会接收OTA服务器下发的新的OTA升级任务通知,并根据所述通知判定本地是否存在未完成的升级任务,若是,则TBOX不执行所述通知所对应的新的OTA升级任务;若否,则TBOX进入本地模式以执行所述通知所对应的新的OTA升级任务;并且,TBOX进入网络模式以维持CAN网络处于唤醒状态;其中,当TBOX退出本地模式和网络模式时,TBOX执行休眠流程。当TBOX处于半功能工作状态时,TBOX不接收OTA服务器下发的新的OTA升级任务通知,也不执行任何OTA升级的相关指令。对基于TBOX实现ECU的OTA升级的车辆的TBOX电源进行合理管理,确保OTA升级流程执行后整车和TBOX终端进入休眠状态,避免出现不休眠的车辆网络或终端而导致车辆亏电的现象或其产生其他不安全的影响。Embodiments of the present invention provide a power management method for a vehicle TBOX, a vehicle TBOX, and a computer-readable storage medium. When the system voltage of the TBOX is within a normal voltage range, the TBOX enters a full-function working state; when the system voltage of the TBOX exceeds the normal voltage range When the TBOX enters the semi-functional working state; only when the TBOX is in the full-functional working state, will the TBOX receive the new OTA upgrade task notification issued by the OTA server, and determine whether there is an unfinished upgrade task locally according to the notification. , the TBOX does not execute the new OTA upgrade task corresponding to the notification; if not, the TBOX enters the local mode to execute the new OTA upgrade task corresponding to the notification; and the TBOX enters the network mode to maintain the CAN network in the Wake-up state; wherein, when the TBOX exits the local mode and the network mode, the TBOX executes the sleep process. When the TBOX is in a semi-functional working state, the TBOX does not receive the new OTA upgrade task notification issued by the OTA server, nor does it execute any OTA upgrade related instructions. Reasonable management of the TBOX power supply of the vehicle based on TBOX to realize the OTA upgrade of the ECU, to ensure that the whole vehicle and the TBOX terminal go into a dormant state after the OTA upgrade process is executed, to avoid the phenomenon of vehicle power loss due to the non-sleep vehicle network or terminal or the like. produce other unsafe effects.
本发明的其它特征和优点将在说明书的具体实施方式部分中进一步阐述。Other features and advantages of the present invention are set forth further in the detailed description section of the specification.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例中一种车辆TBOX的电源管理方法的流程图。FIG. 1 is a flowchart of a power management method for a vehicle TBOX in an embodiment of the present invention.
图2为本发明实施例中一种车辆TBOX的电源管理方法的原理图。FIG. 2 is a schematic diagram of a power management method for a vehicle TBOX in an embodiment of the present invention.
图3为本发明实施例中一种车辆TBOX的电源管理方法的网络模式和本地模式的原理图。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 ways
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。另外,为了更好的说明本发明,在下文的具体的实施例中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的手段未作详细描述,以便于凸显本发明的主旨。Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In addition, in order to better illustrate the present invention, numerous specific details are given in the following specific embodiments. It will be understood by those skilled in the art that the present invention may be practiced without certain specific details. In some instances, means well known to those skilled in the art have not been described in detail in order not to obscure the subject matter of the present invention.
参阅图1,本发明一实施例提出一种车辆TBOX的电源管理方法,包括如下步骤:Referring to FIG. 1, an embodiment of the present invention provides a power management method for a vehicle TBOX, including the following steps:
步骤S1、整车上电时,若TBOX的系统电压处于正常电压范围,则TBOX进入全功能工作状态;若TBOX的系统电压超出正常电压范围,则TBOX进入半功能工作状态;Step S1, when the whole vehicle is powered on, if the system voltage of the TBOX is within the normal voltage range, the TBOX enters the full-function working state; if the system voltage of the TBOX exceeds the normal voltage range, the TBOX enters the semi-functional working state;
具体而言,参阅图2,当整车处于上电状态时,检测TBOX的系统电压,判断TBOX的系统电压是否处于正常电压范围,所述正常电压范围为TBOX正常工作时的电压波动范围,可以根据实际工作电压数据来预先设定其具体电压值范围。Specifically, referring to Fig. 2, when the whole vehicle is powered on, the system voltage of the TBOX is detected to determine whether the system voltage of the TBOX is in the normal voltage range. The normal voltage range is the voltage fluctuation range when the TBOX is working normally. The specific voltage value range is preset according to the actual working voltage data.
其中,所述全功能工作状态包括:CAN使能,移动通信模块使能,后备电池充电使能,其他外设接口使能,车联网全功能使能,OTA使能;Wherein, the full-function working state includes: CAN enable, mobile communication module enable, backup battery charging enable, other peripheral interface enable, vehicle networking full-function enable, OTA enable;
其中,所述半功能工作状态包括:CAN使能,移动通信模块使能,后备电池充电使能,仅部分外设接口使能,车联网部分功能使能,OTA不使能。The semi-functional working state includes: CAN enable, mobile communication module enable, backup battery charging enable, only some peripheral interfaces are enabled, some car networking functions are enabled, and OTA is disabled.
步骤S21、当TBOX处于全功能工作状态时,TBOX接收OTA服务器下发的新的OTA升级任务通知,并根据所述通知判定本地是否存在未完成的升级任务,若是,则TBOX不执行所述通知所对应的新的OTA升级任务;若否,则TBOX进入本地模式以执行所述通知所对应的新的OTA升级任务;并且,TBOX进入网络模式以维持CAN网络处于唤醒状态;Step S21, when the TBOX is in a fully functional working state, the TBOX receives the notification of a new OTA upgrade task issued by the OTA server, and determines whether there is an unfinished upgrade task locally according to the notification, and if so, the TBOX does not execute the notification The corresponding new OTA upgrade task; if not, the TBOX enters the local mode to execute the new OTA upgrade task corresponding to the notification; and the TBOX enters the network mode to maintain the CAN network in an awake state;
具体而言,参阅图3,本实施例中当且仅当TBOX处于全功能工作状态时,OTA升级功能才使能,此时TBOX会加载OTA组件,OTA组件用于接收OTA服务器下发的新的OTA升级任务通知,并根据所述通知判定本地是否存在未完成的升级任务,若是,则TBOX不执行所述通知所对应的新的OTA升级任务;若否,则TBOX进入本地模式以执行所述通知所对应的新的OTA升级任务;并且,由于OTA升级是通过CAN网络对目标ECU的软件进行刷新,因此,TBOX还需进入网络模式以维持CAN网络处于唤醒状态。Specifically, referring to FIG. 3 , in this embodiment, the OTA upgrade function is enabled only when the TBOX is in a fully functional working state. At this time, the TBOX will load the OTA component, and the OTA component is used to receive new updates from the OTA server. OTA upgrade task notification, and determine whether there is an unfinished upgrade task locally according to the notification, if so, the TBOX does not execute the new OTA upgrade task corresponding to the notification; if not, the TBOX enters the local mode to execute the The new OTA upgrade task corresponding to the notification; and, since the OTA upgrade is to refresh the software of the target ECU through the CAN network, the TBOX also needs to enter the network mode to keep the CAN network in an awake state.
其中,当OTA服务器部署了升级任务,或本地存在升级任务时,TBOX与OTA服务器完成安全认证后,OTA可以与OTA服务器进行正常的通信。OTA服务器不可因为后台部署了新的OTA任务主动唤醒TBOX以寻求进行OTA升级通信。OTA升级任务采取串行的工作方式,当T-Box接收到新的升级任务通知时,需要检查本地是否还有未完成的升级任务。升级任务的完成条件只有升级完成和任务过期两种情况。如果本地存在未完成的升级任务,则新的升级任务不能开始。本步骤将根据任务属性触发升级任务。Among them, when the OTA server deploys an upgrade task, or there is an upgrade task locally, after the TBOX and the OTA server complete the security authentication, the OTA can communicate with the OTA server normally. The OTA server cannot actively wake up the TBOX to seek OTA upgrade communication because a new OTA task is deployed in the background. The OTA upgrade task adopts a serial working method. When the T-Box receives a new upgrade task notification, it needs to check whether there are any unfinished upgrade tasks locally. There are only two conditions for the completion of an upgrade task: the upgrade is completed and the task expires. If there are unfinished upgrade tasks locally, a new upgrade task cannot be started. This step will trigger the upgrade task based on the task properties.
步骤S22、当TBOX处于半功能工作状态时,TBOX停止接收OTA服务器下发的新的OTA升级任务通知;Step S22, when the TBOX is in a semi-functional working state, the TBOX stops receiving the new OTA upgrade task notification issued by the OTA server;
具体而言当TBOX处于半功能工作状态时,OTA不使能,TBOX不加载OTA组件,因此停止接收OTA服务器下发的新的OTA升级任务通知。Specifically, when the TBOX is in a semi-functional working state, the OTA is not enabled, and the TBOX does not load the OTA components, so it stops receiving notifications of new OTA upgrade tasks sent by the OTA server.
步骤S3、整车下电时,若整车满足预设的休眠条件,则TBOX退出本地模式和网络模式,并执行休眠流程。Step S3, when the whole vehicle is powered off, if the whole vehicle satisfies the preset sleep conditions, the TBOX exits the local mode and the network mode, and executes the sleep process.
具体而言,本实施例中OTA组件限定在TBOX全功能状态下运行,当TBOX处于休眠状态下或系统电压不正常时,OTA不使能。非OTA模式下OTA组件收到TBOX休眠请求后,需马上进行数据保存和退出工作。全功能状态切换至休眠状态时除了要判断休眠条件是否满足外,还需要判断OTA模式是否已退出。Specifically, in this embodiment, the OTA component is limited to run in a fully functional state of the TBOX. When the TBOX is in a dormant state or the system voltage is abnormal, the OTA is not enabled. In non-OTA mode, after the OTA component receives the TBOX hibernation request, it needs to save and exit the data immediately. When switching from the full-function state to the sleep state, in addition to judging whether the sleep condition is satisfied, it is also necessary to judge whether the OTA mode has been exited.
本实施例在整车处于下电状态,整车网络满足休眠条件后,通过网络模式和本地模式退出机制,不管TBOX的用于执行OTA升级任务的OTA组件和OTA升级任务是否处于异常状态,确保TBOX最终执行CAN网络休眠和终端休眠流程,从而确保OTA升级流程执行后整车和TBOX终端电源管理的安全性。In this embodiment, after the entire vehicle is powered off and the vehicle network meets the hibernation condition, the network mode and local mode exit mechanisms are used, regardless of whether the OTA components and OTA upgrade tasks of the TBOX used to perform the OTA upgrade task are in an abnormal state, ensuring that TBOX finally executes the CAN network hibernation and terminal hibernation process, so as to ensure the safety of vehicle and TBOX terminal power management after the OTA upgrade process is executed.
基于以上描述可知,本实施例方法应用于基于TBOX实现ECU的OTA升级的车辆,能够对该类型车辆的TBOX电源进行合理管理,确保OTA升级流程执行后整车和TBOX终端进入休眠状态,避免出现不休眠的车辆网络或终端而导致车辆亏电的现象或其产生其他不安全的影响。Based on the above description, it can be seen that the method in this embodiment is applied to a vehicle that implements OTA upgrade of ECU based on TBOX, and can reasonably manage the TBOX power supply of this type of vehicle to ensure that the vehicle and the TBOX terminal enter the sleep state after the OTA upgrade process is executed, avoiding the occurrence of The phenomenon of vehicle power loss caused by the non-sleep vehicle network or terminal or other unsafe effects.
在一些实施例中,所述执行所述通知所对应的新的OTA升级任务,包括:In some embodiments, the performing the new OTA upgrade task corresponding to the notification includes:
步骤a1、TBOX根据所述通知从所述OTA服务器处下载进行升级任务的软件升级包,并且,在下载过程中,TBOX正常执行车联网功能;Step a1, the TBOX downloads the software upgrade package for the upgrade task from the OTA server according to the notification, and during the downloading process, the TBOX normally performs the function of the Internet of Vehicles;
具体而言,TBOX在收到OTA服务器升级包下载通知后,将获取该次待升级任务的相关属性,包括:任务ID、升级概述、预计更新所需时间、升级策略、升级类型、目标ECU、目标版本等。然后进行升级任务的软件升级包下载。其中,升级包下载的步骤不影响TBOX车联网功能的正常执行,升级包下载应支持文件的断点续传。升级包下载后将进行升级包校验,通过后T-Box将根据任务属性决定下一步行动。Specifically, after receiving the upgrade package download notification from the OTA server, TBOX will obtain the relevant attributes of the task to be upgraded, including: task ID, upgrade overview, estimated time required for the upgrade, upgrade strategy, upgrade type, target ECU, target version, etc. Then download the software upgrade package of the upgrade task. Among them, the steps of downloading the upgrade package do not affect the normal execution of the TBOX Internet of Vehicles function, and the download of the upgrade package should support the breakpoint resuming of the file. After the upgrade package is downloaded, the upgrade package will be verified. After passing, the T-Box will decide the next action according to the task attribute.
步骤a2、在完成软件升级包的下载之后,TBOX获取车辆当前状态信息,并根据所述车辆当前状态信息判定是否满足升级条件,若满足,则TBOX请求整车进入OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX继续执行当前未完成的车联网功能后,停止本地运行的车联网功能,根据所述软件升级包执行新的OTA升级任务,以对目标ECU进行刷新;并且,TBOX停止响应所述OTA服务器下发的任一其它指令。Step a2: After completing the download of the software upgrade package, TBOX obtains the current state information of the vehicle, and determines whether the upgrade conditions are met according to the current state information of the vehicle. If so, TBOX requests the whole vehicle to enter the OTA mode, and responds when the whole vehicle is completed. When the request enters the OTA mode, after the TBOX continues to perform the currently unfinished IoV function, it stops the locally running IoV 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.
具体而言,在执行升级任务前,需要进行升级环境准备工作,检测车辆升级条件是否满足包括:钥匙开关状态、车速为零、档位为驻车状态、蓄电池剩余电量充足/蓄电池电压正常、新能源车辆处于非充电状态、以及电机/发动机处于非运行状态。当进入OTA模式后,整车功能受限,而TBOX需要执行完现有的车联网功能,并拒绝执行任何云端新下发的功能以及停止本地运行的车联网功能。Specifically, before performing the upgrade task, it is necessary to prepare the upgrade environment to check whether the upgrade conditions of the vehicle are satisfied, including: key switch state, vehicle speed zero, gear position in park state, sufficient remaining battery power/normal battery voltage, new The energy vehicle is not charging, and the motor/engine is not running. When entering the OTA mode, the vehicle functions are limited, and the TBOX needs to complete the existing IoV functions, and refuses to execute any functions newly issued by the cloud and stop the local operation of IoV functions.
在升级环境准备就绪后,OTA组件将把ECU软件文件传输到MCU侧,文件传输完后,MCU侧进行文件完整性二次校验,校验通过后通知OTA组件ECU软件传输完成。OTA组件通知MCU可以开始软件刷新后,TBOX首先使目标ECU所处CAN网络停止所有应用报文的发送,避免刷新升级过程中影响刷报文通信,然后按照主机厂的诊断刷新规范对目标ECU进行目标软件版本刷新升级。若中途刷新失败,TBOX将发起刷新重试,最多两次。同样的,本步骤需要拒绝执行任何云端新下发的功能以及停止本地运行的车联网功能。此外本步骤整个过程中TBOX必须维持在全功能工作状态,维持CAN网络处于唤醒状态。After the upgrade environment is ready, the OTA component will transfer the ECU software file to the MCU side. After the file is transferred, the MCU side will perform a secondary verification of the file integrity. After the verification is passed, the OTA component will be notified of the completion of the ECU software transfer. After the OTA component informs the MCU that the software refresh can be started, the TBOX first stops the sending of all application messages on the CAN network where the target ECU is located, so as to avoid the communication of refresh messages during the refresh and upgrade process. The target software version is refreshed and upgraded. If the refresh fails in the middle, TBOX will initiate refresh retry, up to two times. Similarly, in this step, it is necessary to refuse to execute any functions newly issued by the cloud and stop the locally running IoV functions. In addition, the TBOX must be maintained in a fully functional working state during the entire process of this step, and the CAN network must be kept in a awake state.
在一些实施例中,所述执行所述通知所对应的新的OTA升级任务,包括:In some embodiments, the performing the new OTA upgrade task corresponding to the notification includes:
步骤b、当TBOX根据ECU的软件版本号确定对目标ECU刷新成功之后,TBOX请求整车退出OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX结束当前升级任务,恢复运行车联网功能,并响应所述OTA服务器下发的新的指令。Step b. After the TBOX determines that the target ECU is successfully refreshed according to the software version number of the ECU, the TBOX requests the vehicle to exit the OTA mode, and when the vehicle enters the OTA mode in response to the request, the TBOX ends the current upgrade task and resumes operation. Internet of Vehicles function, and respond to new instructions issued by the OTA server.
在一些实施例中,所述TBOX请求整车进入OTA模式,包括:In some embodiments, the TBOX requests the entire vehicle to enter the OTA mode, including:
步骤c、TBOX向车辆的中央网关发送进入OTA模式的第一请求信息,所述请求信息用于中央网关生成进入OTA模式的模式控制信号,并将所述模式控制信号广播至整车其他功能单元以使得整车进入OTA模式。In step c, the TBOX sends the first request information for entering the OTA mode to the central gateway of the vehicle, and the request information is used by the central gateway to generate a mode control signal for entering the OTA mode, and broadcast the mode control signal to other functional units of the vehicle In order to make the vehicle enter OTA mode.
具体而言,步骤中TBOX与中央网关完成安全认证,请求整车进入OTA升级模式,然后由中央网关完成整车OTA模式广播和进入步骤。Specifically, in the step, the TBOX and the central gateway complete the security authentication, request the whole vehicle to enter the OTA upgrade mode, and then the central gateway completes the whole vehicle OTA mode broadcast and entry steps.
在一些实施例中,所述TBOX请求整车退出OTA模式,包括:In some embodiments, the TBOX requests the vehicle to exit the OTA mode, including:
步骤d、TBOX向车辆的中央网关发送退出OTA模式的第二请求信息,检测中央网关广播的模式控制信号,并根据检测到的模式控制信号确定是否结束当前升级任务;其中:若检测到的模式控制信号为退出OTA模式,则结束当前升级任务;若检测到的模式控制信号为进入OTA模式,则重新向中央网关发送退出OTA模式的第二请求信息,重新检测中央网关广播的模式控制信号,并根据重新检测到的模式控制信号确定是否结束当前升级任务;In step d, the TBOX sends the second request information for exiting the OTA mode to the central gateway of the vehicle, detects the mode control signal broadcast by the central gateway, and determines whether to end the current upgrade task according to the detected mode control signal; wherein: if the detected mode If the control signal is to exit the OTA mode, the current upgrade task is ended; if the detected mode control signal is to enter the OTA mode, the second request information for exiting the OTA mode is re-sent to the central gateway, and the mode control signal broadcast by the central gateway is re-detected. and determine whether to end the current upgrade task according to the re-detected mode control signal;
其中,所述第二请求信息用于中央网关生成退出OTA模式的模式控制信号,并将所述退出OTA模式的模式控制信号广播至整车其他功能单元以使得整车退出OTA模式。The second request information is used by the central gateway to generate a mode control signal for exiting the OTA mode, and broadcast the mode control signal for exiting the OTA mode to other functional units of the vehicle to make the vehicle exit the OTA mode.
具体而言,在TBOX确认刷新完成后,TBOX向车辆的中央网关发送退出OTA模式请求,即第二请求信息,并在第二请求信息发出后的3秒内检测所述中央网关广播的模式控制信号。若在3s内未检测到正常退出,则重新发起,尝试次数最多3次,最后无论正确退出与否,均结束升级任务。Specifically, after the TBOX confirms that the refresh is completed, the TBOX sends a request to exit the OTA mode, that is, the second request message, to the central gateway of the vehicle, and detects the mode control broadcast by the central gateway within 3 seconds after the second request message is sent. Signal. If no normal exit is detected within 3s, it will be restarted, and the number of attempts is at most 3 times. Finally, the upgrade task will be ended regardless of whether the exit is correct or not.
在一些实施例中,所述执行所述通知所对应的新的OTA升级任务,包括:In some embodiments, the performing the new OTA upgrade task corresponding to the notification includes:
步骤e、当TBOX根据ECU的软件版本号确定对目标ECU刷新成功或刷新失败之后,TBOX将升级任务的升级结果上报至所述OTA服务器;并且,在将升级任务的升级结果上报至所述OTA服务器过程中,若TBOX执行休眠流程,则放弃当前升级结果的上报,并在车辆的下个点火循环过程中重新上报该升级结果。Step e. After the TBOX determines that the target ECU has been successfully refreshed or failed to be refreshed according to the software version number of the ECU, the TBOX reports the upgrade result of the upgrade task to the OTA server; and, after reporting the upgrade result of the upgrade task to the OTA During the server process, if the TBOX executes the hibernation process, the report of the current upgrade result will be abandoned, and the upgrade result will be re-reported during the next ignition cycle of the vehicle.
具体而言,在刷新过程OTA组件可保持与服务器正常通信,周期性上报升级进度。刷新完成后,在TBOX执行休眠流程前,TBOX可以通过回读目标ECU软件版本号来确认本次升级任务是否完成,并上报最终升级状态。若休眠前未完成升级结果的上报,则放弃本次升级结果上报,待下个点火循环在伺机上报。Specifically, during the refresh process, the OTA component can maintain normal communication with the server, and periodically report the upgrade progress. After the refresh is completed, before the TBOX performs the hibernation process, the TBOX can confirm whether the upgrade task is completed by reading back the software version number of the target ECU, and report the final upgrade status. If the report of the upgrade result is not completed before hibernation, the report of the upgrade result will be abandoned, and the report will be waited for in the next ignition cycle.
在一些实施例中,所述执行所述通知所对应的新的OTA升级任务,包括:In some embodiments, the performing the new OTA upgrade task corresponding to the notification includes:
步骤f、若开始刷新目标ECU之后,在第一预设时间内未能够刷新成功目标ECU的软件,则TBOX请求整车退出OTA模式,并在整车响应所述请求进入所述OTA模式时,TBOX结束当前升级任务,恢复运行车联网功能,并响应所述OTA服务器下发的新的指令。Step f. If the software of the target ECU cannot be successfully refreshed within the first preset time after starting to refresh the target ECU, the TBOX requests the vehicle to exit the OTA mode, and when the vehicle enters the OTA mode in response to the request, The TBOX ends the current upgrade task, resumes the operation of the Internet of Vehicles function, and responds to the new instructions issued by the OTA server.
具体而言,若在第一预设时间内(例如预计更新所需时间乘以3),未能成功刷新目标ECU,TBOX同样会向中央网关发送退出OTA模式请求。整车退出OTA模式后,整车功能和网络通信恢复正常,TBOX可自主决定执行休眠唤醒流程。Specifically, if the target ECU cannot be successfully refreshed within the first preset time (for example, the estimated time required for the update multiplied by 3), the TBOX will also send a request to exit the OTA mode to the central gateway. After the vehicle exits the OTA mode, the vehicle functions and network communication return to normal, and the TBOX can independently decide to execute the sleep-wake-up process.
在一些实施例中,所述执行所述通知所对应的新的OTA升级任务,包括:In some embodiments, the performing the new OTA upgrade task corresponding to the notification includes:
步骤g、若整车进入OTA模式之后,中央网关在第二预设时间内未接收到TBOX请求整车退出OTA模式的第二请求信息,则中央网关生成退出OTA模式的模式控制信号,并将所述模式控制信号广播至整车其他功能单元以使得整车退出OTA模式。Step g. If after the vehicle enters the OTA mode, the central gateway does not receive the second request information from the TBOX requesting the vehicle to exit the OTA mode within the second preset time, then the central gateway generates a mode control signal for exiting the OTA mode, and sends the information to the central gateway. The mode control signal is broadcast to other functional units of the vehicle to make the vehicle exit the OTA mode.
具体而言,若在约定时间内(Tmax,OTA升级及重试所需最长时间),TBOX未能发起退出OTA模式请求,中央网关最终也需要向整车广播退出OTA模式的模式控制信号。Specifically, if the TBOX fails to initiate a request to exit the OTA mode within the specified time (Tmax, the longest time required for OTA upgrade and retry), the central gateway also needs to broadcast the mode control signal to the vehicle to exit the OTA mode.
通过上述实施例的描述可知,本发明的实施例对于OTA升级方案,设计了合理的电源管理方法,考虑了如何确保OTA可独立运行不影响到用户正常车联网功能的使用,如何保障本地ECU自刷新任务可成功执行完成,如何确保OTA车端电源管理方案尤其是休眠唤醒流程合理执行等情况。通过本地模式与网络模式把车联网功能与CAN网络解耦,根据具体车联网功能按需唤醒和维持CAN网络。OTA归类到本地模式设计中,对车联网功能与和OTA功能进行协同管理,在进入OTA模式时实现互斥设计,停止执行车联网功能,保障OTA升级任务的顺利执行。在整车处于下电状态,整车网络满足休眠条件后,通过网络模式和本地模式退出机制,不管OTA组件和OTA升级任务是否处于异常状态,确保TBOX最终执行CAN网络休眠和终端休眠流程,从而确保OTA升级流程执行后整车和TBOX终端电源管理的安全性。From the description of the above embodiments, it can be seen that the embodiments of the present invention design a reasonable power management method for the OTA upgrade scheme, and consider how to ensure that the OTA can operate independently without affecting the normal use of the user's IoV function, and how to ensure that the local ECU automatically The refresh task can be successfully executed. How to ensure the reasonable implementation of the OTA vehicle-side power management scheme, especially the sleep and wake-up process. The car networking function is decoupled from the CAN network through the local mode and network mode, and the CAN network can be woken up and maintained on demand according to the specific car networking function. OTA is classified into the local mode design, and the IoV function and the OTA function are managed collaboratively. When entering the OTA mode, a mutually exclusive design is realized, and the implementation of the IoV function is stopped to ensure the smooth execution of the OTA upgrade task. After the vehicle is powered off and the vehicle network meets the hibernation conditions, the network mode and local mode exit mechanisms ensure that the TBOX finally executes the CAN network hibernation and terminal hibernation processes regardless of whether the OTA components and OTA upgrade tasks are in an abnormal state. Ensure the safety of vehicle and TBOX terminal power management after the OTA upgrade process is executed.
本发明另一实施例还提出一种车辆TBOX,包括:存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行根据上述实施例所述车辆TBOX的电源管理方法的步骤。Another embodiment of the present invention further provides a vehicle TBOX, including: a memory and a processor, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor causes the processor to The steps of the power management method of the vehicle TBOX according to the above embodiments are performed.
当然,所述计算机设备还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该计算机设备还可以包括其他用于实现设备功能的部件,在此不做赘述。Of course, the computer device may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the computer device may also include other components for implementing device functions, which will not be repeated here.
示例性的,所述计算机程序可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器中,并由所述处理器执行,以完成本发明。所述一个或多个单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序在所述计算机设备中的执行过程。Exemplarily, the computer program may be divided into one or more units, and the one or more units 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 specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.
所述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述计算机设备的控制中心,利用各种接口和线路连接整个所述计算机设备的各个部分。The processor may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf processor Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of the computer equipment, and uses various interfaces and lines to connect all parts of the computer equipment. .
所述存储器可用于存储所述计算机程序和/或单元,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或单元,以及调用存储在存储器内的数据,实现所述计算机设备的各种功能。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store the computer program and/or unit, and the processor implements the computer by running or executing the computer program and/or unit stored in the memory, and calling the data stored in the memory various functions of the device. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory such as hard disk, internal memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card , a flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
本发明另一实施例还提出一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述实施例所述车辆TBOX的电源管理方法的步骤。Another embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the power management method for the vehicle TBOX described in the foregoing embodiment.
具体而言,所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。Specifically, the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present invention have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous 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 was chosen to best explain the principles of the various embodiments, the practical application or technical improvement in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010829305.9A CN112104702B (en) | 2020-08-18 | 2020-08-18 | Power management method of vehicle TBOX, vehicle TBOX, and media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010829305.9A CN112104702B (en) | 2020-08-18 | 2020-08-18 | Power management method of vehicle TBOX, vehicle TBOX, and media |
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 of vehicle TBOX, vehicle TBOX, and media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112104702B (en) |
Cited By (13)
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-feeding system and control method of storage battery anti-feeding 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 |
CN114740374A (en) * | 2022-03-28 | 2022-07-12 | 东风汽车集团股份有限公司 | Function failure mode and failure level design method based on remote monitoring terminal |
CN114816474A (en) * | 2022-04-18 | 2022-07-29 | 重庆长安汽车股份有限公司 | Power supply management method under abnormal vehicle OTA (over the air) upgrading condition |
CN115484664A (en) * | 2022-09-09 | 2022-12-16 | 西安主函数智能科技有限公司 | Remote awakening, sleeping and upgrading method and device based on data acquisition unit |
CN115842730A (en) * | 2022-11-30 | 2023-03-24 | 重庆长安汽车股份有限公司 | Vehicle safety OTA (over the air) upgrading method and device |
CN115923697A (en) * | 2022-12-11 | 2023-04-07 | 安徽江淮汽车集团股份有限公司 | Vehicle power management method, device, and vehicle for over-the-air download upgrade process |
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 | 浙江合众新能源汽车有限公司 | A vehicle network dormancy management method and 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 | 浙江合众新能源汽车有限公司 | A vehicle network dormancy management method and 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 (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113665498A (en) * | 2020-05-15 | 2021-11-19 | 广州汽车集团股份有限公司 | Storage battery anti-feeding system and control method of storage battery anti-feeding system |
CN113665498B (en) * | 2020-05-15 | 2024-06-14 | 广州汽车集团股份有限公司 | Battery anti-feedback system and control method of battery anti-feedback 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 |
CN114740374A (en) * | 2022-03-28 | 2022-07-12 | 东风汽车集团股份有限公司 | Function failure mode and failure level design method based on remote monitoring terminal |
CN114816474A (en) * | 2022-04-18 | 2022-07-29 | 重庆长安汽车股份有限公司 | Power supply management method under abnormal vehicle OTA (over the air) upgrading condition |
CN115484664A (en) * | 2022-09-09 | 2022-12-16 | 西安主函数智能科技有限公司 | Remote awakening, sleeping and upgrading method and device based on data acquisition unit |
CN115842730A (en) * | 2022-11-30 | 2023-03-24 | 重庆长安汽车股份有限公司 | Vehicle safety OTA (over the air) upgrading method and device |
CN115923697A (en) * | 2022-12-11 | 2023-04-07 | 安徽江淮汽车集团股份有限公司 | Vehicle power management method, device, and vehicle for over-the-air download upgrade process |
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 of vehicle TBOX, vehicle TBOX, and media | |
CN108268264B (en) | Pre-shutdown exchange verification | |
CN112104736B (en) | OTA-based multi-ECU upgrading method | |
CN110830267A (en) | State control method and device of network node and gateway | |
CN111343064A (en) | System and method for upgrading software of automobile control system | |
CN110311960B (en) | Software upgrading method, system, equipment and storage medium | |
CN111886576A (en) | Method and apparatus for updating remote network devices | |
JP4336726B2 (en) | High-speed vehicle bus network activity | |
CN112188417A (en) | OTA vehicle upgrade execution condition dynamic configuration method | |
WO2023241458A1 (en) | Software upgrade method and apparatus for vehicle-mounted controller, and device and storage medium | |
CN112540798B (en) | Method, device and system for waking up vehicle operating system | |
CN115842730A (en) | Vehicle safety OTA (over the air) upgrading method and device | |
CN116466999B (en) | Method, device, equipment and medium for waking up SOC chip | |
US20220405085A1 (en) | Method for updating a digital system | |
CN113276788B (en) | Vehicle-mounted application upgrading method and device, vehicle-mounted terminal and storage medium | |
US11816473B2 (en) | Updating method for in-vehicle software and in-vehicle system | |
CN113360175A (en) | Application updating method of vehicle controller and vehicle controller | |
CN117762452A (en) | Vehicle software upgrading method, device, terminal equipment and storage medium | |
CN117950707A (en) | OTA upgrading and refreshing method and device of vehicle ECU, VBOX and new energy automobile | |
CN115390539B (en) | Vehicle abnormal dormancy diagnosis method, device, vehicle and storage medium | |
WO2024197570A1 (en) | Upgrading detection method and device | |
CN115981217A (en) | Domain controller power-down and reset method, domain controller, device and medium | |
CN115756550A (en) | OTA (over the air) upgrading method and device, electronic equipment and storage medium | |
CN116126368A (en) | Whole-vehicle OTA upgrading method and device, electronic equipment and vehicle | |
WO2024124474A1 (en) | Upgrading method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |