







技术领域technical field
本发明涉及车辆工程技术领域,特别涉及一种车辆控制器版本同步方法、装置及设备。The present invention relates to the technical field of vehicle engineering, and in particular, to a method, device and device for synchronizing versions of a vehicle controller.
背景技术Background technique
随着经济的发展,汽车行业也随之发展的越来越快,更多的消费者选择汽车作为出行工具的首选,汽车的保有量也日益增多,消费者对汽车的智能性要求越来越高,大量的电子电气功能的部件应用在汽车上,汽车的电子化程度已被看作是衡量汽车配置的重要标志之一。With the development of the economy, the automobile industry is also developing faster and faster. More consumers choose automobiles as their first choice for travel, and the number of automobiles is also increasing. Consumers have more and more intelligent requirements for automobiles. High, a large number of components with electronic and electrical functions are used in automobiles, and the degree of electronics in automobiles has been regarded as one of the important indicators to measure the configuration of automobiles.
汽车上电子控制器的数量与日俱增,随之而来,售后市场汽车控制器的软件更新需求也越来越多,如控制器软件功能优化或增加新功能。由于软件更新的需求不断增加,OTA(over the air)即远程更新控制器软件的技术在汽车上也逐渐开始应用起来。With the increasing number of electronic controllers in automobiles, there is an increasing demand for software updates for aftermarket automotive controllers, such as controller software function optimization or the addition of new functions. Due to the ever-increasing demand for software updates, OTA (over the air), a technology for remotely updating controller software, is gradually being applied in cars.
目前,OTA技术在手机上已经普遍应用,但是在汽车领域,它仍是一项前沿性技术。汽车的功能复杂,配置的控制器也繁多,而且涉及功能和信息安全,所以汽车的OTA更需要谨慎,其中一项比较关键的因素即是汽车控制器版本管理。汽车有各种车型配置,不同车型配置有不同的控制器,相同功能的控制器也存在不同的供应商,即使相同供应商的相同功能的控制器也可能存在不同的标定参数配置,所以更新控制器软件前,必须识别软件与车辆的匹配关系,如果没有完善的控制器版本管理,汽车的OTA是不能真正意义上实现的。At present, OTA technology has been widely used in mobile phones, but in the field of automobiles, it is still a cutting-edge technology. The functions of the car are complex, and there are many configured controllers, and it involves function and information security. Therefore, the OTA of the car needs to be more cautious. One of the more critical factors is the version management of the car controller. There are various car models configuration, different models are configured with different controllers, and controllers with the same function also have different suppliers. Even controllers with the same function from the same supplier may have different calibration parameter configurations, so update the control. Before installing the controller software, the matching relationship between the software and the vehicle must be identified. If there is no perfect controller version management, the OTA of the car cannot be realized in a real sense.
目前,市场上汽车控制器版本信息都是当过汽车在进行售后服务站维修或保养是获取的,售后服务站使用诊断仪通过车载诊断系统的端口进行获取汽车的控制器版本信息,从而判断汽车是否需要更新控制器软件。这种方式存在一些不足,首先,只有汽车进售后服务站才能获取汽车控制器版本信息,而如果汽车在一些私人维修厂换控制器,售后就不能获取这辆汽车的最新版本信息;其次,只有将诊断仪获取的汽车控制器版本信息上传和保存在后台系统上,售后才能获取汽车的版本信息,而目前很多汽车厂家没有完善的后台系统,或者是有后台系统,而诊断仪没有自动将信息上传到后台系统,需要人工录入,这样很难保证所有进站维修或保养的汽车版本信息都能录入到后台系统;再次,一旦汽车通过汽车的OTA方式更新控制器软件,汽车可以不在售后服务站即可以完成软件更新,而更新后的控制器版本信息需要及时上传到后台系统,用于售后确认软件更新活动的完成情况,而目前通过汽车进售后服务站用诊断仪获取版本信息的方式,难以满足汽车的OTA对控制器版本及时获取的需求。At present, the version information of the car controller on the market is obtained when the car is being repaired or maintained in the after-sales service station. Whether the controller software needs to be updated. There are some shortcomings in this method. First, the version information of the car controller can only be obtained when the car enters the after-sales service station. If the car is replaced in some private repair shop, the latest version information of the car cannot be obtained after the sale. Upload and save the version information of the car controller obtained by the diagnostic instrument on the background system, and only after the sale can obtain the version information of the car. At present, many car manufacturers do not have a complete background system, or have a background system, and the diagnostic instrument does not automatically transfer the information. Uploading to the background system requires manual input, so it is difficult to ensure that all the car version information for in-station repair or maintenance can be entered into the background system; again, once the car updates the controller software through the car's OTA method, the car can not be in the after-sales service station. That is, the software update can be completed, and the updated controller version information needs to be uploaded to the background system in time for after-sales confirmation of the completion of the software update activities, and the current way of obtaining version information through the car entering the after-sales service station and using the diagnostic instrument is difficult. Meet the needs of the car's OTA to obtain the controller version in time.
为了解决以上问题,是本领域技术人所亟需解决的问题。In order to solve the above problems, it is an urgent problem to be solved by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
针对现有技术的上述问题,本发明的目的在于提供一种车辆控制器版本同步方法、装置及设备,能够直接通过车联网系统远程方式获取和传输车辆控制器版本信息,无需外接设备传输,提高车辆控制器版本信息的更新效率和实时性。In view of the above problems of the prior art, the purpose of the present invention is to provide a vehicle controller version synchronization method, device and equipment, which can directly obtain and transmit the vehicle controller version information in a remote manner through the Internet of Vehicles system, without the need for external device transmission, and improve the Update efficiency and real-time performance of vehicle controller version information.
为了解决上述问题,本发明提供一种车辆控制器版本同步方法,包括:In order to solve the above problems, the present invention provides a vehicle controller version synchronization method, including:
接收版本读取指令;Receive version read instructions;
根据所述版本读取指令,获取当前的车辆版本标识;Obtain the current vehicle version identifier according to the version reading instruction;
确定通过车联网系统传输所述车辆版本标识至后台系统,在所述后台系统中进行所述车辆版本标识与服务器版本标识的对比;It is determined that the vehicle version identifier is transmitted to the background system through the Internet of Vehicles system, and the comparison between the vehicle version identifier and the server version identifier is performed in the background system;
接收通过车联网系统传输的对比结果;Receive the comparison results transmitted through the Internet of Vehicles system;
根据所述对比结果,判断所述车辆版本标识是否需要更新;According to the comparison result, determine whether the vehicle version identification needs to be updated;
如果所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据;If the vehicle version identification does not need to be updated, save the comparison result, and count the vehicle version identification data;
如果所述车辆版本标识需要更新,接收所述车辆版本标识的更新指令;If the vehicle version identifier needs to be updated, receive an update instruction for the vehicle version identifier;
根据所述更新指令,更新所述车辆版本标识;According to the update instruction, update the vehicle version identifier;
确定通过车联网系统传输已更新的所述车辆版本标识至后台系统进行对比;It is determined that the updated vehicle version identifier is transmitted to the background system through the Internet of Vehicles system for comparison;
当所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据。When the vehicle version identification does not need to be updated, the comparison result is saved, and the vehicle version identification data is counted.
进一步地,版本读取指令被后台系统在预设条件下创建,所述预设条件为确定车辆已更新控制软件或增加控制器。Further, the version reading instruction is created by the background system under a preset condition, and the preset condition is to determine that the vehicle has updated control software or added a controller.
进一步地,获取所述车辆版本标识包括:Further, acquiring the vehicle version identifier includes:
接收到预置版本读取指令;Receive the preset version read command;
根据所述预置版本读取指令判断是否达到启动第一预设周期的条件;According to the preset version reading instruction, determine whether the condition for starting the first preset cycle is reached;
当达到启动所述第一预设周期的条件,获取控制器版本信息;When the condition for starting the first preset period is reached, obtain the controller version information;
将所述控制器版本信息按照第一预设生产规则进行压缩,并且转换成规定长度的字符标识。The controller version information is compressed according to the first preset production rule, and converted into a character identifier of a specified length.
进一步地,所述控制器版本信息包括控制器地址和控制器版本标识符。Further, the controller version information includes a controller address and a controller version identifier.
进一步地,获取所述服务器版本标识包括:Further, obtaining the server version identifier includes:
接收到所述后台系统已获取所述预置版本读取指令的信息;receiving information that the background system has obtained the preset version reading instruction;
根据所述信息,确定所述后台系统进行判断是否达到启动第二预设周期的条件;According to the information, determine whether the background system determines whether the conditions for starting the second preset period are met;
接收到当达到启动第二预设周期的条件时,所述后台系统获取预期控制器版本信息的指令;receiving, when the condition for starting the second preset period is reached, the background system obtains an instruction of the expected controller version information;
根据所述指令,确定已生成所述服务器版本标识的信息,所述服务器版本标识为所述预期控制器版本信息按照第二预设生产规则进行压缩,并且转换成规定长度的字符标识。According to the instruction, it is determined that the information of the server version identifier has been generated, and the server version identifier is that the expected controller version information is compressed according to the second preset production rule and converted into a character identifier of a specified length.
进一步地,所述预期控制器版本信息用于表征被服务器获取的最新车辆控制器版本信息,所述预期控制器版本信息包括服务器储存的控制器地址和控制器版本标识符。Further, the expected controller version information is used to represent the latest vehicle controller version information acquired by the server, and the expected controller version information includes a controller address and a controller version identifier stored by the server.
进一步地,所述预期控制器版本信息通过诊断仪器连接方式或远程系统传输方式获取。Further, the expected controller version information is obtained through a connection method of a diagnostic instrument or a remote system transmission method.
进一步地,判断所述车辆版本标识是否需要更新包括:Further, judging whether the vehicle version identifier needs to be updated includes:
发送所述车辆版本标识通过车联网系统传输至所述后台系统,用于对比所述车辆版本标识与所述服务器版本标识是否一致;Sending the vehicle version identification to the background system through the Internet of Vehicles system for comparing whether the vehicle version identification is consistent with the server version identification;
确定所述车辆版本标识与所述服务器版本标识一致,不需要更新车辆版本标识;It is determined that the vehicle version identifier is consistent with the server version identifier, and the vehicle version identifier does not need to be updated;
确定所述车辆版本标识与所述服务器版本标识不一致,确定更新车辆版本标识。It is determined that the vehicle version identifier is inconsistent with the server version identifier, and the vehicle version identifier is determined to be updated.
本发明还保护了一种车辆控制器版本同步装置,包括:The present invention also protects a vehicle controller version synchronization device, comprising:
第一信息获取单元,用于接收版本读取指令;a first information acquisition unit, configured to receive a version reading instruction;
车辆版本标识获取单元,用于根据所述版本读取指令,获取当前的车辆版本标识;a vehicle version identification obtaining unit, configured to obtain the current vehicle version identification according to the version reading instruction;
第一信息确定单元,用于确定通过车联网系统传输所述车辆版本标识至后台系统,在所述后台系统中进行所述车辆版本标识与服务器版本标识的对比;a first information determination unit, configured to determine that the vehicle version identifier is transmitted to a background system through the Internet of Vehicles system, and the vehicle version identifier and the server version identifier are compared in the background system;
第二信息获取单元,用于接收通过车联网系统传输的对比结果;a second information acquisition unit, configured to receive the comparison result transmitted through the Internet of Vehicles system;
第一判断单元,用于根据所述对比结果,判断所述车辆版本标识是否需要更新;a first judging unit, configured to judge whether the vehicle version identifier needs to be updated according to the comparison result;
第一执行单元,用于在所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据;a first execution unit, configured to save the comparison result when the vehicle version identification does not need to be updated, and count the vehicle version identification data;
第二执行单元,用于在所述车辆版本标识需要更新,接收所述车辆版本标识的更新指令;a second execution unit, configured to receive an update instruction of the vehicle version identifier when the vehicle version identifier needs to be updated;
第三执行单元,用于根据所述更新指令,更新所述车辆版本标识;a third execution unit, configured to update the vehicle version identifier according to the update instruction;
第二信息确定单元,用于确定通过车联网系统传输已更新的所述车辆版本标识至后台系统。The second information determination unit is configured to determine that the updated vehicle version identifier is transmitted to the background system through the vehicle networking system.
本发明还保护了一种车辆控制器版本同步设备,包括:后台服务器、车联网控制器和车辆版本控制器;The invention also protects a vehicle controller version synchronization device, comprising: a background server, a vehicle networking controller and a vehicle version controller;
所述车辆版本控制器,用于实现所述的车辆控制器版本方法。The vehicle version controller is used to implement the vehicle controller version method.
由于上述技术方案,本发明具有以下有益效果:Due to the above-mentioned technical scheme, the present invention has the following beneficial effects:
1)本发明的一种车辆控制器版本同步方法、装置及设备,能够远程方式获取车辆控制器版本信息,实时性好,便于进行车辆控制器版本信息的更新。1) A vehicle controller version synchronization method, device and device of the present invention can remotely acquire vehicle controller version information, with good real-time performance, and is convenient for updating the vehicle controller version information.
2)本发明的一种车辆控制器版本同步方法、装置及设备,能够直接通过车联网系统传输至后台系统,无需外接设备传输,提高车辆控制器版本信息的更新效率。2) The vehicle controller version synchronization method, device and device of the present invention can be directly transmitted to the background system through the IoV system without external device transmission, thereby improving the update efficiency of the vehicle controller version information.
3)本发明的一种车辆控制器版本同步方法、装置及设备,能够保证车辆内部和后台系统中的控制器版本信息的获取频次相同,并且能够统计控制器版本信息的数据,根据售后的需求进行调整频次和数据,灵活性更高,提高了客户的满意度。3) A vehicle controller version synchronization method, device and device of the present invention can ensure that the acquisition frequency of the controller version information in the vehicle interior and in the background system is the same, and can count the data of the controller version information, according to after-sales needs. Adjust frequency and data for greater flexibility and improved customer satisfaction.
附图说明Description of drawings
为了更清楚地说明本发明的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它附图。In order to illustrate the technical solutions of the present invention more clearly, the following will briefly introduce the accompanying drawings that are required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本发明实施例提供的车辆控制器版本同步方法的流程图;1 is a flowchart of a method for synchronizing versions of a vehicle controller provided by an embodiment of the present invention;
图2是本发明实施例提供的获取车辆版本标识的流程图;2 is a flowchart of obtaining a vehicle version identifier provided by an embodiment of the present invention;
图3是本发明实施例提供的获取服务器版本标识的流程图;3 is a flowchart of obtaining a server version identifier provided by an embodiment of the present invention;
图4是本发明实施例提供的判断所述车辆版本标识是否需要更新的流程图;FIG. 4 is a flowchart for judging whether the vehicle version identifier needs to be updated according to an embodiment of the present invention;
图5是本发明实施例提供的车辆控制器版本同步装置的结构示意图;5 is a schematic structural diagram of a vehicle controller version synchronization device provided by an embodiment of the present invention;
图6是本发明实施例提供的车辆版本标识获取单元的结构示意图;6 is a schematic structural diagram of a vehicle version identification acquisition unit provided by an embodiment of the present invention;
图7是本发明实施例提供的第二信息获取单元的结构示意图;7 is a schematic structural diagram of a second information acquisition unit provided by an embodiment of the present invention;
图8是本发明实施例提供的第一判断单元的结构示意图。FIG. 8 is a schematic structural diagram of a first judgment unit provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.
此处所称的“一个实施例”或“实施例”是指可包含于本发明至少一个实现方式中的特定特征、结构或特性。在本发明的描述中,需要理解的是,术语“上”、“下”、“左”、“右”、“顶”、“底”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含的包括一个或者更多个该特征。而且,术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。Reference herein to "one embodiment" or "an embodiment" refers to a particular feature, structure, or characteristic that may be included in at least one implementation of the present invention. In the description of the present invention, it should be understood that the orientations or positional relationships indicated by the terms "upper", "lower", "left", "right", "top", "bottom", etc. are based on those shown in the accompanying drawings The orientation or positional relationship is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. Also, the terms "first," "second," etc. are used to distinguish between similar objects, and are not necessarily used to describe a particular order or precedence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein.
实施例一Example 1
本实施例一提供一种车辆控制器版本同步方法、装置及设备。The first embodiment provides a vehicle controller version synchronization method, device, and device.
如图1所示,所述车辆控制器版本同步方法包括:As shown in Figure 1, the vehicle controller version synchronization method includes:
S101.接收版本读取指令;S101. Receive a version reading instruction;
S102.根据所述版本读取指令,获取当前的车辆版本标识;S102. Obtain the current vehicle version identifier according to the version reading instruction;
S103.确定通过车联网系统传输所述车辆版本标识至后台系统,在所述后台系统中进行所述车辆版本标识与服务器版本标识的对比;S103. Determine to transmit the vehicle version identification to the background system through the Internet of Vehicles system, and perform a comparison between the vehicle version identification and the server version identification in the background system;
S104.接收通过车联网系统传输的对比结果;S104. Receive the comparison result transmitted through the Internet of Vehicles system;
S105.根据所述对比结果,判断所述车辆版本标识是否需要更新;S105. According to the comparison result, determine whether the vehicle version identifier needs to be updated;
S106.如果所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据;S106. If the vehicle version identification does not need to be updated, save the comparison result, and count the vehicle version identification data;
S107.如果所述车辆版本标识需要更新,接收所述车辆版本标识的更新指令;S107. If the vehicle version identification needs to be updated, receive an update instruction of the vehicle version identification;
S108.根据所述更新指令,更新所述车辆版本标识;S108. Update the vehicle version identifier according to the update instruction;
S109.确定通过车联网系统传输已更新的所述车辆版本标识至后台系统,根据已更新的所述车辆版本标识与所述服务器版本标识的对比结果;S109. Determine to transmit the updated vehicle version identification to the background system through the Internet of Vehicles system, according to the comparison result of the updated vehicle version identification and the server version identification;
保存所述对比结果,统计所述车辆版本标识数据。The comparison result is saved, and the vehicle version identification data is counted.
进一步地,所述车辆版本标识数据能够根据售后的需求进行统计,更加灵活性更高,提高了客户的满意度。Further, the vehicle version identification data can be counted according to after-sales requirements, which is more flexible and improves customer satisfaction.
具体地,版本读取指令被后台系统在预设条件下创建,所述预设条件为确定车辆已更新控制软件或增加控制器。Specifically, the version reading instruction is created by the background system under a preset condition, where the preset condition is to determine that the vehicle has updated control software or added a controller.
进一步地,所述预设条件为确定车辆已更新控制软件。Further, the preset condition is to determine that the vehicle has updated the control software.
如图2所示,所述车辆版本标识包括:As shown in Figure 2, the vehicle version identification includes:
S201.接收到预置版本读取指令;S201. Receive a preset version read instruction;
S202.根据所述预置版本读取指令判断是否触发第一预设周期条件;S202. Determine whether to trigger the first preset cycle condition according to the preset version reading instruction;
S203.当触发所述第一预设周期条件,获取控制器版本信息;S203. When triggering the first preset cycle condition, obtain controller version information;
S204.将所述控制器版本信息按照第一预设生产规则进行压缩,并且转换成规定长度的字符标识。S204. Compress the controller version information according to the first preset production rule, and convert it into a character identifier of a specified length.
进一步地,所述控制器版本信息包括控制器地址和控制器版本标识符。Further, the controller version information includes a controller address and a controller version identifier.
如图3所示,所述服务器版本标识包括:As shown in Figure 3, the server version identifier includes:
S301.接收到所述后台系统已获取所述预置版本读取指令的信息;S301. Receive information that the background system has obtained the preset version reading instruction;
S302.根据所述信息,确定所述后台系统进行判断是否达到启动第二预设周期的条件;S302. According to the information, determine whether the background system has reached the condition for starting the second preset cycle;
S303.接收到当达到启动第二预设周期的条件时,所述后台系统获取预期控制器版本信息的指令;S303. When the condition for starting the second preset period is reached, the background system obtains the instruction of the expected controller version information;
S304.根据所述指令,确定已生成所述服务器版本标识的信息,所述服务器版本标识为所述预期控制器版本信息按照第二预设生产规则进行压缩,并且转换成规定长度的字符标识。S304. According to the instruction, determine that the server version identification information has been generated, where the server version identification is that the expected controller version information is compressed according to the second preset production rule, and converted into a character identification of a specified length.
进一步地,所述预期控制器版本信息用于表征被服务器获取的最新车辆控制器版本信息,所述预期控制器版本信息包括服务器储存的控制器地址和控制器版本标识符。Further, the expected controller version information is used to represent the latest vehicle controller version information acquired by the server, and the expected controller version information includes a controller address and a controller version identifier stored by the server.
进一步地,所述预期控制器版本信息通过诊断仪器连接方式或远程系统传输方式获取。Further, the expected controller version information is obtained through a connection method of a diagnostic instrument or a remote system transmission method.
优选地,所述预期控制器版本信息通过远程系统传输方式获取。Preferably, the expected controller version information is obtained by means of remote system transmission.
进一步地,所述第一预设周期与所述第二预设周期一致范围均为1-6个月,所述第一预设周期与所述第二预设周期可以通过售后的需求进行调整,灵活性更高,提高了客户的满意度。Further, the first preset period and the second preset period are consistent in the range of 1-6 months, and the first preset period and the second preset period can be adjusted according to after-sales requirements. , higher flexibility and improved customer satisfaction.
优选地,所述第一预设周期与所述第二预设周期均为2个月。Preferably, both the first preset period and the second preset period are 2 months.
进一步地,所述第一预设生产规则与所述第二预设生产规则相同。Further, the first preset production rule is the same as the second preset production rule.
如图4所示,判断所述车辆版本标识是否需要更新包括:As shown in Figure 4, judging whether the vehicle version identifier needs to be updated includes:
S401.发送所述车辆版本标识通过车联网系统传输至所述后台系统,用于对比所述车辆版本标识与所述服务器版本标识是否一致;S401. Sending the vehicle version identification to the background system through the Internet of Vehicles system for comparing whether the vehicle version identification is consistent with the server version identification;
S402.确定所述车辆版本标识与所述服务器版本标识一致,不需要更新车辆版本标识;S402. Determine that the vehicle version identifier is consistent with the server version identifier, and the vehicle version identifier does not need to be updated;
S403.确定所述车辆版本标识与所述服务器版本标识不一致,确定更新车辆版本标识。S403. Determine that the vehicle version identifier is inconsistent with the server version identifier, and determine to update the vehicle version identifier.
具体地,所述方法能够通过车联网系统远程方式获取和传输车辆控制器版本信息,无需外接设备传输,提高更新效率和实时性。Specifically, the method can obtain and transmit the version information of the vehicle controller in a remote manner through the Internet of Vehicles system, without the need for external device transmission, thereby improving the update efficiency and real-time performance.
如图5所示,所述车辆控制器版本同步装置采用上述所述方法,包括:As shown in FIG. 5 , the vehicle controller version synchronization device adopts the above-mentioned method, including:
第一信息获取单元10,用于接收版本读取指令;a first
车辆版本标识获取单元20,用于根据所述版本读取指令,获取当前的车辆版本标识;a vehicle version
第一信息确定单元30,用于确定通过车联网系统传输所述车辆版本标识至后台系统,在所述后台系统中进行所述车辆版本标识与服务器版本标识的对比;a first
第二信息获取单元40,用于接收通过车联网系统传输的对比结果;The second
第一判断单元50,用于根据所述对比结果,判断所述车辆版本标识是否需要更新;a
第一执行单元60,用于在所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据;A
第二执行单元70,用于在所述车辆版本标识需要更新,接收所述车辆版本标识的更新指令;A
第三执行单元80,用于根据所述更新指令,更新所述车辆版本标识;A
第二信息确定单元90,用于确定通过车联网系统传输已更新的所述车辆版本标识至后台系统。The second
如图6所示,所述车辆版本标识获取单元20包括:As shown in FIG. 6 , the vehicle version
指令接收模块201,用于接收到预置版本读取指令;an
第二判断模块202,用于根据所述预置版本读取指令判断是否触发第一预设周期条件;The
第三信息获取模块203,用于在触发所述第一预设周期条件,获取控制器版本信息;A third
第四执行模块204,用于将所述控制器版本信息按照第一预设生产规则进行压缩,并且转换成规定长度的字符标识。The
进一步地,所述控制器版本信息包括控制器地址和控制器版本标识符。Further, the controller version information includes a controller address and a controller version identifier.
如图7所示,所述第一信息确定单元30包括:As shown in FIG. 7 , the first
第四信息获取模块301,用于接收到所述后台系统已获取所述预置版本读取指令的信息;a fourth
第三信息确定模块302,用于根据所述信息,确定所述后台系统进行判断是否达到启动第二预设周期的条件;A third
第五信息获取模块303,用于接收到当达到启动第二预设周期的条件时,所述后台系统获取预期控制器版本信息的指令;a fifth
第四信息确定模块304,用于根据所述指令,确定已生成所述服务器版本标识的信息,所述服务器版本标识为所述预期控制器版本信息按照第二预设生产规则进行压缩,并且转换成规定长度的字符标识。The fourth
进一步地,所述预期控制器版本信息用于表征被服务器获取的最新车辆控制器版本信息,所述预期控制器版本信息包括服务器储存的控制器地址和控制器版本标识符。Further, the expected controller version information is used to represent the latest vehicle controller version information acquired by the server, and the expected controller version information includes a controller address and a controller version identifier stored by the server.
进一步地,所述预期控制器版本信息通过诊断仪器连接方式或远程系统传输方式获取。Further, the expected controller version information is obtained through a connection method of a diagnostic instrument or a remote system transmission method.
优选地,所述预期控制器版本信息通过远程系统传输方式获取。Preferably, the expected controller version information is obtained by means of remote system transmission.
进一步地,所述第一预设周期与所述第二预设周期一致范围均为1-6个月,所述第一预设周期与所述第二预设周期可以通过售后的需求进行调整,灵活性更高,提高了客户的满意度。Further, the first preset period and the second preset period are consistent in the range of 1-6 months, and the first preset period and the second preset period can be adjusted according to after-sales requirements. , higher flexibility and improved customer satisfaction.
优选地,所述第一预设周期与所述第二预设周期均为2个月。Preferably, both the first preset period and the second preset period are 2 months.
进一步地,所述第一预设生产规则与所述第二预设生产规则相同。Further, the first preset production rule is the same as the second preset production rule.
如图8所示,所述第一判断单元50包括:As shown in FIG. 8 , the
信息发送模块501,用于发送所述车辆版本标识通过车联网系统传输至所述后台系统,用于对比所述车辆版本标识与所述服务器版本标识是否一致;An
第五执行模块502,用于确定所述车辆版本标识与所述服务器版本标识一致,不需要更新车辆版本标识;a
第六执行模块503,用于确定所述车辆版本标识与所述服务器版本标识不一致,确定更新车辆版本标识。The
具体地,基于上述所述装置的车辆控制器版本同步设备包括:后台服务器、车联网控制器和车辆版本控制器;Specifically, the vehicle controller version synchronization device based on the above-mentioned device includes: a background server, a vehicle networking controller, and a vehicle version controller;
所述车辆版本控制器,用于接收版本读取指令。The vehicle version controller is used for receiving a version reading instruction.
所述车辆版本控制器,用于根据所述版本读取指令,获取当前的车辆版本标识;the vehicle version controller, configured to obtain the current vehicle version identifier according to the version reading instruction;
所述车辆版本控制器,用于获取所述车辆版本标识与后台系统中服务器版本标识的对比结果。The vehicle version controller is configured to obtain a comparison result between the vehicle version identifier and the server version identifier in the background system.
所述车辆版本控制器,用于根据所述对比结果,判断所述车辆版本标识是否需要更新。The vehicle version controller is configured to determine whether the vehicle version identifier needs to be updated according to the comparison result.
所述车辆版本控制器,用于在所述车辆版本标识不需要更新,保存所述对比结果,统计所述车辆版本标识数据。The vehicle version controller is configured to save the comparison result and count the vehicle version identification data when the vehicle version identification does not need to be updated.
所述车辆版本控制器,用于在所述车辆版本标识需要更新,接收所述车辆版本标识的更新指令。The vehicle version controller is configured to receive an update instruction of the vehicle version identifier when the vehicle version identifier needs to be updated.
所述车辆版本控制器,用于根据所述更新指令,更新所述车辆版本标识。The vehicle version controller is configured to update the vehicle version identifier according to the update instruction.
所述车辆版本控制器,用于在所述车辆版本标识已更新,根据已更新的所述车辆版本标识与后台系统中服务器版本标识的对比结果,保存所述对比结果,统计所述车辆版本标识数据。The vehicle version controller is configured to, when the vehicle version identifier has been updated, save the comparison result according to the comparison result between the updated vehicle version identifier and the server version identifier in the background system, and count the vehicle version identifier data.
具体地,所述车辆版本控制器,还用于接收到预置版本读取指令;Specifically, the vehicle version controller is further configured to receive a preset version reading instruction;
所述车辆版本控制器,还用于根据所述预置版本读取指令判断是否触发第一预设周期条件;The vehicle version controller is further configured to determine whether the first preset cycle condition is triggered according to the preset version reading instruction;
所述车辆版本控制器,还用于在触发所述第一预设周期条件,获取控制器版本信息;The vehicle version controller is further configured to acquire controller version information when the first preset cycle condition is triggered;
所述车辆版本控制器,还用于将所述控制器版本信息按照第一预设生产规则进行压缩,并且转换成规定长度的字符标识。The vehicle version controller is further configured to compress the controller version information according to the first preset production rule, and convert it into a character identifier of a specified length.
具体地,所述后台服务器,用于接收获取所述预置版本读取指令。Specifically, the background server is configured to receive a read instruction for obtaining the preset version.
所述后台服务器,用于判断是否达到启动第二预设周期的条件。The background server is used for judging whether the condition for starting the second preset period is reached.
所述后台服务器,用于当达到启动第二预设周期的条件时,获取预期控制器版本信息的指令。The background server is configured to obtain an instruction of expected controller version information when a condition for starting the second preset period is reached.
所述后台服务器,用于生成所述服务器版本标识的信息,所述服务器版本标识为所述预期控制器版本信息按照第二预设生产规则进行压缩,并且转换成规定长度的字符标识。The background server is configured to generate the information of the server version identification, the server version identification is that the expected controller version information is compressed according to the second preset production rule, and is converted into a character identification of a specified length.
具体地,所述车联网控制器,用于接收所述车辆版本标识,并且发送至所述后台服务器,用于判断所述车辆版本标识与所述服务器版本标识是否一致。Specifically, the IoV controller is configured to receive the vehicle version identifier and send it to the background server, to determine whether the vehicle version identifier is consistent with the server version identifier.
所述车联网控制器,用于接收所述车辆版本标识与所述服务器版本标识的判断结果,并且发送至车辆版本控制器。The vehicle networking controller is configured to receive the judgment result between the vehicle version identifier and the server version identifier, and send the result to the vehicle version controller.
实施例一提供了一种车辆控制器版本同步方法、装置及设备,能够远程方式获取车辆控制器版本信息,实时性好,便于进行车辆控制器版本信息的更新,同时能够直接通过车联网系统传输至后台系统,无需外接设备传输,提高车辆控制器版本信息的更新效率,并且能够保证车辆内部和后台系统中的控制器版本信息的获取频次相同,并且能够统计控制器版本信息的数据,根据售后的需求进行调整频次和数据,灵活性更高,提高了客户的满意度。Embodiment 1 provides a vehicle controller version synchronization method, device and device, which can remotely obtain the vehicle controller version information, has good real-time performance, facilitates the update of the vehicle controller version information, and can be directly transmitted through the Internet of Vehicles system. To the back-end system, no external device is required for transmission, which improves the update efficiency of the vehicle controller version information, and can ensure that the frequency of obtaining the controller version information in the vehicle and the back-end system is the same, and can count the data of the controller version information, according to the after-sales service. The frequency and data can be adjusted according to the needs of the company, which is more flexible and improves customer satisfaction.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为二系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。同样地,上述中车辆控制器版本同步装置的各模块是指计算机程序或者程序段,用于执行某一项或多项特定的功能,此外,上述各模块的区分并不代表实际的程序代码也必须是分开的。此外,还可对上述实施例进行任意组合,得到其他的实施例。It should be noted that, for the convenience of description, the foregoing method embodiments are all expressed as two series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention. Similarly, each module of the vehicle controller version synchronization device in the above refers to a computer program or program segment, which is used to perform one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program code is also must be separate. In addition, any combination of the above-mentioned embodiments can also be performed to obtain other embodiments.
在上述实施例中,对各实施例的描述都各有侧重,某各实施例中没有详述的部分,可以参见其它实施例的相关描述。本领域技术人员还可以了解到本发明实施例列出的各种说明性逻辑块(illustrative logical block),单元,和步骤可以通过电子硬件、电脑软件,或两者的结合进行实现。为清楚展示硬件和软件的可替换性(interchangeability),上述的各种说明性部件(illustrative components),单元和步骤已经通用地描述了它们的功能。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本发明实施例保护的范围。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in each of the embodiments, reference may be made to the relevant descriptions of other embodiments. Those skilled in the art may also understand that various illustrative logical blocks (illustrative logical blocks), units, and steps listed in the embodiments of the present invention may be implemented by electronic hardware, computer software, or a combination of the two. To clearly demonstrate the interchangeability of hardware and software, the various illustrative components, units and steps described above have generally described their functions. Whether such functionality is implemented in hardware or software depends on the specific application and overall system design requirements. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be construed as exceeding the protection scope of the embodiments of the present invention.
上述说明已经充分揭露了本发明的具体实施方式。需要指出的是,熟悉该领域的技术人员对本发明的具体实施方式所做的任何改动均不脱离本发明的权利要求书的范围。相应地,本发明的权利要求的范围也并不仅仅局限于前述具体实施方式。The foregoing description has fully disclosed specific embodiments of the present invention. It should be pointed out that any changes made by those skilled in the art to the specific embodiments of the present invention will not depart from the scope of the claims of the present invention. Accordingly, the scope of the claims of the present invention is not limited to the foregoing specific embodiments.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910418854.4ACN111966370A (en) | 2019-05-20 | 2019-05-20 | Vehicle controller version synchronization method, device and equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910418854.4ACN111966370A (en) | 2019-05-20 | 2019-05-20 | Vehicle controller version synchronization method, device and equipment |
| Publication Number | Publication Date |
|---|---|
| CN111966370Atrue CN111966370A (en) | 2020-11-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910418854.4APendingCN111966370A (en) | 2019-05-20 | 2019-05-20 | Vehicle controller version synchronization method, device and equipment |
| Country | Link |
|---|---|
| CN (1) | CN111966370A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112612501A (en)* | 2020-12-15 | 2021-04-06 | 广州橙行智动汽车科技有限公司 | Data processing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040158817A1 (en)* | 2001-03-19 | 2004-08-12 | Yuji Okachi | Software updating system, software updating method, and software updating program |
| CN103377057A (en)* | 2012-04-20 | 2013-10-30 | 上海通用汽车有限公司 | System and method for refreshing software of user vehicle electronic control module |
| CN105187287A (en)* | 2015-09-16 | 2015-12-23 | 中航锂电(洛阳)有限公司 | CAN-bus-based software upgrading method of battery management system |
| CN107491294A (en)* | 2017-04-21 | 2017-12-19 | 宝沃汽车(中国)有限公司 | A kind of vehicle control device software version information control methods and system |
| CN109729517A (en)* | 2018-12-12 | 2019-05-07 | 北京长城华冠汽车技术开发有限公司 | Communication module software version management method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040158817A1 (en)* | 2001-03-19 | 2004-08-12 | Yuji Okachi | Software updating system, software updating method, and software updating program |
| CN103377057A (en)* | 2012-04-20 | 2013-10-30 | 上海通用汽车有限公司 | System and method for refreshing software of user vehicle electronic control module |
| CN105187287A (en)* | 2015-09-16 | 2015-12-23 | 中航锂电(洛阳)有限公司 | CAN-bus-based software upgrading method of battery management system |
| CN107491294A (en)* | 2017-04-21 | 2017-12-19 | 宝沃汽车(中国)有限公司 | A kind of vehicle control device software version information control methods and system |
| CN109729517A (en)* | 2018-12-12 | 2019-05-07 | 北京长城华冠汽车技术开发有限公司 | Communication module software version management method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112612501A (en)* | 2020-12-15 | 2021-04-06 | 广州橙行智动汽车科技有限公司 | Data processing method and device |
| Publication | Publication Date | Title |
|---|---|---|
| CN110488707B (en) | Configuration method, configuration device and configuration system of whole vehicle | |
| CN104516345B (en) | Vehicle diagnostic and prognostic system | |
| US11787371B2 (en) | Systems and methods of configuring vehicle service tools associated with display device based on operating condition of vehicle | |
| CN111679647A (en) | Vehicle type code automatic matching calibration data based flashing system and method | |
| CN111650924A (en) | Offline detection method and system based on vehicle-mounted platform of automobile | |
| CN108944339B (en) | Remote control system, method and server for automobile air conditioner | |
| CN111031115A (en) | Electronic controller version updating system and method based on Internet of vehicles | |
| CN114416143B (en) | A method for automatically upgrading vehicle ECU software configuration code | |
| CN109933051A (en) | A kind of automobile diagnostic software configuration method, system, equipment and computer media | |
| WO2012157096A1 (en) | Vehicle remote control system, remote control terminal, server, and vehicle | |
| CN105159284A (en) | Automobile engine fault diagnose and calibrate apparatus | |
| CN114022978B (en) | Calibration method, key, vehicle, system, electronic device and readable storage medium | |
| US20140316639A1 (en) | Data conversion apparatus and method of using a cell phone to update fault code data and maintain vehicles using on-board diagnostic systems | |
| CN113011852A (en) | Vehicle maintenance reminder method, device, in-vehicle equipment and storage medium | |
| CN116872685B (en) | Remote diagnosis method, system, platform and storage medium for vehicle air conditioning system | |
| US20170220691A1 (en) | System and Method for Automatically Identifying a Vehicle Model | |
| CN112721568B (en) | Method for realizing remote air conditioner prediction of endurance mileage | |
| CN113625690A (en) | Intelligent diagnosis method and system for automobile and mobile terminal | |
| CN104423993A (en) | Automotive electronic equipment software updating method and terminal and automotive electronic system | |
| CN111966370A (en) | Vehicle controller version synchronization method, device and equipment | |
| CN115022223B (en) | Method and system for automated testing of TBOX through UDS | |
| CN208271024U (en) | A kind of long-range road test instrument of auto Air Conditioner calibration | |
| CN114839954A (en) | Method, device and system for vehicle remote diagnosis | |
| CN116483046A (en) | Vehicle calibration diagnosis method based on MCD and vehicle | |
| CN101840213A (en) | Automobile wireless control system, method and terminal |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20201120 | |
| RJ01 | Rejection of invention patent application after publication |