Summary of the invention
The present invention provides a kind of control unit of engine configuration strategy, solve during vehicle is offline due to certain
Reason causes the antitheft matching of ECU or antitheft certification unsuccessful, and vehicle on station the problem of can not start.
To solve the above-mentioned problems, control unit of engine configuration strategy provided by the invention includes:
Step S100: when vehicle is offline, antitheft information matches and antitheft certification are carried out to control unit of engine;
Step S200: according to antitheft information matches and antitheft certification as a result, being carried out to control unit of engine corresponding
With postponing, vehicle enters next station.
Further, the step S100 is specifically included: engine being controlled list in the software of control unit of engine
Member is divided into user model and factory mode, wherein when control unit of engine is in user model, it is necessary to pass through antitheft information
With after antitheft authenticate successfully, the vehicle for being equipped with the control unit of engine could start for matching;At control unit of engine
When factory mode, antitheft information matches and antitheft certification are needed not move through, the vehicle of the control unit of engine is installed just
It can star;
In control unit of engine factory or before being mounted on vehicle, by it, the default setting is user models;
In the offline operation of vehicle, antitheft information matches and antitheft certification are carried out to control unit of engine.
Further, the step S200 is specifically included:
If antitheft information matches and it is antitheft authenticate successfully, by diagnostic equipment give control unit of engine send order, it is right
Control unit of engine user model is locked;Starting vehicle carries out the work of next station.
If antitheft information matches failure or antitheft authentification failure, are sent to control unit of engine by diagnostic equipment and are ordered
It enables, control unit of engine is switched to factory mode;Starting vehicle carries out the work of next station;Needed for vehicle is offline
All stations work after the completion of, after determining the failure of antitheft information matches or antitheft authentification failure reason and correcting, again
Carry out antitheft information matches and antitheft certification work;It is sent and is ordered to control unit of engine by diagnostic equipment, to engine control
Unit user model processed is locked.
Further, when the control unit of engine dispatches from the factory or before being mounted on vehicle, by its default setting
When for user model, the user model of control unit of engine is not locked.
Further, after control unit of engine user model is locked, control unit of engine then can not be from visitor
Family pattern switching is to factory mode.
Compared with prior art, control unit of engine configuration strategy provided by the invention is solved by optimization ECU software
Since what the antitheft information matches failure of ECU or antitheft authentification failure bring vehicle can not start asks during vehicle is offline
Topic, and then the production efficiency of station is improved, reduce human cost.
Specific embodiment
Control unit of engine configuration strategy of the present invention is described below with reference to accompanying drawings.
Under normal circumstances, the antitheft information matches of ECU and antitheft certification can be accomplished in that
Antitheft information matches: there is an identical key SK (Secret key) between alarm and ECU, be stored in respectively
In respective nonvolatile memory, the antitheft information matches of ECU refer to the process of ECU study SK, for different alarms
For supplier, it is desirable that the mode that ECU learns SK is not also identical, has plenty of diagnostic equipment and directly passes through order and SK is issued ECU, has
Be that diagnostic equipment says the word to alarm, alarm is connected to order and SK is issued ECU again.
Antitheft certification: the process that validation of information is carried out between alarm and ECU is referred to.Alarm and the respective journey of ECU
There is an identical algorithm in sequence, is used for antitheft certification.A parameter in this algorithm is SK, and there are one be random number.
When starting certification, random number is issued alarm by ECU, and ECU and alarm respectively carry out algorithm with SK and random number later
The result of calculating is issued ECU by operation, alarm, ECU check the result that alarm is sent calculated with oneself it is whether consistent, such as
Fruit is consistent, and ECU thinks antitheft and authenticates successfully, allows to start engine, if inconsistent, ECU thinks antitheft authentification failure, does not permit
Perhaps start engine.
Existing vehicle factor has in the offline configuration strategy of ECU of anti-theft function, if the antitheft information matches success of ECU,
And antitheft to authenticate successfully, then ECU allows engine start, and vehicle can successfully proceed to next station, carry out other
Operation, if the failure of ECU antitheft information matches or antitheft authentification failure, can only worker vehicle is shifted onto next work manually
Position.
Heretofore described configuration strategy solves above-mentioned antitheft information matches failure or antitheft authentification failure is brought
The problem of, strategy is summarized as follows: vehicle factor is first installed to ECU on vehicle when vehicle is offline, then carries out antitheft in ECU
Information matches, if successful match, and it is antitheft authenticate successfully after, vehicle can start, at this time diagnostic equipment send client's mould
The order of formula locking then proceedes to next station to ECU.If leading to the antitheft information in ECU for some reason
It can not start with failure or antitheft authentification failure, vehicle, then ECU can be switched to factory mode, such vehicle still may be used
With starting, continue next station, wait all stations all after, then search the failure of antitheft information matches or antitheft recognize
The reason of card, is switched to user model after reason is found out and is solved, then ECU, re-starts the antitheft information matches in ECU
Operation says the word after success and user model is locked.Once ECU just can not be by client it is to be noted that user model is locked
Pattern switching is to factory mode.
Specific strategy process is as depicted in figs. 1 and 2.(Fig. 1 is the step schematic diagram of strategy of the present invention, Fig. 2 Fig. 1
The detailed process schematic diagram of the strategy process.)
As shown in Figure 1, the strategy includes step S100 and step S200, it is specific as follows:
Step S100 when vehicle is offline, carries out antitheft information matches and antitheft certification to ECU;
Step S200: according to antitheft information matches and antitheft certification as a result, being carried out to control unit of engine corresponding
With postponing, vehicle enters next station.
More specifically, as shown in Fig. 2, step S100 may further be divided into tri- sub-steps of S101, S102 and S103
It is rapid:
ECU points are in software 2 kinds of modes by step S101, and one is user model, one is factory modes, wherein
When ECU is in user model, it is necessary to by antitheft information matches and it is antitheft authenticate successfully after, be equipped with the ECU vehicle
It can starting;And when ECU is in factory mode, antitheft information matches and antitheft certification are needed not move through, the vehicle of the ECU is installed
It can start;
Step S102, ECU factory when or be mounted to vehicle factor vehicle on before, by it, the default setting is clients
Mode, but user model is not locked.
Step S103 is sent to ECU by diagnostic equipment and is ordered in the offline operation of vehicle, carries out antitheft information to ECU
Match and antitheft certification.
According to antitheft information matches and antitheft certification as a result, step S200 may further include following steps:
If antitheft information matches and it is antitheft authenticate successfully, by diagnostic equipment give ECU send order, to ECU user model
It is locked, then starts the work that vehicle carries out next station, referring to fig. 2 middle step S201 and S202, specific client
Mode locking regime is as follows: the worker of vehicle factor sends diagnostic command to ECU by diagnostic equipment, and ECU can be to phase after being connected to order
The flag bit answered is configured, once this flag bit is set with, then user model cannot be switched to factory mode, at this time
Complete the locking to ECU user model.
If antitheft information matches failure or antitheft authentification failure, are sent to ECU by diagnostic equipment and are ordered, ECU is cut
Factory mode is changed to, then starts the work that vehicle carries out next station, when the work of the offline required all stations of vehicle
(such as test etc. to actuator) after the completion determines antitheft information matches failure or antitheft authentification failure reason and is repaired
After just, antitheft information matches and antitheft certification work are re-started, after matching and authenticating successfully, gives ECU to send by diagnostic equipment
Order, is locked (lock mode is as described in step S202) to ECU user model, referring to fig. 2 in step S211, S212,
S213 and S214.
Although the present invention has been disclosed in the preferred embodiments as above, present invention is not limited to this.Any art technology
Personnel, made various changes and modification, should all be included in protection model of the invention without departing from the spirit and scope of the present invention
In enclosing, therefore protection scope of the present invention should be defined by the scope defined by the claims..