CN110908678A - Automobile controller software configuration writing method - Google Patents

Automobile controller software configuration writing method Download PDF

Info

Publication number
CN110908678A
CN110908678A CN201911227615.7A CN201911227615A CN110908678A CN 110908678 A CN110908678 A CN 110908678A CN 201911227615 A CN201911227615 A CN 201911227615A CN 110908678 A CN110908678 A CN 110908678A
Authority
CN
China
Prior art keywords
configuration information
software configuration
writing
software
automobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911227615.7A
Other languages
Chinese (zh)
Inventor
马蔚
庄威
王聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN201911227615.7A priority Critical patent/CN110908678A/en
Publication of CN110908678A publication Critical patent/CN110908678A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for writing in software configuration of an automobile controller, which comprises the following steps: step 1: acquiring vehicle configuration information through after-sale diagnostic equipment; step 2: connecting the after-sale diagnostic equipment with a vehicle diagnostic port; and step 3: and the after-sale diagnostic equipment writes the configuration information of the whole automobile into the automobile controller through the automobile diagnosis port. The software configuration information is written into the automobile controller through the diagnostic port based on the software configuration information acquired by the after-sale diagnostic equipment, so that the software configuration information is quickly and accurately written into the automobile controller, and meanwhile, a reminding signal of whether the writing is successful or not can be given, so that an operator can know the writing condition in time.

Description

Automobile controller software configuration writing method
Technical Field
The invention relates to the field of software configuration of an automobile controller, in particular to a novel automobile controller software configuration writing method.
Background
In the after-sale stage of the automobile, after the whole automobile is replaced by some new controllers, the software configuration information of the whole automobile needs to be written into the controllers, and at present, the software configuration information of the automobile controller generally has two main flow modes:
in the first mode, the after-sales remote diagnosis system automatically pushes the configuration information of the entire vehicle software, and the local device of the remote diagnosis system automatically completes the writing of the configuration information of the controller software after receiving the pushed entire vehicle software configuration information.
And secondly, an after-sale remote diagnosis system is not needed, the whole vehicle configuration information is released by a host factory, and after-sale maintenance personnel manually write the configuration codes by using software configuration equipment.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for writing software configuration of an automobile controller.
In order to achieve the purpose, the invention adopts the technical scheme that: a method for writing in software configuration of an automobile controller comprises the following steps:
step 1: acquiring vehicle configuration information through after-sale diagnostic equipment;
step 2: connecting the after-sale diagnostic equipment with a vehicle diagnostic port;
and step 3: and the after-sale diagnostic equipment writes the configuration information of the whole automobile into the automobile controller through the automobile diagnosis port.
And 4, step 4: and the after-sale diagnostic equipment reads back the configuration information of the automobile controller, compares the configuration information with the written configuration information, and sends out prompt information about whether the writing is successful or not according to the comparison result.
In step 4, when the read-back configuration information of the automobile controller is inconsistent with the written software configuration information, sending out reminding information that the writing of the whole automobile software configuration information fails; and sending out reminding information that the whole vehicle software configuration information is successfully written when the read-back software configuration information of the vehicle controller is consistent with the written software configuration information.
In the step 1, the after-sales diagnostic equipment acquires the configuration information of the whole vehicle, wherein the configuration information comprises a two-dimensional code scanning mode and/or a memory storage mode.
Two-dimensional code sweeps a yard mode and includes:
the software configuration information of the automobile controller is preset into a two-dimensional code, the two-dimensional code is photographed and recognized through an after-sales diagnosis terminal, and the software configuration information in the two-dimensional code is recognized and stored.
The memory storage mode comprises the following steps:
and connecting the after-sale diagnostic equipment with the vehicle diagnostic port, reading the whole vehicle software configuration information of the original controller to be replaced, and storing the whole vehicle software configuration information in the local storage of the after-sale diagnostic equipment.
The local storage of the after-market diagnostic device is EEPROM.
The invention has the advantages that: the software configuration information is written into the automobile controller through the diagnostic port based on the software configuration information acquired by the after-sale diagnostic equipment, so that the software configuration information is quickly and accurately written into the automobile controller, and meanwhile, a reminding signal for whether the writing is successful or not can be given out to help an operator to know the writing condition in time; and the mode of writing in software configuration information based on the after-sales diagnostic equipment is simple, quick and effective, and the time of manual input and the probability of errors in the prior art are greatly reduced.
Drawings
The contents of the expressions in the various figures of the present specification and the labels in the figures are briefly described as follows:
FIG. 1 is a schematic diagram of converting software configuration information into two-dimensional codes;
FIG. 2 is a flow chart of writing software configuration information in the identified two-dimensional code into the controller according to the present invention;
FIG. 3 is a flow chart of the memory storage method for writing software configuration information according to the present invention.
Detailed Description
The following description of preferred embodiments of the invention will be made in further detail with reference to the accompanying drawings.
The invention provides a software configuration writing method based on code scanning and memory functions. Writing of software configuration information into an automotive controller is accomplished based on the hardware of the prior art after-market diagnostic device. The after-sale diagnostic equipment generally has an interface connected with the finished automobile diagnostic port, and software configuration information of the after-sale diagnostic equipment terminal is written into the automobile controller only through an instruction. The data in the after-sale diagnosis equipment can be obtained by scanning and memorizing and storing two-dimensional codes. The two-dimension code acquisition refers to that when the automobile controller is configured in a factory, software configuration information configured in the automobile controller is simultaneously converted into two-dimension code information, then when a new replaced controller needs to be written, the two-dimension code is shot through a camera of the after-sales diagnosis device, and then the controller in the after-sales diagnosis device identifies and stores corresponding software configuration information through a two-dimension code identification software program. And then the automobile is connected through the diagnosis port, the configuration information is written into the automobile controller through the write-in instruction, after the write-in is finished, the software configuration information of the automobile controller is read again through the read instruction and is compared with the written configuration information, so that whether the write-in is successful or not is reminded according to the consistency, and the reminding is reminded through the display reminding information of the after-sales diagnosis equipment. The memory entry mode is that for an automobile needing to be replaced by a new controller, the automobile is connected through an OBD diagnosis port, software configuration information of an automobile controller is read through a read instruction and then stored, when the automobile is replaced by the new controller, the automobile is connected through the OBD diagnosis port, the read software configuration information of the old controller is written into the new controller, writing is completed, after writing is completed, the software configuration information in the new controller is read again through the read instruction and compared with the written software configuration information, and then a prompt of whether writing is successful or not is given. The mode of memory entry needs to read the software configuration information of the old controller, and the mode needs to confirm the readability, no damage and other conditions of the old controller.
The method has the advantages that the existing extensive two-dimensional code technology is utilized, manual input is not needed, the whole vehicle software configuration information can be obtained through simple scanning and then written in through after-sales diagnosis equipment, or the last stored whole vehicle configuration information is called to complete writing in through the memory function of the diagnosis equipment, the two methods are simple, fast and effective, and the time of manual input and the probability of errors are greatly reduced.
As shown in fig. 1, a two-dimensional code, also called a two-dimensional barcode, is an encoding method that is popular in mobile devices in recent years, and can store more information and represent more data types than a conventional barcode. Fig. 1 is an example of a two-dimensional code, and it can be seen that 16-ary data of 94 bytes is converted into a two-dimensional code. The after-sale diagnostic equipment can acquire the 16-system data of 94 bytes by only scanning the two-dimensional code. The hardware of the after-sales diagnostic equipment is provided with a controller for data processing, a camera for collecting images, an interface for connecting the diagnostic port of the whole vehicle, a key for performing instruction operation, a display screen and other hardware, and the hardware is available for the after-sales diagnostic equipment and only a corresponding control program is required to be portable to realize the mode of the application.
As shown in fig. 2, a flowchart for writing software configuration information by code scanning identification according to the present application includes the following steps:
(1) an after-market diagnostic device is connected to the vehicle diagnostics portal.
(2) And the after-sale diagnostic equipment scans the two-dimensional code to obtain the configuration information of the whole vehicle software. The two-dimensional code of the software configuration information is preset, and when the automobile controller is configured in factory, the software information configured in factory can be correspondingly converted into the two-dimensional code information and then configured to each after-sale terminal.
(3) And the after-sale diagnosis equipment writes the configuration information of the whole vehicle software into the controller through a diagnosis command.
(4) The after-sale diagnosis equipment reads back the whole vehicle software configuration information in the controller through the diagnosis command, if the read whole vehicle software configuration information is consistent with the written whole vehicle software configuration information, the equipment indicates that the writing is successful, the equipment needs to give a prompt that the writing of the whole vehicle software configuration information is successful, and if the read whole vehicle software configuration information is inconsistent with the written whole vehicle software configuration information, the equipment indicates that the writing is failed, and the equipment needs to give a prompt that the writing of the whole vehicle software configuration information is failed.
As shown in fig. 3, a flow chart of a memory entry writing method is shown, wherein the writing flow includes:
(1) an after-market diagnostic device is connected to the vehicle diagnostics portal.
(2) The vehicle VIN is read by the after-sales diagnostic equipment and stored locally in the after-sales diagnostic equipment, and the after-sales diagnostic equipment cannot be erased when the power is cut off.
(3) The after-sale diagnosis equipment reads the whole vehicle software configuration information of the original controller and stores the whole vehicle software configuration information in the local after-sale diagnosis equipment, and the after-sale diagnosis equipment cannot be erased when power is off. And reading and storing the software configuration information of the controller which is aged or needs to be replaced.
(4) And (5) powering off the vehicle and replacing the controller with a new controller. The vehicle is replaced with a new controller, the new controller requiring software configuration information;
(5) when the vehicle is powered on, the after-sales diagnostic equipment writes the local whole vehicle software configuration information into the new controller through a diagnostic command. And after the after-sale diagnostic equipment is connected with the whole vehicle through the diagnostic port, the software configuration information stored in the local storage is written into the controller through a write-in command.
(6) The after-sale diagnosis equipment reads back the whole vehicle software configuration information in the controller through the diagnosis command, if the read whole vehicle software configuration information is consistent with the written whole vehicle software configuration information, the equipment indicates that the writing is successful, the equipment needs to give a prompt that the writing of the whole vehicle software configuration information is successful, and if the read whole vehicle software configuration information is inconsistent with the written whole vehicle software configuration information, the equipment indicates that the writing is failed, and the equipment needs to give a prompt that the writing of the whole vehicle software configuration information is failed. And the after-sale diagnosis equipment adopts the display screen for reminding.
The scanning write and memory write processes are exemplified as follows:
740h/7E0h for equipment diagnosis request, 750h/7E8h for controller diagnosis response, 94 bytes for vehicle software configuration information, 602Eh/F190h for data identifier, and UDS diagnostic standard. In the following table, for specific flows and data written in by the equipment through the operation of the after-sale diagnosis equipment, the after-sale diagnosis equipment scans the two-dimensional code or reads the software configuration information of the old controller and then stores the software configuration information, and then the local software configuration information is written in the new controller through the diagnosis port, so that the software information configuration can be realized by only adding software programs on the basis of the existing after-sale diagnosis equipment without adding hardware equipment to realize the operations of two-dimensional code identification operation, writing instructions, reading instructions and the like.
Figure BDA0002302681940000061
Figure BDA0002302681940000071
Figure BDA0002302681940000081
Figure BDA0002302681940000091
Figure BDA0002302681940000101
Figure BDA0002302681940000111
Figure BDA0002302681940000121
It is clear that the specific implementation of the invention is not restricted to the above-described embodiments, but that various insubstantial modifications of the inventive process concept and technical solutions are within the scope of protection of the invention.

Claims (7)

1. A method for writing in software configuration of an automobile controller is characterized in that: the method comprises the following steps:
step 1: acquiring vehicle configuration information through after-sale diagnostic equipment;
step 2: connecting the after-sale diagnostic equipment with a vehicle diagnostic port;
and step 3: and the after-sale diagnostic equipment writes the configuration information of the whole automobile into the automobile controller through the automobile diagnosis port.
2. The method for writing the configuration of the software of the automobile controller according to claim 1, wherein: further comprising the step 4: and the after-sale diagnostic equipment reads back the configuration information of the automobile controller, compares the configuration information with the written configuration information, and sends out prompt information about whether the writing is successful or not according to the comparison result.
3. The method for writing the configuration of the software of the automobile controller according to claim 2, wherein: when the read-back configuration information of the automobile controller is inconsistent with the written software configuration information, sending out reminding information that the writing of the whole automobile software configuration information is failed; and sending out reminding information that the whole vehicle software configuration information is successfully written when the read-back software configuration information of the vehicle controller is consistent with the written software configuration information.
4. The method for writing the configuration of the software of the automobile controller according to claim 1, wherein: in the step 1, the after-sales diagnostic equipment acquires the configuration information of the whole vehicle, wherein the configuration information comprises a two-dimensional code scanning mode and/or a memory storage mode.
5. The method for writing the configuration of the software of the automobile controller according to claim 4, wherein: two-dimensional code sweeps a yard mode and includes:
the software configuration information of the automobile controller is preset into a two-dimensional code, the two-dimensional code is photographed and recognized through an after-sales diagnosis terminal, and the software configuration information in the two-dimensional code is recognized and stored.
6. The method for writing the configuration of the software of the automobile controller according to claim 4, wherein: the memory storage mode comprises the following steps:
and connecting the after-sale diagnostic equipment with the vehicle diagnostic port, reading the whole vehicle software configuration information of the original controller to be replaced, and storing the whole vehicle software configuration information in the local storage of the after-sale diagnostic equipment.
7. The automobile controller software configuration writing method according to claim 5 or 6, characterized in that: the local storage of the after-market diagnostic device is EEPROM.
CN201911227615.7A 2019-12-04 2019-12-04 Automobile controller software configuration writing method Pending CN110908678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911227615.7A CN110908678A (en) 2019-12-04 2019-12-04 Automobile controller software configuration writing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911227615.7A CN110908678A (en) 2019-12-04 2019-12-04 Automobile controller software configuration writing method

Publications (1)

Publication Number Publication Date
CN110908678A true CN110908678A (en) 2020-03-24

Family

ID=69821904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911227615.7A Pending CN110908678A (en) 2019-12-04 2019-12-04 Automobile controller software configuration writing method

Country Status (1)

Country Link
CN (1) CN110908678A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638874A (en) * 2020-05-27 2020-09-08 江西五十铃汽车有限公司 Matlab software-based automobile controller coding information writing and reading method
CN113552851A (en) * 2021-05-31 2021-10-26 江铃汽车股份有限公司 Method and system for off-line configuration of platform automobile
CN116185528A (en) * 2023-04-27 2023-05-30 深圳艾为电气技术有限公司 Flexible configuration method and device for driver software of electric compressor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306023A (en) * 2011-06-20 2012-01-04 奇瑞汽车股份有限公司 Online configuration method of automobile controller
CN104122883A (en) * 2014-07-14 2014-10-29 重庆长安汽车股份有限公司 Automatic automobile controller configuring method
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method
KR101764267B1 (en) * 2015-05-20 2017-08-03 (주) 씨앤고 System of displaying phone number for vehicle and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306023A (en) * 2011-06-20 2012-01-04 奇瑞汽车股份有限公司 Online configuration method of automobile controller
CN104122883A (en) * 2014-07-14 2014-10-29 重庆长安汽车股份有限公司 Automatic automobile controller configuring method
KR101764267B1 (en) * 2015-05-20 2017-08-03 (주) 씨앤고 System of displaying phone number for vehicle and control method thereof
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638874A (en) * 2020-05-27 2020-09-08 江西五十铃汽车有限公司 Matlab software-based automobile controller coding information writing and reading method
CN113552851A (en) * 2021-05-31 2021-10-26 江铃汽车股份有限公司 Method and system for off-line configuration of platform automobile
CN116185528A (en) * 2023-04-27 2023-05-30 深圳艾为电气技术有限公司 Flexible configuration method and device for driver software of electric compressor
CN116185528B (en) * 2023-04-27 2023-07-21 深圳艾为电气技术有限公司 Flexible configuration method and device for driver software of electric compressor

Similar Documents

Publication Publication Date Title
CN110908678A (en) Automobile controller software configuration writing method
US11062534B2 (en) Remote automotive diagnostics
CN102981496B (en) Remote control and data storage method based on vehicle professional diagnosis
US20200342690A1 (en) Method for establishing communicable connection with tire pressure monitoring system, apparatus thereof and electronic device
CN105740031B (en) Card opening method based on card opening external member and card opening external member
CN111562933A (en) Air conditioner upgrading method and air conditioner system
CN107784649B (en) Image recognition-based mandrel testing remote alarm system and method
CN105100796A (en) Television test method, device and system
US20060271254A1 (en) Automotive scanner with advanced module programming options
CN111241043A (en) Multimedia file sharing method, terminal and storage medium
US7802143B2 (en) Testing system and testing method thereof
CN112613745B (en) Recorder management method, recorder management system, storage medium and electronic equipment
CN107452427B (en) Method and system for testing data integrity of storage equipment
CN102053571B (en) Data acquisition method of information acquisition terminal
CN111061589A (en) Log collection method and device for Android equipment and storage medium
CN111859630A (en) Image compression simulation verification method, device, equipment and readable storage medium
CN112799945B (en) Batch file verification method and device
CN111638874B (en) Matlab software-based automobile controller coding information writing and reading method
CN114281681A (en) Test method, device, equipment and storage medium
CN113421355A (en) Industrial field short-distance data transmission system and inspection method
CN111914969A (en) Electric energy meter test management service system
CN110619269A (en) Fingerprint remote management and verification system and method thereof
CN205121670U (en) Vehicle intelligent management device
CN113219945A (en) Vehicle ECU data flashing pressure measurement system and pressure measurement method
CN118297572A (en) Vehicle maintenance guiding method, diagnosis equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200324