CN112947975A - Method, system, device, storage medium and computer equipment for program flashing - Google Patents

Method, system, device, storage medium and computer equipment for program flashing Download PDF

Info

Publication number
CN112947975A
CN112947975A CN202110405601.0A CN202110405601A CN112947975A CN 112947975 A CN112947975 A CN 112947975A CN 202110405601 A CN202110405601 A CN 202110405601A CN 112947975 A CN112947975 A CN 112947975A
Authority
CN
China
Prior art keywords
flashing
flash
code
program
vehicle controller
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
Application number
CN202110405601.0A
Other languages
Chinese (zh)
Inventor
苏毅
张玉成
徐安良
张毅
李艳美
龚龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Jinkang Sailisi New Energy Automobile Design Institute Co Ltd
Original Assignee
Chongqing Jinkang Sailisi New Energy Automobile Design Institute Co Ltd
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 Chongqing Jinkang Sailisi New Energy Automobile Design Institute Co Ltd filed Critical Chongqing Jinkang Sailisi New Energy Automobile Design Institute Co Ltd
Priority to CN202110405601.0A priority Critical patent/CN112947975A/en
Publication of CN112947975A publication Critical patent/CN112947975A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Abstract

The embodiment of the invention provides a method, a system, a device, a storage medium and computer equipment for program flashing. The method comprises the following steps: receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the stored corresponding relation between the flashing tables and the vehicle control unit codes; and sending a flashing instruction to the flashing table corresponding to each inquired tool code so that the flashing table can respond to the flashing instruction and conduct program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code. The computer equipment can automatically call the brushing program corresponding to each vehicle controller code to brush the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the success rate of the program brushing is improved.

Description

Method, system, device, storage medium and computer equipment for program flashing
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of vehicle technologies, and in particular, to a method, a system, an apparatus, a storage medium, and a computer device for program flashing.
[ background of the invention ]
Along with the development of intelligent interconnection of the automobiles, more and more controllers are arranged on the whole automobile, the functions of the whole automobile are correspondingly increased, and the interaction between the controllers on the whole automobile is more complex. Software programs need to be written in the vehicle controller to realize the function control of the vehicle. In the research and development process of the whole vehicle, the software program needs to be continuously updated, the defects of the software program are repaired, and the function of the whole vehicle is more stable and improved by the program flashing technology.
In the related art, the off-line program flashing technology needs to manually insert the whole vehicle controller into the flashing table, so that the pins of the flashing table are easy to loosen, the flashing table cannot firmly clamp the whole vehicle controller, the whole vehicle controller can be taken out abnormally in the program flashing process, and the success rate of the program flashing is low.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a method, a system, an apparatus, a storage medium, and a computer device for program flashing, so as to improve the success rate of program flashing.
In one aspect, an embodiment of the present invention provides a method for program flashing, including:
receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun;
inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables;
inquiring the vehicle control unit code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle control unit codes;
inquiring a flash program corresponding to each vehicle controller code according to the stored corresponding relation between the vehicle controller code and the flash program;
and sending a flashing instruction to the flashing table corresponding to each inquired tooling code, wherein the flashing instruction comprises a flashing program corresponding to each inquired vehicle controller code, so that the flashing table responds to the flashing instruction and carries out program flashing on the vehicle controller according to the corresponding flashing program of each inquired vehicle controller code.
Optionally, after sending the flashing instruction to the flashing table corresponding to each queried fixture code, the method includes:
acquiring the flashing time corresponding to the flashing instruction and the inquired software version number of the flashing program corresponding to each vehicle controller code;
and sending a printing instruction to a printer, wherein the printing instruction comprises the vehicle control unit code, the tooling code, the flashing time and the software version number, so that the printer can print the vehicle control unit code, the tooling code, the flashing time and the software version number.
Optionally, after sending the flashing instruction to the flashing table corresponding to each queried fixture code, the method further includes:
and sending a flash stop instruction to the flash table corresponding to each inquired tool code, so that the flash table corresponding to each inquired tool code responds to the flash stop instruction to stop program flash.
Optionally, the sending a flash completion instruction to the flash table corresponding to each queried tool code, so that the flash table corresponding to each queried tool code responds to the flash stop instruction, and after program flash is stopped, the method includes:
acquiring the brushing time length corresponding to the brushing stop instruction;
generating a flash record according to the vehicle control unit code, the tooling code, the flash time, the flash duration and the software version number;
storing the flash record.
In another aspect, an embodiment of the present invention provides a system for program flashing, including: the system comprises computer equipment, a code scanning gun, a plurality of writing tables and a plurality of vehicle controllers;
the computer equipment is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun; inquiring a flash table corresponding to each tool code according to the stored corresponding relation between the tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle control unit codes; inquiring a flash program corresponding to each vehicle controller code according to the stored corresponding relation between the vehicle controller code and the flash program; sending a brushing instruction to a brushing platform corresponding to each inquired tooling code, wherein the brushing instruction comprises a brushing program corresponding to each inquired vehicle controller code;
and the flash table is used for responding to the flash instruction and performing program flash on the whole vehicle controller according to the flash program corresponding to each inquired whole vehicle controller code.
Optionally, the method further comprises: a printer;
the computer device is further configured to obtain the brushing time corresponding to the brushing instruction and the queried software version number of the brushing program corresponding to each vehicle controller code; sending a printing instruction to a printer, wherein the printing instruction comprises the vehicle control unit code, the tool code, the flash time and the software version number;
and the printer is used for printing the vehicle control unit code, the tool code, the flash time and the software version number.
Optionally, the method further comprises:
the computer equipment is also used for sending a brushing stop instruction to the brushing platform corresponding to each inquired tooling code;
the flash platform is further used for responding to the flash stop instruction and stopping program flash.
In another aspect, an embodiment of the present invention provides an apparatus for program flash, including:
the receiving module is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun;
the first query module is used for querying the flash table corresponding to each tool code according to the stored corresponding relation between the tool code and the flash table;
the second query module is used for querying the vehicle controller code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle controller code;
the third query module is used for querying the flash program corresponding to each vehicle controller code according to the stored corresponding relationship between the vehicle controller code and the flash program;
and the sending module is used for sending a flashing instruction to the flashing table corresponding to each inquired tooling code, wherein the flashing instruction comprises a flashing program corresponding to each inquired vehicle controller code, so that the flashing table responds to the flashing instruction and carries out program flashing on the vehicle controller according to the corresponding flashing program of each inquired vehicle controller code.
In another aspect, an embodiment of the present invention provides a storage medium, including: the storage medium comprises a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the method for flashing the program.
In another aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, where the program instructions are loaded by the processor and executed to implement the steps of the method for program flashing.
According to the technical scheme of the program flashing method, a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun are received; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the stored corresponding relation between the flashing tables and the vehicle control unit codes; and sending a flashing instruction to the flashing table corresponding to each inquired tool code so that the flashing table can respond to the flashing instruction and conduct program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code. The computer equipment can automatically call the brushing program corresponding to each vehicle controller code to brush the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the success rate of the program brushing is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a system for program flashing according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for program flashing according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for program flash according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a computer device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The embodiment of the invention provides a system for program flashing. Fig. 1 is a schematic structural diagram of a system for program flashing according to an embodiment of the present invention, as shown in fig. 1, the system includes: computer equipment 1, sweep yard rifle 2, a plurality of platform 3 and a plurality of vehicle control unit 4 of writing with a brush. Computer equipment 1 with sweep a yard rifle 2 and be connected, computer equipment 1 is connected with every platform 3 of writing with a brush, every platform 3 of writing with a brush and every 3 vehicle control unit 4 that correspond of writing with a brush are connected.
The computer equipment 1 is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun 2; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the corresponding relation between the stored flashing tables and the vehicle control unit codes; inquiring a flash program corresponding to each vehicle controller code according to the corresponding relation between the stored vehicle controller codes and the flash programs; and sending a brushing instruction to the brushing platform corresponding to each inquired tool code, wherein the brushing instruction comprises a brushing program corresponding to each inquired vehicle controller code.
And the flash table 3 is used for responding to the flash instruction and performing program flash on the whole vehicle controller 4 according to the flash program corresponding to each inquired vehicle controller code.
In the embodiment of the present invention, as an alternative, the computer device 1 and the flash stations 3 are connected through the router 6 and the communication controller 7 corresponding to each flash station 3. The computer device 1 is connected with the router 6, the router 6 is connected with the communication controller 7 corresponding to each flash table 3, and the communication controller 7 corresponding to each flash table 3 is connected with each flash table 3.
In the embodiment of the invention, the writing desk 3 is connected with the communication controller 7 through a communication wire harness.
In the embodiment of the present invention, the computer device 1 is connected to the power supply 8 as an alternative. The power supply 8 includes: an Uninterruptible Power Supply (UPS for short).
In the embodiment of the present invention, the system further includes: a printer 5. The computer device 1 is connected to a printer 5.
The computer device 1 is further configured to obtain a brushing time corresponding to the brushing instruction and an inquired software version number of a brushing program corresponding to each vehicle controller code; and sending a printing instruction to the printer 5, wherein the printing instruction comprises a vehicle control unit code, a tooling code, a writing time and a software version number.
The printer 5 is used for printing vehicle control unit codes, tool codes, brushing time and software version numbers.
In the embodiment of the present invention, the computer device 1 is further configured to send a flash stop instruction to the flash table 3 corresponding to each queried tool code.
The flash stage 3 is also configured to stop the program flash in response to a flash stop instruction.
In the embodiment of the present invention, the computer device 1 is further configured to obtain a brushing duration corresponding to the brushing stop instruction; generating a flash record according to the vehicle controller code, the tooling code, the flash time, the flash duration and the software version number; the flash record is stored.
In the embodiment of the invention, a computer device 1, a code scanning gun 2, a plurality of writing tables 3, a plurality of vehicle controllers 4, a plurality of communication controllers 7, a router 6, a printer 5 and a power supply 8 are arranged in one cabinet.
According to the technical scheme provided by the embodiment of the invention, a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun are received; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the stored corresponding relation between the flashing tables and the vehicle control unit codes; and sending a flashing instruction to the flashing table corresponding to each inquired tool code so that the flashing table can respond to the flashing instruction and conduct program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code. The computer equipment can automatically call the brushing program corresponding to each vehicle controller code to brush the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the success rate of the program brushing is improved.
The embodiment of the invention provides a program flashing method. Fig. 2 is a flowchart of a method for program flashing according to an embodiment of the present invention, as shown in fig. 2, the method includes:
and 102, receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun by the computer equipment.
In the embodiment of the present invention, step 102 includes: and (3) replacing a hardware clamp of the flash table by a program flash technician, placing the whole vehicle controller on the flash table, and pressing the aggregation button. At the moment, the vehicle control unit is automatically inserted into a hardware clamp of the flash table.
In the embodiment of the invention, the tool code or the vehicle control unit code comprises a one-dimensional code or a two-dimensional code. Wherein, the frock code is the hardware fixture code of the flash platform. The tool code is arranged on a hardware clamp of the writing table, and the vehicle control unit code is arranged on the vehicle control unit.
In the step, the scanning gun scans a plurality of tool codes and a plurality of vehicle control unit codes, and the scanning gun sends the tool codes and the vehicle control unit codes to the computer equipment.
And 104, inquiring the flash table corresponding to each tool code by the computer equipment according to the corresponding relation between the stored tool codes and the flash tables.
In the embodiment of the invention, the computer equipment stores the corresponding relation between the tooling codes and the flash tables, and can inquire the flash table corresponding to each tooling code according to the corresponding relation between the stored tooling codes and the flash tables.
And 106, the computer equipment inquires the vehicle control unit code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle control unit code.
In the embodiment of the invention, the computer equipment stores the corresponding relation between the flashing tables and the vehicle controller codes, and the vehicle controller codes corresponding to each flashing table can be inquired according to the stored corresponding relation between the flashing tables and the vehicle controller codes.
And 108, inquiring the flash program corresponding to each vehicle controller code by the computer equipment according to the stored corresponding relation between the vehicle controller codes and the flash programs.
In the embodiment of the invention, the computer equipment stores the corresponding relation between the vehicle controller codes and the flash program, and can inquire the flash program corresponding to each vehicle controller code according to the stored corresponding relation between the vehicle controller codes and the flash program.
And 110, sending a brushing instruction to the brushing platform corresponding to each inquired tooling code by the computer equipment, wherein the brushing instruction comprises a brushing program corresponding to each inquired vehicle controller code.
And 112, responding to the flashing instruction by the flashing platform, and performing program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code.
In the embodiment of the invention, the computer equipment can automatically call the flash program corresponding to each vehicle controller code to flash the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the program flash efficiency is improved.
In an embodiment of the present invention, after step 112, the method further includes:
and step S1, the computer equipment acquires the brushing time corresponding to the brushing instruction and the inquired software version number of the brushing program corresponding to each vehicle controller code.
In this step, the writing time corresponding to the writing command includes the time when the computer device sends the writing command to the writing table.
In the embodiment of the invention, the computer device stores the corresponding relationship between the vehicle control unit codes and the software version number of the flash program, and the software version number of the flash program corresponding to each vehicle control unit code can be inquired according to the corresponding relationship between the vehicle control unit codes and the software version number of the flash program.
And step S2, the computer equipment sends a printing instruction to the printer, wherein the printing instruction comprises a vehicle control unit code, a tooling code, a writing time and a software version number.
And step S3, printing the vehicle control unit code, the tooling code, the brushing time and the software version number by the printer.
And step 114, sending a brushing stop instruction to the brushing platform corresponding to each inquired tool code by the computer equipment.
And step 116, responding to the flash stop instruction by the flash table corresponding to each inquired tool code, and stopping program flash.
In the embodiment of the present invention, after step 116, the method further includes: and the whole vehicle controller automatically pops up the flashing table, the program flashing technician takes out the whole vehicle controller in the flashing table, and places the whole vehicle controller in the container to complete the program flashing.
And step 118, the computer equipment acquires the brushing time length corresponding to the brushing stop instruction.
In the embodiment of the invention, the brushing duration corresponding to the brushing stop instruction comprises the time difference between the sending of the brushing stop instruction by the computer equipment and the sending of the brushing instruction by the computer equipment.
And 120, generating a flash record by the computer equipment according to the vehicle control unit code, the tool code, the flash time, the flash duration and the software version number.
In the embodiment of the invention, as an alternative scheme, the computer equipment generates the flash log according to the flash time, the flash duration and the software version number, and names the flash log according to the serial number of the vehicle controller.
Step 122, the computer device stores the flash record.
In this step, the computer device stores the flush record in a database.
According to the technical scheme provided by the embodiment of the invention, a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun are received; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the stored corresponding relation between the flashing tables and the vehicle control unit codes; and sending a flashing instruction to the flashing table corresponding to each inquired tool code so that the flashing table can respond to the flashing instruction and conduct program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code. The computer equipment can automatically call the brushing program corresponding to each vehicle controller code to brush the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the success rate of the program brushing is improved.
According to the technical scheme provided by the embodiment of the invention, the switching problem of various programming programs can be solved, the problem that the whole vehicle controller is not stably clamped is solved, and the problem that the whole vehicle controller is abnormally taken out in the program programming process is solved. The method can store the process data and the log of the program flashing so as to facilitate problem analysis and data tracing of the program flashing and also facilitate the query of the flashing record.
According to the technical scheme provided by the embodiment of the invention, a plurality of vehicle controllers can be completely independent during program flashing, the vehicle controllers are not interfered with each other during program flashing, the vehicle controllers are simultaneously flashed or independently flashed, and the display screen can display a flashing progress bar, a flashing time and a flashing prompt.
According to the technical scheme provided by the embodiment of the invention, when a program flashing technician presses the aggregation button, the whole vehicle controller is automatically inserted into the pin slot of the flashing table to start automatic program flashing, and the whole vehicle controller is automatically popped up after the flashing is finished, so that the program flashing process of the whole vehicle controller is more stable, the problem of abnormal taking-out is avoided, and the success rate of program flashing is higher. And the database is adopted to store data, so that the data of the program flash is easier to query, the flash problem is easier to analyze and solve, the quality tracing is easier, and the quality stability of the program flash is improved.
The embodiment of the invention provides a device for program flashing. Fig. 3 is a schematic structural diagram of an apparatus for program flash according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a receiving module 11, a first query module 12, a second query module 13, a third query module 14 and a transmitting module 15.
The receiving module 11 is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun.
The first query module 12 is configured to query the flash table corresponding to each tool code according to the stored correspondence between the tool code and the flash table.
The second query module 13 is configured to query the vehicle controller code corresponding to each brushing station according to the stored correspondence between the brushing station and the vehicle controller code.
The third query module 14 is configured to query the flash program corresponding to each vehicle controller code according to the stored correspondence between the vehicle controller code and the flash program.
The sending module 15 is configured to send a flashing instruction to the flashing table corresponding to each queried tooling code, where the flashing instruction includes a flashing program corresponding to each queried vehicle controller code, so that the flashing table responds to the flashing instruction, and performs program flashing on the vehicle controller according to the flashing program corresponding to each queried vehicle controller code.
In the embodiment of the present invention, the apparatus further includes: a first acquisition module 16.
The first obtaining module 16 is configured to obtain a brushing time corresponding to the brushing instruction and a software version number of the brushing program corresponding to each queried vehicle controller code.
The sending module 15 is further configured to send a print instruction to the printer, where the print instruction includes a vehicle controller code, a tool code, a writing time, and a software version number, so that the printer can print the vehicle controller code, the tool code, the writing time, and the software version number.
In this embodiment of the present invention, the sending module 15 is further configured to send a flash stop instruction to the flash table corresponding to each queried tool code, so that the flash table corresponding to each queried tool code stops program flash in response to the flash stop instruction.
In the embodiment of the present invention, the apparatus further includes: a second obtaining module 17, a generating module 18 and a storing module 19.
The second obtaining module 17 is configured to obtain a brushing duration corresponding to the brushing stop instruction.
The generating module 18 is configured to generate a flash record according to the vehicle controller code, the tooling code, the flash time, the flash duration, and the software version number.
The storage module 19 is used for storing the flash record.
According to the technical scheme provided by the embodiment of the invention, a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun are received; inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each flashing table according to the stored corresponding relation between the flashing tables and the vehicle control unit codes; and sending a flashing instruction to the flashing table corresponding to each inquired tool code so that the flashing table can respond to the flashing instruction and conduct program flashing on the whole vehicle controller according to the flashing program corresponding to each inquired vehicle controller code. The computer equipment can automatically call the brushing program corresponding to each vehicle controller code to brush the program of the vehicle controller according to the plurality of tool codes and the plurality of vehicle controller codes scanned by the scanning gun, so that the success rate of the program brushing is improved.
The device for program flashing provided in this embodiment may be used to implement the method for program flashing in fig. 2, and for specific description, reference may be made to an embodiment of the method for program flashing, and a description will not be repeated here.
Embodiments of the present invention provide a storage medium, where the storage medium includes a stored program, where each step of an embodiment of a method for controlling a device on which the storage medium is located to execute the program flash when the program runs is described in detail with reference to the embodiment of the method for program flash.
Embodiments of the present invention provide a computer device, including a memory and a processor, where the memory is configured to store information including program instructions, and the processor is configured to control execution of the program instructions, and the program instructions are loaded by the processor and executed to implement steps of an embodiment of the method for program flashing, and specific descriptions may refer to the embodiment of the method for program flashing.
Fig. 4 is a schematic diagram of a computer device according to an embodiment of the present invention. As shown in fig. 4, the computer device 40 of this embodiment includes: the processor 41, the memory 42, and the computer program 43 stored in the memory 42 and capable of running on the processor 41, where the computer program 43 is executed by the processor 41 to implement the method applied to program flashing in the embodiments, and in order to avoid repetition, the details are not repeated herein. Alternatively, the computer program is executed by the processor 41 to implement the functions of each model/unit in the apparatus for program flash in the embodiment, which are not described herein for avoiding redundancy.
The computer device 40 includes, but is not limited to, a processor 41, a memory 42. Those skilled in the art will appreciate that fig. 4 is merely an example of a computer device 40 and is not intended to limit the computer device 40 and that it may include more or fewer components than shown, or some components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 41 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 42 may be an internal storage unit of the computer device 40, such as a hard disk or a memory of the computer device 40. The memory 42 may also be an external storage device of the computer device 40, such as a plug-in hard disk provided on the computer device 40, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, memory 42 may also include both internal and external storage units of computer device 40. The memory 42 is used for storing computer programs and other programs and data required by the computer device. The memory 42 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of program flashing, comprising:
receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by a scanning gun;
inquiring a flash table corresponding to each tool code according to the corresponding relation between the stored tool codes and the flash tables;
inquiring the vehicle control unit code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle control unit codes;
inquiring a flash program corresponding to each vehicle controller code according to the stored corresponding relation between the vehicle controller code and the flash program; and sending a flashing instruction to the flashing table corresponding to each inquired tooling code, wherein the flashing instruction comprises a flashing program corresponding to each inquired vehicle controller code, so that the flashing table responds to the flashing instruction and carries out program flashing on the vehicle controller according to the corresponding flashing program of each inquired vehicle controller code.
2. The method according to claim 1, wherein after sending the flashing instruction to the flashing station corresponding to each of the queried tooling codes, the method comprises:
acquiring the flashing time corresponding to the flashing instruction and the inquired software version number of the flashing program corresponding to each vehicle controller code;
and sending a printing instruction to a printer, wherein the printing instruction comprises the vehicle control unit code, the tooling code, the flashing time and the software version number, so that the printer can print the vehicle control unit code, the tooling code, the flashing time and the software version number.
3. The method according to claim 1, wherein after sending the flashing instruction to the flashing station corresponding to each of the queried tooling codes, the method further comprises:
and sending a flash stop instruction to the flash table corresponding to each inquired tool code, so that the flash table corresponding to each inquired tool code responds to the flash stop instruction to stop program flash.
4. The method according to claim 3, wherein the sending a flash completion instruction to the flash table corresponding to each queried tool code, so that after the flash table corresponding to each queried tool code responds to the flash stop instruction and stops program flash, the method includes:
acquiring the brushing time length corresponding to the brushing stop instruction;
generating a flash record according to the vehicle control unit code, the tooling code, the flash time, the flash duration and the software version number;
storing the flash record.
5. A system for program flashing, comprising: the system comprises computer equipment, a code scanning gun, a plurality of writing tables and a plurality of vehicle controllers;
the computer equipment is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun; inquiring a flash table corresponding to each tool code according to the stored corresponding relation between the tool codes and the flash tables; inquiring the vehicle control unit code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle control unit codes; inquiring a flash program corresponding to each vehicle controller code according to the stored corresponding relation between the vehicle controller code and the flash program; sending a brushing instruction to a brushing platform corresponding to each inquired tooling code, wherein the brushing instruction comprises a brushing program corresponding to each inquired vehicle controller code;
and the flash table is used for responding to the flash instruction and performing program flash on the whole vehicle controller according to the flash program corresponding to each inquired whole vehicle controller code.
6. The system of claim 5, further comprising: a printer;
the computer device is further configured to obtain the brushing time corresponding to the brushing instruction and the queried software version number of the brushing program corresponding to each vehicle controller code; sending a printing instruction to a printer, wherein the printing instruction comprises the vehicle control unit code, the tool code, the flash time and the software version number;
and the printer is used for printing the vehicle control unit code, the tool code, the flash time and the software version number.
7. The system of claim 5, further comprising:
the computer equipment is also used for sending a brushing stop instruction to the brushing platform corresponding to each inquired tooling code;
the flash platform is further used for responding to the flash stop instruction and stopping program flash.
8. An apparatus for program flashing, comprising:
the receiving module is used for receiving a plurality of tool codes and a plurality of vehicle control unit codes sent by the scanning gun;
the first query module is used for querying the flash table corresponding to each tool code according to the stored corresponding relation between the tool code and the flash table;
the second query module is used for querying the vehicle controller code corresponding to each brushing platform according to the stored corresponding relation between the brushing platforms and the vehicle controller code;
the third query module is used for querying the flash program corresponding to each vehicle controller code according to the stored corresponding relationship between the vehicle controller code and the flash program;
and the sending module is used for sending a flashing instruction to the flashing table corresponding to each inquired tooling code, wherein the flashing instruction comprises a flashing program corresponding to each inquired vehicle controller code, so that the flashing table responds to the flashing instruction and carries out program flashing on the vehicle controller according to the corresponding flashing program of each inquired vehicle controller code.
9. A storage medium, comprising: the storage medium includes a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the method for program flashing according to any one of claims 1 to 4.
10. A computer device comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of the method of program flashing as claimed in any of claims 1 to 4.
CN202110405601.0A 2021-04-15 2021-04-15 Method, system, device, storage medium and computer equipment for program flashing Pending CN112947975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110405601.0A CN112947975A (en) 2021-04-15 2021-04-15 Method, system, device, storage medium and computer equipment for program flashing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110405601.0A CN112947975A (en) 2021-04-15 2021-04-15 Method, system, device, storage medium and computer equipment for program flashing

Publications (1)

Publication Number Publication Date
CN112947975A true CN112947975A (en) 2021-06-11

Family

ID=76232737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110405601.0A Pending CN112947975A (en) 2021-04-15 2021-04-15 Method, system, device, storage medium and computer equipment for program flashing

Country Status (1)

Country Link
CN (1) CN112947975A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397869A (en) * 2021-12-15 2022-04-26 潍柴动力股份有限公司 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190034184A1 (en) * 2017-07-25 2019-01-31 Aurora Labs Ltd. Detecting anomalies online using histograms of ecu processing activity
CN109471641A (en) * 2018-11-12 2019-03-15 中通客车控股股份有限公司 Integral new-energy passenger multi-controller program automatic batch writes with a brush dipped in Chinese ink system and method
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle
WO2020097848A1 (en) * 2018-11-15 2020-05-22 潍柴动力股份有限公司 Program refresh method and system
CN211857278U (en) * 2020-05-09 2020-11-03 恒大新能源汽车(广东)有限公司 Electronic control unit flash device and system of vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190034184A1 (en) * 2017-07-25 2019-01-31 Aurora Labs Ltd. Detecting anomalies online using histograms of ecu processing activity
CN109471652A (en) * 2018-10-24 2019-03-15 北汽福田汽车股份有限公司 Method for updating program and its system, the car-mounted terminal and electronic equipment of vehicle
CN109471641A (en) * 2018-11-12 2019-03-15 中通客车控股股份有限公司 Integral new-energy passenger multi-controller program automatic batch writes with a brush dipped in Chinese ink system and method
WO2020097848A1 (en) * 2018-11-15 2020-05-22 潍柴动力股份有限公司 Program refresh method and system
CN211857278U (en) * 2020-05-09 2020-11-03 恒大新能源汽车(广东)有限公司 Electronic control unit flash device and system of vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397869A (en) * 2021-12-15 2022-04-26 潍柴动力股份有限公司 Engine ECU (electronic control Unit) flashing method, flashing diagnosis method and device

Similar Documents

Publication Publication Date Title
CN103049770A (en) SMT (Surface Mount Technology) anti-false material detection system and method
CN103592898B (en) A kind of electronic product manufacture automatic control system and method
CN112649717A (en) Test method, test device, terminal equipment and storage medium
CN112947975A (en) Method, system, device, storage medium and computer equipment for program flashing
CN110134036A (en) A kind of method, monitoring system and the storage medium of serial port data acquisition poll
CN108408312A (en) A kind of Furniture manufacturing workshop logistics information monitoring system and method
CN111190621A (en) Firmware burning method, device, system, terminal equipment and storage medium
CN114328256A (en) Test method, test device, computer-readable storage medium and electronic equipment
CN113820998A (en) Cutter management method and related device
CN115578111B (en) Data tracing method and device, electronic equipment and readable storage medium
US6618629B2 (en) Communications interface for assembly-line monitoring and control
CN110505225A (en) A kind of terminal card-locking method, apparatus and computer readable storage medium
CN114148107B (en) Component code spraying method and device and electronic equipment
CN101317784A (en) Multi-collocation module equipment and automatic collocation method for module
CN113534730A (en) Model-based PLC control code generation method, system, device and storage medium
TWI591463B (en) Control system of manufacturing machine implemented by electronic billboard, and control method for using the same
CN113507514A (en) Multi-station control method, production line, production system and readable storage medium
CN113704091B (en) Logic code debugging method, device, equipment and storage medium
CN114833827B (en) Method and related device for processing parts
CN114124992B (en) Method, device, equipment and system for monitoring running state of whole vehicle domain controller
CN111176164B (en) Method, device and medium for expanding multiple remote input and output modules
CN109116756B (en) Equipment building method and system
CN114356624B (en) Positioning method, system, terminal and storage medium of composite CRC error reporting information
CN112526949B (en) Module information setting method, acquisition method and device of industrial control system
CN115529295A (en) MAC address automatic programming method and system based on MES management

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