Software flashing method and device for airbag controller

By obtaining the vehicle identification number of the target vehicle, automatically obtaining and writing the corresponding calibration brushing package, and performing matching verification, the problem of errors in brushing the airbag control module with the same hardware structure is solved, and the accuracy of brushing is improved.

CN114217836BActive Publication Date: 2025-07-01CHERY AUTOMOBILE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111641418.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-07-01
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

Since the airbag control module with the same hardware structure needs to be applied to vehicles of different models, it is difficult for staff to quickly identify the control program that needs to be written, which can easily lead to write errors.

Method used

By obtaining the vehicle identification number of the target vehicle, the corresponding calibration brushing package is automatically obtained, and after the brushing is completed, it is determined whether the calibration brushing package matches the target vehicle, and the matching result is displayed to improve the accuracy of brushing.

Benefits of technology

The accuracy of airbag controller flash writing is improved, ensuring the correct update and matching of airbag controller software, and reducing manual errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114217836B_ABST
    Figure CN114217836B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method for flashing the software of an airbag controller. A corresponding calibration flashing package is obtained according to the vehicle identification number of the target vehicle, and the calibration flashing package for implementing the airbag control function is flashed onto the airbag controller. After the flashing is completed, it is determined whether the calibration flashing package matches the target vehicle and a corresponding matching result is generated. The matching result is displayed. In the present application, a corresponding calibration flashing package is obtained through the vehicle identification number of the target vehicle, so that a calibration flashing package matching the vehicle can be automatically obtained and flashed onto the airbag controller. Moreover, after the flashing is completed, the flashed calibration flashing package can be matched and verified with the target vehicle to determine whether the calibration flashing package flashed into the airbag control matches the target vehicle. Therefore, the accuracy of flashing the airbag controller is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobiles, and particularly relates to a method and device for software flashing of an airbag controller. Background Art

[0002] With the rapid development of automotive safety technologies, the configuration requirements for passive safety systems are getting higher and higher. As one of the components of the vehicle passive safety system control module, the airbag controller also plays an increasingly important role. For airbag controllers with the same hardware structure, corresponding control programs are flashed on the airbag controllers according to different vehicle models, and the corresponding control functions are realized through these control programs. However, after the control program is updated, the airbag controller needs to be re-flashed.

[0003] In related technologies, staff select the corresponding control program and flash it into the airbag controller.

[0004] Since control modules with the same hardware structure need to be applied to vehicles of different models, it is necessary to flash the corresponding control programs to the airbag controllers according to the vehicle models. This makes it necessary to flash different control programs on control modules with the same hardware structure. As a result, staff cannot quickly identify the corresponding control program to be flashed on the control module from the hardware structure of the control module, leading to easy errors in flashing. Summary of the Invention

[0005] Embodiments of the present application provide a method and device for software flashing of an airbag controller, which can improve the accuracy of flashing. The specific technical solutions are as follows:

[0006] The present application provides a method for software flashing of an airbag controller, the method comprising:

[0007] Obtaining a vehicle identification number of a target vehicle;

[0008] Obtaining a calibration flashing package corresponding to the target vehicle according to the vehicle identification number, the calibration flashing package being used to implement the control function of the airbag;

[0009] Flashing the airbag controller according to the calibration flashing package;

[0010] After the flashing is completed, determining whether the calibration flashing package matches the target vehicle and generating a corresponding matching result;

[0011] Displaying the matching result.

[0012] Optionally, the obtaining a calibration flashing package corresponding to the target vehicle according to the vehicle identification number includes:

[0013] Obtain the version information of the calibration flashing package corresponding to the target vehicle from the first correspondence table of the remote service platform according to the vehicle identification number, and the first correspondence table indicating the correspondence between the vehicle identification number and the version information of the calibration flashing package is stored in the remote service platform;

[0014] Obtain the calibration flashing package corresponding to the version information according to the version information of the calibration flashing package.

[0015] Optionally, the judging whether the calibration flashing package matches the target vehicle includes:

[0016] Obtain the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package, and the calibration configuration information is used to represent the software and hardware information of the airbag controller;

[0017] Obtain the target configuration information corresponding to the target vehicle from the second correspondence table of the remote service platform according to the vehicle identification number of the target vehicle, and at least the second correspondence table indicating the correspondence between the vehicle identification number and the target configuration information is stored in the remote service platform;

[0018] Judge whether the calibration configuration information is consistent with the target configuration information;

[0019] If the calibration configuration information is consistent with the target configuration information, obtain the configuration frame sent by the target vehicle, and the configuration frame includes: target vehicle model information;

[0020] Judge whether the calibration vehicle model information is consistent with the target vehicle model information;

[0021] If they are consistent, determine that the calibration flashing package matches the target vehicle.

[0022] Optionally, after obtaining the vehicle identification number of the target vehicle, the method further includes:

[0023] Judge whether the target vehicle needs to be flashed according to the vehicle identification number;

[0024] When the target vehicle needs to be flashed, judge whether the airbag controller meets the flashing conditions, and the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault.

[0025] When the airbag controller meets the flashing conditions, start to execute the step of obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number.

[0026] Optionally, the judging whether the target vehicle needs to be flashed according to the vehicle identification number includes:

[0027] According to the vehicle identification number, obtain the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from the third corresponding relationship table of the remote service platform, where the remote service platform stores at least a third corresponding relationship table indicating the corresponding relationship between the vehicle identification number, the assembly information, and the flashing information. 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;

[0028] Determine whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

[0029] The present application provides an airbag controller software flashing device, and the device includes:

[0030] A first acquisition module, configured to acquire the vehicle identification number of the target vehicle;

[0031] A second acquisition module, configured to acquire the calibration flashing package corresponding to the target vehicle according to the vehicle identification number, where the calibration flashing package is used to implement the control function of the airbag;

[0032] A flashing module, configured to flash the airbag controller according to the calibration flashing package;

[0033] A first judgment module, configured to judge whether the calibration flashing package matches the target vehicle and generate a corresponding matching result after the flashing is completed;

[0034] A display module, configured to display the matching result.

[0035] Optionally, the second acquisition module includes:

[0036] A first acquisition sub-module, configured to acquire the version information of the calibration flashing package corresponding to the target vehicle from the first corresponding relationship table of the remote service platform according to the vehicle identification number, where the remote service platform stores a first corresponding relationship table indicating the corresponding relationship between the vehicle identification number and the version information of the calibration flashing package;

[0037] A first determination sub-module, configured to acquire the calibration flashing package corresponding to the version information according to the version information of the calibration flashing package.

[0038] Optionally, the first judgment module includes:

[0039] A second acquisition sub-module, configured to acquire the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package, where the calibration configuration information is used to represent the software and hardware information of the airbag controller;

[0040] A third acquisition sub-module, configured to acquire, 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 stores at least a second correspondence table indicating the correspondence between the vehicle identification number and the target configuration information;

[0041] A first judgment sub-module, configured to judge whether the calibrated configuration information is consistent with the target configuration information;

[0042] A fourth acquisition sub-module, configured to, if the calibrated configuration information is consistent with the target configuration information, acquire a configuration frame sent by the target vehicle, where the configuration frame includes: target vehicle model information;

[0043] A second judgment sub-module, configured to judge whether the calibrated vehicle model information is consistent with the target vehicle model information;

[0044] A second determination sub-module, configured to, if they are consistent, determine that the calibrated flashing package matches the target vehicle.

[0045] Optionally, the apparatus further includes:

[0046] A second judgment module, configured to judge whether the target vehicle needs to be flashed according to the vehicle identification number;

[0047] A third judgment module, configured to, when the target vehicle needs to be flashed, judge whether the airbag controller meets the flashing conditions, where the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault.

[0048] An execution module, configured to, when the airbag controller meets the flashing conditions, start to execute the step of acquiring the calibrated flashing package corresponding to the target vehicle according to the vehicle identification number.

[0049] Optionally, the second judgment module includes:

[0050] A fifth acquisition sub-module, configured to acquire, according to the vehicle identification code, the assembly information of the airbag controller and the flashing information of the airbag controller corresponding to the target vehicle from a third correspondence table of a remote service platform, where the remote service platform stores at least a third correspondence table indicating the correspondence between the vehicle identification number, the assembly information, and the flashing information, 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;

[0051] A third determination sub-module, configured to determine whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

[0052] The beneficial effects brought by the technical solution provided by the embodiment of the present application at least include:

[0053] The embodiment of the present application provides an airbag controller software flashing method, which obtains a corresponding calibration flashing package according to the vehicle identification number of the target vehicle, and flashes the calibration flashing package for implementing the airbag control function to the airbag controller; after the flashing is completed, it is judged whether the calibration flashing package matches the target vehicle and a corresponding matching result is generated; the matching result is displayed. In the present application, the corresponding calibration flashing package is obtained through the vehicle identification number of the target vehicle, so that the calibration flashing package matching the vehicle can be automatically obtained and flashed to the airbag controller, and after the flashing is completed, the flashed calibration flashing package can be matched and verified with the target vehicle to determine whether the calibration flashing package flashed into the airbag control matches the target vehicle. Therefore, the accuracy of flashing the airbag controller is improved. Description of the Drawings

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0055] Figure 1 It is a schematic diagram of an implementation environment related to a software flashing method of an airbag controller shown according to an exemplary embodiment;

[0056] Figure 2 It is a flowchart of a software flashing method of an airbag controller shown according to an exemplary embodiment;

[0057] Figure 3 It is a flowchart of another software flashing method of an airbag controller shown according to an exemplary embodiment;

[0058] Figure 4 It is a flowchart of judging whether a calibration flashing package matches a target vehicle shown according to an exemplary embodiment;

[0059] Figure 5 It is a block diagram of a software flashing device of an airbag controller shown according to an exemplary embodiment. Detailed Embodiments

[0060] Unless otherwise defined, all technical terms used in the embodiments of the present invention have the same meanings as those commonly understood by those skilled in the art. To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0061] Figure 1 is a schematic diagram of an implementation environment related to a control method of a vehicle shown according to an exemplary embodiment. As Figure 1 shown, the implementation environment may include: a target vehicle 110, a target terminal 120, a File Transfer Protocol (FTP) system 130, and a remote service platform 140. The target terminal may be a mobile terminal such as a mobile phone or a smart wearable device. The target vehicle 110 may be connected to the remote service platform or the FTP system wirelessly, and the target vehicle 110 and the target terminal 120 may be connected by wire or wirelessly.

[0062] The target terminal 120 is configured to flash the obtained calibration flash package to the airbag controller of the target vehicle 110, determine whether the calibration flash package matches the target vehicle, and generate a corresponding matching result; and display the matching result.

[0063] The FTP system 130 is configured to store a plurality of calibration flash packages.

[0064] The remote service platform 140 is configured to store a first correspondence table of the correspondence between the vehicle identification number and the version information of the calibration flash package, a second correspondence table of the correspondence between the vehicle identification number and the target configuration information, and a third correspondence table of the correspondence between the vehicle identification number, the assembly information, and the flashing information.

[0065] Figure 2 is a flowchart of a software flashing method for an airbag controller shown according to an exemplary embodiment. As shown in the accompanying Figure 2 drawings, the method includes:

[0066] Step S201: Obtain the vehicle identification number of the target vehicle.

[0067] Step S202: According to the vehicle identification number, obtain the calibration flash package corresponding to the target vehicle, where the calibration flash package is used to implement the control function of the airbag.

[0068] Step S203: Flash the airbag controller according to the calibration flash package.

[0069] Step S204: After the flashing is completed, determine whether the calibration flash package matches the target vehicle and generate a corresponding matching result.

[0070] Step S205: Display the matching result.

[0071] An embodiment of the present application provides a method for flashing the software of an airbag controller, which obtains a corresponding calibration flashing package according to the vehicle identification number of the target vehicle, and flashes the calibration flashing package for implementing the airbag control function to the airbag controller; after the flashing is completed, it is determined whether the calibration flashing package matches the target vehicle and a corresponding matching result is generated; the matching result is displayed. In the present application, it is possible to perform matching verification on the calibration flashing package after flashing and the target vehicle, so as to determine whether the calibration flashing package flashed into the airbag control is correct. Therefore, the accuracy of flashing the airbag controller is improved.

[0072] Optionally, obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number includes:

[0073] According to the vehicle identification number, obtain the version information of the calibration flashing package corresponding to the target vehicle from the first correspondence table of the remote service platform, and the first correspondence table indicating the correspondence between the vehicle identification number and the version information of the calibration flashing package is stored in the remote service platform;

[0074] According to the version information of the calibration flashing package, obtain the calibration flashing package corresponding to the version information.

[0075] Optionally, determining whether the calibration flashing package matches the target vehicle includes:

[0076] Obtain the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package, and the calibration configuration information is used to represent the software and hardware information of the airbag controller;

[0077] According to the vehicle identification number of the target vehicle, obtain the target configuration information corresponding to the target vehicle from the second correspondence table of the remote service platform, and at least the second correspondence table indicating the correspondence between the vehicle identification number and the target configuration information is stored in the remote service platform;

[0078] Determine whether the calibration configuration information is consistent with the target configuration information;

[0079] If the calibration configuration information is consistent with the target configuration information, obtain the configuration frame sent by the target vehicle, and the configuration frame includes: target vehicle model information;

[0080] Determine whether the calibration vehicle model information is consistent with the target vehicle model information;

[0081] If they are consistent, it is determined that the calibration flashing package matches the target vehicle.

[0082] Optionally, after obtaining the vehicle identification number of the target vehicle, the method further includes:

[0083] According to the vehicle identification number, determine whether the target vehicle needs to be flashed;

[0084] When the target vehicle needs to be flashed, it is determined whether the airbag controller meets the flashing conditions, and the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault.

[0085] When the airbag controller meets the flashing conditions, the step of obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number is started.

[0086] Optionally, determining whether the target vehicle needs to be flashed according to the vehicle identification number includes:

[0087] Obtaining the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from the third correspondence table of the remote service platform according to the vehicle identification code, where the remote service platform stores at least a third correspondence table indicating the correspondence between the vehicle identification number, the assembly information, and the flashing information; the assembly information of the airbag controller is used to indicate whether the target vehicle is equipped with an airbag controller, and the flashing information of the airbag controller is used to indicate whether the airbag controller needs to be flashed;

[0088] Determining whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

[0089] Figure 3 It is a flowchart of a method for flashing the airbag controller software shown in an exemplary embodiment. As shown in the appendix Figure 3 shown, applied to the target terminal, the method includes:

[0090] Step S301, obtaining the vehicle identification number of the target vehicle.

[0091] Wherein, the vehicle identification number is used to identify the target vehicle, and the vehicle identification number can be marked on the vehicle card or the vehicle sheet metal under the windshield.

[0092] In this application, the vehicle identification number corresponding to the target vehicle is obtained by scanning the vehicle identification number through the target terminal.

[0093] Step S302, determining whether the target vehicle needs to be flashed according to the vehicle identification number. When the target vehicle needs to be flashed, step S303 is executed. When the target vehicle does not need to be flashed, step S309 is executed.

[0094] In this application, determining whether the target vehicle needs to be flashed according to the vehicle identification number includes: obtaining the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from the third correspondence 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 flashing information.

[0095] Among them, the remote service platform stores at least a third correspondence table indicating the correspondence between the vehicle identification number, the assembly information, and the flashing information. The assembly information of the airbag controller is used to indicate whether the target vehicle is equipped with an airbag controller, and the flashing information of the airbag controller is used to indicate whether the airbag controller needs to be flashed.

[0096] The remote service platform can be a manufacturing execution system, which is used to maintain vehicle information.

[0097] In this application, when the target vehicle is equipped with an 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.

[0098] Step S303, determine whether the airbag controller meets the flashing conditions. When the airbag controller meets the flashing conditions, execute step S304. When the airbag controller meets the non-flashing conditions, execute step S309.

[0099] Among them, the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault.

[0100] In this application, the airbag controller will obtain the voltage of the vehicle and send it to the target terminal, so that the target terminal can obtain the voltage of the vehicle.

[0101] The current vehicle speed is obtained in real time by a vehicle speed sensor installed on the vehicle and stored in the vehicle controller. The target terminal obtains the current vehicle speed from the vehicle controller.

[0102] Among them, the size of the preset value can be set according to the actual situation. For example: the preset value can be 5 km / h.

[0103] In this application, acceleration sensors are respectively installed on the sheet metal at the lower part of the B-pillar of the vehicle and on the airbag controller. The acceleration of the vehicle is obtained through the acceleration sensor, and the obtained acceleration is uploaded to the airbag controller. The airbag controller determines whether the obtained acceleration value is greater than the preset value to determine the corresponding fault code of the vehicle, and stores the fault code, so that the target terminal obtains the fault code from the vehicle controller, and the airbag controller can be determined whether there is a collision fault through the fault code.

[0104] Among them, the target terminal can store the correspondence between the fault code and the fault information. The corresponding fault information can be obtained through the obtained fault code, so that it can be determined whether the airbag controller has a collision fault through the fault information.

[0105] It should be noted that when the voltage of the target vehicle is abnormal or there is a collision fault in the airbag controller, the airbag warning light on the combination instrument will be lit, and the fault code corresponding to the collision fault will be stored. However, since the airbag warning light only alarms the current fault and does not alarm historical faults, in order to ensure that the fault information is synchronized with the airbag warning light alarm, when there is historical fault information stored in the airbag controller, it is necessary to clear this historical fault information before the vehicle leaves the factory.

[0106] Step S304, according to the vehicle identification number, obtain the version information of the calibration brush package corresponding to the target vehicle from the first correspondence table of the remote service platform.

[0107] Among them, the remote service platform stores a first correspondence table indicating the correspondence between the vehicle identification number and the version information of the calibration brush package.

[0108] It should be noted that due to different vehicle model information, it is necessary to implement corresponding control functions according to the vehicle model information, so the software to be flashed for the airbag controllers corresponding to different vehicles is different.

[0109] In this application, the staff develops corresponding calibration brush packages for different vehicle model information, uploads the developed calibration brush packages corresponding to different vehicle model information to the vehicle data management system, and publishes the data of multiple calibration brush packages. After the data publication is successful, it is automatically downloaded to the File Transfer Protocol (FTP) system by the vehicle data management system.

[0110] It should be noted that after the data publication is successful, the data can only be used for downloading and cannot be modified.

[0111] In order to summarize the data, the vehicle data management system will download multiple calibration brush packages to the corresponding document in the File Transfer Protocol system. This document is used to store documents related to the airbag controller. For example, this document can be the calibration brush package corresponding to the airbag controller. In a possible implementation manner, downloading the calibration brush package to the corresponding document in the File Transfer Protocol system can be achieved by the following method: by analyzing the name of the calibration brush package, storing the calibration brush package in the document containing the name of the calibration brush package.

[0112] Step S305, according to the version information of the calibration brush package, obtain the calibration brush package corresponding to the version information.

[0113] In this application, the calibration brush package is used to implement the control function of the airbag.

[0114] When there are multiple calibration flashing packages pre-stored in the file transfer protocol system, each calibration flashing package has its corresponding version information. The target terminal can find the corresponding calibration flashing package through the version information and obtain the calibration flashing package.

[0115] Step S306, flash the airbag controller according to the calibration flashing package.

[0116] Among them, the flashing of the airbag controller can be the software installed in the airbag controller with the control function of the airbag, which can upgrade the installed software on the airbag controller.

[0117] It should be noted that before the flashing package is flashed in this application, the airbag controller has completed the configuration of the configuration dictionary, which is used to configure the information of high, medium, and low configurations within the same vehicle model. Therefore, in this application, only the corresponding detonation algorithm needs to be flashed on the airbag controller.

[0118] In this application, the calibration flashing package contains a driver program for flashing and a detonation algorithm for airbag blasting. The target terminal can send the calibration flashing package to the airbag controller, and the detonation algorithm in the calibration flashing package can be flashed into the corresponding airbag controller through the driver program in the airbag controller.

[0119] Step S307, after the flashing is completed, determine whether the calibration flashing package matches the target vehicle and generate a corresponding matching result.

[0120] In this application, as Figure 4 shown, determining whether the calibration flashing package matches the target vehicle includes the following steps S3071 - S3077.

[0121] Step S3071, obtain the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package. The calibration configuration information is used to represent the software and hardware information of the airbag controller.

[0122] It should be noted that the calibration configuration information and the calibration vehicle model information in the calibration flashing package are written into the calibration flashing package by the staff when developing the calibration flashing package.

[0123] Among them, the calibration configuration information includes: the hardware information of the airbag controller, the software information of the airbag controller, the part number of the airbag controller, and the part number of the airbag controller is used to identify the controller configured with the corresponding high, medium, and low configuration information.

[0124] In this application, the calibration vehicle model information is used to identify different vehicles. The calibration vehicle model information includes: the calibration vehicle type and the model of the calibration vehicle. The calibration vehicle type includes: the calibration electric vehicle type and the calibration fuel vehicle type. The model of the calibration vehicle is used to indicate which vehicle it is.

[0125] Calibration flashing packages corresponding to vehicles of the same model but different vehicle types are also different.

[0126] Step S3072: Obtain the target configuration information corresponding to the target vehicle from the second correspondence table of the remote service platform according to the vehicle identification number of the target vehicle.

[0127] Among them, the remote service platform stores at least a second correspondence table indicating the correspondence between the vehicle identification number and the target configuration information.

[0128] The target configuration information may include: the target hardware information of the airbag controller, the target software information of the airbag controller, the target part number of the airbag controller, and the target part number of the airbag controller is used to identify the controller configured with the corresponding high, medium, and low configuration information.

[0129] In this application, after obtaining the vehicle identification number of the target vehicle, the corresponding target configuration information can be found through this second correspondence table.

[0130] Step S3073: Determine whether the calibration configuration information is consistent with the target configuration information. If the calibration configuration information is consistent with the target configuration information, execute step S3074. If the calibration configuration information is inconsistent with the target configuration information, execute step S3077.

[0131] In this application, when determining whether the calibration configuration information is consistent with the target configuration information, the information included in the calibration configuration information needs to be compared with the information included in the corresponding target configuration information respectively. When all comparison results are consistent, it is determined that the calibration configuration information is consistent with the target configuration information.

[0132] For example: compare the calibration hardware information with the target hardware information, compare the calibration software information with the target software information, and compare the calibration part number with the target part number. When all comparison results are consistent, it is determined that the calibration configuration information is consistent with the target configuration information.

[0133] Step S3074: Obtain the configuration frame sent by the target vehicle.

[0134] Among them, the configuration frame includes: target vehicle model information, and the target vehicle model information includes: the target vehicle type and the model of the target vehicle. The target vehicle type includes: the target electric vehicle type and the target fuel vehicle type. The model of the target vehicle is used to indicate which vehicle it is.

[0135] In this application, the content of the configuration frame is preset by the staff according to the information of the vehicle configured as needed. After the vehicle controller is powered on, it will send the configuration frame periodically. After the flashing of the target vehicle is completed, the target vehicle can obtain the configuration frame sent by the vehicle controller, so as to obtain the target vehicle model information in the configuration frame.

[0136] It should be noted that other information can also be set in the configuration frame, and the content included in the configuration frame can be set according to the actual situation. In an embodiment of the present application, the configuration frame may include: the number of airbags, so as to obtain the number of airbags in the configuration frame, and then determine the number of airbags to be configured according to the airbag data.

[0137] Step S3075, determine whether the calibrated vehicle model information is consistent with the target vehicle model information; if it is consistent, execute step S3076, if it is not consistent, execute step S3077.

[0138] In this application, when determining whether the calibrated vehicle model information is consistent with the target vehicle model information, it is necessary to compare the information included in the calibrated vehicle model information with the information included in the corresponding target vehicle model information respectively. When all the comparison results are consistent, it is determined that the calibrated vehicle model information is consistent with the target vehicle model information.

[0139] For example: compare the calibrated vehicle type information with the target vehicle type information, and compare the model of the calibrated vehicle with the model of the target vehicle. When the comparison results are all consistent, it is determined that the calibrated vehicle model information is consistent with the target vehicle model information.

[0140] Step S3076, determine that the calibrated flashing package matches the target vehicle.

[0141] In this application, when the calibrated configuration information is consistent with the target configuration information and the calibrated vehicle model information is consistent with the target vehicle model information, it can be considered that the calibrated flashing package matches the target vehicle.

[0142] When the calibrated configuration information is inconsistent with the target configuration information or the calibrated vehicle model information is inconsistent with the target vehicle model information, it is determined that the calibrated flashing package does not match the target vehicle.

[0143] Step S3077, determine that the calibrated flashing package does not match the target vehicle.

[0144] Step S308, display the matching result.

[0145] In this application, when the calibrated configuration information is inconsistent with the target configuration information or the calibrated vehicle model information is inconsistent with the target vehicle model information, display the matching result that the calibrated flashing package does not match the target vehicle; when the calibrated configuration information is consistent with the target configuration information and the calibrated vehicle model information is consistent with the target vehicle model information, display the matching result that the calibrated flashing package matches the target vehicle.

[0146] In order to distinguish whether the calibration configuration information is inconsistent with the target configuration information or the calibration vehicle model information is inconsistent with the target vehicle model information, different matching results are displayed. For example, when the calibration configuration information is inconsistent with the target configuration information, a matching result of "Flash writing failed, the version of the calibration flash writing package does not match" is displayed; when the calibration vehicle model information is inconsistent with the target vehicle model information, a matching result of "The calibration writing package does not match the vehicle model information" is displayed.

[0147] Step S309 ends.

[0148] The embodiment of the present application provides a method for flashing the software of an airbag controller, obtaining a corresponding calibration flash writing package according to the vehicle identification number of the target vehicle, and flashing the calibration flash writing package for realizing the airbag control function to the airbag controller; after the flashing is completed, judging whether the calibration flash writing package matches the target vehicle and generating a corresponding matching result; displaying the matching result. In the present application, the corresponding calibration flash writing package is obtained through the vehicle identification number of the target vehicle, so that the calibration flash writing package matching the vehicle can be automatically obtained and flashed to the airbag controller, and after the flashing is completed, the flashed calibration flash writing package can be matched and verified with the target vehicle to determine whether the calibration flash writing package flashed into the airbag control matches the target vehicle. Therefore, the accuracy of flashing the airbag controller is improved.

[0149] Figure 5 It is a block diagram of a software flashing device for an airbag controller shown according to an exemplary embodiment, as Figure 5 shown, the device includes:

[0150] The first acquisition module 501 is used to acquire the vehicle identification number of the target vehicle;

[0151] The second acquisition module 502 is used to acquire the corresponding calibration flash writing package of the target vehicle according to the vehicle identification number, and the calibration flash writing package is used to realize the control function of the airbag;

[0152] The flashing module 503 is used to flash the airbag controller according to the calibration flash writing package;

[0153] The first judgment module 504 is used to judge whether the calibration flash writing package matches the target vehicle and generate a corresponding matching result after the flashing is completed;

[0154] The display module 505 is used to display the matching result.

[0155] Optionally, the second acquisition module includes:

[0156] The first acquisition sub-module is used to obtain the version information of the calibration flashing package corresponding to the target vehicle from the first corresponding relationship table of the remote service platform according to the vehicle identification number. The first corresponding relationship table indicating the corresponding relationship between the vehicle identification number and the version information of the calibration flashing package is stored in the remote service platform;

[0157] The first determination sub-module is used to obtain the calibration flashing package corresponding to the version information according to the version information of the calibration flashing package.

[0158] Optionally, the first judgment module 504 includes:

[0159] The second acquisition sub-module is used to obtain the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package. The calibration configuration information is used to represent the software and hardware information of the airbag controller;

[0160] The third acquisition sub-module is used to obtain the target configuration information corresponding to the target vehicle from the second corresponding relationship table of the remote service platform according to the vehicle identification number of the target vehicle. The remote service platform stores at least the second corresponding relationship table indicating the corresponding relationship between the vehicle identification number and the target configuration information;

[0161] The first judgment sub-module is used to judge whether the calibration configuration information is consistent with the target configuration information;

[0162] The fourth acquisition sub-module is used to obtain the configuration frame sent by the target vehicle if the calibration configuration information is consistent with the target configuration information. The configuration frame includes: target vehicle model information;

[0163] The second judgment sub-module is used to judge whether the calibration vehicle model information is consistent with the target vehicle model information;

[0164] The second determination sub-module is used to determine that the calibration flashing package matches the target vehicle if they are consistent.

[0165] Optionally, it is characterized in that the device further includes:

[0166] The second judgment module is used to judge whether the target vehicle needs to be flashed according to the vehicle identification number;

[0167] The third judgment module is used to judge whether the airbag controller meets the flashing conditions when the target vehicle needs to be flashed. The flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault.

[0168] The execution module is used to start executing the step of obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number when the airbag controller meets the flashing conditions.

[0169] Optionally, the second judgment module includes:

[0170] A fifth acquisition sub-module, configured to obtain the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from a third corresponding relationship table of a remote service platform according to the vehicle identification number. The remote service platform stores at least a third corresponding relationship table indicating the corresponding relationship among the vehicle identification number, the assembly information, and the flashing information. The assembly information of the airbag controller is used to indicate whether the target vehicle is equipped with an airbag controller, and the flashing information of the airbag controller is used to indicate whether the airbag controller needs to be flashed.

[0171] A third determination sub-module, configured to determine whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

[0172] An embodiment of the present application provides a method for flashing the software of an airbag controller. A calibration flashing package corresponding to the target vehicle is obtained according to the vehicle identification number of the target vehicle, and the calibration flashing package used to implement the airbag control function is flashed to the airbag controller. After the flashing is completed, it is determined whether the calibration flashing package matches the target vehicle and a corresponding matching result is generated. The matching result is displayed. In the present application, the corresponding calibration flashing package is obtained through the vehicle identification number of the target vehicle, so that the calibration flashing package matching the vehicle can be automatically obtained and flashed to the airbag controller. Moreover, after the flashing is completed, the flashed calibration flashing package can be matched and verified with the target vehicle to determine whether the calibration flashing package flashed to the airbag control matches the target vehicle. Therefore, the accuracy of flashing the airbag controller is improved.

[0173] It should be noted that: for the airbag controller software flashing device provided in the above embodiment, only the above division of each functional module is used for illustration. In actual application, the above functions can be allocated to 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 airbag controller software flashing device provided in the above embodiment and the embodiment of the airbag controller software flashing method belong to the same concept, and the specific implementation process is detailed in the method embodiment and will not be repeated here.

[0174] Those skilled in the art will readily think of other embodiments of the present invention after considering the specification and the practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include the common general knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and the embodiments are only regarded as exemplary, and the true scope and spirit of the present invention are pointed out by the claims.

[0175] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.

Claims

1. A method for flashing the software of an airbag controller, characterized in that, The method includes: Obtaining the vehicle identification number of the target vehicle; Judging whether the target vehicle needs to be flashed according to the vehicle identification number; When the target vehicle needs to be flashed, judging whether the airbag controller meets the flashing conditions, and the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault; When the airbag controller meets the flashing conditions, obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number, and the calibration flashing package is used to implement the control function of the airbag; Flashing the airbag controller according to the calibration flashing package; After the flashing is completed, judging whether the calibration flashing package matches the target vehicle and generating a corresponding matching result; Displaying the matching result; Wherein judging whether the calibration flashing package matches the target vehicle includes: Obtaining the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package, and the calibration configuration information is used to represent the software and hardware information of the airbag controller; the calibration configuration information includes: the hardware information of the airbag controller, the software information of the airbag controller, and the part number of the airbag controller, and the part number of the airbag controller is used to identify the controller configured with the corresponding high, medium, and low configuration information; the calibration vehicle model information includes: the calibration vehicle type and the model of the calibration vehicle; According to the vehicle identification number of the target vehicle, obtaining the target configuration information corresponding to the target vehicle from the second correspondence table of the remote service platform, and the remote service platform stores at least a second correspondence table indicating the correspondence 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, obtaining the configuration frame sent by the target vehicle, and the configuration frame includes: target vehicle model information; Judging whether the calibration vehicle model information is consistent with the target vehicle model information; If they are consistent, it is determined that the calibration flashing package matches the target vehicle.

2. The method according to claim 1, characterized in that, The obtaining the calibration flashing package corresponding to the target vehicle according to the vehicle identification number includes: According to the vehicle identification number, obtaining the version information of the calibration flashing package corresponding to the target vehicle from the first correspondence table of the remote service platform, and the first correspondence table stored in the remote service platform indicates the correspondence between the vehicle identification number and the version information of the calibration flashing package; Obtaining the calibration flashing package corresponding to the version information according to the version information of the calibration flashing package.

3. The method according to claim 1, characterized in that, The judging whether the target vehicle needs to be flashed according to the vehicle identification number includes: According to the vehicle identification number, obtain the assembly information of the airbag controller corresponding to the target vehicle and the flashing information of the airbag controller from the third correspondence table of the remote service platform, where the remote service platform stores at least a third correspondence table indicating the correspondence between vehicle identification numbers, assembly information, and flashing information, 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; Determine whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

4. An airbag controller software flashing device, characterized in that The device includes: A first acquisition module, configured to acquire the vehicle identification number of the target vehicle; A second acquisition module, configured to acquire the calibration flashing package corresponding to the target vehicle according to the vehicle identification number, where the calibration flashing package is used to implement the control function of the airbag; A flashing module, configured to flash the airbag controller according to the calibration flashing package; A first judgment module, configured to judge whether the calibration flashing package matches the target vehicle and generate a corresponding matching result after the flashing is completed; A display module, configured to display the matching result; The first judgment module includes: A second acquisition sub-module, configured to acquire the calibration configuration information of the airbag controller and the calibration vehicle model information of the target vehicle from the calibration flashing package, where the calibration configuration information is used to represent the software and hardware information of the airbag controller; the calibration configuration information includes: the hardware information of the airbag controller, the software information of the airbag controller, and the part number of the airbag controller, and the part number of the airbag controller is used to identify the controller configured with the corresponding high, medium, and low configuration information; the calibration vehicle model information includes: the calibrated vehicle type and the model of the calibrated vehicle; A third acquisition sub-module, configured to acquire the target configuration information corresponding to the target vehicle from the second correspondence table of the remote service platform according to the vehicle identification number of the target vehicle, where the remote service platform stores at least a second correspondence table indicating the correspondence between vehicle identification numbers and target configuration information; A first judgment sub-module, configured to judge whether the calibration configuration information is consistent with the target configuration information; A fourth acquisition sub-module, configured to, if the calibration configuration information is consistent with the target configuration information, acquire the configuration frame sent by the target vehicle, where the configuration frame includes: target vehicle model information; A second judgment sub-module, configured to judge whether the calibration vehicle model information is consistent with the target vehicle model information; A second determination sub-module, configured to, if they are consistent, determine that the calibration flashing package matches the target vehicle; The device further includes: A second judgment module, configured to judge whether the target vehicle needs to be flashed according to the vehicle identification number; A third judgment module, configured to, when the target vehicle needs to be flashed, judge whether the airbag controller meets the flashing conditions, where the flashing conditions include at least one of the following items: the voltage of the vehicle is normal, the current vehicle speed is less than a preset value, and the airbag controller has no collision fault; An execution module, configured to start executing the step of obtaining a calibration flashing package corresponding to the target vehicle according to the vehicle identification number when the airbag controller meets the flashing condition.

5. The device according to claim 4, characterized in that, The second obtaining module includes: A first obtaining sub-module, configured to obtain version information of a calibration flashing package corresponding to the target vehicle from a first correspondence table of a remote service platform according to the vehicle identification number, where the remote service platform stores the first correspondence table indicating the correspondence between the vehicle identification number and the version information of the calibration flashing package; A first determining sub-module, configured to obtain the calibration flashing package corresponding to the version information according to the version information of the calibration flashing package.

6. The device according to claim 4, characterized in that, The second determining module includes: A fifth obtaining sub-module, configured to obtain assembly information of the airbag controller and flashing information of the airbag controller corresponding to the target vehicle from a third correspondence table of the remote service platform according to the vehicle identification code, where the remote service platform stores at least the third correspondence table indicating the correspondence between the vehicle identification number, the assembly information, and the flashing information, 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; A third determining sub-module, configured to determine whether the target vehicle needs to be flashed according to the assembly information and the flashing information.

Citation Information

Patent Citations

  • Flashing system and method for automatically matching calibration data based on vehicle model codes

    CN111679647A