CN114816441A - Engine flashing method, device, system, storage medium and electronic device - Google Patents
Engine flashing method, device, system, storage medium and electronic device Download PDFInfo
- Publication number
- CN114816441A CN114816441A CN202110071451.4A CN202110071451A CN114816441A CN 114816441 A CN114816441 A CN 114816441A CN 202110071451 A CN202110071451 A CN 202110071451A CN 114816441 A CN114816441 A CN 114816441A
- Authority
- CN
- China
- Prior art keywords
- engine
- flashing
- flashed
- identification information
- flash
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Library & Information Science (AREA)
- Computer Security & Cryptography (AREA)
- Quality & Reliability (AREA)
- General Factory Administration (AREA)
Abstract
本发明提供了一种发动机刷写方法、装置、系统、存储介质及电子设备,涉及发动机刷写技术领域,所述方法包括:接收待刷写发动机的标识信息;基于所述标识信息查找与所述标识信息对应的刷写程序;采用与所述标识信息对应的刷写程序对待刷写发动机进行刷写。本发明提供的技术方案,能够自动、精确地匹配待刷写发动机所需的刷写程序,从而提高工作效率。
The invention provides an engine flashing method, device, system, storage medium and electronic equipment, and relates to the technical field of engine flashing. The method includes: receiving identification information of an engine to be flashed; The flashing program corresponding to the identification information is used to flash the engine to be flashed by using the flashing program corresponding to the identification information. The technical scheme provided by the present invention can automatically and accurately match the flashing program required by the engine to be flashed, thereby improving the work efficiency.
Description
技术领域technical field
本发明涉及发动机刷写技术领域,特别地涉及一种发动机刷写方法、装置、系统、存储介质及电子设备。The invention relates to the technical field of engine flashing, and in particular, to a method, device, system, storage medium and electronic device for flashing an engine.
背景技术Background technique
对发动机进行刷写,即对发动机ECU(Electronic Control Unit,电子控制单元)中的各项参数进行刷写,以使发动机具备不同的性能。由于不同的客户对发动机标定参数的需求不同,因此,对不同的发动机进行刷写时需选择不同的刷写程序。Brushing the engine, that is, brushing various parameters in the engine ECU (Electronic Control Unit, electronic control unit), so that the engine has different performances. Since different customers have different requirements for engine calibration parameters, different flashing programs need to be selected when flashing different engines.
现有技术中,上述刷写程序的选择由人工操作,即操作人员根据待刷写发动机的订单号人工查找所需的刷写程序,以对上述待刷写发动机进行刷写。而目前的刷写程序多达上百条,人工查找显然繁琐、易出错、效率低。In the prior art, the selection of the above-mentioned flashing program is performed manually, that is, the operator manually searches for the required flashing program according to the order number of the engine to be flashed, so as to flash the above-mentioned engine to be flashed. However, there are currently hundreds of flashing programs, and manual search is obviously cumbersome, error-prone, and inefficient.
发明内容SUMMARY OF THE INVENTION
针对上述现有技术中的问题,本申请提出了一种发动机刷写方法、装置、系统、存储介质及电子设备,能够自动、精确地匹配待刷写发动机所需的刷写程序,从而提高工作效率。In view of the above problems in the prior art, the present application proposes an engine flashing method, device, system, storage medium and electronic device, which can automatically and accurately match the flashing program required by the engine to be flashed, thereby improving work efficiency. efficiency.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
第一方面,本发明实施例提供了一种发动机刷写方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for flashing an engine, the method comprising:
接收待刷写发动机的标识信息;Receive the identification information of the engine to be flashed;
基于所述标识信息查找与所述标识信息对应的刷写程序;Find a flashing program corresponding to the identification information based on the identification information;
采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行刷写。The engine to be flashed is flashed by using the flashing program corresponding to the identification information.
进一步地,在所述采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行刷写之后,所述方法还包括:Further, after using the flashing program corresponding to the identification information to flash the engine to be flashed, the method further includes:
生成刷写日志文件。Generate flush log files.
进一步地,所述方法还包括:Further, the method also includes:
读取所述刷写日志文件;read the flushing log file;
基于所述刷写日志文件获取对所述待刷写发动机的刷写结果;Acquiring, based on the flushing log file, a flushing result for the engine to be flushed;
显示所述刷写结果。The flashing result is displayed.
进一步地,所述刷写结果包括以下项目中的任一项:刷写成功,刷写失败;所述方法还包括:Further, the flushing result includes any one of the following items: the flushing is successful, and the flushing fails; the method further includes:
当所述刷写结果为刷写成功时,发送刷写完成信息至预设终端;When the flashing result is that the flashing is successful, sending the flashing completion information to the preset terminal;
当所述刷写结果为刷写失败时,采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行再次刷写。When the flashing result is that the flashing fails, the flashing program corresponding to the identification information is used to flash the engine to be flashed again.
进一步地,当所述刷写结果为刷写失败时,在采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行再次刷写之前,所述方法还包括:Further, when the brush writing result is that the brush writing fails, before using the brush writing program corresponding to the identification information to brush the engine to be brushed again, the method further includes:
进行报警操作。Perform an alarm operation.
优选地,所述待刷写发动机的标识信息包括以下项目中的至少一项:Preferably, the identification information of the engine to be flashed includes at least one of the following items:
所述待刷写发动机的序列号;The serial number of the engine to be flashed;
所述待刷写发动机的订单号。The order number of the engine to be flashed.
第二方面,本发明实施例提供了一种发动机刷写装置,所述装置包括:In a second aspect, an embodiment of the present invention provides an engine flashing device, the device comprising:
接收单元,用于接收待刷写发动机的标识信息;a receiving unit for receiving the identification information of the engine to be flashed;
查找单元,用于基于所述标识信息查找与所述标识信息对应的刷写程序;a search unit, configured to search for a flashing program corresponding to the identification information based on the identification information;
刷写单元,用于采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行刷写。A flashing unit, configured to use the flashing program corresponding to the identification information to flash the engine to be flashed.
第三方面,本发明实施例提供了一种发动机刷写系统,所述系统包括:In a third aspect, an embodiment of the present invention provides an engine flashing system, the system comprising:
刷写终端,用于实现上述实施例中任一项所述的发动机刷写方法;A flashing terminal for implementing the engine flashing method described in any one of the foregoing embodiments;
传送线体,用于将待刷写发动机传送至预定刷写工位,以使所述待刷写发动机连接所述刷写终端;其中,所述预定刷写工位处设置有挡料部件;The transmission line body is used to transmit the engine to be brushed to a predetermined brushing station, so that the engine to be brushed is connected to the brushing terminal; wherein, a material stopper is provided at the predetermined brushing station;
控制器,用于控制所述挡料部件放行由所述刷写终端完成刷写后的发动机。The controller is used to control the stopper component to release the engine after the brush writing is completed by the brush writing terminal.
进一步地,所述系统还包括:Further, the system also includes:
后台服务器,用于向所述控制器发送所述待刷写发动机的标识信息;a background server, configured to send the identification information of the engine to be refreshed to the controller;
所述控制器还用于向所述刷写终端发送所述待刷写发动机的标识信息。The controller is further configured to send the identification information of the engine to be flashed to the flashing terminal.
进一步地,每个所述待刷写发动机具有射频电子标签,所述挡料部件上还设置有读写器;Further, each of the motors to be brushed has a radio frequency electronic tag, and a reader/writer is also provided on the stopper component;
所述读写器用于当所述待刷写发动机被传送至所述预定刷写工位时,读取所述射频电子标签,获得该射频电子标签所包含的发动机信息,并将该发动机信息发送至所述后台服务器;The reader is used to read the radio frequency electronic tag when the motor to be flashed is sent to the predetermined flashing station, obtain the motor information contained in the radio frequency electronic tag, and send the motor information to the backend server;
所述后台服务器还用于基于该发动机信息查找与该发动机信息对应的标识,将该标识作为所述待刷写发动机的标识信息发送给所述控制器。The background server is further configured to search for an identification corresponding to the engine information based on the engine information, and send the identification to the controller as identification information of the engine to be flashed.
优选地,采用工位检测传感器来确定所述待刷写发动机被传送至所述预定刷写工位;其中,所述工位检测传感器被预先设置于所述预定刷写工位处。Preferably, a station detection sensor is used to determine that the engine to be brushed is transferred to the predetermined brushing station; wherein, the station detection sensor is preset at the predetermined brushing station.
第四方面,本发明实施例提供了一种存储介质,所述存储介质上存储有程序代码,所述程序代码被处理器执行时,实现如上述实施例中任一项所述的发动机刷写方法。In a fourth aspect, an embodiment of the present invention provides a storage medium, where a program code is stored on the storage medium, and when the program code is executed by a processor, the engine flashing as described in any one of the foregoing embodiments is implemented method.
第五方面,本发明实施例提供了一种电子设备,所述电子设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的程序代码,所述程序代码被所述处理器执行时,实现如上述实施例中任一项所述的发动机刷写方法。In a fifth aspect, an embodiment of the present invention provides an electronic device, the electronic device includes a memory and a processor, the memory stores program codes that can run on the processor, and the program codes are executed by the processor. When executed by the processor, the engine flashing method described in any one of the foregoing embodiments is implemented.
本发明实施例提供的一种发动机刷写方法、装置、系统、存储介质及电子设备,通过待刷写发动机的标识信息自动查找与该标识信息对应的刷写程序,避免了人工查找造成的繁琐、易出错、效率低的技术问题,能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。此外,本发明能够根据刷写日志文件判断刷写是否成功,在刷写失败时,能够自动进行报警操作,并对发动机进行再次刷写,从而大大降低了发动机的刷写出错率。The embodiments of the present invention provide an engine flashing method, device, system, storage medium and electronic equipment, which automatically search for a flashing program corresponding to the identification information through identification information of the engine to be flashed, avoiding the tediousness caused by manual search. , Error-prone and low-efficiency technical problems, can automatically and accurately match the flashing program required by the engine to be flashed, and improve work efficiency. In addition, the present invention can judge whether the brushing is successful according to the brushing log file, and when the brushing fails, it can automatically perform an alarm operation, and refresh the engine again, thereby greatly reducing the error rate of the engine brushing.
附图说明Description of drawings
通过结合附图阅读下文示例性实施例的详细描述可更好地理解本发明公开的范围。其中所包括的附图是:The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. The drawings included are:
图1为本发明实施例一的方法流程图;FIG. 1 is a flowchart of a method according to Embodiment 1 of the present invention;
图2为本发明实施例二的方法流程图;Fig. 2 is the method flow chart of the second embodiment of the present invention;
图3为本发明实施例三的装置结构图;3 is a structural diagram of an apparatus according to
图4为本发明实施例四的装置结构图;4 is a structural diagram of a device according to
图5为本发明实施例五的系统结构图。FIG. 5 is a system structure diagram of
附图标记:Reference number:
1-刷写终端,2-传送线体,3-发动机,31-发动机ECU,1-Flash terminal, 2-Transmission line body, 3-Engine, 31-Engine ECU,
4-挡料部件,5-控制器。4-gauge parts, 5-controller.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,以下将结合附图及实施例来详细说明本发明的实施方法,借此对本发明如何应用技术手段来解决技术问题,并达成技术效果的实现过程能充分理解并据以实施。In order to make the purpose, technical solutions and advantages of the present invention clearer, the implementation method of the present invention will be described in detail below with reference to the accompanying drawings and embodiments, thereby how to apply technical means to solve technical problems in the present invention and achieve the realization of technical effects. The process can be fully understood and implemented accordingly.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. Example limitations.
实施例一Example 1
根据本发明的实施例,提供了一种发动机刷写方法,如图1所示,该发动机刷写方法包括:According to an embodiment of the present invention, a method for brushing an engine is provided. As shown in FIG. 1 , the method for brushing an engine includes:
步骤S101,接收待刷写发动机的标识信息;Step S101, receiving the identification information of the engine to be refreshed;
本实施例中,待刷写发动机的标识信息包括以下项目中的至少一项:待刷写发动机的序列号,待刷写发动机的订单号。其中,序列号为每个发动机唯一的编号,订单号为针对每个发动机所产生的客户订单号。对于每个发动机来说,其序列号或订单号均唯一,因此可以将序列号和/或订单号作为发动机的标识信息。In this embodiment, the identification information of the engine to be flashed includes at least one of the following items: the serial number of the engine to be flashed, and the order number of the engine to be flashed. The serial number is a unique number for each engine, and the order number is the customer order number generated for each engine. For each engine, its serial number or order number is unique, so the serial number and/or order number can be used as engine identification information.
步骤S102,基于所述标识信息查找与所述标识信息对应的刷写程序;Step S102, searching for a flashing program corresponding to the identification information based on the identification information;
本实施例中,每个待刷写发动机都对应唯一一个刷写程序,因此,可以预先设置好待刷写发动机的标识信息与刷写程序的对应关系,基于该标识信息即可精确地查找与其对应的刷写程序,避免了人工查找造成的繁琐、易出错、效率低的技术问题。In this embodiment, each engine to be flashed corresponds to a unique flashing program. Therefore, the corresponding relationship between the identification information of the engine to be flashed and the flashing program can be preset, and based on the identification information, it can be accurately searched for The corresponding flashing program avoids the tedious, error-prone and low-efficiency technical problems caused by manual search.
步骤S103,采用与所述标识信息对应的刷写程序对待刷写发动机进行刷写。Step S103, use a flashing program corresponding to the identification information to flash the engine to be flashed.
本实施例中,设置专门的刷写终端来执行上述步骤S101~步骤S103,所述刷写终端可以为电脑等能够运行软件程序的电子设备。In this embodiment, a special flashing terminal is set to perform the above steps S101 to S103, and the flashing terminal may be an electronic device such as a computer capable of running a software program.
本发明实施例提供的一种发动机刷写方法,通过待刷写发动机的标识信息自动查找与该标识信息对应的刷写程序,避免了人工查找造成的繁琐、易出错、效率低的技术问题,能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。The embodiment of the present invention provides an engine flashing method, which automatically searches for a flashing program corresponding to the identification information through the identification information of the engine to be flashed, thereby avoiding the tedious, error-prone and low-efficiency technical problems caused by manual search. It can automatically and accurately match the flashing program required by the engine to be flashed and improve work efficiency.
实施例二
在实施例一的基础上,实施例二还提供了一种发动机刷写方法,该方法能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。On the basis of the first embodiment, the second embodiment also provides an engine flashing method, which can automatically and accurately match the flashing program required by the engine to be flashed and improve work efficiency.
如图2所示,本实施例所述的方法包括:As shown in Figure 2, the method described in this embodiment includes:
步骤S201,接收待刷写发动机的标识信息;Step S201, receiving the identification information of the engine to be refreshed;
步骤S202,基于所述标识信息查找与所述标识信息对应的刷写程序;Step S202, searching for a flashing program corresponding to the identification information based on the identification information;
步骤S203,采用与所述标识信息对应的刷写程序对待刷写发动机进行刷写;Step S203, using the flashing program corresponding to the identification information to flash the engine to be flashed;
对以上步骤的详细说明与实施例一相同,此处不再对相同的技术内容进行重复说明。The detailed description of the above steps is the same as that of the first embodiment, and the same technical content will not be repeated here.
在上述步骤的基础上,如图2所示,在采用与标识信息对应的刷写程序对待刷写发动机进行刷写之后,本实施例所述的方法还包括:On the basis of the above steps, as shown in FIG. 2 , after using the flashing program corresponding to the identification information to flash the engine to be flashed, the method described in this embodiment further includes:
步骤S204,生成刷写日志文件;Step S204, generating a flushing log file;
本实施例中,刷写日志文件能够在对发动机进行刷写之后自动生成。刷写日志文件用于记录每一时刻对应的刷写事件,并能够记录最终的刷写结果。具体地,刷写日志文件通过参数pass来表示刷写成功,通过参数fail来表示刷写失败。In this embodiment, the flush log file can be automatically generated after the engine is flushed. The flushing log file is used to record the flushing event corresponding to each moment, and can record the final flushing result. Specifically, the log file is flushed through the parameter pass to indicate that the flushing is successful, and the parameter fail to indicate that the flushing fails.
进一步地,如图2所示,本实施例所述的方法还包括:Further, as shown in FIG. 2 , the method described in this embodiment further includes:
步骤S205,读取刷写日志文件;Step S205, read and write the log file;
步骤S206,基于刷写日志文件获取对待刷写发动机的刷写结果;Step S206, obtaining the brushing result of the engine to be brushed based on the brushing log file;
本实施例中,若读取到刷写日志文件中的pass参数,则表明此次刷写成功;若读取到刷写日志文件中的fail参数,则表明此次刷写失败。In this embodiment, if the pass parameter in the flushing log file is read, it indicates that the flushing is successful; if the fail parameter in the flushing log file is read, it indicates that the flushing fails.
步骤S207,显示刷写结果。Step S207, displaying the flashing result.
具体地,可以将上述刷写结果显示于电脑屏幕上,供操作人员查看,以及时掌握被刷写发动机的本次刷写状况。Specifically, the above-mentioned flashing result can be displayed on the computer screen for the operator to check, and grasp the current flashing status of the flashed engine in time.
本实施例中,所述刷写结果包括以下项目中的任一项:刷写成功,刷写失败;进一步地,本实施例所述的发动机刷写方法还包括:In this embodiment, the brush writing result includes any one of the following items: the brush writing is successful, and the brush writing fails; further, the engine brush writing method described in this embodiment further includes:
步骤S208,当刷写结果为刷写成功时,发送刷写完成信息至预设终端;Step S208, when the flashing result is that the flashing is successful, send the flashing completion information to the preset terminal;
所述预设终端可以为任何需要获得上述刷写完成信息的电子终端设备,例如,该预设终端可以为控制器,当该控制器接收到该刷写完成信息后,控制其它相应的设备动作;又如,该预设终端可以为后台服务器,后台服务器接收该刷写完成信息,对该刷写完成信息进行记录存储。预设终端可根据实际需求进行指定和设置,此处不作具体限制。The preset terminal can be any electronic terminal device that needs to obtain the above-mentioned flashing completion information. For example, the preset terminal can be a controller, and when the controller receives the flashing completion information, it controls other corresponding device actions. For another example, the preset terminal may be a background server, and the background server receives the flushing completion information, and records and stores the flushing completion information. The preset terminal can be specified and set according to actual needs, and there is no specific limitation here.
步骤S209,当刷写结果为刷写失败时,采用与所述标识信息对应的刷写程序对待刷写发动机进行再次刷写。Step S209 , when the flashing result is that the flashing fails, use the flashing program corresponding to the identification information to flash the engine to be flashed again.
本实施例中,对某一发动机刷写失败后,采用查找到的与该发动机的标识信息对应的刷写程序对该发动机进行再次刷写,直至刷写成功。如此,可大大降低发动机的刷写出错率。In this embodiment, after a certain engine fails to be flashed, the found flashing program corresponding to the identification information of the engine is used to flash the engine again until the flashing is successful. In this way, the brushing error rate of the engine can be greatly reduced.
进一步地,当刷写结果为刷写失败时,在采用与所述标识信息对应的刷写程序对待刷写发动机进行再次刷写之前,所述方法还包括:进行报警操作,以对操作人员进行有效提醒。Further, when the brush writing result is that the brush writing fails, before using the brush writing program corresponding to the identification information to brush the engine to be brushed again, the method further includes: performing an alarm operation to alert the operator. Effective reminder.
本实施例不仅能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率,还能够根据刷写日志文件判断刷写是否成功,在刷写失败时,能够自动进行报警操作,并对发动机进行再次刷写,从而大大降低了发动机的刷写出错率。This embodiment can not only automatically and accurately match the flashing program required by the engine to be flashed, improve work efficiency, but also judge whether the flashing is successful according to the flashing log file, and automatically perform an alarm operation when the flashing fails. And the engine is brushed again, thereby greatly reducing the error rate of the engine brushing.
实施例三
与上述方法实施例相对应地,本发明还提供一种发动机刷写装置,该装置能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。Corresponding to the above method embodiments, the present invention also provides an engine flashing device, which can automatically and accurately match the flashing program required by the engine to be flashed and improve work efficiency.
如图3所示,本实施例所述的发动机刷写装置包括:As shown in FIG. 3 , the engine flashing device described in this embodiment includes:
接收单元301,用于接收待刷写发动机的标识信息;A receiving
查找单元302,用于基于所述标识信息查找与所述标识信息对应的刷写程序;A
刷写单元303,用于采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行刷写。The
上述装置的工作原理、工作流程等涉及具体实施方式的内容可参见本发明所提供的发动机刷写方法的具体实施方式,此处不再对相同的技术内容进行详细描述。The working principle and working process of the above device related to the specific embodiments can be referred to the specific embodiments of the engine flashing method provided by the present invention, and the same technical content will not be described in detail here.
实施例四
与上述方法实施例相对应地,在实施例三的基础上,本发明还提供一种发动机刷写装置,该装置能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。Corresponding to the above method embodiments, on the basis of the third embodiment, the present invention also provides an engine flashing device, which can automatically and accurately match the flashing program required by the engine to be flashed and improve work efficiency. .
如图4所示,本实施例所述的发动机刷写装置包括:As shown in FIG. 4 , the engine flashing device described in this embodiment includes:
接收单元401,用于接收待刷写发动机的标识信息;The receiving
查找单元402,用于基于所述标识信息查找与所述标识信息对应的刷写程序;a
刷写单元403,用于采用所述与所述标识信息对应的刷写程序对所述待刷写发动机进行刷写。The
在上述装置的基础上,如图4所示,本实施例所述的装置还包括:On the basis of the above device, as shown in FIG. 4 , the device described in this embodiment further includes:
日志生成单元404,用于在采用与标识信息对应的刷写程序对待刷写发动机进行刷写之后,生成刷写日志文件;The
进一步地,如图4所示,本实施例所述的装置还包括:Further, as shown in FIG. 4 , the device described in this embodiment further includes:
读取单元405,用于读取刷写日志文件;The
结果获取单元406,用于基于刷写日志文件获取对待刷写发动机的刷写结果;A
显示单元407,用于显示刷写结果;The
进一步地,如图4所示,本实施例所述的装置还包括:Further, as shown in FIG. 4 , the device described in this embodiment further includes:
发送单元408,用于当刷写结果为刷写成功时,发送刷写完成信息至预设终端;a sending
所述刷写单元303还用于当刷写结果为刷写失败时,采用与所述标识信息对应的刷写程序对待刷写发动机进行再次刷写。The
上述装置的工作原理、工作流程等涉及具体实施方式的内容可参见本发明所提供的发动机刷写方法的具体实施方式,此处不再对相同的技术内容进行详细描述。The working principle and working process of the above device related to the specific embodiments can be referred to the specific embodiments of the engine flashing method provided by the present invention, and the same technical content will not be described in detail here.
实施例五
与上述方法实施例相对应地,本发明还提供一种发动机刷写系统,该系统能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。Corresponding to the above method embodiments, the present invention also provides an engine flashing system, which can automatically and accurately match the flashing program required by the engine to be flashed and improve work efficiency.
如图5所示,本实施例所述的发动机刷写系统包括:As shown in FIG. 5 , the engine flashing system described in this embodiment includes:
刷写终端1,用于实现如上述实施例中任一项所述的发动机刷写方法;A flashing terminal 1 for implementing the engine flashing method as described in any one of the foregoing embodiments;
传送线体2,用于将待刷写发动机3传送至预定刷写工位,以使所述待刷写发动机3连接所述刷写终端1;其中,所述预定刷写工位处设置有挡料部件4;The
本实施例中,所述待刷写发动机可以采用有线或无线的方式连接刷写终端,当采用有线方式连接时,优选地采用发动机ECU的通讯线来实现发动机ECU与刷写终端之间的连接。In this embodiment, the engine to be flashed can be connected to the flashing terminal in a wired or wireless manner. When a wired connection is adopted, the communication line of the engine ECU is preferably used to realize the connection between the engine ECU and the flashing terminal. .
控制器5,用于控制所述挡料部件4放行由所述刷写终端1完成刷写后的发动机。The
本实施例中,控制器可采用PLC(Programmable Logic Controller,可编程逻辑控制器),PLC与刷写终端连接,当PLC接收到由刷写终端发送的刷写完成信息时,控制挡料部件放行发动机。In this embodiment, the controller may use a PLC (Programmable Logic Controller, programmable logic controller), the PLC is connected to the flashing terminal, and when the PLC receives the flashing completion information sent by the flashing terminal, it controls the stopper to release engine.
本实施例中,刷写终端和PLC均设置于上述预定刷写工位处,因此,PLC也可称为工位PLC;所述刷写终端包括个人计算机PC。In this embodiment, both the flashing terminal and the PLC are set at the predetermined flashing station, therefore, the PLC may also be referred to as a station PLC; the flashing terminal includes a personal computer PC.
为了进一步实现系统的自动化,提高工作效率,本实施例所述的系统还包括:In order to further realize the automation of the system and improve work efficiency, the system described in this embodiment also includes:
后台服务器,用于向所述控制器发送所述待刷写发动机的标识信息;a background server, configured to send the identification information of the engine to be refreshed to the controller;
所述控制器还用于向所述刷写终端发送所述待刷写发动机的标识信息。The controller is further configured to send the identification information of the engine to be flashed to the flashing terminal.
本实施例中,待刷写发动机的标识信息是由后台服务器下发给控制器PLC,再由PLC进一步发送给刷写终端的。后台服务器由于运行有制造执行系统,能够精确地记录每个客户的需求、每台发动机需要执行的操作,因此,由后台服务器来下发发动机的标识信息,能够进一步降低刷写出错率。In this embodiment, the identification information of the engine to be flashed is sent by the background server to the controller PLC, and then further sent by the PLC to the flashing terminal. Because the background server runs the manufacturing execution system, it can accurately record the needs of each customer and the operations that each engine needs to perform. Therefore, the background server sends the identification information of the engine, which can further reduce the error rate of flashing and writing.
为了进一步实现系统的自动化,提高工作效率,本实施例中,每个待刷写发动机具有射频电子标签,所述挡料部件上还设置有读写器;所述读写器用于当待刷写发动机被传送至预定刷写工位时,读取所述射频电子标签,获得该射频电子标签所包含的发动机信息,并将该发动机信息发送至所述后台服务器;所述后台服务器还用于基于该发动机信息查找与该发动机信息对应的标识,将该标识作为待刷写发动机的标识信息发送给所述控制器。In order to further realize the automation of the system and improve the work efficiency, in this embodiment, each engine to be flashed has a radio frequency electronic tag, and a reader/writer is also provided on the blocking member; the reader/writer is used when the motor to be flashed When the engine is sent to the predetermined brushing station, the radio frequency electronic tag is read, the engine information contained in the radio frequency electronic tag is obtained, and the engine information is sent to the background server; the background server is also used for The engine information searches for an identification corresponding to the engine information, and sends the identification to the controller as identification information of the engine to be refreshed.
具体地,当发动机被传送至预定刷写工位时,该发动机的射频电子标签能够被挡料部件上的读写器读取,读写器将读取到的该发动机信息发送给后台服务器,后台服务器通过该发动机信息就可获知该发动机现存的所有其它信息,包括该发动机的序列号、订单号、是否需要被刷写等信息。后台服务器向控制器PLC下发该发动机的序列号、订单号、是否需要被刷写等信息,控制器接收到上述信息后,首先获知该发动机是否需要被刷写,当该发动机需要被刷写时,再向刷写终端发送该发动机的序列号、订单号等标识信息;当该发动机不需要被刷写时,直接控制挡料部件放行该发动机。Specifically, when the engine is sent to the predetermined brushing station, the radio frequency electronic tag of the engine can be read by the reader/writer on the material stopper, and the reader/writer will send the read engine information to the background server, Through the engine information, the background server can learn all other existing information of the engine, including the serial number of the engine, the order number, whether it needs to be refreshed, and other information. The backend server sends the engine's serial number, order number, and whether it needs to be flashed to the controller PLC. After receiving the above information, the controller first knows whether the engine needs to be flashed. When the engine needs to be flashed When the flashing terminal is used, the serial number, order number and other identification information of the engine are sent to the flashing terminal; when the engine does not need to be flashed, the material stopper is directly controlled to release the engine.
本实施例采用工位检测传感器来确定待刷写发动机被传送至预定刷写工位;其中,所述工位检测传感器被预先设置于所述预定刷写工位处。工位检测传感器可采用光电传感器、激光测距传感器、重量传感器等各种类型的传感器,此处不作限制。In this embodiment, a station detection sensor is used to determine that the engine to be brushed is transferred to a predetermined brushing station; wherein, the station detection sensor is preset at the predetermined brushing station. Various types of sensors, such as photoelectric sensors, laser ranging sensors, and weight sensors, can be used as the station detection sensor, which is not limited here.
以下结合实际应用详细说明本系统的工作流程:The following describes the workflow of the system in detail in combination with the actual application:
当发动机被传送线体传送至刷写工位时,读写器读取该发动机的电子标签,并将读取到的该发动机信息发送给后台服务器,之后,后台服务器向PLC下发该发动机的序列号、订单号、是否需要被刷写等信息。当该发动机需要被刷写时,PLC将该发动机的序列号和订单号通过网线发送给刷写终端,在操作人员安装好发动机ECU的通讯线后,刷写终端会自动根据该发动机的序列号或订单号查找对应的刷写程序对该发动机进行刷写,刷写完成后,刷写终端读取刷写软件自动生成的刷写日志文件,判断是否刷写成功。当刷写成功时,刷写终端将刷写完成信息发送给PLC,PLC控制挡料部件放行发动机,完成此工位操作;当刷写失败时,刷写终端进行报警,并再次对该发动机进行刷写,直至刷写成功。When the engine is sent to the brushing station by the transmission line, the reader reads the electronic label of the engine, and sends the read engine information to the background server, after which the background server sends the engine's information to the PLC. Serial number, order number, whether it needs to be flashed, etc. When the engine needs to be flashed, the PLC sends the serial number and order number of the engine to the flashing terminal through the network cable. After the operator installs the communication line of the engine ECU, the flashing terminal will automatically base on the serial number of the engine. Or the order number to find the corresponding flashing program to flash the engine. After the flashing is completed, the flashing terminal reads the flashing log file automatically generated by the flashing software to determine whether the flashing is successful. When the flashing is successful, the flashing terminal sends the flashing completion information to the PLC, and the PLC controls the stopper to release the engine to complete the station operation; when the flashing fails, the flashing terminal alarms, and the engine is executed again. Flashing until the flashing is successful.
本实施例所述的发动机刷写系统通过工位PLC来控制挡料部件,只有当刷写终端刷写成功、工位PLC接收到刷写完成信息时,才能控制挡料部件放行发动机,如此,大大降低了系统的漏刷率。The engine brushing system described in this embodiment controls the material stopper through the station PLC. Only when the brushwriting terminal is successfully brushed and the station PLC receives the brushwriting completion information, can the stopper part be controlled to release the engine. In this way, Greatly reduces the leakage rate of the system.
实施例六Embodiment 6
根据本发明的实施例,还提供了一种存储介质,所述存储介质上存储有程序代码,所述程序代码被处理器执行时,实现如上述实施例任一项所述的发动机刷写方法。According to an embodiment of the present invention, a storage medium is also provided, where program codes are stored on the storage medium, and when the program codes are executed by a processor, the method for flashing an engine according to any one of the foregoing embodiments is implemented. .
实施例七Embodiment 7
根据本发明的实施例,还提供了一种电子设备,所述电子设备包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的程序代码,所述程序代码被所述处理器执行时,实现如上述实施例任一项所述的发动机刷写方法。According to an embodiment of the present invention, there is also provided an electronic device, the electronic device includes a memory and a processor, the memory stores program codes that can be executed on the processor, and the program codes are executed by the processor. When executed by the processor, the engine flashing method described in any one of the foregoing embodiments is implemented.
本发明实施例提供的一种发动机刷写方法、装置、系统、存储介质及电子设备,通过待刷写发动机的标识信息自动查找与该标识信息对应的刷写程序,避免了人工查找造成的繁琐、易出错、效率低的技术问题,能够自动、精确地匹配待刷写发动机所需的刷写程序、提高工作效率。此外,本发明能够根据刷写日志文件判断刷写是否成功,在刷写失败时,能够自动进行报警操作,并对发动机进行再次刷写,从而大大降低了发动机的刷写出错率。An engine flashing method, device, system, storage medium and electronic device provided by the embodiments of the present invention automatically search for the flashing program corresponding to the identification information through the identification information of the engine to be flashed, avoiding the tediousness caused by manual search. , Error-prone and low-efficiency technical problems, can automatically and accurately match the flashing program required by the engine to be flashed, and improve work efficiency. In addition, the present invention can judge whether the brushing is successful according to the brushing log file, and when the brushing fails, it can automatically perform an alarm operation, and refresh the engine again, thereby greatly reducing the error rate of the engine brushing.
此外,本发明通过工位PLC来控制挡料部件,只有当刷写终端刷写成功、工位PLC接收到刷写完成信息时,才能控制挡料部件放行发动机,如此,大大降低了系统的漏刷率。In addition, the present invention controls the stopper component through the station PLC, and only when the brush writing terminal is successfully brushed and the station PLC receives the brush writing completion information, can the stopper component be controlled to release the engine, thus greatly reducing the leakage of the system brush rate.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown 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 solutions of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or a part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
虽然本发明所公开的实施方式如上,但所述的内容只是为了便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所公开的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的保护范围,仍须以所附的权利要求书所界定的范围为准。Although the disclosed embodiments of the present invention are as above, the content described is only an embodiment adopted to facilitate understanding of the present invention, and is not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the protection scope of the present invention is still The scope as defined by the appended claims shall prevail.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110071451.4A CN114816441A (en) | 2021-01-19 | 2021-01-19 | Engine flashing method, device, system, storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110071451.4A CN114816441A (en) | 2021-01-19 | 2021-01-19 | Engine flashing method, device, system, storage medium and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114816441A true CN114816441A (en) | 2022-07-29 |
Family
ID=82524208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110071451.4A Pending CN114816441A (en) | 2021-01-19 | 2021-01-19 | Engine flashing method, device, system, storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114816441A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117440345A (en) * | 2023-09-08 | 2024-01-23 | 重庆数智融合创新科技有限公司 | Automobile ECU software filling method and system based on 5G technology |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101840206A (en) * | 2010-01-15 | 2010-09-22 | 北汽福田汽车股份有限公司 | ECU (Electric Control Unit) data flashing system |
| CN102436255A (en) * | 2011-10-12 | 2012-05-02 | 潍柴动力股份有限公司 | Automobile part offline system and method |
| CN107024925A (en) * | 2017-05-25 | 2017-08-08 | 奇瑞汽车股份有限公司 | A kind of automobile ECU controller writes with a brush dipped in Chinese ink system and method |
| CN107888661A (en) * | 2017-10-24 | 2018-04-06 | 道依茨汽(大连)柴油机有限公司 | A kind of ECU data writing system |
| CN111190618A (en) * | 2019-12-16 | 2020-05-22 | 深圳市云伽智能技术有限公司 | Flash method and device for Electronic Control Unit (ECU), diagnostic equipment and storage medium |
| CN112052032A (en) * | 2020-09-01 | 2020-12-08 | 潍柴动力股份有限公司 | Brush writing method and device for electronic control unit |
-
2021
- 2021-01-19 CN CN202110071451.4A patent/CN114816441A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101840206A (en) * | 2010-01-15 | 2010-09-22 | 北汽福田汽车股份有限公司 | ECU (Electric Control Unit) data flashing system |
| CN102436255A (en) * | 2011-10-12 | 2012-05-02 | 潍柴动力股份有限公司 | Automobile part offline system and method |
| CN107024925A (en) * | 2017-05-25 | 2017-08-08 | 奇瑞汽车股份有限公司 | A kind of automobile ECU controller writes with a brush dipped in Chinese ink system and method |
| CN107888661A (en) * | 2017-10-24 | 2018-04-06 | 道依茨汽(大连)柴油机有限公司 | A kind of ECU data writing system |
| CN111190618A (en) * | 2019-12-16 | 2020-05-22 | 深圳市云伽智能技术有限公司 | Flash method and device for Electronic Control Unit (ECU), diagnostic equipment and storage medium |
| CN112052032A (en) * | 2020-09-01 | 2020-12-08 | 潍柴动力股份有限公司 | Brush writing method and device for electronic control unit |
Non-Patent Citations (1)
| Title |
|---|
| 中国汽车工程学会: "《2018汽车智能制造典型案例选编》", 31 October 2018, 北京理工大学出版社, pages: 123 - 125 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117440345A (en) * | 2023-09-08 | 2024-01-23 | 重庆数智融合创新科技有限公司 | Automobile ECU software filling method and system based on 5G technology |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104317618B (en) | A kind of firmware partition treating method and apparatus | |
| CN102611745B (en) | On-line file moving method, device and system | |
| CN107357558B (en) | Method and device for constructing codes | |
| CN109617726A (en) | Error log acquisition method and server | |
| CN109165170B (en) | A method and system for automated request testing | |
| CN106406754A (en) | Data migration method and device | |
| CN106485261A (en) | A kind of method and apparatus of image recognition | |
| CN103810099B (en) | Code tracing method and code tracing system | |
| CN104252413B (en) | A kind of automatized script generation method, apparatus and system | |
| CN114816441A (en) | Engine flashing method, device, system, storage medium and electronic device | |
| CN109213505A (en) | Server hard disc firmware method for refreshing and device | |
| CN104598374A (en) | Failure script correcting method and equipment | |
| CN112216340A (en) | Hard disk test method and device, storage medium and electronic equipment | |
| CN116609718A (en) | Ammeter aging character-moving test method and device, electronic equipment and storage medium | |
| CN103593429B (en) | Commodity template failure detection method and device | |
| CN105468527A (en) | Method and device for testing component in application | |
| CN104732341A (en) | Control method and control system for simulating service process and service process operation | |
| CN107885640B (en) | Hard disk management method and device | |
| CN107179919A (en) | Source code management system, application management method and device | |
| CN115563135A (en) | Data updating method, device, equipment and storage medium | |
| CN116074493A (en) | A set-top box wireless hardware testing method, system, device and medium | |
| CN114723318A (en) | Calibration data management method and device | |
| CN113485734A (en) | Automatic vehicle configuration flashing method | |
| CN110737550B (en) | Color identification detection method and device for terminal equipment | |
| CN112966999A (en) | Method, device and system for processing client emergency appeal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220729 |
|
| RJ01 | Rejection of invention patent application after publication |