CN114217836A - Software flashing method and device for air bag controller - Google Patents
Software flashing method and device for air bag controller Download PDFInfo
- Publication number
- CN114217836A CN114217836A CN202111641418.7A CN202111641418A CN114217836A CN 114217836 A CN114217836 A CN 114217836A CN 202111641418 A CN202111641418 A CN 202111641418A CN 114217836 A CN114217836 A CN 114217836A
- Authority
- CN
- China
- Prior art keywords
- calibration
- information
- vehicle
- target vehicle
- flashing
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Air Bags (AREA)
Abstract
The embodiment of the application provides a software flashing method for an air bag controller, which comprises the steps of obtaining a corresponding calibration flashing packet according to a vehicle identification number of a target vehicle and flashing the calibration flashing packet for realizing an air bag control function on the air bag controller; after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result; and displaying the matching result. In the application, the corresponding calibration flash package is acquired through the vehicle identification number of the target vehicle, so that the calibration flash package matched with the vehicle can be automatically acquired and flashed on the airbag controller, and after the flash is completed, the calibration flash package after the flash is completed can be matched with the target vehicle for verification, so that whether the calibration flash package flashed in the airbag control is matched with the target vehicle is determined, and therefore the accuracy of flash on the airbag controller is improved.
Description
Technical Field
The invention relates to the technical field of automobiles, in particular to a software flashing method and device for an air bag controller.
Background
With the rapid development of automobile safety technology, the requirements for the configuration of a passive safety system are higher and higher. Airbag controllers also play an increasingly important role as one of the components of a control module for a passive safety system of a vehicle. For the air bag controllers with the same hardware structure, corresponding control programs are written on the air bag controllers according to different vehicle types, and corresponding control functions of non-stop vehicle types are realized through the control programs. However, after the control program is updated, the airbag controller needs to be rewritten.
In the related art, a worker selects a corresponding control program and writes the control program to an airbag controller.
Because the control modules with the same hardware structure are required to be applied to vehicles of different vehicle types, corresponding control programs need to be written on the airbag controller according to the vehicle types, so that different control programs need to be written on the control modules with the same hardware structure, and therefore a worker cannot quickly identify the corresponding control programs needing to be written on the control modules from the hardware structure of the control modules, and errors easily occur in writing.
Disclosure of Invention
The embodiment of the application provides a software flashing method and device for an air bag controller, and the accuracy of flashing can be improved. The specific technical scheme is as follows:
the application provides an air bag controller software flashing method, which comprises the following steps:
acquiring a vehicle identification number of a target vehicle;
acquiring a calibration flash packet corresponding to the target vehicle according to the vehicle identification number, wherein the calibration flash packet is used for realizing the control function of the airbag;
performing flash on the air bag controller according to the calibration flash package;
after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result;
and displaying the matching result.
Optionally, the obtaining the calibration flash package corresponding to the target vehicle according to the vehicle identification number includes:
acquiring version information of a calibration flash package corresponding to the target vehicle from a first corresponding relation table of a remote service platform according to the vehicle identification number, wherein the first corresponding relation table indicating the corresponding relation between the vehicle identification number and the version information of the calibration flash package is stored in the remote service platform;
and acquiring the calibration flash packet corresponding to the version information according to the version information of the calibration flash packet.
Optionally, the determining whether the calibration flash packet is matched with the target vehicle includes:
acquiring calibration configuration information of the air bag controller and calibration vehicle type information of the target vehicle from the calibration flash package, wherein the calibration configuration information is used for representing software and hardware information of the air bag controller;
acquiring target configuration information corresponding to the target vehicle from a second corresponding relation table of a remote service platform according to the vehicle identification number of the target vehicle, wherein the remote service platform at least stores the second corresponding relation table indicating the corresponding relation between the vehicle identification number and the target configuration information;
judging whether the calibration configuration information is consistent with the target configuration information;
if the calibration configuration information is consistent with the target configuration information, acquiring a configuration frame sent by the target vehicle, wherein the configuration frame comprises: target vehicle type information;
judging whether the calibrated vehicle type information is consistent with the target vehicle type information;
and if so, determining that the calibration flash package is matched with the target vehicle.
Optionally, after the obtaining the vehicle identification number of the target vehicle, the method further includes:
judging whether the target vehicle needs to be written with a brush or not according to the vehicle identification number;
when the target vehicle needs to be refreshed, judging whether the airbag controller meets a refreshing condition, wherein the refreshing condition comprises at least one of the following items: the voltage of the vehicle is normal, the current speed of the vehicle is less than a preset value, and the airbag controller has no collision fault.
And when the airbag controller meets the brushing condition, starting to execute the step of acquiring the calibration brushing package corresponding to the target vehicle according to the vehicle identification number.
Optionally, the determining whether the target vehicle needs to be flashed according to the vehicle identification number includes:
acquiring assembly information of an airbag controller and flashing information of the airbag controller corresponding to the target vehicle from a third corresponding relation table of a remote service platform according to the vehicle identification code, wherein the remote service platform at least stores the third corresponding relation table indicating the corresponding relation among the vehicle identification number, the assembly information and the flashing information, the assembly information of the airbag controller is used for indicating whether the target vehicle is provided with the airbag controller, and the flashing information of the airbag controller is used for indicating whether the airbag controller needs to be flashed;
determining whether the target vehicle needs to be flashed according to the assembly information and the flash information.
The application provides an air bag controller software device of writing with a brush, the device includes:
the first acquisition module is used for acquiring the vehicle identification number of the target vehicle;
the second acquisition module is used for acquiring a calibration flash packet corresponding to the target vehicle according to the vehicle identification number, and the calibration flash packet is used for realizing the control function of the airbag;
the flashing module is used for flashing the airbag controller according to the calibration flashing packet;
the first judgment module is used for judging whether the calibration flash package is matched with the target vehicle and generating a corresponding matching result after the flash is finished;
and the display module is used for displaying the matching result.
Optionally, the second obtaining module includes:
the first obtaining sub-module is used for obtaining the version information of the calibration flash package corresponding to the target vehicle from a first corresponding relation table of a remote service platform according to the vehicle identification number, and the first corresponding relation table indicating the corresponding relation between the vehicle identification number and the version information of the calibration flash package is stored in the remote service platform;
and the first determining submodule is used for acquiring the calibration flash packet corresponding to the version information according to the version information of the calibration flash packet.
Optionally, the first determining module includes:
the second obtaining submodule is used for obtaining the calibration configuration information of the air bag controller and the calibration vehicle type information of the target vehicle from the calibration flash package, and the calibration configuration information is used for representing the software and hardware information of the air bag controller;
a third obtaining sub-module, configured to obtain, according to the vehicle identification number of the target vehicle, target configuration information corresponding to the target vehicle from a second correspondence table of a remote service platform, where the remote service platform at least stores the second correspondence table indicating a correspondence between the vehicle identification number and the target configuration information;
the first judgment submodule is used for judging whether the calibration configuration information is consistent with the target configuration information;
a fourth obtaining sub-module, configured to obtain a configuration frame sent by the target vehicle if the calibration configuration information is consistent with the target configuration information, where the configuration frame includes: target vehicle type information;
the second judgment submodule is used for judging whether the information of the calibrated vehicle type is consistent with the information of the target vehicle type;
and the second determination submodule is used for determining that the calibration flash packet is matched with the target vehicle if the calibration flash packet is consistent with the target vehicle.
Optionally, the apparatus further comprises:
the second judging module is used for judging whether the target vehicle needs to be written with a brush or not according to the vehicle identification number;
a third judging module, configured to judge whether the airbag controller meets a brushing condition when the target vehicle needs to be brushed, where the brushing condition includes at least one of: the voltage of the vehicle is normal, the current speed of the vehicle is less than a preset value, and the airbag controller has no collision fault.
And the execution module is used for starting to execute the step of acquiring the calibration flash package corresponding to the target vehicle according to the vehicle identification number when the airbag controller meets the flash condition.
Optionally, the second determining module includes:
a fifth obtaining submodule, configured to obtain, according to the vehicle identification code, assembly information of an airbag controller and flashing information of the airbag controller, where the assembly information of the airbag controller is used to indicate whether the target vehicle is equipped with the airbag controller, and the flashing information of the airbag controller is used to indicate whether the airbag controller needs to be flashed, where the assembly information of the airbag controller is stored in a third correspondence table of a remote service platform, where the third correspondence table indicates a correspondence between a vehicle identification number, the assembly information, and the flashing information of the airbag controller is stored in the third correspondence table;
and the third determining submodule is used for determining whether the target vehicle needs to be subjected to flash writing according to the assembling information and the flash writing information.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the embodiment of the application provides a software flashing method for an air bag controller, which comprises the steps of obtaining a corresponding calibration flashing packet according to a vehicle identification number of a target vehicle and flashing the calibration flashing packet for realizing an air bag control function on the air bag controller; after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result; and displaying the matching result. In the application, the corresponding calibration flash package is acquired through the vehicle identification number of the target vehicle, so that the calibration flash package matched with the vehicle can be automatically acquired and flashed on the airbag controller, and after the flash is completed, the calibration flash package after the flash is completed can be matched with the target vehicle for verification, so that whether the calibration flash package flashed in the airbag control is matched with the target vehicle is determined, and therefore the accuracy of flash on the airbag controller is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 creative efforts.
FIG. 1 is a schematic diagram illustrating an implementation environment involved in a software flashing method for an airbag controller according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a software flashing method of an airbag controller according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating another method of software flashing of an airbag controller in accordance with an exemplary embodiment;
FIG. 4 is a flowchart illustrating a method for determining whether a calibration flash package matches a target vehicle in accordance with an exemplary embodiment;
fig. 5 is a block diagram illustrating a software flashing arrangement of an airbag controller according to an exemplary embodiment.
Detailed Description
Unless defined otherwise, all technical terms used in the examples of the present invention have the same meaning as commonly understood by one of ordinary skill in the art. In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram illustrating an implementation environment related to a control method of a vehicle according to an exemplary embodiment, and as shown in fig. 1, the implementation environment may include: the system comprises a target vehicle 110, a target terminal 120, a file transfer protocol system 130 and a remote service platform 140, wherein the target terminal can be a mobile terminal such as a mobile phone and a smart wearable device. The target vehicle 110 and the remote service platform or the file transfer protocol system may be connected in a wireless manner, and the target vehicle 110 and the target terminal 120 may be connected in a wired or wireless manner.
The target terminal 120 is configured to flash the acquired calibration flash packet onto an airbag controller of the target vehicle 110, determine whether the calibration flash packet is matched with the target vehicle, and generate a corresponding matching result; and displaying the matching result.
The file transfer protocol system 130 is configured to store a plurality of calibration flash packets.
The remote service platform 140 is configured to store a first correspondence table of correspondence between the vehicle identification number and the version information of the calibration flash package, a second correspondence table of correspondence between the vehicle identification number and the target configuration information, and a third correspondence table of correspondence between the vehicle identification number, the assembly information, and the flash information.
FIG. 2 is a flow chart illustrating a software flashing method of an airbag controller according to an exemplary embodiment. As shown in fig. 2, the method comprises:
in step S201, a vehicle identification number of the target vehicle is acquired.
And step S202, acquiring a calibration flash packet corresponding to the target vehicle according to the vehicle identification number, wherein the calibration flash packet is used for realizing the control function of the airbag.
And step S203, performing flash on the air bag controller according to the calibration flash package.
And step S204, after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result.
And step S205, displaying the matching result.
The embodiment of the application provides a software flashing method for an air bag controller, which comprises the steps of obtaining a corresponding calibration flashing packet according to a vehicle identification number of a target vehicle and flashing the calibration flashing packet for realizing an air bag control function on the air bag controller; after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result; and displaying the matching result. In the application, the calibration flash package after flash is matched and verified with the target vehicle, so that whether the calibration flash package flashed to the airbag control is correct or not is determined, and therefore accuracy of flash to the airbag controller is improved.
Optionally, obtaining the calibration flash package corresponding to the target vehicle according to the vehicle identification number includes:
acquiring version information of a calibration flash packet corresponding to a target vehicle from a first corresponding relation table of a remote service platform according to the vehicle identification number, wherein the first corresponding relation table indicating the corresponding relation between the vehicle identification number and the version information of the calibration flash packet is stored in the remote service platform;
and acquiring the calibration flash packet corresponding to the version information according to the version information of the calibration flash packet.
Optionally, determining whether the calibration flash package is matched with the target vehicle includes:
acquiring calibration configuration information of the air bag controller and calibration vehicle type information of a target vehicle from the calibration flash package, wherein the calibration configuration information is used for representing software and hardware information of the air bag controller;
acquiring target configuration information corresponding to the target vehicle from a second corresponding relation table of the remote service platform according to the vehicle identification number of the target vehicle, wherein the second corresponding relation table indicating the corresponding relation between the vehicle identification number and the target configuration information is at least stored in the remote service platform;
judging whether the calibration configuration information is consistent with the target configuration information;
if the calibration configuration information is consistent with the target configuration information, acquiring a configuration frame sent by the target vehicle, wherein the configuration frame comprises: target vehicle type information;
judging whether the information of the calibrated vehicle type is consistent with the information of the target vehicle type;
and if so, determining that the calibration flash package is matched with the target vehicle.
Optionally, after obtaining the vehicle identification number of the target vehicle, the method further includes:
judging whether the target vehicle needs to be written with a brush or not according to the vehicle identification number;
when the target vehicle needs to be subjected to the flash writing, judging whether the airbag controller meets the flash writing condition, wherein the flash writing condition comprises at least one of the following items: the voltage of the vehicle is normal, the current speed of the vehicle is less than a preset value, and the airbag controller has no collision fault.
And when the airbag controller meets the brushing condition, starting to execute the step of acquiring the calibration brushing package corresponding to the target vehicle according to the vehicle identification number.
Optionally, judging whether the target vehicle needs to be written by a flash according to the vehicle identification number includes:
acquiring assembly information of an airbag controller and flashing information of the airbag controller corresponding to a target vehicle from a third corresponding relation table of a remote service platform according to the vehicle identification code, wherein the remote service platform at least stores the third corresponding relation table indicating the corresponding relation among the vehicle identification number, the assembly information and the flashing information; the assembly information of the airbag controller is used for indicating whether the target vehicle is assembled with the airbag controller, and the flash information of the airbag controller is used for indicating whether the airbag controller needs to be flashed;
and determining whether the target vehicle needs to be flashed according to the assembly information and the flash information.
FIG. 3 is a flow chart illustrating an airbag controller software flashing method according to an exemplary embodiment. As shown in fig. 3, the method is applied to a target terminal, and includes:
in step S301, a vehicle identification number of a target vehicle is acquired.
The vehicle identification number is used for identifying a target vehicle, and can be identified on a vehicle sheet metal below a vehicle card and a windshield.
In the application, the vehicle identification number corresponding to the target vehicle is acquired by the target terminal in a mode of scanning the vehicle identification number.
And step S302, judging whether the target vehicle needs to be refreshed or not according to the vehicle identification number, executing step S303 when the target vehicle needs to be refreshed, and executing step S309 when the target vehicle does not need to be refreshed.
In this application, according to the vehicle identification number, judge whether the target vehicle needs to write by brush, include: and acquiring the assembly information of the airbag controller and the flash information of the airbag controller corresponding to the target vehicle from a third corresponding relation table of the remote service platform according to the vehicle identification code, and determining whether the target vehicle needs to be flashed according to the assembly information and the flash information.
The remote service platform at least stores a third corresponding relation table indicating the corresponding relation among the vehicle identification number, the assembly information and the brushing information, the assembly information of the airbag controller is used for indicating whether a target vehicle is provided with the airbag controller, and the brushing information of the airbag controller is used for indicating whether the airbag controller needs to be brushed.
The remote service platform may be a manufacturing execution system that is information for maintaining the vehicle.
In the application, when the target vehicle is equipped with the airbag controller and the airbag controller needs to be flashed, it is determined that the target vehicle needs to be flashed; when the target vehicle is not equipped with an airbag controller or the airbag controller does not need to be flashed, it is determined that the target vehicle does not need to be flashed.
And step S303, judging whether the air bag controller meets the writing condition, executing step S304 when the air bag controller meets the writing condition, and executing step S309 when the air bag controller meets the non-writing condition.
Wherein the flashing condition comprises at least one of: the voltage of the vehicle is normal, the current speed of the vehicle is less than a preset value, and the airbag controller has no collision fault.
In the application, the airbag controller acquires the voltage of the vehicle and sends the voltage to the target terminal, so that the target terminal acquires the voltage of the vehicle.
The current vehicle speed is obtained in real time through a vehicle speed sensor installed on the vehicle and is stored in a vehicle controller, and the target terminal obtains the current vehicle speed from the vehicle controller.
The preset value can be set according to actual conditions. For example: the preset value may be 5 km/h.
In the application, acceleration sensors are respectively installed on a metal plate at the lower part of a B column of a vehicle and an air bag controller, the acceleration of the vehicle is obtained through the acceleration sensors, the obtained acceleration is uploaded to the air bag controller, a fault code corresponding to the vehicle is determined in a mode that whether the obtained acceleration value is larger than a preset value or not is judged through the air bag controller, and the fault code is stored, so that a target terminal obtains the fault code from the vehicle controller, and whether the air bag controller has collision faults or not can be determined through the fault code.
The target terminal can store the corresponding relation between the indication fault code and the fault information, and the corresponding fault information can be obtained through the acquired fault code, so that whether the airbag controller has collision fault or not can be determined through the fault information.
It should be noted that, when the voltage of the target vehicle is abnormal and the airbag controller has a collision fault, the airbag warning lamp on the combination meter is turned on, and a fault code corresponding to the collision fault is stored. However, since the airbag warning lamp only warns of the current fault and does not warn of the historical fault, when the historical fault information is stored in the airbag controller, the historical fault information needs to be cleared before the vehicle leaves the factory in order to ensure that the fault information is synchronized with the warning of the airbag warning lamp.
And step S304, acquiring the version information of the calibration flash package corresponding to the target vehicle from the first corresponding relation table of the remote service platform according to the vehicle identification number.
The remote service platform is provided with a first corresponding relation table which indicates the corresponding relation between the vehicle identification number and the version information of the calibration flash package.
It should be noted that, because the vehicle type information is different, it is necessary to implement a corresponding control function according to the vehicle type information, and thus, the software that the airbag controllers corresponding to different vehicles need to be written with a flash is different.
In the application, a worker develops corresponding calibration flash packages for different vehicle type information, the developed calibration flash packages corresponding to the different vehicle type information are uploaded to a whole vehicle data management system, data are issued to the calibration flash packages, and after the data are successfully issued, the calibration flash packages are automatically downloaded to a file transfer protocol system by the whole vehicle data management system.
It should be noted that, after the data is successfully published, the data can only be downloaded and cannot be modified.
In order to summarize the data, the entire vehicle data management system downloads a plurality of calibration flash packages into a corresponding document of the file transfer protocol system, where the document is used for storing a document related to the airbag controller, and the document may be, for example, the calibration flash package corresponding to the airbag controller. In a possible implementation manner, downloading the calibration flash package to a corresponding document of the file transfer protocol system may be implemented in the following manner: and analyzing the name of the calibration flash packet, and storing the calibration flash packet into a document containing the name of the calibration flash packet.
Step S305, obtaining the calibration flash packet corresponding to the version information according to the version information of the calibration flash packet.
In the present application, the calibration flash package is used to implement the control function for the airbag.
When a plurality of calibration flash packets are stored in the file transfer protocol system in advance, each calibration flash packet has corresponding version information, and the target terminal can find the corresponding calibration flash packet and acquire the calibration flash packet through the version information.
And step S306, performing flash on the air bag controller according to the calibration flash package.
The flash of the air bag controller can be software which is installed with the control function of the air bag in the air bag controller, and the installed software on the air bag controller can be upgraded.
In the application, before the flash packet flash is performed, the airbag controller completes the configuration of a configuration dictionary, and the configuration dictionary is used for configuring information of high, medium and low configuration in the same vehicle type. Thus, in the present application, only the corresponding firing algorithm needs to be written over the airbag controller.
In the application, the calibration flash package comprises a driver for performing flash and a detonation algorithm for airbag blasting, the target terminal can send the calibration flash package to the airbag controller, and the detonation algorithm in the calibration flash package is flashed to the corresponding airbag controller through the driver in the airbag controller.
And step S307, after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result.
In the present application, as shown in FIG. 4, determining whether the calibration flash package matches the target vehicle includes the following steps S3071-S3077.
Step S3071, calibration configuration information of the air bag controller and calibration vehicle type information of the target vehicle are obtained from the calibration flash package, and the calibration configuration information is used for representing software and hardware information of the air bag controller.
It should be noted that the calibration configuration information and the calibration vehicle type information in the calibration flash package are written into the calibration flash package when the worker develops the calibration flash package.
Wherein, demarcate the configuration information including: hardware information of the airbag controller, software information of the airbag controller and part numbers of the airbag controller, wherein the part numbers of the airbag controller are used for identifying the controller configured with corresponding configuration information of high, medium and low configurations.
In this application, the calibration vehicle type information is used for identifying different vehicles, and the calibration vehicle type information includes: the method comprises the following steps of calibrating the type of a vehicle and the type of the vehicle, wherein the calibrating of the type of the vehicle comprises the following steps: the method comprises the steps of calibrating the type of an electric vehicle and the type of a fuel vehicle, wherein the type of the calibrated vehicle is used for indicating which name the vehicle is.
The calibration flash packages corresponding to vehicles of the same model and different vehicle types are different.
Step S3072, according to the vehicle identification number of the target vehicle, target configuration information corresponding to the target vehicle is obtained from the second corresponding relation table of the remote service platform.
The remote service platform at least stores a second corresponding relation table indicating the corresponding relation between the vehicle identification number and the target configuration information.
The target configuration information may include: the target hardware information of the airbag controller, the target software information of the airbag controller and the target part number of the airbag controller, wherein the target part number of the airbag controller is used for identifying the controller configured with the corresponding configuration information of high, medium and low configuration.
In the present application, after the vehicle identification number of the target vehicle is obtained, the corresponding target configuration information may be found through the second correspondence table.
Step S3073, determining whether the calibration configuration information is consistent with the target configuration information, if so, executing step S3074, and if not, executing step S3077.
In the present application, when determining whether the calibration configuration information is consistent with the target configuration information, it is necessary to compare information included in the calibration configuration information with information included in corresponding target configuration information, respectively, and when all comparison results are consistent, it is determined that the calibration configuration information is consistent with the target configuration information.
For example: and comparing the calibration hardware information with the target hardware information, comparing the calibration software information with the target software information, and comparing the calibration part number with the target part number, and when the comparison results are consistent, determining that the calibration configuration information is consistent with the target configuration information.
Step S3074, a configuration frame sent by the target vehicle is acquired.
Wherein the configuration frame includes: target vehicle type information, the target vehicle type information includes: a target vehicle type and a model of the target vehicle, the target vehicle type comprising: the type of the target electric vehicle and the type of the target fuel vehicle, and the type of the target vehicle is used for indicating which name is the vehicle.
In the present application, the content of the configuration frame is preset by the operator according to the information of the vehicle to be configured. After the vehicle control unit is powered on, the configuration frame is periodically sent, and after the target vehicle is completely written, the target vehicle can obtain the configuration frame sent by the vehicle control unit, so that the target vehicle type information in the configuration frame is obtained.
Other information may be provided in the configuration frame, and the content included in the configuration frame may be set according to actual circumstances. In an embodiment of the present application, the configuration frame may include: the number of the air bags is obtained, so that the number of the air bags in the configuration frame is obtained, and then the number of the air bags required to be configured is determined according to the data of the air bags.
Step S3075, judging whether the information of the calibrated vehicle type is consistent with the information of the target vehicle type; if yes, step S3076 is executed, and if not, step S3077 is executed.
In the application, when judging whether the calibrated vehicle type information is consistent with the target vehicle type information, the information contained in the calibrated vehicle type information needs to be respectively compared with the information contained in the corresponding target vehicle type information, and when all comparison results are consistent, it is determined that the calibrated vehicle type information is consistent with the target vehicle type information.
For example: and comparing the type information of the calibrated vehicle with the type information of the target vehicle, and comparing the type of the calibrated vehicle with the type of the target vehicle, and when the comparison results are consistent, determining that the type information of the calibrated vehicle is consistent with the type information of the target vehicle.
And step S3076, determining that the calibration flash package is matched with the target vehicle.
In the present application, when the calibration configuration information is consistent with the target configuration information and the calibration vehicle type information is consistent with the target vehicle type information, the calibration flash package may be considered to be matched with the target vehicle.
And when the calibration configuration information is inconsistent with the target configuration information or the calibration vehicle type information is inconsistent with the target vehicle type information, determining that the calibration flash package is not matched with the target vehicle.
And step S3077, determining that the calibration flash package is not matched with the target vehicle.
Step S308, displaying the matching result.
In the application, when the calibration configuration information is inconsistent with the target configuration information or the calibration vehicle type information is inconsistent with the target vehicle type information, a matching result that the calibration flash package is not matched with the target vehicle is displayed; and when the calibration configuration information is consistent with the target configuration information and the calibration vehicle type information is consistent with the target vehicle type information, displaying a matching result of the calibration flash package matched with the target vehicle.
In order to distinguish whether the calibration configuration information is inconsistent with the target configuration information or the calibration vehicle type information is inconsistent with the target vehicle type information, the display matching results are different, for example: when the calibration configuration information is inconsistent with the target configuration information, displaying a matching result of 'failure in flash, unmatched versions of the calibration flash packets'; and when the calibrated vehicle type information is inconsistent with the target vehicle type information, displaying a matching result of mismatching the calibrated writing packet and the vehicle type information.
Step S309 ends.
The embodiment of the application provides a software flashing method for an air bag controller, which comprises the steps of obtaining a corresponding calibration flashing packet according to a vehicle identification number of a target vehicle and flashing the calibration flashing packet for realizing an air bag control function on the air bag controller; after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result; and displaying the matching result. In the application, the corresponding calibration flash package is acquired through the vehicle identification number of the target vehicle, so that the calibration flash package matched with the vehicle can be automatically acquired and flashed on the airbag controller, and after the flash is completed, the calibration flash package after the flash is completed can be matched with the target vehicle for verification, so that whether the calibration flash package flashed in the airbag control is matched with the target vehicle is determined, and therefore the accuracy of flash on the airbag controller is improved.
Fig. 5 is a block diagram illustrating a software flashing apparatus of an airbag controller according to an exemplary embodiment, as shown in fig. 5, the apparatus including:
a first obtaining module 501, configured to obtain a vehicle identification number of a target vehicle;
a second obtaining module 502, configured to obtain, according to the vehicle identification number, a calibration flash package corresponding to the target vehicle, where the calibration flash package is used to implement a control function on the airbag;
the flashing module 503 is used for flashing the airbag controller according to the calibration flashing packet;
the first judgment module 504 is configured to judge whether the calibration flash package is matched with the target vehicle and generate a corresponding matching result after the flash is completed;
and a display module 505 for displaying the matching result.
Optionally, the second obtaining module includes:
the first obtaining sub-module is used for obtaining the version information of the calibration flash package corresponding to the target vehicle from a first corresponding relation table of the remote service platform according to the vehicle identification number, and the first corresponding relation table indicating the corresponding relation between the vehicle identification number and the version information of the calibration flash package is stored in the remote service platform;
and the first determining submodule is used for acquiring the calibration flash packet corresponding to the version information according to the version information of the calibration flash packet.
Optionally, the first determining module 504 includes:
the second acquisition submodule is used for acquiring calibration configuration information of the air bag controller and calibration vehicle type information of a target vehicle from the calibration flash package, and the calibration configuration information is used for expressing software and hardware information of the air bag controller;
the third obtaining submodule is used for obtaining target configuration information corresponding to the target vehicle from a second corresponding relation table of the remote service platform according to the vehicle identification number of the target vehicle, and the remote service platform at least stores a second corresponding relation table indicating the corresponding relation between the vehicle identification number and the target configuration information;
the first judgment submodule is used for judging whether the calibration configuration information is consistent with the target configuration information;
a fourth obtaining sub-module, configured to obtain a configuration frame sent by the target vehicle if the calibration configuration information is consistent with the target configuration information, where the configuration frame includes: target vehicle type information;
the second judgment submodule is used for judging whether the information of the calibrated vehicle type is consistent with the information of the target vehicle type;
and the second determination submodule is used for determining that the calibration flash package is matched with the target vehicle if the calibration flash package is consistent with the target vehicle.
Optionally, the apparatus further comprises:
the second judgment module is used for judging whether the target vehicle needs to be written with a brush or not according to the vehicle identification number;
the third judging module is used for judging whether the airbag controller meets a brushing condition when the target vehicle needs to be brushed, and the brushing condition comprises at least one of the following items: the voltage of the vehicle is normal, the current speed of the vehicle is less than a preset value, and the airbag controller has no collision fault.
And the execution module is used for starting to execute the step of acquiring the calibration flash package corresponding to the target vehicle according to the vehicle identification number when the airbag controller meets the flash condition.
Optionally, the second determining module includes:
the fifth obtaining submodule is used for obtaining the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from a third corresponding relation table of the remote service platform according to the vehicle identification code, wherein the remote service platform at least stores the third corresponding relation table indicating the corresponding relation among the vehicle identification number, the assembly information and the flashing information, the assembly information of the airbag controller is used for indicating whether the target vehicle is provided with the airbag controller, and the flashing information of the airbag controller is used for indicating whether the airbag controller needs to be flashed;
and the third determining submodule is used for determining whether the target vehicle needs to be written with a brush according to the assembly information and the brush information.
The embodiment of the application provides a software flashing method for an air bag controller, which comprises the steps of obtaining a corresponding calibration flashing packet according to a vehicle identification number of a target vehicle and flashing the calibration flashing packet for realizing an air bag control function on the air bag controller; after the flashing is finished, judging whether the calibration flashing packet is matched with the target vehicle or not and generating a corresponding matching result; and displaying the matching result. In the application, the corresponding calibration flash package is acquired through the vehicle identification number of the target vehicle, so that the calibration flash package matched with the vehicle can be automatically acquired and flashed on the airbag controller, and after the flash is completed, the calibration flash package after the flash is completed can be matched with the target vehicle for verification, so that whether the calibration flash package flashed in the airbag control is matched with the target vehicle is determined, and therefore the accuracy of flash on the airbag controller is improved.
It should be noted that: the airbag controller software flashing device provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical application, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the air bag controller software flashing device provided by the above embodiment and the air bag controller software flashing method embodiment belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiment and is not described again.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111641418.7A CN114217836B (en) | 2021-12-29 | 2021-12-29 | Software flashing method and device for airbag controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111641418.7A CN114217836B (en) | 2021-12-29 | 2021-12-29 | Software flashing method and device for airbag controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114217836A true CN114217836A (en) | 2022-03-22 |
| CN114217836B CN114217836B (en) | 2025-07-01 |
Family
ID=80706754
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111641418.7A Active CN114217836B (en) | 2021-12-29 | 2021-12-29 | Software flashing method and device for airbag controller |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114217836B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115080085A (en) * | 2022-06-24 | 2022-09-20 | 东风商用车有限公司 | A method and system for solving EOL calibration in OEM |
| CN115408034A (en) * | 2022-10-09 | 2022-11-29 | 一汽解放汽车有限公司 | Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium |
| CN115826561A (en) * | 2022-12-07 | 2023-03-21 | 东风柳州汽车有限公司 | A method and device for brushing and writing automobile EPB parameters |
| CN116560698A (en) * | 2023-07-06 | 2023-08-08 | 浙江春风动力股份有限公司 | Online automatic brushing method for flexible intelligent production line of motorcycle |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104615058A (en) * | 2015-02-05 | 2015-05-13 | 桂凌云 | Brushing and writing system of vehicle-mounted chip and brushing and writing method thereof |
| CN105718288A (en) * | 2016-01-21 | 2016-06-29 | 北京新能源汽车股份有限公司 | Program flashing method, device, system and terminal of automobile controller |
| US20180189685A1 (en) * | 2017-01-04 | 2018-07-05 | GM Global Technology Operations LLC | System and method to identify a vehicle fiducial marker |
| CN111679647A (en) * | 2020-05-06 | 2020-09-18 | 一汽奔腾轿车有限公司 | A flashing system and flashing method for automatically matching calibration data based on model code |
| CN113031974A (en) * | 2021-03-18 | 2021-06-25 | 重庆青山工业有限责任公司 | Software flashing method for transmission control unit |
| JPWO2021215188A1 (en) * | 2020-04-21 | 2021-10-28 |
-
2021
- 2021-12-29 CN CN202111641418.7A patent/CN114217836B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104615058A (en) * | 2015-02-05 | 2015-05-13 | 桂凌云 | Brushing and writing system of vehicle-mounted chip and brushing and writing method thereof |
| CN105718288A (en) * | 2016-01-21 | 2016-06-29 | 北京新能源汽车股份有限公司 | Program flashing method, device, system and terminal of automobile controller |
| US20180189685A1 (en) * | 2017-01-04 | 2018-07-05 | GM Global Technology Operations LLC | System and method to identify a vehicle fiducial marker |
| JPWO2021215188A1 (en) * | 2020-04-21 | 2021-10-28 | ||
| CN111679647A (en) * | 2020-05-06 | 2020-09-18 | 一汽奔腾轿车有限公司 | A flashing system and flashing method for automatically matching calibration data based on model code |
| CN113031974A (en) * | 2021-03-18 | 2021-06-25 | 重庆青山工业有限责任公司 | Software flashing method for transmission control unit |
Non-Patent Citations (2)
| Title |
|---|
| 廖凤鸣;沈磊;: "轻型客车正面安全气囊试验矩阵确定方法", 轻型汽车技术, no. 09, 15 September 2011 (2011-09-15) * |
| 黄万众;胡建博;靳玉;: "UDS诊断服务在气囊控制单元中的应用", 汽车实用技术, no. 05, 15 March 2018 (2018-03-15) * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115080085A (en) * | 2022-06-24 | 2022-09-20 | 东风商用车有限公司 | A method and system for solving EOL calibration in OEM |
| CN115408034A (en) * | 2022-10-09 | 2022-11-29 | 一汽解放汽车有限公司 | Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium |
| CN115826561A (en) * | 2022-12-07 | 2023-03-21 | 东风柳州汽车有限公司 | A method and device for brushing and writing automobile EPB parameters |
| CN116560698A (en) * | 2023-07-06 | 2023-08-08 | 浙江春风动力股份有限公司 | Online automatic brushing method for flexible intelligent production line of motorcycle |
| CN116560698B (en) * | 2023-07-06 | 2024-03-08 | 浙江春风动力股份有限公司 | Online automatic brushing method for flexible intelligent production line of motorcycle |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114217836B (en) | 2025-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114217836A (en) | Software flashing method and device for air bag controller | |
| CN102043680B (en) | Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program | |
| US7987028B2 (en) | Method and apparatus for reading and erasing diagnostic trouble codes from a vehicle | |
| CN108132795B (en) | Software updating method and device of electronic control unit | |
| US12051286B2 (en) | Method and system for providing scanner jobs on diagnostic tool | |
| US20030078701A1 (en) | System for installing control program in electronic control unit mounted on automotive vehicle | |
| CN111190629B (en) | Embedded terminal upgrading software package and analysis method thereof | |
| JP7063853B2 (en) | Software updater, server device, software update method, and program | |
| McCord | Automotive Diagnostic Systems: Understanding OBD I and OBD II | |
| CN113011852A (en) | Vehicle maintenance reminder method, device, in-vehicle equipment and storage medium | |
| WO2020154030A1 (en) | Method and system for providing scanner jobs on diagnostic tool | |
| JP7064414B2 (en) | Failure diagnosis device | |
| JP7063854B2 (en) | Software updater, server device, software update method, and program | |
| CN202110528U (en) | ECU (electrical conversion unit) embedded type software refreshing and downloading programming system | |
| Harris | Embedded software for automotive applications | |
| CN111775698B (en) | Vehicle mileage information processing method and device and automobile | |
| CN114153650B (en) | Safety verification method and system for intelligent cabin display function | |
| CN115451997B (en) | Mileage detection method, device, electronic equipment and computer storage medium | |
| US12416648B2 (en) | Apparatus for correcting tolerance of indicated speed, system having the same, and method thereof | |
| US20220342660A1 (en) | Center device and in-vehicle electronic control device | |
| CN212624094U (en) | Information feedback device, system, equipment and computer program product based on vehicle identification number | |
| CN113094091A (en) | Method and system for realizing management and control of software versions of all controllers of automobile | |
| CN111104140A (en) | Terminal upgrading method and device | |
| JP7025200B2 (en) | Program control device, program control system and program control method | |
| JP2019114003A (en) | Program controller and program control system and program control method |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |