[go: up one dir, main page]

CN106598641A - Trip computer-based program swiping method and apparatus - Google Patents

Trip computer-based program swiping method and apparatus Download PDF

Info

Publication number
CN106598641A
CN106598641A CN201610957847.8A CN201610957847A CN106598641A CN 106598641 A CN106598641 A CN 106598641A CN 201610957847 A CN201610957847 A CN 201610957847A CN 106598641 A CN106598641 A CN 106598641A
Authority
CN
China
Prior art keywords
chinese ink
brush dipped
write
program
writing
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
CN201610957847.8A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201610957847.8A priority Critical patent/CN106598641A/en
Priority to PCT/CN2017/072938 priority patent/WO2018076569A1/en
Publication of CN106598641A publication Critical patent/CN106598641A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a trip computer-based program swiping method. The method comprises steps of starting preset software according to an instruction triggered by a user, acquiring preset format extraction program contents input by the user, extracting a corresponding program from an internal memory according to the extraction program contents in the preset format, swiping and changing the extracted program, and writing relative parameters after the swiping into an ECU. The preset software can swipe a trip computer program. The invention further discloses a trip computer-based program swiping apparatus. Swiping efficiency can be improved by the use of the trip computer-based program swiping method and the apparatus.

Description

Method and device is write with a brush dipped in Chinese ink based on the program of car running computer
Technical field
The present invention relates to car running computer data write with a brush dipped in Chinese ink field, more particularly to a kind of program based on car running computer writes with a brush dipped in Chinese ink method And device.
Background technology
Running computer (ECU), is generally used for the precise control consumed to engine fuel, optimizes its usage economy, And in real time circulate a notice of oil consumption situation.Therefore need to carry out ECU parameter calibrations and diagnosis detection before automobile is offline, to ensure engine Can be normal, especially electric-control system parameter configuration, makes engine be in optimum state.But automobile is when dispatching from the factory without handle completely The performance of ECU is all brought into play, therefore how to reduce oil consumption automobile simultaneously to lift power by writing with a brush dipped in Chinese ink ECU, is current vapour The problem of car urgent need to resolve.
At present, the routine data of ECU is typically preserved in a text form hereof, when user is write with a brush dipped in Chinese ink every time, It is required for opening file, when the content that user's needs are write with a brush dipped in Chinese ink is more, it is necessary to opening to file repeatedly, reads, closes The operation such as close so that write with a brush dipped in Chinese ink overlong time, and increase the consumption of internal memory;On the other hand, text is repeatedly opened, can causes to write with a brush dipped in Chinese ink Software is unstable, causes to write with a brush dipped in Chinese ink efficiency reduction, it is impossible to meet normal production requirement.
The content of the invention
Present invention is primarily targeted at proposing that a kind of program based on car running computer writes with a brush dipped in Chinese ink method and device, it is intended to solve Write with a brush dipped in Chinese ink efficiency reduction, it is impossible to meet the technical problem of normal production requirement.
For achieving the above object, the present invention provides a kind of program based on car running computer and writes with a brush dipped in Chinese ink method, and methods described includes Following steps:
Predetermined software is started according to the instruction of user's triggering, the predetermined software is used to brush the program of car running computer Write;
Obtain the extraction procedure content of the preset format of user input;
Correspondence program is extracted from internal memory according to the extraction procedure content of the preset format;
The program extracted is carried out to write with a brush dipped in Chinese ink change;
Relevant parameter after writing with a brush dipped in Chinese ink is written in ECU.
Alternatively, it is described the program extracted is carried out into the step of writing with a brush dipped in Chinese ink change to include:
Vehicle coding and/or VIN codes are obtained according to the acquisition instruction of user's triggering;
According to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle;
According to the corresponding ECU demarcating files of the ECU type selectings, and carry out writing with a brush dipped in Chinese ink association according to the ECU demarcating files View conversion;
Agreement of writing with a brush dipped in Chinese ink according to writing with a brush dipped in Chinese ink after conversion is write with a brush dipped in Chinese ink the program extracted.
Alternatively, also include after the step relevant parameter after writing with a brush dipped in Chinese ink being written in ECU:
Whether write with a brush dipped in Chinese ink described in judging qualified;
If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
Alternatively, write with a brush dipped in Chinese ink whether qualified step includes described in the judgement:
Relevant parameter after writing with a brush dipped in Chinese ink described in extracting from ECU;
Relevant parameter after described writing with a brush dipped in Chinese ink is contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
Alternatively, methods described also includes:
Obtain the computer language for preserving car running computer program to instruct;
The car running computer program is saved in by internal memory according to the computer language instruction of the preservation car running computer program In.
Additionally, for achieving the above object, the present invention also provides a kind of program based on car running computer and writes with a brush dipped in Chinese ink device, the dress Put including:
Starting module, the instruction for being triggered according to user starts predetermined software, and the predetermined software is used for driving electricity The program of brain is write with a brush dipped in Chinese ink;
First acquisition module, for obtaining the extraction procedure content of the preset format of user input;
Extraction module, for correspondence program to be extracted from internal memory according to the extraction procedure content of the preset format;
Module is write with a brush dipped in Chinese ink, for carrying out the program extracted to write with a brush dipped in Chinese ink change;
Writing module, for the relevant parameter after writing with a brush dipped in Chinese ink to be written in ECU.
Alternatively, the module of writing with a brush dipped in Chinese ink includes:
Acquiring unit, the acquisition instruction for being triggered according to user obtains vehicle coding and/or VIN codes;
Recognition unit, for according to the ECU types of vehicle coding and/or VIN codes identification correspondence vehicle;
Select unit, for according to the corresponding ECU demarcating files of the ECU type selectings and literary according to ECU demarcation Part carries out writing with a brush dipped in Chinese ink protocol conversion;
Unit is write with a brush dipped in Chinese ink, for being write with a brush dipped in Chinese ink the program extracted according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
Alternatively, described device also includes:
Judge module, for judge it is described write with a brush dipped in Chinese ink it is whether qualified;
First preserving module, for if so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
Alternatively, the judge module includes:
Extraction unit, for the relevant parameter after writing with a brush dipped in Chinese ink described in the extraction from ECU;
Comparison unit, for the relevant parameter after described writing with a brush dipped in Chinese ink to be contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
Alternatively, described device also includes:
Second acquisition module, for obtaining the computer language instruction for preserving car running computer program;
Second preserving module, for according to the computer language instruction of the preservation car running computer program that the driving is electric Brain program is saved in internal memory.
The present invention starts predetermined software by the instruction triggered according to user, and the predetermined software is used for car running computer Program is write with a brush dipped in Chinese ink;Obtain the extraction procedure content of the preset format of user input;According to the extraction procedure of the preset format Content extracts correspondence program from internal memory;The program extracted is carried out to write with a brush dipped in Chinese ink change;Relevant parameter after writing with a brush dipped in Chinese ink is written to In ECU.By the way, first user clicks on predetermined software triggering enabled instruction, for the device write with a brush dipped in Chinese ink receive described in open Dynamic instruction, and the predetermined software is started according to the enabled instruction;Then the window that user is ejected by the predetermined software The extraction procedure content of input preset format, it is described for the device write with a brush dipped in Chinese ink according to the extraction procedure content of the preset format from Correspondence program is extracted in internal memory, then carries out the program extracted to write with a brush dipped in Chinese ink change;Relevant parameter after writing with a brush dipped in Chinese ink is written to into ECU In.Need not from file extraction procedure, improve the efficiency of acquisition program, and do not interfere with stablizing for the predetermined software Property, write with a brush dipped in Chinese ink efficiency so as to improve.
Description of the drawings
Fig. 1 is the schematic flow sheet that the present invention writes with a brush dipped in Chinese ink method first embodiment based on the program of car running computer;
Fig. 2 is the refinement schematic flow sheet that the program extracted is carried out the step of writing with a brush dipped in Chinese ink change in Fig. 1;
Fig. 3 is the schematic flow sheet that the present invention writes with a brush dipped in Chinese ink method second embodiment based on the program of car running computer;
Fig. 4 be judge in Fig. 3 described in write with a brush dipped in Chinese ink the whether refinement schematic flow sheet of qualified step;
Fig. 5 is the schematic flow sheet that the present invention writes with a brush dipped in Chinese ink method 3rd embodiment based on the program of car running computer;
Fig. 6 is the high-level schematic functional block diagram that the present invention writes with a brush dipped in Chinese ink device first embodiment based on the program of car running computer;
Fig. 7 is the refinement high-level schematic functional block diagram that module is write with a brush dipped in Chinese ink in Fig. 6;
Fig. 8 is the high-level schematic functional block diagram that the present invention writes with a brush dipped in Chinese ink device second embodiment based on the program of car running computer;
Fig. 9 is the refinement high-level schematic functional block diagram of judge module in Fig. 8;
Figure 10 is the high-level schematic functional block diagram that the present invention writes with a brush dipped in Chinese ink device 3rd embodiment based on the program of car running computer.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides a kind of program based on car running computer and writes with a brush dipped in Chinese ink method.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet that the present invention writes with a brush dipped in Chinese ink method first embodiment based on the program of car running computer.
In one embodiment, the method includes:
Step S100, according to the instruction of user's triggering predetermined software is started, and the predetermined software is used for car running computer Program is write with a brush dipped in Chinese ink.
In the present embodiment, can normally implement to ensure this enforcement, before the present embodiment is implemented, it is necessary first to build Found a predetermined software.Can carry out writing predetermined software, such as C language, C++, Java etc. by computer language.By meter Calculation machine language writes instruction so that the predetermined software is capable of identify that the content for extraction procedure of user input, and from interior Deposit middle extraction corresponding content.The software that the predetermined software can obtain other people foundation for user, or user is by meter Calculation machine language oneself is write.
User's touching first is obtained and clicks on predetermined software by mouse, triggers enabled instruction, and device receives the startup and refers to Order simultaneously starts the predetermined software according to the enabled instruction.The predetermined software is used to brush the program of car running computer Write.
Step S200, obtains the extraction procedure content of the preset format of user input.
After the predetermined software is started, described one interface of predetermined software meeting automatic spring, for input content.With Family is input into the extraction procedure content of preset format by the interface, and device receives the extraction procedure content of the preset format, And verify whether the form of the extraction procedure content of the preset format is correct, specifically, by the extraction journey of the preset format The form of sequence content is contrasted with the form that prestores, if both are the same, to be verified, if different, reminds user defeated Enter mistake, ask user to re-enter.
Step S300, according to the extraction procedure content of the preset format correspondence program is extracted from internal memory.
After the extraction procedure content verification to the preset format passes through, extraction of the device according to the preset format Contents of program extracts correspondence program from internal memory.
Step S400, the program extracted is carried out to write with a brush dipped in Chinese ink change.
After correspondence program is extracted, according to the content of user input the correspondence program is carried out writing with a brush dipped in Chinese ink change.Tool Body ground, first user's triggering obtain instruction, and device reception is described to obtain instruction, and according to the acquisition instruction acquisition car of user's triggering Type is encoded and/or VIN codes;Then according to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle;According to described The corresponding ECU demarcating files of ECU type selectings, and carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files;Turn according to writing with a brush dipped in Chinese ink Agreement of writing with a brush dipped in Chinese ink after changing is write with a brush dipped in Chinese ink the program extracted.
Step S500, the relevant parameter after writing with a brush dipped in Chinese ink is written in ECU.
After device is write with a brush dipped in Chinese ink to the correspondence program, the program after writing with a brush dipped in Chinese ink is written in ECU.
The present embodiment starts predetermined software by the instruction triggered according to user, and the predetermined software is used for car running computer Program write with a brush dipped in Chinese ink;Obtain the extraction procedure content of the preset format of user input;According to the extraction journey of the preset format Sequence content extracts correspondence program from internal memory;The program extracted is carried out to write with a brush dipped in Chinese ink change;Relevant parameter write after writing with a brush dipped in Chinese ink To in ECU.By the way, first user clicks on predetermined software triggering enabled instruction, and the device for writing with a brush dipped in Chinese ink receives described Enabled instruction, and the predetermined software is started according to the enabled instruction;Then the window that user is ejected by the predetermined software The extraction procedure content of mouthful input preset format, it is described for the device write with a brush dipped in Chinese ink according to the extraction procedure content of the preset format Correspondence program is extracted from internal memory, then carries out the program extracted to write with a brush dipped in Chinese ink change;Relevant parameter after writing with a brush dipped in Chinese ink is written to In ECU.Need not from file extraction procedure, improve the efficiency of acquisition program, and do not interfere with the steady of the predetermined software It is qualitative, write with a brush dipped in Chinese ink efficiency so as to improve.
With reference to Fig. 2, Fig. 2 is the refinement schematic flow sheet that the program extracted is carried out the step of writing with a brush dipped in Chinese ink change in Fig. 1.
Method first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, step S400 can include:
Step S410, according to the acquisition instruction of user's triggering vehicle coding and/or VIN codes are obtained;
Step S420, according to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle;
Step S430, according to the corresponding ECU demarcating files of the ECU type selectings, and enters according to the ECU demarcating files Row writes with a brush dipped in Chinese ink protocol conversion;
Step S440, is write with a brush dipped in Chinese ink the program extracted according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
In the present embodiment, before being write with a brush dipped in Chinese ink, first user needs the vehicle coding for obtaining the vehicle write with a brush dipped in Chinese ink And/or VIN codes.The information such as the vehicle coded representation class of vehicles, main characteristic parameters, automobile discharge capacity.The VIN codes are cars Unique mark, the information such as the manufacturing firm of vehicle, vehicle, generation production year and engine can be obtained by VIN codes.So It is afterwards according to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle and corresponding according to the ECU type selectings ECU demarcating files, the ECU demarcating files generally include engine electric spray management system Bench calibration, performance and basic discharge Demarcation and car load demarcation etc., can be stored in the storage device inside device, it is also possible to be stored in single storage device In.Then carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files, because the ECU equipment for developing different manufacturers performs number According to follow different communication protocols (such as CAN, J1939, K-Line, ISO9141 agreement) when writing with a brush dipped in Chinese ink, so needing to be brushed Write protocol conversion.The program extracted is write with a brush dipped in Chinese ink further according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
The present embodiment obtains vehicle coding and/or VIN codes by the acquisition instruction triggered according to user;According to the vehicle The ECU types of coding and/or VIN codes identification correspondence vehicle;According to the corresponding ECU demarcating files of the ECU type selectings, and root Carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files;Agreement of writing with a brush dipped in Chinese ink according to writing with a brush dipped in Chinese ink after conversion carries out the program extracted Write with a brush dipped in Chinese ink.By the way, first user's triggering obtains instruction, and device obtains the acquisition instruction, and according to user's triggering Obtain instruction and obtain vehicle coding and/or VIN codes;Then correspondence vehicle is recognized according to vehicle coding and/or VIN codes ECU types;According to the corresponding ECU demarcating files of the ECU type selectings, and carry out writing with a brush dipped in Chinese ink association according to the ECU demarcating files View conversion;The program extracted is write with a brush dipped in Chinese ink further according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.Realize automatic identification ECU class Type and the function of ECU is write with a brush dipped in Chinese ink automatically, improve ECU data and write with a brush dipped in Chinese ink efficiency.
Further, with reference to Fig. 3, Fig. 3 is the stream that the present invention writes with a brush dipped in Chinese ink method second embodiment based on the program of car running computer Journey schematic diagram.
Method first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, methods described also includes:
Step S600, judge described in write with a brush dipped in Chinese ink it is whether qualified;
Step S700, if so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
In the present embodiment, after device is write with a brush dipped in Chinese ink to the correspondence program, whether qualified, tool if writing with a brush dipped in Chinese ink described in judgement Whether body ground, it is qualified to judge to write with a brush dipped in Chinese ink by the way that program is contrasted;If it is qualified to write with a brush dipped in Chinese ink, by described writing with a brush dipped in Chinese ink after it is corresponding Parameter is preserved.If write with a brush dipped in Chinese ink it is unqualified, return continue to write with a brush dipped in Chinese ink, until write with a brush dipped in Chinese ink it is qualified till.
Whether the present embodiment is qualified by writing with a brush dipped in Chinese ink described in judgement;If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.It is logical Aforesaid way, first user's triggering decision instruction are crossed, device receives the decision instruction, and judges institute according to the decision instruction State write with a brush dipped in Chinese ink it is whether qualified;If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.Ensure that the correctness write with a brush dipped in Chinese ink.
Further, with reference to Fig. 4, Fig. 4 is to write with a brush dipped in Chinese ink whether the refinement flow process of qualified step is illustrated in Fig. 3 described in judgement Figure.
Method second embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, step S600 can include:
Step S610, the relevant parameter after writing with a brush dipped in Chinese ink described in extraction from ECU;
Step S620, the relevant parameter after described writing with a brush dipped in Chinese ink is contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
In the present embodiment, first instruction is extracted in user's triggering, and device receives the extraction instruction, and according to the extraction Instruct the relevant parameter after writing with a brush dipped in Chinese ink described in extracting from ECU.Then writing with a brush dipped in Chinese ink the user input when being write with a brush dipped in Chinese ink parameter and carrying Get write with a brush dipped in Chinese ink after relevant parameter contrasted;If the user input when being write with a brush dipped in Chinese ink writes with a brush dipped in Chinese ink parameter with the extraction To write with a brush dipped in Chinese ink after relevant parameter it is identical, then it is qualified to write with a brush dipped in Chinese ink;If the user input when being write with a brush dipped in Chinese ink write with a brush dipped in Chinese ink parameter with It is described extract write with a brush dipped in Chinese ink after relevant parameter differ, then it is unqualified to write with a brush dipped in Chinese ink, need return to write with a brush dipped in Chinese ink, it is qualified until writing with a brush dipped in Chinese ink.
The present embodiment by from ECU extract described in write with a brush dipped in Chinese ink after relevant parameter;By the relevant parameter after described writing with a brush dipped in Chinese ink with The numerical value being input into when writing with a brush dipped in Chinese ink is contrasted.By the way, whether user can know and write with a brush dipped in Chinese ink qualified, be easy to user to carry out down The operation of one step.
Further, with reference to Fig. 5, Fig. 5 is the stream that the present invention writes with a brush dipped in Chinese ink method 3rd embodiment based on the program of car running computer Journey schematic diagram.
Method first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, methods described also includes:
Step S800, obtains the computer language for preserving car running computer program and instructs;
Step S900, protects the car running computer program according to the computer language instruction of the preservation car running computer program In being stored to internal memory.
In the present embodiment, before user extracts car running computer program, needs are saved in the car running computer program In internal memory.First user can write instruction by computer language, it is also possible to direct access other people computer languages for writing Instruction;The computer language can be C language, C++, Java etc.;The function of the instruction be initially opened in user it is described Device is automatically saved in described program in the internal memory of device during predetermined software.
When user is initially opened the predetermined software, device obtains the computer language instruction, and performs the meter The function of calculation machine sound instruction, the car running computer program is saved in internal memory.
The present embodiment is by obtaining the computer language instruction for preserving car running computer program;Driving is preserved according to described The computer language instruction of computer program is saved in the car running computer program in internal memory.By the way, need in user When wanting extraction procedure, directly extracted from internal memory, it is not necessary to repeatedly open text, so that writing with a brush dipped in Chinese ink software keeps stable, Efficiency is write with a brush dipped in Chinese ink in raising.
The present invention further provides a kind of program based on car running computer writes with a brush dipped in Chinese ink device.
With reference to Fig. 6, Fig. 6 is that the present invention is illustrated based on the functional module that the program of car running computer writes with a brush dipped in Chinese ink device first embodiment Figure.
In one embodiment, the device includes:
Starting module 100, the instruction for being triggered according to user starts predetermined software, and the predetermined software is used for driving The program of computer is write with a brush dipped in Chinese ink.
In the present embodiment, can normally implement to ensure this enforcement, before the present embodiment is implemented, it is necessary first to build Found a predetermined software.Can carry out writing predetermined software, such as C language, C++, Java etc. by computer language.By meter Calculation machine language writes instruction so that the predetermined software is capable of identify that the content for extraction procedure of user input, and from interior Deposit middle extraction corresponding content.The software that the predetermined software can obtain other people foundation for user, or user is by meter Calculation machine language oneself is write.
User's touching first is obtained and clicks on predetermined software by mouse, triggers enabled instruction, and device receives the startup and refers to Order simultaneously starts the predetermined software according to the enabled instruction.The predetermined software is used to brush the program of car running computer Write.
First acquisition module 200, for obtaining the extraction procedure content of the preset format of user input.
After the predetermined software is started, described one interface of predetermined software meeting automatic spring, for input content.With Family is input into the extraction procedure content of preset format by the interface, and device receives the extraction procedure content of the preset format, And verify whether the form of the extraction procedure content of the preset format is correct, specifically, by the extraction journey of the preset format The form of sequence content is contrasted with the form that prestores, if both are the same, to be verified, if different, reminds user defeated Enter mistake, ask user to re-enter.
Extraction module 300, for correspondence program to be extracted from internal memory according to the extraction procedure content of the preset format.
After the extraction procedure content verification to the preset format passes through, extraction of the device according to the preset format Contents of program extracts correspondence program from internal memory.
Module 400 is write with a brush dipped in Chinese ink, for carrying out the program extracted to write with a brush dipped in Chinese ink change.
After correspondence program is extracted, according to the content of user input the correspondence program is carried out writing with a brush dipped in Chinese ink change.Tool Body ground, first user's triggering obtain instruction, and device reception is described to obtain instruction, and according to the acquisition instruction acquisition car of user's triggering Type is encoded and/or VIN codes;Then according to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle;According to described The corresponding ECU demarcating files of ECU type selectings, and carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files;Turn according to writing with a brush dipped in Chinese ink Agreement of writing with a brush dipped in Chinese ink after changing is write with a brush dipped in Chinese ink the program extracted.
Writing module 500, for the relevant parameter after writing with a brush dipped in Chinese ink to be written in ECU.
After device is write with a brush dipped in Chinese ink to the correspondence program, the program after writing with a brush dipped in Chinese ink is written in ECU.
The present embodiment starts predetermined software by the instruction triggered according to user, and the predetermined software is used for car running computer Program write with a brush dipped in Chinese ink;Obtain the extraction procedure content of the preset format of user input;According to the extraction journey of the preset format Sequence content extracts correspondence program from internal memory;The program extracted is carried out to write with a brush dipped in Chinese ink change;Relevant parameter write after writing with a brush dipped in Chinese ink To in ECU.By the way, first user clicks on predetermined software triggering enabled instruction, and the device for writing with a brush dipped in Chinese ink receives described Enabled instruction, and the predetermined software is started according to the enabled instruction;Then the window that user is ejected by the predetermined software The extraction procedure content of mouthful input preset format, it is described for the device write with a brush dipped in Chinese ink according to the extraction procedure content of the preset format Correspondence program is extracted from internal memory, then carries out the program extracted to write with a brush dipped in Chinese ink change;Relevant parameter after writing with a brush dipped in Chinese ink is written to In ECU.Need not from file extraction procedure, improve the efficiency of acquisition program, and do not interfere with the steady of the predetermined software It is qualitative, write with a brush dipped in Chinese ink efficiency so as to improve.
With reference to Fig. 7, Fig. 7 is the refinement high-level schematic functional block diagram that module is write with a brush dipped in Chinese ink in Fig. 6.
Device first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, the module 400 of writing with a brush dipped in Chinese ink can be wrapped Include:
Acquiring unit 410, the acquisition instruction for being triggered according to user obtains vehicle coding and/or VIN codes;
Recognition unit 420, for according to the ECU types of vehicle coding and/or VIN codes identification correspondence vehicle;
Select unit 430, for according to the corresponding ECU demarcating files of the ECU type selectings, and marks according to the ECU Determining file carries out writing with a brush dipped in Chinese ink protocol conversion;
Unit 440 is write with a brush dipped in Chinese ink, for being write with a brush dipped in Chinese ink the program extracted according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
In the present embodiment, before being write with a brush dipped in Chinese ink, first user needs the vehicle coding for obtaining the vehicle write with a brush dipped in Chinese ink And/or VIN codes.The information such as the vehicle coded representation class of vehicles, main characteristic parameters, automobile discharge capacity.The VIN codes are cars Unique mark, the information such as the manufacturing firm of vehicle, vehicle, generation production year and engine can be obtained by VIN codes.So It is afterwards according to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle and corresponding according to the ECU type selectings ECU demarcating files, the ECU demarcating files generally include engine electric spray management system Bench calibration, performance and basic discharge Demarcation and car load demarcation etc., can be stored in the storage device inside device, it is also possible to be stored in single storage device In.Then carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files, because the ECU equipment for developing different manufacturers performs number According to follow different communication protocols (such as CAN, J1939, K-Line, ISO9141 agreement) when writing with a brush dipped in Chinese ink, so needing to be brushed Write protocol conversion.The program extracted is write with a brush dipped in Chinese ink further according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
The present embodiment obtains vehicle coding and/or VIN codes by the acquisition instruction triggered according to user;According to the vehicle The ECU types of coding and/or VIN codes identification correspondence vehicle;According to the corresponding ECU demarcating files of the ECU type selectings, and root Carry out writing with a brush dipped in Chinese ink protocol conversion according to the ECU demarcating files;Agreement of writing with a brush dipped in Chinese ink according to writing with a brush dipped in Chinese ink after conversion carries out the program extracted Write with a brush dipped in Chinese ink.By the way, first user's triggering obtains instruction, and device obtains the acquisition instruction, and according to user's triggering Obtain instruction and obtain vehicle coding and/or VIN codes;Then correspondence vehicle is recognized according to vehicle coding and/or VIN codes ECU types;According to the corresponding ECU demarcating files of the ECU type selectings, and carry out writing with a brush dipped in Chinese ink association according to the ECU demarcating files View conversion;The program extracted is write with a brush dipped in Chinese ink further according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.Realize automatic identification ECU class Type and the function of ECU is write with a brush dipped in Chinese ink automatically, improve ECU data and write with a brush dipped in Chinese ink efficiency.
Further, with reference to Fig. 8, Fig. 8 is the work(that the present invention writes with a brush dipped in Chinese ink device second embodiment based on the program of car running computer Can module diagram.
Device first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, described device also includes:
Judge module 600, for judge it is described write with a brush dipped in Chinese ink it is whether qualified;
First preserving module 700, for if so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
In the present embodiment, after device is write with a brush dipped in Chinese ink to the correspondence program, whether qualified, tool if writing with a brush dipped in Chinese ink described in judgement Whether body ground, it is qualified to judge to write with a brush dipped in Chinese ink by the way that program is contrasted;If it is qualified to write with a brush dipped in Chinese ink, by described writing with a brush dipped in Chinese ink after it is corresponding Parameter is preserved.If write with a brush dipped in Chinese ink it is unqualified, return continue to write with a brush dipped in Chinese ink, until write with a brush dipped in Chinese ink it is qualified till.
Whether the present embodiment is qualified by writing with a brush dipped in Chinese ink described in judgement;If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.It is logical Aforesaid way, first user's triggering decision instruction are crossed, device receives the decision instruction, and judges institute according to the decision instruction State write with a brush dipped in Chinese ink it is whether qualified;If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.Ensure that the correctness write with a brush dipped in Chinese ink.
Further, with reference to Fig. 9, Fig. 9 is the refinement high-level schematic functional block diagram of judge module in Fig. 8.
Device second embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, the judge module 600 can be wrapped Include:
Extraction unit 610, for the relevant parameter after writing with a brush dipped in Chinese ink described in the extraction from ECU;
Comparison unit 620, for the relevant parameter after described writing with a brush dipped in Chinese ink to be contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
In the present embodiment, first instruction is extracted in user's triggering, and device receives the extraction instruction, and according to the extraction Instruct the relevant parameter after writing with a brush dipped in Chinese ink described in extracting from ECU.Then writing with a brush dipped in Chinese ink the user input when being write with a brush dipped in Chinese ink parameter and carrying Get write with a brush dipped in Chinese ink after relevant parameter contrasted;If the user input when being write with a brush dipped in Chinese ink writes with a brush dipped in Chinese ink parameter with the extraction To write with a brush dipped in Chinese ink after relevant parameter it is identical, then it is qualified to write with a brush dipped in Chinese ink;If the user input when being write with a brush dipped in Chinese ink write with a brush dipped in Chinese ink parameter with It is described extract write with a brush dipped in Chinese ink after relevant parameter differ, then it is unqualified to write with a brush dipped in Chinese ink, need return to write with a brush dipped in Chinese ink, it is qualified until writing with a brush dipped in Chinese ink.
The present embodiment by from ECU extract described in write with a brush dipped in Chinese ink after relevant parameter;By the relevant parameter after described writing with a brush dipped in Chinese ink with The numerical value being input into when writing with a brush dipped in Chinese ink is contrasted.By the way, whether user can know and write with a brush dipped in Chinese ink qualified, be easy to user to carry out down The operation of one step.
Further, with reference to Figure 10, Figure 10 is that the present invention writes with a brush dipped in Chinese ink device 3rd embodiment based on the program of car running computer High-level schematic functional block diagram.
Device first embodiment is write with a brush dipped in Chinese ink based on the program of car running computer based on the present invention, described device also includes:
Second acquisition module 800, for obtaining the computer language instruction for preserving car running computer program;
Second preserving module 900, for being instructed the row according to the computer language of the preservation car running computer program Car computer program is saved in internal memory.
In the present embodiment, before user extracts car running computer program, needs are saved in the car running computer program In internal memory.First user can write instruction by computer language, it is also possible to direct access other people computer languages for writing Instruction;The computer language can be C language, C++, Java etc.;The function of the instruction be initially opened in user it is described Device is automatically saved in described program in the internal memory of device during predetermined software.
When user is initially opened the predetermined software, device obtains the computer language instruction, and performs the meter The function of calculation machine sound instruction, the car running computer program is saved in internal memory.
The present embodiment is by obtaining the computer language instruction for preserving car running computer program;Driving is preserved according to described The computer language instruction of computer program is saved in the car running computer program in internal memory.By the way, need in user When wanting extraction procedure, directly extracted from internal memory, it is not necessary to repeatedly open text, so that writing with a brush dipped in Chinese ink software keeps stable, Efficiency is write with a brush dipped in Chinese ink in raising.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of program based on car running computer writes with a brush dipped in Chinese ink method, it is characterised in that the method comprising the steps of:
Predetermined software is started according to the instruction of user's triggering, the predetermined software is used to write with a brush dipped in Chinese ink the program of car running computer;
Obtain the extraction procedure content of the preset format of user input;
Correspondence program is extracted from internal memory according to the extraction procedure content of the preset format;
The program extracted is carried out to write with a brush dipped in Chinese ink change;
Relevant parameter after writing with a brush dipped in Chinese ink is written in ECU.
2. the program based on car running computer as claimed in claim 1 writes with a brush dipped in Chinese ink method, it is characterised in that described by the journey extracted Sequence carries out the step of writing with a brush dipped in Chinese ink change to be included:
Vehicle coding and/or VIN codes are obtained according to the acquisition instruction of user's triggering;
According to vehicle coding and/or the ECU types of VIN codes identification correspondence vehicle;
According to the corresponding ECU demarcating files of the ECU type selectings, and carried out writing with a brush dipped in Chinese ink agreement turn according to the ECU demarcating files Change;
Agreement of writing with a brush dipped in Chinese ink according to writing with a brush dipped in Chinese ink after conversion is write with a brush dipped in Chinese ink the program extracted.
3. the program based on car running computer as claimed in claim 1 writes with a brush dipped in Chinese ink method, it is characterised in that described by the phase after writing with a brush dipped in Chinese ink Answer also includes after the step in parameter read-in to ECU:
Whether write with a brush dipped in Chinese ink described in judging qualified;
If so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
4. the program based on car running computer as claimed in claim 3 writes with a brush dipped in Chinese ink method, it is characterised in that write with a brush dipped in Chinese ink described in the judgement Whether qualified step includes:
Relevant parameter after writing with a brush dipped in Chinese ink described in extracting from ECU;
Relevant parameter after described writing with a brush dipped in Chinese ink is contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
5. method is write with a brush dipped in Chinese ink based on the program of car running computer as described in any one of claim 1-4, it is characterised in that methods described Also include:
Obtain the computer language for preserving car running computer program to instruct;
The car running computer program is saved in internal memory according to the computer language instruction of the preservation car running computer program.
6. a kind of program based on car running computer writes with a brush dipped in Chinese ink device, it is characterised in that described device includes:
Starting module, the instruction for being triggered according to user starts predetermined software, and the predetermined software is used for car running computer Program is write with a brush dipped in Chinese ink;
First acquisition module, for obtaining the extraction procedure content of the preset format of user input;
Extraction module, for correspondence program to be extracted from internal memory according to the extraction procedure content of the preset format;
Module is write with a brush dipped in Chinese ink, for carrying out the program extracted to write with a brush dipped in Chinese ink change;
Writing module, for the relevant parameter after writing with a brush dipped in Chinese ink to be written in ECU.
7. the program based on car running computer as claimed in claim 6 writes with a brush dipped in Chinese ink device, it is characterised in that described to write with a brush dipped in Chinese ink module bag Include:
Acquiring unit, the acquisition instruction for being triggered according to user obtains vehicle coding and/or VIN codes;
Recognition unit, for according to the ECU types of vehicle coding and/or VIN codes identification correspondence vehicle;
Select unit, for according to the corresponding ECU demarcating files of the ECU type selectings, and enters according to the ECU demarcating files Row writes with a brush dipped in Chinese ink protocol conversion;
Unit is write with a brush dipped in Chinese ink, for being write with a brush dipped in Chinese ink the program extracted according to the agreement of writing with a brush dipped in Chinese ink write with a brush dipped in Chinese ink after conversion.
8. the program based on car running computer as claimed in claim 6 writes with a brush dipped in Chinese ink device, it is characterised in that described device also includes:
Judge module, for judge it is described write with a brush dipped in Chinese ink it is whether qualified;
First preserving module, for if so, then by the relevant parameter preservation after described writing with a brush dipped in Chinese ink.
9. the program based on car running computer as claimed in claim 8 writes with a brush dipped in Chinese ink device, it is characterised in that the judge module bag Include:
Extraction unit, for the relevant parameter after writing with a brush dipped in Chinese ink described in the extraction from ECU;
Comparison unit, for the relevant parameter after described writing with a brush dipped in Chinese ink to be contrasted with the numerical value being input into when writing with a brush dipped in Chinese ink.
10. device is write with a brush dipped in Chinese ink based on the program of car running computer as described in any one of claim 6-9, it is characterised in that the dress Putting also includes:
Second acquisition module, for obtaining the computer language instruction for preserving car running computer program;
Second preserving module, for being instructed the car running computer journey according to the computer language of the preservation car running computer program Sequence is saved in internal memory.
CN201610957847.8A 2016-10-27 2016-10-27 Trip computer-based program swiping method and apparatus Pending CN106598641A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610957847.8A CN106598641A (en) 2016-10-27 2016-10-27 Trip computer-based program swiping method and apparatus
PCT/CN2017/072938 WO2018076569A1 (en) 2016-10-27 2017-02-06 Electronic control unit-based program flashing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610957847.8A CN106598641A (en) 2016-10-27 2016-10-27 Trip computer-based program swiping method and apparatus

Publications (1)

Publication Number Publication Date
CN106598641A true CN106598641A (en) 2017-04-26

Family

ID=58589885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610957847.8A Pending CN106598641A (en) 2016-10-27 2016-10-27 Trip computer-based program swiping method and apparatus

Country Status (2)

Country Link
CN (1) CN106598641A (en)
WO (1) WO2018076569A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107438832A (en) * 2017-05-31 2017-12-05 深圳市爱夫卡科技股份有限公司 A data refreshing method, device and computer-readable storage medium
CN107577220A (en) * 2017-09-01 2018-01-12 潍柴动力股份有限公司 A kind of restorative procedure of program, device and electronic equipment
CN107861740A (en) * 2017-11-27 2018-03-30 上汽通用汽车有限公司 Method for refreshing, storage medium and the car body control module of power windows demarcating file
CN109324813A (en) * 2018-08-16 2019-02-12 深圳市元征科技股份有限公司 Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN111240712A (en) * 2019-12-27 2020-06-05 深圳市元征科技股份有限公司 ECU (electronic control Unit) flashing method, device and equipment and storage medium
CN111831479A (en) * 2020-06-08 2020-10-27 东风汽车集团有限公司 Method and system for data recovery of vehicle-mounted computer
CN112579103A (en) * 2019-09-30 2021-03-30 上海度普新能源科技有限公司 BMS program flashing device
CN113064400A (en) * 2021-03-15 2021-07-02 奇瑞新能源汽车股份有限公司 Test refreshing method and device for vehicle controller

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109689B (en) * 2019-05-21 2024-06-18 一汽奔腾轿车有限公司 ECU (electronic control unit) brushing tool convenient to pop up
CN110795129B (en) * 2019-11-04 2023-11-07 阳光电源股份有限公司 Data refreshing method, device and equipment
CN111679836B (en) * 2020-05-07 2023-03-21 安徽工业大学 Automobile ECU flashing system and method
CN113805897A (en) * 2020-06-11 2021-12-17 卓品智能科技无锡有限公司 Multichannel parallel flash method for vehicle-mounted controller
CN114415645B (en) * 2022-03-15 2024-03-29 陕西汽车集团股份有限公司 Batch brushing and testing system and method for new energy commercial vehicles
CN116126364A (en) * 2023-02-20 2023-05-16 华域视觉科技(上海)有限公司 Visual ECU (electronic control Unit) refreshing method, refreshing equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840206A (en) * 2010-01-15 2010-09-22 北汽福田汽车股份有限公司 ECU (Electric Control Unit) data flashing system
CN102508657A (en) * 2011-10-18 2012-06-20 北京空间飞行器总体设计部 Method for maintaining embedded software module of spacecraft
CN104281469A (en) * 2014-08-26 2015-01-14 东风电子科技股份有限公司 Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program
CN105718288A (en) * 2016-01-21 2016-06-29 北京新能源汽车股份有限公司 Program flashing method, device, system and terminal of automobile controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7366589B2 (en) * 2004-05-13 2008-04-29 General Motors Corporation Method and system for remote reflash
CN103377057B (en) * 2012-04-20 2016-05-25 上海通用汽车有限公司 A kind of system and method for the software that refreshes user's Car Electronic Control module
CN103631607B (en) * 2012-08-21 2016-10-05 广州汽车集团股份有限公司 A kind of vehicle-mounted ECU software refreshing error-preventing method and system
CN105573148B (en) * 2014-10-11 2018-06-26 广州汽车集团股份有限公司 A kind of ECU software method for refreshing and device based on Vspy
CN105278994A (en) * 2015-10-29 2016-01-27 北京新能源汽车股份有限公司 Updating method and updating system for vehicle-mounted ECU software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840206A (en) * 2010-01-15 2010-09-22 北汽福田汽车股份有限公司 ECU (Electric Control Unit) data flashing system
CN102508657A (en) * 2011-10-18 2012-06-20 北京空间飞行器总体设计部 Method for maintaining embedded software module of spacecraft
CN104281469A (en) * 2014-08-26 2015-01-14 东风电子科技股份有限公司 Method and system for realizing refreshing and writing of ECU (Electronic Control Unit) program
CN105718288A (en) * 2016-01-21 2016-06-29 北京新能源汽车股份有限公司 Program flashing method, device, system and terminal of automobile controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107438832A (en) * 2017-05-31 2017-12-05 深圳市爱夫卡科技股份有限公司 A data refreshing method, device and computer-readable storage medium
CN107577220A (en) * 2017-09-01 2018-01-12 潍柴动力股份有限公司 A kind of restorative procedure of program, device and electronic equipment
CN107861740A (en) * 2017-11-27 2018-03-30 上汽通用汽车有限公司 Method for refreshing, storage medium and the car body control module of power windows demarcating file
CN107861740B (en) * 2017-11-27 2021-07-30 上汽通用汽车有限公司 Refreshing method of electric vehicle window calibration file, storage medium and vehicle body control module
CN109324813A (en) * 2018-08-16 2019-02-12 深圳市元征科技股份有限公司 Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media
CN112579103A (en) * 2019-09-30 2021-03-30 上海度普新能源科技有限公司 BMS program flashing device
CN111240712A (en) * 2019-12-27 2020-06-05 深圳市元征科技股份有限公司 ECU (electronic control Unit) flashing method, device and equipment and storage medium
CN111831479A (en) * 2020-06-08 2020-10-27 东风汽车集团有限公司 Method and system for data recovery of vehicle-mounted computer
CN113064400A (en) * 2021-03-15 2021-07-02 奇瑞新能源汽车股份有限公司 Test refreshing method and device for vehicle controller

Also Published As

Publication number Publication date
WO2018076569A1 (en) 2018-05-03

Similar Documents

Publication Publication Date Title
CN106598641A (en) Trip computer-based program swiping method and apparatus
CN106406292A (en) Method and device for simultaneously writing of a plurality of electronic control units
US8954227B2 (en) User configurable scan tool
CN109934473B (en) Charging health index scoring method, device, terminal equipment and storage medium
CN108701229A (en) Driving behavior analysis method and driving behavior analysis device
CN111775864B (en) Remote debugging method, system and vehicle
CN111572366B (en) Method, equipment, storage medium and device for protecting electric vehicle in air
CN106340080A (en) Vehicle maintenance method and apparatus
CN111524344A (en) Vehicle emission monitoring method, device, storage medium and device based on big data
CN106427775A (en) Method and device for vehicle maintenance reminder
CN107085972A (en) The computational methods and device of a kind of parking position number
CN113696849A (en) Vehicle control method and device based on gestures and storage medium
CN103020865A (en) Automotive engine individually-customized system and method
CN109100493A (en) oil quality monitoring method and server
CN108446591A (en) Driver identity recognition methods, device, storage medium and vehicle
CA2548199A1 (en) Improved automotive scanner with advanced module programming options
CN115314428A (en) Vehicle CAN network testing method and system, electronic device and storage medium
CN112183457B (en) In-vehicle ambient light control method, device, equipment and readable storage medium
CN110415710A (en) Parameter regulation means, device, equipment and the medium of interactive system for vehicle-mounted voice
CN102798833A (en) Automatic test system and method for diagnosis instrument
CN114488997B (en) ECU (electronic control Unit) refreshing method and device, electronic equipment and storage medium
CN111984853B (en) Test driving report generation method and cloud server
CN111881808A (en) Method for identifying abnormal operation behaviors of driver in starting stage of electric bus based on continuous tracking data
CN102207871A (en) PC(personal computer)-end ECU (electronic control unit) debugging software based on K line and KWP2000 protocol
CN210294491U (en) Battery state detection device

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: 20170426