WO2018218523A1 - 一种数据刷新方法、装置及计算机可读存储介质 - Google Patents

一种数据刷新方法、装置及计算机可读存储介质 Download PDF

Info

Publication number
WO2018218523A1
WO2018218523A1 PCT/CN2017/086660 CN2017086660W WO2018218523A1 WO 2018218523 A1 WO2018218523 A1 WO 2018218523A1 CN 2017086660 W CN2017086660 W CN 2017086660W WO 2018218523 A1 WO2018218523 A1 WO 2018218523A1
Authority
WO
WIPO (PCT)
Prior art keywords
user vehicle
vehicle
data
current user
optimal parameter
Prior art date
Application number
PCT/CN2017/086660
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/086660 priority Critical patent/WO2018218523A1/zh
Priority to CN201780000578.9A priority patent/CN107438832B/zh
Publication of WO2018218523A1 publication Critical patent/WO2018218523A1/zh

Links

Classifications

    • 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 automotive electronics, and in particular relates to a data refreshing method, device and computer readable storage medium.
  • the embodiment of the present invention provides a data refreshing method to solve the problem that the success rate of refreshing ECU data by the terminal in the prior art is low.
  • a first aspect of the embodiments of the present invention provides a data refreshing method, including:
  • the ECU data file of the user vehicle is refreshed according to the optimal parameter combination.
  • a second aspect of the embodiments of the present invention provides a data refreshing apparatus, including:
  • An obtaining unit configured to acquire a communication protocol corresponding to a model of a current user vehicle
  • a parsing unit configured to parse the communication protocol, and obtain communication related parameters
  • a refreshing unit configured to refresh the ECU data file of the user vehicle according to the optimal parameter combination.
  • 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 Steps to achieve the method of the first aspect of the invention
  • a fourth aspect of an embodiment of the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the method according to the first aspect of the present invention A step of.
  • the embodiment of the present invention has the beneficial effects of: parsing the communication protocol by acquiring a communication protocol corresponding to the model of the current user vehicle, acquiring communication-related parameters, and generating an optimal parameter matching the current user vehicle. Combining, according to the optimal parameter combination, refreshing the ECU data file of the user vehicle, and by using the optimal parameter combination, the data parameter in the communication process can be maintained in a good state, thereby improving the brush success rate. Achieve faster and better refresh.
  • FIG. 1 is a flowchart of a data refreshing method according to Embodiment 1 of the present invention.
  • Embodiment 2 is a flowchart of a data refreshing method provided by Embodiment 2 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 structural diagram of a data refreshing apparatus according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic diagram of a data refreshing apparatus according to a fifth embodiment of the present invention.
  • Embodiment 1 is a flowchart of a data refreshing method 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 refreshing device that refreshes an ECU data file of a vehicle.
  • the communication protocol is a standard international communication protocol, such as J1708 or J1989.
  • communication-related parameters in the communication protocol such as data transmission and reception time interval, frame length, waiting time, and the like, can be obtained through analysis.
  • an optimal parameter combination matching the current user vehicle may be generated according to historical data and/or empirical data of the user's vehicle, and the experience data may be the locally stored running data of the vehicle type or the vehicle pre-stored by the server. Operating data.
  • S104 Refresh an ECU data file of the user vehicle according to the optimal parameter combination.
  • the data of the ECU board may be refreshed by using an encryption method before data refreshing, thereby ensuring data security of the data communication process.
  • the specific encryption may adopt dynamic encryption, for example, generating a first dynamic password according to the refresh address and the data, and transmitting the first dynamic password and the data to be brushed to the refresh address of the ECU board, and the ECU may locally generate the first dynamic password and the ECU.
  • the second dynamic password is compared to determine if the data has been tampered with during transmission.
  • the optimal parameter combination can ensure that the data parameters in the communication process are maintained in a good state, thereby improving the brush success rate and achieving faster and better refresh.
  • Embodiment 2 is a flowchart of a data refreshing method according to Embodiment 2 of the present invention.
  • the same components as those in Embodiment 1 in this embodiment will not be described again, and only the technical features related to the present embodiment are described in detail. Details are as follows:
  • weight whether the importance is set according to user requirements or according to the empirical value in the actual use process.
  • the simulation refresh in order to verify the effect of the optimal parameter, can be simulated on the vehicle to ensure that the data refreshed in the user's vehicle is the most effective data, and the refresh failure due to the bad data is avoided, because the effective improvement is effective. Refresh success rate.
  • the reminder information may be output to remind the user to modify the data.
  • the ECU data file of the user vehicle may be refreshed again, wherein the preset The time can be set according to the communication medium and channel characteristics.
  • the optimal parameter combination matching the current user vehicle is generated according to the weight value of each parameter set, and the simulated vehicle is refreshed and simulated by using the optimal parameter combination.
  • the ECU data file of the user vehicle is refreshed again to ensure the data refresh success rate.
  • 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.
  • the obtaining unit 31 is configured to acquire a communication protocol corresponding to a model of the current user vehicle
  • the parsing unit 32 is configured to parse the communication protocol to obtain communication related parameters
  • a generating unit 33 configured to generate an optimal parameter combination that matches the current user vehicle
  • the refreshing unit 34 is configured to refresh the ECU data file of the user vehicle according to the optimal parameter combination.
  • the communication unit corresponding to the model of the current user vehicle is acquired by the obtaining unit, the parsing unit parses the communication protocol, acquires communication-related parameters, and the generating unit generates an optimal parameter combination that matches the current user vehicle, according to the
  • the optimal parameter combination is used to refresh the ECU data file of the user vehicle, and the refresh unit can ensure that the data parameters in the communication process are maintained in a good state by the optimal parameter combination, thereby improving the brush success rate and achieving faster implementation. Better refresh.
  • the data refreshing apparatus provided by the embodiment of the present invention may be used in the foregoing first embodiment of the method. For details, refer to the description of the first embodiment, and details are not described herein again.
  • FIG. 4 is a structural diagram of a data refreshing apparatus according to Embodiment 4 of the present invention. For convenience of description, only parts related to the embodiment of the present invention are shown.
  • the obtaining unit 41 is configured to acquire a communication protocol corresponding to a model of the current user vehicle
  • the parsing unit 42 is configured to parse the communication protocol, and obtain communication related parameters
  • a generating unit 43 configured to generate an optimal parameter combination that matches the current user vehicle
  • the generating unit 43 is specifically configured to: set a weight of each parameter according to a frequency and/or importance of the acquiring parameter; and generate and the current user according to the weight of each parameter that is set.
  • the simulation unit 44 is configured to perform refresh simulation on the simulated vehicle by using the optimal parameter combination.
  • the refreshing unit 45 is configured to refresh the ECU data file of the user vehicle according to the optimal parameter combination.
  • the re-brushing unit 46 is configured to refresh the ECU data file of the user vehicle when the receipt of the successful writing is not received within the preset time.
  • the data refreshing apparatus provided by the embodiment of the present invention may be used in the foregoing second embodiment of the method.
  • FIG. 5 is a schematic diagram of a data refreshing apparatus according to a fourth embodiment of the present invention.
  • the data refreshing apparatus 5 of this embodiment includes a processor 50, a memory 51, and a computer program 52, such as a data refresh program, stored in the memory 51 and operable on the processor 50.
  • the processor 50 executes the computer program 52, the steps in the foregoing various data refreshing method embodiments are implemented, such as steps 101 to 104 shown in FIG.
  • the processor 50 executes the computer program 52, the functions of the modules/units in the above-described respective device embodiments are implemented, such as the functions of the modules 31 to 34 shown in FIG.
  • the computer program 52 can be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 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 52 in the data refresh device 5.
  • the computer program 52 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:
  • An obtaining unit configured to acquire a communication protocol corresponding to a model of a current user vehicle
  • a parsing unit configured to parse the communication protocol, and obtain communication related parameters
  • a refreshing unit configured to refresh the ECU data file of the user vehicle according to the optimal parameter combination.
  • the data refreshing device 5 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the data refreshing device 5 may include, but is not limited to, the processor 50 and the memory 51. It will be understood by those skilled in the art that FIG. 5 is only an example of the data refreshing device 5, does not constitute a limitation on the data refreshing device 5, 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 50 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 51 may be an internal storage unit of the data refresh device 5, such as a hard disk or memory of the data refresh device 5.
  • the memory 51 may also be an external storage device of the data refreshing device 5, such as a plug-in hard disk equipped on the data refreshing device 5, and a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, flash card (Flash) Card) and so on.
  • the memory 51 may also include both an internal storage unit of the data refresh device 5 and an external storage device.
  • the memory 51 is used to store the computer program and other programs and data required by the device/terminal device.
  • the memory 51 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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

一种数据刷新方法、装置及计算机可读存储介质,适用于汽车电子技术领域,包括:获取当前用户车辆的车型对应的通信协议(S101),解析所述通信协议,获取通信相关的参数(S102),生成与当前用户车辆匹配的最优参数组合(S103),根据所述最优参数组合,对所述用户车辆的ECU数据文件进行刷新(S104)。通过所述最优参数组合,可以保证通讯过程中的数据参数保持较好的状态,从而提高刷新成功率,实现更快更好的刷新。

Description

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

Claims (10)

  1. 一种数据刷新方法,其特征在于,包括:
    获取当前用户车辆的车型对应的通信协议;
    解析所述通信协议,获取通信相关的参数;
    生成与当前用户车辆匹配的最优参数组合;
    根据所述最优参数组合,对所述用户车辆的ECU数据文件进行刷新。
  2. 如权利要求1所述的数据刷新方法,其特征在于,所述生成与当前用户车辆匹配的最优参数组合具体为:
    根据获取参数的使用频率和/或重要性,设置每个参数的权值;
    根据所述设置的每个参数的权值,生成与当前用户车辆匹配的最优参数组合。
  3. 如权利要求1所述的数据刷新方法,其特征在于,所述生成与当前用户车辆匹配的最优参数组合之后,还包括:
    采用所述最优参数组合,对所述模拟车辆进行刷新模拟。
  4. 如权利要求1所述的数据刷新方法,其特征在于,根据所述最优参数组合,对所述用户车辆的ECU数据文件进行刷新之后,包括:
    当预设时间内未收到刷写成功的回执时,重新对所述用户车辆的ECU数据文件进行刷新。
  5. 一种数据刷新装置,其特征在于,所述装置包括:
    获取单元,用于获取当前用户车辆的车型对应的通信协议;
    解析单元,用于解析所述通信协议,获取通信相关的参数;
    生成单元,用于生成与当前用户车辆匹配的最优参数组合;
    刷新单元,用于根据所述最优参数组合,对所述用户车辆的ECU数据文件进行刷新。
  6. 根据权利要求5所述的装置,其特征在于,所述生成单元具体用于,根据获取参数的使用频率和/或重要性,设置每个参数的权值;以及根据所述设置的每个参数的权值,生成与当前用户车辆匹配的最优参数组合。
  7. 根据权利要求5所述的装置,其特征在于,所述装置还包括:
    模拟单元,用于采用所述最优参数组合,对所述模拟车辆进行刷新模拟。
  8. 根据权利要求5所述的装置,其特征在于,所述装置还包括:
    重刷单元,用于当预设时间内未收到刷写成功的回执时,重新对所述用户车辆的ECU数据文件进行刷新。
  9. 一种数据刷新装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至4任一项所述方法的步骤。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述方法的步骤。
PCT/CN2017/086660 2017-05-31 2017-05-31 一种数据刷新方法、装置及计算机可读存储介质 WO2018218523A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/086660 WO2018218523A1 (zh) 2017-05-31 2017-05-31 一种数据刷新方法、装置及计算机可读存储介质
CN201780000578.9A CN107438832B (zh) 2017-05-31 2017-05-31 一种数据刷新方法、装置及计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/086660 WO2018218523A1 (zh) 2017-05-31 2017-05-31 一种数据刷新方法、装置及计算机可读存储介质

Publications (1)

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

Family

ID=60462032

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086660 WO2018218523A1 (zh) 2017-05-31 2017-05-31 一种数据刷新方法、装置及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107438832B (zh)
WO (1) WO2018218523A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343872A (zh) * 2018-08-01 2019-02-15 宝沃汽车(中国)有限公司 车辆的软件刷写方法和装置
CN111367921A (zh) * 2018-12-26 2020-07-03 北京奇虎科技有限公司 数据对象的刷新方法及装置
CN109782748A (zh) * 2019-03-19 2019-05-21 广州瑞修得信息科技有限公司 一种故障数据模拟发生方法及装置
CN111681662B (zh) * 2020-06-01 2023-07-25 科大讯飞股份有限公司 车内交互音频加密方法、装置及设备
CN115617370B (zh) * 2022-10-21 2024-02-23 广州汽车集团股份有限公司 数据刷新方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404097A (zh) * 2010-09-14 2012-04-04 华为技术有限公司 发送报文的方法和装置
CN103389730A (zh) * 2013-08-07 2013-11-13 北京经纬恒润科技有限公司 电动助力转向控制参数的配置方法及装置
US20140082599A1 (en) * 2012-09-20 2014-03-20 Electronics & Telecommunications Research Institute Method and apparatus for updating electronic control unit in system based on automotive open system architecture
CN104139782A (zh) * 2013-05-07 2014-11-12 日电(中国)有限公司 用于配置车辆设备参数的系统和方法
CN106033209A (zh) * 2015-03-20 2016-10-19 广州汽车集团股份有限公司 一种实现ecu功能配置的方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710656B (zh) * 2012-06-14 2014-03-12 北京理工大学 基于汽车网关系统的通信协议逆向解析方法
US9241440B2 (en) * 2013-03-01 2016-01-26 Cnh Industrial Canada Ltd. Control system for a disc cutterbar using stubble cut quality feedback
CN103826245B (zh) * 2014-03-18 2017-03-29 南京华苏科技有限公司 一种具有学习功能的参数检查方法及设备
CN104391714A (zh) * 2014-10-30 2015-03-04 奇瑞汽车股份有限公司 一种车辆的软件更新方法和装置
CN105573294A (zh) * 2016-01-04 2016-05-11 镇江恒驰科技有限公司 一种基于互联网的新能源汽车电子控制单元ecu
CN105915341A (zh) * 2016-06-17 2016-08-31 潍柴动力股份有限公司 Ecu刷写方法及装置
CN106598641A (zh) * 2016-10-27 2017-04-26 深圳市元征科技股份有限公司 基于行车电脑的程序刷写方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404097A (zh) * 2010-09-14 2012-04-04 华为技术有限公司 发送报文的方法和装置
US20140082599A1 (en) * 2012-09-20 2014-03-20 Electronics & Telecommunications Research Institute Method and apparatus for updating electronic control unit in system based on automotive open system architecture
CN104139782A (zh) * 2013-05-07 2014-11-12 日电(中国)有限公司 用于配置车辆设备参数的系统和方法
CN103389730A (zh) * 2013-08-07 2013-11-13 北京经纬恒润科技有限公司 电动助力转向控制参数的配置方法及装置
CN106033209A (zh) * 2015-03-20 2016-10-19 广州汽车集团股份有限公司 一种实现ecu功能配置的方法及装置

Also Published As

Publication number Publication date
CN107438832A (zh) 2017-12-05
CN107438832B (zh) 2020-08-11

Similar Documents

Publication Publication Date Title
WO2018218523A1 (zh) 一种数据刷新方法、装置及计算机可读存储介质
WO2018218522A1 (zh) 一种ecu刷写失败后的数据刷新方法及数据刷新装置
CN111314274B (zh) 一种车载终端与中心平台双向认证方法及系统
WO2017045395A1 (zh) 一种虚拟sim卡实现方法及系统
US20200356689A1 (en) Controlling Access to Datasets Described in a Cryptographically Signed Record
WO2020224250A1 (zh) 智能合约的触发方法、装置、设备及存储介质
WO2013117106A1 (zh) 软件更新方法及其装置
WO2022134760A1 (zh) 数据处理方法、装置、电子设备及介质
WO2017028685A1 (zh) 即时通信的方法、服务器和存储介质
WO2021036511A1 (zh) 数据加密存储和读取的方法、终端设备及存储介质
CN113094734A (zh) 一种设备密钥更新方法、装置、存储介质及电子设备
WO2018218465A1 (zh) 电子签名系统、电子签名服务器及电子签名方法
CN115474078A (zh) 一种基于云计算的直播电视服务的数据加密方法
WO2022127574A1 (zh) 用于模拟过去未来数据的方法、装置及终端设备
CN110032834B (zh) 系统授权控制方法、终端设备及存储介质
US20030079141A1 (en) Method for securing the authenticity of hardware and software in a networked system
CN113704818A (zh) 加密数据存储系统的密钥管理方法、装置及终端设备
Kim et al. Introducing attribute-based access control to AUTOSAR
WO2017067292A1 (zh) 一种保证指纹数据稳定的方法、装置及终端
WO2018054082A1 (zh) 一种具有限时使用功能的电子设备及其限时使用方法
WO2014206190A1 (zh) 一种图片显示方法、装置及机顶盒
CN111292082B (zh) 一种块链式账本中的公钥管理方法、装置及设备
WO2013143329A1 (zh) 一种终端数据访问方法及装置
CN111859351A (zh) 向芯片写入信息的方法、系统、服务器及存储介质
CN104484153A (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: 17912194

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: 17912194

Country of ref document: EP

Kind code of ref document: A1