WO2018218522A1 - 一种ecu刷写失败后的数据刷新方法及数据刷新装置 - Google Patents

一种ecu刷写失败后的数据刷新方法及数据刷新装置 Download PDF

Info

Publication number
WO2018218522A1
WO2018218522A1 PCT/CN2017/086659 CN2017086659W WO2018218522A1 WO 2018218522 A1 WO2018218522 A1 WO 2018218522A1 CN 2017086659 W CN2017086659 W CN 2017086659W WO 2018218522 A1 WO2018218522 A1 WO 2018218522A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
vehicle
ecu
data file
refreshing
Prior art date
Application number
PCT/CN2017/086659
Other languages
English (en)
French (fr)
Inventor
姚勇
康兰珠
常雁龙
Original Assignee
深圳市爱夫卡科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市爱夫卡科技股份有限公司 filed Critical 深圳市爱夫卡科技股份有限公司
Priority to PCT/CN2017/086659 priority Critical patent/WO2018218522A1/zh
Priority to CN201780000577.4A priority patent/CN107454957A/zh
Publication of WO2018218522A1 publication Critical patent/WO2018218522A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the invention belongs to the technical field of automobile electronics, and particularly relates to a data refreshing method and data refreshing after an ECU fails to write.
  • the embodiment of the present invention provides a data refreshing method, a data refreshing device, and a computer readable storage medium after the ECU fails to write, to solve the problem that the vehicle brand needs to be provided after the ECU fails to write in the prior art.
  • the after-sales service organization can make the vehicle work again, the operation is troublesome, the cost is high, and a lot of time is wasted.
  • a first aspect of the embodiments of the present invention provides a data refreshing method after an ECU fails to write, including:
  • the ECU data file of the user vehicle is refreshed by the established communication connection.
  • a second aspect of the embodiments of the present invention provides a data refreshing apparatus, including:
  • a communication establishing unit configured to establish a communication connection between the data refreshing device and the ECU of the user's vehicle
  • a configuration determining unit configured to determine configuration information of the user's vehicle
  • An obtaining unit configured to acquire an ECU data file that matches the vehicle configuration information
  • a refreshing unit configured to refresh the ECU data file of the user vehicle by using the established communication connection.
  • a third aspect of an embodiment of the present invention provides a data refreshing apparatus including a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor executing the computer program
  • the first aspect of the present invention provides a step of the method of the data refreshing method after the ECU fails to write.
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium, comprising: the computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the first embodiment of the present invention
  • aspects provide a method of the method described in the data refreshing method after the ECU fails to write.
  • the embodiment of the present invention has the beneficial effects of determining the configuration information of the user vehicle by establishing a communication connection between the data refreshing device and the ECU of the user vehicle, and acquiring the ECU data file matching the configuration information. And refreshing the ECU data file of the user vehicle through the established communication connection. This makes it possible to directly refresh the ECU of the vehicle without having to go to the after-sales service mechanism of the special vehicle model for re-brushing, which is simple, convenient and low in cost.
  • FIG. 1 is a flowchart of a data refreshing method after an ECU fails to write a write according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a data refreshing method after the ECU fails to write a write according to the second embodiment of the present invention
  • FIG. 3 is a structural diagram of a data refreshing apparatus according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of a data refreshing apparatus according to a fourth embodiment of the present invention.
  • Embodiment 1 is a flowchart of a data refreshing method after an ECU fails to write a write according to Embodiment 1 of the present invention.
  • the method is as follows.
  • the execution body of the embodiment of the present invention may be a data refresh for refreshing an ECU data file of a vehicle. Device.
  • the configuration information of the user's vehicle may be determined according to user information stored in advance and/or user information selected by the user, specifically:
  • the local can pre-store the configuration information of the user's vehicle, such as the vehicle model, engine model, horsepower and other information.
  • the configuration information matching the vehicle can be directly retrieved for the user to confirm, so as to avoid the vehicle user being unfamiliar with the vehicle configuration. Unable to determine the vehicle's configuration information.
  • the user can also reasonably optimize the configuration information of the pre-stored user vehicle, thereby making the vehicle configuration more reasonable.
  • the data file corresponding to the configuration information may be obtained locally, or the ECU data file matching the configuration information may be acquired from a preset server.
  • S104 Refresh the ECU data file of the user vehicle by using the established communication connection.
  • the ECU computer board is switched to the protection state to avoid accidental flashing, which may cause the vehicle to be in a safe state.
  • the data refreshing device by establishing a communication connection between the data refreshing device and the ECU of the user vehicle, determining configuration information of the user vehicle, acquiring an ECU data file matching the configuration information, and using the established communication connection, The ECU data file of the user vehicle is refreshed.
  • This makes it possible to directly refresh the ECU of the vehicle without having to go to the after-sales service mechanism of the special vehicle model for re-brushing, which is simple, convenient and low in cost.
  • FIG. 2 is a flowchart of a data refreshing method after the ECU fails to write in the second embodiment of the present invention.
  • the same parts in the embodiment are the same as those in the first embodiment, and only the details related to the embodiment are described in detail.
  • Technical features, the method is detailed as follows:
  • the communication protocol is a standard international communication protocol, such as J1708 or J1939.
  • the acquired ECU file information may be sent to the user, so that the user confirms whether to perform subsequent refresh according to the acquired data file, and if the user confirms, execute S207, if The data needs to be modified, and can be matched according to the ECU file information modified by the user to obtain a new ECU data file, so that the user can have more choices.
  • the data refreshing device may locally back up the ECU data file corresponding to the current vehicle of the user, and S207 may specifically: refresh the ECU data file of the user vehicle to the ECU data file corresponding to the current vehicle of the backup user, that is, restore For the original ECU data file.
  • S207 may specifically: refresh the ECU data file of the user vehicle into a new ECU data file, where the new ECU data file is an ECU data file customized according to user configuration information.
  • FIG. 3 is a structural diagram of a data refreshing apparatus according to Embodiment 3 of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • a communication establishing unit 31 configured to establish a communication connection between the data refreshing device and the ECU of the user's vehicle;
  • a configuration determining unit 32 configured to determine configuration information of the user's vehicle
  • An obtaining unit 33 configured to acquire an ECU data file that matches the configuration information
  • the refreshing unit 34 is configured to refresh the ECU data file of the user vehicle by using the established communication connection.
  • the communication establishing unit 31 specifically includes:
  • a communication protocol obtaining module 311, configured to acquire a communication protocol corresponding to a model of a current user vehicle
  • the instruction obtaining module 313 is configured to obtain a startup flashing state command according to the parsing result
  • the communication establishing module 314 is configured to establish a communication connection between the data refreshing device and the ECU of the user vehicle according to the startup of the flashing state command.
  • the configuration determining unit 32 is specifically configured to determine configuration information of the user vehicle according to the pre-stored user information and/or the user information selected by the user.
  • the device further includes: a storage unit, configured to locally back up an ECU data file corresponding to the current vehicle of the user;
  • the refreshing unit 34 is specifically configured to refresh the ECU data file of the user vehicle into an ECU data file corresponding to the current user's current vehicle.
  • the refreshing unit 34 specifically refreshes the ECU data file of the user vehicle into a new ECU data file, and the new ECU data file is an ECU data file customized according to user configuration information.
  • the data refreshing device provided by the embodiment of the present invention may be used in the foregoing first and second embodiments of the method. For details, refer to the description of the first embodiment and the second embodiment, and details are not described herein again.
  • the data refreshing device by establishing a communication connection between the data refreshing device and the ECU of the user vehicle, determining configuration information of the user vehicle, acquiring an ECU data file matching the configuration information, and using the established communication connection, The ECU data file of the user vehicle is refreshed.
  • This makes it possible to directly refresh the ECU of the vehicle without having to go to the after-sales service mechanism of the special vehicle model for re-brushing, which is simple, convenient and low in cost.
  • the data refreshing apparatus 4 of this embodiment includes a processor 40, a memory 41, and a computer program 42, such as a data refresh program, stored in the memory 41 and operable on the processor 40.
  • the processor 40 executes the computer program 42, the steps in the embodiment of the data refreshing method after the ECU flash fails, such as steps 101 to 104 shown in FIG.
  • the processor 40 executes the computer program 42, the functions of the modules/units in the above various device embodiments are implemented, such as the functions of the modules 31 to 34 shown in FIG.
  • the computer program 42 can be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to complete this invention.
  • the one or more modules/units may be a series of computer program instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer program 42 in the data refresh device 4.
  • the computer program 42 can be divided into a communication establishing unit, a configuration determining unit, an obtaining module, and a refreshing unit, and the specific functions of each module are as follows:
  • a communication establishing unit configured to establish a communication connection between the data refreshing device and the ECU of the user's vehicle
  • a configuration determining unit configured to determine configuration information of the user's vehicle
  • An obtaining unit configured to acquire an ECU data file that matches the configuration information
  • a refreshing unit configured to refresh the ECU data file of the user vehicle by using the established communication connection.
  • the data refreshing device 4 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the data refreshing device 4 may include, but is not limited to, the processor 40 and the memory 41. It will be understood by those skilled in the art that FIG. 4 is only an example of the data refreshing device 4, does not constitute a limitation on the data refreshing device 4, may include more or less components than those illustrated, or combine some components, or different.
  • the components, such as the data refresh device may also include input and output devices, network access devices, buses, and the like.
  • the so-called processor 40 can be a central processing unit (Central Processing Unit, CPU), can also be other general-purpose processors, digital signal processors (DSP), ASICs (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable) Gate Array, FPGA) Or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 41 may be an internal storage unit of the data refresh device 4, such as a hard disk or memory of the data refresh device 4.
  • the memory 41 may also be an external storage device of the data refreshing device 4, for example, a plug-in hard disk provided on the data refreshing device 4, and a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, flash card (Flash) Card) and so on. Further, the memory 41 may also include both an internal storage unit of the data refresh device 4 and an external storage device.
  • the memory 41 is used to store the computer program and other programs and data required by the device/terminal device.
  • the memory 41 can also be used to temporarily store data that has been output or is about to be output.
  • each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed.
  • the module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
  • Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit, and the integrated unit may be hardware.
  • Formal implementation can also be implemented in the form of software functional units.
  • the specific names of the respective functional units and modules are only for the purpose of facilitating mutual differentiation, and are not intended to limit the scope of protection of the present application.
  • For the specific working process of the unit and the module in the foregoing system reference may be made to the corresponding process in the foregoing method embodiment, and details are not described herein again.
  • the disclosed apparatus/terminal device and method may be implemented in other manners.
  • the device/terminal device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units.
  • components may be combined or integrated into another system, or some features may be omitted or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be completed by a computer program to instruct related hardware.
  • the computer program may be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when the program is executed by the processor. .
  • the computer program comprises computer program code, which may be in the form of source code, object code form, executable file or some intermediate form.
  • the computer readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media.
  • ROM Read Only memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

一种ECU刷写失败后的数据刷新方法及数据刷新装置,适用于汽车电子技术领域,所述方法包括:数据刷新装置与用户车辆的ECU之间建立通信连接(S101);确定用户车辆的配置信息(S102);获取与所述车辆配置信息匹配的ECU数据文件(S103);通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新(S104)。使得可以直接对车辆的ECU进行数据刷新,而不需去专门的车辆车型的售后服务机构进行重刷,操作简单,方便,成本低。

Description

一种ECU刷写失败后的数据刷新方法及数据刷新装置 技术领域
本发明属于汽车电子技术领域,尤其涉及一种ECU刷写失败后的数据刷新方法及数据刷新。
背景技术
随着生活水平的提高,汽车成为了人们生活的必需品,对汽车性能的要求也不断提高,通过ECU升级可以改善汽车系统的性能,例如,提升汽车动力,降低油耗,减少废气排放。
然而,在对ECU进行刷写过程中,也可能出现刷写失败的情况,此时,车辆处于锁定或者无数据状态,现有技术刷写失败后,需要车辆品牌提供的专门的售后服务机构才可以使车辆重新工作,操作麻烦,成本高,且浪费了大量时间。
技术问题
有鉴于此,本发明实施例提供了一种ECU刷写失败后的数据刷新方法、数据刷新装置及计算机可读存储介质,以解决现有技术中ECU刷写失败后,需要车辆品牌提供的专门的售后服务机构才可以使车辆重新工作,操作麻烦,成本高,且浪费了大量时间。
技术解决方案
本发明实施例的第一方面提供了一种ECU刷写失败后的数据刷新方法,包括:
数据刷新装置与用户车辆的ECU之间建立通信连接;
确定用户车辆的配置信息;
获取与所述车辆配置信息匹配的ECU数据文件;
通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
本发明实施例的第二方面提供了一种数据刷新装置,包括:
通信建立单元,用于数据刷新装置与用户车辆的ECU之间建立通信连接;
配置确定单元,用于确定用户车辆的配置信息;
获取单元,用于获取与所述车辆配置信息匹配的ECU数据文件;
刷新单元,用于通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
本发明实施例的第三方面提供了一种数据刷新装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本发明实施例的第一方面提供了一种ECU刷写失败后的数据刷新方法所述方法的步骤。
本发明实施例的第四方面提供了一种计算机可读存储介质,包括:所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本发明实施例的第一方面提供了一种ECU刷写失败后的数据刷新方法所述方法的步骤。
有益效果
本发明实施例与现有技术相比存在的有益效果是:通过在数据刷新装置与用户车辆的ECU之间建立通信连接,确定用户车辆的配置信息,获取与所述配置信息匹配的ECU数据文件,通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。使得可以直接对车辆的ECU进行数据刷新,而不需去专门的车辆车型的售后服务机构进行重刷,操作简单,方便,成本低。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例一提供的ECU刷写失败后的数据刷新方法的流程图;
图2是本发明实施例二提供的ECU刷写失败后的数据刷新方法的流程图;
图3示出了本发明实施例三提供的数据刷新装置的结构图;
图4是本发明第四实施例提供的数据刷新装置的示意图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。
实施例一
图1是本发明实施例一提供的ECU刷写失败后的数据刷新方法的流程图,所述方法详述如下,本发明实施例的执行主体可以为对车辆的ECU数据文件进行刷新的数据刷新装置。
S101,数据刷新装置与用户车辆的ECU之间建立通信连接;
S102,确定用户车辆的配置信息;
本实施例中,可以根据预先存储的用户信息和/或用户选择的用户信息,确定用户车辆的配置信息,具体的:
本地可以预先存储用户车辆的配置信息,例如车辆型号,发动机型号,马力等信息,当用户需要时,可以直接调取与该车匹配的配置信息供用户确认,避免车辆用户因不熟悉车辆配置而无法确定车辆的配置信息。当然,用户也可以对预先存储的用户车辆的配置信息进行合理的而优化,从而使得车辆配置更加合理。
S103,获取与所述配置信息匹配的ECU数据文件;
本实施例中,可以从本地获取所述配置信息对应的数据文件,也可以从预先设置的服务器获取与所述配置信息匹配的ECU数据文件。
S104,通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
本实施例中,对车辆的ECU板刷新完成后,将ECU电脑板切换至保护状态,以避免可能发生的意外刷写,从而使车辆处于安全状态。
本实施例中,通过在数据刷新装置与用户车辆的ECU之间建立通信连接,确定用户车辆的配置信息,获取与所述配置信息匹配的ECU数据文件,通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。使得可以直接对车辆的ECU进行数据刷新,而不需去专门的车辆车型的售后服务机构进行重刷,操作简单,方便,成本低。
实施例二
图2是本发明实施例二提供的ECU刷写失败后的数据刷新方法的流程图,本实施例中与实施例一相同的部分将不再赘述,而仅详细描述了与本实施例相关的技术特征,所述方法详述如下:
S201,获取当前用户车辆的车型对应的通信协议;
本实施例中,所述通信协议为标准的国际通信协议,如J1708或J1939等。
S202,解析所述通信协议;
本实施例中,通过该通信协议进行解析,可以获得与车辆相关的信息。
S203,根据解析结果,获取启动刷写状态指令;
S204,根据启动刷写状态指令,使所述数据刷新装置与用户车辆的ECU之间建立通信连接。
S205,确定用户车辆的配置信息;
S206,获取与所述配置信息匹配的ECU数据文件;
本实施例中,在获取了ECU数据文件后,可以发送所述获取的ECU文件信息至用户,以使用户确认是否根据所述获取的数据文件进行后续刷新,如果用户确认,则执行S207,如果数据需要修改,可以根据用户修改的ECU文件信息,匹配以获取新的ECU数据文件,从而使得用户可以有更多种选择。
S207,通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
可选的,数据刷新装置可以在本地备份用户当前车辆对应的ECU数据文件,则S207具体可以为:将所述用户车辆的ECU数据文件刷新为备份的用户当前车辆对应的ECU数据文件,即还原为原始的ECU数据文件。
可选的,S207具体可以为:将所述用户车辆的ECU数据文件刷新为新的ECU数据文件,所述新的ECU数据文件为根据用户配置信息定制的ECU数据文件。
实施例三
图3示出了本发明实施例三提供的数据刷新装置的结构图,为了便于说明,仅示出了与本发明实施例相关的部分。
通信建立单元31,用于数据刷新装置与用户车辆的ECU之间建立通信连接;
配置确定单元32,用于确定用户车辆的配置信息;
获取单元33,用于获取与所述配置信息匹配的ECU数据文件;
刷新单元34,用于通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
可选的,所述通信建立单元31具体包括:
通信协议获取模块311,用于获取当前用户车辆的车型对应的通信协议;
解析模块312,用于解析所述通信协议;
指令获取模块313,用于根据解析结果,获取启动刷写状态指令;
通信建立模块314,用于根据启动刷写状态指令,使所述数据刷新装置与用户车辆的ECU之间建立通信连接。
可选的,所述配置确定单元32,具体用于根据预先存储的用户信息和/或用户选择的用户信息,确定用户车辆的配置信息。
可选的,所述装置还包括:存储单元,用于在本地备份用户当前车辆对应的ECU数据文件;
所述刷新单元34,具体用于将所述用户车辆的ECU数据文件刷新为备份的用户当前车辆对应的ECU数据文件。
可选的,所述刷新单元34,具体为将所述用户车辆的ECU数据文件刷新为新的ECU数据文件,所述新的ECU数据文件为根据用户配置信息定制的ECU数据文件。
本发明实施例提供的数据刷新装置可以使用在前述对应的方法实施例一、二中,详情参见上述实施例一、二的描述,在此不再赘述。
本实施例中,通过在数据刷新装置与用户车辆的ECU之间建立通信连接,确定用户车辆的配置信息,获取与所述配置信息匹配的ECU数据文件,通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。使得可以直接对车辆的ECU进行数据刷新,而不需去专门的车辆车型的售后服务机构进行重刷,操作简单,方便,成本低。
实施例四
图4是本发明四实施例提供的数据刷新装置的示意图。如图4所示,该实施例的数据刷新装置4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述处理器40上运行的计算机程序42,例如数据刷新程序。所述处理器40执行所述计算机程序42时实现上述各个ECU刷写失败后的数据刷新方法实施例中的步骤,例如图1所示的步骤101至104。或者,所述处理器40执行所述计算机程序42时实现上述各装置实施例中各模块/单元的功能,例如图3所示模块31至34的功能。
示例性的,所述计算机程序42可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器41中,并由所述处理器40执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序42在所述数据刷新装置4中的执行过程。例如,所述计算机程序42可以被分割成通信建立单元、配置确定单元、获取模块、刷新单元,各模块具体功能如下:
通信建立单元,用于数据刷新装置与用户车辆的ECU之间建立通信连接;
配置确定单元,用于确定用户车辆的配置信息;
获取单元,用于获取与所述配置信息匹配的ECU数据文件;
刷新单元,用于通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
所述数据刷新装置4可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述数据刷新装置4可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图4仅仅是数据刷新装置4的示例,并不构成对数据刷新装置4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述数据刷新装置还可以包括输入输出设备、网络接入设备、总线等。
所称处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器41可以是所述数据刷新装置4的内部存储单元,例如数据刷新装置4的硬盘或内存。所述存储器41也可以是所述数据刷新装置4的外部存储设备,例如所述数据刷新装置4上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述数据刷新装置4的内部存储单元也包括外部存储设备。所述存储器41用于存储所述计算机程序以及所述**装置/终端设备所需的其他程序和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
在本发明所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。

Claims (12)

  1. 一种ECU刷写失败后的数据刷新方法,其特征在于,包括:
    数据刷新装置与用户车辆的ECU之间建立通信连接;
    确定用户车辆的配置信息;
    获取与所述车辆配置信息匹配的ECU数据文件;
    通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
  2. 如权利要求1所述的刷新方法,其特征在于,所述数据刷新装置与用户车辆的ECU之间建立通信连接具体为:
    获取当前用户车辆的车型对应的通信协议;
    解析所述通信协议;
    根据解析结果,获取启动刷写状态指令;
    根据启动刷写状态指令,使所述数据刷新装置与用户车辆的ECU之间建立通信连接。
  3. 如权利要求1所述的刷新方法,其特征在于,确定用户车辆的配置信息具体为:
    根据预先存储的用户信息和/或用户选择的用户信息,确定用户车辆的配置信息。
  4. 如权利要求1所述的刷新方法,其特征在于,本地备份了用户当前车辆对应的ECU数据文件,则对所述用户车辆的ECU数据文件进行刷新具体为:
    将所述用户车辆的ECU数据文件刷新为备份的用户当前车辆对应的ECU数据文件。
  5. 如权利要求1所述的刷新方法,其特征在于,所述对所述用户车辆的ECU数据文件进行刷新具体为:将所述用户车辆的ECU数据文件刷新为新的ECU数据文件,所述新的ECU数据文件为根据用户配置信息定制的ECU数据文件。
  6. 一种数据刷新装置,其特征在于,包括:
    通信建立单元,用于数据刷新装置与用户车辆的ECU之间建立通信连接;
    配置确定单元,用于确定用户车辆的配置信息;
    获取单元,用于获取与所述车辆配置信息匹配的ECU数据文件;
    刷新单元,用于通过所述建立的通信连接,对所述用户车辆的ECU数据文件进行刷新。
  7. 如权利要求6所述的装置,其特征在于,所述通信建立单元具体包括:
    通信协议获取模块,用于获取当前用户车辆的车型对应的通信协议;
    解析模块,用于解析所述通信协议;
    指令获取模块,用于根据解析结果,获取启动刷写状态指令;
    通信建立模块,用于根据启动刷写状态指令,使所述数据刷新装置与用户车辆的ECU之间建立通信连接。
  8. 如权利要求6所述的装置,其特征在于,所述配置确定单元,具体用于根据预先存储的用户信息和/或用户选择的用户信息,确定用户车辆的配置信息。
  9. 如权利要求6所述的装置,其特征在于,所述装置还包括:
    存储单元,用于在本地备份用户当前车辆对应的ECU数据文件;
    所述刷新单元,具体用于将所述用户车辆的ECU数据文件刷新为备份的用户当前车辆对应的ECU数据文件。
  10. 如权利要求6所述的装置,其特征在于,所述刷新单元,具体为将所述用户车辆的ECU数据文件刷新为新的ECU数据文件,所述新的ECU数据文件为根据用户配置信息定制的ECU数据文件。
  11. 一种数据刷新装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至5任一项所述方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。
PCT/CN2017/086659 2017-05-31 2017-05-31 一种ecu刷写失败后的数据刷新方法及数据刷新装置 WO2018218522A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/086659 WO2018218522A1 (zh) 2017-05-31 2017-05-31 一种ecu刷写失败后的数据刷新方法及数据刷新装置
CN201780000577.4A CN107454957A (zh) 2017-05-31 2017-05-31 一种ecu刷写失败后的数据刷新方法及数据刷新装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/086659 WO2018218522A1 (zh) 2017-05-31 2017-05-31 一种ecu刷写失败后的数据刷新方法及数据刷新装置

Publications (1)

Publication Number Publication Date
WO2018218522A1 true WO2018218522A1 (zh) 2018-12-06

Family

ID=60497709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086659 WO2018218522A1 (zh) 2017-05-31 2017-05-31 一种ecu刷写失败后的数据刷新方法及数据刷新装置

Country Status (2)

Country Link
CN (1) CN107454957A (zh)
WO (1) WO2018218522A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224907A (zh) * 2018-03-01 2019-09-10 上海汽车集团股份有限公司 一种车载ecu的刷新系统、方法及终端
CN109324813A (zh) * 2018-08-16 2019-02-12 深圳市元征科技股份有限公司 电子控制系统刷写方法、装置及计算机介质
CN112835598B (zh) * 2019-11-25 2023-11-10 广州汽车集团股份有限公司 一种汽车ecu刷写方法及其系统、计算机可读存储介质
CN112904822B (zh) * 2021-01-13 2022-08-12 上海星融汽车科技有限公司 车辆ecu参数备份还原方法、系统及诊断设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345243A (zh) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 一种刷写车辆电子控制单元程序的方法及装置
CN106033209A (zh) * 2015-03-20 2016-10-19 广州汽车集团股份有限公司 一种实现ecu功能配置的方法及装置
CN106528240A (zh) * 2016-11-18 2017-03-22 安徽江淮汽车集团股份有限公司 一种ecu的应用程序写入方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301581A (ja) * 2004-04-09 2005-10-27 Denso Corp 車車間通信システム、車車間通信装置及び制御装置
CN101286066A (zh) * 2007-12-28 2008-10-15 奇瑞汽车股份有限公司 一种汽车控制器软件刷新的方法
CN103377057B (zh) * 2012-04-20 2016-05-25 上海通用汽车有限公司 一种刷新用户车辆电子控制模块的软件的系统和方法
JP6167878B2 (ja) * 2013-11-29 2017-07-26 アイシン精機株式会社 車高調整装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345243A (zh) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 一种刷写车辆电子控制单元程序的方法及装置
CN106033209A (zh) * 2015-03-20 2016-10-19 广州汽车集团股份有限公司 一种实现ecu功能配置的方法及装置
CN106528240A (zh) * 2016-11-18 2017-03-22 安徽江淮汽车集团股份有限公司 一种ecu的应用程序写入方法及系统

Also Published As

Publication number Publication date
CN107454957A (zh) 2017-12-08

Similar Documents

Publication Publication Date Title
WO2018218522A1 (zh) 一种ecu刷写失败后的数据刷新方法及数据刷新装置
WO2018218523A1 (zh) 一种数据刷新方法、装置及计算机可读存储介质
WO2017177769A1 (zh) Ogg 版本部署方法、系统、服务器和存储介质
WO2018103315A1 (zh) 监控数据的处理方法、装置、服务器及存储设备
WO2013149460A1 (zh) 一种Android手持设备连续增量的空中升级方法
WO2018014582A1 (zh) 保单数据处理方法、装置、服务器和存储介质
WO2017157146A1 (zh) 基于用户画像的个性化推荐方法、装置、服务器及存储介质
US8626973B2 (en) Pseudo multi-master I2C operation in a blade server chassis
WO2020258656A1 (zh) 代码段的生成方法、装置、存储介质及计算机设备
WO2016095551A1 (zh) 一种MySQL数据库监控选项脚本的实现方法及装置
WO2011105860A2 (en) Method and apparatus for generating minimum boot image
CN114879829B (zh) 功耗管理方法、装置、电子设备、图形处理器及存储介质
WO2015180434A1 (zh) 一种数据库集群管理数据的方法、节点及系统
WO2016123898A1 (zh) 一种短信管理方法及其移动终端
WO2020155537A1 (zh) 一种待机模式切换方法、装置、电子设备及存储介质
WO2018094839A1 (zh) 一种移动终端预装应用的安装方法及装置
WO2017128592A1 (zh) 一种基于智能电视提高应用程序适配性的方法和装置
WO2014089781A1 (zh) 一种硬盘系统操作方法、存储系统及处理器
CN113419676B (zh) 一种数据远程复制方法、系统、存储介质及设备
WO2018171570A1 (zh) 一种终端开机过程的驱动程序加载方法及终端设备
US20200225895A1 (en) Changing over a general purpose os display to a dedicated display screen
WO2017067292A1 (zh) 一种保证指纹数据稳定的方法、装置及终端
WO2018161294A1 (zh) 应用程序本地缓存方法和装置
WO2015067087A1 (zh) 一种属性集推荐方法和装置
WO2014206190A1 (zh) 一种图片显示方法、装置及机顶盒

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17911669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17911669

Country of ref document: EP

Kind code of ref document: A1