CN113703420A - Vehicle controller flashing method, flashing device, vehicle controller and storage medium - Google Patents

Vehicle controller flashing method, flashing device, vehicle controller and storage medium Download PDF

Info

Publication number
CN113703420A
CN113703420A CN202110972659.3A CN202110972659A CN113703420A CN 113703420 A CN113703420 A CN 113703420A CN 202110972659 A CN202110972659 A CN 202110972659A CN 113703420 A CN113703420 A CN 113703420A
Authority
CN
China
Prior art keywords
flash
vehicle
vehicle controller
flashing
control information
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
CN202110972659.3A
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202110972659.3A priority Critical patent/CN113703420A/en
Publication of CN113703420A publication Critical patent/CN113703420A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a vehicle controller flashing method, flashing equipment, a vehicle controller and a storage medium. The method comprises the following steps: acquiring a voice signal; inquiring a predetermined instruction set, and determining control information corresponding to the voice signal; and sending the control information to the corresponding vehicle controller. The method inputs the instruction by acquiring the voice signal, is simple to operate, does not need to manually operate the computer to control the ECU, and can avoid the problem of insufficient electric quantity of the computer; control information is further determined through comparison of the voice command and the command set so as to control the vehicle ECU to write by flash, the problem that files are wrongly selected to be written by flash or the ECU is wrongly written by flash can be avoided, one or more vehicle ECUs can be selectively controlled to write by flash, and therefore the writing efficiency and the writing accuracy of the vehicle ECU are effectively improved.

Description

Vehicle controller flashing method, flashing device, vehicle controller and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to a vehicle controller flashing method, flashing equipment, a vehicle controller and a storage medium.
Background
An Electronic Control Unit (ECU), also called a vehicle Electronic controller, is a core component of each vehicle Electronic Control system, and when a fault occurs in the vehicle Electronic Control system, many faults may be related to the ECU, so that the fault can be eliminated by writing the ECU to improve the performance of the vehicle.
The traditional vehicle ECU is flashed by a computer programming upper computer control software, generally, a file to be flashed needs to be led in and the like during flashing, and 220V alternating current is also needed to directly supply power to the computer. The conventional method for flashing the vehicle ECU has the problems that the electric quantity of a computer is insufficient in the process of flashing for a long time, no power supply in a vehicle can directly supply power to the computer, and when a large number of vehicle ECUs are flashed, the problems of mistakenly selecting and flashing files or mistakenly flashing the ECUs and the like occur, so that the working performance of the vehicle and the failure solving speed are influenced.
Disclosure of Invention
The embodiment of the invention provides a vehicle controller flashing method, a flashing device, a vehicle controller and a storage medium, which can avoid a flashing error and improve the flashing efficiency of the vehicle controller under the condition of solving the power supply problem.
In a first aspect, an embodiment of the present invention provides a vehicle controller flashing method, which is applied to a flashing device, where the flashing device is powered by a vehicle, and includes:
acquiring a voice signal;
inquiring a predetermined instruction set, and determining control information corresponding to the voice signal;
and sending the control information to the corresponding vehicle controller.
In a second aspect, an embodiment of the present invention provides a vehicle controller flashing method, which is applied to a flashing device that is powered by a vehicle, and includes:
acquiring interactive information input by a user operating the flash device;
determining control information corresponding to the interactive information;
and sending the control information to the corresponding vehicle controller.
In a third aspect, an embodiment of the present invention provides a vehicle controller flashing method, which is applied to a vehicle controller, and includes:
acquiring control information transmitted by a flash device, wherein the flash device is powered by a vehicle;
and based on the flash information corresponding to the control information, performing flash on the vehicle controller corresponding to the control information.
In a fourth aspect, an embodiment of the present invention further provides a flash device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the vehicle controller flashing method provided by the embodiment of the invention.
In a fifth aspect, an embodiment of the present invention further provides a vehicle controller, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the vehicle controller flashing method provided by the embodiment of the invention.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the vehicle controller flashing method provided by the embodiment of the present invention.
The embodiment of the invention provides a vehicle controller flashing method, a flashing device, a vehicle controller and a storage medium. The method inputs the instruction by acquiring the voice signal, is simple to operate, does not need to manually operate the computer to control the ECU, and can avoid the problem of insufficient electric quantity of the computer; control information is further determined through comparison of the voice command and the command set so as to control the vehicle ECU to write by flash, the problem that files are wrongly selected to be written by flash or the ECU is wrongly written by flash can be avoided, one or more vehicle ECUs can be selectively controlled to write by flash, and therefore the writing efficiency and the writing accuracy of the vehicle ECU are effectively improved.
Drawings
Fig. 1 is a schematic flowchart of a vehicle controller flashing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a vehicle controller flashing system according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a vehicle controller flashing method according to a second embodiment of the present invention;
fig. 4 is a schematic view of a display screen according to a second embodiment of the present invention;
fig. 5 is a schematic flowchart of a vehicle controller flashing method according to a third embodiment of the present invention;
FIG. 6 is a schematic flow chart illustrating a process of controlling a vehicle ECU to write by voice command according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a vehicle controller flashing device according to a fourth embodiment of the invention;
fig. 8 is a schematic structural diagram of a vehicle controller flashing device according to a fifth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a vehicle controller flash apparatus according to a sixth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a flash device according to a seventh embodiment of the present invention;
fig. 11 is a schematic structural diagram of a vehicle controller according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
The term "include" and variations thereof as used herein are intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used for distinguishing corresponding contents, and are not used for limiting the order or interdependence relationship.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
Example one
Fig. 1 is a schematic flowchart of a vehicle controller flashing method according to an embodiment of the present invention, where the method is applicable to a situation where a vehicle ECU is controlled to flash through voice input, and the method may be executed by a vehicle controller flashing apparatus, where the apparatus may be implemented by software and/or hardware and is generally integrated on a flashing device, and in this embodiment, the flashing device may be composed of a voice module and an industrial host, and the flashing device is powered by a vehicle.
As shown in fig. 1, a vehicle controller flashing method according to a first embodiment of the present invention includes the following steps:
and S110, acquiring a voice signal.
The voice signal may refer to a signal formed by sound waves emitted by a person, and the voice signal may be collected by various sensors having a signal collecting function, such as a sound sensor. The embodiment does not limit the collection mode of the voice signal, for example, the collection is performed by a voice module in the flash device.
In this embodiment, the acquired voice signal is sent by the user and can be collected by a sound sensor in the voice module.
Optionally, before acquiring the voice signal, the method further includes: acquiring a flash file selected by an upper computer or a display screen; acquiring a flash instruction corresponding to the flash file through a voice module; storing the corresponding relation between the flash file and the flash instruction to an instruction set; wherein one of the flash files corresponds to one of the vehicle controllers.
The flash file may be a binary file generated according to a host computer programming language for controlling the flash of the ECU. The flash file can be acquired through the software of the upper computer and also can be acquired through the display screen, and the display screen can be integrated on the flash equipment. Wherein the memory of the vehicle contains the flash file required by each ECU already stored in the vehicle ECU. The user can select any flash file through the display screen to establish the instruction set. The Flash file can be used for flashing the vehicle ECU, specifically, the Flash file can be written into a memory chip (Flash) of the ECU according to a certain Flash process, and then the ECU is flashed according to the Flash file. Wherein, Flash can be regarded as a memory of the ECU for storing data information of the Flash file written in the ECU.
The flash flow includes a pre-programming phase, a programming phase, and a post-programming phase.
The specific steps of the pre-programming stage are as follows: first reading ECU identification information (i.e., information identifying an ECU); then opening an extended session (session), which can be used to maintain the read ECU identification information; then disabling Diagnostic Trouble Code (DTC) storage, wherein if a car, i.e., vehicle, is detected as malfunctioning, the transmitter control system will store the DTC in memory for detection, and no Trouble diagnosis is needed during the pre-programming phase, thus disabling the DTC; finally, a program session is initiated, while non-diagnostic communications are disabled for normal completion of the handoff session.
The programming stage comprises the following specific steps: firstly, unlocking an ECU to be flashed; then erasing the original flash program in the ECU, so as to facilitate the input of a subsequent new program; and finally, downloading related application software, detecting an application program in the software, and programming.
The specific steps of the post-programming stage are as follows: firstly, resetting the ECU according to the software programmed in the programming stage, and starting the extended session to maintain the reset ECU information; then starting non-diagnostic communication for communication of the ECU; and finally, starting the DTC to diagnose the vehicle fault, and clearing the DTC after diagnosis so as to facilitate the next ECU writing.
The voice module comprises a voice signal acquisition unit (such as a sound sensor), a signal processing unit and a signal conversion unit. The voice signal acquisition unit can be used for acquiring voice signals sent by users. The signal processing unit may be configured to perform signal amplification, filtering, and other processing on the acquired voice signal, for example, the processing of the voice signal may be implemented by an amplifying circuit and a filtering circuit, which is not limited in this embodiment. The signal conversion unit can be used for converting the voice signal into the flash instruction, so that the corresponding relation between the flash instruction and the flash file can be conveniently established subsequently, and the ECU flash operation can be controlled by inputting the voice signal by a user. The specific technical means of conversion is not limited herein.
In this embodiment, before acquiring the voice signal, an instruction set needs to be established in advance through learning, and stored in the industrial personal computer for calling. The command set comprises corresponding relations between the flash files and the flash commands, wherein one flash command corresponds to one flash file, and one flash file corresponds to one vehicle ECU. The industrial host computer can be considered a ruggedized enhanced personal computer with important computer attributes and features such as having a computer CPU, hard disk, memory, peripherals and interfaces, and also having an operating system, control networks and protocols, computing power, and a friendly human-machine interface. In this embodiment, the industrial personal computer may be used for storing data, communicating and transmitting data, and the like, and may also be used for executing a flash operation of the vehicle ECU. Where the data includes, but is not limited to, instruction sets and control information.
An automobile includes a plurality of ECUs, each ECU having a corresponding flash file. The steps of obtaining the instruction set by learning are as follows: firstly, voice signals used for constructing an instruction set can be obtained for multiple times through a voice module according to the number and the types of the vehicle ECUs, and are converted into voice instructions, namely, flash instructions, wherein each voice instruction can control one ECU to flash; then storing the corresponding relation between the obtained voice commands and the corresponding flash files into a command set; and finally, storing the established instruction set into the industrial control host for calling. The method for acquiring the instruction set is simple in operation, and if the subsequent ECU which needs to be added exists, the voice instruction corresponding to the flash file required by the ECU can be directly added into the instruction set without repeatedly acquiring the instruction set.
And S120, inquiring a predetermined instruction set, and determining control information corresponding to the voice signal.
The predetermined instruction set may be considered as an instruction set established in advance before the voice signal is acquired, and the step may perform query of the instruction set by calling the instruction set stored in the industrial control host to determine the control information corresponding to the voice signal.
The control information may refer to information for controlling the ECU to write by flash, for example, the control information may be a flash file and corresponding ECU identification information, or may be information for identifying the flash file and corresponding ECU.
Illustratively, the specific steps of determining the control information corresponding to the voice signal are as follows: firstly, acquiring a voice signal and converting the voice signal into a voice instruction; then, calling an instruction set stored in the industrial control host, comparing the acquired voice instruction with the instruction set, and judging whether the voice instruction is valid (namely whether the voice instruction exists in the instruction set, namely whether the corresponding voice instruction can be found in the instruction set); and finally, if the voice instruction is valid, determining the control information corresponding to the voice instruction according to the instruction set, and if the voice instruction is invalid, not performing any processing and waiting for the next voice instruction. In this embodiment, the comparison between the voice command and the command set, and the data processing operations such as determination and storage of the control information are performed in the industrial personal computer.
And S130, sending the control information to the corresponding vehicle controller.
In this embodiment, the control information may be transmitted through a bus in the industrial personal computer, for example, the control information is sent to the corresponding vehicle Controller through a Controller Area Network (CAN) bus.
On the basis of the embodiment, the flash equipment consisting of the voice module and the industrial control host belongs to vehicle external equipment, and can be powered by an On-Board Diagnostics (OBD) without taking a computer for flash; meanwhile, the flash equipment can be connected with the vehicle ECU through the OBD to realize data communication. The vehicle ECU belongs to a device built in the vehicle, and may be supplied with power by an OBD.
Fig. 2 is a schematic structural diagram of a vehicle controller flashing system according to an embodiment of the present invention. As shown in fig. 2, firstly, the voice module collects and processes a user voice signal, generates a voice instruction, and transmits the voice instruction to the industrial control host; then, in the industrial control host, comparing the voice command with a pre-stored command set to determine control information corresponding to the voice signal; and finally, sending the control information to the corresponding one or more vehicle ECUs. The power module can be a built-in module of the vehicle, for example, OBD can be pointed, and the power module can simultaneously supply power to the voice module, the industrial personal computer and the vehicle ECU.
The vehicle controller flashing method provided by the embodiment of the invention comprises the steps of firstly obtaining a voice signal; then, inquiring a predetermined instruction set, and determining control information corresponding to the voice signal; and finally, sending the control information to the corresponding vehicle controller. The method inputs the instruction by acquiring the voice signal, is simple to operate, does not need to manually operate the computer to control the ECU, and can avoid the problems of insufficient electric quantity of the computer and the like; control information is further determined through comparison of the voice command and the command set so as to control the vehicle ECU to write by flash, the problem that files are wrongly selected to be written by flash or the ECU is wrongly written by flash can be avoided, one or more vehicle ECUs can be selectively controlled to write by flash, and therefore the writing efficiency and the writing accuracy of the vehicle ECU are effectively improved.
Example two
Fig. 3 is a schematic flowchart of a vehicle controller flashing method according to a second embodiment of the present invention, where the method is applicable to a situation where a display screen inputs and controls a vehicle ECU to flash, and the method can be executed by a vehicle controller flashing device, where the device can be implemented by software and/or hardware and is generally integrated on a flashing device, the flashing device is powered by a vehicle, in this embodiment, the flashing device is composed of a display screen, and the display screen belongs to an external device of the vehicle. It should be noted that technical details that are not described in detail in the present embodiment may be referred to any of the above embodiments.
As shown in fig. 3, a vehicle controller flashing method according to a second embodiment of the present invention includes the following steps:
and S210, acquiring the interactive information input by the user operating the flash equipment.
The flash device may refer to a display screen, and a user may input various operation information related to the ECU flash through the display screen.
Fig. 4 is a schematic diagram of a display screen according to a second embodiment of the present invention, as shown in fig. 4, the display screen includes eight display information controls, and a user can select a key that wants to view and input information through the display screen. The type of the vehicle can be selected through the vehicle type selection control; the ECU in each vehicle control system, including a vehicle body, a power system, a chassis, a gateway and the like, can be selected through the ECU type control, namely, the ECU is a set of the ECUs in each vehicle control system; one or more ECUs currently to be flashed may be selected via the ECU selection control. The Flash file type selection control comprises ECU memory drive software (Flash Driver) and Flash Application software (APP), wherein the Flash Driver can be used for erasing and writing operation of Flash of the ECU by executing a section of code; the flash file selection control comprises flash files with the suffixes of srec, hex or bin and the like corresponding to the ECUs. The progress of the vehicle ECU flash can be checked through the progress display control; the software version number of each ECU in the vehicle can be checked through the software serial number control; upgrading one or more ECUs may be selected by initiating an update of the controls.
It should be noted that, in this embodiment, the information contained in the display screen may be flexibly added or modified according to actual requirements, for example, the type of the ECU and the addition, deletion, or modification of the corresponding flash file, and the present embodiment does not limit this.
The interactive information may refer to operation information between the user and the display screen, for example, the user may select the ECU type and the corresponding flash file in the display screen to be considered as the interactive information input by the user operating the display screen.
Optionally, the interactive information is generated by selecting the brushing information displayed by the brushing device by the user, and the content displayed by the brushing device further includes at least one vehicle controller.
The flash device is a display screen, and the flash information can be regarded as various display information in the display screen, such as flash files, types of ECUs, or progress display.
The ECU type selection in the display screen includes at least one vehicle ECU that can be used for selected flashing of one or more ECUs.
And S220, determining control information corresponding to the interactive information.
The control information corresponding to the interactive information may also be considered as information such as the type of the ECU selected by the user through operating the display screen, the corresponding flash file, and the start of updating the ECU. The step can read the control information in the interactive information.
And S230, sending the control information to the corresponding vehicle controller.
In this embodiment, the display screen belongs to an external device of the vehicle, and power supply and data communication can be performed through a device such as an in-vehicle controller or an OBD, so as to transmit control information to a corresponding vehicle ECU. The determination of the corresponding vehicle ECU may be determined based on the vehicle type included in the control information.
The vehicle controller flashing method provided by the embodiment of the invention comprises the following steps of firstly, obtaining interactive information input by a user operating flashing equipment; then determining control information corresponding to the interactive information; and finally, sending the control information to the corresponding vehicle controller. According to the method, the control information is input in the mode of the display screen, the type, the flash file and the flash progress of the ECU can be checked while the flash of the vehicle ECU is controlled, the ECU is refreshed, and the like.
EXAMPLE III
Fig. 5 is a flowchart of a vehicle controller flashing method according to a third embodiment of the present invention, where the method is applicable to a situation where the vehicle ECU is controlled to flash, and the method may be executed by a vehicle controller flashing device, where the device may be implemented by software and/or hardware and is generally integrated on a vehicle controller. It should be noted that technical details that are not described in detail in the present embodiment may be referred to any of the above embodiments.
As shown in fig. 5, a vehicle controller flashing method provided in the third embodiment of the present invention includes the following steps:
s310, control information transmitted by the flash device is acquired, and the flash device is powered by a vehicle.
The flash equipment can be a voice module and an industrial control host, and is externally arranged on the vehicle; or a display screen, a device external to the vehicle; or the flash equipment can be composed of a voice module, an industrial control host and a display screen, so that the linkage control of voice and the display screen can be realized, and related information can be displayed through the display screen while voice control is carried out. The flash device may be powered by the vehicle, and different flash devices may have different power supply modes. Specifically, the control information transmitted by the flash device is acquired, and the control information transmitted by the flash device is received through the vehicle ECU.
The flash device may first determine the control information and then transmit the control information to the corresponding ECU. The means by which the different flash devices determine the control information is not limited. After the vehicle ECU acquires the control information, the ECU can be refreshed based on the control information.
And S320, based on the flash information corresponding to the control information, flashing the vehicle controller corresponding to the control information.
In this embodiment, the flash information may be considered as information required to complete the ECU flash, for example, the flash information may be a flash file; the control information may be a flash file or information identifying a flash file. The vehicle ECU corresponding to the control information may then be flashed based on the flash information corresponding to the control information, that is, based on the flash file.
Optionally, after obtaining the control information transmitted by the flash device, the method further includes: determining whether the vehicle currently meets a flash condition; if yes, executing the operation of flashing the vehicle controller corresponding to the control information based on the flashing information corresponding to the control information; wherein the flush condition is determined based on a power state and/or an engine state.
The flashing condition may be determined based on the power state and/or the engine state, that is, the flashing condition may be considered that the current vehicle state is normal, for example, the vehicle engine may be started normally, the vehicle may be shifted and turned normally, etc., or the vehicle power source is in a normal state with sufficient power.
Optionally, if the vehicle does not meet the brushing condition at present, the prompt is performed through the vehicle-mounted voice module or the sound-light alarm module.
The current brushing condition of the vehicle is not met, the current engine or power supply of the vehicle can be considered to be in an abnormal state, for example, the engine is flamed out when the engine of the vehicle is shifted, a steering wheel is shaken at a high speed, or the power supply is in a state of insufficient electric quantity or serious insufficiency, and the like, the brushing possibly injures a user or the vehicle, then the user can be prompted through the vehicle-mounted voice module or the sound and light alarm module, the brushing is stopped, the vehicle state is checked, and the vehicle is maintained in time.
Fig. 6 is a schematic flow chart illustrating a process of controlling the vehicle ECU to write by voice command according to a third embodiment of the present invention. As shown in fig. 6, the specific steps of controlling the vehicle ECU to write by voice command are as follows:
and S410, collecting a voice signal of the user and converting the voice signal into a voice instruction.
And S420, calling an instruction set stored in the industrial control host in advance.
S430, comparing the acquired voice command with a command set, and judging whether the voice command is effective or not; if yes, go to step S440, and if no, go back to step S410.
And S440, determining the flash file and the ECU corresponding to the acquired voice command according to the command set.
S450, judging whether the vehicle meets the writing condition at present, and if so, executing S460; if not, go to step S470.
And S460, performing the flash operation on the vehicle ECU corresponding to the flash file according to the flash file.
And S470, prompting the user of vehicle abnormity and prohibition of brush writing through the vehicle-mounted voice module or the sound-light alarm module.
On the basis of the above embodiment, the user may also determine the flash file and the corresponding ECU determined in S410 to S440 through the display screen.
According to the vehicle controller flashing method provided by the third embodiment of the invention, the control information transmitted by the flashing device is obtained, and the vehicle ECU corresponding to the control information is flashed on the basis of the flashing information corresponding to the control information, so that the operation is simple, the error rate is low, and the flashing efficiency and accuracy of the vehicle ECU are improved.
Example four
Fig. 7 is a schematic structural diagram of a vehicle controller flashing device according to a fourth embodiment of the present invention, where the device may be implemented by software and/or hardware. As shown in fig. 7, the apparatus includes: a first obtaining module 510, a first determining module 520, and a first transmitting module 530.
The first obtaining module 510 is configured to obtain a voice signal;
a first determining module 520, configured to query a predetermined instruction set and determine control information corresponding to the voice signal;
and a first sending module 530, configured to send the control information to the corresponding vehicle controller.
In this embodiment, the apparatus first obtains the voice signal through the first obtaining module 510, then queries a predetermined instruction set through the first determining module 520, determines the control information corresponding to the voice signal, and finally sends the control information to the corresponding vehicle controller through the first sending module 530. The device inputs instructions by acquiring voice signals, is simple to operate, does not need to manually operate a computer to control the ECU, and can avoid the problem of insufficient electric quantity of the computer; control information is further determined through comparison of the voice command and the command set so as to control the vehicle ECU to write by flash, the problem that files are wrongly selected to be written by flash or the ECU is wrongly written by flash can be avoided, one or more vehicle ECUs can be selectively controlled to write by flash, and therefore the writing efficiency and the writing accuracy of the vehicle ECU are effectively improved.
Optionally, the apparatus further comprises: the instruction set building module is used for acquiring the flash file selected by the upper computer or the display screen before acquiring the voice signal;
acquiring a flash instruction corresponding to the flash file through a voice module;
storing the corresponding relation between the flash file and the flash instruction to an instruction set;
wherein one of the flash files corresponds to one of the vehicle controllers.
The vehicle controller flashing device can execute the vehicle controller flashing method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 8 is a schematic structural diagram of a vehicle controller flashing device according to a fifth embodiment of the present invention, where the device may be implemented by software and/or hardware. As shown in fig. 8, the apparatus includes: a second obtaining module 610, a second determining module 620, and a second sending module 630.
The second obtaining module 610 is configured to obtain interaction information input by a user operating the flash device;
a second determining module 620, configured to determine control information corresponding to the interaction information;
and a second sending module 630, configured to send the control information to the corresponding vehicle controller.
In this embodiment, the apparatus first obtains the interaction information input by the user operating the flash device through the second obtaining module 610, then determines the control information corresponding to the interaction information through the second determining module 620, and finally sends the control information to the corresponding vehicle controller through the second sending module 630. The device inputs control information in a display screen mode, the type, the flash file and the flash progress of the ECU can be checked while the vehicle ECU is controlled to flash, and operations such as refreshing the ECU are carried out.
Optionally, in the apparatus, the interactive information is generated by selecting the brushing information displayed by the brushing device by the user, and the content displayed by the brushing device further includes at least one vehicle controller.
The vehicle controller flashing device can execute the vehicle controller flashing method provided by the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 9 is a schematic structural diagram of a vehicle controller flashing device according to a sixth embodiment of the present invention, where the device may be implemented by software and/or hardware. As shown in fig. 9, the apparatus includes: a third fetch module 710 and a flash module 720.
The third obtaining module 710 is configured to obtain control information transmitted by a flash device, where the flash device is powered by a vehicle;
and a flashing module 720, configured to flash the vehicle controller corresponding to the control information based on the flashing information corresponding to the control information.
In this embodiment, the apparatus acquires the control information transmitted by the flash device through the third acquisition module 710, performs flash on the vehicle controller corresponding to the control information based on the flash information corresponding to the control information through the flash module 720, and performs flash on the vehicle ECU by using the apparatus.
Optionally, the apparatus further comprises: the judging module is used for determining whether the vehicle meets the brushing condition at present after the control information transmitted by the brushing equipment is acquired;
if yes, executing the operation of flashing the vehicle controller corresponding to the control information based on the flashing information corresponding to the control information;
wherein the flush condition is determined based on a power state and/or an engine state.
Optionally, the apparatus further includes a prompt module, configured to:
and if the vehicle does not meet the brushing condition at present, prompting is carried out through the vehicle-mounted voice module or the sound-light alarm module.
The vehicle controller flashing device can execute the vehicle controller flashing method provided by the third embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 10 is a schematic structural diagram of a flash device according to a seventh embodiment of the present invention. As shown in fig. 10, a flash device according to a seventh embodiment of the present invention includes: one or more processors 41 and storage 42; the processor 41 in the flash device may be one or more, and one processor 41 is taken as an example in fig. 10; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the vehicle controller flashing method as described in the first or second embodiment of the invention.
The flash apparatus may further include: an input device 43 and an output device 44.
The processor 41, the storage device 42, the input device 43, and the output device 44 in the flash apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 10.
The storage device 42 in the flash apparatus is used as a computer-readable storage medium, and can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the vehicle controller flash method provided in the embodiment of the present invention (for example, the modules in the vehicle controller flash apparatus shown in fig. 7 include a first obtaining module 510, a first determining module 520, and a first sending module 530); or program instructions/modules corresponding to the vehicle controller flashing method provided in the second embodiment of the present invention (for example, modules in the vehicle controller flashing device shown in fig. 8 include a second obtaining module 610, a second determining module 620, and a second sending module 630). The processor 41 executes various functional applications and data processing of the flash device by executing software programs, instructions and modules stored in the storage device 42, that is, implements the vehicle controller flash method in the above-described method embodiment.
The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the flash device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 42 may further include memory located remotely from the processor 41, which may be connected to the flash device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 43 may be used to receive entered numerical or character information and to generate key signal inputs relating to user settings and function controls of the flash device. The output device 44 may include a display device such as a display screen.
And, when the one or more programs included in the above-described flash device are executed by the one or more processors 41, the programs perform the following operations: acquiring a voice signal; inquiring a predetermined instruction set, and determining control information corresponding to the voice signal; and sending the control information to the corresponding vehicle controller.
Alternatively, when the one or more programs included in the above-described flash device are executed by the one or more processors 41, the programs perform the following operations: acquiring interactive information input by a user operating the flash device; determining control information corresponding to the interactive information; and sending the control information to the corresponding vehicle controller.
Example eight
Fig. 11 is a schematic structural diagram of a vehicle controller according to an eighth embodiment of the present invention. As shown in fig. 11, a vehicle controller according to an eighth embodiment of the present invention includes: one or more processors 51 and storage 52; the number of the processors 51 in the vehicle controller may be one or more, and one processor 51 is taken as an example in fig. 11; storage 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the vehicle controller flashing method as described in the third embodiment of the present invention.
The vehicle controller may further include: an input device 53 and an output device 54.
The processor 51, the storage device 52, the input device 53, and the output device 54 in the vehicle controller may be connected by a bus or other means, and are exemplified by being connected by a bus in fig. 11.
The storage device 52 in the vehicle controller serves as a computer-readable storage medium and can be used for storing one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the vehicle controller flashing method provided in the third embodiment of the present invention (for example, the modules in the vehicle controller flashing device shown in fig. 9 include the third obtaining module 710 and the flashing module 720). The processor 51 executes various functional applications and data processing of the vehicle controller by executing software programs, instructions and modules stored in the storage device 52, that is, implements the vehicle controller flashing method in the above-described method embodiment.
The storage device 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the vehicle controller, and the like. Further, the storage 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage device 52 may further include memory located remotely from the processor 51, which may be connected to the vehicle controller via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 53 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the vehicle controller. The output device 54 may include a display device such as a display screen.
And, when one or more programs included in the above-mentioned vehicle controller are executed by the one or more processors 51, the programs perform the following operations: acquiring control information transmitted by a flash device, wherein the flash device is powered by a vehicle; and based on the flash information corresponding to the control information, performing flash on the vehicle controller corresponding to the control information.
Example nine
Ninth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, may be used to execute the vehicle controller flashing method provided in any embodiment of the present invention.
Optionally, the program, when executed by the processor, may be configured to perform a method for flashing a vehicle controller according to a first embodiment of the present invention, where the method includes: acquiring a voice signal; inquiring a predetermined instruction set, and determining control information corresponding to the voice signal; and sending the control information to the corresponding vehicle controller.
Optionally, when executed by the processor, the program may be configured to execute a method for flashing a vehicle controller according to a second embodiment of the present invention, where the method includes: acquiring interactive information input by a user operating the flash device; determining control information corresponding to the interactive information; and sending the control information to the corresponding vehicle controller.
Optionally, when executed by the processor, the program may be configured to execute a vehicle controller flashing method in a third embodiment of the present invention, where the method includes: acquiring control information transmitted by a flash device, wherein the flash device is powered by a vehicle; and based on the flash information corresponding to the control information, performing flash on the vehicle controller corresponding to the control information.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A vehicle controller flashing method is characterized by being applied to a flashing device which is powered by a vehicle, and the method comprises the following steps:
acquiring a voice signal;
inquiring a predetermined instruction set, and determining control information corresponding to the voice signal;
and sending the control information to the corresponding vehicle controller.
2. The method of claim 1, prior to acquiring the speech signal, further comprising:
acquiring a flash file selected by an upper computer or a display screen;
acquiring a flash instruction corresponding to the flash file through a voice module;
storing the corresponding relation between the flash file and the flash instruction to an instruction set;
wherein one of the flash files corresponds to one of the vehicle controllers.
3. A vehicle controller flashing method is applied to a flashing device which is powered by a vehicle, and comprises the following steps:
acquiring interactive information input by a user operating the flash device;
determining control information corresponding to the interactive information;
and sending the control information to the corresponding vehicle controller.
4. The method of claim 3, wherein the interaction information is generated by the user selecting the swipe information displayed by the swipe device, and wherein the content displayed by the swipe device further comprises at least one vehicle controller.
5. A vehicle controller flashing method is applied to a vehicle controller, and comprises the following steps:
acquiring control information transmitted by a flash device, wherein the flash device is powered by a vehicle;
and based on the flash information corresponding to the control information, performing flash on the vehicle controller corresponding to the control information.
6. The method of claim 5, after obtaining the control information transmitted by the flash device, further comprising:
determining whether the vehicle currently meets a flash condition;
if yes, executing the operation of flashing the vehicle controller corresponding to the control information based on the flashing information corresponding to the control information;
wherein the flush condition is determined based on a power state and/or an engine state.
7. The method of claim 6, further comprising:
and if the vehicle does not meet the brushing condition at present, prompting is carried out through the vehicle-mounted voice module or the sound-light alarm module.
8. An apparatus for flashing, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the vehicle controller flashing method of any of claims 1-4.
9. A vehicle controller, characterized by comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the vehicle controller flashing method of any of claims 5-6.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the vehicle controller flashing method as claimed in any one of claims 1-6.
CN202110972659.3A 2021-08-24 2021-08-24 Vehicle controller flashing method, flashing device, vehicle controller and storage medium Pending CN113703420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110972659.3A CN113703420A (en) 2021-08-24 2021-08-24 Vehicle controller flashing method, flashing device, vehicle controller and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110972659.3A CN113703420A (en) 2021-08-24 2021-08-24 Vehicle controller flashing method, flashing device, vehicle controller and storage medium

Publications (1)

Publication Number Publication Date
CN113703420A true CN113703420A (en) 2021-11-26

Family

ID=78654241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110972659.3A Pending CN113703420A (en) 2021-08-24 2021-08-24 Vehicle controller flashing method, flashing device, vehicle controller and storage medium

Country Status (1)

Country Link
CN (1) CN113703420A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114326689A (en) * 2022-01-07 2022-04-12 百度在线网络技术(北京)有限公司 Method, device and equipment for flashing firmware of vehicle and storage medium
CN115328815A (en) * 2022-10-14 2022-11-11 所托(山东)智能设备有限责任公司 Processing method, equipment and storage medium based on automobile test flash software

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345243A (en) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 Method and device for brushing vehicle electronic control unit program
CN106682519A (en) * 2017-01-04 2017-05-17 重庆长安汽车股份有限公司 Method and system for remotely flashing vehicle controller program
CN109189432A (en) * 2018-09-18 2019-01-11 深圳市元征科技股份有限公司 A kind of automobile ECU data write with a brush dipped in Chinese ink method and relevant device
CN111813076A (en) * 2020-06-23 2020-10-23 深圳市元征科技股份有限公司 Vehicle ECU (electronic control Unit) flashing method and device, vehicle ECU and storage medium
CN112114832A (en) * 2020-09-21 2020-12-22 华人运通(上海)云计算科技有限公司 Vehicle upgrade control method, terminal device, vehicle, and computer storage medium
CN112666927A (en) * 2020-12-28 2021-04-16 深圳市元征科技股份有限公司 Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN112764374A (en) * 2020-12-29 2021-05-07 江铃汽车股份有限公司 Vehicle control unit configuration flashing method and system
CN112883382A (en) * 2021-03-03 2021-06-01 一汽解放汽车有限公司 Vehicle flashing method, vehicle networking box, vehicle and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345243A (en) * 2013-06-27 2013-10-09 深圳市元征科技股份有限公司 Method and device for brushing vehicle electronic control unit program
CN106682519A (en) * 2017-01-04 2017-05-17 重庆长安汽车股份有限公司 Method and system for remotely flashing vehicle controller program
CN109189432A (en) * 2018-09-18 2019-01-11 深圳市元征科技股份有限公司 A kind of automobile ECU data write with a brush dipped in Chinese ink method and relevant device
CN111813076A (en) * 2020-06-23 2020-10-23 深圳市元征科技股份有限公司 Vehicle ECU (electronic control Unit) flashing method and device, vehicle ECU and storage medium
CN112114832A (en) * 2020-09-21 2020-12-22 华人运通(上海)云计算科技有限公司 Vehicle upgrade control method, terminal device, vehicle, and computer storage medium
CN112666927A (en) * 2020-12-28 2021-04-16 深圳市元征科技股份有限公司 Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN112764374A (en) * 2020-12-29 2021-05-07 江铃汽车股份有限公司 Vehicle control unit configuration flashing method and system
CN112883382A (en) * 2021-03-03 2021-06-01 一汽解放汽车有限公司 Vehicle flashing method, vehicle networking box, vehicle and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114326689A (en) * 2022-01-07 2022-04-12 百度在线网络技术(北京)有限公司 Method, device and equipment for flashing firmware of vehicle and storage medium
CN115328815A (en) * 2022-10-14 2022-11-11 所托(山东)智能设备有限责任公司 Processing method, equipment and storage medium based on automobile test flash software

Similar Documents

Publication Publication Date Title
CN110347412B (en) Electronic control unit firmware upgrade management method, device, equipment and storage medium
CN113703420A (en) Vehicle controller flashing method, flashing device, vehicle controller and storage medium
CN109164789B (en) Vehicle-mounted multimedia system for vehicle information diagnosis
CN102736615B (en) Vehicle failure diagnosis method
CN108407556B (en) Identification configuration method, device and terminal
CN108255152B (en) vehicle diagnosis method, diagnosis box and computer readable storage medium
CN108803577A (en) A kind of diagnostic method, host computer and slave computer
CN112990495A (en) Method, device and system for vehicle after-sale diagnosis and storage medium
CN102713858A (en) Online debugging system for information processing device and online debugging method
CN102033765B (en) BCM (Body Control Module) program upgrading method and vehicle-mounted electronic control system upgrading method
WO2022160816A1 (en) Data processing method and related device
CN107368061B (en) Self-diagnosis system and method for vehicle-mounted sound equipment
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN110667514B (en) Vehicle door unlocking method and device
CN113535793A (en) Vehicle information query method, vehicle-mounted remote information processor and remote writing platform
CN115733871A (en) Communication interaction method, device, equipment and storage medium
WO2022160745A1 (en) Network security function detection method and related device
US11538290B1 (en) Automated vehicle diagnostic navigation system and method
CN114924750A (en) Vehicle-mounted application software generation method, device, equipment and storage medium
CN112009465B (en) Control method, device and system for parking auxiliary radar, vehicle and medium
CN111352646B (en) MPU software upgrading method and upgrading system thereof
CN112124287B (en) EPB key fault identification method, device, equipment and medium
US11915534B1 (en) Vehicle diagnostics with intelligent communication interface
JP2003087174A (en) System for communicating between inside and outside of vehicle, and communication equipment in vehicle
CN111949004B (en) Electric tail gate matching method and device, terminal equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211126